/* Production adjustments: V7/V8 portal, strict grid, no stacked navigation. */
:root{color-scheme:light}
html{overflow-x:hidden}
.page{overflow:clip}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{flex:1 1 auto;min-width:0}
.masthead-burger{display:none;flex:0 0 42px;margin-left:auto}
.nav-shell{min-width:0}
.primary-nav{min-width:0;gap:5px}
.primary-nav a{min-width:0;overflow-wrap:anywhere}
.hero-main{min-width:0}
.hero .date-bar{margin:10px 0 0}
.main-layout{grid-template-columns:220px minmax(0,1fr) 248px;min-width:0}
.main-column,.left-column,.right-column{min-width:0}
.panel-content,.holiday,.event-row,.article-copy{overflow-wrap:anywhere}
.month-excerpts{font-size:12px;line-height:1.65}
.calendar a{display:block;padding:5px 0;color:#562557;font-weight:700}
.calendar a.today{background:#bdebd5;color:#1b4c3d}
.calendar-top{margin-bottom:7px}
.calendar-top a{font-size:11px;color:#4a2053}
.month-select{grid-template-columns:repeat(3,minmax(0,1fr))}
.zodiac{grid-template-columns:repeat(3,minmax(0,1fr))}
.zodiac a{min-width:0;padding:8px 3px;min-height:44px;overflow-wrap:break-word;word-break:normal}
.holiday h3 a{overflow-wrap:anywhere}
.ad-slot{width:100%;max-width:100%;margin:10px 0;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ad-slot>*{max-width:100%}
.ad-top{margin:0 0 10px}
.ad-middle{margin:0}
.ad-bottom{margin:0}
.ad-slot iframe{max-width:100%}
.article-copy table{max-width:100%;display:block;overflow-x:auto}
.article-copy img{max-width:100%;height:auto}
.names-columns .name-entry{overflow-wrap:anywhere}
@media(max-width:1180px){.main-layout{grid-template-columns:220px minmax(0,1fr)}.right-column{min-width:0}}
@media(max-width:900px){
 .masthead{padding:10px;flex-wrap:nowrap}
 .brand{flex:1 1 auto;gap:8px}
 .masthead-right{display:none!important}
 .masthead-burger{display:grid;place-items:center;flex:0 0 42px;position:relative;z-index:3;margin-left:auto}
 .nav-shell{display:none;margin-top:-2px}
 .nav-shell.is-open{display:block}
 .primary-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .primary-nav a{display:flex;min-height:42px}
 /* The separate quick-access section disappears on mobile, but the ad immediately after it remains. */
 .ribbon{display:none!important}
 .hero{grid-template-columns:minmax(0,1fr)}
 .main-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'center' 'left' 'right'}
 .left-column,.right-column{grid-template-columns:minmax(0,1fr)}
 .ad-top{margin-top:0}
}
@media(max-width:620px){
 .brand-title{font-size:clamp(16px,4.2vw,19px)}
 .brand-caption{font-size:10px}
 .hero h1{font-size:clamp(26px,7vw,31px)}
 .month-select{grid-template-columns:repeat(3,minmax(0,1fr))}
 .zodiac{grid-template-columns:repeat(3,minmax(0,1fr))}
 .zodiac a{font-size:10px}
 .primary-nav{grid-template-columns:minmax(0,1fr)}
}
