/* =============================================================
   ruleward.css — Site CSS for ruleward.com
   Inline: base + nav + hero + stats + features + process + team
           + testimonials + cta + contact + footer + cookie-banner
   Brand: --accent #F59E0B (amber) | --secondary #78350F
   ============================================================= */

/* ---- CSS Variables ---- */
:root {
  --accent: #F59E0B;
  --accent-rgb: 245,158,11;
  --secondary: #78350F;
  --bg-dark: #0f172a;
  --bg-alt: #1e293b;
  --bg-surface: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11','ss01','ss03';
  background: var(--bg-dark);
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-sub { padding-top: 64px; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent); opacity: 0.9; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }

.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-alt); }
.section-surface { background: var(--bg-surface); }

/* ---- Nav Component (A-simple) ---- */
.c-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.c-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.c-nav__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 800;
  text-decoration: none;
  color: inherit;
}
.c-nav__logo-img { height: 28px; width: auto; display: none; }
.c-nav__logo-fallback { display: inline; }

.c-nav__links {
  display: flex; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.c-nav__links a {
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}
.c-nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.c-nav__cta:hover { opacity: 0.9; color: #fff !important; }

.c-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.c-nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; transition: 0.3s; }

/* Nav Theme: LIGHT */
.c-nav[data-nav-theme="light"] {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.c-nav[data-nav-theme="light"] .c-nav__logo,
.c-nav[data-nav-theme="light"] .c-nav__logo-fallback { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--light { display: inline; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--dark  { display: none; }
.c-nav[data-nav-theme="light"] .c-nav__links a { color: #334155; }
.c-nav[data-nav-theme="light"] .c-nav__links a:hover,
.c-nav[data-nav-theme="light"] .c-nav__links a.active { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__toggle span { background: #0f172a; }

/* Nav Theme: DARK */
.c-nav[data-nav-theme="dark"] { background: transparent; }
.c-nav[data-nav-theme="dark"].scrolled,
.c-nav[data-nav-theme="dark"].c-nav--solid {
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.c-nav[data-nav-theme="dark"] .c-nav__logo,
.c-nav[data-nav-theme="dark"] .c-nav__logo-fallback { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--light { display: none; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--dark  { display: inline; }
.c-nav[data-nav-theme="dark"] .c-nav__links a { color: #94a3b8; }
.c-nav[data-nav-theme="dark"] .c-nav__links a:hover,
.c-nav[data-nav-theme="dark"] .c-nav__links a.active { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__toggle span { background: #f1f5f9; }

.c-nav__logo-img ~ .c-nav__logo-fallback,
.c-nav__logo:has(.c-nav__logo-img) .c-nav__logo-fallback { display: none !important; }

@media (max-width: 768px) {
  .c-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #0f172a;
    padding: 16px;
    border-top: 1px solid #1e293b;
  }
  .c-nav[data-nav-theme="light"] .c-nav__links {
    background: #ffffff;
    border-top-color: rgba(15,23,42,0.08);
  }
  .c-nav[data-nav-theme="light"] .c-nav__links a { color: #0f172a; }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ---- Hero Component (C-split) ---- */
.c-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(rgba(15,23,42,0.78), rgba(15,23,42,0.55)), url('../images/hero-home.webp') center/cover no-repeat #0f172a;
  color: #f1f5f9;
}

.c-hero .container { position: relative; z-index: 2; }

.c-hero__wrap {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.c-hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 720px;
}

.c-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 600px;
}

.c-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.c-hero--split { min-height: 80vh; }

/* Buttons */
.c-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.c-btn--primary {
  background: var(--accent);
  color: #ffffff;
}
.c-btn--primary:hover { opacity: 0.9; color: #ffffff; }

.c-btn--outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(226,232,240,0.3);
}
.c-btn--outline:hover { border-color: #e2e8f0; color: #ffffff; }

@media (max-width: 768px) {
  .c-hero { min-height: 70vh; padding: 80px 0 60px; }
  .c-hero__title { font-size: 32px; }
  .c-hero__subtitle { font-size: 16px; }
}

/* ---- Page Hero (sub-pages) ---- */
.c-page-hero {
  background: var(--bg-alt);
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}
.c-page-hero__wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.c-page-hero__title {
  font-size: 38px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.c-page-hero__lede {
  font-size: 17px;
  color: #94a3b8;
  max-width: 640px;
  line-height: 1.7;
}

/* ---- Section Shared ---- */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.c-section-title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.c-section-desc {
  font-size: 17px;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Container (Bootstrap-compatible) */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---- Stats Component (B-cards) ---- */
.c-stats { padding: 48px 0; }
.c-stats--cards { background: #0f172a; padding: 64px 0; }

.c-stats__wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.c-stats__card {
  background: #1e293b;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
}

.c-stats__number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.c-stats__label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.4;
}

.c-stats__desc {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .c-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .c-stats__number { font-size: 28px; }
}

/* ---- Features Component (C-alternating) ---- */
.c-features { padding: 80px 0; }

.c-features__row { padding: 48px 0; }
.c-features__row + .c-features__row { border-top: 1px solid #1e293b; }
.c-features__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.c-features__name {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.c-features__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
}

/* Alternating row layout (self-contained, no Bootstrap dependency) */
.c-features__alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.c-features__alt-row + .c-features__alt-row { border-top: 1px solid #1e293b; }
.c-features__alt-row--reverse .c-features__alt-text { order: 2; }
.c-features__alt-row--reverse .c-features__alt-img  { order: 1; }

@media (max-width: 768px) {
  .c-features__alt-row { grid-template-columns: 1fr; gap: 32px; }
  .c-features__alt-row--reverse .c-features__alt-text { order: unset; }
  .c-features__alt-row--reverse .c-features__alt-img  { order: unset; }
  .c-section-title { font-size: 28px; }
}

/* ---- Process Component (A-numbered) ---- */
.c-process { padding: 80px 0; }

.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.c-process__step {
  position: relative;
  padding: 32px 24px;
  background: #1e293b;
  border-radius: 12px;
}

.c-process__num {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.c-process__name {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.c-process__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .c-process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .c-process__steps { grid-template-columns: 1fr; }
}

/* ---- Team Component (A-grid) ---- */
.c-team { padding: 80px 0; }
.c-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.c-team__card { text-align: center; }
.c-team__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  border: 3px solid #1e293b;
}
.c-team__name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }

/* ---- Testimonials Component (B-stats) ---- */
.c-testimonials { padding: 80px 0; }
.c-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.c-testimonials__card { background: #1e293b; border-radius: 12px; padding: 36px 28px; }
.c-testimonials__stat { display: block; font-size: 42px; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.c-testimonials__source { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.c-testimonials__text { font-size: 14px; color: #94a3b8; line-height: 1.7; }
@media (max-width: 768px) { .c-testimonials__grid { grid-template-columns: 1fr; } }

/* ---- CTA Component (A-banner) ---- */
.c-cta { background: var(--accent); padding: 64px 0; text-align: center; }
.c-cta__title { font-size: 32px; font-weight: 800; color: #ffffff; margin-bottom: 16px; }
.c-cta__desc { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.c-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.c-cta .c-btn--primary { background: #ffffff; color: var(--accent); }
.c-cta .c-btn--primary:hover { opacity: 0.9; }
.c-cta .c-btn--outline { border-color: rgba(255,255,255,0.4); color: #ffffff; }
.c-cta .c-btn--outline:hover { border-color: #ffffff; }

/* ---- Contact Component (A-split) ---- */
.c-contact { padding: 80px 0; }
.c-contact__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) {
  .c-contact__grid { grid-template-columns: 7fr 4fr; gap: 72px; }
}
.c-contact__row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) {
  .c-contact__row-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.c-contact__title { font-size: 28px; font-weight: 800; color: #f1f5f9; margin-bottom: 32px; }
.c-contact__form input,
.c-contact__form select,
.c-contact__form textarea {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  font-family: inherit;
}
.c-contact__form input:focus,
.c-contact__form select:focus,
.c-contact__form textarea:focus { border-color: var(--accent); outline: none; }
.c-contact__form select option { background: #1e293b; }
.c-contact__form button { cursor: pointer; }
.c-contact__info-title { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 24px; }
.c-contact__info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 15px; color: #94a3b8; }
.c-contact__info-item i { color: var(--accent); font-size: 16px; margin-top: 3px; min-width: 20px; }
.c-contact__info-item a { color: #94a3b8; text-decoration: none; }
.c-contact__info-item a:hover { color: var(--accent); }

/* ---- Footer Component (A-4col) ---- */
.c-footer { background: #0f172a; padding: 64px 0 0; border-top: 1px solid #1e293b; color: #94a3b8; }
.c-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.c-footer__logo { font-size: 20px; font-weight: 800; color: #f1f5f9; text-decoration: none; display: inline-block; margin-bottom: 12px; }
.c-footer__logo span { color: var(--accent); }
.c-footer__tagline { font-size: 14px; color: #64748b; line-height: 1.6; }
.c-footer__col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.c-footer__col ul { list-style: none; padding: 0; margin: 0; }
.c-footer__col ul li { margin-bottom: 10px; color: #94a3b8; font-size: 14px; }
.c-footer__col ul li a { color: #94a3b8; }
.c-footer__col ul li a:hover { color: var(--accent); }
.c-footer__col ul a { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul a:hover { color: var(--accent); }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: var(--accent); width: 18px; font-size: 13px; margin-right: 8px; }
.c-footer__bottom { border-top: 1px solid #1e293b; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #475569; }
.c-footer__legal { display: flex; gap: 20px; }
.c-footer__legal a { color: #64748b; text-decoration: none; font-size: 13px; }
.c-footer__legal a:hover { color: #94a3b8; }
@media (max-width: 768px) {
  .c-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .c-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- Cookie Banner (B-sensitive) ---- */
.c-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 50px rgba(15,23,42,0.18);
  border-radius: 12px;
  padding: 14px 18px;
}

.c-cookie[hidden] { display: none !important; }

.c-cookie__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.c-cookie__copy { flex: 1 1 320px; }

.c-cookie__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.c-cookie__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}
.c-cookie__text a { color: var(--accent); }

.c-cookie__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.c-btn--sm { padding: 8px 16px; font-size: 14px; }

@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ---- About Page ---- */
.c-about { padding: 80px 0; }
.c-about__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-about__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.c-about__body h3 { font-size: 24px; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; margin-top: 32px; }
.c-about__body h3:first-child { margin-top: 0; }
.c-about__body p { font-size: 16px; color: #94a3b8; line-height: 1.8; margin-bottom: 16px; }
.c-about__values { list-style: none; padding: 0; margin: 0; }
.c-about__values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #94a3b8;
  padding: 12px 0;
  border-bottom: 1px solid #1e293b;
}
.c-about__values li:last-child { border-bottom: none; }
.c-about__values li i { color: var(--accent); margin-top: 2px; }
.c-about__sidebar { background: #1e293b; border-radius: 12px; padding: 32px; }
.c-about__sidebar h4 { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; }
.c-about__sidebar p { font-size: 15px; color: #94a3b8; line-height: 1.7; margin-bottom: 0; }
.c-about__mission { background: var(--accent); border-radius: 12px; padding: 32px; margin-top: 24px; }
.c-about__mission h4 { font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 12px; }
.c-about__mission p { font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 0; }
@media (max-width: 768px) {
  .c-about__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- 404 Page ---- */
.c-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.c-404__wrap { max-width: 560px; }
.c-404__code { font-size: 120px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 16px; opacity: 0.3; }
.c-404__title { font-size: 32px; font-weight: 800; color: #f1f5f9; margin-bottom: 16px; }
.c-404__text { font-size: 17px; color: #94a3b8; line-height: 1.7; margin-bottom: 32px; }

/* ---- Blog article reading width ---- */
.c-post__body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #94a3b8;
}
.c-post__body h2 { font-size: 26px; font-weight: 700; color: #f1f5f9; margin: 40px 0 16px; }
.c-post__body h3 { font-size: 21px; font-weight: 700; color: #f1f5f9; margin: 32px 0 12px; }
.c-post__body p { margin-bottom: 24px; }
.c-post__body img { max-width: 100%; border-radius: 8px; margin: 32px 0; }
.c-post__body .blog-img-full { max-width: 100%; }
.c-post__body ul, .c-post__body ol { padding-left: 24px; margin-bottom: 24px; }
.c-post__body li { margin-bottom: 8px; }
.c-post__body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 32px 0; font-style: italic; color: #64748b; }

/* ---- Blog Index (B-editorial-list) ---- */
.c-blog-index {
  padding: 64px 0 80px;
  background: #0f172a;
}
.c-blog-index__wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.c-editorial-card {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid #1e293b;
}
.c-editorial-card:last-child { border-bottom: none; }

.c-editorial-card__img-link {
  flex: 0 0 240px;
  display: block;
}
.c-editorial-card__img {
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.c-editorial-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.c-editorial-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.c-editorial-card__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F59E0B;
  background: rgba(245,158,11,0.1);
  padding: 3px 10px;
  border-radius: 4px;
}
.c-editorial-card__date {
  font-size: 13px;
  color: #64748b;
}

.c-editorial-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  margin-bottom: 10px;
}
.c-editorial-card__title a {
  color: #f1f5f9;
  text-decoration: none;
}
.c-editorial-card__title a:hover { color: #F59E0B; }

.c-editorial-card__excerpt {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.c-editorial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.c-editorial-card__author {
  font-size: 13px;
  color: #64748b;
}
.c-editorial-card__read {
  font-size: 13px;
  font-weight: 600;
  color: #F59E0B;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.c-editorial-card__read:hover { opacity: 0.8; color: #F59E0B; }
.c-editorial-card__read i { font-size: 12px; }

@media (max-width: 640px) {
  .c-editorial-card {
    flex-direction: column;
    gap: 16px;
  }
  .c-editorial-card__img-link { flex: none; width: 100%; }
  .c-editorial-card__img { width: 100%; height: 200px; }
}

/* ---- Blog Article Detail (A-standard) ---- */
.c-post { padding: 64px 0 80px; background: #0f172a; }
.c-post__wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.c-post__header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #1e293b; }
.c-post__cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F59E0B;
  background: rgba(245,158,11,0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.c-post__title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
  margin-bottom: 20px;
}
.c-post__byline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
}
.c-post__byline-sep { opacity: 0.4; }
.c-post__cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  display: block;
}

@media (max-width: 768px) {
  .c-post__title { font-size: 26px; }
}

/* ---- Legal Pages ---- */
.c-legal { padding: 64px 0 80px; background: #0f172a; }
.c-legal__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-legal__updated {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}
.c-legal__wrap h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 40px;
  margin-bottom: 12px;
}
.c-legal__wrap h2:first-of-type { margin-top: 0; }
.c-legal__wrap h3 {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 28px;
  margin-bottom: 10px;
}
.c-legal__wrap p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 16px;
}
.c-legal__wrap ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.c-legal__wrap ul li {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 6px;
}
.c-legal__wrap a { color: #F59E0B; }
.c-legal__wrap a:hover { opacity: 0.85; }

.c-legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.c-legal__table th {
  background: #1e293b;
  color: #e2e8f0;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #334155;
}
.c-legal__table td {
  color: #94a3b8;
  padding: 10px 14px;
  border-bottom: 1px solid #1e293b;
  vertical-align: top;
}
.c-legal__table tr:last-child td { border-bottom: none; }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
