/*
Theme Name: CBDCoupons Staging Child
Version: 1.0.21

Template: woodmart
Text Domain: cbdcoupons-staging-child
*/

.cdbc-single{max-width:1120px;margin:0 auto;padding:48px 20px 72px;color:#26332c}
.cdbc-single h1,.cdbc-single h2,.cdbc-single h3{color:#163e2b;line-height:1.2}
.cdbc-single h1{font-size:clamp(2rem,4vw,3.25rem);margin:0 0 16px}
.cdbc-single h2{font-size:clamp(1.45rem,2.5vw,2rem);margin:0 0 20px}
.cdbc-meta{color:#69756e;font-size:.94rem;margin-bottom:24px}
.cdbc-article{font-size:1.05rem;line-height:1.8}
.cdbc-article img{max-width:100%;height:auto;border-radius:12px}
.cdbc-featured{margin:28px 0 36px}
.cdbc-featured img{display:block;width:100%;height:auto;border-radius:14px}
.cdbc-navigation,.cdbc-related{border-top:1px solid #e5ebe7;margin-top:42px;padding-top:28px}
.cdbc-navigation{display:flex;justify-content:space-between;gap:24px}
.cdbc-navigation a,.cdbc-related a{color:#17683f;text-decoration:none;font-weight:600}
.cdbc-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.cdbc-related-card{background:#f6f8f6;border:1px solid #e5ebe7;border-radius:12px;padding:18px}
.cdbc-brand-hero{display:grid;grid-template-columns:190px 1fr;gap:32px;align-items:center;background:#f5f8f5;border-radius:18px;padding:32px;margin-bottom:34px}
.cdbc-brand-logo{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e6ece8;border-radius:14px;min-height:150px;padding:18px}
.cdbc-brand-logo img{display:block;max-width:100%;max-height:150px;object-fit:contain}
.cdbc-brand-copy p{line-height:1.7;margin:0 0 16px}
.cdbc-rating{color:#a87400;font-weight:700;margin:0 0 14px}
.cdbc-updated{color:#69756e;font-size:.9rem;margin:0 0 14px}
.cdbc-button{display:inline-block;background:#17683f;color:#fff!important;padding:12px 20px;border-radius:7px;text-decoration:none;font-weight:700}
.cdbc-disclosure{font-size:.85rem;color:#69756e;margin-top:18px}
.cdbc-coupon-list{display:grid;gap:16px}
.cdbc-coupon{display:grid;grid-template-columns:minmax(110px,160px) 1fr auto;gap:22px;align-items:center;border:1px solid #e3eae5;border-radius:14px;padding:22px;background:#fff}
.cdbc-discount{color:#17683f;font-size:1.35rem;font-weight:800;text-align:center}
.cdbc-coupon h3{font-size:1.12rem;margin:0 0 8px}
.cdbc-coupon p{margin:0 0 8px;line-height:1.55}
.cdbc-code{display:inline-block;background:#f3f7f4;border:1px dashed #7b9a87;border-radius:5px;padding:5px 9px;font-family:monospace;font-weight:700;letter-spacing:.04em}
.cdbc-expiry{font-size:.85rem;color:#69756e}
.cdbc-empty{background:#f6f8f6;border-radius:12px;padding:22px;color:#56645b}
@media(max-width:680px){.cdbc-single{padding:30px 16px 48px}.cdbc-brand-hero{grid-template-columns:1fr;padding:22px;gap:20px}.cdbc-brand-logo{min-height:110px}.cdbc-coupon{grid-template-columns:1fr;gap:10px}.cdbc-discount{text-align:left}.cdbc-navigation{flex-direction:column}}
/* Keep the replacement blog template full-width without Elementor Pro layout CSS. */body.single-post .cdbc-blog-single{box-sizing:border-box;width:min(1120px,calc(100vw - 40px));max-width:1120px}
.cdbc-blog-single{width:calc(100vw - 40px)!important;max-width:1120px!important}
body.single-post main.cdbc-blog-single.cdbc-single{box-sizing:border-box;width:calc(100vw - 40px)!important;max-width:1120px!important;grid-column:1/-1}

/* Let the replacement shop template span WoodMart's full 12-column content grid. */
body.single-cbd-coupons .wd-content-layout>.cdbc-brand-single{grid-column:1/-1;width:min(1120px,100%);max-width:1120px;justify-self:center}


/* Blog index cards on the static Blogs page. */
.cdbc-blog-index{box-sizing:border-box;width:min(1120px,100%);margin:0 auto;padding:42px 20px 68px;color:#26332c}
.cdbc-blog-index h1{color:#163e2b;font-size:clamp(2rem,4vw,3rem);line-height:1.2;margin:0 0 28px}
.cdbc-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cdbc-blog-card{overflow:hidden;border:1px solid #e3eae5;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(22,62,43,.06)}
.cdbc-blog-card-image{display:block;aspect-ratio:16/9;background:#f3f6f3}
.cdbc-blog-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.cdbc-blog-card-copy{padding:22px}
.cdbc-blog-card-copy h2{font-size:1.3rem;line-height:1.3;margin:0 0 12px}
.cdbc-blog-card-copy h2 a{color:#163e2b;text-decoration:none}
.cdbc-blog-card-copy>p:not(.cdbc-meta){line-height:1.65;color:#56645b}
.cdbc-blog-read-more{color:#17683f;font-weight:700;text-decoration:none}
.cdbc-blog-pagination{margin-top:32px;text-align:center}
@media(max-width:680px){.cdbc-blog-index{padding:30px 16px 48px}.cdbc-blog-grid{grid-template-columns:1fr}.cdbc-blog-card-copy{padding:18px}}

/* Let the new Shops post type use the same full-width content area on mobile. */
body.single-shops .wd-content-layout > .cdbc-brand-single,
body.single-shops main.cdbc-brand-single {
  box-sizing: border-box;
  grid-column: 1 / -1;
  width: min(1120px, calc(100vw - 32px));
  max-width: 1120px;
  justify-self: center;
}


/* Remove the redundant WoodMart sidebar trigger from the Shop mobile layout. */
body.single-shops .wd-sidebar-opener { display: none !important; }

/* Blog posts use the same right-hand sidebar layout as Write for Us. */
body.single-post main.cdbc-blog-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start;box-sizing:border-box;width:min(1120px,calc(100vw - 40px))!important;max-width:1120px!important;margin-inline:auto}
body.single-post .cdbc-blog-content{min-width:0}
body.single-post .cdbc-blog-sidebar{min-width:0}
@media(max-width:900px){body.single-post main.cdbc-blog-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}}
@media(max-width:680px){body.single-post main.cdbc-blog-layout{grid-template-columns:1fr;gap:32px;width:calc(100vw - 32px)!important}.cdbc-blog-sidebar{width:100%}}

/* Compact stacked posts on the Blogs overview only. */
body.page-id-36373 .wd-post{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
body.page-id-36373 .wd-post .wd-post-thumb,body.page-id-36373 .wd-post .post-img-wrapp{width:190px!important;max-width:190px!important;min-width:0!important;flex:0 0 190px!important;margin:0!important}
body.page-id-36373 .wd-post .wd-post-thumb img,body.page-id-36373 .wd-post .post-img-wrapp img{display:block;width:190px!important;height:128px!important;object-fit:cover!important}
body.page-id-36373 .wd-post .wd-post-title,body.page-id-36373 .wd-post .wd-entities-title{font-size:19px!important;line-height:1.35!important}
body.page-id-36373 .wd-post .wd-post-excerpt,body.page-id-36373 .wd-post .wd-entry-content,body.page-id-36373 .wd-post .wd-post-meta{font-size:14px!important;line-height:1.5!important}
@media(max-width:680px){body.page-id-36373 .wd-post{grid-template-columns:112px minmax(0,1fr)!important;gap:14px!important}body.page-id-36373 .wd-post .wd-post-thumb,body.page-id-36373 .wd-post .post-img-wrapp{width:112px!important;max-width:112px!important;flex-basis:112px!important}body.page-id-36373 .wd-post .wd-post-thumb img,body.page-id-36373 .wd-post .post-img-wrapp img{width:112px!important;height:84px!important}}
/* Compact stacked post rows on the Blogs overview only. */
body.page-id-36373 [id^="post-"],body.page-id-36373 .post-36449,body.page-id-36373 .post-36371,body.page-id-36373 .post-36369{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
body.page-id-36373 [id^="post-"] .wd-post-thumb,body.page-id-36373 [id^="post-"] .post-img-wrapp,body.page-id-36373 .post-36449 .wd-post-thumb,body.page-id-36373 .post-36371 .wd-post-thumb,body.page-id-36373 .post-36369 .wd-post-thumb{width:190px!important;max-width:190px!important;min-width:0!important;flex:0 0 190px!important;margin:0!important}
body.page-id-36373 [id^="post-"] img.wp-post-image,body.page-id-36373 [id^="post-"] .wd-post-thumb img,body.page-id-36373 [id^="post-"] .post-img-wrapp img,body.page-id-36373 .post-36449 img.wp-post-image,body.page-id-36373 .post-36371 img.wp-post-image,body.page-id-36373 .post-36369 img.wp-post-image{display:block;width:190px!important;max-width:100%!important;height:128px!important;object-fit:cover!important}
body.page-id-36373 [id^="post-"] h2,body.page-id-36373 [id^="post-"] h3,body.page-id-36373 [id^="post-"] .wd-entities-title{font-size:19px!important;line-height:1.35!important}
body.page-id-36373 [id^="post-"] p,body.page-id-36373 [id^="post-"] .wd-post-excerpt,body.page-id-36373 [id^="post-"] .wd-entry-content,body.page-id-36373 [id^="post-"] .wd-post-meta{font-size:14px!important;line-height:1.5!important}
@media(max-width:680px){body.page-id-36373 [id^="post-"],body.page-id-36373 .post-36449,body.page-id-36373 .post-36371,body.page-id-36373 .post-36369{grid-template-columns:112px minmax(0,1fr)!important;gap:14px!important}body.page-id-36373 [id^="post-"] .wd-post-thumb,body.page-id-36373 [id^="post-"] .post-img-wrapp{width:112px!important;max-width:112px!important;flex-basis:112px!important}body.page-id-36373 [id^="post-"] img.wp-post-image,body.page-id-36373 [id^="post-"] .wd-post-thumb img,body.page-id-36373 [id^="post-"] .post-img-wrapp img{width:112px!important;height:84px!important}}
/* Compact WoodMart post rows on the Blogs page. */
body.page-id-36373 article,body.page-id-36373 .blog-design-list article{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
body.page-id-36373 .post-img-wrapp,body.page-id-36373 .wd-post-thumb{width:190px!important;max-width:190px!important;min-width:0!important;flex:0 0 190px!important;margin:0!important}
body.page-id-36373 .post-img-wrapp img,body.page-id-36373 .wd-post-thumb img,body.page-id-36373 article img.wp-post-image{display:block;width:190px!important;max-width:100%!important;height:128px!important;object-fit:cover!important}
body.page-id-36373 .entry-title,body.page-id-36373 .wd-entities-title,body.page-id-36373 article h2,body.page-id-36373 article h3{font-size:19px!important;line-height:1.35!important}
body.page-id-36373 .entry-content,body.page-id-36373 .post-excerpt,body.page-id-36373 .wd-post-excerpt,body.page-id-36373 .post-meta,body.page-id-36373 article p{font-size:14px!important;line-height:1.5!important}
@media(max-width:680px){body.page-id-36373 article,body.page-id-36373 .blog-design-list article{grid-template-columns:112px minmax(0,1fr)!important;gap:14px!important}body.page-id-36373 .post-img-wrapp,body.page-id-36373 .wd-post-thumb{width:112px!important;max-width:112px!important;flex-basis:112px!important}body.page-id-36373 .post-img-wrapp img,body.page-id-36373 .wd-post-thumb img,body.page-id-36373 article img.wp-post-image{width:112px!important;height:84px!important}}

/* Center rating stars in brand cards and rating blocks. */
.cdbc-rating-stars {
    display: block !important;
    width: max-content !important;
    margin: 8px auto !important;
    text-align: center !important;
    justify-self: center !important;
}


/* Keep affiliate disclosure in the site footer, not beside brand buttons. */
.cdbc-disclosure {
    display: none !important;
}


/* Remove the BLOGS navigation link from the site footer only. */
footer a[href*="/blogs/"], .footer-container a[href*="/blogs/"] { display: none !important; }


/* Hide the BLOGS footer link (the footer uses a custom navigation wrapper). */
a[href*="/blogs/"] { display: none !important; }


/* Desktop header: two left-aligned rows of six links and a reserved info area. */
@media (min-width: 1025px) {
  .whb-header .whb-general-header-inner {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) 140px;
    column-gap: 20px;
    align-items: center;
    height: 104px !important;
    min-height: 104px;
  }
  .whb-header .whb-general-header-inner > .whb-visible-lg {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  .whb-header .whb-general-header-inner > .whb-col-left .wd-logo img {
    max-width: 100% !important;
  }
  .whb-header .whb-general-header-inner .wd-header-main-nav {
    width: 100%;
    text-align: left;
  }
  .whb-header .whb-general-header-inner .wd-nav-main {
    display: grid !important;
    grid-template-columns: repeat(6, max-content);
    grid-auto-flow: row;
    justify-content: start !important;
    align-items: center;
    gap: 0 12px;
    margin: 0 !important;
    padding: 0;
    text-align: left;
  }
  .whb-header .whb-general-header-inner .wd-nav-main > li {
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start;
  }
  .whb-header .whb-general-header-inner .wd-nav-main > li > a {
    justify-content: flex-start;
    height: 38px;
    padding: 0;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
  }
  /* Intentionally empty until the Stay In Touch newsletter content is supplied. */
  .whb-header .whb-general-header-inner > .whb-col-right {
    display: flex !important;
    box-sizing: border-box;
    align-self: center;
    height: 64px;
    border-left: 1px solid #c8cec9;
    padding-left: 20px;
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .whb-header .whb-general-header-inner {
    grid-template-columns: 180px minmax(0, 1fr) 100px;
    column-gap: 16px;
  }
  .whb-header .whb-general-header-inner .wd-nav-main { column-gap: 8px; }
  .whb-header .whb-general-header-inner .wd-nav-main > li > a { font-size: 13px; }
}
@media (min-width: 1440px) {
  .whb-header .whb-general-header-inner {
    grid-template-columns: 250px minmax(0, 1fr) 200px;
    column-gap: 24px;
  }
  .whb-header .whb-general-header-inner .wd-nav-main { column-gap: 16px; }
  .whb-header .whb-general-header-inner .wd-nav-main > li > a { font-size: 16px; }
}

/* Category guide: keep all offer text while bringing listings into the first viewport. */
@media (min-width: 821px) {
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-offer { padding: 8px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-offer h2 { font-size: 15px; margin-bottom: 3px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-ad-label { margin: -4px 0 4px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-slide:not([hidden]) { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 7px; align-items: start; text-align: left; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-art { grid-column: 1; grid-row: 1 / span 2; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-art img { width: 58px; height: 44px; object-fit: contain; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-brand { grid-column: 2; margin: 0; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-slide h3 { grid-column: 2; font-size: 14px; line-height: 1.2; margin: 0; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-copy { grid-column: 1 / -1; font-size: 11px; line-height: 1.3; margin: 3px 0 5px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-button { grid-column: 1 / -1; justify-self: center; min-height: 30px; padding: 5px 12px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-controls { margin-top: 5px; }
  body.cbdus-category-extended-ready .cbdus-category-hero-offer .cbdus-special-disclosure { font-size: 10px; line-height: 1.2; margin-top: 4px; }
}

/* 2026-10-24: category offers occupy the full editorial width after removal of Special Offer. */
.cbdus-category-sections .cbdus-featured-layout { display:block !important; width:100% !important; max-width:950px !important; margin-left:auto !important; margin-right:auto !important; }
.cbdus-category-sections .cbdus-featured-coupons { width:100% !important; max-width:none !important; }
@media (min-width:1025px) {
  .cbdus-category-sections .cbdus-featured-coupons .cbdus-offer-list { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px 14px !important; align-items:stretch; }
  .cbdus-category-sections .cbdus-featured-coupons .cbdus-offer-row { grid-template-columns:55px 88px minmax(0,1fr) 90px !important; gap:9px !important; padding:8px 10px !important; font-size:12px !important; }
  .cbdus-category-sections .cbdus-featured-coupons .cbdus-offer-benefit { font-size:12px !important; }
  .cbdus-category-sections .cbdus-featured-coupons .cbdus-offer-brand { font-size:10px !important; }
}

/* Keep category listings close to the editorial intro on desktop. */
@media (min-width:1025px) { body.page .cbdus-category-sections { margin-top:-12px !important; } }

/* Let partner pages without a logo use the available hero width. */
.cdbc-brand-hero > .cdbc-brand-copy:only-child { grid-column:1 / -1; }

/* Three-row main navigation: first column Offers by State, Coupons, Brands. */
@media(min-width:1025px){
 .whb-header .whb-general-header-inner{height:auto!important;min-height:126px!important;padding-top:9px;padding-bottom:9px}
 .whb-header .whb-general-header-inner .wd-nav-main{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(34px,auto))!important;grid-auto-flow:column!important;gap:0 14px!important;align-items:center!important}
 .whb-header .whb-general-header-inner .wd-nav-main>li{min-width:0;width:100%;margin:0!important;align-self:stretch}
 .whb-header .whb-general-header-inner .wd-nav-main>li>a{height:100%!important;min-height:34px!important;white-space:normal!important;font-size:13px!important;line-height:1.25!important;padding:5px 0!important;align-items:center}
 .whb-header .whb-general-header-inner .wd-nav-main>li:nth-child(-n+3)>a{color:#315c3f;font-weight:700}
}
@media(min-width:1025px) and (max-width:1200px){.whb-header .whb-general-header-inner .wd-nav-main{gap:0 9px!important}.whb-header .whb-general-header-inner .wd-nav-main>li>a{font-size:12px!important}}
@media(min-width:1440px){.whb-header .whb-general-header-inner .wd-nav-main>li>a{font-size:14px!important}}
/* End three-row main navigation. */

@media(min-width:1025px){.whb-header .whb-general-header-inner .wd-nav-main>li.cbdus-latest-featured-nav{width:140px!important;max-width:140px!important}.whb-header .whb-general-header-inner .wd-nav-main>li.cbdus-latest-featured-nav>a{width:100%!important;height:auto!important;min-height:64px!important;padding:10px!important}}

/* Compact spacing for the three-row desktop menu. */
@media(min-width:1025px){.whb-header .whb-general-header-inner{min-height:104px!important;padding-top:7px;padding-bottom:7px}.whb-header .whb-general-header-inner .wd-nav-main{grid-template-rows:repeat(3,minmax(28px,auto))!important;row-gap:0!important}.whb-header .whb-general-header-inner .wd-nav-main>li:not(.cbdus-latest-featured-nav)>a{min-height:28px!important;padding:3px 0!important}}

/* Tighter spacing between homepage statistics, state explorer and featured coupons. */
body.home .cbdus-home-inner{padding-top:16px!important}
body.home .cbdus-state-explorer-promo{margin-bottom:16px!important}

/* Give the state explorer thumbnail a clear frame and stronger contrast. */
.cbdus-state-explorer-promo>div{grid-template-columns:200px minmax(0,1fr)}
.cbdus-state-explorer-promo .cbdus-state-preview-link{background:#fff;padding:7px;border:2px solid #55734b;box-shadow:0 3px 10px rgba(36,73,50,.17);border-radius:10px}
.cbdus-state-preview-link img{filter:contrast(1.6) saturate(1.35) brightness(.9);border-radius:4px}
@media(max-width:700px){.cbdus-state-explorer-promo>div{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:380px){.cbdus-state-explorer-promo>div{grid-template-columns:110px minmax(0,1fr)}}

/* Distinguish the membership guide while keeping the compact menu rows. */
.cbdus-memberships-nav > a,
.whb-header .wd-nav-main > li.cbdus-memberships-nav > a {
  box-sizing:border-box;
  background:#e7f0e1!important;
  color:#244c32!important;
  border:1px solid #b8cdb0!important;
  border-radius:4px;
  font-weight:700!important;
}
.cbdus-memberships-nav > a:hover,
.whb-header .wd-nav-main > li.cbdus-memberships-nav > a:hover {background:#d6e6cd!important;color:#173f29!important}
.cbdus-memberships-nav > a:focus-visible {outline:2px solid #315c3f;outline-offset:2px}
@media(min-width:1025px){
 .whb-header .whb-general-header-inner .wd-nav-main > li.cbdus-memberships-nav:not(.cbdus-latest-featured-nav) > a {padding:3px 8px!important}
}

/* Center the News & Offers label within its desktop menu button. */
@media (min-width:1025px){
 .whb-header .whb-general-header-inner .wd-nav-main>li.cbdus-latest-featured-nav>a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
}

/* Requested October 27, 2026: keep the site revision out of the public footer. */
footer.wd-footer .cbdus-site-version{display:none!important}
