/*
Theme Name: SuperCoupons Fifteen Categories 2026
Description: Fifteen child theme with category archives and scoped single-post styling.
Template: fifteen
Version: 1.0.8
Text Domain: supercoupons-fifteen-categories-2026
*/
/* Keep the active site's background and header. The header is rendered by get_header(). */
body.category { background:#fcfcfc; }
body.category.custom-background { background-image:none; background-color:#fcfcfc; }
body.category #parallax-bg { display:block; }
/* Fifteen header.php opens an outer #content before category.php; the category template closes it empty. Hide that otherwise visible gray/padded spacer. */
body.category #page > #content { display:none !important; }
.sc-category-page { color:#183b30; font-family:Arial,'Alef Hebrew',sans-serif; }
.sc-category-hero { background:rgba(231,243,236,.88); max-width:1170px; margin:0 auto; padding:30px 0 32px; }
.sc-category-inner { max-width:1120px; margin:auto; padding:0 18px; }
.sc-category-breadcrumb { color:#4b9070; font-size:13px; font-weight:700; margin-bottom:16px; }
.sc-category-breadcrumb a { color:inherit; }
.sc-category-hero h1 { font-size:48px; font-weight:700; color:#123c30; margin:0 0 12px; line-height:1.22; }
.sc-category-description { font-size:17px; color:#567466; max-width:790px; }
.sc-category-children { margin-top:18px; display:flex; flex-wrap:wrap; gap:8px; }
.sc-category-children a { border:1px solid #bed9c7; border-radius:999px; padding:5px 12px; background:#fff; color:#25684e; }
.sc-category-body { max-width:1170px; margin:0 auto; padding:28px 0 54px; background:transparent; box-sizing:border-box; }
.sc-category-body > .container { max-width:100%; width:100%; box-sizing:border-box; }
.sc-category-body #primary-main { width:68%; min-width:0; box-sizing:border-box; }
.sc-category-body #secondary { width:32%; min-width:300px; max-width:100%; box-sizing:border-box; overflow-x:clip; }
.sc-category-body #secondary aside,.sc-category-body #secondary .widget { max-width:100%; box-sizing:border-box; }
.sc-category-body #secondary iframe,.sc-category-body #secondary ins.adsbygoogle { max-width:100%; }
.sc-category-body .sc-category-grid { padding-bottom:16px; }
.sc-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.sc-category-grid .sc-category-card { float:none !important; padding:0 !important; width:auto !important; margin:0 !important; outline:0 !important; background:#fff !important; border:1px solid #e4eee8; border-radius:16px; box-shadow:0 10px 30px rgba(26,49,35,.05); overflow:hidden; min-width:0; text-align:right !important; }
.sc-category-grid .sc-card-link { display:block; height:100%; color:#183b30 !important; text-decoration:none !important; text-shadow:none !important; }
.sc-category-grid .sc-card-link:hover,.sc-category-grid .sc-card-link:focus { color:#164d35 !important; box-shadow:0 6px 20px rgba(26,49,35,.12); }
.sc-card-image { display:block; width:100%; aspect-ratio: 1.6; overflow:hidden; background:#f0f3f1; }
.sc-category-grid .sc-card-image img { width:100%; height:100%; object-fit:cover; display:block; margin:0; }
.sc-card-copy { display:block; padding:17px 18px 20px; min-height:125px; }
.sc-card-pill { display:table; border-radius:999px; padding:5px 10px; background:#e8f5ee; color:#247c50; font-size:12px; font-weight:700; margin-bottom:12px; }
.sc-card-title { display:block; font-size:19px; font-weight:700; line-height:1.4; margin-bottom:9px; }
.sc-card-date { display:block; font-size:13px; color:#758579; }
.sc-category-ad { grid-column:1 / -1; }
.sc-category-grid .pagination { grid-column:1 / -1; }
@media(max-width:991px){.sc-category-body #primary-main { width:100%; }.sc-category-body #secondary { width:100%; min-width:0; }.sc-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }}
@media(max-width:650px){.sc-category-hero { padding:25px 0 30px; }.sc-category-hero h1 { font-size:34px; }.sc-category-description { font-size:15px; }.sc-category-body { padding:16px 16px 42px; }.sc-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.sc-card-copy { padding:12px; min-height:113px; }.sc-card-title { font-size:15px; }.sc-card-pill { font-size:11px; }.sc-card-image { aspect-ratio:1; }.sc-category-grid .sc-category-card { min-width:0; }.sc-category-body #secondary { margin-top:25px; }}

/* This site's active parent has custom Fifteen header options. In a child-theme
 * Customizer preview, parent theme mods are a different option namespace.
 * The PHP inheritance in functions.php restores those configured values.
 * Do not cover the parent header image with a white block. */
body.category #header-top { background:transparent !important; overflow:visible !important; }
body.category #masthead { background-color:transparent !important; overflow:visible !important; }
body.category #header-top .site-description,body.category #header-top #social-icons { display:block !important; visibility:visible !important; }
body.category #header-top .site-branding { background:rgba(255,255,255,.8); }
/* The active site's custom CSS paints #content with rgba(231,231,231,.8).
 * Keep that single translucent layer and suppress the nested gray background. */
body.category #content.sc-category-body { background:rgba(231,231,231,.8) !important; }
body.category #content.sc-category-body #secondary .widget { background:rgba(231,231,231,.8) !important; }
body.category #content.sc-category-body > .container,
body.category #content.sc-category-body #primary-main,
body.category #content.sc-category-body #main,
body.category #content.sc-category-body .content-container,
body.category #content.sc-category-body #secondary { background:transparent !important; }

/* v1.0.6: mirror the homepage .sc26-head section title treatment.
 * The homepage currently uses a pale green double-rule bar on mobile. */
.sc-category-hero { background:#fff; padding:24px 0 20px; }
.sc-category-breadcrumb { margin-bottom:12px; }
.sc-category-hero h1 {
  font-family:'Alef Hebrew',Helvetica,Arial,sans-serif !important;
  font-size:clamp(23px,2.8vw,32px) !important; font-weight:700 !important;
  line-height:1.2 !important; color:#143d30 !important;
  margin:0 0 18px; border-bottom:3px solid #18804a;
  padding:0 0 10px; background:transparent;
}
.sc-category-description { margin-top:0; }
@media(max-width:700px) {
  .sc-category-hero { padding:16px 0 18px; }
  .sc-category-hero h1 {
    font-size:23px !important; line-height:1.25 !important;
    color:#143d30 !important; background:#e8f4ea;
    border-top:3px solid #18804a; border-bottom:3px solid #18804a;
    border-radius:4px; padding:12px 16px; margin-bottom:16px;
  }
}

/* Single pages keep the parent's live styling; only the bottom update note is new. */
body.single .sc-single-updated {
  border-top:1px solid #bfd2c4; margin-top:24px; padding-top:12px;
  color:#4d675b; font-size:14px; line-height:1.6;
}

/* Single-post title matches the category heading; no home/sidebar selectors. */
body.single .single-entry-title {
  background:#fff!important;color:#143d30!important;
  font-family:'Alef Hebrew',Helvetica,Arial,sans-serif!important;
  font-size:clamp(23px,2.8vw,32px)!important;font-weight:700!important;
  line-height:1.3!important;text-align:right!important;
  border:0!important;border-bottom:3px solid #18804a!important;
  padding:20px 24px 16px!important;text-shadow:none!important;
}
@media(max-width:700px){body.single .single-entry-title{
  font-size:23px!important;line-height:1.35!important;background:#e8f4ea!important;
  border-top:3px solid #18804a!important;border-bottom:3px solid #18804a!important;
  border-radius:4px;padding:14px 18px!important;
}}
