/*
Theme Name: Ourém Escola
Description: Página inicial do Agrupamento de Escolas de Ourém.
Version: 1.0
*/
:root{--ink:#252545;--dark:#242449;--green:#d9f389;--paper:#f7f7f1;--line:#e0e1d9}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:system-ui,sans-serif;background:var(--paper)}a{color:inherit}a:focus-visible{outline:3px solid #9060bf;outline-offset:5px}.wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}.top{background:var(--dark);color:white}.top .wrap{display:flex;justify-content:flex-end;gap:24px;padding-block:10px;font-size:.84rem}.top a,.nav a,.brand,.tile a,.button a,.more a,.foot a{text-decoration:none}.top a:hover,.nav a:hover,.more a:hover,.foot a:hover{text-decoration:underline}.head{background:white}.head .wrap,.hero .wrap,.section-title{display:flex;align-items:center;justify-content:space-between;gap:24px}.head .wrap{min-height:88px;padding-block:12px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;line-height:1.15}.mark{width:57px;height:48px;background:url(assets/logo.png) center/contain no-repeat;flex:none}.nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:.91rem;font-weight:650}.hero{background:var(--dark);color:white}.hero .wrap{display:grid;grid-template-columns:1.03fr 1fr;gap:0}.hero-copy{padding:64px 36px 66px 0}.hero h1{font-size:clamp(2.9rem,6vw,5.6rem);font-weight:770;line-height:.96;letter-spacing:-.075em;margin:16px 0 24px}.eyebrow{font-size:.76rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}.hero .eyebrow{color:var(--green)}.hero p{font-size:1.08rem;line-height:1.6;max-width:34ch;color:#eeeefa}.hero-photo{min-height:390px;background:linear-gradient(90deg,#24244930,transparent),url(assets/escola.jpg) center 47%/cover no-repeat}.button a{display:inline-block;background:var(--green);color:var(--dark);font-weight:750;padding:13px 19px;border-radius:7px;margin-top:9px}.button a:hover{background:#ebffae}.section{padding-block:48px}.section h2{font-size:clamp(1.65rem,3vw,2.5rem);letter-spacing:-.045em;margin:0 0 20px}.tiles,.news{display:grid;gap:12px}.tiles{grid-template-columns:repeat(4,1fr)}.news{grid-template-columns:repeat(3,1fr)}.tile a,.story{display:block;height:100%;background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.tile a{display:flex;justify-content:space-between;align-items:center;gap:10px;font-weight:740}.tile a:hover{border-color:#76659c;background:#f1edf8}.latest{background:#eeedf5}.story h3{margin:12px 0;font-size:1.25rem;line-height:1.2}.story p{line-height:1.55}.story .eyebrow{color:#625483}.more{font-weight:700}.foot{background:var(--dark);color:white;padding-block:26px}.foot .wrap{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap}.article{padding-block:48px}.tile p,.section-title p{margin:0}.section-title p{margin-bottom:20px}
@media(max-width:825px){.head .wrap{align-items:flex-start;flex-direction:column;gap:12px}.nav{gap:16px}.hero-copy{padding-block:42px}.hero-photo{min-height:320px}.tiles{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.wrap{width:calc(100% - 32px)}.hero .wrap{grid-template-columns:1fr}.hero-copy{padding:38px 0 28px}.hero-photo{min-height:240px}.section{padding-block:30px}.news{grid-template-columns:1fr}.tile a{padding:14px}.section-title{align-items:start;gap:10px}.top .wrap{justify-content:flex-start}}