/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

header.wp-block-template-part {
  .custom-logo {
    filter: invert(calc(17 / 255));
  }

  .wp-block-site-logo {
    display: none;

    @media (min-width: 600px) {
      display: block;
    }
  }
}

.caf-post-layout-container {
  /* desktop-first */
  --custom-caf-col-track: 5;

  /* desktop */
  @media only screen and (min-width:1200px) {
  }

  /* tablet large */
  @media only screen and (max-width: 1199px) and (min-width:769px) {
    --custom-caf-col-track: 3;
  }

  /* tablet */
  @media only screen and (max-width:768px) and (min-width:500px) {
    --custom-caf-col-track: 2;
  }

  /* modile */
  @media only screen and (max-width:500px) {
    --custom-caf-col-track: 1;
  }
}

.caf-row {
  display: grid;
  grid-template: auto / repeat(var(--custom-caf-col-track, 5), 1fr);
  gap: 0 30px;
}

.data-target-div1 .caf-post-layout2 #manage-post-area {
  border: 1px solid #c0c0c0;
}

.data-target-div1 .caf-post-layout2 .caf-featured-img-box {
  border: none;
}

.caf-post-layout2 #manage-post-area {
  top: -24px;
  padding: 5px 0;
}

.caf-meta-content {
  display: none;
}

.caf-post-layout2 {
  flex: auto;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;

  a {
    display: block;
  }

  .caf-featured-img-box {
    height: auto;
    aspect-ratio: 3 / 2;
  }


  .caf-featured-img-box,
  .caf-post-title {
    box-sizing: border-box;
  }
}

.caf-pagination.post-layout2 {
  grid-column: 1 / -1;
}

.wp-block-media-text>.wp-block-media-text__content {
  padding: 0 8%;
}

@media only screen and (max-width:600px) {
  .wp-block-media-text>.wp-block-media-text__content {
    padding: 5% 0;
  }
}

@media only screen and (max-width:781px) {
 .is-layout-flow > .profile {
    float: left;
    margin-inline-start: 0;
  }
}

/* desktop */
@media only screen and (min-width:781px) {
  .top-description {
    text-align: center;
  }
}

	
/* tablet modile */
@media screen and (max-width:781px) {
  .top-description, .top-description h2 {
    text-align: left;
  }
}

.col-nowrap tr td:nth-of-type(1) {
  white-space: nowrap;
}

@media screen and (max-width:600px) {
  .about-description-img figure {
    display: none;
  }
}
