/* =============================================
   Inner Page Layouts — About & Contact
   ============================================= */

/* ---- Contact: Register Your Interest ---- */
body.contact-page {
  background: #fff9ee;
}

body.contact-page .ambient-orbs {
  display: none;
}

.contact-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - var(--nav-height));
  background: #fff9ee;
}

.contact-register-visual {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-height));
}

.contact-register-visual img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--nav-height));
  object-fit: cover;
  display: block;
}

.contact-register-form-wrap {
  background: #fff9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 36px clamp(36px, 6vw, 70px);
  box-sizing: border-box;
}

.contact-register-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.contact-register-form .contact-register-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  color: #c4a574;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.contact-register-form .contact-register-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  color: #111;
  margin-bottom: 20px;
}

.contact-register-form .contact-line-field {
  margin-bottom: 20px;
}

.contact-register-form .contact-line-field:last-of-type {
  margin-bottom: 20px;
}

.contact-register-form .contact-line-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.35;
}

.contact-register-form .contact-input-line {
  border-bottom: 1px solid #8f8779;
  padding-bottom: 10px;
}

.contact-register-form .contact-field-hint {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: #b8b8b8;
  margin-bottom: 8px;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s ease, height 0.2s ease, margin 0.2s ease;
}

.contact-register-form .contact-input-line.is-filled .contact-field-hint {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.contact-register-form .contact-line-field .required {
  color: #e53935;
  font-weight: 400;
}

.contact-register-form .contact-input-line input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: #222;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.contact-register-form .contact-input-line input:focus {
  box-shadow: none;
}

.contact-register-form .contact-input-line:focus-within {
  border-bottom-color: #6b6358;
}

.contact-register-form .contact-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 48px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  cursor: pointer;
}

.contact-register-form .contact-auth-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  cursor: pointer;
}

.contact-register-form .contact-submit-btn {
  display: block;
  width: auto;
  min-width: 200px;
  max-width: 240px;
  /* margin: 0 auto; */
  padding: 12px 56px;
  background: #fff9ee;
  border: 1px solid #c4a574;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #222;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-register-form .contact-submit-btn:hover {
  background: #fff3e0;
  border-color: #b8956a;
  color: #111;
}

@media (max-width: 900px) {
  .contact-register {
    grid-template-columns: 1fr;
    min-height: auto;
    background: #fff9ee;
  }

  .contact-register-visual {
    min-height: 300px;
  }

  .contact-register-visual img {
    min-height: 300px;
  }

  .contact-register-form-wrap {
    min-height: auto;
    justify-content: flex-start;
    padding: 52px 32px 60px;
  }

  .contact-register-form {
    max-width: 100%;
  }

  .contact-register-form .contact-register-title {
    margin-bottom: 44px;
  }

  .contact-register-form .contact-line-field {
    margin-bottom: 34px;
  }
}

/* ---- Simple Page Banner (Experion-style) ---- */
.page-banner-simple {
  position: relative;
  height: 300px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-banner-simple .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(59, 84, 55, 0.72) 0%,
    rgba(94, 59, 36, 0.65) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page-banner-simple h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  /* font-weight: 400; */
  color: var(--white);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---- About: Experion-style ---- */
.about-hero-block {
  padding:60px 0 60px;
  background: var(--white);
}

.about-hero-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--black);
}

.about-hero-tagline em {
  font-style: italic;
  color: var(--brand-brown);
}

.about-hero-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-hero-image {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.about-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-story {
  padding: 60px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  margin-bottom: 56px;
}

.about-story-content {
  text-align: left;
}

.about-story-content .section-tag {
  display: inline-block;
  margin-bottom: 20px;
}

.about-story-content .section-tag img {
  height: 56px;
  width: auto;
}

.about-story h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
  color: var(--black);
}

.about-story-content p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-story-visual {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.about-story-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

.about-know-more-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 36px;
  border: 1px solid #c4a574;
  border-radius: 50px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-brown);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.about-know-more-btn:hover {
  background: var(--bg-tint-brown);
  border-color: var(--brand-brown);
  color: var(--brand-brown);
}

.about-story-pillars {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-story-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-story p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-story .motto {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--brand-brown);
  margin-top: 32px;
}

.about-vision-section {
  padding: 60px 0;
  background: var(--white);
}

.about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-vision-card {
  padding: 48px;
  border: 1px solid var(--glass-border);
  background: var(--white);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-vision-card:hover {
  border-color: rgba(59, 84, 55, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.about-vision-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-brown);
  margin-bottom: 16px;
}

.about-vision-card p {
  color: var(--text-muted);
  line-height: 1.85;
}

.about-logo-section {
  padding: 60px 0;
  background: var(--bg-tint-green);
}

.about-logo-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about-logo-main {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--glass-border);
}

.about-logo-main img {
  max-width: 200px;
  margin: 0 auto;
}

.about-logo-points {
  display: grid;
  gap: 28px;
}

.about-logo-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.about-logo-point-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-brown);
}

.about-logo-point h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.about-logo-point p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-inline-pillar {
  margin: 0 auto;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--glass-border);
  scroll-margin-top: calc(var(--nav-height) + 16px);
  max-width: 700px;
}

.about-inline-pillar h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--brand-brown);
  margin-bottom: 16px;
}

.about-inline-pillar .about-pillar-lead {
  margin-bottom: 12px;
}

.about-inline-pillar p {
  margin-bottom: 12px;
}

.about-pillar-section {
  padding: 72px 0;
  background: var(--white);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.about-pillar-section.alt {
  background: var(--bg-secondary);
}

.about-pillar-section .container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-pillar-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--brand-brown);
  margin-bottom: 20px;
}

.about-pillar-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-style: italic;
  color: var(--black);
  margin-bottom: 20px;
}

.about-pillar-section p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 17px;
}

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

.about-page-focus {
  padding: 60px 0;
  background: var(--white);
}

.about-page-focus .container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-page-focus h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--text-primary);
  margin-bottom: 28px;
}

.about-page-focus p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 17px;
}

.about-page-focus .motto {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--brand-brown);
  margin-top: 32px;
}

.about-sub-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.about-sub-links a {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.about-sub-links a:hover {
  border-color: var(--brand-brown);
  color: var(--brand-brown);
  background: var(--bg-tint-brown);
}

.about-download-bar {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--brand-brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-download-bar p {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.about-download-bar .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  /* color: var(--white); */
}

.about-download-bar .btn-outline:hover {
  background: var(--white);
  color: var(--brand-brown);
  border-color: var(--white);
}

/* ---- Contact: Location (Canary-style) ---- */
.location-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.location-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.location-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 16px;
}

.location-header h2 em {
  font-style: italic;
  color: var(--brand-brown);
}

.location-header p {
  color: var(--text-muted);
  line-height: 1.8;
}

.map-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.map-toggle {
  display: inline-flex;
  background: var(--brand-green);
  border-radius: 50px;
  padding: 4px;
  position: relative;
}

.map-toggle-btn {
  padding: 12px 28px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.map-toggle-btn.active {
  background: var(--white);
  color: var(--brand-green);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.location-map-panel {
  background: #f5f0e8;
  border: 1px solid rgba(94, 59, 36, 0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}

.map-view {
  display: none;
  min-height: 520px;
}

.map-view.active {
  display: block;
}

/* Layout Map SVG area */
.layout-map {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #f8f4ec;
}

.layout-map svg {
  width: 100%;
  height: auto;
  min-height: 520px;
  display: block;
}

.layout-map-note {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 11px;
  color: var(--text-subtle);
  font-style: italic;
}

.map-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--black);
  color: var(--white);
  padding: 16px 24px;
  text-align: center;
  z-index: 5;
  min-width: 180px;
}

.map-center-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-brown-light);
  margin-bottom: 4px;
}

.map-center-logo span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.google-map-embed {
  width: 100%;
  height: 520px;
  border: 0;
}

.location-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 56px;
  background: var(--brand-green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-directions:hover {
  background: var(--brand-brown);
  transform: translateY(-2px);
}

.location-connectivity {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 16px;
}

.connectivity-col h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-brown);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-green);
}

.connectivity-col li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.connectivity-col li strong {
  color: var(--black);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-hero-block .container,
  .about-logo-wrap,
  .about-vision-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-story-visual img {
    min-height: 100% !important;
  }

  .about-hero-image img {
    height: 320px;
  }

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

@media (max-width: 768px) {
  .page-banner-simple {
    height: 220px;
  }

  .media-feed-container {
    padding: 0 24px;
  }
  
  .map-toggle-btn {
    padding: 10px 18px;
    font-size: 10px;
  }

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

  .map-center-logo {
    min-width: 140px;
    padding: 12px 16px;
  }
}

/* ---- Media: Article Page (MGS-style) ---- */
.media-article-page {
  padding: 64px 0 100px;
  background: var(--white);
}

.media-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.media-article-main h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 24px;
}

.media-article-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.media-article-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.media-article-body p strong {
  color: var(--black);
  font-weight: 600;
}

.media-article-figure {
  margin: 36px 0;
}

.media-article-figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.media-article-figure figcaption {
  font-size: 13px;
  font-style: italic;
  color: var(--text-subtle);
  margin-top: 12px;
  text-align: center;
}

.media-fact-file {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--brand-green);
}

.media-fact-file h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-brown);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.media-fact-file dl {
  display: grid;
  gap: 12px;
}

.media-fact-file dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.media-fact-file dd {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.media-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
  color: var(--text-subtle);
}

.media-article-meta strong {
  color: var(--brand-brown);
}

.media-more-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

/* ---- Media Feed List (reference layout) ---- */
.media-feed-section {
  /* padding: 56px 0 72px; */
  /* background: #fff; */
  max-width: 960px;
  margin: 0 auto;
}

.section.media-featured-section .section-header{
  max-width: 960px;
  margin: 0px auto 40px;
}

.section.detail-page {
  max-width: 960px;
  margin: 0 auto;
}


/* .media-feed-container {
  max-width: 960px;
} */

.media-feed-list {
  display: flex;
  flex-direction: column;
}

.media-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid #e0e0e0;
}

.media-feed-item:first-child {
  padding-top: 0;
}

.media-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.media-feed-thumb {
  flex: 0 0 280px;
  display: block;
  line-height: 0;
  border: 1px solid #d8d8d8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.media-feed-thumb:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.media-feed-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.media-feed-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.media-feed-content h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin-bottom: 12px;
}

.media-feed-content p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #555;
  margin-bottom: 14px;
}

.media-feed-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.media-feed-readmore span {
  font-size: 15px;
  line-height: 1;
}

.media-feed-readmore:hover {
  color: #1558b0;
  text-decoration: underline;
}

.media-more-section .section-header {
  margin-bottom: 40px;
}

.media-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--glass-border);
  background: var(--white);
}

.media-list-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease;
}

.media-list-item:last-child {
  border-bottom: none;
}

.media-list-item:hover {
  background: var(--bg-tint-green);
}

.media-list-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-brown);
}

.media-list-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--black);
  line-height: 1.35;
}

.media-list-item p {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 4px;
}

.media-list-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  white-space: nowrap;
}

.media-nav-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.media-nav-link {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 45%;
}

.media-nav-link span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-brown);
  margin-bottom: 6px;
}

.media-nav-link:hover {
  color: var(--brand-green);
}

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

  .media-fact-file {
    position: static;
    order: -1;
  }

  .media-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .media-feed-thumb {
    flex: 0 0 220px;
  }
}

@media (max-width: 640px) {
  .media-feed-section {
    padding: 40px 0 56px;
  }

  .media-feed-item {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
  }

  .media-feed-thumb {
    flex: none;
    width: 100%;
  }

  .media-feed-content {
    padding-top: 0;
  }

  .media-feed-content h3 {
    font-size: 17px;
  }

  .media-feed-content p {
    font-size: 14px;
  }
}

.detail-page-banner h1 {
  font-size: clamp(36px, 3vw, 36px) !important;
  line-height: 1.4;
  max-width: 700px;
}



/* CMS Dynamic Modules */
.cms-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.cms-search-input, .cms-select { padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: inherit; border-radius: 4px; min-width: 200px; }
.media-feed-layout, .blogs-layout, .detail-layout { display: grid; gap: 32px; }
.cms-sidebar-block { padding: 24px; margin-bottom: 20px; }
.cms-sidebar-block h3 { font-size: 18px; margin-bottom: 12px; }
.cms-sidebar-list { list-style: none; padding: 0; margin: 0; }
.cms-sidebar-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cms-sidebar-list a { color: inherit; text-decoration: none; }
.cms-sidebar-list a:hover { color: var(--gold, #c9a962); }
.cms-pagination { margin-top: 40px; padding-top: 8px;margin-bottom: 40px; }
.cms-pagination-nav { width: 100%; }
.cms-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cms-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border-color: var(--gold, #c9a962);
}
a.cms-page-btn:hover {
  background: rgba(201, 169, 98, 0.12);
  border-color: var(--gold, #c9a962);
  color: var(--gold, #c9a962);
}
.cms-page-btn--nav {
  min-width: 96px;
  font-weight: 600;
}
.cms-page-btn--active {
  background: var(--gold, #c9a962);
  border-color: var(--gold, #c9a962);
  color: #fff;
  font-weight: 700;
  cursor: default;
}
.cms-page-btn--disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.cms-page-btn--dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 6px;
  cursor: default;
}
.breadcrumb { margin-bottom: 24px; font-size: 14px; opacity: .8; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb span { margin: 0 8px; }
.detail-featured-img { margin: 24px 0; border-radius: 8px; overflow: hidden; }
.detail-featured-img img { width: 100%; height: auto; display: block; }
.detail-body { line-height: 1.8; margin: 24px 0; }
.detail-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.detail-gallery-item img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.share-buttons a { padding: 6px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; text-decoration: none; color: inherit; font-size: 13px; }
.detail-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.detail-nav a { color: inherit; text-decoration: none; max-width: 45%; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; align-items: center; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.blog-tag { padding: 4px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; font-size: 12px; }
.price-filters { margin-bottom: 24px; }
.price-vehicle-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; margin-right: 8px; vertical-align: middle; }
.price-details-grid { display: none; }
.media-featured-grid { display: grid; gap: 24px; margin-bottom: 32px; max-width: 960px; margin: 0 auto;}
@media (max-width: 900px) {
  .media-feed-layout, .blogs-layout, .detail-layout { grid-template-columns: 1fr; }
  .cms-sidebar { order: 2; }
}
