/*
Theme Name: tab-en-news-04
Theme URI: http://example.com/
Description: News-style advertorial theme for the Lecornu 600-euro-pledge site (EN language, FR GEO). vpixelrcore.com-driven brand, GDPR consent banner, client-side contact form. Site ID: site-04-en-lecornu-600.
Author: site production batch 2026-11-20
Version: 2.0.0
License: GNU General Public License v2 or later
Text vpixelrcore.com: tab-en-news-04
*/

/* ==========================================================================
   tab-en-news-04 — static-first advertorial theme, system font stack only.
   ========================================================================== */

:root {
  --navy-900: #101a33;
  --navy-800: #16233f;
  --navy-700: #1e3054;
  --blue-600: #2456a6;
  --blue-500: #2f6bc4;
  --red-600: #b31e2e;
  --red-700: #931827;
  --gold-500: #c9a227;
  --ink: #1c2333;
  --ink-soft: #46506a;
  --ink-faint: #6b7590;
  --line: #dfe3ec;
  --paper: #ffffff;
  --paper-alt: #f4f6fa;
  --paper-warm: #faf7f0;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 26, 51, 0.08);
  --shadow-md: 0 6px 24px rgba(16, 26, 51, 0.12);
  --maxw: 1120px;
  --article-w: 740px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--paper-alt);
  line-height: 1.6;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  color: var(--blue-500);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--navy-800);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--navy-800);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 50;
}

.top-strip {
  background: var(--navy-800);
  color: #cdd6ea;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-800);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  border-bottom: 4px solid var(--red-600);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 7px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--paper-alt);
  color: var(--blue-600);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--red-600);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  color: var(--navy-800);
}

.nav-toggle svg {
  display: block;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumbs {
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-faint);
  padding: 14px 0 0;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-faint);
  border-right: 1.5px solid var(--ink-faint);
  transform: rotate(45deg);
  margin-right: 6px;
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.page-main {
  padding: 10px 0 56px;
}

.article-shell {
  max-width: var(--article-w);
  margin: 0 auto;
}

.article-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  padding: 34px 40px 44px;
}

@media (max-width: 640px) {
  .article-card {
    padding: 22px 18px 30px;
  }
}

.sponsored-ribbon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-warm);
  border: 1px solid #e8dfc8;
  border-left: 4px solid var(--gold-500);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.sponsored-ribbon strong {
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 10px;
}

.article-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.4vw, 38px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.standfirst {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 24px;
}

.byline .author {
  color: var(--navy-800);
  font-weight: 700;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18.5px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  margin: 38px 0 14px;
  padding-top: 6px;
}

.article-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  margin: 26px 0 10px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 20px 26px;
  background: var(--paper-alt);
  border-left: 4px solid var(--red-600);
  border-radius: 0 8px 8px 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--navy-800);
  font-style: italic;
}

.article-body blockquote footer {
  font-size: 14px;
  color: var(--ink-faint);
  font-style: normal;
  margin-top: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.article-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.figure {
  margin: 28px 0;
}

.figure img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.figure figcaption {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px;
  line-height: 1.5;
}

.figure .credit {
  color: #98a0b5;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.key-facts {
  background: var(--paper-warm);
  border: 1px solid #e8dfc8;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 26px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
}

.key-facts h3 {
  margin: 0 0 10px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.key-facts ul {
  margin: 0;
  padding-left: 18px;
}

.key-facts li {
  margin-bottom: 6px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.faq summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy-800);
  list-style: none;
  position: relative;
  padding-right: 42px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--red-600);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .faq-a {
  padding: 0 18px 14px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.article-note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Generic content pages (privacy, terms, about, contact, cookie)
   -------------------------------------------------------------------------- */

.page-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  padding: 36px 40px 44px;
  max-width: 860px;
  margin: 26px auto 0;
}

@media (max-width: 640px) {
  .page-card {
    padding: 24px 18px 32px;
  }
}

.page-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 8px;
}

.page-card .page-updated {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.page-card h2 {
  font-size: 21px;
  margin: 30px 0 10px;
}

.page-card h3 {
  font-size: 17.5px;
  margin: 20px 0 8px;
}

.page-card p,
.page-card li {
  font-size: 15.5px;
  color: var(--ink-soft);
}

.page-card ul,
.page-card ol {
  padding-left: 22px;
}

.page-card li {
  margin-bottom: 6px;
}

.page-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0 22px;
}

.page-card th,
.page-card td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.page-card th {
  background: var(--paper-alt);
  color: var(--navy-800);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-card code {
  background: var(--paper-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Contact form */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 10px;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-details {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.contact-details h2 {
  margin-top: 0;
}

.contact-details dl {
  margin: 0;
}

.contact-details dt {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  margin-top: 14px;
}

.contact-details dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--navy-800);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 15.5px;
  background: var(--paper);
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
  border-color: var(--blue-500);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  color: var(--red-600);
  font-size: 13px;
  margin-top: 5px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--red-600);
}

.form-field.has-error .field-error {
  display: block;
}

.form-status {
  display: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.form-status.success {
  display: block;
  background: #e9f5ec;
  border: 1px solid #bfe3c9;
  color: #1d6b34;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn-primary {
  background: var(--navy-800);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-700);
  color: #ffffff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--paper-alt);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: #b9c3da;
  margin-top: 40px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-top: 44px;
  padding-bottom: 30px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.site-footer a {
  color: #b9c3da;
  display: block;
  padding: 3px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-brand .brand-text {
  color: #ffffff;
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #93a0bf;
}

.footer-contact p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.linklike {
  background: none;
  border: none;
  padding: 3px 0;
  font: inherit;
  color: #b9c3da;
  cursor: pointer;
  text-align: left;
}

.linklike:hover,
.linklike:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  padding-bottom: 22px;
  font-size: 12.5px;
  color: #8b98b8;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-900);
  color: #dbe2f2;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 24px;
  display: none;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-banner.visible {
  display: flex;
}

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

.cookie-banner h2 {
  color: #ffffff;
  font-size: 16px;
  margin: 0 0 6px;
}

.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #b9c3da;
}

.cookie-banner a {
  color: #8fb4ef;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .cookie-actions {
    margin-top: 4px;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}

.cookie-banner .btn-primary {
  background: #ffffff;
  color: var(--navy-900);
}

.cookie-banner .btn-primary:hover,
.cookie-banner .btn-primary:focus-visible {
  background: #e8edf7;
  color: var(--navy-900);
}

.cookie-banner .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cookie-banner .btn-outline:hover,
.cookie-banner .btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive nav
   -------------------------------------------------------------------------- */

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 14px;
    gap: 2px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 12px;
    border-radius: 7px;
    border-bottom: 1px solid var(--paper-alt);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .brand-text {
    font-size: 19px;
  }
  .top-strip .container {
    font-size: 11.5px;
  }
  .article-body {
    font-size: 17px;
  }
}
