/* =========================================================
   CYBERCUMBRIA
   Shared stylesheet
   ========================================================= */


/* =========================
   VARIABLES
   ========================= */

:root {
  --navy: #06192c;
  --navy-light: #0a2944;
  --panel: rgba(8, 37, 61, 0.72);

  --blue: #38b6ff;
  --blue-light: #78d4ff;

  --white: #f4fbff;
  --muted: #a7c2d3;
  --border: rgba(56, 182, 255, 0.20);

  --green: #63d99b;
}


/* =========================
   RESET / GLOBAL
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;

  background:
    radial-gradient(
      circle at 50% 0%,
      #0d395b 0%,
      #06192c 38%,
      #03101d 100%
    );

  color: var(--white);
  min-height: 100vh;
}

.page {
  width: min(1150px, 92%);
  margin: 0 auto;
}


/* =========================
   HEADER / NAVIGATION
   ========================= */

header {
  min-height: 82px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--white);
  text-decoration: none;
}

.brand span {
  color: var(--blue);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;

  transition: color 0.2s;
}

nav a:hover {
  color: var(--blue-light);
}


/* =========================
   SHARED TYPOGRAPHY
   ========================= */

.eyebrow,
.section-label {
  color: var(--blue);

  text-transform: uppercase;
  letter-spacing: 0.18em;

  font-size: 0.75rem;
}

.eyebrow {
  margin-bottom: 18px;
}

.section-label {
  margin-bottom: 12px;
}

.section-title {
  margin: 0;

  font-size: clamp(1.8rem, 5vw, 3rem);
}

.section-intro {
  max-width: 720px;

  color: var(--muted);

  line-height: 1.65;

  margin: 15px 0 35px;
}


/* =========================
   BUTTONS
   ========================= */

.hero-button,
.home-button {
  display: inline-block;

  border: 1px solid rgba(56, 182, 255, 0.4);
  border-radius: 9px;

  color: var(--blue-light);
  text-decoration: none;

  font-weight: 600;
  font-size: 0.9rem;

  background: rgba(56, 182, 255, 0.06);

  transition: 0.2s ease;
}

.hero-button {
  margin-top: 30px;
  padding: 13px 22px;
}

.home-button {
  margin-top: 15px;
  padding: 12px 18px;
}

.hero-button:hover,
.home-button:hover {
  background: rgba(56, 182, 255, 0.14);

  border-color: var(--blue);

  transform: translateY(-2px);
}


/* =========================================================
   HOMEPAGE
   ========================================================= */


/* =========================
   HOMEPAGE HERO
   ========================= */

.home-hero {
  text-align: center;

  padding: 70px 0 65px;
}

.logo {
  width: min(380px, 90%);
  height: auto;

  margin-bottom: 30px;

  filter:
    drop-shadow(
      0 12px 35px rgba(56, 182, 255, 0.12)
    );
}

.home-hero h1 {
  margin: 0;

  font-size: clamp(2.2rem, 5vw, 4rem);

  letter-spacing: -0.035em;
}

.home-hero h1 span {
  color: var(--blue);
}

.home-hero .intro {
  max-width: 700px;

  margin: 22px auto 0;

  color: var(--muted);

  line-height: 1.7;

  font-size: 1.08rem;
}


/* =========================
   HOMEPAGE LEARNING CARDS
   ========================= */

.learn-section {
  padding: 35px 0 70px;
}

.grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.card {
  display: block;

  min-height: 180px;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: var(--panel);

  text-decoration: none;

  position: relative;
  overflow: hidden;

  transition: 0.22s ease;
}

.card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 70px;
  height: 2px;

  background: var(--blue);
}

.card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(56, 182, 255, 0.55);

  background:
    rgba(10, 48, 79, 0.82);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.18);
}

.card-icon {
  font-size: 1.5rem;

  margin-bottom: 18px;
}

.card h2 {
  margin: 0 0 10px;

  color: var(--white);

  font-size: 1.1rem;
}

.card p {
  margin: 0;

  color: var(--muted);

  line-height: 1.55;

  font-size: 0.92rem;
}

.card-arrow {
  display: block;

  margin-top: 18px;

  color: var(--blue);

  font-size: 0.85rem;
}


/* =========================
   NEWS
   ========================= */

.news-section {
  scroll-margin-top: 25px;

  padding: 65px 0;

  border-top: 1px solid var(--border);
}

.news-title {
  margin: 0;

  font-size: clamp(2rem, 5vw, 3rem);
}

.news-intro {
  color: var(--muted);

  margin: 14px 0 30px;

  line-height: 1.6;
}

.topic-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-list {
  display: grid;

  gap: 14px;
}

.news-item {
  padding: 20px 22px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--panel);

  transition: 0.2s ease;
}

.news-item:hover {
  border-color:
    rgba(56, 182, 255, 0.5);

  transform: translateY(-2px);
}

.news-meta {
  color: var(--blue);

  font-size: 0.75rem;

  text-transform: uppercase;

  letter-spacing: 0.1em;

  margin-bottom: 8px;
}

.news-item h3 {
  margin: 0 0 8px;

  font-size: 1.05rem;
}

.news-item a {
  color: var(--white);

  text-decoration: none;
}

.news-item a:hover {
  color: var(--blue-light);
}

.news-item p {
  margin: 0;

  color: var(--muted);

  line-height: 1.55;

  font-size: 0.92rem;
}

.news-updated,
.news-loading {
  margin-top: 18px;

  color: #718fa3;

  font-size: 0.8rem;
}

.all-news {
  display: inline-block;

  margin-top: 24px;

  color: var(--blue);

  text-decoration: none;

  font-size: 0.9rem;
}

.all-news:hover {
  color: var(--blue-light);
}


/* =========================================================
   CYBER BASICS
   ========================================================= */


/* =========================
   LESSON HERO
   ========================= */

.lesson-hero {
  max-width: 820px;
  padding: 50px 0 25px;
  margin-left: auto;
  margin-right: auto;
}

.lesson-hero h1 {
  margin: 0;

  font-size: clamp(2.4rem, 5vw, 3.6rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.lesson-hero h1 span {
  color: var(--blue);
}

.lesson-hero .intro {
  max-width: 750px;

  margin-top: 26px;

  color: var(--muted);

  line-height: 1.75;

  font-size: 1.08rem;
}


/* =========================
   INTERNET JOURNEY
   ========================= */

.journey-section {
  padding: 25px 0 75px;
}

.journey {
  display: grid;

  grid-template-columns:
    1fr 55px 1fr 55px 1fr;

  align-items: stretch;

  gap: 0;

  margin-bottom: 20px;
}

.journey-second {
  margin-top: 18px;
}

.step {
  padding: 25px;

  background: var(--panel);

  border: 1px solid var(--border);
  border-radius: 14px;

  position: relative;

  min-height: 230px;
}

.step-number {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  background:
    rgba(56, 182, 255, 0.12);

  border:
    1px solid rgba(56, 182, 255, 0.35);

  color: var(--blue-light);

  font-size: 0.8rem;
  font-weight: 700;

  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 10px;

  font-size: 1.15rem;
}

.tech {
  color: var(--blue);

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 0.82rem;

  margin-bottom: 14px;
}

.step p {
  color: var(--muted);

  margin: 0;

  line-height: 1.6;

  font-size: 0.92rem;
}

.arrow {
  display: flex;

  justify-content: center;
  align-items: center;

  color: var(--blue);

  font-size: 1.6rem;
}


/* =========================
   URL EXAMPLE
   ========================= */

.example {
  margin: 10px 0 75px;

  padding: 32px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(56, 182, 255, 0.08),
      rgba(8, 37, 61, 0.55)
    );
}

.example h2 {
  margin: 0 0 12px;

  font-size: 1.5rem;
}

.example > p {
  color: var(--muted);

  line-height: 1.65;

  margin-bottom: 25px;
}

.address-bar {
  background: #03101d;

  border: 1px solid var(--border);
  border-radius: 9px;

  padding: 15px 18px;

  font-family:
    Consolas,
    "Courier New",
    monospace;

  color: var(--white);

  overflow-wrap: anywhere;
}

.https {
  color: var(--green);
}

.domain {
  color: var(--blue-light);
}

.explanation {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 14px;

  margin-top: 20px;
}

.mini-card {
  padding: 18px;

  background:
    rgba(3, 16, 29, 0.45);

  border:
    1px solid rgba(56, 182, 255, 0.13);

  border-radius: 10px;
}

.mini-card strong {
  color: var(--blue-light);

  display: block;

  margin-bottom: 7px;
}

.mini-card p {
  color: var(--muted);

  margin: 0;

  font-size: 0.87rem;

  line-height: 1.5;
}


/* =========================
   CYBER BASICS TOPICS
   ========================= */

.topics {
  padding: 0 0 75px;
}

.topic-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 16px;

  margin-top: 30px;
}

.topic {
  padding: 23px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--panel);

  transition: 0.2s ease;
}

.topic:hover {
  border-color:
    rgba(56, 182, 255, 0.5);

  transform: translateY(-2px);
}

.topic h3 {
  margin: 0 0 8px;

  color: var(--white);
}

.topic p {
  margin: 0;

  color: var(--muted);

  line-height: 1.55;

  font-size: 0.9rem;
}

.coming {
  display: inline-block;

  margin-top: 14px;

  color: var(--blue);

  font-size: 0.78rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}


/* =========================
   LESSON END
   ========================= */

.next-section {
  padding: 45px 0 65px;

  border-top: 1px solid var(--border);
}

.next-section h2 {
  margin: 0 0 12px;
}

.next-section p {
  color: var(--muted);

  line-height: 1.6;

  max-width: 700px;
}


/* =========================
   FOOTER
   ========================= */

footer {
  padding: 28px 0 38px;

  border-top: 1px solid var(--border);

  color: #718fa3;

  font-size: 0.82rem;

  display: flex;

  justify-content: space-between;

  gap: 20px;
}

/* =========================
   LESSON CONTENT
   ========================= */

.lesson-content {
  max-width: 820px;
  padding: 15px 0 42px;
  margin-left : auto;
  margin-right: auto;
}

.lesson-content + .lesson-content {
  border-top: 1px solid var(--border);
  padding-top: 38px;
}

.lesson-content h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.lesson-content > p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 780px;
}

.lesson-content strong {
  color: var(--white);
}


/* LARGE IP EXAMPLE */

.ip-display {
  margin-top: 30px;
  padding: 20px;
  background: rgba(3, 16, 29, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;

  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(1.7rem, 6vw, 3rem);
  text-align: center;

  color: var(--white);
}

.ip-display span {
  color: var(--blue-light);
}

.caption,
.example-note {
  color: #718fa3 !important;
  font-size: 0.8rem;
}


/* INFORMATION BOX */

.info-box {
  margin-top: 25px;
  padding: 20px 22px;

  background: rgba(56, 182, 255, 0.07);

  border: 1px solid rgba(56, 182, 255, 0.25);
  border-left: 3px solid var(--blue);
  border-radius: 8px;

  color: var(--muted);
  line-height: 1.6;
}

.info-box.warning {
  border-left-color: #f0b45a;
  background: rgba(240, 180, 90, 0.06);
}


/* COMPARISON CARDS */

.comparison-grid,
.simple-grid,
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.comparison-card,
.simple-card,
.reveal-card {
  padding: 19px;

  background: var(--panel);

  border: 1px solid var(--border);
  border-radius: 12px;
}

.comparison-label {
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 15px;
}

.code-example {
  padding: 15px;

  background: #03101d;
  border-radius: 7px;

  color: var(--blue-light);

  font-family: Consolas, "Courier New", monospace;
  font-size: 1.15rem;

  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

.comparison-card h3,
.simple-card h3,
.reveal-card h3 {
  margin: 0 0 10px;
}

.comparison-card p,
.simple-card p,
.reveal-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}


/* PRIVATE RANGES */

.range-list {
  margin: 28px 0;

  border: 1px solid var(--border);
  border-radius: 10px;

  overflow: hidden;
}

.range-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 17px 20px;

  background: rgba(8, 37, 61, 0.55);

  border-bottom: 1px solid var(--border);
}

.range-row:last-child {
  border-bottom: none;
}

.range-row code {
  color: var(--blue-light);
}

.range-row span {
  color: var(--muted);
  font-size: 0.85rem;
}


/* NAT DIAGRAM */

.network-demo {
  display: grid;

  grid-template-columns:
    1.5fr 45px 1fr 45px 1.2fr;

  gap: 10px;

  align-items: center;

  margin: 24px 0;
}

.network-side {
  display: grid;
  gap: 8px;
}

.network-device,
.router-box,
.internet-box {
  padding: 15px;

  background: var(--panel);

  border: 1px solid var(--border);
  border-radius: 9px;

  text-align: center;
}

.network-device {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  font-size: 0.85rem;
}

.network-device code {
  color: var(--blue-light);
}

.router-box {
  color: var(--white);
  font-weight: 700;
}

.router-box span {
  display: block;

  margin-top: 7px;

  color: var(--blue);

  font-size: 0.8rem;
}

.internet-box {
  color: var(--white);
  font-weight: 700;
}

.internet-box code {
  display: block;

  margin-top: 8px;

  color: var(--blue-light);

  font-weight: normal;
}

.network-arrow {
  text-align: center;

  color: var(--blue);

  font-size: 1.5rem;
}


/* IP PRIVACY */

.reveal-card > span {
  display: block;

  color: var(--blue);

  font-size: 0.68rem;
  letter-spacing: 0.1em;

  margin-bottom: 12px;
}

.reveal-card.no > span {
  color: var(--green);
}


/* SECURITY LOG */

.security-log {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 1px;

  margin: 30px 0;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--border);
}

.security-log div {
  padding: 18px;

  background: #03101d;
}

.security-log span {
  display: block;

  color: var(--muted);

  font-size: 0.75rem;

  margin-bottom: 8px;
}

.security-log code {
  color: var(--blue-light);

  font-size: 0.95rem;
}

/* =========================================================
   DNS LESSON
   ========================================================= */

.dns-flow,
.dns-hierarchy {
  margin: 24px 0;
}

.dns-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.dns-step strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dns-step p {
  margin: 0;
  color: var(--muted);
}

.dns-number {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(56, 182, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--blue-light);
  font-weight: 700;
}

.dns-down {
  text-align: center;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  padding: 7px 0;
}

.dns-level {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.dns-level span {
  display: block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}

.dns-level strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.dns-level p {
  margin: 0;
  color: var(--muted);
}

.dns-records {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.dns-record {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dns-record > strong {
  color: var(--blue-light);
  font-size: 1.15rem;
}

.dns-record span {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.dns-record code {
  color: var(--muted);
  font-size: 0.9rem;
}

.command-demo {
  margin: 12px 0;
  padding: 16px 18px;
  background: #03101d;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.command-demo span {
  display: block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.command-demo code {
  color: var(--white);
  font-size: 0.95rem;
}


/* =========================================================
   LESSON NAVIGATION
   ========================================================= */

.lesson-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.lesson-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  min-height: 90px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.lesson-nav-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 182, 255, 0.55);
  background: rgba(10, 41, 68, 0.9);
}

.lesson-nav-label {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lesson-nav-card strong {
  margin-top: 6px;
  font-size: 1.2rem;
  color: var(--white);
}

.lesson-nav-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.lesson-nav-next {
  text-align: right;
  align-items: flex-end;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 850px) {

  nav {
    display: none;
  }

  .home-hero {
    padding: 50px 0;
  }

  .logo {
    width: min(520px, 90%);
  }

  .lesson-hero {
    padding: 50px 0 40px;
  }

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

  .card {
    min-height: auto;
  }

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

  .arrow {
    min-height: 50px;

    transform: rotate(90deg);
  }

  .step {
    min-height: auto;
  }

  .explanation,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .example {
    padding: 23px;
  }

  footer {
    flex-direction: column;
  }


  .dns-record {
  grid-template-columns: 1fr;
  gap: 6px;
}

.dns-step {
  padding: 16px;
}

.command-demo code {
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.comparison-grid,
.simple-grid,
.reveal-grid,
.security-log {
  grid-template-columns: 1fr;
}

.network-demo {
  grid-template-columns: 1fr;
}

.network-arrow {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}

.range-row {
  flex-direction: column;
  gap: 7px;
}

.network-device {
  flex-direction: column;
}


}
/* Lesson information cards: stack titles above descriptions */
.lesson-content .dns-records .dns-record {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    grid-template-columns: none !important;
}

.lesson-content .dns-records .dns-record strong,
.lesson-content .dns-records .dns-record span {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* Dedicated vertical layout for the VPN diagram */
.network-demo.vpn-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 620px;
    margin: 28px auto;
}

.network-demo.vpn-flow .dns-step {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
}

.network-demo.vpn-flow .dns-step strong,
.network-demo.vpn-flow .dns-step p {
    display: block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.network-demo.vpn-flow .dns-down {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    transform: none;
}


/* CyberCumbria external resource buttons */

.external-resource {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    margin: 14px 0;
    background: #102f48;
    border: 1px solid #279bc5;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.external-resource:hover,
.external-resource:focus-visible {
    background: #174968;
    border-color: #72d6f4;
}

.external-resource .resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    background: #174968;
    color: #72d6f4;
    font-size: 24px;
}

.external-resource .resource-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.external-resource .resource-details strong {
    color: #ffffff;
    overflow-wrap: anywhere;
}

.external-resource .resource-details small {
    color: #b8d2df;
    line-height: 1.5;
}

.external-resource .resource-arrow {
    color: #72d6f4;
    font-size: 25px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .external-resource {
        gap: 12px;
        padding: 14px;
    }
}


/* CYBERCUMBRIA MOBILE MENU */
.mobile-menu {
  display: none;
}

@media (max-width: 850px) {
  header {
    position: relative;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--white);
    font-weight: 600;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-links {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #101e30;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,.3);
  }

  .mobile-menu-links a {
    display: block;
    padding: 13px 15px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-links a:last-child {
    border-bottom: none;
  }

  .mobile-menu-links a:hover {
    color: var(--blue-light);
  }
}

/* =========================================
   CYBERCUMBRIA HOMEPAGE REFRESH
   ========================================= */

.home-hero-new {
  padding: 35px 0 25px;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(180px, 38%) 1fr;
  align-items: center;
  gap: 38px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-hero-logo .logo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
}

.home-hero-copy {
  text-align: left;
}

.home-hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.15;
}

.home-hero-copy .intro {
  margin: 0;
  max-width: 620px;
}

.home-explore {
  margin: 15px auto 50px;
  max-width: 1100px;
}

.home-explore h2 {
  margin: 0 0 22px;
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.home-explore-grid a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px;
  border: 1px solid rgba(100,195,225,.3);
  border-radius: 14px;
  background: rgba(40,90,125,.18);
  color: var(--white);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.home-explore-grid a:hover {
  border-color: #39c8e5;
  transform: translateY(-3px);
}

.home-explore-grid strong {
  font-size: 1.05rem;
}

.home-explore-grid small {
  color: var(--muted);
  line-height: 1.5;
}

.explore-icon {
  color: #56d5ed;
  font-size: 1.6rem;
}

@media (max-width: 850px) {
  .home-hero-layout {
    grid-template-columns: minmax(0, 36%) 1fr;
    gap: 22px;
  }

  .home-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-hero-new {
    padding: 24px 0 18px;
  }

  .home-hero-layout {
    grid-template-columns: minmax(0, 35%) 1fr;
    gap: 14px;
  }

  .home-hero-copy h1 {
    font-size: clamp(1.3rem, 5vw, 2rem);
    margin-bottom: 10px;
  }

  .home-hero-copy .intro {
    font-size: .85rem;
    line-height: 1.5;
  }

  .home-explore {
    margin: 15px auto 35px;
  }

  .home-explore-grid {
    gap: 10px;
  }

  .home-explore-grid a {
    padding: 15px;
    gap: 7px;
  }

  .home-explore-grid strong {
    font-size: .95rem;
  }

  .home-explore-grid small {
    font-size: .78rem;
  }
}
