/* Homepage 2026-10-21 — editorial carousels and taxonomy modules. */
.ci-hp-editorial{padding-bottom:64px}
.ci-hp-editorial-intro{padding:21px 0 16px}
.ci-hp-editorial-intro .ci-hp-overline{margin:0 0 7px}
.ci-hp-editorial-intro h1{font:700 clamp(25px,3vw,37px)/1.08 "Barlow Condensed","Arial Narrow",sans-serif;margin:0;letter-spacing:.01em;text-transform:uppercase}
.ci-hp-slider{border:1px solid #d8d7d0;background:#fff}
.ci-hp-slider-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#20251f;color:#fff;padding:10px 15px;border-bottom:3px solid #93845c}
.ci-hp-slider-heading .ci-hp-overline{color:#ded0a6;font-size:11px;line-height:1.3}
.ci-hp-slider-controls{display:flex;align-items:center;gap:8px}
.ci-hp-slider-controls button{width:34px;height:30px;display:flex;align-items:center;justify-content:center;background:#31392e;border:1px solid #697260;color:#fff;cursor:pointer;font-size:18px}
.ci-hp-slider-controls button:hover,.ci-hp-slider-controls button:focus-visible{background:#93845c;color:#fff}
.ci-hp-slider-indicator{font:700 10px/1.35 "Satoshi",Arial,sans-serif;letter-spacing:.1em;font-variant-numeric:tabular-nums;white-space:nowrap}
.ci-hp-slide{display:none;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:0;min-height:365px}
.ci-hp-slide:first-child{display:grid}
.ci-hp-slider.is-enhanced .ci-hp-slide{display:none}
.ci-hp-slider.is-enhanced .ci-hp-slide.is-active{display:grid}
.ci-hp-slide-image{display:block;position:relative;min-height:365px;background:#f0eee7;overflow:hidden}
.ci-hp-slide-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ci-hp-slide-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;background:#323a32;color:#aaa18b;letter-spacing:.08em;font:700 clamp(40px,4vw,64px)/.95 "Barlow Condensed","Arial Narrow",sans-serif}
.ci-hp-slide-text{display:flex;flex-direction:column;justify-content:center;align-items:start;min-width:0;padding:clamp(22px,3vw,40px)}
.ci-hp-slide-meta{font:700 11px/1.5 "Satoshi",Arial,sans-serif!important;color:#93845c;text-transform:uppercase;letter-spacing:.04em;margin:0 0 16px}
.ci-hp-slide-text h2{font:700 clamp(30px,3.8vw,53px)/1.05 "Barlow Condensed","Arial Narrow",sans-serif!important;margin:0 0 17px}
.ci-hp-slide-text h2 a{text-decoration:none;color:#242822}
.ci-hp-slide-text h2 a:hover{color:#93845c}
.ci-hp-slide-text>p:not(.ci-hp-slide-meta){font:14px/1.65 "Satoshi",Arial,sans-serif!important;color:#5e635a;margin:0 0 21px}
.ci-hp-slide-read{margin-top:4px;padding:11px 17px;border:1px solid #93845c;background:#93845c;color:#fff!important;font:700 12px/1.4 "Satoshi",Arial,sans-serif;text-decoration:none}
.ci-hp-slide-read:hover{background:#807150;color:#fff!important}
.ci-hp-slide-dots{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px;background:#f4f2eb;border-top:1px solid #d8d7d0}
.ci-hp-slide-dots button{cursor:pointer;width:28px;height:7px;padding:0;border:0;background:#c9c5bb;border-radius:0}
.ci-hp-slide-dots button.is-active{background:#93845c}
.ci-hp-slide-dots button:focus-visible{outline:2px solid #20251f;outline-offset:3px}
.ci-hp-category-section{margin-top:38px}
.ci-hp-news-section{margin-top:29px}
.ci-hp-news-section .ci-hp-heading{border-bottom-color:#93845c}
/* Give adjacent editorial sections the same heading scale. */
.ci-hp-editorial :is(.ci-hp-news-section .ci-hp-heading, .ci-next-events--home .ci-next-head) h2 {
    font: 700 31px/1.03 "Barlow Condensed", "Arial Narrow", sans-serif;
    letter-spacing: .02em;
}
.ci-hp-editorial .ci-next-events--home .ci-next-head small {
    font-weight: 800;
    letter-spacing: .12em;
}
.ci-hp-editorial .ci-next-events--home .ci-next-head > a {
    font-size: 11px;
}
.ci-hp-news-section .ci-blog-grid--grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ci-hp-category-section .ci-record-grid{margin:0}
.ci-hp-category-section .ci-blog-card .ci-blog-image{aspect-ratio:3/2}
.ci-hp-category-section .ci-blog-card h3{font:700 23px/1.1 "Barlow Condensed","Arial Narrow",sans-serif!important;margin:0 0 12px;min-height:0}
.ci-hp-news-section .ci-blog-card h3{font-size:22px!important}
.ci-hp-category-section .ci-blog-body{padding:13px 0 0}
.ci-hp-category-section .ci-blog-card .ci-blog-excerpt{font-size:12px;line-height:1.5}
.ci-hp-editorial-stats{margin-top:38px}
.ci-hp-category-section:last-child{padding-bottom:5px}
@media(max-width:1020px){
 .ci-hp-slide{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:315px}
 .ci-hp-slide-image{min-height:315px}
 .ci-hp-slide-text{padding:23px}
 .ci-hp-slide-text h2{font-size:clamp(29px,3.8vw,44px)!important}
 .ci-hp-news-section .ci-blog-grid--grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .ci-hp-editorial-intro{padding:20px 0 14px}
 .ci-hp-editorial-intro h1{font-size:29px}
 .ci-hp-slide{grid-template-columns:1fr;min-height:0}
 .ci-hp-slide-image{min-height:0;aspect-ratio:16/9}
 .ci-hp-slide-image img{height:100%}
 .ci-hp-slide-text{padding:22px}
 .ci-hp-slide-text h2{font-size:35px!important;margin-bottom:11px}
 .ci-hp-slide-meta{margin-bottom:10px}
 .ci-hp-slide-text>p:not(.ci-hp-slide-meta){margin-bottom:13px;font-size:13px!important}
 .ci-hp-slider-heading .ci-hp-overline{font-size:10px}
 .ci-hp-category-section{margin-top:30px}
 .ci-hp-news-section .ci-blog-grid--grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .ci-hp-slide-image{aspect-ratio:3/2}
 .ci-hp-slide-text h2{font-size:31px!important}
 .ci-hp-news-section .ci-blog-grid--grid-4{grid-template-columns:1fr}
 .ci-hp-category-section .ci-blog-grid--grid-4{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .ci-hp-slide{scroll-behavior:auto}
}

/* CI homepage boxed alignment and fixed-slide refinement — 21 Oct 2026.
   Keep the main canvas identical to the existing 1280px header; restore grey
   exterior gutters and leave the original shared theme styles untouched. */
html:has(>body.home){background:#ccc!important}
body.home{background:#ccc!important}
body.home .ci-site-header,
body.home .ci-site-main,
body.home .ci-site-footer{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.home .ci-site-main{
  padding:0!important;
  background:#fff!important;
}
body.home .ci-hp-editorial{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  background:#fff;
  padding:0 0 64px;
}
/* Slider begins immediately after the global navigation. No page headline,
   white spacer or speculative advertising box before the first slide. */
body.home .ci-hp-editorial-intro{display:none!important}
body.home .ci-hp-slider{
  position:relative;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin:0;
  border-left:0;
  border-right:0;
  background:#fff;
}
body.home .ci-hp-slider-track{width:100%;min-width:0}
/* Controls float over the top-right corner; do not consume banner height. */
body.home .ci-hp-slider-heading{
  position:absolute;
  z-index:4;
  top:12px;
  right:14px;
  width:auto;
  min-height:0;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  color:#fff;
}
body.home .ci-hp-slider-heading .ci-hp-overline{display:none!important}
body.home .ci-hp-slider-controls{
  padding:4px 6px;
  background:#20251f;
  gap:8px;
}
body.home .ci-hp-slide{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:440px!important;
  min-height:440px!important;
  max-height:440px!important;
  grid-template-columns:minmax(0,54fr) minmax(0,46fr);
  grid-template-rows:minmax(0,1fr);
  overflow:hidden;
}
body.home .ci-hp-slider.is-enhanced .ci-hp-slide:not(.is-active){display:none!important}
body.home .ci-hp-slider.is-enhanced .ci-hp-slide.is-active{display:grid!important}
body.home .ci-hp-slide-image{
  box-sizing:border-box;
  position:relative;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0!important;
  max-height:100%;
  aspect-ratio:auto;
  overflow:hidden;
  background:#f1f0ec;
}
body.home .ci-hp-slide-image img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:cover;
  object-position:center;
}
body.home .ci-hp-slide-text{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
  min-height:0;
  max-height:100%;
  padding:26px 34px;
  overflow:hidden;
}
body.home .ci-hp-slide-text h2{
  font-size:clamp(28px,2.55vw,43px)!important;
  line-height:1.05!important;
  margin:0 0 14px!important;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  overflow:hidden;
  overflow-wrap:break-word;
}
body.home .ci-hp-slide-meta{margin:0 0 11px!important}
body.home .ci-hp-slide-text>p:not(.ci-hp-slide-meta){
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  margin:0 0 14px!important;
}
body.home .ci-hp-slide-read{flex:none}
body.home .ci-hp-slide-dots{min-height:28px;box-sizing:border-box}
/* Subsequent sections use the existing 28px inner gutter. */
body.home .ci-hp-editorial>.ci-hp-section,
body.home .ci-hp-editorial>.ci-hp-stats{
  box-sizing:border-box;
  margin-left:28px;
  margin-right:28px;
}
@media(max-width:900px){
  body.home .ci-hp-slide{
    height:410px!important;
    min-height:410px!important;
    max-height:410px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  body.home .ci-hp-slide-text{padding:23px}
  body.home .ci-hp-slide-text h2{font-size:clamp(26px,3.1vw,34px)!important}
}
@media(max-width:700px){
  body.home .ci-hp-slide{
    height:600px!important;
    min-height:600px!important;
    max-height:600px!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:220px minmax(0,1fr)!important;
  }
  body.home .ci-hp-slide-image{height:220px;min-height:0!important;aspect-ratio:auto}
  body.home .ci-hp-slide-text{height:100%;padding:18px 22px;justify-content:center}
  body.home .ci-hp-slide-text h2{font-size:31px!important;line-height:1.07!important}
  body.home .ci-hp-slider-heading{top:10px;right:10px}
  body.home .ci-hp-editorial>.ci-hp-section,
  body.home .ci-hp-editorial>.ci-hp-stats{margin-left:20px;margin-right:20px}
}
@media(max-width:520px){
  body.home .ci-hp-slide{
    height:580px!important;
    min-height:580px!important;
    max-height:580px!important;
    grid-template-rows:190px minmax(0,1fr)!important;
  }
  body.home .ci-hp-slide-image{height:190px}
  body.home .ci-hp-slide-text{padding:17px 18px}
  body.home .ci-hp-slide-text h2{font-size:29px!important}
  body.home .ci-hp-slide-text>p:not(.ci-hp-slide-meta){-webkit-line-clamp:3}
  body.home .ci-hp-editorial>.ci-hp-section,
  body.home .ci-hp-editorial>.ci-hp-stats{margin-left:18px;margin-right:18px}
}

/* CI 2.0 remove footer grey gap v1 */
/* Remove the external-body strip between homepage editorial content and the footer.
   The existing footer itself, and side gutters, retain their theme styles. */
body.home .ci-site-main {
    margin-bottom:0!important;
    border-bottom:0!important;
}
body.home .ci-hp-editorial {
    margin-bottom:0!important;
}
body.home .ci-site-footer.ci-footer-classic {
    margin-top:0!important;
}

/* Marketplace cards follow the homepage's editorial sections. */
body.home .ci-hp-editorial .ci-mp-placement .ci-hp-heading h2{font:700 28px/1.03 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.02em;margin:5px 0 0;text-transform:uppercase}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-card{min-width:0}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-card-body{padding:14px 16px}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-card h3{font-size:21px;line-height:1.1;margin:6px 0}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-pr{font-size:19px;margin:8px 0}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-small{margin:5px 0;font-size:12px}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-btn{font-size:12px;margin-top:7px;padding:9px 14px}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1{grid-template-columns:minmax(0,760px)}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1 .ci-mp-card{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr)}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1 .ci-mp-img{height:100%;min-height:190px;aspect-ratio:auto}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1 .ci-mp-card>a{min-width:0}
@media(max-width:900px){body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid:not(.ci-mp-count-1){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid:not(.ci-mp-count-1){grid-template-columns:minmax(0,1fr)}body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1 .ci-mp-card{grid-template-columns:minmax(0,1fr)}body.home .ci-hp-editorial .ci-mp-placement .ci-mp-count-1 .ci-mp-img{height:auto;min-height:0;aspect-ratio:16/10}}

/* Scrollable home marketplace: at most nine listings, three visible on desktop. */
body.home .ci-hp-editorial .ci-mp-heading-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
body.home .ci-hp-editorial .ci-mp-heading-actions>a{color:inherit;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
body.home .ci-hp-editorial .ci-mp-carousel-controls{display:flex;gap:8px}
body.home .ci-hp-editorial .ci-mp-carousel-controls[hidden]{display:none}
body.home .ci-hp-editorial .ci-mp-carousel-controls button{width:38px;height:38px;padding:0;border:1px solid #d9d6ca;background:#fff;color:#252b24;font-size:19px;cursor:pointer}
body.home .ci-hp-editorial .ci-mp-carousel-controls button:disabled{opacity:.35;cursor:default}
body.home .ci-hp-editorial .ci-mp-carousel-controls button:focus-visible,body.home .ci-hp-editorial .ci-mp-carousel-track:focus-visible{outline:2px solid #93845c;outline-offset:3px}
body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid.ci-mp-carousel-track{display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 42px)/3);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain}
body.home .ci-hp-editorial .ci-mp-carousel-track>.ci-mp-card{scroll-snap-align:start}
@media(max-width:900px){body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid.ci-mp-carousel-track{grid-auto-columns:calc((100% - 21px)/2)}}
@media(max-width:600px){body.home .ci-hp-editorial .ci-mp-placement .ci-mp-grid.ci-mp-carousel-track{grid-auto-columns:100%}}
@media(prefers-reduced-motion:reduce){body.home .ci-hp-editorial .ci-mp-carousel-track{scroll-behavior:auto!important}}
