/* Photography and stories on the school noticeboard */
.press-feature { overflow:visible; }
.feature-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr); gap:clamp(12px,2.3vw,36px); align-items:center; }
.feature-copy { padding:8px 0; min-width:0; }
.feature-copy .news-meta { color:#31462d; }
.feature-copy h2 { font-size:clamp(2rem,3.4vw,3.4rem); line-height:.98; letter-spacing:-.035em; margin:.3em 0 .18em; }
.feature-copy p:not(.news-meta) { font-size:1rem; margin:0 0 1em; line-height:1.45; }
.feature-image { background:#fffdf6; color:#191d2b; padding:6px 6px 8px; box-shadow:2px 4px 8px #29231629; transform:rotate(2deg); text-align:center; display:block; }
.feature-image img { width:100%; height:auto; display:block; }
.feature-image span { display:block; font-size:1.1rem; line-height:1.15; margin-top:5px; }
#countdown { display:block; min-height:auto; font-size:1rem; font-weight:800; color:#fff; }
.press-tabs, .story-return, .photo-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.press-tabs { margin:1rem 0 1.6rem; }
.press-tabs a { padding:.55em .92em; border:1px solid #c6c9c7; background:white; color:#17243b; border-radius:2em; font-size:.92rem; font-weight:800; text-decoration:none; }
.press-tabs a[aria-current=page] { background:var(--blue); border-color:var(--blue); color:white; }
.press-tabs a:hover { border-color:var(--blue); }
.press-thumb { display:block; overflow:hidden; }
.press-thumb img { width:100%; height:100%; display:block; object-fit:cover; }
.press-poster img { object-fit:contain; background:#e9e6dc; }
.press-row { text-decoration:none; color:inherit; min-width:0; }
.press-row h3 { overflow-wrap:break-word; }
.press-row:focus-visible, .press-photo:focus-visible, .feature-image:focus-visible, .album-feature:focus-visible, .poster-original:focus-visible, footer a:focus-visible { outline:3px solid #104ae6; outline-offset:4px; }
.press-row:hover h3, .press-photo:hover span { text-decoration:underline; }
#page-content .press-row { grid-template-columns:auto 1fr; }
#page-content .press-row p, #page-content .story-copy, .profile-statement p, .programme-card p, .alumni-banner p { font-size:1rem; line-height:1.65; }
#page-content .news-meta, .news-paper .news-meta, .programme-card .news-meta, .album-feature .news-meta { font-size:.85rem; line-height:1.35; }
.school-links { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem 1rem; margin:1rem 0 0; }
.school-links a, .local-stories a, .photo-controls a { color:#0636aa; text-decoration:underline; text-underline-offset:3px; font-weight:800; }
.school-links a { font-size:.94rem; }
.gallery-preview .press-tile { display:block; position:relative; }
.gallery-preview .press-tile img { width:100%; height:100%; object-fit:cover; position:static; }
.gallery-preview .press-tile span { position:absolute; left:0; right:auto; bottom:0; max-width:100%; padding:2px 6px; background:#fffdf4; color:#172037; font-size:.82rem; line-height:1.3; font-weight:800; }
.gallery-preview .press-tile:nth-child(odd) { transform:rotate(-3deg); }
.gallery-preview .press-tile:nth-child(even) { transform:rotate(3deg); }
.section-script { font-family:Caveat, cursive; font-size:clamp(1.9rem,3vw,2.6rem); line-height:1.1; margin:1.4em 0 .6em; }
.press-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; align-items:start; }
.press-photo, .story-lead button { display:block; padding:6px; background:white; border:1px solid #dfd9c9; width:100%; color:#1b2944; text-align:left; cursor:zoom-in; }
.press-photo { box-shadow:1px 3px 5px #2d271d14; }
.press-photo img { width:100%; height:auto; aspect-ratio:4/3; display:block; object-fit:cover; object-position:center 42%; }
.press-photo span { display:block; padding:.6em .22em .4em; font-size:.94rem; line-height:1.35; font-weight:700; }
.album-feature { background:#ffed9a; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:clamp(16px,4vw,48px); padding:clamp(14px,3vw,29px); color:#182541; transform:rotate(-.6deg); text-decoration:none; }
.album-feature img { width:100%; height:auto; display:block; border:5px solid #fff; box-shadow:1px 3px 6px #2c241d27; }
.album-feature h2 { font-family:Caveat,cursive; font-size:clamp(2.1rem,5vw,3.8rem); margin:.2em 0; line-height:1.05; }
.album-open { display:inline-block; font-weight:800; color:#0734a8; text-decoration:underline; }
.story-copy, .profile-statement { max-width:70ch; }
.story-copy p { margin:0 0 1em; }
.story-lead { margin:1.4rem auto; }
.story-lead img { display:block; width:100%; height:auto; }
.story-lead figcaption, .image-credit { font-size:.88rem; color:#464a50; margin:.55rem 0; }
.story-poster { margin:1.4rem 0; }
.poster-original { display:flex; flex-direction:column; width:135px; flex-shrink:0; gap:.4rem; color:#123587; font-size:.87rem; font-weight:800; line-height:1.3; text-align:center; text-decoration:underline; }
.poster-original img { width:100%; height:148px; display:block; object-fit:contain; background:#f2eee2; border:4px solid #fff; box-shadow:0 1px 5px #302a231f; }
.story-return { margin:1.8rem 0 0; }
.programme-card { display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem; padding:1.7rem 0; border-bottom:1px dashed #b5ad97; }
.programme-card .news-meta { margin:0 0 .35rem; color:#1648a2; }
.programme-card h2, .profile-statement h2 { font-size:clamp(1.4rem,3vw,2rem); line-height:1.14; margin:0 0 .4em; }
.programme-card p { margin:0 0 .62em; }
.programme-card .secondary-button { margin-top:.45rem; }
.committee-motto { margin:1.6rem 0; padding:1.1rem 1.5rem; background:#fff09d; font-family:Caveat,cursive; font-size:clamp(1.7rem,3.8vw,2.7rem); line-height:1.1; transform:rotate(-.6deg); }
.committee-motto span { display:block; margin-bottom:.6rem; font:800 .88rem 'Nunito Sans',sans-serif; }
.profile-statement { margin:1.7rem 0; }
.local-stories { margin-top:1.5rem; }
.local-stories a { display:block; margin:.6em 0; }
#main-dialog:has(.photo-stage) { width:min(96vw,1120px); max-width:min(96vw,1120px); }
#main-dialog .viewer-caption { font-size:clamp(1rem,2vw,1.4rem); line-height:1.3; margin:.2em 0 .7em; }
.photo-stage { display:grid; justify-items:center; }
.photo-stage img { display:block; max-width:100%; max-height:68vh; width:auto; height:auto; object-fit:contain; }
.photo-controls { margin-top:.9rem; }
.photo-controls a { margin-left:auto; }
footer .power-credit { display:block; }
footer .power-credit a { display:inline-flex; align-items:center; min-height:44px; color:#123a86; }
@media (max-width:1130px) { .desktop-nav { gap:.8rem; } }
@media (max-width:800px) { .press-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.88rem; } }
@media (max-width:650px) {
 .press-feature { padding:19px 17px; }
 .feature-layout { grid-template-columns:minmax(0,1fr); gap:.4rem; }
 .feature-copy { padding:0; }
 .feature-image { margin:4px 4px 0; transform:rotate(1deg); }
 .feature-copy h2 { font-size:2.4rem; }
 .feature-image span { font-size:1rem; }
 .album-feature { grid-template-columns:1fr; gap:8px; }
 .album-feature h2 { font-size:2.2rem; }
 .album-feature p { margin:.4rem 0; }
 .press-tabs { gap:.4rem; }
 .programme-card { gap:.8rem; flex-wrap:wrap; }
 .programme-text { flex:1 1 210px; }
 .poster-original { width:100px; }
 .poster-original img { height:108px; }
 .press-photo { padding:4px; }
 .press-photo span { font-size:.88rem; }
 .photo-controls a { margin-left:0; }
 #countdown { font-size:.88rem; line-height:1.4; }
}
.school-polaroid img { object-fit:contain; background:#f7f5ed; }

.jubilee-merch,.walkaton-merch{box-sizing:border-box;background:#102955;color:#fff;border-top:4px solid #e9c76e;border-radius:12px}
.jubilee-merch{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:clamp(18px,3vw,36px);padding:clamp(18px,3vw,36px);margin:16px 0 28px;align-items:center}
#page-content .jubilee-merch h2{margin:0 0 10px;color:#fff;font-size:clamp(1.55rem,3vw,2.4rem);line-height:1.12}
#page-content .jubilee-merch p{margin:6px 0;color:#fff}
.jubilee-merch dl{margin:16px 0 0}
.jubilee-merch dl div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;border-top:1px solid #527092;padding:7px 0}
.jubilee-merch dd{margin:0;white-space:nowrap;font-weight:800;color:#ffe099}
.jubilee-merch a{display:block;text-align:center;color:#ffe099}
.jubilee-merch img{display:block;width:100%;height:auto;border-radius:7px}
.jubilee-merch a span,.walkaton-merch a{display:inline-block;padding:10px 2px;text-decoration:underline;text-underline-offset:3px;font-weight:800;color:#ffe099}
.walkaton-merch{display:grid;gap:4px;margin-top:16px;padding:14px 18px}
.walkaton-merch a{justify-self:start}
@media(max-width:680px){.jubilee-merch{grid-template-columns:minmax(0,1fr)}.jubilee-merch a{width:min(100%,340px);justify-self:center}}
