/*
Theme Name: GabonActu24 Encre et Carmin
Description: Direction éditoriale de GabonActu24 sur le thème parent Jannah.
Template: jannah
Version: 1.0.1
Text Domain: gabonactu24-carmin
*/
:root {
  --ga24-paper: #f7f5f0;
  --ga24-surface: #fff;
  --ga24-ink: #191c21;
  --ga24-muted: #525963;
  --ga24-line: #d9d2c7;
  --ga24-accent: #a62232;
  --ga24-heading: "Source Serif 4", Georgia, serif;
  --ga24-ui: Inter, system-ui, sans-serif;
}
body.dark-skin, html.dark-skin body {
  --ga24-paper: #14171b;
  --ga24-surface: #1d2228;
  --ga24-ink: #f2f1ee;
  --ga24-muted: #bec3ca;
  --ga24-line: #414650;
  --ga24-accent: #ff8490;
}
body, body.home { background: var(--ga24-paper) !important; color: var(--ga24-ink) !important; font-family: var(--ga24-ui) !important; }
#main-nav { border-bottom: 1px solid #3a3d43 !important; border-top: 2px solid #a62232 !important; }
#main-nav a:hover, #main-nav .current-menu-item > a { background: #a62232 !important; }
body.home #main-content-row { max-width: 1240px; width: 100%; padding: 24px 20px 48px; }
body.home #main-content-row .the-post, body.home #main-content-row .container-wrapper { background: transparent !important; color: var(--ga24-ink) !important; box-shadow: none !important; }
body.home #main-content-row .the-post h2.wp-block-heading {
  border-bottom: 1px solid var(--ga24-line) !important;
  color: var(--ga24-ink) !important;
  font: 800 14px/1.4 var(--ga24-ui) !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 12px;
}
body.home .ga24-ouverture .wp-block-post-template {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
  gap: 0 28px !important;
  list-style: none;
  padding: 0 !important;
}
body.home .ga24-ouverture .wp-block-post-template > li {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.home .ga24-ouverture .wp-block-post-template > li:first-child { grid-row: span 2; }
body.home .ga24-ouverture .wp-block-post-template > li:not(:first-child) { border-left: 1px solid var(--ga24-line) !important; padding: 12px 0 12px 20px !important; }
body.home .ga24-ouverture .wp-block-post-featured-image { order: -1; margin: 0 0 14px !important; }
body.home .ga24-ouverture img { display: block; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; border-radius: 0 !important; }
body.home .ga24-ouverture li:not(:first-child) .wp-block-post-featured-image,
body.home .ga24-ouverture li:not(:first-child) .wp-block-post-excerpt { display: none !important; }
body.home #main-content-row .the-post .wp-block-post-title a { color: var(--ga24-ink) !important; text-decoration: none !important; }
body.home #main-content-row .the-post .wp-block-post-title a:hover { text-decoration: underline !important; text-underline-offset: .14em; }
body.home #main-content-row .the-post .ga24-ouverture .wp-block-post-title { font: 650 clamp(24px, 2.4vw, 33px)/1.12 var(--ga24-heading) !important; }
body.home #main-content-row .the-post .ga24-ouverture li:first-child .wp-block-post-title { font-size: clamp(35px, 4.15vw, 60px) !important; line-height: 1.03 !important; }
body.home .ga24-fil .wp-block-post-template > li { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--ga24-line) !important; box-shadow: none !important; }
body.single-post .container-wrapper.post-content { background: var(--ga24-surface) !important; color: var(--ga24-ink) !important; }
body.single-post .single-post-title, body.single-post .entry-header h1 { color: var(--ga24-ink) !important; font: 650 clamp(34px, 4vw, 54px)/1.08 var(--ga24-heading) !important; }
body.single-post .entry-content { max-width: 720px; margin-inline: auto; }
body.single-post .entry-content p, body.single-post .entry-content li { color: var(--ga24-ink) !important; font: 400 clamp(18px, 1.65vw, 20px)/1.7 var(--ga24-heading) !important; }
body.single-post .entry-content h2, body.single-post .entry-content h3 { color: var(--ga24-ink) !important; }
body.single-post .entry-content a { color: var(--ga24-accent) !important; }
@media (max-width: 767px) {
  body.home #main-content-row { padding-inline: 16px !important; }
  body.home .ga24-ouverture .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  body.home .ga24-ouverture .wp-block-post-template > li:first-child { grid-row: auto; }
  body.home .ga24-ouverture .wp-block-post-template > li:not(:first-child) { border-left: 0 !important; border-top: 1px solid var(--ga24-line) !important; padding: 13px 0 !important; }
  body.home #main-content-row .the-post .ga24-ouverture li:first-child .wp-block-post-title { font-size: clamp(30px, 8vw, 40px) !important; }
  body.home .ga24-ouverture li:first-child .ga24-card-copy { order: -2; }
}
@media (prefers-reduced-motion: reduce) {
  .ga24-ouverture *, .ga24-fil * { animation: none !important; transition: none !important; }
}
