/* Teacher Room v1: same editorial grid as the News and Columns archives. */
.room-main,.room-layout,.room-content,.room-panel,.room-sidebar{min-width:0;box-sizing:border-box}
.room-main{padding-bottom:50px}
.room-banner{position:relative;overflow:hidden;margin-top:15px;padding:48px 43px 38px;background:#d8fc54;border:2px solid #111d27;min-height:265px}
.room-banner>span{font-size:11px;font-weight:900;letter-spacing:.17em}.room-banner h1{font-size:clamp(47px,6.2vw,100px);line-height:.95;letter-spacing:-.065em;margin:27px 0 23px;font-weight:1000;overflow-wrap:anywhere}.room-banner h1 em{font-family:Georgia,serif;font-weight:400}.room-banner h1 span{color:#f75e70;padding-left:12px}.room-banner p{font-size:15px;font-weight:700;margin:0}
.room-layout{grid-template-columns:minmax(0,1.82fr) minmax(290px,.85fr);align-items:start}.room-content{display:grid;gap:24px}.room-panel{padding:30px 28px 32px;background:#fffaf0;border:1px solid #1a242c;box-shadow:5px 5px 0 #18252e}.room-section-top{display:flex;justify-content:space-between;align-items:start;gap:12px;border-bottom:1px solid #b9bfc1;padding-bottom:20px}.room-section-top small{font-weight:900;letter-spacing:.13em;font-size:10px;color:#5c626a}.room-section-top h2{margin:12px 0 0;font-size:clamp(27px,3.4vw,54px);letter-spacing:-.04em;line-height:1.1;overflow-wrap:anywhere}.room-section-top em{font-family:Georgia,serif;font-weight:400}.room-section-top>span{color:#fb5967;font-size:30px}.room-section-desc{color:#3f4650;font-size:14px;line-height:1.65;margin:20px 0 22px}
.room-message-form{padding:23px;background:#f1f4e7;border:1px solid #c8cfc3;display:flex;flex-direction:column;gap:14px}.room-fields-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.room-message-form label,.room-dialog label:not(.room-consent){display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:850}.room-message-form input,.room-message-form select,.room-message-form textarea,.room-dialog input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box;border:1px solid #919ba1;background:#fff;padding:12px 13px;color:#18222c;font-size:14px;border-radius:0;font-family:inherit}.room-message-form textarea{min-height:125px;resize:vertical}.room-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;line-height:1.5;font-weight:500!important;font-size:11px!important}.room-consent input{width:16px!important;height:16px!important;flex:0 0 16px;margin-top:1px}.room-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:1px solid #12212f;background:#142332;color:#fff;padding:14px 15px;text-align:left;font-size:12px;font-weight:900;letter-spacing:.06em;cursor:pointer}.room-cta:hover{background:#d8fc54;color:#132232}.room-trap{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.room-posts-head{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin:32px 0 8px}.room-posts-head h3{font-size:25px;letter-spacing:-.03em;margin:0}.room-posts-head form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.room-posts-head label{font-size:10px;font-weight:900}.room-posts-head select{padding:9px;max-width:230px;border:1px solid #8d959a;background:#fff}.room-posts-head button{background:#d8fc54;border:1px solid #172430;padding:10px 12px;font-weight:900;cursor:pointer}.room-post{padding:22px 0;border-bottom:1px solid #c5cbd0;scroll-margin-top:22px}.room-post-heading{display:flex;gap:12px;align-items:center}.room-post-avatar{display:grid;place-items:center;background:#f8c9d4;border:1px solid #183039;width:47px;height:47px;flex:none;font-size:24px}.room-post-heading strong{font-size:15px;display:block}.room-post-heading small{display:block;color:#66717d;font-size:11px;margin-top:5px}.room-topic{display:inline-flex;background:#d8fc54;border:1px solid #1e2e35;font-size:10px;font-weight:850;padding:5px 9px;margin-top:14px}.room-post p{font-size:14px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;margin:13px 0 0}.room-empty{padding:23px;background:#f3efe7;border:1px dashed #aab2ad;font-size:13px;color:#58646d}.room-pagination{display:flex;gap:16px;margin:20px 0 0;align-items:center;font-size:11px;font-weight:800}.room-pagination a{text-decoration:underline}
.room-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.room-event{min-width:0;display:flex;flex-direction:column;border:1px solid #182733;background:#fff;box-shadow:3px 3px 0 #1e2d38}.room-event-open{cursor:pointer;border:0;background:transparent;color:inherit;text-align:left;display:flex;flex-direction:column;width:100%;padding:0;font:inherit}.room-event-poster{display:grid;place-items:center;aspect-ratio:9/16;background:#d8fc54;overflow:hidden;width:100%}.room-event-poster img{width:100%;height:100%;object-fit:cover;display:block}.room-event-poster>span{font-size:60px}.room-event-name{padding:13px 12px 6px;font-size:14px;font-weight:900;line-height:1.35;min-height:54px}.room-event-date{padding:0 12px;color:#606c73;font-size:10px;font-weight:800}.room-event-count{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:9px;font-weight:900;margin:12px;width:calc(100% - 24px);padding:9px 6px;background:#d8fc54;border:1px solid #29333b}.room-event-count strong{font-size:20px}.room-event-discuss{display:block;margin-top:auto;padding:12px;text-decoration:underline!important;font-size:10px;font-weight:900;border-top:1px solid #c9d0cc}.room-event-open:hover .room-event-poster img{transform:scale(1.035)}.room-event-poster img{transition:transform .25s}
.room-dialog{border:2px solid #0f2533;background:#fffaf0;box-shadow:10px 12px 0 #263a48;padding:0;width:min(530px,calc(100vw - 28px));max-height:90vh;overflow:auto}.room-dialog::backdrop{background:rgba(3,13,22,.7)}.room-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:15px;background:#d8fc54;padding:20px 22px;border-bottom:2px solid #0f2533}.room-dialog-head small{font-weight:900;font-size:10px}.room-dialog-head h3{font-size:24px;letter-spacing:-.04em;line-height:1.15;margin:10px 0 0}.room-dialog-close{border:1px solid #142331;background:transparent;cursor:pointer;min-width:38px;height:38px;font-size:19px}.room-dialog-body{padding:23px}.room-dialog-body>p{font-size:13px;line-height:1.6}.room-dialog form{display:flex;flex-direction:column;gap:15px;margin-top:15px}.room-dialog form .room-cta{margin-top:4px}.room-success{border:1px solid #537c54;background:#d7f9ca;color:#192b20;padding:16px;font-weight:800;font-size:13px;margin:22px 0 0}
.room-sidebar{display:flex;flex-direction:column;gap:18px}.room-sidepanel{border:1px solid #1e2932;padding:22px;background:#fffdf9;min-width:0}.room-side-top{font-size:10px;letter-spacing:.14em;font-weight:900;color:#68767c;padding-bottom:14px;border-bottom:1px solid #a9afb2}.room-sidepanel h2{font-size:clamp(23px,2.5vw,36px);line-height:1.12;letter-spacing:-.04em;margin:19px 0}.room-sidepanel h2 em{font-family:Georgia,serif;font-weight:400}.room-sidepanel p{font-size:13px}.room-side-link{display:grid;grid-template-columns:1fr auto;gap:5px 10px;border-top:1px solid #d0d2d4;padding:13px 0;align-items:center}.room-side-link strong{font-size:13px;line-height:1.35}.room-side-link small{grid-column:1;color:#758189;font-size:11px;line-height:1.45}.room-side-link>span{grid-column:2;grid-row:1/3;color:#f35a6b;font-size:18px}.room-pink{position:relative;background:#f1a6c3;border:1px solid #132535;min-height:240px;padding:22px;overflow:hidden}.room-pink small{font-size:10px;font-weight:900;letter-spacing:.07em}.room-pink strong{display:block;font-size:clamp(34px,3.1vw,52px);line-height:1.04;letter-spacing:-.05em;margin-top:40px}.room-pink em{font-family:Georgia,serif;font-weight:400}.room-pink>span{position:absolute;bottom:-15px;right:-8px;font-size:95px;color:#ffc9df;pointer-events:none}
@media(max-width:1100px){.room-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.room-layout{grid-template-columns:1fr}.room-sidebar{display:flex;flex-direction:column}}
@media(max-width:650px){.room-banner{padding:24px 18px;min-height:190px}.room-banner h1{font-size:clamp(46px,11vw,68px);margin:17px 0}.room-banner p{font-size:13px}.room-panel{padding:19px 15px;box-shadow:3px 3px 0 #18252e}.room-section-top h2{font-size:clamp(31px,8vw,43px)}.room-fields-two{grid-template-columns:1fr}.room-message-form{padding:15px}.room-events-grid{gap:11px}.room-event-name{font-size:12px;padding:10px 9px}.room-event-date{font-size:9px;padding:0 9px}.room-event-count{font-size:8px;margin:9px;width:calc(100% - 18px)}.room-event-count strong{font-size:17px}.room-posts-head select{max-width:195px}}
@media(max-width:370px){.room-events-grid{grid-template-columns:1fr 1fr}.room-event-count{font-size:7px}}
