/* ==========================================================================
   Base CSS (Menu rules extracted)
   --------------------------------------------------------------------------
   The navigation styles were moved into:
   - nav-menu.css    (desktop + shared)
   - nav-mobile.css  (mobile overrides)

   Include them after base.css (recommended):
   <link rel="stylesheet" href="base.css">
   <link rel="stylesheet" href="nav-menu.css">
   <link rel="stylesheet" href="nav-mobile.css">
   ========================================================================== */

/* Intentionally left without the extracted navigation blocks. */


/* ============================================================
   Base Additions — Centralized from repeated inline <style> blocks
   Scope: global shell + common components used across ski pages
   ============================================================ */

/* Design tokens */
:root {
  --sky: #93e5ff;
  --deep: #0b2a3f;
  --teal: #0f3a56;
  --sun: #ff8b2e;
  --snow: #f5fbff;
  --ink: #0e1620;
  --accent: #1b79a5;
  --card: #ffffff;
  --muted: #5d7284;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 42, 63, 0.12);
  --lightBtn: #f4f9fc;
}

/* Global reset + page background */
* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky), #dff7ff 40%, #ffffff 100%);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* Header shell */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(11, 42, 63, 0.08);
}

/* Standard page container */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav row */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* Branding */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  height: 56px;
  width: 56px;
  border-radius: 999px;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
  color: var(--deep);
}

/* Removes repeated inline style="color:inherit;text-decoration:none" */
.brand h1 a {
  color: inherit;
  text-decoration: none;
}

/* Common page sections */
.hero { padding: 60px 0 24px; }

/* Hero section spacing */
.hero {
  padding: 60px 0 24px;
}

/* Hero container alignment (used when .wrap also has .hero) */
.wrap.hero {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Section tag / category pill */
.tag {
  display: inline-block;
  background: var(--lightBtn);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 20px;
  margin-bottom: 18px;
}

/* Primary section heading */
h2 {
  font-size: 32px;
  line-height: 1.2;
  color: var(--deep);
  margin: 8px 0 0;
}

.tag {
  display: inline-block;
  background: var(--lightBtn);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 20px 0 18px;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  color: var(--deep);
  margin: 8px 0 0;
}

section { padding: 28px 0; }

.toplink {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

/* Image box utility (fixed aspect ratio) */
.imgbox {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f9fc;
  border: 1px solid rgba(11, 42, 63, 0.08);
}

.imgbox::before {
  content: "";
  display: block;
  padding-top: 56%;
}

.imgbox img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.btn.light {
  background: rgba(27, 121, 165, 0.12);
  color: var(--teal);
}

.btn.alt_dark {
  background: var(--deep);
  color: #fff;
}

/* Common action spacing (replaces repeated inline style="margin-top:12px") */
.row-actions {
  margin-top: 12px;
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(11, 42, 63, 0.08);
  color: var(--muted);
}

/* Replaces repeated inline footer layout style */
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Blog skiing grid: keep 3-up layout on desktop and consistent card width */
.blog-grid{
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  justify-content: center;
}

/* Tablet: 2-up */
@media (max-width: 980px){
  .blog-grid{
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

/* Mobile: 1-up */
@media (max-width: 620px){
  .blog-grid{
    grid-template-columns: 1fr;
  }
}