/*
Theme Name: Seasons of Light and Life
Author: DOES THIS HELP®
Version: 2.2
Description: A seasonal community and family publication theme.
Requires PHP: 7.4
Text Domain: seasons-of-light
*/
:root{--accent:#A18AC4;--ink:#283a59;--paper:#f4f5fa;--gold:#e6c77b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 Georgia,serif}body:where(.season-spring){--paper:#f7f3e8;--ink:#354b36;--gold:#829b76}body:where(.season-summer){--paper:#fff2d5;--ink:#294d52;--gold:#e9b949}body:where(.season-autumn){--paper:#f5e6cf;--ink:#67432e;--gold:#b96b36}a{color:inherit;text-underline-offset:4px}header,footer,main,.season-banner{padding:24px max(5vw,calc((100vw - 1100px)/2))}header{border-bottom:3px solid var(--accent)}.brand{font-size:clamp(26px,5vw,46px);font-weight:bold;text-decoration:none}nav ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0}nav ul ul{display:block}.season-banner{background:var(--ink);color:white;padding-top:48px;padding-bottom:48px}.season-banner h1{font-size:clamp(32px,6vw,64px);line-height:1.1;margin:12px 0}.lights{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px}.lights i{width:10px;height:16px;background:#ffe5a0;border-radius:50%;box-shadow:0 0 14px #ffe5a0}.lights i:nth-child(3n){background:#cdb6f5;box-shadow:0 0 14px #cdb6f5}.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:36px}article,aside{background:#ffffffb8;padding:24px;border-top:3px solid var(--accent);margin-bottom:24px}article img{max-width:100%;height:auto}h2,h3{line-height:1.25}.calendar{list-style:none;padding:0}.calendar li{padding:10px 0;border-bottom:1px solid #aaa5}.calendar time{display:block;font:14px system-ui}footer{border-top:2px solid var(--accent)}.screen-reader-text{position:absolute;clip:rect(0,0,0,0)}@media(max-width:720px){.layout{grid-template-columns:1fr}article,aside{padding:16px}}@media(prefers-reduced-motion:no-preference){.lights i{animation:none}}

body{background-image:radial-gradient(circle at 15% 15%,var(--gold) 0,transparent 32%),linear-gradient(135deg,var(--paper),#fff);background-attachment:fixed}header{background:var(--paper);border-bottom:5px double var(--ink)}.season-banner{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--ink) 65%,#29253c);border-bottom:8px double var(--gold);isolation:isolate}.season-banner h1,.season-banner p{position:relative;z-index:1;max-width:75%}.season-symbol{position:absolute;right:8%;bottom:-.25em;font-size:clamp(100px,24vw,300px);line-height:1;color:var(--gold);opacity:.28;z-index:0}article,aside{border-radius:4px 20px 4px 20px;border-top:5px solid var(--ink);box-shadow:0 6px 24px #00000012}aside h2{border-bottom:3px double var(--gold);padding-bottom:12px}footer{background:var(--ink);color:white;border-top:5px double var(--gold)}.brand{color:var(--ink)}a:focus-visible{outline:3px solid currentColor;outline-offset:4px}.lights{position:relative;z-index:1}.lights i{flex-shrink:0}@media(max-width:600px){.lights{gap:4px}.lights i{width:6px;height:10px}.season-banner h1,.season-banner p{max-width:100%}}

/* Responsive branding and content, without cropping original artwork. */
body > header .custom-logo-link{display:block;width:fit-content;max-width:100%;margin:0 0 12px}
body > header img.custom-logo{display:block;width:auto;height:auto;max-width:100%;max-height:220px;object-fit:contain}
body > header .brand{display:block;max-width:100%;overflow-wrap:anywhere;line-height:1.2}
.layout > section,.layout > aside,article{min-width:0;overflow-wrap:anywhere}
article img,article video,article iframe{max-width:100%}
@media(max-width:720px){body > header img.custom-logo{max-height:150px}body > header .brand{font-size:clamp(18px,5vw,28px)}.layout{grid-template-columns:minmax(0,1fr)}.lights{gap:3px}.lights i{flex:0 1 6px;min-width:0}}

.sol-header{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}.sol-header .sol-logo{max-width:150px;width:100%;margin-bottom:12px}.sol-header .sol-logo a{display:block;width:100%;max-width:100%}.sol-header .sol-logo img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:150px!important;object-fit:contain!important}.sol-header .brand{font-size:clamp(18px,4vw,38px);overflow-wrap:anywhere}.layout{width:100%;min-width:0}.layout>*{min-width:0}.lights i{min-width:0;flex-shrink:1}img,video{max-width:100%;height:auto} @media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}.sol-header .brand{font-size:clamp(18px,5vw,28px)}.lights{gap:4px}}
