/* Theme Name: Secusigiu Deschis
Author: Școala Gimnazială Secusigiu
Description: Temă pentru site-ul școlii, cu acces rapid, documente și navigare interactivă.
Version: 1.5.2
Requires at least: 6.0
Requires PHP: 7.3
License: GPL-2.0-or-later
*/
:root{--ink:#193b36;--green:#23624f;--soft:#eaf0e8;--gold:#e6ba69;--paper:#faf9f5;--muted:#66756e}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c79942;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.15}h2{font-size:clamp(30px,4vw,44px)}h3{font-size:24px}p{color:var(--muted)}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.topbar{background:var(--ink);color:#e2e9de;font-size:12px;padding:8px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:12px}.site-header{background:#faf9f5f5;border-bottom:1px solid #e1e5dd;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.navrow{display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:30px}.brand{display:flex;align-items:center;gap:12px;font:19px/1.15 Georgia,serif}.brand small{display:block;font:10px/2 system-ui;letter-spacing:2px;text-transform:uppercase}.mark{display:grid;place-items:center;width:46px;height:51px;color:var(--green);border:1px solid #9ba99d;border-radius:23px 23px 5px 5px;font:24px Georgia}.nav{display:flex;gap:24px;align-items:center;font-size:13px;font-weight:600}.nav a:hover{color:#a3762f}.iconbtn{background:transparent;border:1px solid #d5ded4;width:42px;height:42px;border-radius:50%;display:inline-grid;place-items:center}.nav-toggle{display:none}.hero{padding:64px 0 78px;position:relative;overflow:hidden}.herogrid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--green);margin-bottom:20px;display:block}.eyebrow:before{content:'';display:inline-block;width:25px;height:1px;background:currentColor;vertical-align:middle;margin-right:10px}h1{font-size:clamp(44px,5.5vw,72px);letter-spacing:-2px;margin:0 0 25px}h1 em{font-weight:400;color:var(--green)}.herotext{font-size:16px;max-width:430px;margin-bottom:30px}.buttons{display:flex;flex-wrap:wrap;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:7px;padding:13px 21px;border:1px solid #ccd6ca;background:transparent;font-size:13px;font-weight:650;transition:.2s}.btn:hover{background:var(--soft);transform:translateY(-2px)}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#184c3c}.visual{position:relative;padding:15px 0 20px}.visual:before{content:'';position:absolute;width:75%;height:85%;border-radius:50% 50% 5px 5px;right:-22px;top:-8px;background:#e4e8dc}.heroimage{position:relative;width:100%;height:420px;object-fit:cover;object-position:34% center;border-radius:180px 180px 12px 12px;display:block}.photo-caption{position:absolute;bottom:0;left:-25px;right:40px;padding:20px 24px;background:white;border-radius:8px;box-shadow:0 12px 35px #173b3012;display:flex;gap:15px;align-items:center}.photo-caption span{font:32px Georgia;color:#b28b46}.photo-caption strong{font:18px Georgia;display:block}.photo-caption small{font-size:11px;color:var(--muted)}.quick{margin-top:-18px;position:relative;padding-bottom:64px}.quickbox{border:1px solid #d9e1d7;background:white;border-radius:12px;padding:26px 32px}.quicktop{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.quicktop h2{font-size:26px}.tabs{display:flex;gap:3px;background:#f0f3ed;padding:4px;border-radius:8px;flex-wrap:wrap}.tabs button{border:0;background:transparent;padding:8px 19px;border-radius:5px;font-size:12px}.tabs button[aria-pressed=true]{background:var(--green);color:white}.quicklinks{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.quicklinks a{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#f6f7f2;border-radius:7px;font-size:13px;font-weight:600;transition:.2s}.quicklinks a:hover{background:#e3ecdf;transform:translateY(-2px)}.quicklinks b{font-size:20px;color:#5e7c66}.section{padding:65px 0}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.sectionhead .eyebrow{margin-bottom:12px}.sectionhead p{font-size:14px;margin-top:15px;max-width:520px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.news-card{border:1px solid #dfe4d9;background:white;border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.news-art{height:150px;display:flex;justify-content:space-between;align-items:center;padding:28px;background:#e5ebdf}.news-art b{font:62px Georgia;color:#43634b}.news-art span{font-size:11px;text-transform:uppercase;letter-spacing:2px;max-width:90px}.news-card:nth-child(2) .news-art{background:#efe6d6}.news-card:nth-child(2) .news-art b{color:#9c7849}.news-card:nth-child(3) .news-art{background:#e2e9ed}.news-card:nth-child(3) .news-art b{color:#5d7d8d}.news-content{padding:25px;display:flex;flex-direction:column;flex:1}.meta{display:flex;gap:10px;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:14px}.news-card h3{font-size:25px;margin-bottom:16px}.news-card p{font-size:13px;margin-bottom:20px}.textlink{font-size:12px;font-weight:700;display:inline-block;border-bottom:1px solid #bac9b7;padding-bottom:4px;margin-top:auto;align-self:start}.docs-section{background:#edf0e8}.docs-layout{display:grid;grid-template-columns:330px 1fr;gap:70px}.docs-layout h2{margin-bottom:20px}.docs-layout p{font-size:14px}.filterbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.filterbar button{border:1px solid #ccd6c8;border-radius:20px;background:transparent;padding:7px 15px;font-size:11px}.filterbar button[aria-pressed=true]{background:var(--ink);color:white}.doc{display:flex;gap:15px;align-items:center;padding:20px 0;border-bottom:1px solid #d3dccf}.doc-icon{width:39px;height:47px;flex-shrink:0;background:white;border:1px solid #d8dfd2;border-radius:4px;display:grid;place-items:center;font-size:10px;font-weight:700}.doc div{flex:1}.doc h3{font:15px system-ui;font-weight:600;margin-bottom:5px}.doc small{font-size:11px;color:var(--muted)}.doc .arrow{font-size:23px;padding:5px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project{padding:36px;border-radius:12px;background:#173e35;color:white;position:relative;overflow:hidden}.project:nth-child(2){background:#e7bc72;color:#342f25}.project h3{font-size:35px;margin:12px 0}.project p{color:inherit;opacity:.85;max-width:380px;font-size:14px;margin:18px 0 25px}.project .eyebrow{color:inherit}.project .btn{color:inherit;border-color:#ffffff55}.project:nth-child(2) .btn{border-color:#9a7c49}.schoolbox{display:grid;grid-template-columns:1fr 1.3fr;border:1px solid #dbe2d7;border-radius:12px;overflow:hidden}.schooltabs{background:#eef1e9;padding:20px}.schooltabs button{display:block;width:100%;text-align:left;border:0;border-radius:6px;background:transparent;padding:18px;font-size:15px;border-bottom:1px solid #d8e0d2}.schooltabs button[aria-pressed=true]{background:white;box-shadow:0 4px 15px #183b2e08}.schooltabs button span{float:right}.schooldetail{padding:40px;background:white}.schooldetail h3{font-size:31px;margin-bottom:20px}.schooldetail p{margin-bottom:22px;font-size:14px}.schooldetail small{display:block;font-size:11px;color:var(--muted);margin:20px 0 0}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery button{padding:0;border:0;background:none;text-align:left}.gallery img{width:100%;height:195px;object-fit:cover;border-radius:8px;transition:.25s}.gallery button:hover img{transform:translateY(-5px);box-shadow:0 10px 20px #193b361a}.gallery span{display:flex;justify-content:space-between;padding-top:10px;font-size:13px}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:80px}details{padding:20px 0;border-bottom:1px solid #d8dfd3}summary{cursor:pointer;font-weight:600;font-size:14px}details p{font-size:14px;padding:15px 0 0}details a{text-decoration:underline}.contact{background:var(--ink);padding:55px 0;color:white}.contact h2{font-size:40px}.contact p{color:#becfc3;font-size:14px;margin-top:15px}.contactgrid{display:grid;grid-template-columns:1.2fr 1fr;gap:50px}.contactlinks{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.contactlinks a{font-size:17px}.contactlinks small{color:#b8cebf;font-size:12px}footer{background:#13332e;color:#b4c6bb;font-size:11px;padding:20px 0}footer .wrap{display:flex;justify-content:space-between;gap:20px}.prototype{background:#fff4dc;padding:8px;text-align:center;font-size:11px;color:#715a2c}.search-dialog{width:min(670px,calc(100% - 30px));border:0;border-radius:14px;padding:28px;max-height:85vh;color:var(--ink)}dialog::backdrop{background:#0c2623b3;backdrop-filter:blur(4px)}.dialogtop{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.search-dialog input{width:100%;padding:15px;border:1px solid #ced8c9;border-radius:7px;background:#f7f8f4}.results a{display:block;padding:16px 0;border-bottom:1px solid #e3e9de;font-size:14px}.results small{display:block;color:var(--muted);font-size:11px}.lightbox{width:min(1000px,calc(100% - 24px));border:0;border-radius:12px;background:#faf9f5;padding:20px}.lightbox img{width:100%;max-height:70vh;object-fit:contain}.lightbox .dialogtop{margin-bottom:15px}.lightbox button{font-size:20px}.skip{position:absolute;left:20px;top:-80px;background:white;z-index:100;padding:12px}.skip:focus{top:10px}.empty{padding:25px;color:var(--muted)}.archive-note{font-size:11px;color:var(--muted);margin-top:18px}.article-body{max-width:850px;padding:60px 0}.article-body h1{font-size:44px}.article-body p{margin:20px 0}.article-body img{max-width:100%;height:auto}.article-body a{text-decoration:underline}.article-body table{max-width:100%;border-collapse:collapse}.article-body td{padding:8px;border:1px solid #ccc}.postlist{margin-top:30px}.postlist article{padding:25px 0;border-bottom:1px solid #ddd}.postlist h2{font-size:28px}.wp-block-image img{max-width:100%;height:auto}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media(max-width:1000px){.nav{gap:15px}.herogrid{gap:35px}.heroimage{height:365px}.docs-layout{grid-template-columns:280px 1fr;gap:35px}.faq{gap:40px}}@media(max-width:780px){.wrap{width:calc(100% - 36px)}.topbar .wrap span:last-child{display:none}.navrow{min-height:75px;gap:12px}.nav-toggle{display:inline-grid}.nav{display:none;position:absolute;top:75px;left:0;right:0;background:var(--paper);padding:20px;box-shadow:0 10px 15px #12332412;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{padding:10px}.brand{font-size:17px}.herogrid{grid-template-columns:1fr;gap:26px}.hero{padding:35px 0 52px}h1{font-size:49px;letter-spacing:-1.5px}.heroimage{height:300px;border-radius:120px 120px 8px 8px}.visual{max-width:540px;width:100%;margin:auto}.photo-caption{left:10px;right:10px}.quick{padding-bottom:20px}.quickbox{padding:22px}.quicktop{align-items:flex-start;flex-direction:column;gap:15px}.quicklinks{grid-template-columns:repeat(2,1fr)}.quicklinks a{padding:14px;font-size:12px}.section{padding:45px 0}.news-grid{grid-template-columns:1fr}.news-art{height:110px}.sectionhead{align-items:start;flex-direction:column}.docs-layout,.faq,.contactgrid{grid-template-columns:1fr;gap:28px}.project-grid{grid-template-columns:1fr}.schoolbox{grid-template-columns:1fr}.schooltabs{display:grid;grid-template-columns:1fr 1fr;padding:12px}.schooltabs button{padding:12px;font-size:12px}.schooldetail{padding:25px}.gallery{grid-template-columns:1fr}.gallery img{height:230px}.contact h2{font-size:33px}.tabs button{padding:8px 13px}footer .wrap{flex-direction:column;gap:5px}.hero .eyebrow{font-size:10px}.visual:before{right:-9px}}@media print{.site-header,.topbar,.prototype,.quick,button,dialog{display:none!important}.section{padding:20px 0}.wrap{width:100%}.heroimage{height:200px}.news-grid{grid-template-columns:repeat(3,1fr)}a{color:black}.contact,footer{background:white;color:black}}
/* Orar live și efecte */
.schedule-section{background:linear-gradient(140deg,#f1eee2,#e8f1e8);position:relative}.clockbox{padding:16px 24px;border:1px solid #c9d7c9;background:#ffffffb0;border-radius:12px;white-space:nowrap}.clockbox>span:last-of-type{font:32px/1.2 ui-monospace,monospace;font-variant-numeric:tabular-nums}.clockbox small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.live-dot{display:inline-block;width:9px;height:9px;background:#408b63;border-radius:50%;margin-right:12px;box-shadow:0 0 0 5px #408b6320;animation:livepulse 2s infinite}.schedule-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:24px}.schedule-controls label{font-size:12px;color:var(--muted)}.schedule-controls select,.schedule-controls input{display:block;margin-top:6px;padding:12px 15px;border:1px solid #cbd6c8;border-radius:8px;background:white;color:var(--ink);min-width:140px;font:inherit}.schedule-layout{display:grid;grid-template-columns:1fr 1.45fr;gap:24px}.now-card{background:linear-gradient(150deg,#123e35,#24664f);color:white;padding:32px;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 18px 40px #173a3020;align-self:start}.now-card:before{content:'';position:absolute;right:-80px;top:-80px;width:230px;height:230px;background:radial-gradient(circle,#d0b47735,transparent 70%);pointer-events:none}.now-pill{display:inline-block;padding:6px 11px;border:1px solid #8dc6a755;border-radius:30px;font-size:10px;letter-spacing:1px;color:#c8e9d5}.now-pill.simulated{background:#eac080;color:#382b16}.now-class{font-size:13px;color:#bad0c0;margin:28px 0 10px}.now-card h3{font-size:clamp(28px,3.5vw,43px);margin-bottom:18px}.now-teacher{font-size:15px;color:#e7eee7;min-height:25px}.now-slot{font:22px ui-monospace,monospace;color:#e8c98e;margin-top:20px}.lesson-progress{height:6px;background:#ffffff25;border-radius:9px;overflow:hidden;margin:26px 0 10px}.lesson-progress span{display:block;background:linear-gradient(90deg,#85c9a3,#f5d38b);height:100%;width:0;transition:width 1s linear}.countdown{font-size:12px;color:#d3e1d4;font-variant-numeric:tabular-nums}.up-next{border-top:1px solid #ffffff25;padding-top:21px;margin-top:24px;display:flex;flex-direction:column;gap:6px}.up-next small{font-size:9px;letter-spacing:1.5px;color:#a8c8b1}.up-next strong{font-size:19px;font-weight:500}.up-next span{font-size:12px;color:#d3e2d7}.day-panel{background:#fffffff0;border:1px solid #d5dfcf;border-radius:18px;padding:24px}.day-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.day-head h3{font-size:25px}.day-head button{background:none;border:0;font-size:11px;cursor:pointer}.schedule-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid #edf0e8;padding:14px 12px;border-radius:8px}.schedule-row:last-child{border-bottom:0}.row-time{font:15px ui-monospace,monospace;min-width:55px;color:var(--green)}.row-time small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.schedule-row strong{font-size:14px;display:block}.schedule-row>div:nth-child(2){flex:1}.schedule-row>div:nth-child(2)>span{font-size:11px;color:var(--muted)}.schedule-row.is-current{background:#e5f2e3;border:1px solid #a3c2a0}.row-live{font-size:9px;letter-spacing:1px;color:#277447}.missing-teacher{opacity:.75;font-size:12px}.week-wrap{overflow:auto;margin-top:24px;background:white;border:1px solid #d1decc;border-radius:14px}.week-table{border-collapse:collapse;width:100%;min-width:850px;font-size:12px}.week-table caption{text-align:left;padding:20px;font:24px Georgia}.week-table th,.week-table td{padding:15px;border:1px solid #e3e8dc;text-align:left;vertical-align:top}.week-table thead{background:#edf3e8}.week-table small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.schedule-note,.schedule-preview p,.schedule-sources p{font-size:12px;color:var(--muted);margin:18px 0}.schedule-preview .schedule-controls{margin-top:20px}.schedule-preview summary,.schedule-sources summary{font-size:12px}.scroll-meter{position:fixed;left:0;top:0;height:3px;background:linear-gradient(90deg,#458c6a,#e3b86c);z-index:100;transform-origin:left;width:100%;transform:scaleX(0);pointer-events:none}.hero{background:radial-gradient(ellipse at var(--pointer-x,70%) var(--pointer-y,30%),#d5e5cf77,transparent 60%)}.visual:before{animation:floatOrb 7s ease-in-out infinite}.heroimage{box-shadow:0 20px 60px #163d2c15;transition:transform .5s,box-shadow .5s}.heroimage:hover{transform:translateY(-6px) rotate(.6deg);box-shadow:0 28px 60px #163d2c30}.project,.news-card,.quickbox{transition:transform .3s,box-shadow .3s}.news-card:hover,.project:hover{transform:translateY(-5px);box-shadow:0 18px 40px #254f3415}.btn.primary{position:relative;overflow:hidden}.btn.primary:after{content:'';position:absolute;top:-80%;left:-100%;height:260%;width:30%;background:#ffffff20;transform:rotate(25deg);transition:left .6s;pointer-events:none}.btn.primary:hover:after{left:150%}.reveal-pending{opacity:0;transform:translateY(22px)}.reveal-visible{opacity:1;transform:translateY(0);transition:opacity .65s,transform .65s}.effects-off *{animation:none!important;transition:none!important}.effects-off .reveal-pending{opacity:1;transform:none}.effects-off .heroimage:hover,.effects-off .news-card:hover,.effects-off .project:hover{transform:none}.effects-off .hero{background:none}@keyframes floatOrb{50%{transform:translateY(-12px) rotate(3deg)}}@keyframes livepulse{50%{box-shadow:0 0 0 9px #408b6308}}@media(max-width:780px){.schedule-layout{grid-template-columns:1fr}.now-card{padding:25px}.clockbox{width:100%}.schedule-controls{gap:10px}.schedule-controls label{flex:1}.schedule-controls select{min-width:100px;width:100%}.schedule-controls .btn{font-size:11px;padding:10px}.day-panel{padding:18px}.schedule-row{gap:10px}.row-live{font-size:8px}}@media(prefers-reduced-motion:reduce){.reveal-pending{opacity:1;transform:none}*{animation:none!important}.heroimage:hover,.news-card:hover,.project:hover{transform:none!important}}@media print{body.print-schedule>*{display:none!important}body.print-schedule>main{display:block!important}body.print-schedule main>*:not(#orar){display:none!important}body.print-schedule #orar{display:block!important;background:white}.print-schedule #orar .sectionhead,.print-schedule .schedule-controls,.print-schedule .schedule-layout,.print-schedule details,.print-schedule .schedule-note{display:none!important}.print-schedule .week-wrap{display:block!important;overflow:visible;border:0}.print-schedule .week-table{min-width:0;font-size:9px}.print-schedule .week-table th,.print-schedule .week-table td{padding:6px}.print-schedule .week-table small{font-size:8px}}
.nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0}.admin-bar .site-header{top:32px}@media(max-width:780px){.nav ul{flex-direction:column;gap:4px}.admin-bar .site-header{top:46px}}

@media(min-width:781px){.quicklinks{grid-template-columns:repeat(5,1fr)}.nav{gap:16px;font-size:12px}}

/* Simultaneous classroom overview */
.all-classes{margin:30px 0 40px}.all-classes-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.all-classes-heading h3{font-size:28px;margin:0 0 8px}.all-classes-heading p{margin:0;color:#66786e}.all-mode{font-size:12px;font-weight:700;white-space:nowrap;color:#205c4c}.all-level{margin:26px 0 12px;font-size:15px;text-transform:uppercase;letter-spacing:.12em}.all-class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.class-card{display:flex;flex-direction:column;text-align:left;width:100%;min-height:220px;padding:22px;border:1px solid #cbd7cc;border-radius:18px;background:#fff;color:#254f42;font:inherit;cursor:pointer;transition:box-shadow .2s,transform .2s}.class-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #16493715}.class-card:focus-visible{outline:3px solid #b18a36;outline-offset:3px}.class-card.lesson{border-top:4px solid #33836c}.class-card.break{border-top:4px solid #c3983c;background:#fffaf0}.class-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.class-card-top strong{font-size:20px}.class-card-top>span{font-size:11px;max-width:130px;text-align:right}.class-card-subject{font-size:18px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.class-card-teacher{margin-top:9px;font-size:14px;line-height:1.45}.class-card-time{margin-top:8px;font-size:13px;line-height:1.45}.class-card-link{margin-top:auto;padding-top:18px;font-size:12px;font-weight:700}#classDetails{scroll-margin-top:110px}@media(max-width:950px){.all-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.all-class-grid{grid-template-columns:1fr}.all-classes-heading{display:block}.all-mode{display:block;margin-top:14px}.class-card{min-height:190px}}@media(prefers-reduced-motion:reduce){.class-card{transition:none}.class-card:hover{transform:none}}@media print{.all-classes{display:none!important}}

/* Larger school identity and interactive navigation */
.site-header{background:rgba(250,249,245,.97);box-shadow:0 4px 24px #193b3609}.navrow{flex-wrap:wrap;gap:0 24px;padding-top:20px;padding-bottom:12px}.brand{flex:1;gap:18px}.brand .mark{width:64px;height:76px;font-size:36px;border-color:#aa9159;background:linear-gradient(145deg,#fff,#eee9da);color:#23624f;box-shadow:0 5px 16px #193b3610}.brand-copy{display:block}.brand-kicker{display:block;font:500 21px/1.3 Georgia,serif;letter-spacing:.03em}.brand-name{display:block;font:500 clamp(34px,4vw,48px)/1.08 Georgia,serif;letter-spacing:.015em;color:#1e5b49}.brand-address{display:block;margin-top:9px;font:12px/1.6 system-ui,sans-serif;color:#66756e;letter-spacing:.01em}.nav{order:3;flex-basis:100%;display:flex;justify-content:center;gap:7px!important;margin-top:18px;padding-top:12px;border-top:1px solid #dedfce;font-size:14px!important}.nav ul{display:flex;justify-content:center;gap:7px!important;list-style:none;margin:0;padding:0;flex-wrap:wrap}.nav a{display:block;position:relative;padding:10px 17px;border-radius:12px;transition:background .2s,color .2s,transform .2s;white-space:nowrap}.nav a:hover{background:#e8efe6;color:#205b49;transform:translateY(-2px)}.nav a.is-active,.nav .current-menu-item>a{background:#215d4b;color:white;box-shadow:0 4px 12px #215d4b20}.nav a:after{content:'';position:absolute;bottom:5px;left:35%;right:35%;height:2px;background:#c69a47;transform:scaleX(0);transition:transform .2s}.nav a:hover:after,.nav a.is-active:after{transform:scaleX(1)}.nav a[href$='#orar']{border:1px solid #c7d6c6}.nav-toggle[aria-expanded=true]{background:#215d4b;color:#fff;transform:rotate(90deg)}html{scroll-padding-top:240px}#classDetails{scroll-margin-top:240px}.hero h1{font-size:clamp(48px,5.4vw,76px);line-height:1.08;letter-spacing:-.035em}.hero h1 em{color:#286b55}
@media(max-width:780px){.navrow{padding-top:12px;padding-bottom:12px;gap:10px}.brand{gap:10px}.brand .mark{display:none}.brand-kicker{font-size:17px}.brand-name{font-size:34px}.brand-address{font-size:10px;margin-top:6px}.nav{display:none;position:absolute;top:100%;left:12px;right:12px;width:auto;max-height:calc(100dvh - 190px);overflow-y:auto;margin:0;padding:12px;background:#faf9f5;border:1px solid #d8dfd4;border-radius:0 0 20px 20px;box-shadow:0 18px 35px #193b3626;align-items:stretch}.nav.open{display:flex;animation:nav-reveal .2s ease-out}.nav ul{display:flex;flex-direction:column;align-items:stretch;gap:5px!important;width:100%}.nav a{padding:14px 18px;font-size:16px}.nav a:after{left:18px;right:auto;width:25px}.nav-toggle{display:inline-grid}.hero h1{font-size:clamp(42px,10vw,64px)}html{scroll-padding-top:175px}#classDetails{scroll-margin-top:175px}}
@keyframes nav-reveal{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.nav a,.nav a:after{transition:none}.nav.open{animation:none}.nav a:hover{transform:none}}

/* Full-width calligraphic school masthead */
@font-face{font-family:SchoolAntique;src:url('assets/fonts/P052-Roman.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:SchoolCalligraphy;src:url('assets/fonts/Z003-MediumItalic.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
.site-header{position:relative;top:auto!important;background:radial-gradient(ellipse at 50% 15%,#fffef9 0%,#f5f0e3 65%,#eee6d4 100%);border-bottom:1px solid #c7b282}.site-header .navrow{width:100%;max-width:none;padding:24px 0 0;display:flex;justify-content:center;gap:0}.brand{position:relative;flex:0 0 100%;display:flex;justify-content:center;text-align:center;padding:15px 75px 24px;box-sizing:border-box}.brand .mark{display:none}.brand-copy{width:100%;max-width:1300px}.brand-kicker{font-family:SchoolAntique,Georgia,serif;font-size:clamp(22px,3.1vw,44px);line-height:1.25;text-transform:uppercase;letter-spacing:.12em;color:#344b40}.brand-name{font-family:SchoolCalligraphy,Georgia,serif;font-size:clamp(70px,10vw,132px);font-weight:400;line-height:1.05;letter-spacing:.025em;color:#214e3d;text-shadow:0 2px 0 #fff5dc;padding:5px 0 0}.brand-address{font-size:13px;line-height:1.7;color:#665f4e;margin-top:0;letter-spacing:.045em}.brand-copy:before,.brand-copy:after{content:'❧';display:block;color:#a48542;font:30px/1 Georgia,serif}.brand-copy:before{margin-bottom:12px}.brand-copy:after{margin-top:12px;transform:rotate(180deg)}.brand:before,.brand:after{content:'';position:absolute;width:17%;top:46%;height:1px;background:linear-gradient(90deg,transparent,#b39962)}.brand:before{left:4%}.brand:after{right:4%;transform:rotate(180deg)}.navrow>div:last-child{position:absolute;top:25px;right:24px}.nav{flex-basis:100%;margin:0;padding:10px 20px;background:#fcfaf4bd;border-top:1px solid #c7b282;border-bottom:3px double #c7b282}.nav a{font-size:15px;padding:11px 22px}.nav a.is-active{background:#215d4b!important;color:#fff!important}html{scroll-padding-top:24px}#classDetails{scroll-margin-top:24px}
@media(max-width:780px){.site-header .navrow{padding-top:44px}.brand{padding:10px 22px 20px}.brand-kicker{font-size:clamp(18px,4.8vw,28px);letter-spacing:.08em}.brand-name{font-size:clamp(66px,17vw,100px)}.brand-address{font-size:11px;letter-spacing:.01em}.brand:before,.brand:after{width:8%;top:49%}.brand:before{left:3%}.brand:after{right:3%}.brand-copy:before{font-size:24px;margin-bottom:9px}.brand-copy:after{font-size:24px;margin-top:10px}.navrow>div:last-child{top:8px;right:14px}.nav{top:100%;left:10px;right:10px;border:1px solid #c7b282;border-bottom:3px double #c7b282;padding:12px;max-height:70vh;background:#fcfaf4}.nav a{font-size:16px;padding:14px 18px}.nav ul{margin:0}.admin-bar .site-header{top:auto!important}}

/* News feed with live timetable on the right */
.school-feed{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:36px;align-items:start;padding-top:48px;padding-bottom:56px}
.school-feed>.section{padding:0;min-width:0}.news-column .sectionhead{align-items:start;gap:18px}.news-column h2{font-size:clamp(30px,3vw,44px)}
.news-column .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.news-column .news-card{display:flex;flex-direction:column;border:1px solid #dfe3d7;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 24px #193b3607}
.news-column .news-card:first-child{grid-column:1/-1}.news-column .news-art{height:180px;flex-shrink:0}.news-column .news-card:first-child .news-art{height:260px}.news-column .news-content{padding:26px;display:flex;flex-direction:column;flex:1;gap:14px}.news-column .news-content h3{font:26px/1.25 SchoolAntique,Georgia,serif;margin:0;overflow-wrap:anywhere}.news-column .news-card:first-child h3{font-size:34px}.news-column .news-content p{font-size:14px;line-height:1.75;margin:0;color:#66786e}.news-column .news-content>a{margin-top:auto;padding-top:10px;align-self:start}.news-column .meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px}.news-column .news-art img{display:block;width:100%;height:100%;object-fit:cover}
.school-feed .schedule-sidebar{padding:24px;border:1px solid #d7ddcd;border-radius:22px;background:linear-gradient(155deg,#f4f1e7,#eaf2e8);box-shadow:0 12px 40px #193b3609}.schedule-sidebar>.wrap{width:100%;max-width:none}.schedule-sidebar .sectionhead{display:block;margin-bottom:22px}.schedule-sidebar h2{font-size:36px}.schedule-sidebar .sectionhead p{font-size:13px;line-height:1.6}.schedule-sidebar .clockbox{margin-top:18px;padding:14px 18px}.schedule-sidebar .schedule-layout{grid-template-columns:minmax(0,1fr);gap:18px}.schedule-sidebar .schedule-controls{gap:8px}.schedule-sidebar .schedule-controls label{flex:1;min-width:110px}.schedule-sidebar .schedule-controls select,.schedule-sidebar .schedule-controls input{width:100%;min-width:0;box-sizing:border-box}.schedule-sidebar .schedule-controls .btn{font-size:11px;padding:10px 12px}.schedule-sidebar .now-card{padding:24px}.schedule-sidebar .now-card h3{font-size:30px}.schedule-sidebar .now-class{margin-top:18px}.schedule-sidebar .day-panel{padding:16px}.schedule-sidebar .day-head{flex-wrap:wrap;gap:8px}.schedule-sidebar .day-head h3{font-size:24px}.schedule-sidebar .schedule-row{padding:12px 6px;gap:10px}.schedule-sidebar .schedule-row>div{min-width:0;overflow-wrap:anywhere}.schedule-sidebar .all-classes{margin:28px 0 18px}.schedule-sidebar .all-classes-heading{display:block}.schedule-sidebar .all-classes-heading h3{font-size:25px}.schedule-sidebar .all-classes-heading p{font-size:12px;line-height:1.6}.schedule-sidebar .all-mode{display:block;margin-top:10px;white-space:normal}.schedule-sidebar #allClassesGrid{max-height:540px;overflow:auto;overscroll-behavior:contain;padding:4px 6px 4px 2px;scrollbar-width:thin}.schedule-sidebar .all-class-grid{grid-template-columns:1fr;gap:10px}.schedule-sidebar .class-card{min-height:0;padding:16px;border-radius:12px}.schedule-sidebar .class-card-top{margin-bottom:8px}.schedule-sidebar .class-card-subject{font-size:16px}.schedule-sidebar .class-card-teacher{font-size:12px;margin-top:5px}.schedule-sidebar .class-card-link{padding-top:10px}.schedule-sidebar .schedule-note{font-size:11px;line-height:1.65}.schedule-sidebar .week-wrap{max-width:100%}
@media(min-width:1600px){.school-feed{gap:48px;grid-template-columns:minmax(0,1fr) 440px}}
@media(max-width:1000px){.school-feed{grid-template-columns:minmax(0,1fr) 340px;gap:22px}.news-column .news-grid{grid-template-columns:1fr}.news-column .news-card:first-child .news-art{height:210px}.school-feed .schedule-sidebar{padding:18px}.news-column .sectionhead{flex-direction:column}}
@media(max-width:780px){.school-feed{grid-template-columns:1fr;gap:36px;padding-top:28px}.news-column .news-content{padding:22px}.news-column .news-card:first-child h3{font-size:28px}.school-feed .schedule-sidebar{padding:20px}.news-column .news-art{height:200px}.schedule-sidebar .all-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.schedule-sidebar .all-class-grid{grid-template-columns:1fr}.schedule-sidebar .class-card-top strong{font-size:18px}}
@media print{body.print-schedule main>.school-feed{display:block!important;width:100%;padding:0}.print-schedule .school-feed>#noutati{display:none!important}.print-schedule .school-feed>#orar{padding:0;border:0;box-shadow:none}.print-schedule #orar>.wrap{width:100%}}

/* Keep the timetable aligned with the height of the published articles. */
@media(min-width:781px){.school-feed{align-items:stretch}.school-feed .schedule-sidebar{position:relative;min-height:640px}.schedule-sidebar>.wrap{position:absolute;inset:24px;width:auto;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#a6baa6 transparent;padding-right:8px;overscroll-behavior-y:contain}.schedule-sidebar #allClassesGrid{max-height:none;overflow:visible;padding-right:0}}
@media(min-width:781px) and (max-width:1000px){.schedule-sidebar>.wrap{inset:18px}}
@media print{.print-schedule .school-feed .schedule-sidebar{min-height:0}.print-schedule .schedule-sidebar>.wrap{position:static;overflow:visible;padding:0;width:100%}}

/* Anonymous school reports */
.report-section{background:linear-gradient(120deg,#eef3eb,#faf7ee);border-top:1px solid #dce3d5;border-bottom:1px solid #dce3d5}
.report-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:60px;align-items:start}.report-intro h2{margin:14px 0 24px}.report-intro h2 em{color:var(--green)}.report-intro p{margin-top:18px}.report-badge{display:inline-block;background:#deeadb;color:#285640;border-radius:30px;padding:10px 18px;margin-top:24px;font-size:13px;font-weight:600}.report-delivery{overflow-wrap:anywhere;font-size:14px}.report-urgent{padding:16px 18px;border-left:3px solid #b8904c;background:#fffaf0;font-size:13px}
.report-form{position:relative;background:white;border:1px solid #d9e2d4;border-radius:22px;padding:32px;box-shadow:0 12px 40px #193b3609}.report-form>label:not(.report-consent){display:block;font-weight:600;font-size:14px;margin:0 0 8px}.report-form>label>span{font-weight:400;color:var(--muted);font-size:12px}.report-form>input,.report-form>select,.report-form>textarea{display:block;width:100%;max-width:100%;background:#fbfcf9;border:1px solid #b8c6b7;border-radius:9px;padding:12px 14px;margin:0 0 20px;color:var(--ink);font:inherit}.report-form>textarea{resize:vertical;min-height:145px;margin-bottom:8px}.report-form textarea:focus-visible,.report-form select:focus-visible{outline:3px solid #c79942;outline-offset:3px}.report-text-meta{display:flex;gap:12px;justify-content:space-between;color:var(--muted);line-height:1.5}.report-text-meta small{font-size:11px}#report-count{white-space:nowrap}.report-privacy{margin:20px 0;border-top:1px solid #e2e7dc;padding-top:14px;font-size:12px}.report-privacy summary{cursor:pointer;font-weight:600}.report-privacy p{margin:10px 0;line-height:1.65}.report-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0;font-size:13px}.report-consent input{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:var(--green)}.report-send{width:100%;justify-content:space-between}.report-send:disabled{opacity:.65;cursor:wait}.report-status:empty{display:none}.report-status{font-size:14px;margin-top:18px;padding:13px;border-radius:9px;overflow-wrap:anywhere}.report-status.is-success{background:#e5f2e6;color:#235b33}.report-status.is-error{background:#fff0ed;color:#8c2922}.report-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:800px){.report-layout{grid-template-columns:1fr;gap:28px}.report-form{padding:22px}.report-intro h2{font-size:34px}}

.teacher-space h1{font-size:clamp(32px,5vw,54px);margin:15px 0}.teacher-space>p{margin:20px 0}.teacher-docs{margin:32px 0;max-width:900px}.teacher-docs .doc{margin:12px 0}.teacher-docs h3{overflow-wrap:anywhere}

#profesori{scroll-margin-top:100px}#teacher-panel form{max-width:440px}#teacher-panel label{display:block;margin-bottom:6px}#teacher-panel input[type=text],#teacher-panel input[type=password]{width:100%;padding:12px;border:1px solid #b8c7be;border-radius:8px}#teacher-panel input[type=submit]{padding:12px 22px;background:#25624f;color:white;border:0;border-radius:8px;cursor:pointer}
