/*
  RT-75 Göteborg-Gothia  –  style.v33
*/

:root {
  --bg: #f7f4ea;
  --surface: #ffffff;
  --surface-2: #f1ead2;

  --text: #111827;
  --muted: #5d6472;

  --primary: #101f5b;
  --primary-dark: #08133f;
  --primary-soft: #182b73;

  --accent: #ffd100;
  --accent-soft: #ffe066;
  --accent-dark: #d7a900;

  --border: #e4d79a;
  --shadow: 0 22px 55px rgba(16, 31, 91, 0.18);
  --radius: 24px;
}

/* ── Reset ──────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ── Utilities ──────────────────────────────────────────── */

.muted { color: var(--muted); }

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(16, 31, 91, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--accent);
}

.nav-wrap {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span { line-height: 1.15; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  background-color: var(--accent);
}

.nav-webmail {
  color: var(--primary-dark) !important;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 10px 24px rgba(255, 209, 0, 0.22);
}

.nav-webmail:hover {
  color: var(--primary-dark) !important;
  background-color: var(--accent-soft) !important;
  border-color: var(--accent-soft);
}

.nav-auth {
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem !important;
}

.nav-auth:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: #ffffff;
  border-radius: 99px;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 62px);
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 0, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 209, 0, 0.16), transparent 30%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-soft) 100%);
}

.hero-grid {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.hero-text {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: var(--primary-dark);
  background-color: var(--accent);
  box-shadow: 0 14px 32px rgba(255, 209, 0, 0.22);
}

.btn-primary:hover { background-color: var(--accent-soft); }

.btn-secondary {
  color: #ffffff;
  background-color: transparent;
  border-color: rgba(255, 209, 0, 0.65);
}

.btn-secondary:hover {
  color: var(--primary-dark);
  background-color: var(--accent);
}

.btn-secondary-light {
  color: var(--primary);
  background-color: #ffffff;
  border-color: var(--border);
}

.btn-secondary-light:hover {
  color: var(--primary-dark);
  background-color: var(--surface-2);
}

/* ── Cards ──────────────────────────────────────────────── */

.hero-card,
.card,
.contact-box {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.contact-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
}

.hero-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 36px 32px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(255, 209, 0, 0.18), transparent 38%),
    linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-card h2 {
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-card p { color: rgba(255, 255, 255, 0.82); }

.hero-logo {
  width: 160px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.card {
  padding: 26px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 26px 65px rgba(16, 31, 91, 0.18);
}

.card p,
.split p,
.content-narrow p,
.contact-box p,
.site-footer p {
  color: var(--muted);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 800;
}

.text-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ── Sections ───────────────────────────────────────────── */

.section { padding: 72px 0; }

.section-muted { background-color: var(--surface-2); }

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Breadcrumbs ────────────────────────────────────────── */

.breadcrumbs {
  background-color: rgba(247, 244, 234, 0.92);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs-list {
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.breadcrumbs-item:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--accent-dark);
  font-weight: 900;
}

.breadcrumbs-item a { color: var(--primary); }

.breadcrumbs-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumbs-item span { color: var(--text); }

/* ── Page header ────────────────────────────────────────── */

.page-header {
  min-height: 340px;
  padding: 86px 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 0, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 209, 0, 0.12), transparent 30%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-soft) 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--accent);
}

.page-header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-header .eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-header h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-align: center;
}

.page-header .page-lead,
.page-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  text-align: center;
}

.page-header a { color: var(--accent); }
.page-header a:hover { text-decoration: underline; }

.content-narrow { max-width: 760px; }

.content-narrow h2:not(:first-child) { margin-top: 32px; }

.contact-box {
  max-width: 680px;
  padding: 34px;
}

/* ── Forms ──────────────────────────────────────────────── */

.cal-form-wrap,
.form-wrap {
  max-width: 620px;
}

.cal-form,
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cal-label,
.form-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.cal-required,
.form-required {
  color: #dc2626;
}

.cal-input,
.form-input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.cal-input:focus,
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 31, 91, 0.1);
}

.cal-textarea,
.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.cal-row,
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.cal-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.cal-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.cal-recurring-fields {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.cal-form-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cal-alert-error,
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  color: #991b1b;
  font-size: 0.9rem;
}

.cal-alert-error p,
.form-error p {
  margin: 0 0 4px;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 32px;
  text-align: center;
}

.cal-info-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cal-delete-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cal-btn-danger {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cal-btn-danger:hover {
  background: #991b1b;
  color: #fff;
}

/* ── News ───────────────────────────────────────────────── */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-img-placeholder span { font-size: 3rem; }

.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.news-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.news-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.news-post-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 32px;
  max-height: 420px;
  object-fit: cover;
}

.news-post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.news-post-back {
  margin-top: 40px;
}

.news-post-back a {
  color: var(--primary);
  font-weight: 700;
}

/* ── Om oss ─────────────────────────────────────────────── */

.about-section { background-color: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.about-main {
  padding: 46px;
  text-align: center;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-main .eyebrow { color: var(--primary); }

.about-main h2 {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--primary-dark);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-align: center;
}

.about-main p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
  text-align: center;
}

.about-main p:last-child { margin-bottom: 0; }

.about-highlight {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 0, 0.18), transparent 42%),
    linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.about-highlight h3 {
  max-width: 620px;
  margin: 0 auto 14px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-highlight p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-section + .section-muted .section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.about-section + .section-muted .section-heading h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.055em;
}

.about-section + .section-muted .section-heading .eyebrow { color: var(--primary); }

.about-section + .section-muted .section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-section + .section-muted .cards {
  max-width: 1080px;
  margin: 0 auto;
}

/* ── Document / PDF ─────────────────────────────────────── */

.document-section { background-color: var(--bg); }

.document-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.document-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.document-info p { color: var(--muted); }

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.pdf-viewer {
  min-height: 520px;
  overflow: hidden;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 6px);
}

.pdf-viewer object {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

.pdf-fallback {
  padding: 28px;
  color: var(--text);
}

.pdf-fallback p { color: var(--muted); }

/* ── Webmail ─────────────────────────────────────────────── */

.app-section { background-color: var(--bg); }

.webmail-portal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.webmail-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  background-color: var(--accent);
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 209, 0, 0.28);
}

.webmail-portal .eyebrow { color: var(--primary); }

.webmail-portal h2 {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.webmail-portal p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.webmail-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Full-page apps ─────────────────────────────────────── */

.app-full-page {
  width: 100%;
  min-height: calc(100dvh - 62px);
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.app-full-frame,
.app-full-page iframe {
  width: 100%;
  height: calc(100dvh - 62px);
  min-height: calc(100dvh - 62px);
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #ffffff;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  padding: 52px 0 0;
  color: #ffffff;
  background-color: var(--primary-dark);
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 6px;
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  transition: color 0.15s;
}

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

.footer-contact-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  transition: color 0.15s;
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.44);
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-wrap { min-height: 62px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background-color: var(--primary-dark);
    border: 1px solid var(--accent);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav-webmail {
    justify-content: center;
    text-align: center;
    margin-top: 6px;
  }

  .brand img { width: 34px; height: 34px; }

  .brand span { font-size: 0.88rem; }

  .breadcrumbs-list {
    padding: 10px 0;
    font-size: 0.86rem;
    gap: 6px;
  }

  .breadcrumbs-item:not(:last-child)::after { margin-left: 6px; }

  .hero {
    min-height: auto;
    padding: 48px 0 44px;
  }

  .hero-card { max-width: 300px; }

  .hero-logo { width: 130px; }

  .cards { grid-template-columns: 1fr; }

  .split,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .page-header {
    min-height: auto;
    padding: 48px 0 44px;
  }

  .page-header h1 { font-size: clamp(2.4rem, 12vw, 4rem); }

  .page-header .page-lead,
  .page-header p:not(.eyebrow) { font-size: 1rem; }

  .about-grid { grid-template-columns: 1fr; }

  .about-main { padding: 30px 24px; }

  .about-main h2 { font-size: 2.1rem; }

  .about-main p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-highlight { padding: 30px 24px; }

  .document-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .document-info { padding: 8px; }

  .document-actions { flex-direction: column; }

  .document-actions .btn { width: 100%; }

  .pdf-viewer { min-height: 420px; }

  .pdf-viewer object { min-height: 420px; }

  .webmail-portal { padding: 32px 24px; }

  .webmail-actions { flex-direction: column; }

  .webmail-actions .btn { width: 100%; }

  .app-full-page { min-height: calc(100dvh - 62px); }

  .app-full-frame,
  .app-full-page iframe {
    height: calc(100dvh - 62px);
    min-height: calc(100dvh - 62px);
  }

  .news-grid { grid-template-columns: 1fr; }

  .footer-bottom { justify-content: center; text-align: center; }
}
