/* =====================================================
   MCDF — MINIMALIST CLEAN INNER PAGE STYLES (pages.css)
   ===================================================== */

/* =====================================================
   PAGE 1: IMAGE TOP + CONTENT BOTTOM
   ===================================================== */

/* ── Hero Banner Image ── */
.page-hero-image {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  max-height: 550px;
  overflow: hidden;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero-image:hover img {
  transform: scale(1.04);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 40, 0.25) 0%,
      rgba(10, 22, 40, 0.65) 100%);
}

.page-hero-caption {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.page-hero-title em {
  font-style: italic;
  color: var(--saffron-light);
}

/* ── Content Section ── */
.page-content-section {
  padding: 72px 0 96px;
  background: var(--navy);
}

.page-content-section .container {
  max-width: 820px;
}

/* =====================================================
   PAGE 2: LEFT CONTENT + RIGHT FIXED IMAGE
   ===================================================== */
.page-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: var(--header-h);
}

.split-content {
  padding: 56px 56px 96px 48px;
  overflow-y: auto;
  max-width: 720px;
  margin-left: auto;
}

.split-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.split-title em {
  font-style: italic;
  color: var(--saffron);
}

/* Fixed Image Panel */
.split-image {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: hidden;
}

.split-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.split-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.split-image:hover .split-image-inner img {
  transform: scale(1.03);
}

.split-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 40, 0.10) 0%,
      rgba(10, 22, 40, 0.45) 100%);
}

.split-image-badge {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.split-badge-icon {
  font-size: 2rem;
}

.split-badge-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* =====================================================
   SHARED CONTENT ELEMENTS (div.content)
   ===================================================== */

/* ── Breadcrumb ── */
.content-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  font-weight: 600;
}

.content-breadcrumb a {
  color: var(--text-mid);
  transition: color var(--transition);
}

.content-breadcrumb a:hover {
  color: var(--saffron);
}

.content-breadcrumb span {
  color: var(--text-light);
}

.content-breadcrumb .current {
  color: var(--saffron);
  font-weight: 700;
}

/* ── Meta ── */
.content-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.content-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
}

.content-divider {
  color: var(--text-light);
  font-size: 0.7rem;
}

.content-category {
  display: inline-block;
  background: rgba(232, 120, 10, 0.1);
  color: var(--saffron);
  padding: 3px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Paragraphs ── */
.content p {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 24px;
}

.content-lead {
  font-size: 1.15rem !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  line-height: 1.8 !important;
  border-left: 4px solid var(--saffron);
  padding-left: 20px;
  margin-bottom: 32px !important;
}

/* ── Highlight Box ── */
.content-highlight-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(232, 120, 10, 0.06) 0%, rgba(45, 125, 70, 0.06) 100%);
  border: 1px solid rgba(232, 120, 10, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.content-highlight-box p {
  margin-bottom: 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.8 !important;
}

.content-highlight-box strong {
  color: var(--saffron-light);
}

/* ── Blockquote ── */
.content-quote {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  margin: 40px 0;
  border-left: 5px solid var(--saffron);
  overflow: hidden;
  border: 1px solid var(--border);
  border-left: 5px solid var(--saffron);
}

.content-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--saffron);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.content-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.content-quote cite {
  display: block;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.5px;
}

/* ── Stats Row ── */
.content-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.content-stat {
  text-align: center;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  transition: all var(--transition);
}

.content-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

.content-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--saffron-light);
  line-height: 1;
  margin-bottom: 6px;
}

.content-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── CTA Box ── */
.content-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 40px 0;
  border: 1px solid rgba(255, 106, 0, 0.15);
  box-shadow: var(--shadow-glow);
}

.cta-box-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cta-box-text p {
  font-size: 0.92rem !important;
  color: var(--text-mid) !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

/* ── Feature List ── */
.content-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  background: var(--navy-light);
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
  line-height: 1.65 !important;
}

/* =====================================================
   RESPONSIVE — INNER PAGES
   ===================================================== */
@media (max-width: 1024px) {
  .page-split-layout { grid-template-columns: 1fr; }
  .split-content { padding: 40px 32px 72px; max-width: 100%; margin: 0; }
  .split-image { position: relative; top: auto; height: 50vh; min-height: 350px; order: -1; }
  .content-feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero-image { height: 50vh; min-height: 300px; }
  .page-hero-caption { bottom: 28px; }
  .page-content-section { padding: 48px 0 64px; }
  .split-content { padding: 32px 20px 56px; }
  .split-image { height: 40vh; min-height: 260px; }
  .split-image-badge { bottom: 20px; left: 20px; padding: 14px 18px; }
  .content-highlight-box { flex-direction: column; gap: 12px; padding: 22px; }
  .content-quote { padding: 28px 24px 24px; }
  .content-quote blockquote { font-size: 1rem; }
  .content-stats-row { grid-template-columns: 1fr 1fr; }
  .content-cta-box { flex-direction: column; text-align: center; padding: 28px 24px; }
  .content-feature-list { grid-template-columns: 1fr; }
  .content-meta { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
  .page-hero-title { font-size: 1.6rem; }
  .split-title { font-size: 1.5rem; }
  .content-stats-row { grid-template-columns: 1fr; }
  .content-stat { padding: 20px 16px; }
  .content-stat-num { font-size: 1.5rem; }
}

/* Custom list layout */
.content ul,
.split-content ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.content ul li,
.split-content ul li {
  position: relative;
  padding: 12px 15px 12px 45px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.content ul li:before,
.split-content ul li:before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--white);
  background: var(--saffron);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(232, 120, 10, 0.4);
}

.content ul li:hover,
.split-content ul li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--saffron-light);
}

.content ol,
.split-content ol {
  counter-reset: custom-counter;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.content ol li,
.split-content ol li {
  position: relative;
  padding: 12px 15px 12px 45px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.content ol li:before,
.split-content ol li:before {
  counter-increment: custom-counter;
  content: counter(custom-counter);
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--white);
  background: var(--green);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(45, 125, 70, 0.4);
}

.content ol li:hover,
.split-content ol li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
  border-color: var(--green-light);
}