/*
Theme Name: Camaraderie 0408 — SMACH Alumni
Author: Camaraderie 0408
Description: Alumni SM Sains Machang batch 2004–2008. Responsive Malay homepage, seven-photo gallery, Customizer, news and school map.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: camaraderie-0408
*/
:root{--navy:#101e38;--red:#af263b;--gold:#d9b56f;--paper:#f8f5ef;--ink:#17233a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 system-ui,sans-serif}a{color:inherit}img{max-width:100%;height:auto}button{font:inherit;cursor:pointer}h1,h2,h3{line-height:1.1;margin:0 0 24px}h1,h2{font-family:Georgia,serif;font-weight:normal}h1{font-size:clamp(54px,7vw,100px);letter-spacing:-3px}h2{font-size:clamp(36px,4vw,58px);letter-spacing:-1.5px}h3{font-size:23px}p{margin:0 0 24px}.wrap{width:min(1200px,90%);margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;background:white;z-index:99;padding:10px}header{background:var(--paper);position:sticky;top:0;z-index:20;border-bottom:1px solid #ded9cf}.bar{display:flex;justify-content:space-between;align-items:center;min-height:92px;gap:24px}.brand{display:flex;gap:14px;align-items:center;text-decoration:none}.brand img{height:62px;width:54px;object-fit:contain}.brand strong{display:block;letter-spacing:2px;font-size:17px}.brand small{font-size:11px;letter-spacing:1.3px}.nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0}.nav a{text-decoration:none;font-size:13px;font-weight:650}.nav a:hover{color:var(--red)}.menu-toggle{display:none}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2.5px;text-transform:uppercase;color:var(--red);margin-bottom:22px}.hero{background:var(--navy);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:60px;padding:76px 0 70px}.hero .eyebrow{color:var(--gold)}.hero em{color:var(--gold);font-weight:normal}.hero p{color:#c6ccda;max-width:430px}.hero-photo{position:relative;transform:rotate(2deg);padding:14px;background:#fff;margin:0;box-shadow:0 20px 70px #0006}.hero-photo img{width:100%;height:370px;object-fit:cover}.hero-photo figcaption{color:var(--ink);font-family:Georgia,serif;text-align:center;padding:12px 0 2px}.btn{display:inline-flex;padding:13px 24px;background:var(--red);color:#fff;text-decoration:none;font-size:13px;font-weight:700;border:0}.btn.secondary{background:transparent;border:1px solid #657086;margin-left:8px}.band{background:#e9e1d2}.band .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 0}.band b{font-family:Georgia,serif;font-size:25px}.band span{font-size:12px;letter-spacing:1px}.section{padding:90px 0}.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px}.intro p{color:#576170}.quote{border-left:3px solid var(--red);padding-left:24px;font:italic 27px/1.5 Georgia,serif}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:35px}.section-head p{max-width:340px;color:#657080}.gallery-section{background:#eee9e0}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery figure{margin:0;background:white;padding:9px}.gallery button{display:block;background:none;border:0;padding:0;width:100%}.gallery img{display:block;width:100%;height:245px;object-fit:cover;transition:filter .2s}.gallery button:hover img{filter:brightness(.85)}.gallery figcaption{padding:10px 7px;font-size:12px;display:flex;justify-content:space-between}.gallery figure:first-child{grid-column:span 2}.gallery figure:first-child img{height:310px}.gallery figure:nth-child(2) img{height:310px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.card{border-top:2px solid var(--red);background:white;padding:28px}.card time{font-size:11px;color:#697487}.card h3{margin-top:18px}.card a{text-decoration:none}.card .thumb{width:100%;height:180px;object-fit:cover;margin-bottom:20px}.empty{background:#eae4da;padding:35px;border-left:3px solid var(--gold)}.school{background:var(--navy);color:white}.school-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px}.school .eyebrow{color:var(--gold)}.school p{color:#c6ccda}.school dl{display:grid;grid-template-columns:110px 1fr;font-size:14px;gap:12px}.school dt{color:var(--gold)}.school dd{margin:0}.map-shell{background:#fff1;padding:28px;display:flex;flex-direction:column;justify-content:center}.map-shell iframe{width:100%;height:300px;border:0}.map-shell button{align-self:start}.map-shell small{color:#c6ccda;margin-bottom:16px}.source{font-size:11px;margin-top:25px}.source a{color:#b5bfce}.connect{text-align:center;max-width:760px;margin:auto}.connect p{color:#657080}footer{border-top:1px solid #ddd5c8;padding:35px 0;font-size:12px}footer .wrap{display:flex;justify-content:space-between;gap:25px}.article{max-width:850px;padding:70px 0}.article h1{font-size:54px}.article img{height:auto}.article .wp-block-image{margin:20px 0}.pagination{margin-top:35px}dialog{border:0;padding:16px;max-width:90vw;background:#fff}dialog::backdrop{background:#000c}dialog img{max-height:80vh;display:block;margin:auto}dialog button{display:block;margin-left:auto;border:0;background:var(--navy);color:white;padding:8px 14px}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}@media(max-width:850px){.hero-grid,.intro,.school-grid{grid-template-columns:1fr;gap:35px}.hero-grid{padding:45px 0}.hero-photo{max-width:600px}.hero-photo img{height:auto}.gallery{grid-template-columns:repeat(2,1fr)}.gallery figure:first-child{grid-column:span 1}.gallery img,.gallery figure:first-child img,.gallery figure:nth-child(2) img{height:230px}.news-grid{grid-template-columns:1fr}.section{padding:60px 0}.menu-toggle{display:block;border:1px solid #bbb;background:none;padding:6px 12px}.nav{display:none;position:absolute;top:92px;left:0;width:100%;background:var(--paper);padding:20px 5%}.nav.open{display:block}.nav ul{flex-direction:column}.section-head{display:block}.band .wrap{flex-wrap:wrap}footer .wrap{flex-direction:column}}@media(max-width:500px){.gallery{grid-template-columns:1fr}.gallery img,.gallery figure:first-child img,.gallery figure:nth-child(2) img{height:auto}.brand strong{font-size:14px}.brand small{font-size:9px}.hero .btn{margin:5px 5px 5px 0}h1{letter-spacing:-2px}.school dl{grid-template-columns:90px 1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
