/* Catalogue Pages only: same colours, type, hero and content width as the blog.
   The body class is added only to non-homepage Kadence Pages with a catalogue
   shortcode. Existing modal styles, scripts and explicit column counts remain. */
body.rh-catalogue-page{background:#F7F3EA;color:#24211D}
body.rh-catalogue-page #inner-wrap{background:#F7F3EA;color:#24211D;font-family:Karla,Arial,sans-serif}

body.rh-catalogue-page #inner-wrap .entry-hero .entry-hero-container-inner{padding:56px 0;background:#123D32;border-bottom:3px solid #B08A4A}
body.rh-catalogue-page #inner-wrap .entry-hero .hero-section-overlay{background:transparent;opacity:0}
body.rh-catalogue-page #inner-wrap .entry-hero .hero-container{max-width:1100px;padding-left:24px;padding-right:24px}
body.rh-catalogue-page #inner-wrap .entry-hero .entry-header{min-height:0;margin:0;padding:0;text-align:center}
body.rh-catalogue-page #inner-wrap .entry-hero h1{margin:0;color:#F7F3EA;font-family:Cormorant,Georgia,serif;font-size:clamp(42px,5.5vw,66px);font-weight:500;letter-spacing:0;line-height:1.12;text-transform:none;overflow-wrap:break-word}
body.rh-catalogue-page #inner-wrap .entry-hero .kadence-breadcrumbs,body.rh-catalogue-page #inner-wrap .entry-hero .kadence-breadcrumbs a{color:#F7F3EA}

body.rh-catalogue-page #primary{margin-top:48px;margin-bottom:60px}
body.rh-catalogue-page #primary>.content-container.site-container{max-width:1168px;padding-left:24px;padding-right:24px}
body.rh-catalogue-page #main>.content-wrap>article.single-entry{background:transparent;border:0;border-radius:0;box-shadow:none}
body.rh-catalogue-page #main>.content-wrap>article.single-entry>.entry-content-wrap{padding:0}
body.rh-catalogue-page #main>.content-wrap>article.single-entry>.entry-content-wrap>.entry-content{margin:0}
body.rh-catalogue-page #inner-wrap .rh-design-grid,body.rh-catalogue-page #inner-wrap .rh-categories-grid{width:100%;max-width:100%;gap:28px!important;margin:0!important;padding:0}

body.rh-catalogue-page #inner-wrap .rh-design-tile{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;min-width:0;width:100%;height:100%;aspect-ratio:auto;margin:0;padding:0;border:1px solid #DED4C1;border-top:2px solid #B08A4A;border-radius:3px;overflow:hidden;background:#FBF9F4;color:#123D32;font-family:Karla,Arial,sans-serif;font-weight:400;line-height:1.4;letter-spacing:0;text-align:left;text-transform:none;white-space:normal;box-shadow:0 3px 12px rgba(36,33,29,.035);transition:border-color .2s,box-shadow .2s}
body.rh-catalogue-page #inner-wrap .rh-design-tile:hover{background:#FBF9F4;color:#123D32;border-color:#B08A4A;box-shadow:0 8px 24px rgba(36,33,29,.08)}
/* Fixed frames fill edge to edge at every source-image ratio. Full photos are
   still available in the existing gallery; only the card preview is cropped. */
body.rh-catalogue-page #inner-wrap .rh-design-card-media{position:relative;display:block;flex:none;box-sizing:border-box;width:100%;aspect-ratio:4/5;overflow:hidden;background:#fff;border-bottom:1px solid #DED4C1}
body.rh-catalogue-page #inner-wrap .rh-design-card-media .rh-design-thumb{position:absolute;inset:0;display:block;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;margin:0;padding:0;object-fit:cover;object-position:center}
body.rh-catalogue-page #inner-wrap .rh-design-card-info{display:block;flex:none;min-width:0;margin:0;padding:10px 14px;background:#FBF9F4;text-align:center}
body.rh-catalogue-page #inner-wrap .rh-design-card-action{display:inline-block;margin:0;padding:0;color:#123D32;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.02em;text-transform:none}

body.rh-catalogue-page #inner-wrap .rh-category-card{display:flex;flex-direction:column;min-width:0;height:100%;margin:0;border:1px solid #DED4C1;border-top:2px solid #B08A4A;border-radius:3px;overflow:hidden;background:#FBF9F4;color:#123D32;text-align:left;text-decoration:none;box-shadow:0 3px 12px rgba(36,33,29,.035);transition:border-color .2s,box-shadow .2s}
body.rh-catalogue-page #inner-wrap .rh-category-card:hover{border-color:#B08A4A;box-shadow:0 8px 24px rgba(36,33,29,.08)}
body.rh-catalogue-page #inner-wrap .rh-category-image-wrap{flex:none;width:100%;aspect-ratio:1/1;background:#fff;border-bottom:1px solid #DED4C1}
body.rh-catalogue-page #inner-wrap .rh-category-name{display:block;flex:1 1 auto;margin:0;padding:24px 24px 12px;color:#123D32;font-family:Cormorant,Georgia,serif;font-size:32px;font-weight:500;line-height:1.15;overflow-wrap:break-word}
body.rh-catalogue-page #inner-wrap .rh-category-action{align-self:flex-start;display:block;margin:0 24px 24px;padding:8px 0;border-bottom:1px solid #B08A4A;color:#123D32;font-family:Karla,Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.6;letter-spacing:.07em;text-transform:uppercase}
body.rh-catalogue-page #inner-wrap .rh-category-card:focus-visible{outline:3px solid #B08A4A;outline-offset:3px}
body.rh-catalogue-page #inner-wrap .rh-catalogue-empty{padding:28px;margin:0;background:#FBF9F4;border:1px solid #DED4C1;border-top:2px solid #B08A4A;color:#4F493F;font-family:Karla,Arial,sans-serif;line-height:1.8}

@media(max-width:1024px){
  body.rh-catalogue-page #inner-wrap .rh-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rh-catalogue-page #inner-wrap .rh-design-grid,body.rh-catalogue-page #inner-wrap .rh-categories-grid{gap:22px!important}
}
@media(max-width:640px){
  body.rh-catalogue-page #inner-wrap .entry-hero .entry-hero-container-inner{padding:42px 0}
  body.rh-catalogue-page #inner-wrap .entry-hero .hero-container{padding-left:20px;padding-right:20px}
  body.rh-catalogue-page #primary{margin-top:30px;margin-bottom:40px}
  body.rh-catalogue-page #primary>.content-container.site-container{padding-left:20px;padding-right:20px}
  body.rh-catalogue-page #inner-wrap .rh-design-grid,body.rh-catalogue-page #inner-wrap .rh-categories-grid{gap:14px!important}
  body.rh-catalogue-page #inner-wrap .rh-design-card-info{padding:9px 10px}
  body.rh-catalogue-page #inner-wrap .rh-category-name{padding:18px 14px 8px;font-size:26px}
  body.rh-catalogue-page #inner-wrap .rh-category-action{margin:0 14px 18px;font-size:9px;letter-spacing:.03em}
}
@media(prefers-reduced-motion:reduce){
  body.rh-catalogue-page #inner-wrap .rh-category-card,body.rh-catalogue-page #inner-wrap .rh-design-tile{transition:none}
}
