:root {
  color-scheme: light;
  --ink: #173344;
  --navy: #102f3f;
  --navy-deep: #09232f;
  --muted: #647680;
  --paper: #f6f5f1;
  --white: #fff;
  --line: #d9e1e2;
  --accent: #b87e48;
  --shadow: 0 14px 40px rgba(7, 34, 47, .1);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #d8b692; color: var(--navy-deep); }

.skip-link { position: absolute; z-index: 100; left: 1rem; top: -10rem; padding: .7rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 20; background: var(--navy-deep); color: var(--white); }
.header-inner { max-width: 1370px; margin: auto; min-height: 88px; padding: 0 clamp(1rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 155px; height: 63px; background: var(--white); border-radius: 4px; padding: .32rem .42rem; }
.brand img { width: 100%; max-height: 100%; object-fit: contain; }
.nav-list, .nav-sublist { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; gap: clamp(.2rem, 1.8vw, 1.7rem); align-items: center; }
.nav-item { position: relative; }
.nav-item > a, .nav-dropdown-toggle { display: flex; align-items: center; gap: .5rem; min-height: 52px; padding: .5rem .7rem; border: 0; background: none; color: var(--white); text-decoration: none; font: 700 .84rem/1.3 'Segoe UI', Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.nav-item > a:hover, .nav-dropdown-toggle:hover, .nav-item.is-active > a, .nav-item.is-active > button { color: #e9bc8c; }
.nav-dropdown-toggle span { font-size: 1.2rem; line-height: 0; transform: translateY(-2px); }
.nav-sublist { position: absolute; top: calc(100% - 2px); left: 0; z-index: 30; min-width: 260px; padding: .65rem; background: var(--white); color: var(--navy-deep); box-shadow: var(--shadow); border-radius: 0 0 8px 8px; display: none; }
.nav-item:hover .nav-sublist, .nav-item:focus-within .nav-sublist, .nav-item.is-open .nav-sublist { display: block; }
.nav-sublist a { display: block; padding: .7rem .8rem; font-size: .91rem; line-height: 1.35; text-decoration: none; border-radius: 4px; }
.nav-sublist a:hover, .nav-sublist a[aria-current="page"] { background: #eef3f2; color: #815024; }
.mobile-menu-toggle { display: none; }

.hero { min-height: min(690px, 68vw); position: relative; display: grid; align-items: end; overflow: hidden; background: var(--navy-deep); }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 45%; }
.hero-shade { background: linear-gradient(90deg, rgba(7, 29, 41, .72) 0%, rgba(7, 29, 41, .1) 64%), linear-gradient(0deg, rgba(7, 29, 41, .5), transparent 50%); }
.hero-panel { position: relative; z-index: 1; width: min(560px, calc(100% - 2rem)); margin: 0 0 clamp(2rem, 7vw, 6rem) max(1rem, calc((100vw - 1250px) / 2)); padding: clamp(1.2rem, 3.8vw, 2.4rem); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); border-left: 5px solid var(--accent); }
.hero-logo { display: block; width: min(390px, 100%); max-height: 210px; object-fit: contain; object-position: left; }
.hero-panel p { margin: .3rem 0 0; color: var(--navy); font: 800 clamp(.95rem, 1.65vw, 1.26rem)/1.35 'Segoe UI', Arial, sans-serif; letter-spacing: .14em; }

.section { max-width: 1270px; margin: 0 auto; padding: clamp(3.6rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.section-heading { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.section-heading h1, .section-heading h2 { margin: 0; color: var(--navy); font: 800 clamp(1.65rem, 3vw, 2.5rem)/1.15 'Segoe UI', Arial, sans-serif; letter-spacing: .04em; }
.section-heading span { flex: 1; height: 1px; background: var(--line); }
.news-grid, .teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.news-card, .teaser-card { overflow: hidden; background: var(--white); border-radius: 5px; box-shadow: 0 3px 16px rgba(7, 34, 47, .055); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover, .teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card a { display: block; height: 100%; text-decoration: none; }
.news-card img, .teaser-card img { display: block; width: 100%; height: 235px; object-fit: cover; }
.news-card-body { padding: 1.35rem 1.45rem 1.7rem; }
.news-card time { display: block; margin-bottom: .6rem; color: #905d2f; font: 700 .75rem 'Segoe UI', Arial, sans-serif; letter-spacing: .11em; }
.news-card h2 { margin: 0; font: 700 1.12rem/1.45 'Segoe UI', Arial, sans-serif; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--accent); font: 700 .88rem 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.text-link:hover { color: #925b2f; }
.gallery-teaser { padding-top: 2rem; }
.teaser-card { position: relative; display: block; text-decoration: none; }
.teaser-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4, 22, 31, .83)); }
.teaser-card img { height: 280px; }
.teaser-card span { position: absolute; z-index: 1; bottom: 1rem; left: 1.25rem; right: 1rem; color: var(--white); font: 700 1.08rem/1.3 'Segoe UI', Arial, sans-serif; }
.video-section { padding-top: 2rem; }
.video-frame { max-width: 940px; margin: auto; aspect-ratio: 16 / 9; background: var(--navy-deep); box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.page-main { min-height: calc(100vh - 270px); }
.page-shell { max-width: 1120px; min-height: 400px; margin: 0 auto; padding: 2.2rem clamp(1rem, 4vw, 2.5rem) 5.5rem; }
.page-shell h1, .page-shell .page-header h1 { margin: 0 0 1.3rem; color: var(--navy); font: 800 clamp(2rem, 4vw, 3.15rem)/1.15 'Segoe UI', Arial, sans-serif; }
.page-shell h2 { color: var(--navy); font: 750 clamp(1.35rem, 2vw, 1.8rem)/1.3 'Segoe UI', Arial, sans-serif; }
.page-shell h3 { color: var(--navy); font: 700 1.2rem/1.35 'Segoe UI', Arial, sans-serif; }
.page-shell p, .page-shell li { max-width: 75ch; }
.page-shell a:not(.pascan-album-card):not(.pascan-gallery a) { color: #0f6478; overflow-wrap: anywhere; }
.page-shell a:hover { text-decoration-thickness: 2px; }
.page-shell .item-page, .page-shell .blog, .page-shell .category-blog { background: var(--white); padding: clamp(1.3rem, 4vw, 3.5rem); box-shadow: 0 5px 24px rgba(7, 34, 47, .045); }
.page-shell .item-page > img, .page-shell .item-page p > img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 3px; }
.page-shell .article-info { color: var(--muted); font-size: .85rem; }
.page-shell .blog .item, .page-shell .blog .blog-item, .page-shell .category-blog .item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.page-shell .blog .item:last-child, .page-shell .blog .blog-item:last-child { border-bottom: 0; }
.page-shell .blog .item h2, .page-shell .blog .blog-item h2 { margin-top: 0; }
.page-shell .blog img { max-height: 340px; object-fit: cover; border-radius: 3px; }
.empty-section-title { padding: 3rem 0; }
.contact-extra { margin-top: 1.5rem; padding: 1.5rem; background: var(--white); }
.contact-extra p { margin: .3rem 0; }
.contact-extra img { max-width: 180px; }

.pascan-album-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pascan-album-card { display: flex; flex-direction: column; background: var(--paper); text-decoration: none; color: var(--navy); border-radius: 4px; overflow: hidden; }
.pascan-album-card img { width: 100%; height: 210px; object-fit: cover; }
.pascan-album-card span { padding: .95rem 1.1rem 1.2rem; font-weight: 700; line-height: 1.35; }
.pascan-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 2rem; }
.pascan-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e7e9e7; }
.pascan-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pascan-gallery a:hover img { transform: scale(1.04); }
.pascan-lightbox { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: rgba(5, 18, 26, .96); color: var(--white); }
.pascan-lightbox::backdrop { background: rgba(5, 18, 26, .96); }
.pascan-lightbox-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem 5.5rem; }
.pascan-lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; }
.pascan-lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; width: 3.25rem; height: 3.25rem; cursor: pointer; }
.pascan-lightbox button:hover { background: rgba(255,255,255,.2); }
.pascan-lightbox-close { right: 1.25rem; top: 1.25rem; font-size: 1.8rem; }
.pascan-lightbox-prev, .pascan-lightbox-next { top: 50%; transform: translateY(-50%); font-size: 2.4rem; line-height: 1; }
.pascan-lightbox-prev { left: 1.25rem; }
.pascan-lightbox-next { right: 1.25rem; }
.pascan-lightbox-count { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); font: 700 .82rem 'Segoe UI', Arial, sans-serif; letter-spacing: .12em; }
@media (max-width: 680px) {
  .pascan-lightbox-stage { padding: 4rem 3.7rem; }
  .pascan-lightbox img { max-height: calc(100dvh - 8rem); }
  .pascan-lightbox button { width: 2.75rem; height: 2.75rem; }
  .pascan-lightbox-prev { left: .4rem; }
  .pascan-lightbox-next { right: .4rem; }
}

.site-footer { background: var(--navy-deep); color: #d8e2e5; }
.back-to-top { position: fixed; z-index: 40; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: var(--navy-deep); color: #fff; box-shadow: 0 8px 24px rgba(7, 30, 38, .25); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #174358; }
.footer-inner { max-width: 1270px; min-height: 150px; margin: auto; padding: 2.2rem clamp(1rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-inner p { margin: 0; font-size: .86rem; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: var(--white); text-decoration: none; font: 700 .8rem 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a:hover { color: #e9bc8c; }
.component-only { padding: 2rem; background: var(--white); }
.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-page main { text-align: center; padding: 2rem; }
.error-page img { display: block; width: 220px; margin: 0 auto 2rem; }
.error-page h1 { font: 800 4rem 'Segoe UI', Arial, sans-serif; }

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .brand { width: 135px; height: 54px; }
  .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.35); background: transparent; width: 42px; height: 42px; padding: 9px; cursor: pointer; border-radius: 3px; }
  .mobile-menu-toggle span { display: block; height: 2px; background: #fff; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .nav-list { display: block; padding: .6rem 1rem 1.3rem; }
  .nav-item > a, .nav-dropdown-toggle { width: 100%; justify-content: space-between; min-height: 49px; }
  .nav-sublist { display: none; position: static; min-width: 0; padding: .2rem 0 .55rem 1rem; border-radius: 0; box-shadow: none; background: #173b4d; color: #fff; }
  .nav-item:hover .nav-sublist, .nav-item:focus-within .nav-sublist { display: none; }
  .nav-item.is-open .nav-sublist { display: block; }
  .nav-sublist a { color: #fff; }
  .nav-sublist a:hover, .nav-sublist a[aria-current="page"] { background: #275367; color: #f1c397; }
  .hero { min-height: 560px; }
  .hero-panel { margin-left: 1.5rem; }
}

@media (max-width: 680px) {
  .hero { min-height: 560px; align-items: end; }
  .hero-photo { object-position: 52% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,29,41,.82), rgba(7,29,41,.06) 80%); }
  .hero-panel { margin: 0 1rem 1.25rem; width: auto; padding: 1.1rem; }
  .hero-logo { max-height: 130px; }
  .hero-panel p { font-size: .81rem; }
  .news-grid, .teaser-grid, .pascan-album-list { grid-template-columns: 1fr; }
  .pascan-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card img, .teaser-card img { height: 220px; }
  .section { padding-top: 3.4rem; padding-bottom: 3.4rem; }
  .gallery-teaser, .video-section { padding-top: 0; }
  .page-shell { padding-top: 1.5rem; }
  .page-shell .item-page, .page-shell .blog, .page-shell .category-blog { padding: 1.3rem; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .back-to-top { display: none; }
}

