/*
Theme Name: Graceful Halo Blog Custom
Theme URI: https://optimathemes.com/graceful-halo-blog-theme/
Author: Aslam
Author URI: http://optimathemes.com/
Description: Graceful Halo Blog is a free, elegant, and versatile WordPress theme crafted for bloggers, creators, and storytellers. Whether you write about lifestyle, fashion, travel, beauty, food, fitness, health, tech, or news, this theme adapts perfectly to your niche. Featuring a clean, modern, and minimal design, Graceful Halo Blog ensures your content shines across all devices with its fully responsive and Retina-ready layout. Built with performance, accessibility, and SEO best practices in mind, it delivers both speed and visibility. The theme is WooCommerce compatible, translation-ready, and supports RTL languages, making it ideal for a global audience. Whether you’re starting a personal blog or building a professional online platform, Graceful Halo Blog blends sophisticated style with powerful functionality to help your voice stand out and your audience grow.
Template: graceful
Version: 1.0.0
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graceful-halo-blog-custom
Tags: blog, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, e-commerce
*/ 


/* 
Customization of this theme starts here
*/ 

/* style.css */


/*--------------------------------------------------------------
Header Sections 
--------------------------------------------------------------*/
body {
    background-color: #f4f1ec;
}

.entry-header {
    height: 150px;
}

.blog .post-title {
    font-size: 28px;
    line-height: 38px;
}

.blog article .post-meta {
    margin-bottom: 10px;
}


#main-navigation {
    background-color: #ede8de;
    border-top: 1px solid #d9d1c0;
    border-bottom: 1px solid #d9d1c0;
}

#top-navigation {
    background-color: #000000;
    color: #ffffff;
    border-bottom: 1px solid #d9d1c0;
}

aside .graceful-widget h2, 
.graceful-widget .widget-title {
    background: #f4f1ec;
    border-bottom: 2px solid #cbc1aa;
    font-weight: 600;
    border-radius: 15px;
}

aside .graceful-widget h2::after, 
.graceful-widget .widget-title::after {
    border-top: 8px solid #cbc1aa;
}

#graceful-post-slider .owl-stage-outer:after {
    background-color: #f4f1ec;
}

#graceful-post-slider .owl-nav {
    background-color: #f4f1ec;
}

.post-title {
    word-wrap: break-word;
}

.graceful-slider-title {
    width: 460px;
    word-wrap: break-word;
}

@media screen and (max-width: 480px) {
    .graceful-slider-title {
        width: 300px;
    }
}

.site-images {
    min-height: 245px;
    background: #f4f1ec;
}

/* Featured image on single posts/pages: center-crop (cover) and hide overflow */
.single .site-images,
.page .site-images {
    height: clamp(220px, 32vw, 420px);
    overflow: hidden;
}

.single .site-images img.wp-post-image,
.page .site-images img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

#site-footer {
    background: #dfd8cb;
}

/* Footer: Pinterest icon instead of theme credit text */
.footer-credits .pinterest-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.footer-credits .pinterest-icon {
    width: 23px;
    height: 23px;
    fill: #111111; /* dark icon */
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-credits .pinterest-link:hover .pinterest-icon,
.footer-credits .pinterest-link:focus .pinterest-icon {
    opacity: 1;
    transform: translateY(-1px);
}

#site-footer .graceful-widget .widget-title {
    background: #ede8de !important;
    border-bottom: 1px solid #b9ad94 !important;
}

#site-footer .graceful-widget .widget-title::after {
    border-top: 8px solid #b9ad94;
}

.footer-widgets {
    border-bottom: 1px solid #a19376;    
}

#site-menu li a {
    font-weight: 500;
    border-right: 1px solid #cbc0a8;
}

#site-menu li:last-child a {
    padding-right: 16px; 
}

#site-menu li:first-child a {
    padding-left: 16px;
    border-left: 1px solid #cbc0a8;
}

.single .post-date {
    color: #111111 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.single .post-title-author { 
    color: #111111 !important;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: normal;
}


.content-column > li {
    margin-bottom: 30px;
    display: inline-block;
    vertical-align: top;
    margin-right: 35px;
    width: calc((100% - 40px ) /2);
    width: -webkit-calc((100% - 40px ) /2);
}

.content-column > li:nth-of-type(2n+2) {
    margin-right: 0;
}

[data-layout*="col1-leftrightsidebar"] .content-column > li {
    width: 100%;
}


@media screen and (max-width: 480px) {
    .content-column > li {
        width: 100%;
    }
}

/* Top Navigation
   ========================================================================== */

#top-navigation {
  text-align: center;
  box-shadow: 0px 1px 5px rgba(0,0,0, 0.1);
  border-bottom: 1px solid #e4e4e4;
}

#top-menu {
  display: inline-block;
}

#top-menu li {
  position: relative;
}

#top-menu li.menu-item-has-children>a:after {
    font-family: FontAwesome;
    content: "\f107";
    margin-left: 6px;
    font-size: 12px;
}

#top-menu ul li.menu-item-has-children>a:after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 14px;
    float: right;
}

#top-menu > li {
  display: inline-block;
  list-style: none;
}

#top-menu li a {
  display: block;
  position: relative;
  padding: 0 5px;
  margin-left: 5px;
  color: #ffffff;
}

#top-menu a:focus {
  outline: 3px dotted #000000 !important;
}

#top-menu li a:first-child {
  margin-left: 0;
}

#top-menu > li > a {
  display: block;
  text-decoration: none;
}

#top-menu > li:first-child > a {
  padding-left: 0px;
}

#top-menu > li:last-child > a {
  padding-right: 0px;
}

#top-menu ul ul {
  top: -1px;
  left: 100%;
}

#top-menu .sub-menu {
  position: absolute;
  left: -999em;
  z-index: 1101;
  width: 170px;
  text-align: left;
  border: 1px solid #e4e4e4;
  border-width: 1px;
  opacity: 0;
  background: #111111;
}

#top-menu .menu-item:hover > ul, #top-menu .menu-item:focus-within > ul {
  left: 0;
  opacity: 1;
}

#top-menu .menu-item:hover ul ul, #top-menu .menu-item:focus-within ul ul{
  left: 100%;
}

#top-menu .sub-menu a {
  border-bottom-style: solid;
  border-bottom-width: 1px; 
}

#top-menu .sub-menu a:hover {
    background: #333333;
}

#top-menu .sub-menu > li:last-of-type > a {
  border: none;
}

#top-menu .sub-menu li:first-child > .sub-menu {
  margin-top: -1px;
}

#top-menu .sub-menu > li > a {
  display: block;
  width: 100%;
  padding: 8px 15px;
  margin: 0;
}

#top-menu li a {
  font-size: 11px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}
#top-menu .sub-menu > li > a {
  font-size: 11px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

#top-menu li a {
  font-size: 11px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 600;
}
#top-menu .sub-menu > li > a {
  font-size: 11px;
  line-height: 22px;
  letter-spacing: 0.5px;
}

#top-menu li a,
#main-menu li a {
  text-transform: uppercase;
}

#top-navigation > div {
  padding-left: 30px;
  padding-right: 30px;
}

.post-categories {
    background: unset;
    border: unset;
    margin-bottom: 0;
    padding: 0;
}

.wp-block-search__button {
    background: #f4f1ec;
    border: 1px solid #d9d1c0;
}

#main-navigation #searchform #s {
    border: 1px solid #bdb29b;
}

#main-navigation #searchform #searchsubmit, .close-graceful-search {
    background: #f4f1ec;
    border: 1px solid #d9d1c0;
}

.main-content {
    margin-top: 40px;
}

#graceful-post-slider {
    padding-bottom: 40px;
    margin-top: 40px;
    border-radius: 30px;
}

.widget_categories > ul > li {
    border-bottom: 1px solid #f4f1ec;
}

aside .wp-block-latest-posts.wp-block-latest-posts__list li {
    border-bottom: 1px solid #f4f1ec;
}

.wp-block-search__label {
    display: none;
}


/*--------------------------------------------------------------
Featured Boxes Sections
--------------------------------------------------------------*/

#featured-boxes {
  padding: 34px 34px 30px 34px !important;
  border-bottom: 1px solid #eee;
  background: #fff;
  margin-top: 40px;
  border-radius: 50px;
}

#featured-boxes .wrapped-content {
  font-size: 0;
  text-align: center;
}

#featured-boxes .featured-box {
  position: relative;
  float: left;
}

#featured-boxes a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#featured-boxes .graceful-wrap-outer {
  padding: 12px;
}

#featured-boxes h4 {
  display: inline-block;
  padding: 11px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: rgba(0,0,0,0.50);
  color: #ffffff !important;
  border-radius: 20px;
  min-width: 140px;
}

#featured-boxes .featured-box {
    width: calc((100% - 50px ) /3);
    width: -webkit-calc((100% - 70px ) /3);
    margin-right: 34px;
}

#featured-boxes .featured-box:last-child {
    margin-right: 0;
}


#featured-boxes .featured-box img {
    border-radius: 30px;
}

@media screen and (max-width: 768px) {
    .featured-box {
        display: block;
    }
    .main-navigation-search {
        right: 20px;
    }
}


@media screen and (max-width: 480px) {
    #featured-boxes .featured-box {
        width: 100%;
        margin-bottom: 34px;
    }
    #featured-boxes {
        padding-bottom: 0px !important;
    }
}


/* Media Query Min 768px
   ========================================================================== */
@media screen and (min-width: 768px) {
    .blog .post-page-content p {
        padding: 0;
    }
    #main-navigation .wrapped-content {
        padding-left: 0;
    }
    .main-navigation-search {
        right: 0;
    }
    #main-navigation .navigation-socials {
        right: 35px;
    }

    .latest-posts-ticker .owl-nav .owl-prev {
        left: -40px !important; 
    }
    .latest-posts-ticker .owl-nav .owl-next {
        right: -40px !important; 
    }
}


/*--------------------------------------------------------------
Latest Posts Ticker
--------------------------------------------------------------*/
.latest-posts-ticker {
    background: #fff;
    padding: 20px 24px;
    margin-top: 40px;
    border-radius: 80px;
}

.latest-posts-ticker .item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 50px;
}

.latest-posts-ticker .item a {
    background: #f4f1ec;
    width: 100%;
    border-radius: 50px;
}

.latest-posts-ticker .post-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.latest-posts-ticker .post-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin-right: 15px;
    border-radius: 50px;
    border: 5px solid #fff;
}

.latest-posts-ticker .post-thumbnail img {
    width: 100%;
    height: auto;
}

.latest-posts-ticker .post-thumbnail .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #ddd; 
}

.latest-posts-ticker .post-details {
    display: flex;
    align-items: center;
}

.latest-posts-ticker .post-title {
    font-size: 18px;
    line-height: 30px !important;
    margin: 0;
    color: #333;
    display: inline-block;
    max-height: 100px;
    overflow: hidden;
    padding: 0 10px 0 0;
    font-family: 'Lato', sans-serif;
}

.latest-posts-ticker .owl-nav {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Allows clicks to pass through empty space */
}

.latest-posts-ticker .owl-nav button {
    background: none !important;
    border: none;
    font-size: 60px !important; /* Increase the size of the arrows */
    pointer-events: all;
    color: #777 !important; /* Change to your preferred color */
    cursor: pointer;
    padding: 10px; /* Add padding to increase clickable area */
}

.latest-posts-ticker .owl-nav button:hover {
    color: #000 !important; /* Optional: change color on hover */
}

.latest-posts-ticker .owl-nav .owl-prev {
    position: absolute;
    left: 0px; 
}

.latest-posts-ticker .owl-nav .owl-next {
    position: absolute;
    right: 0px; 
}

.main-content {
    border-radius: 30px;
    margin-bottom: 40px;
}

.graceful-small-image-box {
    background-color: #f2f2f2;
    background-position: center;
    background-size: cover;
    float: left;
    height: 70px;
    margin-right: 12px;
    width: 70px;
    border: 5px solid #ffffff;
    border-radius: 35px;
}

.graceful-recent-image-box {
    background: #f4f1ec;
    clear: both;
    display: block;
    margin-top: 25px;
    margin-bottom: 15px;
    min-height: unset;
    height: 70px;
    border-radius: 35px;
}


.graceful-widget .graceful-recent-image-box a {
    color: #3a3a3a;
    display: block;
    font-size: 13px;
    font-weight: 500;
    height: 55px;
    line-height: 22px;
    margin-top: 3px;
    overflow: hidden;
    vertical-align: top;
    width: 185px;
    padding: 12px 11px 0 0px;
}


/* Custom Styles for Blog Layout */

/* --- Custom placeholder hero styles (you can replace) --- */
.graceful-hero-wrap {
  margin: 0 auto;
}

.graceful-hero {
  margin: 24px auto; 
  margin-top: 40px;
  padding: 42px 26px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 23px;
  background-color: rgba(0,0,0,.03);
  background-image: url('https://spaceofmuse.com/wp-content/uploads/2026/02/staging__HeroImage.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.graceful-hero__inner {
  width: 100%;
  max-width: 860px;
  padding: 18px 10px;
}

.graceful-hero__kicker {
  font-style: italic;
  margin: 0 0 10px;
  letter-spacing: .01em;
  font-weight: 600;
  font-size: 15px;
}

.graceful-hero .graceful-hero__title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700; 
  font-family: 'Lato', sans-serif;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.graceful-hero__actions {
  margin: 18px 0 0;
}
.page-title {
  margin-top:30px;
}
.graceful-hero__button {
  display: inline-block;
  padding: 12px 18px;
  border: 2px solid #000;
  border-radius: 12px;
  background: transparent;
  color: #000;
  text-decoration: none;
  line-height: 1;
  font-weight: 500;
}

.graceful-hero__button:hover {
  background: rgba(255,255,255,.35);
}

/* Responsive tweaks for hero */
@media (max-width: 768px) {
  .graceful-hero {
    min-height: 340px;
    padding: 34px 18px;
    border-radius: 0px;
  }

  .graceful-hero .graceful-hero__title {
    font-size: 34px;
  }

  .graceful-hero__kicker {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .graceful-hero {
    min-height: 300px;
    padding: 28px 14px;
    border-radius: 0px;
  }

  .graceful-hero .graceful-hero__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .graceful-hero__kicker {
    font-size: 13px;
  }
}

.content-column li {
    border-bottom: unset;
}

.content-post .post-card {
    margin-bottom: 30px;
    position: relative;
}

.content-post .post-card-inner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.content-post .site-images {
    height: 300px;
    overflow: hidden;
    border-radius: 25px;
}

.content-post .site-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.content-post .post-content {
    background: #fff;
    text-align: left;
    padding: 25px;
    border-radius: 20px;
    margin: -100px 20px 30px 0px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .10196078431372549);
    border-left: 1px solid #eeeeee;
}

.content-post .post-categories a {
    background-color: #b3a58a;
    color: #ffffff !important;
    padding: 0 15px 1px;
    border-radius: 20px;
    margin-right: 8px;
    font-size: 11px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.content-post .post-title {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.content-post .post-page-content {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    padding-top: 0;
}

.content-post .post-page-content p {
    margin: 0;
}

.blog .post-header {
    text-align: left;
}

#graceful-post-slider .slide-item {
    border-radius: 30px;
}

.graceful-wrap-container {
    border-radius: 30px;
}

#graceful-post-slider .owl-nav {
    -webkit-border-bottom-right-radius: 30px;
    -webkit-border-bottom-left-radius: 30px;
    -moz-border-radius-bottomright: 30px;
    -moz-border-radius-bottomleft: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.post-header-inner {
    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.site-images img {
    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.single .content-wrap {
    -webkit-border-top-left-radius: 30px;
    -webkit-border-top-right-radius: 30px;
    -moz-border-radius-topleft: 30px;
    -moz-border-radius-topright: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.graceful-halo-category-title {
    margin-bottom: 20px;
    border-bottom: 7px solid #b3a58a;
    display: inline-block;
    padding-bottom: 1px; 
}
 
.post-page-content .wp-block-heading {
    text-align: start;
}


/* 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, 30px);
} 

.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;
  }
}

