/* stockorlo.css — Stockorlo site styles */
/* Inlines: base.css + nav.css + hero.css + stats.css + features.css + process.css + team.css + testimonials.css + cta.css + contact.css + footer.css + cookie-banner.css */

/* ============================================================ */
/* CSS VARIABLES                                                  */
/* ============================================================ */
:root {
  --accent: #7c2d12;
  --accent-rgb: 124,45,18;
  --secondary: #14532d;
  --bg-dark: #0f172a;
  --bg-alt: #1e293b;
  --bg-surface: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ============================================================ */
/* BASE                                                           */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.page-sub { padding-top: 64px; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.9; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.2;
}

/* ============================================================ */
/* 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;
  font-family: var(--font-sans);
}

.c-btn--primary {
  background: #7c2d12;
  color: #ffffff;
}
.c-btn--primary:hover { opacity: 0.88; 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; }

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

/* ============================================================ */
/* SECTION HEADERS                                               */
/* ============================================================ */
.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: #7c2d12;
  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;
}

/* ============================================================ */
/* NAV                                                            */
/* ============================================================ */
.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__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: #7c2d12 !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.c-nav__cta:hover { opacity: 0.9; color: #fff; }

.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; }

/* Light theme */
.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; }

/* Dark theme */
.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 { display: none; }

@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                                                           */
/* ============================================================ */
.c-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
  color: #f1f5f9;
}

.c-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%);
  z-index: 1;
}

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

.c-hero__col { min-width: 0; }
.c-hero__col--8 { max-width: 66.666%; }

@media (max-width: 768px) {
  .c-hero__col--8 { max-width: 100%; }
}

.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7c2d12;
  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;
}

/* Variant: Full-Bleed (D) */
.c-hero--full-bleed { min-height: 92vh; padding: 0; }
.c-hero--full-bleed .c-hero__bg { position: absolute; inset: 0; z-index: 0; }
.c-hero--full-bleed .c-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.c-hero__overlay--gradient {
  background: linear-gradient(90deg, rgba(10,14,23,0.82) 0%, rgba(10,14,23,0.55) 55%, rgba(10,14,23,0.1) 100%);
}

@media (max-width: 768px) {
  .c-hero--full-bleed { min-height: 78vh; }
  .c-hero__overlay--gradient {
    background: linear-gradient(180deg, rgba(10,14,23,0.45) 0%, rgba(10,14,23,0.85) 100%);
  }
  .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: #1e293b;
  padding: 72px 0 48px;
  text-align: center;
}
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7c2d12;
  margin-bottom: 12px;
}
.c-page-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.c-page-hero__lede {
  font-size: 17px;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================ */
/* STATS                                                          */
/* ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--bar { background: #1e293b; }

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

.c-stats__item { padding: 16px 0; }

.c-stats__number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #7c2d12;
  line-height: 1.2;
}

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

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

/* ============================================================ */
/* FEATURES (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__alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.c-features__alt-grid--reverse {
  direction: rtl;
}
.c-features__alt-grid--reverse > * {
  direction: ltr;
}

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

.c-features__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 12px;
}

.c-features__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: block;
  height: 280px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .c-features__alt-grid,
  .c-features__alt-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .c-section-title { font-size: 28px; }
}

/* ============================================================ */
/* PROCESS                                                        */
/* ============================================================ */
.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: #7c2d12;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.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                                                           */
/* ============================================================ */
.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;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.c-team__name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }

/* Team bio (about/team page extended) */
.c-team__bio { font-size: 14px; color: #94a3b8; line-height: 1.6; margin-top: 8px; }

/* ============================================================ */
/* TESTIMONIALS (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: #7c2d12; 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                                                            */
/* ============================================================ */
.c-cta { background: #7c2d12; 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: #7c2d12; }
.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                                                        */
/* ============================================================ */
.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__form-col { min-width: 0; }
.c-contact__info-col { min-width: 0; }
.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: #7c2d12; outline: none; }
.c-contact__form select option { background: #1e293b; }
.c-contact__form button { cursor: pointer; border: none; }
.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: #7c2d12; 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: #7c2d12; }

/* ============================================================ */
/* FOOTER                                                         */
/* ============================================================ */
.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-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.c-footer__logo img { height: 24px; width: auto; }
.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; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul li a:hover { color: #7c2d12; }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: #7c2d12; 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                                                  */
/* ============================================================ */
.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__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}
.c-cookie__text a { color: #7c2d12; }
.c-cookie__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.c-cookie .c-btn--outline {
  color: #374151;
  border-color: rgba(15,23,42,0.2);
}
.c-cookie .c-btn--outline:hover {
  border-color: #7c2d12;
  color: #7c2d12;
}
@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================ */
/* INTEGRATIONS (Product page)                                   */
/* ============================================================ */
.c-integrations { padding: 64px 0; }
.c-integrations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}
.c-integrations__badge {
  background: #1e293b;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}
.c-integrations__badge:hover { transform: translateY(-2px); }
.c-integrations__badge img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.c-integrations__badge span {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* ============================================================ */
/* ABOUT PAGE                                                    */
/* ============================================================ */
.c-about { padding: 80px 0; }
.c-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.c-about__grid:has(> *:only-child) {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.c-about__body { max-width: 760px; }
.c-about__body p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
}
.c-about__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  margin-top: 32px;
}
.c-about__values {
  background: #1e293b;
  border-radius: 12px;
  padding: 32px;
}
.c-about__values h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 20px;
}
.c-about__values ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-about__values li {
  padding: 10px 0;
  font-size: 15px;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-about__values li:last-child { border-bottom: none; }
.c-about__values li i { color: #7c2d12; }
@media (max-width: 768px) {
  .c-about__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ */
/* 404 PAGE                                                       */
/* ============================================================ */
.c-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0f172a;
  padding: 40px 24px;
}
.c-404__inner { max-width: 560px; }
.c-404__code {
  font-size: 120px;
  font-weight: 900;
  color: #7c2d12;
  opacity: 0.2;
  line-height: 1;
  font-family: var(--font-mono);
  margin-bottom: 0;
}
.c-404__title {
  font-size: 32px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.c-404__desc {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
}
.c-404__logo { margin-bottom: 40px; display: block; }
.c-404__logo img { height: 28px; width: auto; }

/* ============================================================ */
/* BLOG GRID (A-cards variant)                                    */
/* ============================================================ */
.c-blog-grid { padding: 80px 0; }
.c-blog-grid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.c-blog-grid__card { background: #1e293b; border: 1px solid #334155; border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.c-blog-grid__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.c-blog-grid__thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.c-blog-grid__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.c-blog-grid__cat { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #7c2d12; margin-bottom: 6px; }
.c-blog-grid__date { display: block; font-size: 12px; color: #475569; margin-bottom: 8px; }
.c-blog-grid__title { font-size: 16px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; line-height: 1.45; }
.c-blog-grid__excerpt { font-size: 14px; color: #64748b; line-height: 1.65; flex: 1; margin: 0 0 16px; }
.c-blog-grid__cta { font-size: 13px; font-weight: 600; color: #7c2d12; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 992px) { .c-blog-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .c-blog-grid__list { grid-template-columns: 1fr; } }

/* ============================================================ */
/* BLOG DETAIL (A-standard variant)                              */
/* ============================================================ */
.container-narrow { max-width: 740px; margin: 0 auto; padding: 0 24px; }

.c-post { max-width: 900px; margin: 0 auto; }

.c-post__header { padding: 80px 0 32px; background: #0f172a; }

.c-post__breadcrumb { font-size: 13px; color: #64748b; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.c-post__breadcrumb a { color: #64748b; text-decoration: none; }
.c-post__breadcrumb a:hover { color: #7c2d12; }

.c-post__category { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #7c2d12; margin-bottom: 12px; }

.c-post__title { font-size: 42px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #f1f5f9; margin: 0 0 16px; }

.c-post__meta { display: flex; gap: 20px; flex-wrap: wrap; color: #64748b; font-size: 14px; }

.c-post__cover { margin: 0 0 48px; }
.c-post__cover img { width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 0; display: block; }

.c-post__lead { font-size: 19px; color: #94a3b8; line-height: 1.75; margin-bottom: 32px; }

.c-post__footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid #1e293b; }
.c-post__share { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #64748b; }
.c-post__share a { color: #64748b; text-decoration: none; }
.c-post__share a:hover { color: #7c2d12; }

.c-post__body blockquote { border-left: 3px solid #7c2d12; padding: 4px 0 4px 16px; color: #94a3b8; font-style: italic; margin: 0; }
.c-post__body code { font-family: 'IBM Plex Mono', ui-monospace, monospace; background: #1e293b; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; color: #e2e8f0; }
.c-post__body pre { background: #1e293b; color: #e2e8f0; padding: 16px 20px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.c-post__body pre code { background: transparent; padding: 0; color: inherit; }

/* Related articles */
.c-related { padding: 64px 0 80px; background: #1e293b; }
.c-related__title { font-size: 22px; font-weight: 700; color: #f1f5f9; margin-bottom: 32px; }
.c-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-related__card { background: #0f172a; border: 1px solid #334155; border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform 0.2s; display: flex; flex-direction: column; }
.c-related__card:hover { transform: translateY(-3px); }
.c-related__card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.c-related__card-body { padding: 16px; }
.c-related__card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #7c2d12; margin-bottom: 4px; display: block; }
.c-related__card h4 { font-size: 14px; font-weight: 600; color: #f1f5f9; line-height: 1.4; margin: 0 0 6px; }
.c-related__card-date { font-size: 12px; color: #475569; }
@media (max-width: 768px) { .c-related__grid { grid-template-columns: 1fr; } }

/* Prev/Next */
.c-article-nav { max-width: 780px; margin: 40px auto 0; padding: 32px 24px 0; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; }
.c-article-nav a { font-size: 14px; font-weight: 600; color: #64748b; text-decoration: none; }
.c-article-nav a:hover { color: #7c2d12; }

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

/* ============================================================ */
/* BLOG READING WIDTH (verify_site.py check)                     */
/* ============================================================ */
.c-post__body,
.blog-article__body,
.article-body,
.post-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.85;
  color: #94a3b8;
}

.c-post__body h2,
.c-post__body h3 {
  color: #f1f5f9;
  margin-top: 40px;
  margin-bottom: 16px;
}

.c-post__body p { margin-bottom: 20px; }

.c-post__body img,
.blog-img-standard {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 32px auto;
  display: block;
}

.blog-img-full {
  width: 100%;
  max-width: none;
  border-radius: 0;
}
