﻿/* =============================================
   CICLOLANDIA - pages.css
   Estensioni per struttura multipage
   ============================================= */

.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #0e2850 0%, #14396b 55%, #08182f 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(11,92,181,.18) 0%, transparent 28%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: .9;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: end;
}

.page-copy {
  max-width: 700px;
}

.page-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: .95;
  color: var(--white);
  margin-bottom: 18px;
}

.page-title em {
  font-style: normal;
  color: var(--orange);
}

.page-sub {
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.page-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.page-hero-media img {
  width: 100%;
  min-height: 340px;
  height: 100%;
  object-fit: cover;
}

.page-hero-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.page-hero-card h3 {
  font-family: var(--font-h);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 18px;
}

.page-hero-card p {
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}

.page-hero-card ul {
  display: grid;
  gap: 12px;
}

.page-hero-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}

.page-hero-card i {
  color: var(--orange);
  margin-top: 5px;
}

.home-preview .section-header {
  margin-bottom: 40px;
}

.home-preview .inventory-block {
  padding: 28px;
}

.home-preview-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.info-chip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.info-chip {
  background: var(--white);
  border: 1px solid rgba(11,92,181,.1);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 36px rgba(12,34,69,.08);
}

.info-chip h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--black);
}

.info-chip p {
  color: #666;
  font-size: .9rem;
}

.home-strip {
  background: linear-gradient(90deg, #0d2448 0%, #154074 55%, #0b1d38 100%);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.home-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 26px 0;
}

.home-strip-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.home-strip-item i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  color: var(--white);
  font-size: 1rem;
}

.home-strip-item strong {
  display: block;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.home-strip-item span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}

.pathways {
  background: linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pathway-card {
  position: relative;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}

.pathway-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.pathway-card:hover img {
  transform: scale(1.08);
}

.pathway-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,23,45,.08) 0%, rgba(8,28,54,.9) 78%);
}

.pathway-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 28px;
}

.pathway-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
}

.pathway-content h3 {
  font-family: var(--font-h);
  font-size: 2rem;
  line-height: .95;
  margin-bottom: 10px;
}

.pathway-content p {
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}

.pathway-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}

.pathway-link:hover {
  gap: 12px;
}

.compact-contact .section-header {
  margin-bottom: 46px;
}

.compact-contact .contact-wrap {
  grid-template-columns: 1fr 340px;
}

.orari-cta {
  margin-top: 30px;
}

.footer-col a.active {
  color: var(--sand);
}

@media (max-width: 1024px) {
  .page-hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
  }

  .info-chip-row,
  .home-strip-grid,
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .page-hero-media,
  .page-hero-card {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .compact-contact .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .info-chip-row,
  .home-strip-grid,
  .pathway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 150px 0 72px;
  }

  .page-actions,
  .section-actions {
    flex-direction: column;
  }

  .page-actions .btn,
  .section-actions .btn {
    justify-content: center;
  }
}

/* =============================================
   Cookie banner, legal pages and privacy blocks
   ============================================= */

.legal-page {
  background: linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  gap: 28px;
  align-items: start;
}

.legal-stack {
  display: grid;
  gap: 24px;
}

.legal-card,
.legal-side-card {
  background: var(--white);
  border: 1px solid rgba(11,92,181,.12);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(12,34,69,.08);
}

.legal-card {
  padding: 34px;
}

.legal-side-card {
  padding: 26px;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf2fb;
  color: var(--orange-d);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.legal-card h2,
.legal-side-card h3 {
  font-family: var(--font-h);
  color: var(--black);
}

.legal-card h2 {
  font-size: 2.1rem;
  line-height: .95;
  margin-bottom: 14px;
}

.legal-card p,
.legal-card li,
.legal-side-card p,
.legal-side-card li {
  color: #555;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eee8e2;
}

.legal-section h3 {
  font-family: var(--font-h);
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--black);
}

.legal-list,
.legal-mini-list {
  display: grid;
  gap: 10px;
}

.legal-list li,
.legal-mini-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.legal-list i,
.legal-mini-list i,
.legal-side-card i {
  color: var(--orange);
  margin-top: 5px;
}

.legal-side {
  display: grid;
  gap: 20px;
}

.legal-side-card strong {
  display: block;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--black);
}

.legal-callout {
  background: linear-gradient(135deg, #0d2548 0%, #14396b 100%);
  color: var(--white);
}

.legal-callout h3,
.legal-callout p,
.legal-callout li,
.legal-callout strong {
  color: inherit;
}

.legal-callout .btn {
  margin-top: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #eee8e2;
  vertical-align: top;
}

.legal-table th {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5c6f88;
}

.privacy-check {
  margin-bottom: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  background: #f2f7fd;
  border: 1px solid rgba(11,92,181,.18);
}

.privacy-check.is-invalid {
  border-color: #eb5757;
  box-shadow: 0 0 0 3px rgba(235, 87, 87, .12);
}

.checkbox-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #555;
  font-size: .92rem;
  line-height: 1.5;
}

.checkbox-line input {
  margin-top: 4px;
  accent-color: var(--orange);
}

.checkbox-line a,
.footer-legal-links a,
.footer-link-button {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-consent,
.cookie-modal,
.cookie-fab {
  z-index: 1200;
}

.cookie-consent[hidden],
.cookie-modal[hidden],
.cookie-fab[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.cookie-consent-panel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
  background: rgba(12, 36, 71, .96);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .32);
}

.cookie-consent-kicker {
  color: var(--sand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cookie-consent-panel h2,
.cookie-modal-card h2 {
  font-family: var(--font-h);
  line-height: .96;
  color: var(--white);
}

.cookie-consent-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.cookie-consent-copy,
.cookie-modal-copy {
  color: rgba(255, 255, 255, .74);
}

.cookie-consent-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .86);
}

.cookie-consent-links a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions,
.cookie-modal-actions,
.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cookie-btn,
.map-consent-actions .btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.cookie-btn:hover,
.map-consent-actions .btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .4);
}

.cookie-consent-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .58);
}

.cookie-modal-card {
  width: min(100%, 720px);
  padding: 30px;
  border-radius: 26px;
  background: #0d2548;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .36);
}

.cookie-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cookie-option-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-top: 18px;
}

.cookie-option-card strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.cookie-option-card p,
.cookie-switch span {
  color: rgba(255, 255, 255, .72);
}

.cookie-option-card.is-locked {
  border-color: rgba(255, 255, 255, .12);
}

.cookie-switch {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: .88rem;
}

.cookie-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
}

.cookie-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 92, 181, .12);
  background: linear-gradient(180deg, #ffffff 0%, #f3ecdf 100%);
  color: var(--black);
  box-shadow: 0 18px 44px rgba(12, 34, 69, .16);
  cursor: pointer;
}

.cookie-fab i {
  color: var(--orange);
}

.cookie-modal-open {
  overflow: hidden;
}

.map-consent {
  min-height: 420px;
  display: flex;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 92, 181, .14);
  background:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(135deg, #10274b 0%, #143967 56%, #08172d 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.map-consent iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-consent-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.map-consent-inner {
  max-width: 460px;
}

.map-consent-inner h3 {
  font-family: var(--font-h);
  font-size: 2rem;
  line-height: .95;
  color: var(--white);
  margin-bottom: 12px;
}

.map-consent-inner p {
  color: rgba(255, 255, 255, .72);
}

.map-consent-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .56);
  font-size: .86rem;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .legal-card,
  .legal-side-card,
  .cookie-consent-panel,
  .cookie-modal-card {
    padding: 24px;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-consent-close {
    top: 14px;
    right: 14px;
  }

  .cookie-option-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-switch {
    align-items: flex-start;
  }

  .cookie-fab {
    left: 14px;
    bottom: 14px;
  }
}

.cookie-consent-panel {
  background:
    radial-gradient(circle at top right, rgba(11, 92, 181, .18) 0%, transparent 26%),
    linear-gradient(135deg, rgba(13, 37, 72, .98) 0%, rgba(10, 29, 57, .98) 56%, rgba(8, 24, 47, .96) 100%);
}

.cookie-consent-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.cookie-consent-badges {
  display: grid;
  gap: 10px;
}

.cookie-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.cookie-consent-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, .56);
  font-size: .85rem;
}

.cookie-btn[data-cookie-action="accept-all"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.cookie-btn[data-cookie-action="accept-all"]:hover {
  background: #1d6fc8;
  border-color: #1d6fc8;
}

.cookie-btn[data-cookie-action="reject-all"] {
  background: rgba(255, 255, 255, .04);
}

.cookie-fab {
  min-height: 54px;
  padding: 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3ecdf 100%);
}

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

@media (max-width: 820px) {
  .cookie-consent-top {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Blog pages and CMS-driven article layouts
   ============================================= */

.blog-home-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(11, 92, 181, .12) 0%, transparent 28%),
    linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
}

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

.blog-home-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.blog-index {
  background:
    radial-gradient(circle at top left, rgba(11, 92, 181, .1) 0%, transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%);
}

.blog-featured-story {
  margin-bottom: 38px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2548 0%, #14396b 56%, #08182f 100%);
  box-shadow: 0 28px 70px rgba(12, 34, 69, .18);
}

.blog-featured-link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 520px;
}

.blog-featured-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.blog-featured-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 45, .08) 0%, rgba(8, 28, 54, .42) 100%);
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.blog-featured-story:hover .blog-featured-media img,
.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-featured-kicker,
.blog-card-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.blog-featured-kicker {
  top: 24px;
  left: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
}

.blog-card-badge {
  top: 18px;
  left: 18px;
  color: var(--orange-d);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px rgba(7, 25, 52, .14);
}

.blog-featured-copy,
.blog-card-body {
  display: flex;
  flex-direction: column;
}

.blog-featured-copy {
  justify-content: center;
  padding: 44px 42px;
  color: var(--white);
}

.blog-featured-copy h2,
.blog-card-body h3,
.blog-side-card h3,
.blog-empty-card h3 {
  font-family: var(--font-h);
  line-height: .96;
  color: inherit;
}

.blog-featured-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 18px 0 14px;
}

.blog-featured-subtitle,
.blog-card-subtitle {
  font-weight: 700;
}

.blog-featured-subtitle {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 14px;
}

.blog-featured-excerpt {
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  max-width: 460px;
}

.blog-card {
  min-width: 0;
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(11, 92, 181, .1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(12, 34, 69, .1);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 92, 181, .22);
  box-shadow: 0 26px 54px rgba(12, 34, 69, .16);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8edf5 0%, #dce6f2 100%);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.blog-card-body {
  gap: 14px;
  padding: 28px 26px 30px;
  color: var(--dark);
}

.blog-card-body h3 {
  font-size: 2rem;
}

.blog-card-subtitle {
  color: var(--black);
}

.blog-card-excerpt {
  color: #55657d;
  line-height: 1.72;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-featured-copy .blog-card-meta {
  color: rgba(255, 255, 255, .62);
}

.blog-card-body .blog-card-meta {
  color: var(--orange);
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: inherit;
  font-weight: 700;
}

.blog-listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.blog-listing-head .section-title {
  margin-bottom: 0;
}

.blog-listing-copy {
  max-width: 460px;
  color: #5c6f88;
  line-height: 1.7;
  text-align: right;
}

.blog-empty {
  margin-top: 24px;
}

.blog-empty-card {
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(11, 92, 181, .14);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(12, 34, 69, .08);
}

.blog-empty-card p {
  color: #55657d;
  line-height: 1.75;
}

.blog-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.blog-article-hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: 150px 0 74px;
  display: flex;
  align-items: flex-end;
  background: #08172d;
}

.blog-article-hero-media,
.blog-article-hero-overlay {
  position: absolute;
  inset: 0;
}

.blog-article-hero-media::before {
  content: '';
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(circle at top right, rgba(11, 92, 181, .2) 0%, transparent 34%),
    linear-gradient(180deg, rgba(8, 23, 45, .2) 0%, rgba(8, 23, 45, .2) 100%);
  filter: blur(22px);
  transform: scale(1.06);
}

.blog-article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.blog-article-hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 22, 44, .28) 0%, rgba(6, 22, 44, .72) 52%, rgba(6, 22, 44, .94) 100%),
    linear-gradient(110deg, rgba(6, 22, 44, .82) 0%, rgba(8, 33, 67, .48) 52%, rgba(11, 92, 181, .12) 100%);
}

.blog-article-hero-shell {
  position: relative;
  z-index: 1;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  letter-spacing: .04em;
}

.blog-back-link:hover {
  color: var(--white);
}

.blog-article-copy {
  max-width: 880px;
}

.blog-article-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-article-title {
  margin-top: 18px;
  font-family: var(--font-h);
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: .93;
  color: var(--white);
}

.blog-article-sub {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-article-section {
  background: linear-gradient(180deg, #f6f1e7 0%, #ffffff 100%);
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.blog-article-main,
.blog-side-card {
  background: var(--white);
  border: 1px solid rgba(11, 92, 181, .12);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(12, 34, 69, .08);
}

.blog-article-main {
  padding: 38px;
}

.blog-article-body {
  display: grid;
  gap: 22px;
}

.blog-article-body p {
  color: #4d5f79;
  font-size: 1.02rem;
  line-height: 1.9;
}

.blog-article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.blog-gallery-item {
  overflow: hidden;
  border-radius: 22px;
  background: #f5efe4;
  border: 1px solid rgba(11, 92, 181, .08);
}

.blog-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-gallery-item figcaption {
  padding: 14px 16px 16px;
  color: #5c6f88;
  font-size: .9rem;
}

.blog-article-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.blog-side-card {
  padding: 24px;
}

.blog-side-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.blog-side-card h3 {
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 12px;
}

.blog-side-card p {
  color: #5c6f88;
  line-height: 1.72;
}

.blog-related-list {
  display: grid;
  gap: 12px;
}

.blog-related-link {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid #efe8dc;
}

.blog-related-link:first-child {
  padding-top: 0;
  border-top: 0;
}

.blog-related-link strong {
  color: var(--black);
  font-size: .98rem;
  line-height: 1.35;
}

.blog-related-link span {
  color: var(--gray);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-side-cta {
  background: linear-gradient(135deg, #0d2548 0%, #14396b 100%);
  color: var(--white);
}

.blog-side-cta h3,
.blog-side-cta p {
  color: inherit;
}

.blog-card-compact .blog-card-media {
  min-height: 220px;
}

.blog-card-compact .blog-card-body h3 {
  font-size: 1.8rem;
}

@media (max-width: 1120px) {
  .blog-home-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-featured-link {
    grid-template-columns: 1fr;
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-side {
    position: static;
  }
}

@media (max-width: 900px) {
  .blog-listing-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-listing-copy {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .blog-home-grid,
  .blog-grid,
  .blog-article-gallery {
    grid-template-columns: 1fr;
  }

  .blog-featured-copy,
  .blog-card-body,
  .blog-article-main,
  .blog-side-card,
  .blog-empty-card {
    padding: 26px 22px;
  }

  .blog-featured-copy h2,
  .blog-card-body h3 {
    font-size: 1.9rem;
  }

  .blog-article-hero {
    min-height: 64vh;
    padding: 138px 0 60px;
  }
}

@media (max-width: 600px) {
  .blog-back-link {
    margin-bottom: 20px;
  }

  .blog-article-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .blog-article-sub,
  .blog-article-body p {
    font-size: .98rem;
  }

  .blog-gallery-item img,
  .blog-card-media,
  .blog-card-compact .blog-card-media {
    min-height: 0;
    height: 220px;
  }
}


