
/*
Theme Name: Radovic Modern
Description: Pregledna, prilagodljiva školska tema za OŠ „Dušan Radović“ Pirot.
Version: 0.1.9
Requires at least: 5.4
Requires PHP: 7.4
Author: Dejan Kocić
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radovic-modern
*/
:root{--navy:#142d45;--ink:#162d40;--muted:#586773;--paper:#f7f7f2;--line:#dce1dc;--orange:#bd4c2a;--mint:#e2ebe2;--blue:#e1e9f0;--radius:14px;--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:hover{color:var(--orange)}img{max-width:100%;height:auto;display:block}svg{width:24px;height:24px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}p{margin-bottom:1em}button{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #bf5934;outline-offset:5px}[hidden]{display:none!important}.wrap{width:min(var(--max),calc(100% - 64px));margin:auto}.skip-link{position:fixed;left:18px;top:-100px;z-index:1000;background:white;padding:12px}.skip-link:focus{top:12px}.sr-only,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.demo-bar{background:#e9eddd;padding:9px 16px;text-align:center;font-size:12px;letter-spacing:.02em}.demo-bar a{text-decoration:underline;margin-left:12px}.topbar{background:var(--navy);color:#e3eaf0;font-size:12px}.topbar .wrap{min-height:37px;display:flex;justify-content:space-between;align-items:center;gap:20px}.topbar a:hover{color:white;text-decoration:underline}.topbar-links{display:flex;gap:24px}.topbar .location{display:flex;gap:7px;align-items:center}.topbar svg{width:14px;height:14px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px}.identity{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand-mark{width:53px;height:60px;border-radius:3px 3px 20px 20px;background:var(--navy);color:#fff;display:grid;place-items:center}.brand-mark svg{width:30px;height:30px}.brand-name{font-size:21px;font-weight:700;letter-spacing:-.04em;line-height:1.15;display:block}.brand-meta{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.19em;margin-top:7px;color:var(--muted)}.custom-logo-link img{width:auto;max-height:65px;max-width:90px}.primary-nav .nav-list{display:flex;align-items:center;gap:25px;margin:0;padding:0;list-style:none}.nav-list li{position:relative;list-style:none;margin:0}.nav-list>li>a{font-size:13px;font-weight:600;display:inline-block;padding:35px 0;white-space:nowrap}.nav-list .current-menu-item>a,.nav-list .active{color:var(--orange)}.nav-list .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;width:max-content;max-width:300px;padding:9px;background:#fff;border:1px solid var(--line);border-radius:0 0 10px 10px;box-shadow:0 15px 25px #142d4510}.nav-list .sub-menu a{display:block;padding:9px 12px;font-size:13px;white-space:normal}.nav-list .sub-menu .sub-menu{left:100%;top:0}.submenu-toggle{background:none;border:0;padding:4px;margin-left:1px;vertical-align:middle;line-height:1}.submenu-toggle svg{width:13px;height:13px}.nav-list li.submenu-open>.sub-menu,.nav-list li:focus-within>.sub-menu,.nav-list li:hover>.sub-menu{display:block}.nav-list>li:last-child>.sub-menu{left:auto;right:0}.header-actions{display:flex;gap:16px;align-items:center}.icon-button{border:0;background:none;display:grid;place-items:center;min-width:40px;min-height:44px;padding:8px}.menu-button{display:none}.search-panel{border-top:1px solid var(--line);padding:20px 0;background:#fff}.search-form{display:flex;max-width:700px;gap:10px}.search-form label{flex:1}.search-field{width:100%;border:1px solid #b8c3c5;border-radius:7px;min-height:48px;padding:9px 15px;background:#fff}.search-submit{border:0;border-radius:7px;background:var(--navy);color:#fff;padding:10px 22px}.hero{padding:58px 0 50px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:55px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin-bottom:26px}.eyebrow:before{content:"";width:24px;height:2px;background:var(--orange);display:inline-block}.hero h1{font-size:clamp(38px,4.6vw,66px);font-weight:700;line-height:1.07;margin-bottom:24px}.hero h1 em{font-style:normal;color:var(--orange)}.hero .lead{font-size:16px;color:var(--muted);max-width:430px;line-height:1.8;margin-bottom:28px}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:49px;padding:12px 23px;border-radius:6px;font-size:13px;font-weight:700;border:1px solid transparent}.button.primary{background:var(--navy);color:#fff}.button.primary:hover{background:#24465d}.button svg{width:17px;height:17px}.text-link{display:inline-flex;gap:12px;align-items:center;font-size:13px;font-weight:700}.text-link svg{width:17px;height:17px}.hero-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;margin-top:35px}.hero-note span{width:7px;height:7px;background:#547c60;border-radius:50%}.hero-art{position:relative;aspect-ratio:1.12;border-radius:48% 48% 7px 7px;background:#e2e9e0;isolation:isolate;overflow:hidden}.hero-art>img{height:100%;width:100%;object-fit:cover}.hero-art .art-main{width:100%;height:100%}.art-tag{position:absolute;bottom:23px;left:22px;background:var(--paper);padding:11px 17px;display:flex;align-items:center;gap:12px;border-radius:5px;box-shadow:0 7px 20px #142d450d}.art-tag strong{font-size:28px;letter-spacing:-.05em;line-height:1}.art-tag span{font-size:10px;line-height:1.45;color:var(--muted);max-width:82px}.quick-section{padding:0 0 60px}.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0}.quick-link{display:flex;align-items:center;gap:16px;padding:4px 24px;border-right:1px solid var(--line)}.quick-link:first-child{padding-left:0}.quick-link:last-child{border:0;padding-right:0}.quick-icon{width:44px;height:44px;border-radius:50%;background:#e8ece4;display:grid;place-items:center;flex-shrink:0}.quick-link:nth-child(2) .quick-icon{background:#efe4da}.quick-link:nth-child(3) .quick-icon{background:#e2e9f0}.quick-link:nth-child(4) .quick-icon{background:#eee8d6}.quick-icon svg{width:21px;height:21px}.quick-link strong{font-size:13px;display:block;line-height:1.3}.quick-link small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.section-head .eyebrow{margin-bottom:10px}.section-head h2{font-size:35px;margin:0}.news-section{padding-bottom:72px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.news-card{min-width:0;background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.news-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #142d450c}.news-image{aspect-ratio:1.7;display:block;overflow:hidden;background:var(--mint)}.news-image img{width:100%;height:100%;object-fit:cover}.news-art{display:grid;place-items:center;position:relative;overflow:hidden;width:100%;height:100%;background:#e7d9ca}.news-art svg{height:75%;width:70%}.news-card:nth-child(3n+2) .news-art{background:#e0e7df}.news-card:nth-child(3n+3) .news-art{background:#dce6ee}.news-copy{padding:24px;display:flex;flex-direction:column;flex:1}.post-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:15px}.category-label{background:#eff2eb;border-radius:4px;padding:3px 8px;color:#3a5946}.news-card h3{font-size:22px;margin-bottom:12px;letter-spacing:-.025em;line-height:1.28;overflow-wrap:anywhere}.news-copy p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:22px}.news-copy>.text-link{margin-top:auto;font-size:11px}.info-section{background:#ecefe8;padding:62px 0}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.info-grid h2{font-size:34px;margin-bottom:18px}.info-intro{font-size:14px;color:var(--muted);max-width:390px}.resource-list{margin:28px 0 0;padding:0;list-style:none;border-top:1px solid #ccd6cd}.resource-list a{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid #ccd6cd;font-size:13px}.resource-list span{display:flex;gap:12px;align-items:center}.resource-list svg{width:18px;height:18px}.schedule-box{border:1px solid #d2dcd2;background:#fff;border-radius:var(--radius);padding:29px}.schedule-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.schedule-heading h3{font-size:20px;margin:0}.schedule-heading>svg{color:#5a7465}.shift-switch{display:flex;gap:4px;background:#f0f2ec;border-radius:6px;padding:4px;margin-bottom:19px}.shift-switch button{flex:1;border:0;background:transparent;font-size:10px;line-height:1.4;padding:9px 6px;border-radius:4px;min-height:40px}.shift-switch button[aria-pressed=true]{background:var(--navy);color:white}.schedule-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.schedule-table th{text-align:left;color:var(--muted);font-size:10px;font-weight:400;padding:0 8px 8px}.schedule-table td{padding:8px;border-top:1px solid #edf0eb}.schedule-table td:last-child{text-align:right}.schedule-table th:last-child{text-align:right}.schedule-box .text-link{margin-top:19px;font-size:11px}.about-section{padding:67px 0}.about-band{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;background:var(--navy);color:white;padding:45px 48px;border-radius:var(--radius);position:relative;overflow:hidden}.about-band h2{font-size:35px;max-width:480px;margin-bottom:15px}.about-band p{font-size:13px;line-height:1.9;max-width:500px;color:#d2dee6;margin-bottom:0}.about-band .eyebrow:before{background:#efbfa0}.about-band .eyebrow{color:#efcdb6;margin-bottom:17px}.about-links{display:flex;gap:16px;flex-direction:column;align-items:stretch;padding-left:30px;border-left:1px solid #486072}.about-links a{padding:17px 0;border-bottom:1px solid #486072;display:flex;justify-content:space-between;align-items:center;font-size:13px}.about-links a:hover{color:#efcdb6}.about-links svg{width:18px;height:18px}.site-footer{background:#fff;padding:48px 0 0;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:65px;padding-bottom:42px}.footer-intro{max-width:300px;color:var(--muted);font-size:12px;margin:20px 0 0}.footer-heading{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:20px}.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:12px}.contact-row{display:flex;gap:10px;align-items:start;margin-bottom:13px;font-size:12px}.contact-row svg{width:17px;height:17px;margin-top:2px}.footer-bottom{border-top:1px solid var(--line);padding:19px 0;font-size:10px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-bottom a{text-decoration:underline}.content-shell{padding:55px 0 75px;min-height:50vh}.content-heading{margin-bottom:34px;max-width:950px}.content-heading h1{font-size:clamp(30px,4vw,48px);overflow-wrap:anywhere}.content-heading .eyebrow{margin-bottom:16px}.entry-content{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,5vw,60px);max-width:950px;overflow-wrap:anywhere}.entry-content p,.entry-content li{line-height:1.85}.entry-content a{color:#255f8d;text-decoration:underline}.entry-content h2{font-size:28px;margin-top:30px}.entry-content h3{font-size:23px;margin-top:25px}.entry-content table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px}.entry-content iframe,.entry-content video{max-width:100%}.entry-content img{height:auto;max-width:100%}.entry-content .aligncenter{margin-left:auto;margin-right:auto}.entry-content .alignleft{float:left;margin:0 25px 20px 0}.entry-content .alignright{float:right;margin:0 0 20px 25px}.entry-content:after{content:"";display:table;clear:both}.entry-content .wp-caption{max-width:100%}.wp-caption-text{font-size:12px;color:var(--muted)}.entry-featured{max-width:950px;margin-bottom:28px;border-radius:var(--radius);max-height:500px;object-fit:cover;width:100%}.pagination,.nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:35px}.page-numbers{padding:8px 15px;background:#fff;border:1px solid var(--line);border-radius:4px}.page-numbers.current{background:var(--navy);color:white}.comments-area{max-width:950px;margin-top:40px}.comment-list{padding-left:24px}.comment-list li{margin-bottom:20px}.comment-form textarea{width:100%;max-width:100%;min-height:130px}.comment-form input:not([type=checkbox]):not([type=submit]){display:block;width:min(100%,450px);padding:10px}.comment-form .submit{padding:12px 22px;background:var(--navy);color:#fff;border:0;border-radius:6px}.comment-form label{display:block}.comment-form-cookies-consent label{display:inline}.post-navigation{max-width:950px;margin:30px 0}.post-navigation .nav-links{justify-content:space-between;gap:20px}.post-navigation .nav-previous,.post-navigation .nav-next{flex:1;max-width:48%;font-size:13px}.post-navigation a{text-decoration:underline}.no-results{padding:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
@media(min-width:1500px){.hero{padding-top:72px;padding-bottom:60px}.hero h1{font-size:68px}}
@media(max-width:1150px){.primary-nav .nav-list{gap:17px}.nav-list>li>a{font-size:12px}.header-inner{gap:16px}.brand-name{font-size:19px}.brand-mark{width:44px;height:52px}.hero-grid{gap:32px}.quick-link{gap:10px;padding:4px 15px}.quick-link strong{font-size:12px}.quick-icon{width:37px;height:37px}.info-grid{gap:40px}}
@media(max-width:980px){.menu-button{display:grid}.primary-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:10px 32px 24px;box-shadow:0 15px 25px #142d4510;max-height:75vh;overflow:auto}.primary-nav.is-open{display:block}.primary-nav .nav-list{display:block}.nav-list>li>a{font-size:15px;padding:13px 0}.nav-list .sub-menu{position:static;width:100%;max-width:100%;box-shadow:none;border:0;padding:0 0 0 15px;background:#f6f7f2}.nav-list li:hover>.sub-menu{display:none}.nav-list li.submenu-open>.sub-menu,.nav-list li.submenu-open:hover>.sub-menu{display:block}.nav-list .sub-menu .sub-menu{position:static}.submenu-toggle{padding:10px;margin-left:12px}.submenu-toggle svg{width:17px;height:17px}.header-inner{min-height:88px}.hero h1{font-size:45px}.news-copy{padding:20px}.news-card h3{font-size:20px}.info-grid{gap:30px}.footer-grid{gap:35px}.about-band{padding:36px}.about-band h2{font-size:30px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.topbar .wrap{min-height:33px}.topbar .location{font-size:10px}.topbar-links{gap:14px;font-size:10px}.topbar-links .desktop-only{display:none}.header-inner{min-height:80px}.brand-meta{font-size:9px}.brand-name{font-size:19px}.brand-mark{width:39px;height:46px;border-radius:3px 3px 16px 16px}.brand-mark svg{width:25px;height:25px}.identity{gap:10px}.header-actions{gap:3px}.hero{padding-top:36px;padding-bottom:30px}.hero-grid{grid-template-columns:1fr;gap:35px}.hero h1{font-size:clamp(42px,8vw,58px);max-width:560px}.hero .eyebrow{font-size:10px;margin-bottom:19px}.hero .lead{font-size:15px;max-width:520px}.hero-note{margin-top:22px}.hero-art{aspect-ratio:1.55;max-width:650px;border-radius:45% 45% 8px 8px}.hero-art .art-main{transform:translateY(-5%) scale(.95)}.quick-section{padding-bottom:40px}.quick-links{grid-template-columns:1fr 1fr;padding:8px 0}.quick-link,.quick-link:first-child,.quick-link:last-child{padding:17px 10px;border:0}.quick-link:nth-child(odd){border-right:1px solid var(--line)}.quick-link:nth-child(-n+2){border-bottom:1px solid var(--line)}.quick-link strong{font-size:12px}.quick-link small{font-size:10px}.section-head h2{font-size:30px}.section-head>.text-link{font-size:11px;white-space:nowrap}.news-grid{grid-template-columns:1fr;gap:22px}.news-card h3{font-size:23px}.news-copy{padding:23px}.news-image{aspect-ratio:1.9}.news-section{padding-bottom:42px}.info-section{padding:40px 0}.info-grid{grid-template-columns:1fr;gap:34px}.info-grid h2{font-size:30px}.schedule-box{padding:23px}.shift-switch button{font-size:11px}.about-section{padding:40px 0}.about-band{grid-template-columns:1fr;padding:30px 25px;gap:25px}.about-band h2{font-size:29px}.about-links{padding:0;border-left:0}.about-links a{padding:14px 0}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-grid>div:first-child{grid-column:1/-1}.footer-intro{max-width:440px}.footer-bottom{flex-direction:column;align-items:start;gap:7px}.site-footer{padding-top:34px}.primary-nav{padding-left:18px;padding-right:18px}.demo-bar{font-size:10px}.demo-bar a{margin-left:7px}.entry-content .alignleft,.entry-content .alignright{float:none;margin:20px 0}.content-shell{padding-top:35px}.art-tag{bottom:17px;left:17px;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.topbar,.header-actions,.primary-nav,.demo-bar,.quick-section,.site-footer,.button-row{display:none}.hero-grid,.info-grid,.news-grid{display:block}.news-card{break-inside:avoid;margin-bottom:20px}.hero-art{display:none}.wrap{width:100%}body{background:#fff;color:#000}.entry-content{border:0;padding:0}.site-header{position:static}.about-band{background:white;color:black}.about-band p{color:black}}

/* Supplied school identity and photograph. */
.school-logo{width:66px;height:66px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:50%}
.school-logo-link{display:block;flex-shrink:0}
.hero-art.is-school-photo{aspect-ratio:1.56;border-radius:16px;background:#d9e5e7;box-shadow:0 14px 30px #142d4510}
.hero-art.is-school-photo>img{object-position:38% 50%;transform:none}
.hero-art.is-school-photo .art-tag{bottom:16px;left:16px}
@media(max-width:1150px){.school-logo{width:58px;height:58px}}
@media(max-width:760px){.school-logo{width:52px;height:52px}.hero-art.is-school-photo{aspect-ratio:1.82;border-radius:14px}}
@media(max-width:380px){.school-logo{width:44px;height:44px}.brand-name{font-size:16px}.brand-meta{font-size:8px;letter-spacing:.1em}.header-inner{gap:9px}.header-actions{gap:1px}.header-actions .icon-button{min-width:34px;width:34px;padding:5px}}

/* Longer school motto in the introductory heading. */
.hero h1.hero-motto{font-size:clamp(34px,4vw,56px);line-height:1.14}

/* Important school portals. */
.quick-section{padding-bottom:26px}
.services-section{padding-bottom:56px}
.service-banners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.service-banner{display:grid;grid-template-columns:52px minmax(0,1fr) 22px;align-items:center;gap:20px;padding:27px;border:1px solid #d1ded0;border-radius:14px;background:#e2ebe2;color:var(--ink);transition:transform .2s,box-shadow .2s}
.service-banner:hover{color:var(--ink);transform:translateY(-3px);box-shadow:0 9px 24px #142d4510}
.service-banner.esdnevnik{background:var(--navy);border-color:var(--navy);color:#fff}
.service-banner.esdnevnik:hover{background:#20415a;color:#fff}
.service-banner-icon{width:52px;height:60px;display:grid;place-items:center;background:#ffffff91;border-radius:10px}
.service-banner-icon svg{width:29px;height:29px}
.esdnevnik .service-banner-icon{background:#ffffff13}
.service-banner-kicker{display:block;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:7px;color:#3a5946}
.esdnevnik .service-banner-kicker{color:#c7dacb}
.service-banner h2{font-size:22px;line-height:1.25;letter-spacing:-.025em;margin:0 0 9px}
.service-banner p{font-size:12px;line-height:1.7;color:#46594a;margin:0 0 15px}
.esdnevnik p{color:#d2dee6}
.service-banner-action{font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.service-banner-arrow svg{width:20px;height:20px;transform:rotate(-45deg)}
@media(max-width:980px){.service-banner{padding:22px;gap:15px;grid-template-columns:44px minmax(0,1fr) 20px}.service-banner-icon{width:44px;height:52px}.service-banner h2{font-size:20px}}
@media(max-width:760px){.quick-section{padding-bottom:24px}.services-section{padding-bottom:40px}.service-banners{grid-template-columns:1fr;gap:16px}.service-banner{padding:23px 20px;gap:14px}}
@media print{.services-section{display:none}}

/* Readable navigation and the school name on two lines. */
.identity{min-width:0;flex-shrink:1}
.brand-copy{min-width:0}
.brand-meta{font-size:13px;font-weight:600;line-height:1.3;letter-spacing:.04em;text-transform:none;margin:0 0 5px;color:#526575}
.brand-name{font-size:24px;line-height:1.2;letter-spacing:-.025em;white-space:nowrap}
.identity .custom-logo-link{flex-shrink:0}
.identity .custom-logo-link img{max-width:66px;max-height:66px}
.nav-list li.menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center}
.nav-list li.menu-item-has-children>a{min-width:0}
.nav-list .submenu-toggle{display:grid;place-items:center;min-width:32px;min-height:44px;padding:8px;margin:0;line-height:1}
.nav-list .submenu-toggle svg{width:16px;height:16px}
.nav-list .sub-menu a{font-size:14px;line-height:1.5}
@media(min-width:981px){
 .site-header .header-inner{min-height:0;flex-wrap:wrap;gap:14px 24px;padding-top:16px}
 .site-header .header-actions{margin-left:auto}
 .site-header .primary-nav{flex:0 0 100%;min-width:0;border-top:1px solid var(--line)}
 .primary-nav .nav-list{flex-wrap:wrap;gap:0 22px;align-items:center}
 .primary-nav .nav-list>li{flex:0 0 auto;max-width:100%}
 .primary-nav .nav-list>li>a{font-size:15px;line-height:1.5;padding:15px 0;white-space:normal}
}
@media(min-width:981px) and (max-width:1150px){.primary-nav .nav-list{column-gap:18px}}
@media(max-width:980px){
 .nav-list li.menu-item-has-children>.sub-menu{grid-column:1/-1;min-width:0}
 .primary-nav .nav-list>li>a{font-size:16px;line-height:1.5;white-space:normal}
 .nav-list .submenu-toggle{min-height:48px}
 .nav-list .sub-menu a{font-size:15px}
 .brand-name{font-size:23px}
}
@media(max-width:760px){
 .brand-name{font-size:20px;white-space:normal}
 .brand-meta{font-size:12px;margin-bottom:4px}
 .identity .custom-logo-link img{max-width:52px;max-height:52px}
 .site-header .header-inner{gap:12px}
}
@media(max-width:380px){
 .brand-name{font-size:17px}
 .brand-meta{font-size:11px;letter-spacing:.02em}
 .identity .custom-logo-link img{max-width:44px;max-height:44px}
 .site-header .header-inner{gap:9px}
}

/* Full bell schedules and the parent-page portal. */
.bell-schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bell-schedule-card{min-width:0;padding:22px 18px;border:1px solid var(--line);border-radius:12px;background:#f8f9f5}
.entry-content .bell-schedule-card h2{font-size:20px;line-height:1.3;letter-spacing:-.025em;margin:0 0 20px;min-height:2.6em}
.entry-content .bell-schedule-table{display:table;width:100%;max-width:100%;table-layout:fixed;overflow:visible;border-collapse:collapse;font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}
.entry-content .bell-schedule-table th,.entry-content .bell-schedule-table td{border:0;border-bottom:1px solid var(--line);padding:11px 0;vertical-align:middle;overflow-wrap:anywhere}
.entry-content .bell-schedule-table thead th{font-size:12px;color:var(--muted);font-weight:600;text-align:left}
.entry-content .bell-schedule-table th:first-child{width:32%;text-align:left}
.entry-content .bell-schedule-table th[scope=row]{font-weight:400}
.entry-content .bell-schedule-table td,.entry-content .bell-schedule-table thead th:last-child{text-align:right}
.entry-content .bell-schedule-table tr:last-child th,.entry-content .bell-schedule-table tr:last-child td{border-bottom:0}
.entry-content>.service-banner{margin-bottom:28px;text-decoration:none}
.entry-content .service-banner h2{font-size:24px;line-height:1.25;margin:0 0 9px}
.entry-content .service-banner p{line-height:1.7}
.service-banners--single{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){
 .bell-schedule-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .entry-content .bell-schedule-card h2{min-height:0;margin-bottom:16px}
 .entry-content .bell-schedule-table{font-size:16px}
 .bell-schedule-card{padding:23px 20px}
}
@media(max-width:480px){
 .bell-schedule-card{padding:21px 15px}
 .entry-content .bell-schedule-table{font-size:15px}
 .entry-content .service-banner{grid-template-columns:40px minmax(0,1fr);gap:14px;padding:22px 16px}
 .entry-content .service-banner h2{font-size:21px}
 .entry-content .service-banner-arrow{display:none}
}

/* School copyright and author credit. */
.footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:start;font-size:12px;line-height:1.7;color:#526575}
.footer-legal{min-width:0}
.footer-legal p{margin:0}
.footer-legal .footer-credit{margin-top:5px}
.footer-credit strong{font-weight:600;color:var(--ink)}
@media(max-width:760px){.footer-bottom{grid-template-columns:minmax(0,1fr);gap:12px}.footer-bottom>a{justify-self:start}}

/* The two top-level headings open their submenus without navigation. */
.primary-nav .nav-list>li.menu-heading{grid-template-columns:minmax(0,1fr)}
.primary-nav .nav-list>.menu-heading:not(.submenu-open)>.sub-menu{display:none}
.primary-nav .nav-list .submenu-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:54px;margin:0;padding:15px 0;border:0;background:none;text-align:left;font-size:15px;font-weight:600;line-height:1.5;color:inherit}
.primary-nav .nav-list .submenu-heading:hover,.primary-nav .nav-list .submenu-heading[aria-expanded=true],.nav-list .current-menu-ancestor>.submenu-heading,.nav-list .current-menu-item>.submenu-heading{color:var(--orange)}
.primary-nav .nav-list .submenu-heading>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:980px){.primary-nav .nav-list .submenu-heading{font-size:16px;padding:13px 0;min-height:50px}}
