:root {
    --royal-blue: #FC6C00;
    --blue: #FC6C00;
    --deep-blue: #c95500;
    --red: #FC6C00;
    --dark-red: #cf5800;
    --nav-grey: #ededed;
    --ink: #252525;
    --muted: #66717d;
    --line: #d8d8d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Source Sans 3", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1400px, calc(100% - 40px)); margin: auto; }

/* Reference-inspired utility bar and institute identity header. */
.utility-bar { background: var(--royal-blue); color: #fff; font-size: .76rem; }
.utility-content { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.visitor-count, .utility-social { display: flex; align-items: center; gap: 10px; font-family: "Lora", serif; font-size: .82rem; }
.visitor-count span { color: #fff; font-family: "Source Sans 3", sans-serif; }.visitor-count strong { color: #fff; }.visitor-icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.utility-social strong { padding-right: 5px; }.utility-social a { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; color: #fff; transition: background .2s, color .2s, transform .2s; }.utility-social a:hover { background: #fff; color: var(--royal-blue); transform: translateY(-1px); }.utility-social svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.utility-social a:first-of-type svg { width: 12px; fill: currentColor; stroke: none; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 78px; height: 78px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; color: var(--royal-blue); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.05; text-transform: uppercase; }
.brand small { display: block; margin-top: 7px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.header-contact { display: flex; align-items: center; gap: 11px; margin: 0; padding: 8px 0 8px 15px; border-left: 2px solid var(--red); color: var(--royal-blue); text-align: left; font-size: .82rem; line-height: 1.45; }.header-contact .contact-icon { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; color: var(--royal-blue); }.header-contact .contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transform: scaleX(-1); }.header-contact-copy { min-width: 0; }.header-contact strong, .header-contact span, .header-contact small { display: block; }.header-contact strong { color: #8a3b00; font-size: .93rem; }.header-contact span { color: #9c5b28; }.header-contact small { overflow-wrap: anywhere; color: var(--royal-blue); font-size: .76rem; font-weight: 600; }

.main-navigation { position: relative; z-index: 10; background: var(--nav-grey); border-top: 1px solid #e3e3e3; }
.navigation-content { display: flex; align-items: stretch; min-height: 52px; }
.navigation-links { display: flex; align-items: stretch; justify-content: center; width: 100%; }
.navigation-links a { display: flex; align-items: center; padding: 0 12px; color: #3d3d3d; font-size: .81rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.navigation-links a:hover, .navigation-links a.is-current { background: #ddd; color: var(--royal-blue); }
.menu-toggle { display: none; width: 100%; border: 0; background: var(--nav-grey); color: var(--royal-blue); font: 700 .88rem "Source Sans 3", sans-serif; text-align: left; text-transform: uppercase; }
.menu-toggle span { float: right; font-size: 1.3rem; }

/* Scrolling highlights band. The track is duplicated in the view to loop cleanly. */
.announcement-bar { overflow: hidden; background: var(--royal-blue); color: #fff; }
.announcement-content { display: flex; align-items: stretch; min-height: 42px; padding: 0; }
.announcement-content > strong { position: relative; z-index: 2; display: flex; align-items: center; flex: 0 0 150px; padding-left: 18px; background: #006b68; color: #fff; font-size: 1rem; font-weight: 700; }
.announcement-content > strong::after { position: absolute; top: 0; right: -26px; border-top: 21px solid transparent; border-bottom: 21px solid transparent; border-left: 26px solid #006b68; content: ""; }
.marquee { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scroll-highlights 35s linear infinite; }
.marquee-track a { padding: 0 34px; color: #fff; font-size: .83rem; white-space: nowrap; }
.marquee-track a:hover { color: #ffe2cd; }
.marquee-track a::after { margin-left: 34px; color: #ffc08d; content: "|"; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-highlights { to { transform: translateX(-50%); } }

/* Full-width slideshow. JavaScript changes the .is-active slide every six seconds. */
.hero-slider { position: relative; height: min(61vw, 650px); min-height: 410px; overflow: hidden; background: #101010; }
.slides { position: absolute; inset: 0; display: flex; transition: transform .7s ease-in-out; will-change: transform; }
.slide { position: relative; flex: 0 0 100%; }
.slide img, .slide-overlay { position: absolute; inset: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .05) 70%); color: #fff; }
.slide-overlay .container { width: min(1400px, calc(100% - 110px)); padding-bottom: clamp(42px, 7vw, 100px); }
.slide-overlay p { margin: 0 0 8px; font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.slide-overlay h1 { max-width: 670px; margin: 0 0 24px; font: 700 clamp(2.3rem, 5vw, 5rem)/1.02 "Lora", serif; }
.button { display: inline-flex; align-items: center; padding: 13px 22px; font-size: .83rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--dark-red); }
.slider-control { position: absolute; top: 50%; z-index: 2; width: 47px; height: 47px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 50%; background: rgba(0, 0, 0, .16); color: #fff; cursor: pointer; font-size: 1.25rem; transform: translateY(-50%); }
.slider-control:hover { background: var(--red); border-color: var(--red); }
.next-slide { right: 6%; }

/* Shared inner-page layout used by all menu pages. */
.inner-banner { min-height: 200px; display: flex; align-items: center; background-position: center; background-size: cover; color: #fff; }
.inner-banner h1 { margin: 0; color: #fff34a; font: 700 clamp(2.2rem, 4vw, 3.5rem)/1 "Lora", serif; }
.inner-banner p { margin: 19px 0 0; font-size: .84rem; font-weight: 700; }
.inner-banner p span { margin: 0 10px; color: #fff34a; }
.inner-content { background: #fff; }
.content-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 45px; padding: 44px 48px; border: 2px solid var(--royal-blue); border-top-width: 14px; }
.content-copy h2 { margin-bottom: 20px; }
.content-copy > p:not(.section-label) { color: var(--muted); line-height: 1.8; }
.content-copy ul { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.content-copy li { color: #1e294f; line-height: 1.55; }
.content-copy li::before { margin-right: 11px; color: var(--royal-blue); content: "»"; font-size: 1.4rem; font-weight: 700; vertical-align: -1px; }
.content-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.content-images img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }

.quick-links { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -42px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.quick-links a { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 20px; background: var(--royal-blue); color: #fff; border-right: 1px solid rgba(255, 255, 255, .16); }
.quick-links a:nth-child(even) { background: var(--deep-blue); }
.quick-links span { color: #ffe2cd; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quick-links strong { margin-top: 6px; font: 1.35rem "Lora", serif; }

.section { padding: 82px 0; }
h2 { margin: 0; color: var(--royal-blue); font: 700 clamp(2rem, 3.5vw, 3.1rem)/1.1 "Lora", serif; }
.section-label { margin: 0 0 9px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.welcome-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 70px; }
.body-copy, .section-heading p { color: var(--muted); line-height: 1.85; }
.text-link { display: inline-flex; margin-top: 8px; color: var(--royal-blue); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.welcome-image { position: relative; padding: 0 0 22px 22px; }
.welcome-image::before { position: absolute; inset: 28px 28px 0 0; border: 2px solid var(--red); content: ""; }
.welcome-image img { position: relative; width: 100%; aspect-ratio: .86; object-fit: cover; }
.welcome-principal-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.welcome-panel { padding: 8px 0; }.welcome-panel h2, .principal-panel h2 { font: 700 1.7rem "Lora", serif; }.welcome-panel h2 { padding-bottom: 15px; border-bottom: 2px solid var(--royal-blue); }.welcome-panel h2::first-letter { color: var(--royal-blue); }.welcome-panel p { color: #2b3642; line-height: 1.8; }
.principal-panel { position: relative; overflow: hidden; padding: 24px; border-radius: 4px; background: linear-gradient(135deg, #c95500, #FC6C00); color: #fff; box-shadow: 0 18px 38px rgba(252,108,0,.24); }.principal-panel::after { position: absolute; right: -70px; bottom: -100px; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }.principal-panel h2 { position: relative; z-index: 1; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.48); color: #fff; }.principal-content { position: relative; z-index: 1; display: grid; grid-template-columns: 40% 1fr; gap: 23px; align-items: center; }.principal-photo { position: relative; margin: 0; }.principal-photo::before { position: absolute; inset: -7px 7px 7px -7px; border: 1px solid #ffd08b; content: ""; }.principal-photo img { position: relative; width: 100%; aspect-ratio: .92; object-fit: cover; filter: saturate(.94) contrast(1.04); }.principal-photo figcaption { position: relative; margin-top: -2px; padding: 10px 12px; background: #fff; color: var(--royal-blue); }.principal-photo strong, .principal-photo span { display: block; }.principal-photo strong { font-size: .86rem; }.principal-photo span { margin-top: 2px; color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.principal-copy p { margin: 0 0 19px; color: #fff; font-size: .9rem; line-height: 1.75; }.read-more-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 4px; background: var(--royal-blue); color: #fff; font-size: .78rem; font-weight: 700; }.principal-panel .read-more-button { background: var(--red); }
.programmes-section { background: #f4f4f4; }
.section-heading { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.section-heading p:last-child { line-height: 1.7; }
.programme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.programme-card { position: relative; min-height: 322px; overflow: hidden; border: 1px solid #d8e0e5; border-radius: 24px; background: #f1f5f7; box-shadow: 0 10px 22px rgba(10, 33, 63, .10); transition: transform .25s ease, box-shadow .25s ease; }
.programme-card:hover { transform: translateY(-7px); box-shadow: 0 18px 30px rgba(10, 33, 63, .16); }
.programme-texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .055; filter: grayscale(1); }
.programme-card > div { position: relative; z-index: 1; display: flex; height: 100%; min-height: 322px; flex-direction: column; align-items: center; padding: 25px 24px 23px; text-align: center; }
.programme-icon { display: grid; width: 64px; height: 64px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: rgba(20, 37, 131, .08); color: #0d315b; }
.programme-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.programme-card h3 { margin: 0 0 11px; color: #071f42; font: 700 1.3rem "Lora", serif; }
.programme-card p { margin: 0; color: #526a83; font: .85rem/1.65 "Source Sans 3", sans-serif; }
.programme-card a { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; gap: 8px; margin-top: auto; border-radius: 999px; background: rgba(252, 108, 0, .09); color: #8a3b00; font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.programme-card a:hover { background: var(--royal-blue); color: #fff; }.programme-card a span { font-size: 1rem; }
.admissions-section { padding: 70px 0; background: linear-gradient(120deg, #c95500, #FC6C00); text-align: center; }.admissions-cta { max-width: 760px; }.admissions-cta h2 { margin: 0; color: #fff; font: 700 clamp(2rem, 3.4vw, 3rem)/1.15 "Lora", serif; }.admissions-cta p { max-width: 680px; margin: 17px auto 24px; color: #fff1e5; font: 1rem/1.65 "Source Sans 3", sans-serif; }.admissions-actions { display: flex; justify-content: center; gap: 16px; }.admissions-actions a { display: inline-flex; min-width: 235px; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid #fff; border-radius: 5px; font: 700 .9rem "Lora", serif; transition: transform .2s ease, background .2s ease, color .2s ease; }.admissions-actions a:hover { transform: translateY(-2px); }.admissions-primary { background: #8a3b00; border-color: #8a3b00 !important; color: #fff; }.admissions-primary:hover { background: #6e2f00; }.admissions-secondary { background: transparent; color: #fff; }.admissions-secondary:hover { background: #fff; color: #8a3b00; }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }.update { display: grid; grid-template-columns: 72px 1fr; gap: 17px; padding: 18px 0; border-top: 1px solid var(--line); }.update time { color: var(--red); text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; }.update time b { display: block; font: 2rem/1 "Lora", serif; }.update h3 { margin: 0 0 6px; color: var(--royal-blue); font-size: .98rem; }.update p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.updates-empty { margin: 18px 0; color: var(--muted); font-size: .92rem; }.managed-updates-section { padding-top: 58px; }.updates-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }.updates-directory-heading h2 { font-size: clamp(2rem, 3vw, 2.7rem); }.updates-count { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }.updates-search { display: grid; min-width: min(100%, 290px); gap: 6px; color: var(--royal-blue); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.updates-search input { width: 100%; min-height: 43px; padding: 0 13px; border: 1px solid #cad3e0; color: var(--ink); font: .94rem "Source Sans 3", sans-serif; }.updates-search input:focus { outline: 2px solid #ffd1ad; border-color: var(--royal-blue); }.updates-directory-grid { display: grid; grid-template-columns: minmax(270px, .55fr) minmax(0, 1.45fr); gap: 40px; align-items: start; }.updates-calendar { max-width: 380px; padding: 24px 30px 30px; border-top: 5px solid var(--royal-blue); background: #fff6ef; box-shadow: 0 14px 32px rgba(201, 85, 0, .12); }.calendar-header { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; margin-bottom: 22px; text-align: center; }.calendar-header > a { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #ffe2cd; color: var(--royal-blue); font-weight: 700; transition: background .2s ease, color .2s ease; }.calendar-header > a:hover { background: var(--royal-blue); color: #fff; }.calendar-title { color: #8a3b00; font: 700 1.18rem "Lora", serif; }.calendar-header span { display: block; margin-top: 4px; color: #9a7a5e; font-size: .68rem; }.calendar-weekdays,.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); column-gap: 7px; row-gap: 8px; }.calendar-weekdays { margin-bottom: 8px; color: #8f6d4d; font-size: .61rem; font-weight: 700; text-align: center; text-transform: uppercase; }.calendar-day { width: 36px; height: 36px; min-height: 36px; align-self: center; justify-self: center; display: grid; place-items: center; border: 0; background: transparent; color: #8a3b00; font: .82rem "Source Sans 3", sans-serif; }.calendar-day.has-items { border-radius: 50%; background: var(--royal-blue); color: #fff; cursor: pointer; font-weight: 700; box-shadow: 0 6px 12px rgba(252,108,0,.28); }.calendar-day.has-items:hover { background: #8a3b00; transform: translateY(-1px); }.calendar-day.is-empty { visibility: hidden; }.managed-updates-list { min-width: 0; }.managed-update { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }.managed-update time { color: var(--red); text-align: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; }.managed-update time b { display: block; font: 2.2rem/1 "Lora", serif; }.managed-update h2 { margin: 0 0 8px; font-size: 1.45rem; }.managed-update h2 a:hover { color: var(--red); }.managed-update p { margin: 0; color: var(--muted); line-height: 1.7; }.managed-update.is-filtered { display: none; }.update-dialog { width: min(100% - 32px, 620px); max-height: min(75vh, 640px); padding: 30px; border: 0; box-shadow: 0 22px 60px rgba(201, 85, 0, .2); }.update-dialog::backdrop { background: rgba(138, 59, 0, .55); }.update-dialog-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: #fff1e6; color: var(--royal-blue); cursor: pointer; font-size: 1.35rem; }.dialog-item { padding: 15px 0; border-top: 1px solid var(--line); }.dialog-item h2 { margin: 0 0 7px; font-size: 1.3rem; }.dialog-item p { margin: 0; color: var(--muted); line-height: 1.65; }
.statistics { background: var(--royal-blue); color: #fff; }.statistics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }.statistics-grid > div { padding: 36px 25px; border-right: 1px solid rgba(255, 255, 255, .14); text-align: center; }.statistics strong { display: block; color: #fff; font: 3rem/1 "Lora", serif; }.statistics span { display: block; margin-top: 9px; color: #d9dfff; font-size: .82rem; }
footer { padding: 62px 0 0; color: #ffe6d2; background: #8a3b00; }.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 42px; }.footer-brand { color: #fff; font: 1.8rem "Lora", serif; }.footer-grid p { max-width: 300px; margin: 14px 0 0; font-size: .85rem; line-height: 1.75; }.footer-grid h3 { margin: 4px 0 17px; color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }.footer-grid a,.footer-grid span { display: block; margin-bottom: 10px; font-size: .85rem; }.footer-grid a:hover { color: #fff; }.copyright { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); color: #ffd1ad; font-size: .78rem; }

@media (max-width: 1050px) { .navigation-links { justify-content:flex-start; overflow-x:auto; }.navigation-links a { padding:0 10px; font-size:.74rem; }.programme-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 700px) { .container { width:min(100% - 28px,1400px); }.utility-content { padding:9px 0; align-items:flex-start; flex-direction:column; gap:5px; }.site-header { min-height:80px; padding:12px 0; }.header-contact { display:none; }.brand-mark { width:50px; height:50px; border-width:4px; }.brand small { font-size:.58rem; }.menu-toggle { display:block; padding:14px 0; }.navigation-content { display:block; min-height:0; }.navigation-links { display:none; max-height:calc(100vh - 70px); overflow-y:auto; background:#fff; }.navigation-links.is-open { display:block; }.navigation-links a { min-height:44px; padding:0 14px; border-bottom:1px solid #ddd; font-size:.8rem; }.announcement-content > strong { flex-basis:115px; padding-left:10px; font-size:.85rem; }.announcement-content > strong::after { right:-18px; border-top-width:21px; border-bottom-width:21px; border-left-width:18px; }.marquee-track span { padding:0 20px; font-size:.76rem; }.marquee-track span::after { margin-left:20px; }.hero-slider { height:68vw; min-height:350px; }.slide-overlay .container { width:min(100% - 64px,1400px); padding-bottom:62px; }.slide-overlay h1 { font-size:clamp(2rem,9vw,3.4rem); }.slider-control { width:36px; height:36px; font-size:1rem; }.previous-slide { left:10px; }.next-slide { right:10px; }.quick-links { grid-template-columns:repeat(2,1fr); margin-top:0; }.quick-links a { min-height:95px; }.section { padding:58px 0; }.welcome-grid,.updates-grid,.footer-grid { grid-template-columns:1fr; gap:35px; }.admissions-actions { flex-direction:column; align-items:center; }.admissions-actions a { width:min(100%, 300px); }.welcome-image { max-width:360px; }.statistics-grid { grid-template-columns:repeat(2,1fr); }.statistics-grid > div { border-bottom:1px solid rgba(255,255,255,.14); }.footer-grid { gap:28px; } }
@media (max-width:430px) { .utility-links { gap:12px; }.utility-content > span { font-size:.68rem; }.programme-grid { grid-template-columns:1fr; }.statistics-grid { grid-template-columns:1fr; }.button { padding:11px 16px; }.slide-overlay p { font-size:.7rem; }.quick-links strong { font-size:1.1rem; } }
@media (max-width: 760px) { .updates-directory-heading { align-items: stretch; flex-direction: column; }.updates-directory-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .managed-update { grid-template-columns: 66px 1fr; gap: 13px; }.managed-update time b { font-size: 1.8rem; }.updates-calendar { padding: 16px; } }
@media (max-width: 390px) { .updates-calendar { padding: 16px 12px 20px; }.calendar-weekdays,.calendar-days { column-gap: 3px; row-gap: 6px; }.calendar-day { width: 32px; height: 32px; min-height: 32px; } }
.public-gallery { padding-top: 54px; }.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 8px; border-radius: 999px; background: #fff1e6; }.gallery-filters button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #9c5b28; cursor: pointer; font: .9rem "Lora", serif; }.gallery-filters button:hover,.gallery-filters button.is-active { background: var(--royal-blue); color: #fff; }.public-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }.gallery-photo { position: relative; min-height: 230px; overflow: hidden; padding: 0; border: 0; border-radius: 12px; background: #e9edf2; cursor: zoom-in; }.gallery-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }.gallery-photo span { position: absolute; right: 0; bottom: 0; left: 0; padding: 26px 15px 13px; background: linear-gradient(transparent, rgba(138,59,0,.78)); color: #fff; font-size: .8rem; font-weight: 700; opacity: 0; text-align: left; transition: opacity .25s ease; }.gallery-photo:hover img { transform: scale(1.06); }.gallery-photo:hover span { opacity: 1; }.gallery-photo.is-filtered { display: none; }.gallery-lightbox { width: min(100% - 30px, 1000px); max-height: 90vh; padding: 0; border: 0; background: #8a3b00; box-shadow: 0 24px 70px rgba(0,0,0,.45); }.gallery-lightbox::backdrop { background: rgba(82,35,0,.82); }.gallery-lightbox img { display: block; max-width: 100%; max-height: calc(90vh - 54px); margin: 0 auto; object-fit: contain; }.gallery-lightbox p { margin: 0; padding: 14px 50px 14px 18px; color: #fff; font: .95rem "Lora", serif; }.gallery-lightbox button { position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #8a3b00; cursor: pointer; font-size: 1.4rem; }
@media (max-width: 1000px) { .public-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .public-gallery-grid { grid-template-columns: repeat(2, 1fr); }.gallery-photo { min-height: 190px; }.gallery-filters { border-radius: 18px; } }
@media (max-width: 430px) { .public-gallery-grid { grid-template-columns: 1fr; }.gallery-photo { min-height: 270px; } }
.managed-update { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: start; gap: 20px; }.managed-update .update-date-card { display: grid; width: 88px; min-height: 94px; place-items: center; align-content: center; border: 1px solid #f1d7bf; border-radius: 12px; background: #fff8f2; color: #8a3b00; text-align: center; }.update-date-card b { color: #6e2f00; font-size: 1.9rem !important; }.update-date-card span { color: var(--red); font-size: .78rem; font-weight: 700; }.update-date-card small { margin-top: 2px; color: #91735c; font-size: .67rem; }.update-attachment { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: #9c5b28; font-size: .78rem; text-decoration: underline; text-underline-offset: 2px; }.update-attachment svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }.update-download { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #fff1e6; color: var(--red); }.update-download:hover { background: var(--red); color: #fff; }.update-download svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }.attachment-current { display: inline-block; margin: 3px 0; color: var(--blue); font-size: .84rem; font-weight: 700; text-decoration: underline; }
@media (max-width: 560px) { .managed-update { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }.managed-update .update-date-card { width: 68px; min-height: 78px; }.update-date-card b { font-size: 1.55rem !important; }.update-download { grid-column: 2; justify-self: start; } }

@media (max-width: 700px) {
    .content-card, .welcome-principal-grid, .principal-content { grid-template-columns: 1fr; gap: 35px; padding: 28px 24px; }
    .inner-banner { min-height: 170px; }
    .content-images { max-width: 520px; }
    .principal-panel { padding: 18px; }.principal-content img { max-width: 250px; }
}
