/* SMDP kit refresh — the inner pages in step with the homepage. LIVE 2026-11-28 (Daniel's go; Marie's consent).
   One stylesheet for the 25 inner kit pages, the calendar, the event pages, the privacy page and the site header.
   No page content was edited. Loaded on every page by smdp-announce.php when the option smdp_refresh_live is 1
   (off switch: `wp option update smdp_refresh_live 0`).
   "body" in front of kit selectors: each page carries its own kit <style> later in the page, so an equal selector loses.
   Homepage-only rules live in announce.css. Record: Projects/Site-Renewal-2026/2026-11-28-Inner-Page-Procession/. */

/* ---- tokens + season layer (same values as announce.css; ratified 2026-11-28) ---- */
body{--sa-teal:#104147;--sa-teal2:#2c6e63;--sa-cream:#f4eee0;--sa-ink:#0f0f10;--sa-char:#3d3d40;--sa-stone:#e0dcd3;
  --sa-season:#104147;--sa-season-ink:#fff;
  --sa-wash:color-mix(in oklab,var(--sa-season) 7%,#fff);
  --sa-line:color-mix(in oklab,var(--sa-season) 35%,#e0dcd3)}
body.smdp-season-ordinary{--sa-season:#3f7d4e}
body.smdp-season-advent{--sa-season:#56357a}
body.smdp-season-gaudete{--sa-season:#c4768e;--sa-season-ink:#2a0f1a}
body.smdp-season-christmas{--sa-season:#b8862b;--sa-season-ink:#241803}

/* ---- A. inner kit pages ---- */
body:not(.home) #smdpk .w{max-width:1080px}
body:not(.home) #smdpk .hero{background:linear-gradient(180deg,#fff,var(--sa-wash) 30%,#fff 96%);padding:clamp(38px,5vw,64px) 10px clamp(32px,4.5vw,52px)}
body:not(.home) #smdpk .hero h1{font-size:clamp(36px,5vw,60px) !important;line-height:1 !important;letter-spacing:-.01em !important;text-wrap:balance;margin-bottom:0}
body:not(.home) #smdpk .hero h1::after{content:"";display:block;width:56px;height:3px;border-radius:2px;background:var(--sa-season);margin:16px auto 14px}
body:not(.home) #smdpk .hero .kick{color:var(--sa-teal2);font-size:12px;letter-spacing:.16em !important;font-weight:700}
body:not(.home) #smdpk .hero .sub{font-family:"EB Garamond",Georgia,serif;font-size:clamp(18px,1.7vw,20px);line-height:1.45;max-width:36em;text-wrap:pretty}
body:not(.home) #smdpk section h2{font-size:clamp(27px,3vw,34px) !important;line-height:1.08;text-wrap:balance}
body:not(.home) #smdpk .card,body:not(.home) #smdpk .scard,body:not(.home) #smdpk .callout,body:not(.home) #smdpk .formwrap,body:not(.home) #smdpk .mapwrap,body:not(.home) #smdpk .ydet{border-radius:10px}
body:not(.home) #smdpk .card h3{font-size:19px}
body:not(.home) #smdpk a.lcard{display:flex}
body:not(.home) #smdpk a.lcard .card{flex:1;box-sizing:border-box;transition:border-color .15s,transform .15s}
body:not(.home) #smdpk a.lcard:hover .card{border-color:var(--sa-line);transform:translateY(-2px)}
body:not(.home) #smdpk .btn{border-radius:8px}
body:not(.home) #smdpk a:focus-visible{outline:3px solid var(--sa-season);outline-offset:3px;border-radius:4px}
@media (prefers-reduced-motion:reduce){body:not(.home) #smdpk a.lcard .card{transition:none}}

/* forms (WPForms): the plugin's default blue button, 60%-wide fields and a centred card are the loudest leftovers */
body #smdpk .wpforms-container{--wpforms-button-background-color:#104147;--wpforms-button-border-color:#104147;--wpforms-button-text-color:#fff;--wpforms-button-border-radius:8px;--wpforms-field-border-radius:6px;--wpforms-button-background-color-alt:#0b2f33;accent-color:#104147}
body #smdpk .wpforms-container button.wpforms-submit{background-color:#104147 !important;border-radius:8px !important;font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-weight:700;text-transform:none;letter-spacing:0}
body #smdpk .wpforms-container button.wpforms-submit:hover{background-color:#0b2f33 !important}
body #smdpk .wpforms-container .wpforms-field-medium,body #smdpk .wpforms-container .wpforms-field-row.wpforms-field-medium{max-width:100%}
body #smdpk .wpforms-container :is(input,select,textarea):focus{border-color:#104147 !important;box-shadow:0 0 0 1px #104147 !important}
body:not(.home) #smdpk .formwrap{margin-left:0;max-width:820px}
/* links: the old theme's Elementor kit turns unstyled links crimson on hover */
body:not(.home) #smdpk :is(section,.hero) a:not(.btn):hover{color:#0b2f33}
/* bulletins archive: the long date list in columns */
body:not(.home) #smdpk .blist{columns:3 200px;column-gap:28px}

/* ---- B. calendar and event pages (The Events Calendar): parish teal in place of the plugin's blue ---- */
:root,body,.tribe-common,.tribe-events{
  --tec-color-accent-primary:#104147;--tec-color-accent-primary-hover:#0b2f33;--tec-color-accent-primary-active:#0b2f33;
  --tec-color-accent-primary-background:rgba(16,65,71,.07);
  --tec-color-link-accent:#104147;--tec-color-link-accent-hover:#0b2f33;
  --tec-color-background-primary-multiday:rgba(16,65,71,.22);--tec-color-background-primary-multiday-hover:rgba(16,65,71,.32);
  --tec-color-accent-primary-week-event:rgba(16,65,71,.1);--tec-color-accent-primary-week-event-hover:rgba(16,65,71,.2);
  --tec-color-accent-primary-week-event-featured:rgba(16,65,71,.14);--tec-color-accent-primary-week-event-featured-hover:rgba(16,65,71,.24);
  --tec-color-event-icon-hover:#104147;--tec-color-icon-focus:#104147;
  --tec-font-family-sans-serif:Inter,"Helvetica Neue",Arial,sans-serif}
.tribe-events .tribe-events-c-top-bar__datepicker-button,.tribe-events .tribe-events-calendar-list__month-separator-text{font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:700;color:#104147;font-variant-numeric:lining-nums}
.tribe-events .tribe-events-calendar-month__day-date,.tribe-events .tribe-events-calendar-month__day-date-daynum{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;font-variant-numeric:lining-nums tabular-nums}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button,.tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button{border-radius:8px}

.single-tribe_events .tribe-events-single-event-title{font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:700;color:#104147;font-size:clamp(32px,4.4vw,52px);line-height:1.04;letter-spacing:-.005em;text-wrap:balance}
.single-tribe_events .tribe-events-single-event-title::before{content:"";display:block;width:56px;height:3px;border-radius:2px;background:var(--sa-season);margin-bottom:16px}
.single-tribe_events .tribe-events-schedule h2,.single-tribe_events .tribe-events-schedule .tribe-events-schedule__datetime{font-family:"EB Garamond",Georgia,serif !important;font-weight:600;font-size:22px;color:#0f0f10}
.single-tribe_events .tribe-events-back a{font-weight:700;color:#104147;font-size:13.5px;text-decoration:none}
.single-tribe_events .tribe-events-single-section-title{font-family:"EB Garamond",Georgia,serif !important;font-weight:600;font-size:18px;color:#104147;letter-spacing:0;text-transform:none}
.single-tribe_events .tribe-events-content{font-size:17px;line-height:1.65;max-width:42em}


.single-tribe_events .tribe-events-sub-nav a,.single-tribe_events .tribe-events-nav-pagination a{color:#104147 !important;font-weight:600}
.tribe-events .tribe-events-l-container{padding-top:36px !important;padding-bottom:48px !important;min-height:0 !important}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title{color:#0f0f10}

/* ---- C. pages not built on the kit (privacy policy today) ---- */
body.page .inside-article:not(:has(#smdpk)){padding:48px 24px 56px !important;max-width:800px;margin:0 auto}
body.page .inside-article:not(:has(#smdpk)) :is(h1,h2){font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:700 !important;color:#104147 !important;font-size:clamp(32px,4.4vw,48px) !important;line-height:1.05;letter-spacing:0}
body.page .inside-article:not(:has(#smdpk)) :is(h3,h4){font-family:"EB Garamond",Georgia,serif !important;font-weight:600 !important;color:#104147 !important;font-size:20px !important}
body.page .inside-article:not(:has(#smdpk)),body.page .inside-article:not(:has(#smdpk)) :is(p,li){font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.7;color:#0f0f10}
body.page .inside-article:not(:has(#smdpk)) strong{color:#104147}

/* ---- D. site frame: close the white gaps the theme leaves above and below the page content ---- */
body.separate-containers .site-main{margin-top:0;margin-bottom:0}

/* ---- E. site title in the brand serif (design seats' motion, carried 2026-11-28). It was Martel Sans, left over from the old theme's settings. ---- */
.site-header .main-title,.site-header .main-title a{font-family:"Cormorant Garamond",Georgia,serif !important;font-weight:700 !important;letter-spacing:.005em;color:#104147 !important}
.site-header .main-title{font-size:46px}
/* phones: sized so the parish name stays on one line ("Saint Mariana de Paredes" / "Catholic Church") */
@media (max-width:768px){.site-header .main-title{font-size:clamp(19px,5.6vw,30px);line-height:1.08}.site-header .inside-header{padding-left:20px;padding-right:20px}}
@media (max-width:600px){.site-header .main-title{max-width:13em}}

/* ---- F. Advent theming pass (2026-11-28, Daniel: the teal anchor is loosened; brand spec amended the same day).
   Teal stays the mark, the headings, the buttons and the everyday anchor. In ADVENT (and on Gaudete Sunday) the season takes the
   structural colour: section rules, hero kickers, callout borders, the menu bar's rule, the contact strip, the footer and the homepage's formation band.
   Other seasons are unchanged until ruled. ---- */
body.smdp-season-advent,body.smdp-season-gaudete{--sa-chrome:#3B2459;--sa-chrome-2:#56357a}
body.smdp-season-advent #smdpk .rule,body.smdp-season-gaudete #smdpk .rule{background:var(--sa-season)}
body.smdp-season-advent #smdpk .hero .kick{color:var(--sa-season)}
body.smdp-season-advent #smdpk .callout,body.smdp-season-gaudete #smdpk .callout{border-left-color:var(--sa-season)}
body.smdp-season-advent .main-navigation,body.smdp-season-gaudete .main-navigation{border-bottom-color:var(--sa-chrome)}
body.smdp-season-advent .main-navigation .main-nav ul li a:hover,body.smdp-season-advent .main-navigation .main-nav ul li[class*=current]>a,body.smdp-season-gaudete .main-navigation .main-nav ul li a:hover,body.smdp-season-gaudete .main-navigation .main-nav ul li[class*=current]>a{color:var(--sa-chrome-2)}
body.smdp-season-advent .main-navigation .main-nav ul ul li a:hover,body.smdp-season-gaudete .main-navigation .main-nav ul ul li a:hover{color:var(--sa-chrome-2)}
body.smdp-season-advent .site-info,body.smdp-season-gaudete .site-info{background-color:var(--sa-chrome) !important}
body.smdp-season-advent #smdpk .strip,body.smdp-season-gaudete #smdpk .strip{background:var(--sa-chrome)}
body.smdp-season-advent #smdpk .regband,body.smdp-season-gaudete #smdpk .regband{background:var(--sa-chrome)}
