/* Design B "Coastal". Edit with templates/layout.php to change the look. */
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/playfair-600.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }
:root { --navy: #14284b; --blue: #1d5f8a; --gold: #e9b44c; --ink: #1b2430; --text: #223; --muted: #556; --bg: #f6f4ef; --card: #fff; --serif: "Playfair Display", Georgia, serif; }
* { box-sizing: border-box; }
body { margin: 0; font: 16.5px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; }
h1 { font-size: 2.4rem; } h2 { font-size: 1.9rem; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: relative; z-index: 5; }
.is-home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.2; }
.brand small { font-weight: 400; opacity: .85; }
.logo { background: #fff; border-radius: 50%; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; flex: none; }
.logo img { width: 56px; height: 56px; object-fit: contain; }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a { color: #fff; text-decoration: none; padding: 8px 12px; font-size: 15px; font-weight: 500; letter-spacing: .02em; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--gold); }
.nav-toggle, .nav-button { display: none; }

/* Hero and stats */
.hero { min-height: 680px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 40%, rgba(10,25,45,.7)), var(--navy) url(/assets/hero.png) center/cover no-repeat; }
.hero-text { width: 100%; padding-bottom: 110px; }
.kicker { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin: 0; }
.hero-title { color: #fff; font-size: 3.6rem; max-width: 720px; margin: 14px 0 22px; }
.btn { display: inline-block; background: var(--gold); color: var(--ink); padding: 14px 28px; border-radius: 30px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn:hover { background: #f2c566; }
.band { background: var(--card); margin-top: -50px; position: relative; border-radius: 12px; padding: 30px 40px; display: flex; gap: 40px; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.band div { flex: 1; }
.band b { display: block; font-size: 2.1rem; color: var(--blue); font-family: var(--serif); font-weight: 600; line-height: 1.2; }
.band span { font-size: 14px; color: var(--muted); }

/* Content */
.content { padding-top: 40px; padding-bottom: 60px; }
.content > p, .content li { color: #445; }
.news { margin-top: 40px; padding: 28px 32px; background: var(--card); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.06); border-top: 4px solid var(--gold); }
.news-item + .news-item { border-top: 1px solid #e4e0d6; margin-top: 16px; }
.news-item .date { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; display: block; }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding-top: 6px; }
.contact-form { display: grid; gap: 14px; max-width: 560px; background: var(--card); padding: 28px; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.contact-form label { display: grid; gap: 4px; font-weight: 600; }
input, textarea, button { font: inherit; }
input, textarea { padding: 11px; border: 1px solid #c9c4b8; border-radius: 8px; width: 100%; background: #fff; }
button { background: var(--gold); color: var(--ink); font-weight: 700; border: 0; padding: 13px 26px; border-radius: 30px; cursor: pointer; justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #e6f4ea; padding: 12px; border-radius: 8px; }
.error { background: #fdecea; padding: 12px; border-radius: 8px; }
.site-footer { background: var(--navy); color: #dfe6ef; padding: 28px 0; font-size: .95rem; }
.site-footer a { color: var(--gold); }

/* Phones */
@media (max-width: 860px) {
  .nav-button { display: block; color: #fff; border: 1px solid rgba(255,255,255,.6); padding: 6px 14px; border-radius: 20px; cursor: pointer; }
  .main-nav { display: none; width: 100%; flex-direction: column; padding-top: 10px; }
  .is-home .nav-toggle:checked ~ .main-nav { background: rgba(20,40,75,.95); border-radius: 12px; padding: 10px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .logo { width: 58px; height: 58px; } .logo img { width: 42px; height: 42px; }
  .hero { min-height: 520px; }
  .hero-text { padding-bottom: 80px; }
  .hero-title { font-size: 2.3rem; }
  .band { flex-direction: column; gap: 16px; padding: 22px 24px; margin-top: -40px; }
  h1 { font-size: 1.9rem; } h2 { font-size: 1.55rem; }
  .news, .contact-form { padding: 20px; }
}

.page-body img, .news-item img { max-width: 100%; height: auto; border-radius: 8px; }
.ql-align-left { text-align: left; }
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-indent-1 { padding-left: 1.5em; }
.ql-indent-2 { padding-left: 3em; }
.ql-indent-3 { padding-left: 4.5em; }
.ql-indent-4 { padding-left: 6em; }
.ql-indent-5 { padding-left: 7.5em; }
.ql-indent-6 { padding-left: 9em; }
.ql-indent-7 { padding-left: 10.5em; }
.ql-indent-8 { padding-left: 12em; }
.gallery figure:target, .news-item:target { outline: 3px solid #1d8fc9; outline-offset: 4px; border-radius: 8px; }
.preview-banner { margin: 0; padding: 10px 16px; background: #14284b; color: #fff; text-align: center; font-weight: 600; }
