/*
Theme Name: Astra Child
Template: astra
Text Domain: astra-child
*/

/* Force light color scheme for browsers that respect the CSS `color-scheme` property. */
:root,
html {
  color-scheme: only light;
}

/* Полноширинный баннер над архивом блога */
.ynm-blog-banner {
  position: relative;
  background: #e5f2ee;  
  padding: 114px 20px 190px;
}
.ynm-blog-banner .uagb-desc-text {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: inherit;
  width: 70%;
  color: #000000;
  font-size: 16px;
}
.ynm-blog-banner .ast-container {
  text-align: center;
}
.ynm-blog-banner .ynm-banner-title {
  margin: 0;
  font-size: clamp(35px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}
.ynm-blog-banner .ynm-banner-desc {
  margin-top: 12px;
  color: #374151;
  opacity: 0.9;
}

/* RovoDev: Search page - make posts block look exactly like Astra Related Posts */
body.search .ast-single-related-posts-container {
  padding-top: 2em;
}
body.search .ast-related-posts-title-section { 
  padding-bottom: 2em;
}
body.search .ast-related-posts-wrapper { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 25px;
  grid-row-gap: 25px;
}
body.search .ast-related-posts-wrapper .ast-related-post,
body.search .ast-related-post-featured-section {
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
}
body.search .ast-related-posts-inner-section {
  height: 100%;
}
body.search .post-has-thumb + .entry-header,
body.search .post-has-thumb + .entry-content {
  margin-top: 1em;
}
body.search .ast-related-post-content .entry-header,
body.search .ast-related-post-content .entry-meta {
  margin: 1em auto;
  padding: 0;
}
body.search .ast-related-post-content .entry-meta {
  margin-top: 0.5em;
}
body.search .ast-related-posts-inner-section .post-thumb-img-content {
  margin: 0;
  position: relative;
}

@media (max-width: 1024px) { 
  body.search .ast-related-posts-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
} 
@media (max-width: 767px) {
  body.search .ast-related-posts-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
 
/* Карточки блога: белые плитки, тень, ховер */
.archive .ast-article-post,
.archive .ast-article-post .ast-article-inner,
.blog .ast-article-post,
.blog .ast-article-post .ast-article-inner,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-post .ast-article-inner {
  background: #ffffff !important;
}
.archive .ast-article-post .ast-article-inner,
.blog .ast-article-post .ast-article-inner {
  border-radius: 0px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.archive .ast-article-post .ast-article-inner:hover,
.blog .ast-article-post .ast-article-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}
.archive .ast-article-post .post-thumb img,
.blog .ast-article-post .post-thumb img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.archive .ast-article-post .post-content,
.blog .ast-article-post .post-content {
  padding: 12px 12px 20px;
}
.archive .ast-article-post .entry-title a,
.blog .ast-article-post .entry-title a {
  color: #111;
}
.archive .ast-article-post .entry-title a:hover,
.blog .ast-article-post .entry-title a:hover {
  color: var(--ast-global-color-0, #2f70ff);
}
.archive .ast-article-post .entry-meta,
.blog .ast-article-post .entry-meta {
  color: #6b7280;
  font-size: 13px;
  margin-top: 8px;
}
.archive .ast-article-post .entry-content,
.blog .ast-article-post .entry-content {
  color: #374151;
}
.archive .ast-article-post .read-more a,
.blog .ast-article-post .read-more a {
  display: inline-block;
  background: var(--ast-global-color-0, #2f70ff);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.archive .ast-article-post .read-more a:hover,
.blog .ast-article-post .read-more a:hover {
  background: #1f4fcc;
  transform: translateY(-1px);
}
body.archive:not(.woocommerce) .ast-article-post,
body.blog:not(.woocommerce) .ast-article-post {
  margin-bottom: 26px;
  margin-top: -120px;
  padding: 0px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* Single пост: обложка под баннером */
.single-post .ynm-single-featured {
  width: 92%;
  margin: -120px auto 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 0;
}

.single-post .ynm-single-featured img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
}

.ast-separate-container .comments-title {
  padding: 0;
  padding-bottom: 15px;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.ast-comment-list {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.ast-separate-container .ast-comment-list li.depth-1 {
  padding: 0;
}

.ast-separate-container .ast-comment-list li.depth-1,
.ast-separate-container .comment-respond {
  padding: 0;
}

.ast-separate-container .ast-comment-list li .comment-respond {
  padding: 0;
  width: 100%;
}
.single-layout-1 {
  width: 68%;
  margin-left: auto;
  margin-right: auto;
}

/* .type-post.ast-article-single .wp-block-uagb-container.uagb-is-root-container .wp-block-uagb-container {
  max-width: 100%
} */

/* SINGLE: ставим thumbnail над контентом, а не в ряд */

/* Fix Woo star alignment under title: remove default float right */
.woocommerce-js .star-rating {
  float: none;
  margin-bottom: 15px;
}

/* Improve perceived accuracy of star fill by removing letter-spacing on stars */
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  letter-spacing: 0;
}
.single-post #content .ast-container {
  flex-wrap: wrap; /* разрешаем перенос элементов на новую строку */
}
.ast-separate-container .ast-article-single:not(.ast-related-post) {
  background-color: transparent;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 20px;
}

.ast-separate-container #primary {
  margin-top: 0;
  padding-top: 0;
}

.ast-separate-container .comments-area .comment-respond {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.ast-separate-container .comments-area .comments-title,
.ast-separate-container .comments-area .ast-comment-list li,
.ast-separate-container .comments-area .comment-respond {
  background-color: transparent;
}
body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
  font-size: 1.1rem;
}

.woocommerce ul.products li.product .ynm-badge {
  margin-bottom: 10px;
}

.ynm-badge.ynm-badge--editors_choice,
.ynm-badge.ynm-badge--best_seller,
.ynm-badge.ynm-badge--top_rated { 
  margin-bottom: 9px;
}

@media (max-width: 1200px) {
  .ast-separate-container .comments-title,
  .ast-comment-list,
  .single-layout-1,
  .ast-separate-container .comments-area .comment-respond {
    width: 92%;
  }
}

/* Related posts (cards) */
.ynm-related-posts {
  width: 100%;
  margin-top: 72px;
  margin-bottom: 92px;
  margin-left: auto;
  margin-right: auto;
}
.ynm-related-posts__heading {
  margin: 0 0 16px;
  font-size: 2rem;
  font-weight: 800;
}
.ynm-related-posts__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.ast-container .ast-row {
  /* gap: 115px; */
  flex-direction: column;
  display: flex;
}
.blog .ast-container .ast-row, .archive .ast-container .ast-row {
  gap: 115px;
}
.navigation.post-navigation {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navigation.post-navigation .nav-links .nav-previous,
.navigation.post-navigation .nav-links .nav-next {
  width: 100%;
}

.home.ast-page-builder-template .entry-header {
  margin-top: 0;
} 

body.home .ast-container .uagb-container-inner-blocks-wrap
ul.wp-block-kadence-posts {
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important; /* на всякий (логические 
свойства) */
}
 
.ynm-related-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ynm-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ynm-related-card__thumb {
  display: block;
}
.ynm-related-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f2f2f2;
}
.ynm-related-card__img--ph {
  background: linear-gradient(180deg, #f2f2f2, #e9e9e9);
}

.ynm-related-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ynm-related-card__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
}
.ynm-related-card__title a {
  color: inherit;
  text-decoration: none;
}
.ynm-related-card__title a:hover {
  text-decoration: underline;
}

.ynm-related-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 0.9rem;
}
.ynm-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ynm-meta__icon {
  color: #6b7280;
}
.ynm-meta__sep {
  opacity: 0.6;
}

.ynm-related-card__excerpt {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ynm-related-card__btn {
  align-self: flex-start;
  display: inline-block;
  padding: 10px 18px;
  background: #1fa37d; /* зелёная как на картинке */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ynm-related-card__btn:hover {
  background: #178968;
}

/* Header row: title + See All */
.ynm-related-posts__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.single .post-navigation {
  padding: 0;
}

.ynm-related-posts__top h2 {
  margin: 0;
}

.ynm-related-posts__heading {
  margin: 0;
}
.ynm-related-posts__all {
  color: #1fa37d;
  font-weight: 700;
  text-decoration: none;
}
.ynm-related-posts__all:hover {
  text-decoration: underline;
}

.uagb-container-inner-blocks-wrap {
  position: unset !important;
}

.wp-block-uagb-container.alignfull.uagb-is-root-container
  .uagb-container-inner-blocks-wrap {
  position: unset !important;
}

.bird-image {
  position: absolute !important;
  bottom: -7px;
  right: 0;
  opacity: 0.42;
}

.birdeggs-image {
  position: absolute !important;
  top: -9px;
  left: 60px;
  opacity: 0.9;
}

.pero-back-1 {
  position: absolute !important;
  top: 0px;
  left: 0px;
}

.pero-back-2 {
  position: absolute !important;
  bottom: 0px;
  right: 0px;
}

.the-stick {
  position: absolute !important;
}

/* Блок тумбнейла — контекст позиционирования */
.single-post .ynm-single-featured {
  position: relative;
}

/* База для всех оверлеев */
.single-post .ynm-single-featured .ynm-thumb-overlay,
.blog .ynm-single-featured .ynm-thumb-overlay,
.archive .ynm-single-featured .ynm-thumb-overlay {
  position: absolute;
  pointer-events: none;
}

.ynm-banner-title-container-img1 {
  width: 58px;
}

.ynm-banner-title-container-img2 {
  width: 50px;
}

/* Позиции */
.single-post .ynm-single-featured .ynm-thumb-overlay--left,
.blog .ynm-single-featured .ynm-thumb-overlay--left,
.archive .ynm-single-featured .ynm-thumb-overlay--left {
  top: -59px;
  left: 7px;
  z-index: 3;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--right,
.blog .ynm-single-featured .ynm-thumb-overlay--right,
.archive .ynm-single-featured .ynm-thumb-overlay--right {
  top: -46px;
  right: 7px;
  z-index: 3;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
.blog .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
.archive .ynm-single-featured .ynm-thumb-overlay--leftbackbird1 {
  top: -86px;
  left: 16vw;
  z-index: 3;
  width: 52px;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--rightbackbird2,
.blog .ynm-single-featured .ynm-thumb-overlay--rightbackbird2,
.archive .ynm-single-featured .ynm-thumb-overlay--rightbackbird2 {
  top: -86px;
  right: 16vw;
  z-index: 3;
  width: 61px;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
.blog .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
.archive .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1 {
  top: 0px;
  left: 100%;
  z-index: 3;
  width: 68px;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2,
.blog .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2,
.archive .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2 {
  top: 0px;
  right: 100%;
  z-index: 3;
  width: 68px;
}
.single-post .ynm-single-featured .ynm-thumb-overlay--center,
.blog .ynm-single-featured .ynm-thumb-overlay--center,
.archive .ynm-single-featured .ynm-thumb-overlay--center {
  top: -50px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* центр под «птицами», если пересекаются */
}

/* Размеры изображений оверлеев */
.single-post .ynm-single-featured .ynm-thumb-overlay--left,
.blog .ynm-single-featured .ynm-thumb-overlay--left,
.archive .ynm-single-featured .ynm-thumb-overlay--left,
.single-post .ynm-single-featured .ynm-thumb-overlay--right,
.blog .ynm-single-featured .ynm-thumb-overlay--right,
.archive .ynm-single-featured .ynm-thumb-overlay--right {
  display: block;
  width: 62px;
  height: auto;
  object-fit: contain;
}

.single-post .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
.blog .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
.archive .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
.single-post .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2,
.blog .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2,
.archive .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2 {
  display: block;
  height: auto;
  object-fit: contain;
}

.single-post .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
.blog .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
.archive .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
.single-post .ynm-single-featured .ynm-thumb-overlay--rightbackbird2,
.blog .ynm-single-featured .ynm-thumb-overlay--rightbackbird2,
.archive .ynm-single-featured .ynm-thumb-overlay--rightbackbird2 {
  display: block;
  height: auto;
  object-fit: contain;
}

.single-post .ynm-single-featured .ynm-thumb-overlay--center,
.blog .ynm-single-featured .ynm-thumb-overlay--center,
.archive .ynm-single-featured .ynm-thumb-overlay--center {
  display: block;
  width: 80px;
  height: auto;
  object-fit: contain;
}
.blog .ynm-single-featured,
.archive .ynm-single-featured {
  position: absolute;
  width: 100%;
}
.ynm-archive-featured img {
  position: absolute;
}

/* Картинка под тумбнейлом */
.single-post .ynm-thumb-under {
  display: block;
  width: 80px;
  height: auto;
  object-fit: contain;
  margin: -6px auto 12px;
  clear: both;
}

/* Ensure affiliate note and egg image stack vertically and not side-by-side */
.single-post .ynm-affiliate-wrap {
  display: block !important;
  width: 100%;
}
.single-post .entry-content .ynm-affiliate-wrap {
  display: block !important;
  width: 100%;
}
.single-post .ynm-affiliate-wrap,
.single-post .ynm-affiliate-wrap * {
  float: none !important;
}
.single-post .ynm-affiliate-wrap {
  clear: both !important;
}

.single-post .ynm-affiliate-note {
  display: block;
}
.single-post .ynm-affiliate-note + .ynm-thumb-under {
  display: block;
}

/* Force full-width stacking if parent becomes flex on desktop */
.single-post .entry-content .ynm-affiliate-note,
.single-post .entry-content .ynm-affiliate-note + .ynm-thumb-under {
  float: none !important;
  clear: both !important;
  display: block !important;
  flex: 0 0 100% !important; /* take full row in any flex container */
  max-width: 100% !important;
}

/* Keep egg image narrow and centered even when flex is applied */
.single-post .entry-content .ynm-affiliate-note + .ynm-thumb-under {
  width: 80px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: auto !important;
}

.home-hero-birds {
  position: absolute !important;
  top: -60px;
}

/* Важно: переопределяем общее правило для .ynm-single-featured img */
.single-post .ynm-single-featured .ynm-thumb-under,
.blog .ynm-single-featured .ynm-thumb-under,
.archive .ynm-single-featured .ynm-thumb-under {
  display: inline-block;
  width: 80px; /* подберите размер под макет */
  height: auto;
  object-fit: contain;
}

.ynm-blog-banner .ynm-back-overlay--right {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

.ynm-blog-banner .ynm-back-overlay--left {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.ynm-blog-banner .ynm-back-overlay--center {
  position: absolute;
  top: 37px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
}

.ynm-banner-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 20px;
}

.home-bird2-in-exploreindoor {
  position: absolute;
  top: -96px;
}

.home-bird1-in-exploreindoor {
  position: absolute;
  top: -101px;
}

.bottom-socials-section {
  width: 900px !important;
}

.class-for-birds-on-home {
}

/* Минималистичный поиск внутри хедера */
.ynm-header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ynm-header-search form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.ynm-edge-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: currentColor;
}

.ynm-header-search input[type="search"] {
  width: 160px;
  background: transparent;
  border: none;
  border-bottom: 1px solid currentColor;
  outline: none;
  padding: 0 0 2px 0;
  font-size: 13px;
  color: currentColor;
}

/* .ynm-header-search input[type="search"]::placeholder {
  color: transparent;
} */

.ynm-edge-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: currentColor;
  line-height: 1;
}
.ynm-edge-submit svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Позиционирование в полосе хедера */
.main-header-bar {
  position: relative;
}

/* Блок у правого края экрана (вне .ast-container) */
.ynm-edge-follow {
  position: absolute;
  right: 10px; /* при необходимости дайте right: 8px */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.ynm-blog-banner .ynm-banner-desc p {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: inherit;
  width: 70%;
  color: #000000;
  font-size: 16px;
}

/* Ссылка: текст + маленькая иконка */
.ynm-edge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 0;
  margin: 0;
}

/* Текст слева — компактно */
.ynm-edge-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: currentColor;
}

/* Иконка Pinterest */
.ynm-edge-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ast-header-break-point .main-header-menu {
  background-color: #ffffff;
}

@media (max-width: 1670px) {
  .ynm-edge-label {
    display: none;
  }
}

@media (max-width: 1200px) {
  .ast-separate-container .ast-comment-list li.depth-1,
  .ast-separate-container .comment-respond {
    padding: 0;
  }
  .ynm-blog-banner .ynm-back-overlay--right,
  .ynm-blog-banner .ynm-back-overlay--left {
    height: 56%;
    top: 0;
    clip-path: inset(0 0 10% 0);
  }
  .bottom-socials-section {
    width: 90% !important;
  }
}

/* Прятать на мобильных */
@media (max-width: 921px) {
  .ynm-edge-follow {
    display: none;
  }
  .ynm-header-search {
    display: none;
  }
  .ast-container {
    max-width: 1360px;
  }
}

@media (max-width: 768px) {
  .bottom-socials-section {
    width: 98% !important;
  }
  .single-post .ynm-single-featured {
    width: 88%;
    margin: -75px auto 15px;
  }
  .single-post .ynm-single-featured img {
    height: 260px;
  }
  .ynm-blog-banner .ynm-back-overlay--right,
  .ynm-blog-banner .ynm-back-overlay--left {
    height: 45%;
    top: 32%;
    clip-path: inset(20% 0 10% 0);
  }
  .ynm-banner-title-container {
    gap: 14px;
    width: 110%;
    margin-left: -5%;
  }
  .ynm-banner-title-container-img1 {
    width: 40px;
  }
  .ynm-banner-title-container-img2 {
    width: 35px;
  }
  .single-post .ynm-single-featured .ynm-thumb-overlay--leftbackbird1,
  .blog .ynm-single-featured .ynm-thumb-overlay--leftbackbird1 {
    left: 20vw;
    width: 38px;
  }
  .single-post .ynm-single-featured .ynm-thumb-overlay--rightbackbird2,
  .blog .ynm-single-featured .ynm-thumb-overlay--rightbackbird2 {
    right: 20vw;
    width: 46px;
  }
  .single-post .ynm-single-featured .ynm-thumb-overlay--leftbackleaves1,
  .single-post .ynm-single-featured .ynm-thumb-overlay--rightbackleaves2 {
    top: -45px;
  }
  .home-hero-birds {
    top: -37px;
  }
  .single .post-navigation .nav-previous {
    margin-bottom: 0px;
  }
  .archive .ast-article-post .post-thumb img,
  .blog .ast-article-post .post-thumb img {
    height: 290px;
  }
}
@media (max-width: 500px) {
  .ynm-blog-banner .ynm-banner-title {
    z-index: 1;
  }
  .ynm-banner-title-container-img1 {
    position: absolute;
    z-index: 0;
    left: 0;
  }
  .ynm-banner-title-container-img2 {
    position: absolute;
    z-index: 0;
    right: 0;
  }
  .single-post .ynm-banner-title-container-img2,
  .single-post .ynm-banner-title-container-img1 {
    display:none;
  }
  .single-post .ynm-banner-title-container {
    margin-bottom: 30px;
  }
  .single-post .ynm-blog-banner .ynm-banner-desc {
    display: none;
  }
}

/* Affiliate note: align to content width and spacing */
.single-post .ynm-affiliate-note {
  width: 92%;
  margin: 0px auto 16px;
  font-style: italic; 
  color: #374151;
  line-height: 1.6;
}
/* Affiliate note width follows post content: 92% on mobile/tablet, 85% on large screens */
@media (min-width: 1201px) {
  .single-post .ynm-affiliate-note {
    width: 92%;
  }
}

@media (max-width: 768px) {
  .archive .ast-article-post,
  .blog .ast-article-post {
    width: 92%;
  }
  .ynm-blog-banner .uagb-desc-text,
  .ynm-related-posts,
  .navigation.post-navigation,
  .ynm-blog-banner .ynm-banner-desc p {
    width: 92%;
  }
  .ynm-blog-banner {
    padding: 90px 20px 140px;
  }
  .ynm-blog-banner .ynm-banner-desc {
    width: 110%;
    margin-left: -5%;
  }
  .blog .ast-container .ast-row, .archive .ast-container .ast-row {
    gap: 75px;
  }
}

@media (max-width: 768px) {
  .home-bird1-in-exploreindoor {
    top: -76px !important;
    margin-left: 10px !important;
  }
  .home-bird2-in-exploreindoor {
    top: -580px !important;
  }
  body.archive:not(.woocommerce) .ast-article-post,
  body.blog:not(.woocommerce) .ast-article-post {
    width: 97%;
    margin-top: -70px;
  }
}

h2,
.entry-content :where(h2) {
  font-size: 36px;
}
@media (max-width: 921px) {
  h2,
  .entry-content :where(h2) {
    font-size: 31px;
  }
}
@media (max-width: 544px) {
  h2,
  .entry-content :where(h2) {
    font-size: 28px;
  }
}

@media screen and (max-width: 1258px) {
  .ynm-header-search {
    display: none;
  }
  .ast-site-header-cart i.astra-icon {
    padding: 0 0px;
  }
}

@media screen and (max-width: 976px) {
  .home-bird1-in-exploreindoor {
    top: -86px;
    margin-left: 10px !important;
  }
  .home-bird2-in-exploreindoor {
    top: -86px;
  }
}

/* RovoDev: Mobile menu searchbar (top) and Pinterest link (bottom) styling */

/* RovoDev: Force visible dividers in Astra mobile menu overriding parent 'border-style: none' */
@media (max-width: 921px) {
  .ast-hfb-header.ast-header-break-point
    .ast-mobile-header-content
    .ast-builder-menu-mobile
    .main-header-menu
    > .menu-item
    > .menu-link,
  .ast-hfb-header.ast-header-break-point
    .ast-mobile-header-content
    .ast-builder-menu-mobile
    .main-navigation
    .menu-item
    > .menu-link {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
  .ast-hfb-header.ast-header-break-point
    .ast-mobile-header-content
    .ast-builder-menu-mobile
    .main-header-menu
    > .menu-item:last-child
    > .menu-link,
  .ast-hfb-header.ast-header-break-point
    .ast-mobile-header-content
    .ast-builder-menu-mobile
    .main-navigation
    .menu-item:last-child
    > .menu-link {
    border-bottom: 0 !important;
  }
  .ast-header-break-point .ast-mobile-header-wrap .ast-flex.stack-on-mobile {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ast-header-break-point .main-navigation ul .menu-item .menu-link {
    padding-left: 0px;
  }
}

/* RovoDev: underline only the NestingMuse link inside the bottom socials UAGB info box */
.bottom-socials-section .uagb-ifb-title-wrap a[href^="https://www.pinterest.com/NestingMuse"],
.bottom-socials-section .uagb-ifb-title-wrap a[href^='https://www.pinterest.com/NestingMuse']
{
  text-decoration: underline !important;
  text-underline-offset: 2px;
  color: #111 !important;
}
.bottom-socials-section .uagb-ifb-title-wrap a[href^="https://www.pinterest.com/NestingMuse"]:hover,
.bottom-socials-section .uagb-ifb-title-wrap a[href^='https://www.pinterest.com/NestingMuse']:hover,
.bottom-socials-section .uagb-ifb-title-wrap a[href^="https://www.pinterest.com/NestingMuse"]:focus,
.bottom-socials-section .uagb-ifb-title-wrap a[href^='https://www.pinterest.com/NestingMuse']:focus
{
  text-decoration: underline !important;
  color: #111 !important;
}

@media (max-width: 420px) {
  .single .nav-links .nav-previous{
    width: 100%;
    text-align: left;
  }
  .single .nav-links .nav-next {
    width: 100%;
    text-align: right; 
  }
}

@media (max-width: 921px) {
  /* Top searchbar inside mobile dropdown */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile {
    display: block;
    padding: 12px 20px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .search-field {
    flex: 1 1 auto;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid currentColor; /* match desktop minimal style */
    border-radius: 0;
    padding: 0 0 2px 0;
    font-size: 15px;
  }
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .ynm-edge-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    margin-left: 6px;
    border: 0;
    background: none;
    color: currentColor; /* inherit color like desktop */
  }
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .ynm-edge-submit
    svg {
    width: 18px;
    height: 18px;
  }

  /* Bottom Pinterest link */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-mobile-menu-bottom-link {
    margin-top: 12px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .ast-mobile-header-wrap .ast-mobile-header-content .ynm-pinterest-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    color: #e60023; /* Pinterest red */
  }
  .ast-mobile-header-wrap .ast-mobile-header-content .ynm-pinterest-link:hover {
    text-decoration: underline;
  }

  /* Mobile menu typography and dividers */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-bar-navigation,
  .ast-mobile-header-wrap .ast-mobile-header-content .main-header-menu,
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-menu
    .menu-link,
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-menu
    .menu-item
    > a {
    font-family: "Red Rose", "Red Rose Regular", "Red Rose Variable", cursive,
      system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  }

  /* Ensure search inherits the same font */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .search-field,
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .ynm-header-search--mobile
    .ynm-edge-submit {
    font-family: inherit;
  }

  /* Subtle divider between top-level menu items */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-bar-navigation
    > .main-header-menu
    > .menu-item
    > .menu-link {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-style: solid !important;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-bar-navigation
    > .main-header-menu
    > .menu-item:last-child
    > .menu-link {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Center all mobile menu links and make them uppercase */
  .ast-mobile-header-wrap
    .ast-mobile-header-content
    .main-header-bar-navigation
    .menu-item
    > .menu-link {
    display: block;
    width: 100%;
    text-align: center; 
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}
/* RovoDev: Smooth slide animation for Astra mobile dropdown menu (flex-start) */
@media (max-width: 921px) {
  /* Ensure container is always in flow and transitionable */
  .ast-header-break-point
    .ast-mobile-header-wrap
    .ast-mobile-header-content.content-align-flex-start {
    display: block !important; /* override theme display toggles */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease,
      visibility 0s linear 0.35s;
    will-change: max-height, opacity, transform;
  }
  /* Open state: when Astra adds ast-main-header-nav-open to body */
  body.ast-main-header-nav-open
    .ast-mobile-header-wrap
    .ast-mobile-header-content.content-align-flex-start {
    display: block !important;
    max-height: 80vh; /* allow scrolling if content is tall */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
  }
}

/* Interior DNA top promo strip */
.ynm-top-test-banner,
.ynm-top-test-banner * {
  box-sizing: border-box; 
}

.ynm-top-test-banner {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(23, 33, 29, 0.1);
  background:
    linear-gradient(90deg, rgba(143, 182, 163, 0.28), rgba(215, 231, 238, 0.46) 48%, rgba(185, 101, 74, 0.12)),
    #fbfbf7;
  color: #17211d;
  font-family: Sora, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.08);
}

.ynm-top-test-banner__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
}

.ynm-top-test-banner__badge,
.ynm-top-test-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

.ynm-top-test-banner__badge {
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.68);
  color: #2f6f5e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ynm-top-test-banner__text {
  min-width: 0;
  color: #40504a;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.ynm-top-test-banner__desktop-copy {
  display: inline;
}

.ynm-top-test-banner__mobile-copy {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #17211d;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ynm-top-test-banner__arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 8px;
  flex: 0 0 auto;
  animation: ynm-top-test-banner-arrow 1.2s ease-in-out infinite;
}

.ynm-top-test-banner__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 1.5px;
  background: #2f6f5e;
  transform: translateY(-50%);
}

.ynm-top-test-banner__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #2f6f5e;
  border-right: 1.5px solid #2f6f5e;
  transform: translateY(-50%) rotate(45deg);
}

.ynm-top-test-banner__mobile-label {
  display: inline-block;
}

.ynm-top-test-banner__text strong {
  color: #17211d;
  font-weight: 900;
}

.ynm-top-test-banner__cta {
  border-radius: 8px;
  padding: 8px 11px;
  background: #17211d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.ynm-top-test-banner__link:hover .ynm-top-test-banner__cta,
.ynm-top-test-banner__link:focus-visible .ynm-top-test-banner__cta {
  transform: translateY(-1px);
  background: #2f6f5e;
}

body.admin-bar .ynm-top-test-banner {
  top: 32px;
}

@keyframes ynm-top-test-banner-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@media (max-width: 760px) {
  .ynm-top-test-banner {
    z-index: 121;
  }
  .ynm-top-test-banner__link {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 50px;
    width: min(100% - 22px, 1180px);
    gap: 10px;
  }
  .ynm-top-test-banner__text {
    text-align: right;
  }
  .ynm-top-test-banner__cta {
    display: none;
  }
  .ynm-top-test-banner__desktop-copy {
    display: none;
  }
  .ynm-top-test-banner__mobile-copy {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  .ynm-top-test-banner__link {
    width: calc(100% - 18px);
  }
  .ynm-top-test-banner__text {
    font-size: 12px;
  }
  .ynm-top-test-banner__badge {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .ynm-top-test-banner__mobile-copy {
    gap: 8px;
  }
  .ynm-top-test-banner__arrow {
    width: 16px;
  }
  .ynm-top-test-banner__arrow::before {
    width: 11px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ynm-top-test-banner {
    top: 46px;
  }
}
 
/* In-post promo banners */
.ynm-post-promo,
.ynm-post-promo * {
  box-sizing: border-box; 
}
 
.single-post .entry-content .ynm-post-promo {
  width: min(980px, 100%); 
  margin: 44px auto;
  font-family: Sora, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}  

.ynm-post-promo--pack { 
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(31, 122, 92, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 182, 163, 0.24), rgba(215, 231, 238, 0.45) 46%, rgba(185, 101, 74, 0.13)),
    #fffdf8;
  color: #17211d;
  box-shadow: 0 18px 42px rgba(36, 29, 20, 0.11);
}

.ynm-post-promo__media {
  flex: 0 0 33%;
  display: block !important;  
  width: auto !important;
  margin: 0 !important; 
  text-align: left;
  background: #e9eee8;
  position: relative;
  overflow: hidden;
}

.ynm-post-promo__media img { 
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
  object-position: center center;
}

.ynm-post-promo__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 4vw, 32px);
} 

.ynm-post-promo__media, 
.ynm-post-promo__media * {
  float: none !important; 
}

.ynm-post-promo__media > .pin-it-container {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  line-height: 0;
}

.ynm-post-promo__media > .pin-it-container > img,
.ynm-post-promo__media > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center center;
}

.ynm-post-promo > a.ynm-post-promo__media:empty {
  display: none !important;
}

.ynm-post-promo__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.ynm-post-promo__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(185, 101, 74, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.72);
  color: #8a3f2d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ynm-post-promo-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(31, 122, 92, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  background: #17211d;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(31, 122, 92, 0.1), 0 16px 34px rgba(23, 33, 29, 0.2);
}

.ynm-post-promo-price__old {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ynm-post-promo-price__now {
  color: #f7f1da;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.9;
}

.ynm-post-promo-price__note {
  color: #d7eee0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ynm-post-promo h3 {
  margin: 0 0 12px;
  color: #17211d;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.ynm-post-promo p {
  max-width: 610px;
  margin: 0;
  color: #33423c;
  font-size: 15px;
  line-height: 1.62;
}

.ynm-post-promo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.ynm-post-promo__timer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(31, 122, 92, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: #476057;
}

.ynm-post-promo__timer span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.ynm-post-promo__timer strong {
  min-width: 76px;
  color: #17211d;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}

.ynm-post-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  background: #17211d;
  color: #fff !important;
  font-size: 14px; 
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ynm-post-promo__button:hover,
.ynm-post-promo__button:focus-visible {
  background: #2f6f5e;
  box-shadow: 0 10px 22px rgba(31, 122, 92, 0.18);
  transform: translateY(-1px);
}

/* Bottom floating decor pack banner */
.ynm-pack-float,
.ynm-pack-float * {
  box-sizing: border-box;
}

.ynm-pack-float { 
  position: fixed;
  left: 50%;
  bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  z-index: 10020;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(840px, calc(100% - 28px));
  border: 1px solid rgba(31, 122, 92, 0.24);
  border-radius: 10px;
  padding: 10px 56px 10px 10px;
  background:
    linear-gradient(120deg, rgba(143, 182, 163, 0.18), rgba(255, 253, 248, 0.95) 54%, rgba(185, 101, 74, 0.1)),
    #fffcf7;
  box-shadow: 0 18px 34px rgba(23, 33, 29, 0.2);
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.ynm-pack-float.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ynm-pack-float__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(23, 33, 29, 0.2);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #17211d;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ynm-pack-float__media {
  overflow: hidden;
  width: 104px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #e9eee8;
}

.ynm-pack-float__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
} 

.ynm-pack-float__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.ynm-pack-float__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ynm-pack-float__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ynm-pack-float__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  border: 1px solid rgba(185, 101, 74, 0.26);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #8a3f2d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ynm-pack-float__title {
  margin: 0;
  color: #17211d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
}

.ynm-pack-float__text {
  max-width: 460px;
  margin: 0;
  color: #33423c;
  font-size: 13px;
  line-height: 1.35;
}

.ynm-pack-float-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid rgba(31, 122, 92, 0.2);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.84);
  color: #17211d;
  box-shadow: 0 6px 16px rgba(23, 33, 29, 0.07);
}

.ynm-pack-float-price__old {
  color: rgba(23, 33, 29, 0.48);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ynm-pack-float-price__now {
  color: #17211d;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.ynm-pack-float-price__note {
  max-width: 36px;
  color: #2f6f5e;
  font-size: 8px;
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.ynm-pack-float__cta {
  display: flex; 
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.ynm-pack-float__price-mobile {
  display: none;
}

.ynm-pack-float__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 15px;
  background: #17211d;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ynm-pack-float__button:hover,
.ynm-pack-float__button:focus-visible {
  background: #2f6f5e;
  box-shadow: 0 8px 18px rgba(31, 122, 92, 0.2);
  transform: translateY(-1px);
}

.ynm-pack-float__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #52665f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.ynm-pack-float__timer strong {
  min-width: 58px;
  color: #17211d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: left;
}

.ynm-post-promo--dna {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  border: 1px solid rgba(23, 33, 29, 0.1);
  border-radius: 8px;
  padding: 20px 24px;
  background:
    linear-gradient(90deg, rgba(143, 182, 163, 0.26), rgba(215, 231, 238, 0.5) 52%, rgba(185, 101, 74, 0.13)),
    #fbfbf7;
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.08);
}

.ynm-post-promo-dna__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ynm-post-promo-dna__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #2f6f5e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.ynm-post-promo-dna__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ynm-post-promo-dna__copy strong {
  color: #17211d;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}

.ynm-post-promo-dna__subcopy {
  color: #40504a;
  font-size: 14px;
  line-height: 1.45;
}

.ynm-post-promo-dna__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 16px;
  background: #17211d;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ynm-post-promo-dna__button:hover,
.ynm-post-promo-dna__button:focus-visible {
  background: #2f6f5e;
  box-shadow: 0 10px 22px rgba(31, 122, 92, 0.18);
  transform: translateY(-1px);
}

.ynm-post-promo-dna__arrow {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 8px;
  flex: 0 0 auto;
  animation: ynm-post-promo-arrow 1.2s ease-in-out infinite;
}

.ynm-post-promo-dna__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.ynm-post-promo-dna__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@keyframes ynm-post-promo-arrow {
  0%,
  100% {
    transform: translateX(0) scaleX(-1);
  }
  50% {
    transform: translateX(-4px) scaleX(-1);
  }
}

@media (max-width: 820px) {
  .ynm-post-promo--pack {
    display: flex;
    flex-direction: column;
  }
  .ynm-post-promo__media {
    flex: 0 0 auto;
    width: 100% !important;
  }
  .ynm-post-promo__media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .ynm-post-promo__media > .pin-it-container {
    height: auto !important;
  }
  .ynm-post-promo__media > .pin-it-container > img,
  .ynm-post-promo__media > img {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  .ynm-post-promo__body {
    padding: 24px;
  }

  .ynm-pack-float {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 50px 9px 9px;
  }
  .ynm-pack-float__media {
    width: 88px;
  }
  .ynm-pack-float__body {
    grid-template-columns: minmax(0, 1fr) 95px;
    gap: 12px;
  }
  .ynm-pack-float__title {
    font-size: 16px;
  }
  .ynm-pack-float__text {
    font-size: 12px;
  }
  .ynm-pack-float-price {
    min-height: 26px;
    padding: 4px 8px;
  }
  .ynm-pack-float-price__now {
    font-size: 17px;
  }
  .ynm-pack-float__button {
    min-height: 34px;
    padding: 9px 12px;
  }
}

@media (max-width: 560px) {
  .ynm-pack-float-price {
    border: none;
  }
  .single-post .entry-content .ynm-post-promo {
    margin: 34px auto;
  }
  .ynm-post-promo__body {
    padding: 18px;
  }
  .ynm-post-promo__topline,
  .ynm-post-promo__actions {
    flex-direction: column;
  }
  .ynm-post-promo__topline {
    align-items: flex-start;
  }
  .ynm-post-promo__actions {
    align-items: stretch;
  }
  .ynm-post-promo__kicker,
  .ynm-post-promo-price,
  .ynm-post-promo__timer,
  .ynm-post-promo__button {
    width: 100%;
  }
  .ynm-post-promo__kicker {
    width: auto;
  }
  .ynm-post-promo-price,
  .ynm-post-promo__timer {
    justify-content: center;
  }
  .ynm-post-promo__timer {
    justify-content: space-between;
  }
  .ynm-post-promo h3 {
    font-size: 24px;
  }
  .ynm-post-promo--dna {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }
  .ynm-post-promo-dna__head {
    gap: 8px;
  }
  .ynm-post-promo-dna__copy strong {
    font-size: 20px;
  }
  .ynm-post-promo-dna__subcopy {
    font-size: 13px;
  }
  .ynm-post-promo-dna__button {
    width: 100%;
  }
  .ynm-post-promo-dna__arrow {
    width: 16px;
  }
  .ynm-post-promo-dna__arrow::before {
    width: 11px;
  }

  .ynm-pack-float {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 16px);
    bottom: max(8px, calc(env(safe-area-inset-bottom, 0px) + 6px));
    padding: 8px 36px 8px 8px;
  }
  .ynm-pack-float__media {
    display: block;
    width: 70px;
  }
  .ynm-pack-float__body {
    gap: 8px;
  }
  .ynm-pack-float__copy {
    gap: 4px;
  }
  .ynm-pack-float__kicker {
    min-height: 22px;
    padding: 4px 8px;
    font-size: 10px;
  }
  .ynm-pack-float__title {
    font-size: 14px;
    line-height: 1.18;
  }
  .ynm-pack-float__text {
    font-size: 11px;
    line-height: 1.25;
  }
  .ynm-pack-float-price {
    min-height: 24px;
    gap: 5px;
    padding: 4px 7px;
  }
  .ynm-pack-float-price__old {
    font-size: 9px;
  }
  .ynm-pack-float-price__now {
    font-size: 15px;
  }
  .ynm-pack-float-price__note {
    max-width: 32px;
    font-size: 7px;
  }
  .ynm-pack-float__cta {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
  }
  .ynm-pack-float__meta .ynm-pack-float-price {
    display: none;
  }
  .ynm-pack-float__price-mobile {
    display: block;
  }
  .ynm-pack-float__price-mobile .ynm-pack-float-price {
    display: inline-flex;
  }
  .ynm-pack-float__button {
    min-height: 32px;
    padding: 8px 11px;
    font-size: 12px;
  }
  .ynm-pack-float__timer {
    gap: 4px;
    font-size: 9px;
  }
  .ynm-pack-float__timer strong {
    min-width: 52px;
    font-size: 11px;
  }
  .ynm-pack-float__close {
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .ynm-pack-float {
    grid-template-columns: 0px minmax(0, 1fr);
  }
  .ynm-pack-float__media {
    width:0px;
  }
}
