/* ═══════════════════════════════════════════════════════════════════════════
   Tay Valley Cross-Country Ski Club — Site Stylesheet
   Edit this file to change the visual design.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & custom properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Ensure the HTML hidden attribute always wins over display rules in CSS */
[hidden] { display: none !important; }

:root {
  --navy:       #5c4a3a;
  --navy-dark:  #3d3028;
  --navy-mid:   #7a5c48;
  --green:      #8b3a2a;
  --green-dark: #6b2a1c;
  --ice:        #f5ede6;
  --snow:       #faf7f3;
  --text:       #2c3e50;
  --text-muted: #6c7a8d;
  --border:     #e0d5cc;
  --white:      #ffffff;
  --shadow:     0 2px 16px rgba(92,74,58,.12);
  --radius:     8px;
  --max-w:      1200px;
  --content-w:  820px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--green); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

/* ── Navigation ── */
#main-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 1rem;
}

.nav-logo img { height: 52px; width: auto; }
.nav-logo:hover { opacity: .9; }

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-menu a,
.nav-dropdown-label {
  display: block;
  padding: .5rem .85rem;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.nav-dropdown-label {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-menu a:hover,
.nav-dropdown-label:hover,
.nav-menu li.active > a,
.nav-menu a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 205px;
  background: var(--navy-dark);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { padding: .55rem 1.1rem; font-size: .88rem; border-radius: 0; }
.dropdown li:last-child a { border-radius: 0 0 var(--radius) var(--radius); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── Homepage: hide small nav logo, show large hero logo instead ── */
.page-home .nav-logo { display: none; }

/* ── Homepage hero ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: .65;
}
/* Logo inside hero content, above the title */
.hero-logo {
  display: block;
  margin: 0 auto 1.25rem;
  line-height: 0;
  padding: 8px 16px 12px;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.45));
  transition: opacity .2s;
}
.hero-logo img {
  height: clamp(70px, 16vw, 180px);
  width: auto;
  margin: 0 auto;
  display: block;
}
.hero-logo:hover { opacity: .88; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin-bottom: .75rem;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .18s, box-shadow .18s, background .18s;
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,122,58,.4);
}
.hero .btn-primary {
  background: var(--navy);
  box-shadow: 0 4px 14px rgba(92,74,58,.4);
}
.hero .btn-primary:hover {
  background: var(--navy-dark);
  box-shadow: 0 6px 18px rgba(92,74,58,.5);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,122,58,.5);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.8);
  color: var(--white);
  margin-left: 1rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}

/* ── Interior page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
}
.page-hero p { color: rgba(255,255,255,.82); margin-top: .5rem; font-size: 1.05rem; }

/* ── Hero base bar (replaces quick-links strip) ── */
.hero-base {
  height: 10px;
  background: var(--navy);
}

/* ── Homepage two-column layout ── */
.site-main { min-height: 60vh; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

.home-sections {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
}

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

/* News cards */
.news-list { display: flex; flex-direction: column; gap: 1.75rem; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s, border-color .2s;
}
.news-card:hover { box-shadow: var(--shadow); border-color: var(--navy-mid); }
.news-card .card-date { font-size: .82rem; color: var(--text-muted); margin-bottom: .4rem; }
.news-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .6rem; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--green); text-decoration: none; }
.news-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card {
  background: var(--snow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
}
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sidebar-card ul a { font-size: .93rem; color: var(--navy-mid); }
.sidebar-card ul a:hover { color: var(--green); }
.sidebar-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: .75rem; }
.read-more { font-size: .9rem; font-weight: 600; color: var(--navy-mid); }
.read-more:hover { color: var(--green); }

/* ── Content pages ── */
.content-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}
.content-wrap h1,
.content-wrap h2 { margin: 2rem 0 .9rem; }
.content-wrap h1:first-child,
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; color: var(--navy-mid); }
.content-wrap h4 { font-size: 1.1rem;  margin: 1.5rem 0 .5rem;  color: var(--navy-mid); }
.content-wrap p  { margin-bottom: 1rem; }
.content-wrap ul,
.content-wrap ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-wrap li { margin-bottom: .35rem; }
.content-wrap hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.content-wrap blockquote {
  background: var(--ice);
  border-left: 4px solid var(--green);
  margin: 1.5rem 0;
  padding: 1.1rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy-mid);
}
.content-wrap blockquote cite {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  font-style: normal;
  color: var(--text-muted);
}

.content-wrap figure {
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.content-wrap figure img { width: 100%; border-radius: var(--radius); }
.content-wrap figcaption {
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .5rem;
}

/* Callout boxes */
.callout {
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
}
.callout a { font-weight: 600; }

/* YouTube embeds */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* WP gallery grid */
.wp-block-gallery,
.blocks-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
}
.blocks-gallery-item figure { margin: 0; height: 200px; overflow: hidden; }
.blocks-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s;
}
.blocks-gallery-item img:hover { transform: scale(1.04); }

/* WP columns (used on Waxing page) */
.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* Membership pricing grid */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.price-card {
  background: var(--snow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.price-card .label { font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.price-card .price {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
  color: var(--green);
}
.price-card .note { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
footer h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
footer p      { font-size: .9rem; color: rgba(255,255,255,.7); }
footer p a    { color: rgba(255,255,255,.85); }
footer p a:hover { color: var(--white); }
footer ul     { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
footer ul a   { font-size: .9rem; color: rgba(255,255,255,.7); }
footer ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.5); margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-sections { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { border-radius: 0; padding: .75rem 1.5rem; }

  .dropdown {
    position: static;
    display: none;
    background: rgba(0,0,0,.2);
    box-shadow: none;
    border-radius: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding-left: 2.5rem; }

  .hero { min-height: 400px; }
  .btn-outline { margin-left: 0; margin-top: .75rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 280px; }
  .content-wrap { padding: 1.5rem 1rem 2rem; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Contact page form styles
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-wrap { max-width: 1000px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Form column */
.contact-form-col h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row { display: flex; gap: 1rem; }
.form-row--half > * { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.required { color: var(--green); margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c7a8d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(139,58,42,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab4c0; }

.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  display: inline-block;
  padding: .8rem 2.25rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 4px 14px rgba(45,122,58,.35);
}
.btn-submit:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,122,58,.45);
}
.btn-submit:disabled { opacity: .65; cursor: default; }

/* Success / error feedback */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}
.form-feedback--success {
  background: #edf7ef;
  border: 1px solid #a8d9b0;
  color: #1e5428;
}
.form-feedback--error {
  background: #fdf2f2;
  border: 1px solid #f0b8b8;
  color: #8b2020;
}
.form-feedback strong { display: block; margin-bottom: .2rem; }
.form-feedback p { margin: 0; font-size: .93rem; }
.feedback-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

/* Info sidebar */
.contact-info-card {
  background: var(--snow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--green);
}
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .93rem;
  line-height: 1.5;
}
.ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }

/* Responsive */
@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row--half { flex-direction: column; gap: 0; }
  .contact-wrap { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Location page styles
   ═══════════════════════════════════════════════════════════════════════════ */

.location-wrap { max-width: 900px; }
.location-intro { margin-bottom: 2.5rem; }
.location-intro h2 { margin-top: 0; }

/* Regional context strip */
.region-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--snow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
}

.region-point { text-align: center; flex-shrink: 0; width: 140px; }
.region-point--right { }

.rp-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.rp-sub  { font-size: .82rem; color: var(--text-muted); margin: .2rem 0; }
.rp-dist {
  display: inline-block;
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 600;
  background: var(--ice);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  padding: .15rem .6rem;
  border-radius: 50px;
}

/* The connecting line with midpoint marker */
.region-line {
  flex: 1;
  position: relative;
  height: 4px;
  display: flex;
  align-items: center;
  margin: 0 .5rem;
}
.region-line-inner {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--border), var(--navy-mid), var(--border));
  border-radius: 2px;
}
.region-midpoint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 50%;
  transform: translate(-50%, -50%);
}
.rmp-dot {
  width: 18px;
  height: 18px;
  background: var(--green);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  margin-bottom: .5rem;
  flex-shrink: 0;
}
.rmp-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--green);
  white-space: nowrap;
  background: var(--snow);
  padding: 0 .4rem;
}
.rmp-sub {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--snow);
  padding: 0 .4rem;
}

/* Communities grid */
.communities-section { margin: 2rem 0; }
.community-grid {
  list-style: none !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 !important;
}
.community-grid li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--snow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  margin: 0 !important;
}
.com-name { font-weight: 600; color: var(--navy); }
.com-dist { font-size: .85rem; color: var(--text-muted); }

/* Directions */
.directions-section { margin: 2rem 0; }
.directions-section h2 { margin-bottom: 1rem; }

/* Map embed */
.map-section { margin: 2rem 0; }
.map-section h2 { margin-bottom: 1rem; }
.map-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 680px) {
  .region-strip {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .region-line {
    width: 3px;
    height: 60px;
    flex-direction: column;
    margin: 0;
  }
  .region-line-inner {
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--border), var(--navy-mid), var(--border));
  }
  .region-midpoint {
    left: 50%;
    top: 50%;
  }
  .map-wrapper { height: 300px; }
  .community-grid { grid-template-columns: 1fr 1fr; }
}

/* Hero text link (e.g. "Murphys Point Provincial Park") */
.hero-text-link {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.5);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.hero-text-link:hover {
  color: var(--white);
  text-decoration-color: rgba(255,255,255,.95);
}

/* Dropdown dividers and group labels */
.dropdown-divider {
  border-top: 1px solid rgba(255,255,255,.15);
  margin: .3rem 0;
}
.dropdown-group {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: .45rem 1.1rem .1rem;
  pointer-events: none;
}

/* ── News post pages ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.post-nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-mid);
  max-width: 48%;
}
.post-nav-link:hover { color: var(--green); }
.post-nav-next { margin-left: auto; text-align: right; }
.back-to-news { margin-top: 1rem; font-size: .9rem; }

/* Download button */
.btn-download {
  display: inline-block;
  margin: .5rem 0 1.75rem;
  padding: .75rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .18s, transform .18s;
  box-shadow: 0 3px 10px rgba(92,74,58,.3);
}
.btn-download:hover {
  background: var(--navy-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ── Nordic Pulse embed ── */
.nordic-pulse-embed {
  margin-bottom: 2rem;
}
.nordic-pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  padding: .7rem 1.1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: .95rem;
}
.nordic-pulse-external {
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}
.nordic-pulse-external:hover { color: var(--white); text-decoration: none; }

.nordic-pulse-frame-wrap {
  position: relative;
  width: 100%;
  height: 540px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: var(--snow);
}
.nordic-pulse-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.nordic-pulse-blocked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}
.nordic-pulse-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .6rem;
}

@media (max-width: 600px) {
  .nordic-pulse-frame-wrap { height: 400px; }
  .nordic-pulse-header { flex-direction: column; align-items: flex-start; gap: .3rem; }
}
