/*
Theme Name: The Christ Church School Premium
Theme URI: https://thechristchurchschool.com
Author: littleOne Studios
Description: Custom classic WordPress theme for The Christ Church School. White, red and charcoal visual identity with admissions, academic calendar, school portals, gallery, careers and learning pages.
Version: 2.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: christ-church-school
*/


:root{
  --red:#c9161d;
  --red-deep:#8e0d14;
  --red-soft:#f8e7e8;
  --charcoal:#242428;
  --charcoal-2:#303035;
  --ink:#2c2d31;
  --muted:#6b6d73;
  --white:#fff;
  --paper:#fbfaf9;
  --soft:#f5f5f6;
  --line:#e4e4e7;
  --max:1220px;
  --shadow:0 22px 65px rgba(25,25,30,.10);
  --shadow-sm:0 10px 32px rgba(25,25,30,.08);
  --radius:22px;
  --radius-sm:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.72}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.container{width:min(calc(100% - 38px),var(--max));margin:auto}
.skip-link{position:absolute;left:-999px;top:10px;background:#fff;padding:10px;z-index:999}
.skip-link:focus{left:10px}

/* Header */
.top-strip{background:#1d1d20;color:#fff;font-size:.78rem}
.top-strip-inner{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.top-meta,.top-social{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.top-meta a,.top-meta span{opacity:.9}
.top-social{gap:7px}
.top-social a{width:26px;height:26px;border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;border-radius:50%;font-size:.64rem;font-weight:900;transition:.2s}
.top-social a:hover{background:var(--red);border-color:var(--red)}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.05)}
.nav-row{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:12px;min-width:270px}
.brand img{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.brand strong{display:block;font-size:.93rem;letter-spacing:.035em;line-height:1.12;font-weight:900}
.brand span{display:block;color:var(--red);font-size:.61rem;text-transform:uppercase;letter-spacing:.14em;font-weight:900;margin-top:4px}
nav{display:flex;align-items:center;gap:16px;font-size:.82rem;font-weight:800}
nav a{position:relative;padding:31px 0}
nav a:not(.nav-apply):after{content:"";height:2px;background:var(--red);position:absolute;left:0;right:100%;bottom:23px;transition:.2s}
nav a:hover:after,nav a.active:after{right:0}
.nav-apply{background:var(--red);color:#fff!important;padding:12px 17px!important;border-radius:999px;box-shadow:0 8px 22px rgba(201,22,29,.20)}
.nav-apply:hover{background:var(--red-deep)}
.menu-btn{display:none;background:none;border:0;font-size:1.6rem;color:var(--charcoal)}

/* Type */
h1,h2,h3,h4{color:var(--charcoal);line-height:1.08;margin:0 0 16px;font-weight:900;letter-spacing:-.03em}
h1{font-size:clamp(3rem,6vw,6rem)}
h2{font-size:clamp(2.15rem,4.2vw,3.8rem)}
h3{font-size:1.35rem;letter-spacing:-.015em}
p{margin:0 0 1.1rem}
.lead{font-size:1.1rem;color:#56585e}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--red);font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.17em;margin-bottom:13px}
.eyebrow:before{content:"";width:32px;height:2px;background:currentColor}
.eyebrow.white{color:#fff}
.muted{color:var(--muted)}
.small{font-size:.84rem}

/* Hero */
.hero{padding:70px 0 92px;position:relative;overflow:hidden;background:
  radial-gradient(circle at 88% 20%,rgba(201,22,29,.08),transparent 29%),
  linear-gradient(180deg,#fff,var(--paper))}
.hero:after{content:"CCS";position:absolute;right:-25px;bottom:-90px;font-size:22rem;font-weight:950;color:rgba(36,36,40,.025);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:62px;align-items:center;position:relative;z-index:2}
.hero h1{max-width:720px}
.hero h1 em{font-style:normal;color:var(--red)}
.hero-copy p{max-width:670px;font-size:1.08rem;color:#5d5e64}
.hero-actions,.button-row{display:flex;gap:11px;flex-wrap:wrap;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;border-radius:999px;border:1px solid transparent;font-weight:900;font-size:.86rem;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn-red{background:var(--red);color:#fff;box-shadow:0 12px 25px rgba(201,22,29,.19)}
.btn-dark{background:var(--charcoal);color:#fff}
.btn-outline{background:#fff;color:var(--red);border-color:var(--red)}
.btn-white{background:#fff;color:var(--red)}
.btn-ghost-white{border-color:rgba(255,255,255,.6);color:#fff}
.hero-visual{position:relative;min-height:535px}
.hero-photo{position:absolute;inset:0 0 45px 60px;border-radius:32px 4px 32px 4px;overflow:hidden;background:linear-gradient(135deg,var(--charcoal),var(--red));box-shadow:var(--shadow)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(21,21,24,.42))}
.hero-medallion{position:absolute;right:24px;top:24px;width:128px;height:128px;border-radius:50%;background:#fff;padding:7px;box-shadow:0 18px 50px rgba(0,0,0,.18);z-index:3}
.hero-medallion img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.hero-note{position:absolute;left:0;bottom:0;background:#fff;border-left:5px solid var(--red);padding:20px 24px;max-width:330px;box-shadow:var(--shadow-sm);z-index:4}
.hero-note b{display:block;font-size:1.1rem}
.hero-note span{color:var(--muted);font-size:.82rem}
.floating-apply{position:absolute;right:-12px;bottom:62px;background:var(--red);color:#fff;padding:18px 20px;border-radius:18px 0 18px 18px;z-index:4;box-shadow:0 14px 35px rgba(201,22,29,.27)}
.floating-apply small{display:block;opacity:.8;text-transform:uppercase;letter-spacing:.12em;font-size:.61rem;font-weight:900}
.floating-apply strong{display:block;font-size:1.13rem}

/* Sections */
.section{padding:88px 0}
.section.soft{background:var(--soft)}
.section.white{background:#fff}
.section.dark{background:var(--charcoal);color:#fff}
.section.red{background:var(--red);color:#fff}
.section.dark h2,.section.dark h3,.section.red h2,.section.red h3{color:#fff}
.section.dark p,.section.red p{color:rgba(255,255,255,.82)}
.section-head{max-width:780px;margin-bottom:42px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 6px 20px rgba(0,0,0,.025)}
.card.accent{border-top:4px solid var(--red)}
.card p{color:var(--muted)}
.card-icon{width:48px;height:48px;border-radius:14px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;margin-bottom:18px;font-size:1.25rem}
.link-arrow{color:var(--red);font-weight:900}
.highlight{padding:22px 25px;border-left:5px solid var(--red);background:var(--soft);border-radius:0 14px 14px 0;margin:24px 0}
.quote-card{padding:34px;background:#fff;border-radius:var(--radius);border-top:5px solid var(--red);box-shadow:var(--shadow-sm)}
.quote-card blockquote{margin:0;font-size:1.1rem;color:#4e5056;line-height:1.75}
.quote-card cite{display:block;margin-top:18px;color:var(--red);font-weight:900;font-style:normal}

/* About collage */
.about-collage{position:relative;min-height:530px}
.about-photo-main,.about-photo-secondary{position:absolute;overflow:hidden;box-shadow:var(--shadow);background:var(--charcoal)}
.about-photo-main{left:0;top:0;width:72%;height:420px;border-radius:28px 4px 28px 4px}
.about-photo-secondary{right:0;bottom:0;width:55%;height:300px;border:9px solid var(--paper);border-radius:4px 28px 4px 28px}
.about-photo-main img,.about-photo-secondary img{width:100%;height:100%;object-fit:cover}
.about-logo-chip{position:absolute;left:54%;top:44%;transform:translate(-50%,-50%);width:120px;height:120px;border-radius:50%;padding:6px;background:#fff;box-shadow:var(--shadow-sm);z-index:4}

/* Mission */
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mv-card{min-height:260px;padding:34px;border-radius:24px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}
.mv-card.dark{background:var(--charcoal);color:#fff}
.mv-card.red{background:var(--red);color:#fff}
.mv-card h3{color:#fff;text-transform:uppercase;letter-spacing:.13em;font-size:.85rem}
.mv-card p{color:rgba(255,255,255,.9);font-size:1.07rem;margin:0}
.mv-card:after{content:"CCS";position:absolute;right:-23px;top:-22px;font-size:7rem;font-weight:950;color:rgba(255,255,255,.055)}

/* School code */
.code-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.code-item{display:flex;gap:15px;align-items:flex-start;padding:18px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:12px}
.code-item b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;flex:0 0 auto;font-size:.76rem}

/* Inner hero */
.page-hero{padding:82px 0;color:#fff;background:
  linear-gradient(105deg,rgba(36,36,40,.98),rgba(36,36,40,.93) 47%,rgba(201,22,29,.92) 47%,rgba(142,13,20,.95))}
.page-hero .eyebrow{color:#fff}
.page-hero h1{color:#fff;font-size:clamp(3rem,5vw,5rem)}
.page-hero p{max-width:760px;color:rgba(255,255,255,.84);font-size:1.05rem}
.breadcrumbs{margin-top:20px;font-size:.78rem;opacity:.82}

/* Programme blocks */
.program-list{display:grid;gap:18px}
.program-block{display:grid;grid-template-columns:75px 1fr;gap:25px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:29px;box-shadow:0 6px 18px rgba(0,0,0,.025)}
.program-num{font-size:2.2rem;color:var(--red);font-weight:950;line-height:1}
.program-block p{color:#57595f}

/* Admissions timeline */
.admission-grid{display:grid;grid-template-columns:1fr .82fr;gap:48px;align-items:start}
.steps{display:grid;gap:14px}
.step{display:grid;grid-template-columns:54px 1fr;gap:18px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px;transition:.2s}
.step:hover{box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.step-num{width:54px;height:54px;border-radius:15px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:950;font-size:1.1rem}
.step h3{margin:3px 0 7px;font-size:1.15rem}
.step p{margin:0;color:var(--muted)}
.sticky-card{position:sticky;top:118px}
.resource-card{background:var(--charcoal);color:#fff;padding:29px;border-radius:24px;overflow:hidden;position:relative}
.resource-card:after{content:"FORM";position:absolute;right:-18px;bottom:-33px;font-size:6.5rem;font-weight:950;color:rgba(255,255,255,.04)}
.resource-card h3{color:#fff}
.resource-card p{color:rgba(255,255,255,.76)}
.resource-buttons{display:flex;gap:9px;flex-wrap:wrap;position:relative;z-index:2}
.photo-panel{overflow:hidden;border-radius:24px;min-height:310px;background:var(--charcoal)}
.photo-panel img{width:100%;height:100%;min-height:310px;object-fit:cover}

/* Resources */
.resource-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.download-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;display:grid;grid-template-columns:60px 1fr;gap:18px;align-items:start}
.download-icon{width:60px;height:60px;border-radius:16px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-size:1.5rem}
.download-card p{color:var(--muted)}
.download-card .button-row{margin-top:14px}

/* Calendar */
.calendar-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.date-card{background:#fff;border:1px solid var(--line);border-top:5px solid var(--red);border-radius:18px;padding:25px}
.date-card small{display:block;text-transform:uppercase;letter-spacing:.11em;font-weight:900;color:var(--muted)}
.date-card strong{display:block;font-size:1.25rem;margin-top:9px;color:var(--charcoal)}
.calendar-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.calendar-table th,.calendar-table td{padding:17px 19px;text-align:left;border-bottom:1px solid var(--line)}
.calendar-table th{background:var(--charcoal);color:#fff}
.calendar-table tr:last-child td{border-bottom:0}
.calendar-table .section-row td{background:var(--red-soft);color:var(--red-deep);font-weight:950;text-transform:uppercase;letter-spacing:.08em}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-auto-rows:270px;gap:14px}
.gallery-item{position:relative;overflow:hidden;border-radius:18px;background:var(--charcoal);box-shadow:var(--shadow-sm)}
.gallery-item:first-child{grid-row:span 2}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.45s}
.gallery-item:hover img{transform:scale(1.045)}
.gallery-cap{position:absolute;left:0;right:0;bottom:0;padding:45px 20px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78));font-weight:900}
.gallery-cap small{display:block;font-weight:600;opacity:.8}
.photo-fallback{object-fit:contain!important;padding:45px;background:#fff}

/* Careers */
.pill-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pill{padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:800}
.safeguard{background:var(--charcoal);color:#fff;border-left:6px solid var(--red);padding:28px;border-radius:0 18px 18px 0}
.safeguard h3{color:#fff}
.safeguard p{color:rgba(255,255,255,.8)}
.vacancy{background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:30px;text-align:center}
.vacancy strong{display:block;font-size:1.45rem}
.vacancy span{color:var(--red);font-weight:950}

/* Insights */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 7px 22px rgba(0,0,0,.025)}
.post-thumb{height:210px;background:linear-gradient(135deg,var(--charcoal),var(--red));overflow:hidden}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.post-body{padding:23px}
.post-body p{color:var(--muted)}

/* Forms */
.form-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow-sm)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
label{font-size:.82rem;font-weight:900;color:#47484d}
input,select,textarea{width:100%;border:1px solid #d8d8db;background:#fff;padding:13px 14px;border-radius:11px;outline:none}
textarea{min-height:145px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(201,22,29,.08)}
.form-status{padding:13px 15px;border-radius:10px;margin-bottom:18px}
.form-status.ok{background:#edf7ef;color:#235a31}
.form-status.error{background:#fff0f0;color:#8f1515}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:.85rem;color:var(--muted)}
.consent input{width:auto;margin-top:5px}

/* Contact / hours */
.hours-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hour-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:16px;padding:22px}
.hour-card strong{display:block;font-size:1.05rem}
.hour-card span{color:var(--red);font-weight:900}

/* Portal */
.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.portal-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;text-align:center;transition:.2s}
.portal-card:hover{transform:translateY(-4px);border-color:var(--red);box-shadow:var(--shadow-sm)}
.portal-card .portal-icon{font-size:1.8rem;margin-bottom:8px}
.portal-card p{font-size:.84rem;color:var(--muted)}

/* Footer */
.apply-ribbon{background:linear-gradient(120deg,var(--red),var(--red-deep));color:#fff;padding:54px 0}
.apply-ribbon-inner{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.apply-ribbon h2{color:#fff;font-size:2.65rem;margin-bottom:10px}
.apply-ribbon p{color:rgba(255,255,255,.82);max-width:720px}
.ribbon-actions{display:flex;gap:10px;flex-wrap:wrap}
.site-footer{background:#1d1d20;color:rgba(255,255,255,.72);padding:64px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.2fr .78fr .95fr .95fr;gap:35px}
.footer-brand strong,.site-footer h3{color:#fff}
.footer-brand span{color:#fff}
.site-footer h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:15px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:8px 0}
.site-footer a:hover{color:#fff}
.footer-about p{max-width:380px}
.footer-tagline{color:#fff;font-weight:750}
.footer-contact-title{margin-top:24px!important}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:.78rem}

/* Legacy-content notices */
.source-note{font-size:.79rem;color:var(--muted);padding:13px 15px;background:var(--soft);border-radius:10px}
.legacy-service{max-width:760px}
.legacy-service .card{padding:34px}

/* Reveal */
.reveal{opacity:0;transform:translateY(16px);transition:.65s ease}
.reveal.visible{opacity:1;transform:none}

@media(max-width:1080px){
  .menu-btn{display:block}
  nav{display:none;position:absolute;left:0;right:0;top:88px;background:#fff;padding:18px 26px;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}
  nav.open{display:flex}
  nav a{padding:10px 0}
  .nav-apply{text-align:center;padding:12px!important}
  .hero-grid,.grid-2,.admission-grid{grid-template-columns:1fr}
  .hero-visual{max-width:720px;width:100%;margin:auto}
  .grid-3,.post-grid,.calendar-summary,.hours-grid{grid-template-columns:1fr 1fr}
  .grid-4,.portal-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .sticky-card{position:static}
}
@media(max-width:700px){
  .top-strip-inner{justify-content:center}.top-social{display:none}.top-meta{font-size:.7rem;justify-content:center;gap:9px}
  .brand{min-width:0}.brand img{width:50px;height:50px}.brand strong{font-size:.78rem}.brand span{font-size:.54rem}
  .nav-row{min-height:76px}nav{top:76px}
  .hero{padding:52px 0 70px}.hero h1{font-size:3.25rem}.hero-visual{min-height:410px}
  .hero-photo{inset:0 0 42px 22px}.hero-medallion{width:94px;height:94px}.floating-apply{right:0;bottom:70px}
  .section{padding:66px 0}
  .grid-3,.grid-4,.post-grid,.portal-grid,.calendar-summary,.hours-grid,.resource-grid,.form-grid,.mv-grid,.code-grid,.pill-grid{grid-template-columns:1fr}
  .field.full{grid-column:auto}
  .about-collage{min-height:430px}.about-photo-main{width:78%;height:325px}.about-photo-secondary{width:62%;height:245px}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:245px}.gallery-item:first-child{grid-row:auto}
  .program-block{grid-template-columns:55px 1fr;padding:22px}.program-num{font-size:1.8rem}
  .apply-ribbon-inner{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}
  .download-card{grid-template-columns:1fr}
  .calendar-table{display:block;overflow-x:auto}
}

/* ==============================================================
   WordPress integration + premium finishing touches
   Appended to the user-supplied stylesheet without replacing it.
   ============================================================== */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;top:8px;left:8px;z-index:100000;padding:12px 16px;background:#fff;color:#111;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.admin-bar .site-header{top:32px}
.wp-site-blocks{padding:0}
.ccs-menu{display:flex;align-items:center;gap:16px;list-style:none;margin:0;padding:0;font-size:.82rem;font-weight:800}
.ccs-menu li{margin:0;padding:0;position:relative}
.ccs-menu a{display:block;position:relative;padding:31px 0}
.ccs-menu a:after{content:"";height:2px;background:var(--red);position:absolute;left:0;right:100%;bottom:23px;transition:.2s}
.ccs-menu a:hover:after,.ccs-menu .current-menu-item>a:after,.ccs-menu .current_page_item>a:after{right:0}
.ccs-menu .sub-menu{position:absolute;top:78%;left:-18px;min-width:220px;background:#fff;padding:10px 0;list-style:none;box-shadow:var(--shadow-sm);border:1px solid var(--line);border-radius:14px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}
.ccs-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:none}
.ccs-menu .sub-menu a{padding:10px 18px}
.ccs-menu .sub-menu a:after{display:none}
.custom-logo{width:60px;height:60px;object-fit:contain;border-radius:50%;background:#fff}
.site-title-lockup{display:flex;align-items:center;gap:12px}
.site-title-copy strong{display:block;font-size:.93rem;letter-spacing:.035em;line-height:1.12;font-weight:900}
.site-title-copy span{display:block;color:var(--red);font-size:.61rem;text-transform:uppercase;letter-spacing:.14em;font-weight:900;margin-top:4px}
.top-social a svg,.footer-social a svg{width:14px;height:14px;fill:currentColor;display:block}
.footer-social{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.footer-social a{width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:grid;place-items:center;color:#fff;transition:.2s}
.footer-social a:hover{background:var(--red);border-color:var(--red);transform:translateY(-2px)}
.footer-social a svg{width:16px;height:16px}
.ccs-footer-credit a{color:#fff;font-weight:850;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.ccs-footer-credit a:hover{text-decoration-color:#fff}
.ccs-resource-strip{background:#fff;border-bottom:1px solid var(--line)}
.ccs-resource-strip .container{display:flex;justify-content:flex-end;gap:10px;padding:10px 0;flex-wrap:wrap}
.ccs-resource-strip a{font-size:.76rem;font-weight:900;color:var(--charcoal);display:inline-flex;align-items:center;gap:7px}
.ccs-resource-strip a span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--red-soft);color:var(--red);font-size:.68rem}
.ccs-page-content>.wp-block-group:first-child{margin-top:0}
.ccs-page-content .alignwide{max-width:var(--max);margin-left:auto;margin-right:auto}
.ccs-page-content .alignfull{max-width:none;width:100%}
.ccs-page-content ul{padding-left:1.3rem}
.ccs-page-content h2{margin-top:1.1em}
.ccs-page-content h3{margin-top:1em}
.ccs-editable-note{font-size:.72rem;color:var(--muted);text-align:center;margin-top:12px}
.ccs-hero-accent{position:absolute;inset:auto -8% -30% auto;width:370px;height:370px;border:1px solid rgba(201,22,29,.09);border-radius:50%;pointer-events:none}
.hero-photo,.about-photo-main,.about-photo-secondary,.post-thumb,.gallery-item{isolation:isolate}
.hero-photo:before,.gallery-item:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(130deg,rgba(201,22,29,.05),transparent 48%);pointer-events:none}
.ccs-stat-band{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-top:30px}
.ccs-stat{background:#fff;padding:22px;text-align:center}
.ccs-stat strong{display:block;color:var(--red);font-size:1.1rem}
.ccs-stat span{font-size:.73rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.ccs-portal-menu ul{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;list-style:none;padding:0;margin:0}
.ccs-portal-menu a{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;text-align:center;font-weight:900;transition:.2s}
.ccs-portal-menu a:hover{transform:translateY(-4px);border-color:var(--red);box-shadow:var(--shadow-sm)}
.ccs-post-card-thumb{height:220px;background:linear-gradient(135deg,var(--charcoal),var(--red));overflow:hidden}
.ccs-post-card-thumb img{width:100%;height:100%;object-fit:cover}
.ccs-document-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 6px 20px rgba(0,0,0,.025)}
.ccs-document-card .document-meta{color:var(--muted);font-size:.87rem}
.ccs-source-alert{background:#fff8e9;border:1px solid #f1d9a6;border-left:5px solid #c38d27;border-radius:12px;padding:16px 18px;color:#664c17;font-size:.86rem}
.entry-content:after{content:"";display:block;clear:both}
.wp-block-button__link{border-radius:999px;background:var(--red);color:#fff;font-weight:900}
.wp-block-button.is-style-outline .wp-block-button__link{background:#fff;color:var(--red);border-color:var(--red)}
.wp-block-separator{border-color:var(--line)}
.pagination,.nav-links{display:flex;gap:10px;justify-content:center;margin:35px 0}
.page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:#fff}
.page-numbers.current{background:var(--red);color:#fff;border-color:var(--red)}
.ccs-setup-card{background:#fff;border:1px solid #ddd;padding:20px;max-width:900px}
@media(max-width:1080px){
  .ccs-menu{display:none;position:absolute;left:0;right:0;top:88px;background:#fff;padding:18px 26px;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}
  .ccs-menu.open{display:flex}.ccs-menu a{padding:10px 0}.ccs-menu a:after{bottom:5px}
  .ccs-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 0 15px}
  .ccs-portal-menu ul{grid-template-columns:1fr 1fr}
}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:700px){
  .ccs-menu{top:76px}.ccs-resource-strip .container{justify-content:center}.ccs-stat-band{grid-template-columns:1fr 1fr}.ccs-portal-menu ul{grid-template-columns:1fr}
}

.footer-menu,.portal-footer-menu{list-style:none;margin:0;padding:0}.footer-menu li,.portal-footer-menu li{margin:8px 0}.ccs-newsletter{display:flex;gap:8px;max-width:390px;margin:12px 0 4px}.ccs-newsletter input{min-width:0;flex:1;background:#fff;border:0;border-radius:999px;padding:11px 14px}.ccs-newsletter button{border:0;background:var(--red);color:#fff;border-radius:999px;padding:10px 16px;font-weight:900;cursor:pointer}.ccs-newsletter button:hover{background:var(--red-deep)}
@media(max-width:700px){.ccs-newsletter{flex-direction:column}.ccs-newsletter button{width:100%}}
\n\n/* === v1.2 resource, quote and document enhancements === */
.ccs-resource-strip{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 5px 16px rgba(20,20,24,.035)}
.ccs-resource-strip .container{display:flex;align-items:center;justify-content:center;min-height:48px}
.resource-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}
.resource-menu li{margin:0}.resource-menu a{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;color:var(--charcoal);font-size:.76rem;font-weight:900;transition:.2s}
.resource-menu a:before{content:'↗';width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--red-soft);color:var(--red);font-size:.7rem}
.resource-menu a:hover{background:var(--soft);color:var(--red)}
.ccs-home-quote{position:relative;overflow:hidden;background:linear-gradient(128deg,#1e1e22 0%,#2e2e33 58%,#7f0c12 100%);color:#fff}
.ccs-home-quote:before{content:'“';position:absolute;right:5%;top:-90px;font-family:Georgia,serif;font-size:28rem;line-height:1;color:rgba(255,255,255,.035)}
.ccs-home-quote .quote-shell{position:relative;z-index:2;display:grid;grid-template-columns:72px 1fr;gap:26px;align-items:start;max-width:980px;margin:auto}
.ccs-home-quote .quote-mark{width:72px;height:72px;border-radius:22px 5px 22px 5px;display:grid;place-items:center;background:var(--red);font-family:Georgia,serif;font-size:3.2rem;line-height:1;box-shadow:0 18px 40px rgba(0,0,0,.2)}
.ccs-home-quote blockquote{margin:0;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.5rem,3vw,2.35rem);line-height:1.52;letter-spacing:-.018em}
.ccs-home-quote cite{display:block;margin-top:22px;color:#fff;font-style:normal;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.8rem}
.ccs-home-quote .quote-accent{display:block;width:78px;height:3px;background:var(--red);margin-top:14px}
.ccs-doc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;align-items:stretch}
.ccs-doc-showcase{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow-sm);display:grid;grid-template-columns:.88fr 1.12fr;min-height:360px}
.ccs-doc-cover{background:var(--soft);min-height:360px;overflow:hidden}.ccs-doc-cover img{width:100%;height:100%;object-fit:cover}
.ccs-doc-copy{padding:34px;display:flex;flex-direction:column;justify-content:center}.ccs-doc-copy p{color:var(--muted)}
.ccs-pdf-embed{height:760px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#f3f3f4;margin-top:28px}
.ccs-pdf-embed object,.ccs-pdf-embed iframe{width:100%;height:100%;border:0}
.ccs-parent-resources{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ccs-parent-resource{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:18px;padding:22px;transition:.2s}.ccs-parent-resource:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.ccs-parent-resource small{display:block;color:var(--red);font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.ccs-gallery-expanded{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:180px;gap:14px;margin-top:24px}
.ccs-gallery-expanded .gallery-item{grid-column:span 4;grid-row:span 2}.ccs-gallery-expanded .gallery-item.wide{grid-column:span 8}.ccs-gallery-expanded .gallery-item.tall{grid-row:span 3}
.ccs-gallery-expanded .gallery-item:first-child{grid-row:span 3;grid-column:span 8}
.ccs-gallery-expanded .gallery-cap{z-index:3}
.ccs-slogan-chip{display:inline-flex;align-items:center;gap:8px;color:var(--red);font-size:.68rem;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
.ccs-slogan-chip:before{content:'';width:24px;height:2px;background:var(--red)}
.ccs-brochure-callout{background:linear-gradient(135deg,#fff,#f7f1f2);border:1px solid var(--line);border-left:6px solid var(--red);border-radius:20px;padding:28px}
.ccs-brochure-callout p{color:var(--muted)}
@media(max-width:1080px){.ccs-parent-resources{grid-template-columns:1fr 1fr}.ccs-doc-showcase{grid-template-columns:1fr}.ccs-doc-cover{min-height:300px}.ccs-gallery-expanded .gallery-item,.ccs-gallery-expanded .gallery-item.wide{grid-column:span 6}.ccs-home-quote .quote-shell{grid-template-columns:58px 1fr}.ccs-home-quote .quote-mark{width:58px;height:58px}}
@media(max-width:700px){.resource-menu{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;width:100%;padding:7px 0}.resource-menu a{white-space:nowrap}.ccs-home-quote .quote-shell{grid-template-columns:1fr}.ccs-home-quote .quote-mark{width:54px;height:54px}.ccs-parent-resources,.ccs-doc-grid{grid-template-columns:1fr}.ccs-gallery-expanded{grid-template-columns:1fr;grid-auto-rows:245px}.ccs-gallery-expanded .gallery-item,.ccs-gallery-expanded .gallery-item.wide,.ccs-gallery-expanded .gallery-item.tall,.ccs-gallery-expanded .gallery-item:first-child{grid-column:auto;grid-row:auto}.ccs-pdf-embed{height:520px}}


/* === v2.1 online registration, PDF viewers + local Drive photo archive === */
.ccs-pdf-viewer-wrap{margin-top:28px}
.ccs-pdf-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.ccs-pdf-viewer-toolbar h3{margin:0}
.ccs-pdf-embed{height:min(78vh,900px);min-height:620px;background:#ececef;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow-sm)}
.ccs-pdf-embed object,.ccs-pdf-embed iframe{width:100%;height:100%;border:0;background:#fff}
.ccs-registration-choice{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:28px}
.ccs-registration-choice .card{position:relative;overflow:hidden}
.ccs-registration-choice .card:after{content:'';position:absolute;right:-55px;bottom:-60px;width:170px;height:170px;border-radius:50%;background:var(--red-soft)}
.ccs-registration-choice .card>*{position:relative;z-index:2}
.ccs-registration-form{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-sm);overflow:hidden}
.ccs-form-section{padding:30px;border-bottom:1px solid var(--line)}
.ccs-form-section:last-child{border-bottom:0}
.ccs-form-section-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}
.ccs-form-step{width:42px;height:42px;border-radius:14px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:950;flex:0 0 auto}
.ccs-form-section-head h3{margin:2px 0 4px}.ccs-form-section-head p{margin:0;color:var(--muted);font-size:.88rem}
.ccs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ccs-form-field{display:flex;flex-direction:column;gap:7px}.ccs-form-field.full{grid-column:1/-1}
.ccs-form-field label{font-size:.8rem;text-transform:none;letter-spacing:0;font-weight:900;color:#45464b}
.ccs-form-field .hint{font-size:.74rem;color:var(--muted);margin-top:-2px}
.ccs-form-field input[type=file]{padding:11px;background:var(--soft);border:1px dashed #c7c7cb}
.ccs-radio-row{display:flex;gap:18px;align-items:center;min-height:46px}.ccs-radio-row label{display:flex;gap:7px;align-items:center;font-weight:750}.ccs-radio-row input{width:auto}
.ccs-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ccs-upload-card{border:1px solid var(--line);border-radius:16px;padding:17px;background:var(--soft)}
.ccs-upload-card strong{display:block;margin-bottom:8px}.ccs-upload-card small{display:block;color:var(--muted);margin-top:6px}
.ccs-signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ccs-signature-box{border:1px solid var(--line);border-radius:16px;padding:17px;background:#fff}
.ccs-signature-pad{width:100%;height:150px;border:1px dashed #aaa;border-radius:10px;background:#fff;touch-action:none;cursor:crosshair}
.ccs-signature-actions{display:flex;justify-content:flex-end;margin-top:8px}.ccs-signature-clear{border:0;background:var(--soft);padding:7px 11px;border-radius:999px;cursor:pointer;font-weight:800;font-size:.74rem}
.ccs-declaration{background:linear-gradient(135deg,#fff,var(--red-soft));border-left:5px solid var(--red);padding:20px;border-radius:0 16px 16px 0}
.ccs-submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.ccs-submit-row p{margin:0;color:var(--muted);font-size:.8rem;max-width:650px}
.ccs-application-status{padding:20px 22px;border-radius:16px;margin-bottom:24px}.ccs-application-status.success{background:#edf8ef;border:1px solid #b9dfc0;color:#215a2d}.ccs-application-status.warning{background:#fff7e8;border:1px solid #ecd29f;color:#6c4c0a}.ccs-application-status.error{background:#fff0f0;border:1px solid #efb8b8;color:#7a1515}
.ccs-application-status h3{color:inherit;margin-bottom:7px}
.ccs-status-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.ccs-secure-note{display:flex;gap:10px;align-items:flex-start;background:var(--soft);border-radius:12px;padding:14px 16px;font-size:.79rem;color:var(--muted)}
.ccs-secure-note b{color:var(--charcoal)}
@media(max-width:760px){.ccs-registration-choice,.ccs-form-grid,.ccs-upload-grid,.ccs-signature-grid{grid-template-columns:1fr}.ccs-form-field.full{grid-column:auto}.ccs-form-section{padding:22px 18px}.ccs-pdf-embed{min-height:520px;height:68vh}}


/* === v2.1 local Drive photo archive === */
.ccs-moments-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ccs-moment-card{position:relative;min-height:300px;border-radius:24px;overflow:hidden;background:var(--charcoal);box-shadow:var(--shadow-sm);isolation:isolate}
.ccs-moment-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.ccs-moment-card:hover img{transform:scale(1.05)}
.ccs-moment-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(15,15,18,.92));z-index:1}
.ccs-moment-card .moment-copy{position:absolute;left:0;right:0;bottom:0;padding:25px;color:#fff;z-index:2}
.ccs-moment-card .moment-copy small{display:block;text-transform:uppercase;letter-spacing:.12em;font-weight:900;opacity:.8;margin-bottom:6px}
.ccs-moment-card .moment-copy h3{color:#fff;margin:0;font-size:1.4rem}
.ccs-moment-card .moment-copy a{display:inline-block;margin-top:9px;color:#fff;font-weight:900;border-bottom:1px solid rgba(255,255,255,.7)}
.ccs-photo-archive{display:grid;gap:48px}
.ccs-photo-collection{scroll-margin-top:120px}
.ccs-photo-collection-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.ccs-photo-collection-head h2{font-size:clamp(2rem,3vw,3rem);margin:0}
.ccs-photo-count{display:inline-flex;padding:7px 11px;background:var(--red-soft);color:var(--red-deep);border-radius:999px;font-size:.75rem;font-weight:900}
.ccs-event-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ccs-event-gallery .event-photo{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:var(--charcoal);box-shadow:0 8px 25px rgba(0,0,0,.06)}
.ccs-event-gallery .event-photo:nth-child(7n+1){grid-column:span 2;grid-row:span 2}
.ccs-event-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ccs-event-gallery .event-photo:hover img{transform:scale(1.045)}
.ccs-event-feature{display:grid;grid-template-columns:1.02fr .98fr;gap:32px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:20px;box-shadow:var(--shadow-sm)}
.ccs-event-feature .feature-photo{min-height:340px;border-radius:20px;overflow:hidden;background:var(--charcoal)}
.ccs-event-feature .feature-photo img{width:100%;height:100%;min-height:340px;object-fit:cover}
.ccs-event-feature .feature-copy{padding:20px 22px 20px 8px}
.ccs-event-feature .feature-copy p{color:var(--muted)}
.ccs-event-feature + .ccs-event-feature{margin-top:18px}
@media(max-width:1050px){.ccs-moments-grid{grid-template-columns:1fr 1fr}.ccs-event-gallery{grid-template-columns:repeat(3,1fr)}.ccs-event-feature{grid-template-columns:1fr}}
@media(max-width:680px){.ccs-moments-grid{grid-template-columns:1fr}.ccs-event-gallery{grid-template-columns:1fr 1fr}.ccs-event-gallery .event-photo:nth-child(7n+1){grid-column:auto;grid-row:auto}.ccs-photo-collection-head{align-items:start;flex-direction:column}.ccs-event-feature .feature-copy{padding:8px}}


/* === v2.1 revised: live-home alignment, clickable Gallery, linked Insights === */
.ccs-home-calendar-strip{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}
.ccs-home-calendar-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.ccs-home-calendar-inner h2{font-size:1.7rem;margin-bottom:3px}.ccs-home-calendar-inner p{margin:0;color:var(--red);font-weight:900}
.ccs-head-chip{display:inline-flex;flex-direction:column;border-left:4px solid var(--red);padding:9px 15px;background:var(--soft);margin:12px 0 22px}.ccs-head-chip span{font-size:.7rem;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-weight:900}.ccs-head-chip strong{font-size:1.05rem}
.ccs-why-panel{display:grid;grid-template-columns:.9fr 1.1fr;border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.ccs-why-image{min-height:500px;background:var(--charcoal)}.ccs-why-image img{width:100%;height:100%;object-fit:cover}.ccs-why-copy{background:var(--red);color:#fff;padding:52px}.ccs-why-copy h2{color:#fff}.ccs-why-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:rgba(255,255,255,.8)}
.ccs-home-checks{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:11px}.ccs-home-checks li{position:relative;padding-left:32px;font-weight:800}.ccs-home-checks li:before{content:'✓';position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--red);font-size:.72rem}
.ccs-testimonial-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ccs-testimonial{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:31px;box-shadow:var(--shadow-sm)}.ccs-testimonial-mark{font-size:4rem;line-height:.7;color:var(--red);font-family:Georgia,serif}.ccs-testimonial p{font-size:1.02rem;color:#505258}.ccs-testimonial footer{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.ccs-testimonial footer strong{color:var(--charcoal)}.ccs-testimonial footer span{font-size:.78rem;color:var(--muted)}
.ccs-home-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ccs-home-resource-card{display:block;background:#fff;border:1px solid var(--line);border-top:5px solid var(--red);border-radius:24px;padding:30px;transition:.22s}.ccs-home-resource-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}.resource-kicker{display:block;color:var(--red);font-weight:950;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;margin-bottom:8px}.ccs-home-resource-card p{color:var(--muted)}
.ccs-quality-note{font-weight:900;color:var(--charcoal);margin-top:-6px}.ccs-home-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ccs-home-post{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 7px 22px rgba(0,0,0,.035);transition:.2s}.ccs-home-post:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm)}.ccs-home-post img{width:100%;height:220px;object-fit:cover}.ccs-home-post div{padding:20px}.ccs-home-post span{color:var(--red);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.ccs-home-post h3{margin:5px 0 0}
.ccs-hours-row{display:flex;justify-content:space-between;align-items:end;gap:25px}.ccs-hour-pills{display:flex;gap:12px;flex-wrap:wrap}.ccs-hour-pills span{display:flex;flex-direction:column;min-width:180px;background:#fff;color:var(--charcoal);border-radius:16px;padding:18px}.ccs-hour-pills b{color:var(--red);font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;margin-bottom:3px}.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ccs-stat-band-approved .ccs-stat strong{font-size:2rem}.ccs-stat-band-approved .ccs-stat span{line-height:1.5}.ccs-stat-band-approved .ccs-stat span b{display:block;margin-top:5px;color:var(--charcoal);font-size:.72rem}
.ccs-lightbox-link{display:block;width:100%;height:100%;cursor:zoom-in}.ccs-lightbox-link img{width:100%;height:100%;object-fit:cover}.gallery-item:target,.event-photo:target{outline:5px solid rgba(201,22,29,.35);outline-offset:5px;scroll-margin-top:130px}
.ccs-lightbox{position:fixed;inset:0;background:rgba(8,8,10,.94);z-index:999999;display:none;align-items:center;justify-content:center;padding:30px}.ccs-lightbox.open{display:flex}.ccs-lightbox-inner{position:relative;max-width:min(1200px,92vw);max-height:92vh;display:flex;flex-direction:column;align-items:center}.ccs-lightbox-image{max-width:100%;max-height:80vh;object-fit:contain;border-radius:10px;box-shadow:0 25px 70px rgba(0,0,0,.5)}.ccs-lightbox-caption{color:#fff;margin-top:12px;text-align:center;font-size:.88rem}.ccs-lightbox-close,.ccs-lightbox-prev,.ccs-lightbox-next{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:1.4rem;backdrop-filter:blur(8px)}.ccs-lightbox-close{right:0;top:-52px}.ccs-lightbox-prev{left:-58px;top:45%}.ccs-lightbox-next{right:-58px;top:45%}
.ccs-insight-collection{background:#fff;border:1px solid var(--line);border-radius:26px;padding:25px;box-shadow:var(--shadow-sm)}.ccs-insight-collection+.ccs-insight-collection{margin-top:22px}.ccs-insight-collection-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:18px}.ccs-insight-collection-head h2{margin:0}.ccs-insight-collection-head p{margin:7px 0 0;color:var(--muted)}.ccs-insights-photo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.ccs-insights-photo-grid a{display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--charcoal);transition:.2s}.ccs-insights-photo-grid a:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}.ccs-insights-photo-grid img{width:100%;height:100%;object-fit:cover}
@media(max-width:1080px){.ccs-why-panel{grid-template-columns:1fr}.ccs-why-image{min-height:360px}.ccs-home-post-grid{grid-template-columns:1fr 1fr}.ccs-insights-photo-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.ccs-home-calendar-inner,.ccs-hours-row,.ccs-insight-collection-head{align-items:flex-start;flex-direction:column}.ccs-testimonial-grid,.ccs-home-resource-grid,.quote-grid,.ccs-home-post-grid{grid-template-columns:1fr}.ccs-why-copy{padding:32px 24px}.ccs-insights-photo-grid{grid-template-columns:repeat(3,1fr)}.ccs-lightbox-prev{left:4px}.ccs-lightbox-next{right:4px}.ccs-lightbox-close{right:4px;top:-48px}}


/* ============================================================
   V2.1 refinement — polished admissions, navigation and socials
   ============================================================ */
:root{
  --burgundy:#760c17;
  --red-glow:rgba(201,22,29,.18);
}

h1,h2,.page-hero h1,.apply-ribbon h2{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  letter-spacing:-.035em;
}
h3{letter-spacing:-.01em}

.site-header{
  box-shadow:0 10px 30px rgba(26,26,30,.055);
}
.site-header:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:2px;
  background:linear-gradient(90deg,transparent 0,var(--red) 22%,var(--red) 78%,transparent 100%);
  opacity:.5;
}
.nav-apply{
  background:linear-gradient(135deg,var(--red),var(--burgundy));
  box-shadow:0 10px 26px var(--red-glow);
}

.page-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 16%,rgba(255,255,255,.13),transparent 23%),
    linear-gradient(112deg,var(--charcoal) 0 51%,var(--red-deep) 51%,var(--red) 100%);
}
.page-hero:after{
  content:"CCS";
  position:absolute;
  right:-30px;
  bottom:-95px;
  font-size:18rem;
  line-height:1;
  font-weight:950;
  color:rgba(255,255,255,.045);
  pointer-events:none;
}
.page-hero .container{position:relative;z-index:2}

.card,.ccs-parent-resource,.ccs-home-resource-card,.post-card{
  box-shadow:0 8px 28px rgba(28,28,32,.045);
}
.ccs-parent-resource{
  position:relative;
  overflow:hidden;
  border-top:0;
  padding:26px;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,var(--red),rgba(201,22,29,.18),var(--charcoal)) border-box;
  border:1px solid transparent;
}
.ccs-parent-resource:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:5px;
  background:linear-gradient(var(--red),var(--red-deep));
}
.ccs-parent-resource:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 45px rgba(30,30,34,.10);
}
.ccs-resource-symbol{
  width:48px;height:48px;
  border-radius:15px;
  display:grid;place-items:center;
  background:var(--red-soft);
  color:var(--red-deep);
  font-weight:950;
  font-size:.78rem;
  letter-spacing:.04em;
  margin-bottom:16px;
}
.ccs-resource-registration .ccs-resource-symbol{font-size:1.25rem}
.ccs-resource-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.ccs-resource-actions .btn{padding:10px 16px}
.text-link{color:var(--red);font-weight:900;font-size:.81rem}
.text-link:hover{text-decoration:underline}
.ccs-admission-resources{margin:54px 0 44px}
.ccs-admission-hero-actions{margin-top:24px}
.ccs-achievement-block{
  margin-top:52px;
  padding:42px 32px;
  border-radius:26px;
  background:linear-gradient(145deg,#f7f7f8,#fff);
  border:1px solid var(--line);
}
.ccs-stat-band-approved .ccs-stat{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(0,0,0,.035);
}
.ccs-stat-band-approved .ccs-stat strong{color:var(--red-deep)}
.footer-portal-note{font-size:.84rem;color:rgba(255,255,255,.62);margin-top:18px}
.footer-portal-note a{color:#fff;text-decoration:underline}

/* Stronger, clearer social media icons */
.top-social,.footer-social{gap:10px}
.top-social a.ccs-social-link{
  width:34px;height:34px;
  color:#fff;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.top-social a.ccs-social-link:hover{
  background:var(--red);
  border-color:#fff;
  transform:translateY(-2px);
}
.footer-social a.ccs-social-link{
  width:40px;height:40px;
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.28);
}
.footer-social a.ccs-social-link:hover{
  background:var(--red);
  border-color:#fff;
  transform:translateY(-3px);
}
.ccs-social-icon{display:grid;place-items:center;line-height:0}
.top-social .ccs-social-icon svg{width:17px;height:17px;fill:#fff}
.footer-social .ccs-social-icon svg{width:19px;height:19px;fill:#fff}

/* The four Admissions resources are intentionally not rendered globally. */
.ccs-resource-strip{display:none!important}

@media(max-width:700px){
  .ccs-achievement-block{padding:28px 18px}
  .ccs-resource-actions{align-items:stretch}
  .ccs-resource-actions .btn{width:100%}
}


/* ============================================================
   V2.1 — unified header, reference footer and school refinements
   ============================================================ */
.top-strip{display:none!important}
.ccs-single-header{background:#fff;border-bottom:1px solid #ececef;box-shadow:0 10px 34px rgba(28,28,32,.07)}
.ccs-unified-nav{min-height:102px;gap:18px;display:grid;grid-template-columns:minmax(245px,auto) minmax(0,1fr) auto;align-items:center}
.ccs-unified-nav .brand{min-width:245px}
.ccs-unified-nav #site-nav{justify-self:center}
.ccs-header-utilities{display:flex;align-items:center;gap:10px;justify-content:flex-end}
.ccs-header-hours{display:flex;align-items:center;gap:6px;font-size:.67rem;font-weight:850;color:#56575c;white-space:nowrap}
.ccs-header-hours svg,.ccs-header-utility-link svg{width:18px;height:18px;fill:var(--red)}
.ccs-header-utility-link{display:grid;place-items:center;width:26px;height:30px}
.header-social,.footer-social{display:flex;align-items:center;gap:11px}
.header-social a,.footer-social a{display:grid!important;place-items:center!important;width:auto!important;height:auto!important;border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;box-shadow:none!important;transition:transform .2s ease,opacity .2s ease}
.header-social a:hover,.footer-social a:hover{transform:translateY(-2px);background:transparent!important;border:0!important}
.header-social svg{width:18px!important;height:18px!important;fill:currentColor!important}
.footer-social svg{width:22px!important;height:22px!important;fill:currentColor!important}
.ccs-social-youtube{color:#ff0000!important}.ccs-social-facebook{color:#1877f2!important}.ccs-social-x{color:#000!important}.ccs-social-linkedin{color:#0a66c2!important}.ccs-social-instagram{color:#e4405f!important}.ccs-social-tiktok{color:#111!important}

.ccs-live-home-hero .hero-copy{text-align:center}
.ccs-live-home-hero .hero-copy .eyebrow{justify-content:center}
.ccs-centered-school-name{display:flex;flex-direction:column;align-items:center;gap:.02em;margin-inline:auto!important}
.ccs-centered-school-name span{display:block;text-align:center}
.ccs-live-home-hero .hero-actions{justify-content:center}
.btn-whatsapp{background:#25d366;color:#fff!important;border-color:#25d366!important;box-shadow:0 12px 28px rgba(37,211,102,.2)}
.btn-whatsapp:hover{background:#1ebe5d!important;color:#fff!important}
.btn-whatsapp svg{width:19px;height:19px;fill:currentColor}

.ccs-home-next-chapter{background:linear-gradient(105deg,#c9161d,#a50f17);padding:66px 20px;color:#fff;text-align:center;position:relative;overflow:hidden}
.ccs-home-next-chapter:after{content:"CCS";position:absolute;right:-20px;bottom:-75px;font-size:12rem;font-weight:950;color:rgba(255,255,255,.045);line-height:1}
.ccs-home-next-chapter .container{position:relative;z-index:2}
.ccs-home-next-chapter span{display:block;font-size:.72rem;letter-spacing:.19em;font-weight:900;margin-bottom:12px}
.ccs-home-next-chapter h2{color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.35rem);line-height:1.15;margin:0;text-transform:uppercase;letter-spacing:-.02em}

/* White reference-style footer based on the supplied visual */
.ccs-reference-footer{background:#fff!important;color:#4a4b50!important;padding:68px 0 0!important;border-top:1px solid #ececef}
.ccs-reference-footer .footer-grid{grid-template-columns:1.4fr .75fr .75fr 1fr;gap:48px}
.ccs-reference-footer .footer-brand strong,.ccs-reference-footer h3{color:var(--red)!important}
.ccs-reference-footer .footer-brand span{color:var(--charcoal)!important}
.ccs-reference-footer h3{font-size:.88rem;text-transform:uppercase;letter-spacing:.07em}
.ccs-reference-footer p,.ccs-reference-footer li,.ccs-reference-footer a{color:#55565b}
.ccs-reference-footer a:hover{color:var(--red)}
.ccs-reference-footer .footer-about p{max-width:430px}
.ccs-reference-footer .ccs-newsletter{display:flex;max-width:390px;gap:8px;margin:14px 0 20px}
.ccs-reference-footer .ccs-newsletter input{flex:1;min-width:0;border:1px solid #d8d8dc;background:#fff;color:#333;border-radius:4px;padding:12px 14px}
.ccs-reference-footer .ccs-newsletter button{background:var(--red);color:#fff;border:0;border-radius:4px;padding:0 18px;font-weight:850}
.ccs-reference-footer .footer-portal-note{color:#6b6c72!important;font-size:.82rem}
.ccs-footer-bottom-wrap{background:#242428;margin-top:48px}
.ccs-reference-footer .footer-bottom{margin-top:0!important;border-top:0!important;padding:20px 0!important;color:rgba(255,255,255,.76)!important}
.ccs-reference-footer .footer-bottom a{color:#fff!important}
.ccs-reference-footer .ccs-footer-credit{margin-left:7px}

.ccs-about-classroom-section .program-block{background:#fff}
.ccs-about-program-list{max-width:1050px;margin:auto}
.ccs-career-checks{list-style:none;padding:0}.ccs-career-checks li{position:relative;padding:8px 0 8px 29px}.ccs-career-checks li:before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:950}
.ccs-map-frame{border-radius:24px;overflow:hidden;box-shadow:0 18px 55px rgba(30,30,35,.10);border:1px solid var(--line)}
.ccs-map-frame iframe{display:block;width:100%;height:480px;border:0}
.ccs-contact-layout .form-card{height:100%}

@media(max-width:1180px){
 .ccs-unified-nav{grid-template-columns:auto 1fr}.ccs-header-utilities{grid-column:1/-1;justify-content:center;padding-bottom:12px}.ccs-unified-nav #site-nav{justify-self:end}
}
@media(max-width:1040px){
 .ccs-unified-nav{display:flex;min-height:82px}.ccs-header-utilities{display:none}.ccs-unified-nav .brand{min-width:0}
}
@media(max-width:700px){
 .ccs-reference-footer .footer-grid{grid-template-columns:1fr!important;gap:32px}.ccs-reference-footer{padding-top:48px!important}.ccs-map-frame iframe{height:360px}.ccs-home-next-chapter{padding:52px 18px}
}


/* ============================================================
   V2.1 — 21 Aug refinements: header, floating WhatsApp, footer,
   school-visit image and modern registration date picker
   ============================================================ */
.site-header .container{width:min(calc(100% - 34px),1500px)}
.ccs-unified-nav{min-height:116px;display:flex;align-items:center;gap:24px;width:100%}
.ccs-header-brand{display:flex;align-items:center;gap:15px;min-width:340px;flex:0 0 auto}
.ccs-logo-link{display:block;flex:0 0 auto;line-height:0}
.ccs-header-logo{width:84px!important;height:84px!important;max-width:none!important;object-fit:contain!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.ccs-header-brand .site-title-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.ccs-header-brand .site-title-copy strong{font-size:1.03rem;line-height:1.1;letter-spacing:.025em;white-space:nowrap;color:var(--charcoal)}
.ccs-header-brand .site-title-copy span{font-size:.61rem;letter-spacing:.13em;color:var(--red);font-weight:900;white-space:nowrap;margin-top:5px}
.ccs-unified-nav #site-nav{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}
.ccs-unified-nav .ccs-menu{gap:17px}
.ccs-header-utilities{flex:0 0 auto;margin-left:auto}
.ccs-christ-church-line{white-space:nowrap!important}
.ccs-centered-school-name{font-size:clamp(3.45rem,5.8vw,5.65rem)!important}

/* The WhatsApp contact follows the visitor on every page. */
.ccs-floating-whatsapp{position:fixed;right:20px;bottom:18px;z-index:9999;display:inline-flex;align-items:center;gap:9px;background:#079b35;color:#fff!important;padding:9px 15px 9px 10px;border-radius:8px;font-weight:850;font-size:.94rem;box-shadow:0 10px 30px rgba(0,0,0,.22);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.ccs-floating-whatsapp:hover{background:#07862f;transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.26)}
.ccs-floating-whatsapp-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#fff}
.ccs-floating-whatsapp-icon svg{width:18px;height:18px;fill:#079b35}

/* Use the full footer width efficiently: Recent Posts sits next to Get In Touch. */
.ccs-reference-footer .footer-grid{grid-template-columns:1.28fr .64fr .68fr 1.65fr!important;gap:38px!important}
.footer-contact-recent{display:grid;grid-template-columns:.88fr 1.12fr;gap:28px;align-items:start}
.ccs-recent-posts{list-style:none;padding:0;margin:0}
.ccs-recent-posts li{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid #ececef}
.ccs-recent-posts li:last-child{border-bottom:0}
.ccs-recent-posts a{font-weight:760;line-height:1.35}
.footer-contact-block p{line-height:1.8}

/* School Visit photo */
.page-template-page-admission .photo-panel img,.page-id-admission .photo-panel img{width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center 54%}

/* Modern custom date picker */
.ccs-modern-date{position:relative;display:flex;align-items:center}
.ccs-dob-display{padding-right:52px!important;cursor:pointer!important;background:linear-gradient(180deg,#fff,#fbfbfc)!important}
.ccs-date-trigger{position:absolute;right:5px;top:5px;bottom:5px;width:42px;border:0;border-radius:10px;background:var(--red-soft);color:var(--red-deep);display:grid;place-items:center;cursor:pointer;transition:.2s}
.ccs-date-trigger:hover{background:var(--red);color:#fff}
.ccs-date-trigger svg{width:20px;height:20px;fill:currentColor}
.ccs-date-popover{position:absolute;z-index:120;left:0;top:calc(100% + 10px);width:min(350px,calc(100vw - 42px));padding:16px;background:#fff;border:1px solid #e2e2e5;border-radius:18px;box-shadow:0 22px 60px rgba(28,28,34,.18)}
.ccs-date-popover[hidden]{display:none!important}
.ccs-date-head{display:grid;grid-template-columns:38px 1fr 38px;gap:8px;align-items:center;margin-bottom:12px}
.ccs-date-head>button{width:38px;height:38px;border:0;border-radius:10px;background:#f2f2f4;color:var(--charcoal);font-size:1.45rem;cursor:pointer}
.ccs-date-head>button:hover{background:var(--red-soft);color:var(--red)}
.ccs-date-selects{display:grid;grid-template-columns:1.3fr .8fr;gap:7px}
.ccs-date-selects select{padding:8px 9px;border:1px solid #dedee1;border-radius:10px;background:#fff;font-weight:800;color:var(--charcoal)}
.ccs-date-weekdays,.ccs-date-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}
.ccs-date-weekdays{margin-bottom:5px}.ccs-date-weekdays span{font-size:.69rem;font-weight:900;color:#8a8b90;padding:5px 0}
.ccs-date-day{aspect-ratio:1;border:0;border-radius:10px;background:transparent;color:var(--charcoal);font-weight:800;cursor:pointer}
.ccs-date-day:hover:not(:disabled){background:var(--red-soft);color:var(--red-deep)}
.ccs-date-day.today{box-shadow:inset 0 0 0 1px var(--red)}
.ccs-date-day.selected{background:linear-gradient(135deg,var(--red),var(--red-deep));color:#fff;box-shadow:none}
.ccs-date-day:disabled{opacity:.25;cursor:not-allowed}.ccs-date-empty{aspect-ratio:1}
.ccs-date-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eeeef0;margin-top:11px;padding-top:11px}
.ccs-date-footer button{border:0;background:none;color:var(--red);font-weight:850;cursor:pointer;padding:5px}

@media(max-width:1280px){
 .ccs-unified-nav{gap:14px}.ccs-header-brand{min-width:315px}.ccs-header-logo{width:74px!important;height:74px!important}.ccs-header-brand .site-title-copy strong{font-size:.92rem}.ccs-unified-nav .ccs-menu{gap:11px}.ccs-header-hours{display:none}
}
@media(max-width:1080px){
 .ccs-header-utilities{display:none}.ccs-unified-nav{min-height:92px}.ccs-header-brand{min-width:0}.ccs-unified-nav #site-nav{justify-content:flex-end}
}
@media(max-width:700px){
 .ccs-header-logo{width:62px!important;height:62px!important}.ccs-header-brand{gap:10px}.ccs-header-brand .site-title-copy strong{font-size:.76rem}.ccs-header-brand .site-title-copy span{font-size:.49rem;white-space:normal}.ccs-centered-school-name{font-size:clamp(2.65rem,13vw,3.7rem)!important}.ccs-reference-footer .footer-grid{grid-template-columns:1fr!important}.footer-contact-recent{grid-template-columns:1fr;gap:24px}.ccs-floating-whatsapp{right:12px;bottom:12px;padding:8px 12px 8px 8px;font-size:.84rem}.ccs-date-popover{left:auto;right:0}
}


/* ============================================================
   V2.1 final corrections — logo, social brands, map, posts, footer
   ============================================================ */
.ccs-live-home-hero .hero-medallion{background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.ccs-live-home-hero .hero-medallion img{border-radius:0!important;object-fit:contain!important;filter:drop-shadow(0 10px 18px rgba(0,0,0,.16))}

.ccs-social-instagram svg{fill:none!important;overflow:visible}
.ccs-social-youtube svg{fill:#ff0000!important;overflow:visible}
.ccs-social-youtube svg path:first-child{fill:#ff0000!important}
.ccs-social-youtube svg path:last-child{fill:#fff!important}
.header-social .ccs-social-youtube svg{width:22px!important;height:20px!important}
.footer-social .ccs-social-youtube svg{width:27px!important;height:23px!important}
.header-social .ccs-social-instagram svg{width:21px!important;height:21px!important}
.footer-social .ccs-social-instagram svg{width:25px!important;height:25px!important}

.ccs-reference-footer .ccs-portal-menu ul,.ccs-reference-footer .portal-footer-menu{display:flex!important;flex-direction:column!important;gap:0!important;grid-template-columns:none!important}
.ccs-reference-footer .ccs-portal-menu li{margin:0!important}
.ccs-reference-footer .ccs-portal-menu a{display:block!important;padding:8px 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:left!important;font-weight:760!important}
.ccs-reference-footer .ccs-portal-menu a:hover{transform:none!important;color:var(--red)!important}

.ccs-reference-footer .footer-grid{grid-template-columns:minmax(330px,1.65fr) .58fr .62fr minmax(440px,1.55fr)!important;gap:42px!important}
.ccs-reference-footer .footer-about{min-width:0}
.ccs-reference-footer .footer-brand{display:flex;align-items:center;gap:12px}
.ccs-reference-footer .footer-brand strong{white-space:nowrap!important;font-size:.95rem!important;letter-spacing:.01em!important}
.ccs-reference-footer .footer-brand img{width:62px;height:62px;object-fit:contain;flex:0 0 auto}
.ccs-reference-footer .footer-about p{max-width:560px!important;line-height:1.72}
.footer-contact-recent{grid-template-columns:.9fr 1.1fr!important;gap:34px!important}

.ccs-recent-posts-reference li{padding:0 0 13px!important;margin:0 0 13px!important}
.ccs-recent-posts-reference .ccs-recent-title{display:block;font-weight:850;color:#3f4045;line-height:1.3}
.ccs-recent-posts-reference .ccs-recent-readmore{display:inline-block;margin-top:4px;font-size:.73rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--red)!important}

.ccs-recent-post-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ccs-recent-post-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(25,25,30,.05)}
.ccs-recent-post-card>img{width:100%;height:205px;object-fit:cover}
.ccs-recent-post-copy{padding:22px}
.ccs-recent-post-copy h3{font-size:1.22rem;margin-bottom:9px}
.ccs-recent-post-copy p{color:var(--muted);font-size:.9rem}
.ccs-read-more{color:var(--red);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:950}
.ccs-post-detail{scroll-margin-top:135px;padding:48px 0;border-top:1px solid #dddde1}
.ccs-post-detail:first-child{border-top:0;padding-top:0}
.ccs-post-detail-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:20px}
.ccs-post-detail-head h2{margin-bottom:0}
.ccs-post-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}
.ccs-post-photo-grid a{display:block;border-radius:14px;overflow:hidden;background:#222;aspect-ratio:4/3}
.ccs-post-photo-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.ccs-post-photo-grid a:hover img{transform:scale(1.035)}
.ccs-map-section .section-head p{max-width:760px;margin-left:auto;margin-right:auto}

@media(max-width:1280px){
  .ccs-reference-footer .footer-grid{grid-template-columns:1.45fr .6fr .68fr 1.35fr!important;gap:28px!important}
  .ccs-reference-footer .footer-brand strong{font-size:.84rem!important}
  .ccs-recent-post-card-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:1040px){
  .ccs-reference-footer .footer-grid{grid-template-columns:1fr 1fr!important}
  .footer-contact-recent{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
  .ccs-reference-footer .footer-grid{grid-template-columns:1fr!important}
  .footer-contact-recent{grid-template-columns:1fr!important}
  .ccs-reference-footer .footer-brand strong{white-space:normal!important}
  .ccs-recent-post-card-grid,.ccs-post-photo-grid{grid-template-columns:1fr 1fr}
  .ccs-post-detail-head{align-items:flex-start;flex-direction:column}
}


/* FinalCorrections restore: keep CCS Moments links visible and unblocked. */
.ccs-moment-card .moment-copy a{
  display:inline-block!important;
  margin-top:9px!important;
  padding:0!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.72)!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:900!important;
  line-height:1.45!important;
  position:relative!important;
  z-index:4!important;
}


/* ============================================================
   V2.1 unlimited Testimonials carousel
   ============================================================ */
.ccs-testimonial-carousel{position:relative;max-width:1120px;margin:0 auto}
.ccs-testimonial-viewport{overflow:hidden;padding:4px 2px 18px}
.ccs-testimonial-track{display:flex;gap:20px;transition:transform .48s cubic-bezier(.22,.61,.36,1);will-change:transform}
.ccs-testimonial-slide{flex:0 0 calc(50% - 10px);min-width:0}
.ccs-testimonial-card{height:100%;min-height:330px;position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px 30px 28px;box-shadow:0 12px 38px rgba(25,25,30,.07)}
.ccs-testimonial-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(var(--red),var(--red-deep))}
.ccs-testimonial-card:after{content:"CCS";position:absolute;right:-16px;bottom:-34px;font-size:7rem;font-weight:950;color:rgba(36,36,40,.025);pointer-events:none}
.ccs-testimonial-top{display:flex;align-items:center;gap:14px;padding-right:52px;position:relative;z-index:2}
.ccs-testimonial-avatar{width:58px;height:58px;flex:0 0 58px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 5px 16px rgba(0,0,0,.12)}
.ccs-testimonial-avatar-fallback{display:grid;place-items:center;background:linear-gradient(135deg,var(--red),var(--red-deep));color:#fff;font-weight:950;font-size:1.25rem}
.ccs-testimonial-name{display:block;color:var(--charcoal);font-size:1.02rem}
.ccs-testimonial-role{display:block;color:var(--red);font-size:.78rem;font-weight:850;margin-top:3px}
.ccs-testimonial-card .ccs-testimonial-mark{position:absolute;right:27px;top:23px;margin:0;font:700 4.8rem/1 Georgia,serif;color:rgba(201,22,29,.12);z-index:1}
.ccs-testimonial-text{margin-top:24px;color:#56585e;font-size:.98rem;line-height:1.8;position:relative;z-index:2}
.ccs-testimonial-text p:last-child{margin-bottom:0}
.ccs-testimonial-controls{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px}
.ccs-testimonial-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #d9d9dc;background:#fff;color:var(--charcoal);display:grid;place-items:center;cursor:pointer;font-size:1.15rem;font-weight:900;transition:.2s}
.ccs-testimonial-arrow:hover:not(:disabled){background:var(--red);color:#fff;border-color:var(--red);transform:translateY(-2px)}
.ccs-testimonial-arrow:disabled{opacity:.35;cursor:not-allowed}
.ccs-testimonial-dots{display:flex;gap:7px;align-items:center}
.ccs-testimonial-dot{width:8px;height:8px;border:0;padding:0;border-radius:50%;background:#cacacf;cursor:pointer;transition:.2s}
.ccs-testimonial-dot.active{width:24px;border-radius:999px;background:var(--red)}
@media(max-width:760px){.ccs-testimonial-slide{flex-basis:100%}.ccs-testimonial-card{min-height:0;padding:26px 24px}}

.ccs-editor-content .entry-content{max-width:900px;margin:0 auto}
