/*
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.5);
  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;
  }
  .latest-posts-ticker .owl-nav .owl-prev {
    left: 45px !important;
    bottom: 63px !important;
  }
  .latest-posts-ticker .owl-nav .owl-next {
    right: 45px !important;
    bottom: 63px !important;
  }
}

@media screen and (max-width: 480px) {
  #featured-boxes .featured-box {
    width: 100%;
    margin-bottom: 34px;
  }
  #featured-boxes {
    padding-bottom: 0px !important;
  }
  .latest-posts-ticker .owl-nav .owl-prev {
    left: 25px !important;
    bottom: 63px !important;
  }
  .latest-posts-ticker .owl-nav .owl-next {
    right: 25px !important;
    bottom: 63px !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
--------------------------------------------------------------*/
.post-ticker-section {
  position: relative;
  background: #fff;
  padding: 20px 24px;
  margin-top: 40px;
  border-radius: 80px;
}

/* The navigation belongs to the full white ticker panel, not just the slides. */
.post-ticker-section .latest-posts-ticker {
  position: static;
}

.post-ticker-section .lined-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  color: #003366;
  font-family: serif;
  font-size: 30px;
  line-height: 1.2;
}

.post-ticker-section .lined-heading::before,
.post-ticker-section .lined-heading::after {
  content: "";
  width: 40px;
  height: 2px;
  margin: 0 15px;
  background-color: #000;
  flex: 0 0 40px;
}

.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: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
  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;
  bottom: 0px;
  left: 0px;
}

.latest-posts-ticker .owl-nav .owl-next {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

@media screen and (max-width: 600px) {
  .post-ticker-section {
    padding: 16px 12px;
    border-radius: 40px;
  }

  .post-ticker-section .lined-heading {
    font-size: 22px;
  }

  .post-ticker-section .lined-heading::before,
  .post-ticker-section .lined-heading::after {
    width: 24px;
    margin: 0 10px;
    flex-basis: 24px;
  }
}

.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, 0.18);
  border-radius: 23px;
  background-color: rgba(0, 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: 0.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, 0.35);
}

/* Responsive tweaks for hero */
@media (max-width: 768px) {
  .graceful-hero {
    min-height: 340px;
    padding: 64px 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 / 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;
}

/* Inline links in post text: warm accent that matches the theme palette. */
.single-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button),
.blog .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button),
.archive .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button),
.search .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button) {
  color: #8f6748;
  font-weight: 600;
  text-decoration-color: rgba(143, 103, 72, 0.58) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
}

.single-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):visited,
.blog .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):visited,
.archive .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):visited,
.search .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):visited {
  color: #765f40;
}

.single-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):hover,
.single-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.blog .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):hover,
.blog .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.archive .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):hover,
.archive .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.search .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):hover,
.search .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible {
  color: #5f412b;
  text-decoration-color: currentColor !important;
}

.single-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.blog .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.archive .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible,
.search .content-post .post-page-content a:not(.wp-block-button__link):not(.ynm-post-promo__button):not(.ynm-post-promo-dna__button):focus-visible {
  outline: 2px solid #4f6c5b;
  outline-offset: 3px;
}

.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: 1140px) {
  .ynm-post-promo__media {
    display: none !important;
  }
}
@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;
  }
  #site-container #primary {
    margin-top: -40px;
  }

  .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;
  }
}

/* Homepage category shortcuts: carousel -> posts/sidebar transition. */
.graceful-home-category-navigation {
  display: grid;
  grid-template-columns:
    minmax(16px, 1fr) minmax(158px, 190px) 20px minmax(158px, 190px)
    minmax(16px, 1fr);
  align-items: center;
  column-gap: 10px;
  width: min(100% - 74px, 1360px);
  margin: 20px auto -19px;
}

.graceful-home-category-navigation__line {
  height: 1px;
  background: #9c9487;
}

.graceful-home-category-navigation__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #b8aa90;
  border-radius: 999px;
  padding: 8px 17px;
  color: #97866d;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.graceful-home-category-navigation__link--primary {
  border-color: #b8aa90;
  background: #b8aa90;
  color: #ffffff;
}

.graceful-home-category-navigation__link--primary:hover,
.graceful-home-category-navigation__link--primary:focus-visible {
  border-color: #96866a;
  background: #96866a;
  color: #ffffff;
  transform: translateY(-1px);
}

.graceful-home-category-navigation__link--secondary:hover,
.graceful-home-category-navigation__link--secondary:focus-visible {
  border-color: #97866d;
  background: #f8f5ef;
  color: #765f40;
  transform: translateY(-1px);
}

.graceful-home-category-navigation__link:focus-visible {
  outline: 2px solid #4f6c5b;
  outline-offset: 3px;
}

.graceful-home-category-navigation__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.graceful-home-category-navigation__home img {
  display: block;
  width: 20px;
  height: 20px;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 620px) {
  .graceful-home-category-navigation {
    grid-template-columns:
      minmax(0, 1fr) minmax(118px, 1fr) 18px minmax(118px, 1fr)
      minmax(0, 1fr);
    column-gap: 7px;
    width: calc(100% - 28px);
    margin-top: 20px;
    margin-bottom: -19px;
  }

  .graceful-home-category-navigation__link {
    min-height: 34px;
    padding: 7px 8px;
    font-size: clamp(10px, 3vw, 12px);
    white-space: nowrap;
  }

  .graceful-home-category-navigation__home img {
    width: 16px;
    height: 16px;
  }
}
 @media (max-width: 540px) {
  .graceful-home-category-navigation__link {
    white-space: wrap;
  }
}
@media (max-width: 390px) {
  .graceful-home-category-navigation {
    grid-template-columns:
      minmax(0, 1fr) minmax(112px, 1fr) 16px minmax(112px, 1fr)
      minmax(0, 1fr);
    column-gap: 5px;
    width: calc(100% - 18px);
  }

  .graceful-home-category-navigation__link {
    min-height: 32px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
    white-space: nowrap;
  }
}

/* Homepage Pinterest profile call-to-action. */
.graceful-pinterest-follow {
  position: relative;
  width: min(100% - 74px, 1160px);
  min-height: 236px;
  margin: 0 auto 40px;
  overflow: hidden;
  /* border: 5px solid #ffffff; */
  border-radius: 32px;
  /* background: #c5a384; */
}

.graceful-pinterest-follow__background,
.graceful-pinterest-follow__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.graceful-pinterest-follow__background img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.graceful-pinterest-follow__card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(610px, calc(100% - 170px));
  min-height: 150px;
  margin: 40px auto;
  border: 2px solid #756754;
  border-radius: 28px;
  padding: 22px 28px 22px 82px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(37, 27, 19, 0.2);
}

.graceful-pinterest-follow__logo {
  position: absolute;
  top: 50%;
  border: 5px solid white;
  border-radius: 25px;
  left: -47px;
  width: 111px;
  height: 111px;
  transform: translateY(-50%);
}

.graceful-pinterest-follow__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.graceful-pinterest-follow__content {
  min-width: 0;
}

.graceful-pinterest-follow__eyebrow {
  margin: 0 0 5px;
  color: #a17655;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.graceful-pinterest-follow h2 {
  margin: 0;
  color: #30271f;
  font-family: "Lato", sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.13;
}

.graceful-pinterest-follow__description {
  max-width: 430px;
  margin: 7px 0 14px;
  color: #655b51;
  font-size: 13px;
  line-height: 1.4;
}

.graceful-pinterest-follow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 14px;
  background: #b18d6c;
  color: #ffffff !important;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.graceful-pinterest-follow__button:hover,
.graceful-pinterest-follow__button:focus-visible {
  background: #8f6748;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.graceful-pinterest-follow__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .graceful-pinterest-follow {
    width: calc(100% - 28px);
    min-height: 245px;
    margin-bottom: 28px;
    border-width: 4px;
    border-radius: 24px;
  }

  .graceful-pinterest-follow__card {
    width: calc(100% - 42px);
    min-height: 166px;
    margin: 36px auto;
    border-radius: 24px;
    padding: 22px 20px 22px 98px;
  }

  .graceful-pinterest-follow__logo {
    left: -18px;
    width: 86px;
    height: 86px;
  }
}

@media (max-width: 480px) {
  .graceful-pinterest-follow {
    min-height: 260px;
    padding-top: 40px;
    border-radius: 20px;
  }

  .graceful-pinterest-follow__background img {
    object-position: 50% center;
  }

  .graceful-pinterest-follow__card {
    align-items: flex-start;
    width: calc(100% - 24px);
    min-height: 0;
    margin: 44px auto;
    border-radius: 21px;
    padding: 70px 18px 20px;
    text-align: center;
  }

  .graceful-pinterest-follow__logo {
    top: -43px;
    left: 50%;
    width: 86px;
    height: 86px;
    transform: translateX(-50%);
  }

  .graceful-pinterest-follow__eyebrow {
    font-size: 10px;
  }

  .graceful-pinterest-follow h2 {
    font-size: 21px;
  }

  .graceful-pinterest-follow__description {
    margin: 7px auto 14px;
    font-size: 12px;
  }
}

/* Contact page template and Contact Form 7 styling. */
.graceful-contact-page {
  padding-bottom: 40px;
}

.graceful-contact-page__article {
  overflow: hidden;
  border: 1px solid #e4ddd2;
  border-radius: 28px;
  padding: clamp(25px, 4vw, 46px);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(69, 54, 37, 0.08);
}

.graceful-contact-page__header {
  max-width: 630px;
  margin-bottom: 29px;
}

.graceful-contact-page__eyebrow {
  margin: 0 0 8px;
  color: #a37b5c;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.graceful-contact-page__title {
  margin: 0;
  color: #30271f;
  font-family: "Lato", sans-serif;
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
}

.graceful-contact-page__intro {
  margin: 13px 0 0;
  color: #655b51;
  font-size: 15px;
  line-height: 1.65;
}

.graceful-contact-page__form {
  border: 1px solid #e2d8c8;
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
  background: #faf8f3;
}

.graceful-contact-page__form > :last-child,
.graceful-contact-page .wpcf7-form > :last-child {
  margin-bottom: 0;
}

.graceful-contact-page .wpcf7-form p {
  margin: 0 0 18px;
  color: #514638;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.graceful-contact-page .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.graceful-contact-page
  .wpcf7
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.graceful-contact-page .wpcf7 select,
.graceful-contact-page .wpcf7 textarea {
  display: block;
  width: 100%;
  border: 1px solid #d5c9b8;
  border-radius: 11px;
  padding: 12px 14px;
  background: #ffffff;
  color: #352c24;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.graceful-contact-page .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.graceful-contact-page .wpcf7 input:focus,
.graceful-contact-page .wpcf7 select:focus,
.graceful-contact-page .wpcf7 textarea:focus {
  border-color: #ad8b69;
  box-shadow: 0 0 0 3px rgba(173, 139, 105, 0.16);
}

.graceful-contact-page .wpcf7 input::placeholder,
.graceful-contact-page .wpcf7 textarea::placeholder {
  color: #998f84;
}

.graceful-contact-page .wpcf7 input[type="checkbox"],
.graceful-contact-page .wpcf7 input[type="radio"] {
  accent-color: #ad8b69;
}

.graceful-contact-page .wpcf7-list-item {
  margin: 0;
  color: #655b51;
  font-size: 12px;
  font-weight: 400;
}

.graceful-contact-page .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #ad8b69;
  border-radius: 999px;
  padding: 11px 22px;
  background: #ad8b69;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.graceful-contact-page .wpcf7 input[type="submit"]:hover,
.graceful-contact-page .wpcf7 input[type="submit"]:focus-visible {
  border-color: #8e6949;
  background: #8e6949;
  transform: translateY(-1px);
}

.graceful-contact-page .wpcf7 input[type="submit"]:focus-visible {
  outline: 2px solid #4f6c5b;
  outline-offset: 3px;
}

.graceful-contact-page .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #a94442;
  font-size: 12px;
  font-weight: 400;
}

.graceful-contact-page .wpcf7-response-output {
  margin: 18px 0 0;
  border: 1px solid #b5a185;
  border-radius: 10px;
  padding: 10px 12px;
  color: #514638;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .graceful-contact-page {
    padding-bottom: 28px;
  }

  .graceful-contact-page__article {
    border-radius: 22px;
    padding: 24px 18px;
  }

  .graceful-contact-page__form {
    border-radius: 16px;
    padding: 19px 15px;
  }

  .graceful-contact-page__intro {
    font-size: 14px;
  }

  .graceful-contact-page
    .wpcf7
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  .graceful-contact-page .wpcf7 select,
  .graceful-contact-page .wpcf7 textarea {
    padding: 11px 12px;
  }

  .graceful-contact-page .wpcf7 input[type="submit"] {
    width: 100%;
  }
}
