/*
 * Styles for Democracy_intervention.php
 * Extracted from the PHP page without changing selectors or declaration order.
 */

/* Extracted from Democracy_intervention.php - style block 1 */
:root {
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e3a8a;
    /* default fonts kept as-is, nothing custom imported */
    --font-serif: Georgia, "Times New Roman", Times, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  .content-section {
    padding: 64px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .content-section:last-child {
    border-bottom: none;
  }

  /* ---- Arrow-shaped eyebrow banner (used for "The Path" + section numbering) ---- */
  .eyebrow-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #445c91;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 26px 8px 16px;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    margin-bottom: 18px;
    /*width: 54%;*/
  }

  .section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--blue-800);
    margin: 0 0 12px;
  }

  .highlight {
    color: var(--blue-600);
  }

  .section-sub {
    font-size: 1.05rem;
    color: #475569;
    max-width: 640px;
    margin-bottom: 20px;
  }

  /* Highlighted arrow-style tagline (e.g. "Truth is the path when all paths are obscured") */
  .tagline-highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--blue-700);
    background: #eff6ff;
    border-left: 4px solid var(--blue-600);
    padding: 10px 18px;
    margin: 16px 0 26px;
    position: relative;
  }

  .tagline-highlight::before {
    content: "\f061";
    /* fa-arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--blue-500);
    margin-right: 10px;
  }

  .quote-block {
    background: #eff6ff;
    border-left: 4px solid var(--blue-600);
    padding: 18px 22px;
    margin: 24px 0;
    font-style: italic;
    color: var(--blue-800);
  }

  .quote-block cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 0.85rem;
    color: #64748b;
  }

  .quote-block1 {
    background: #00000012;
    /*border-left: 4px solid var(--blue-600);*/
    padding: 18px 22px;
    margin: 24px 0;
    font-style: italic;
    color: var(--blue-800);
  }

  .quote-block1 cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 0.85rem;
    color: #64748b;
  }

  .pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0;
  }

  .pillar-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .pillar-item i {
    color: var(--blue-500);
  }

  /* ---- Fixed list markers: right-pointing arrow instead of default dot, font untouched ---- */
  ul.arrow-list {
    list-style: none;
    margin: 14px 0;
    padding: 0;
  }

  ul.arrow-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
  }

  .two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 20px 0;
  }

  .col h4 {
    font-family: var(--font-serif);
    color: var(--blue-800);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .col h4 i {
    color: var(--blue-500);
  }

  .blue-accent-box {
    background: #eff6ff;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
  }

  .grid-2-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
  }

  .card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
  }

  .card h5 {
    margin-top: 0;
    color: var(--blue-800);
  }

  .card-danger {
    background: #fef2f2;
    border-color: #fecaca;
  }

  .card-danger h5 {
    color: #b91c1c;
  }

  @media (max-width: 680px) {

    .two-col-layout,
    .grid-2-compare {
      grid-template-columns: 1fr;
    }
  }

  .imagesdata img {
    width: 100%;
    height: auto;
  }

  /* =========================================================
     MOBILE RESPONSIVE ADDITIONS ONLY
     (nothing above this line was changed)
     Breakpoints: 992px, 768px, 480px
     ========================================================= */

  @media (max-width: 992px) {
    .content-section {
      padding: 48px 0;
    }
  }

  @media (max-width: 768px) {
    .content-section {
      padding: 36px 0;
    }

    .eyebrow-arrow {
      font-size: 16px;
      padding: 7px 20px 7px 14px;
      gap: 6px;
      clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
      margin-bottom: 14px;
    }

    .section-title {
      font-size: 1.25rem;
      margin-bottom: 10px;
    }

    .section-sub {
      font-size: 0.98rem;
      max-width: 100%;
      margin-bottom: 16px;
    }

    .tagline-highlight {
      font-size: 1.05rem;
      padding: 9px 14px;
      margin: 14px 0 20px;
    }

    .quote-block,
    .quote-block1 {
      padding: 14px 16px;
      margin: 18px 0;
      font-size: 0.95rem;
    }

    .pillar-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
      margin: 14px 0;
    }

    .pillar-item {
      padding: 12px 14px;
    }

    ul.arrow-list li {
      padding-left: 24px;
      margin-bottom: 8px;
    }

    .two-col-layout,
    .grid-2-compare {
      gap: 20px;
    }

    .blue-accent-box {
      padding: 14px 16px;
      margin: 12px 0;
    }

    .card {
      padding: 16px;
    }
  }

  @media (max-width: 480px) {
    .content-section {
      padding: 28px 0;
    }

    .eyebrow-arrow {
      font-size: 13px;
      letter-spacing: 0.05em;
      padding: 6px 20px 6px 12px;
      gap: 5px;
      clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    }

    .section-title {
      font-size: 1.1rem;
    }

    .section-sub {
      font-size: 0.92rem;
    }

    .tagline-highlight {
      font-size: 0.95rem;
      padding: 8px 12px;
    }

    .tagline-highlight::before {
      margin-right: 6px;
    }

    .quote-block,
    .quote-block1 {
      padding: 12px 14px;
      font-size: 0.9rem;
    }

    .pillar-grid {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .two-col-layout,
    .grid-2-compare {
      gap: 14px;
    }

    .card {
      padding: 14px;
    }
  }



  /* ===== Democracy Comparison Table Styling ===== */
  .table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
  }

  .democracy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background-color: #ffffff;
  }

  .democracy-table thead th {
    background-color: #000000;
    color: #ffffff;
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .democracy-table thead th:first-child {
    text-align: center;
    width: 70px;
  }

  .democracy-table tbody tr {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
  }

  .democracy-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
  }

  .democracy-table tbody td {
    padding: 12px 16px;
    color: #222222;
    font-size: 14.5px;
    vertical-align: top;
  }

  .democracy-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    color: #000000;
  }

  .democracy-table tbody tr:hover {
    background-color: #eeeeee;
  }

  /* ===== Mobile Responsive: Numbered Card view below 768px ===== */
  @media (max-width: 767px) {

    .table-responsive-wrapper {
      overflow-x: visible;
    }

    .democracy-table {
      min-width: 100%;
      border-collapse: separate;
      border-spacing: 0;
    }

    .democracy-table thead {
      display: none;
    }

    .democracy-table tbody {
      counter-reset: rownum;
    }

    .democracy-table tbody tr {
      counter-increment: rownum;
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      background-color: #ffffff;
      /* no green/pink - plain white */
      border: 2px solid #000000;
      border-radius: 10px;
      margin-top: 22px;
      margin-bottom: 6px;
    }

    /* Numbered circle badge - like the reference image */
    .democracy-table tbody tr::before {
      content: counter(rownum);
      position: absolute;
      top: -18px;
      left: 14px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background-color: #ffffff;
      border: 2px solid #000000;
      color: #000000;
      font-weight: 700;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }

    /* Hide S.NO column text - number now shows as circle badge */
    .democracy-table tbody tr td:first-child {
      display: none;
    }

    .democracy-table tbody td {
      display: flex;
      flex-direction: column;
      padding: 16px 0px;
      background-color: transparent;
      /* no colored backgrounds */
      color: #222222;
      /* normal content color */
      font-size: 14px;
      /*font-weight: 500;*/
    }

    /* Divider line between the two columns */
    .democracy-table tbody td:nth-child(2) {
      border-right: 2px solid #000000;
    }

    /* Column headings - always black, bold, uppercase */
    .democracy-table tbody td::before {
      content: attr(data-label);
      font-weight: 700;
      color: #000000;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      padding-bottom: 8px;
      margin-bottom: 8px;
      border-bottom: 2px solid #000000;
    }

    .democracy-table tbody tr:hover {
      background-color: #ffffff;
    }
  }

  .truth-seeker-block {
    margin-top: 30px;
  }

  .admin-panel-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 28px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
  }

  .admin-panel-btn:hover {
    background-color: #333333;
    color: #ffffff;
  }

  /* =========================================================
   NEW — "Objectives" onward redesign (Bootstrap-grid based,
   mobile responsive). Everything above this line is untouched.
   ========================================================= */

  @import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

  :root {
    --df-navy: #16233F;
    --df-parchment-2: #FFFDF8;
    --df-brass: #B8863A;
    --df-brass-light: #E4C583;
    --df-ink: #232830;
    --df-ink-soft: #565B66;
    --df-rule: #E1D5B4;
    --df-font-display: 'Fraunces', Georgia, serif;
    --df-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --df-font-mono: 'IBM Plex Mono', "Courier New", monospace;
  }

  /*.df-article { padding: 52px 0; border-bottom: 1px solid var(--df-rule); }*/
  .df-article:last-of-type {
    border-bottom: none;
  }

  .df-head {
    margin-bottom: 30px;
  }

  .df-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--df-font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--df-brass);
    margin-bottom: 10px;
  }

  .df-eyebrow::before,
  .df-eyebrow::after {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--df-brass);
  }

  .df-title {
    font-family: var(--df-font-display);
    font-weight: 600;
    color: var(--df-navy);
    font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
    margin: 0;
  }

  .df-dek {
    font-family: var(--df-font-body);
    color: var(--df-ink-soft);
    font-size: 0.98rem;
    max-width: 620px;
    margin: 10px auto 0;
  }

  .df-seal {
    --sz: 38px;
    width: var(--sz);
    height: var(--sz);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #0d6efd40;
    font-family: var(--df-font-mono);
    font-weight: 600;
    font-size: 13px;
    box-shadow: inset 0 0 0 3px rgba(184, 134, 58, 0.12);
  }

  .df-seal-lg {
    --sz: 50px;
    font-size: 17px;
  }

  .df-seal-fill {
    background: var(--df-brass);
    color: var(--df-navy);
    border-color: var(--df-brass);
  }

  .df-objective {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #e7feff;
    /*border: 1px solid var(--df-rule);*/
    border-radius: 8px;
    padding: 18px;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .df-objective:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(22, 35, 63, 0.08);
    border-color: var(--df-brass);
  }

  .df-objective p {
    margin: 0;
    font-family: var(--df-font-body);
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--df-ink);
  }

  .df-series {
    border: 1px solid var(--df-rule);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
  }

  .df-series-head {
    background: var(--df-navy);
    color: #F4EFE2;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .df-series-tag {
    font-family: var(--df-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--df-brass-light);
    border: 1px solid rgba(228, 197, 131, 0.32);
    border-radius: 999px;
    padding: 3px 10px;
    flex-shrink: 0;
  }

  .df-series-head h4 {
    font-family: var(--df-font-display);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
  }

  .df-series-list {
    list-style: none;
    margin: 0;
    padding: 6px 4px;
  }

  .df-series-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--df-rule);
    font-family: var(--df-font-body);
    font-size: 0.93rem;
    color: var(--df-ink);
  }

  .df-series-list li:last-child {
    border-bottom: none;
  }

  .df-series-list li .df-seal {
    --sz: 25px;
    font-size: 11px;
  }

  .df-lede {
    font-family: var(--df-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--df-ink-soft);
    text-align: justify;
    max-width: 880px;
  }

  .df-card {
    background: var(--df-parchment-2);
    border: 1px solid var(--df-rule);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 24px;
  }

  .df-card p {
    font-family: var(--df-font-body);
    color: var(--df-ink);
    line-height: 1.65;
  }

  .df-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
  }

  .df-list li {
    position: relative;
    padding: 10px 0 10px 24px;
    font-family: var(--df-font-body);
    font-size: 0.93rem;
    color: var(--df-ink);
    border-bottom: 1px dashed var(--df-rule);
  }

  .df-list li:last-child {
    border-bottom: none;
  }

  .df-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--df-brass);
  }

  .df-media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--df-rule);
  }

  .df-diagram-wrap {
    margin-top: 24px;
    text-align: center;
  }

  .df-diagram-wrap img {
    max-width: 80%;
    height: auto;
    border-radius: 6px;
  }

  .df-mobile-img {
    display: none;
  }

  @media (max-width: 767.98px) {
    .df-article {
      padding: 34px 0;
    }

    .df-card {
      padding: 18px;
      border-radius: 8px;
    }

    .df-title {
      font-size: 1.3rem;
    }

    .df-desktop-img {
      display: none;
    }

    .df-mobile-img {
      display: block;
    }
  }

  @media (max-width: 479.98px) {
    .df-title {
      font-size: 1.15rem;
    }

    .df-seal {
      --sz: 32px;
      font-size: 11px;
    }

    .df-seal-lg {
      --sz: 42px;
      font-size: 14px;
    }
  }

  /* =========================================================
   NEW — Section background colors (white / #f5f9ff alternating)
   Applied to every one of the 8 crumb-trail sections, in order.
   Higher specificity than .df-card / .df-article so it always wins.
   ========================================================= */
  .df-article.sec-white,
  .df-article.sec-light {
    padding: 0px 24px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .df-card.sec-white,
  .df-card.sec-light {
    border-radius: 10px;
  }

  .sec-white {
    /*background-color: #ffffff;*/
  }

  .sec-light {
    background-color: #f8fafc;
  }

  @media (max-width: 767.98px) {

    .df-article.sec-white,
    .df-article.sec-light {
      padding: 28px 16px;
      border-radius: 10px;
    }
  }
