/*
Theme Name: Mare Nostrum, la place en affiches
Theme URI: https://www.asso-marenostrum.org/
Author: Robert Hak
Description: Thème de l'association Mare Nostrum (Faubourg Méditerranée, Montpellier). Les actualités en mur d'affiches, les portraits « La Med c'est mon quartier », thème clair et sombre. Coordonnées et informations pratiques dans Apparence > Personnaliser > Mare Nostrum.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mn-affiches
*/

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #E4E7E9;
  --fg: #1D2226;
  --paper: #FFFFFF;
  --deep: #1D2226;
  --date: #A51E23;
  --focus: #1E5AA8;
  --red: #C8262B;
  --blue: #1E5AA8;
  --yellow: #F7C31A;
  --ink: #1D2226;
  --line: #C9CED2;
  --tape: rgba(240, 226, 190, .85);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16191C; --fg: #E9ECEE; --paper: #22272B; --deep: #0B0D0F; --date: #FF8A80; --focus: #8AB8FF; --line: #3A4147;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16191C; --fg: #E9ECEE; --paper: #22272B; --deep: #0B0D0F; --date: #FF8A80; --focus: #8AB8FF; --line: #3A4147;
  color-scheme: dark;
}
.theme { display: inline-flex; align-items: center; gap: .35rem; font: inherit; font-weight: 800; font-size: .95rem; color: var(--fg); background: none; border: 3px solid var(--fg); padding: .45rem .8rem; cursor: pointer; }
.theme:hover { background: var(--fg); color: var(--paper); }
.theme:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.theme i { font-style: normal; }
.tools { display: flex; align-items: center; gap: .8rem; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.55; color: var(--fg); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-stretch: 125%; font-weight: 900; letter-spacing: -.01em; overflow-wrap: break-word; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }

/* Header */
.top { background: var(--paper); border-bottom: 6px solid var(--fg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo img { width: 200px; height: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--red); }
.btn { display: inline-block; font-weight: 800; font-stretch: 110%; text-decoration: none; padding: .8rem 1.3rem; border: 3px solid var(--fg); }
.btn-red { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.btn-red:hover { background: #9E1D21; border-color: #9E1D21; }
.nav a.btn-red:hover { text-decoration: none; }
.btn-ink { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-ink:hover { background: var(--paper); color: var(--fg); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 800; padding: .5rem 1rem; border: 3px solid var(--fg); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--fg); color: var(--paper); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 6px solid var(--fg); padding: .5rem 1rem 1rem; z-index: 5; }
.menu nav a { display: block; padding: .8rem 0; font-weight: 800; font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--bg); }
.menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--red); }
header { position: relative; }

/* Poster mechanics: posters stay white paper in both themes, so text on them stays dark. */
.poster { position: relative; background: #FFFFFF; color: var(--ink); padding: .7rem; box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 14px 24px -12px rgba(0,0,0,.35); }
.poster::before { content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; background: var(--tape); transform: translateX(-50%) rotate(-3deg); }
.tilt-l { transform: rotate(-1.8deg); }
.tilt-r { transform: rotate(1.4deg); }

/* Hero */
.hero { padding-block: 3.5rem 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero .kicker { display: inline-block; margin: 0 0 1rem; font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--date); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.when { display: inline-grid; grid-template-columns: auto auto; gap: 0 1.2rem; margin: 1.8rem 0; background: var(--yellow); color: var(--ink); padding: 1rem 1.3rem; font-weight: 700; }
.when b { grid-row: span 2; font-size: 3.4rem; line-height: 1; font-stretch: 125%; font-weight: 900; }
.hero p { max-width: 32em; margin: 0 0 1.6rem; }
.hero .poster img { width: 100%; height: auto; }

/* Wall */
section { padding-block: 4rem; }
.title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.6rem; }
.title h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.8rem; align-items: start; }
.board a { text-decoration: none; display: block; }
.board .poster img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FFFFFF; }
.board .cap { padding: .7rem .2rem .2rem; }
.board time { font-weight: 700; font-size: .95rem; color: var(--date); }
.board h3 { font-size: 1.25rem; margin-top: .2rem; }
.board a:hover h3 { text-decoration: underline; }

/* Permanences */
.perm .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.note { background: var(--yellow); color: var(--ink); padding: 2rem 2.2rem; transform: rotate(-1deg); box-shadow: 0 14px 24px -14px rgba(0,0,0,.4); }
.note h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.2rem; }
.note dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.4rem; margin: 0; font-size: 1.3rem; }
.note dt { font-weight: 900; font-stretch: 125%; }
.note dd { margin: 0; white-space: nowrap; }
.perm p { margin: 0 0 1rem; max-width: 30em; }
.perm .addr { font-weight: 800; font-size: 1.3rem; }

/* Portraits */
.voisins { background: var(--deep); color: #FFFFFF; }
.voisins .title p { margin: .6rem 0 0; max-width: 34em; color: #CDD3D7; }
.voisins .btn { border-color: #FFFFFF; color: #FFFFFF; }
.voisins .btn:hover { background: #FFFFFF; color: #1D2226; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.strip a { scroll-snap-align: start; text-decoration: none; }
.strip a:hover span { text-decoration: underline; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip span { display: block; font-weight: 900; font-stretch: 125%; font-size: 1.15rem; margin-top: .5rem; }
.strip small { color: #CDD3D7; font-size: .95rem; }

/* Dossier */
.dossier { background: var(--blue); color: #FFFFFF; }
.dossier .wrap { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.dossier h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.dossier p { margin: .6rem 0 0; max-width: 40em; }
.dossier .btn { background: #FFFFFF; color: var(--blue); border-color: #FFFFFF; white-space: nowrap; }
.dossier .btn:hover { background: #1D2226; color: #FFFFFF; border-color: #1D2226; }

.join { background: var(--red); color: #FFFFFF; text-align: center; }
.join h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.join p { margin: 1rem auto 1.8rem; max-width: 30em; }
.join .btn { background: #FFFFFF; color: var(--red); border-color: #FFFFFF; font-size: 1.2rem; }
.join .btn:hover { background: #1D2226; color: #FFFFFF; border-color: #1D2226; }
.voisins a:focus-visible, .dossier a:focus-visible, .join a:focus-visible { outline-color: #FFFFFF; }

footer { background: var(--paper); padding-block: 2.5rem; font-size: 1rem; border-top: 6px solid var(--fg); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
footer p { margin: 0 0 .3rem; }
footer b { font-stretch: 115%; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero .wrap, .perm .wrap { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr 1fr; }
  .dossier .wrap { flex-direction: column; align-items: start; }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; }
  .logo img { width: 150px; }
  .theme span { display: none; }
  .theme { padding: .45rem .7rem; }
  .hero { padding-block: 2rem 3rem; }
  section { padding-block: 3rem; }
  .title { flex-direction: column; align-items: start; }
  .board { grid-template-columns: 1fr; gap: 2.4rem; }
  .tilt-l { transform: rotate(-1deg); }
  .tilt-r { transform: rotate(.8deg); }
  .note { padding: 1.5rem; }
  .note dl { font-size: 1.15rem; gap: .5rem 1rem; }
  .note dd { white-space: normal; }
  .strip { grid-auto-columns: 62%; }
  .when b { font-size: 2.8rem; }
  .dossier .btn { white-space: normal; }
}

/* ---- Site pages (generic classes from lib/build.mjs) ---- */
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; z-index: 100; font-weight: 800; }
.skip:focus { left: 1rem; top: .5rem; }
.page-head { padding-block: 2.6rem 2.2rem; border-bottom: 3px solid var(--fg); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22em; }
.crumbs { font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.crumbs a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--date); }
.lead { margin: 1rem 0 0; max-width: 38em; font-size: 1.2rem; }
.page-body { padding-block: 3.5rem 5rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6rem 1.8rem; align-items: start; }
.card a { display: block; text-decoration: none; }
.card .poster { transform: rotate(-1.6deg); transition: transform .2s; }
.card:nth-child(even) .poster { transform: rotate(1.3deg); }
.card:nth-child(3n) .poster { transform: rotate(-.6deg); }
.card a:hover .poster { transform: none; }
.card .poster img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FFFFFF; }
.card .ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #FFFFFF; }
.card .ph img { width: 60%; aspect-ratio: auto; opacity: .5; }
.card .cap { padding: .8rem .2rem .2rem; }
.card time { font-weight: 700; font-size: .95rem; color: var(--date); }
.card h2 { font-size: 1.2rem; margin-top: .25rem; }
.card a:hover h2 { text-decoration: underline; }

.pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3.5rem; font-weight: 800; }
.pager a, .pager span { min-width: 2.8rem; text-align: center; padding: .5rem .8rem; border: 3px solid var(--fg); text-decoration: none; background: var(--paper); }
.pager a:hover { background: var(--fg); color: var(--paper); }
.pager span[aria-current] { background: var(--red); border-color: var(--red); color: #FFFFFF; }

.portrait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.8rem; align-items: start; }
.pcard { display: block; text-decoration: none; }
.pcard.poster { padding: .7rem .7rem 1rem; transform: rotate(1deg); transition: transform .2s; }
.portrait-grid .pcard:nth-child(even) { transform: rotate(-1.2deg); }
.portrait-grid .pcard:nth-child(3n) { transform: rotate(.4deg); }
.portrait-grid .pcard:hover { transform: none; }
.pcard img, .pcard .noimg { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #E4E7E9; }
.pcard b { display: block; font-weight: 900; font-stretch: 125%; font-size: 1.2rem; line-height: 1.1; margin-top: .7rem; }
.pcard small { display: block; font-size: .95rem; margin-top: .25rem; color: #4A5257; }
.pcard:hover b { text-decoration: underline; }

.article { max-width: 50rem; background: var(--paper); padding: 2.4rem 2.6rem 2.6rem; position: relative; box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 14px 24px -12px rgba(0,0,0,.35); }
.article::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; background: var(--tape); transform: translateX(-50%) rotate(-2deg); }
.meta { display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center; margin: 0 0 1.8rem; font-weight: 800; color: var(--date); }
.tag { font-size: .9rem; padding: .2rem .65rem; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 800; }
.tag:hover { text-decoration: underline; }
.article-img { margin: 0 0 2rem; }
.article-img img { width: auto; max-width: 100%; height: auto; margin-inline: auto; border: 6px solid #FFFFFF; box-shadow: 0 0 0 1px var(--line); }
.prose { max-width: 42rem; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--date); }
.prose h2, .prose h3, .prose h4 { margin-top: 2rem; font-size: 1.6rem; line-height: 1.1; }
.prose h3, .prose h4 { font-size: 1.3rem; }
.prose img { height: auto; margin-block: .5rem; }
.prose figure { margin: 1.5rem 0; max-width: 100%; }
.prose figcaption { font-size: .9rem; margin-top: .4rem; }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 6px solid var(--yellow); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: .4rem .6rem; }
.prose video, .prose iframe { max-width: 100%; height: auto; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.back { margin-top: 3rem; font-weight: 800; }
.back a { text-decoration-thickness: 3px; text-underline-offset: 4px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; margin-top: 3rem; align-items: start; }
.info { background: var(--paper); padding: 1.6rem 1.7rem; position: relative; box-shadow: 0 14px 24px -14px rgba(0,0,0,.4); transform: rotate(.6deg); }
.info:first-child { background: var(--yellow); color: var(--ink); transform: rotate(-1deg); }
.info:last-child { transform: rotate(-.4deg); }
.info h2 { font-size: 1.5rem; margin-bottom: .9rem; }
.info p { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.info dl { margin: 0 0 .8rem; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.info dt { font-weight: 900; font-stretch: 125%; }
.info dd { margin: 0; }
.info a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.button { display: inline-block; font-weight: 800; font-stretch: 110%; text-decoration: none; padding: .8rem 1.3rem; border: 3px solid var(--red); background: var(--red); color: #FFFFFF; }
.button:hover { background: #9E1D21; border-color: #9E1D21; }
.button.alt { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.button.alt:hover { background: var(--paper); color: var(--fg); }

.rubrique-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.rubrique-list a { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.4rem 1.5rem; background: var(--paper); border-top: 10px solid var(--red); text-decoration: none; box-shadow: 0 10px 20px -14px rgba(0,0,0,.4); }
.rubrique-list li:nth-child(3n+2) a { border-top-color: var(--blue); }
.rubrique-list li:nth-child(3n) a { border-top-color: var(--yellow); }
.rubrique-list a:hover b { text-decoration: underline; }
.rubrique-list b { font-weight: 900; font-stretch: 125%; font-size: 1.35rem; line-height: 1.1; }
.rubrique-list small { margin-top: auto; padding-top: .4rem; font-weight: 800; color: var(--date); }

.cotisation { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 2.2rem 0 0; }
.cotisation div { background: var(--yellow); color: var(--ink); padding: 1.3rem 1.8rem; transform: rotate(-1.2deg); box-shadow: 0 14px 24px -14px rgba(0,0,0,.4); }
.cotisation div:nth-child(even) { transform: rotate(1deg); }
.cotisation dt { font-weight: 900; font-stretch: 125%; font-size: 2.6rem; line-height: 1; }
.cotisation dd { margin: .3rem 0 0; font-weight: 700; }
.empty { font-style: italic; }

@media (max-width: 980px) {
  .cards, .portrait-grid { grid-template-columns: repeat(2, 1fr); }
  .rubrique-list, .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards, .rubrique-list, .info-grid { grid-template-columns: 1fr; }
  .portrait-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .pcard.poster { padding: .5rem .5rem .8rem; }
  .pcard b { font-size: 1.05rem; }
  .pcard small { font-size: .85rem; }
  .page-body { padding-block: 2.4rem 3.5rem; }
  .article { padding: 1.6rem 1.2rem 2rem; }
  .actions .button { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .card .poster, .pcard.poster { transition: none; }
}
@media (max-width: 600px) {
  .board a:nth-child(n+5) { display: none; }
}
.cards > *, .portrait-grid > *, .board > *, .rubrique-list > *, .info-grid > * { min-width: 0; }
.pcard b, .card h2, .board h3 { overflow-wrap: anywhere; }
.strip small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* ---- WordPress ---- */
.custom-logo-link img { width: 200px; height: auto; }
@media (max-width: 600px) { .custom-logo-link img { width: 150px; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pager .dots { border-color: transparent; background: none; }
.pager .current { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; text-align: center; }
.prose::after { content: ""; display: block; clear: both; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text, .prose .wp-element-caption { font-size: .9rem; margin-top: .4rem; }
.prose .wp-block-image img, .prose .wp-caption img { height: auto; }
.prose .gallery, .prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
.prose .gallery br { display: none; }
.prose .gallery img { width: 100%; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose [style*="padding-left"] { padding-left: 0 !important; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .addtoany_share_save_container { margin-top: 2rem; }
.search-form { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.search-form label { flex: 1 1 14rem; }
.search-field { width: 100%; font: inherit; padding: .7rem .9rem; border: 3px solid var(--fg); background: var(--paper); color: var(--fg); }
.search-submit { font: inherit; font-weight: 800; padding: .7rem 1.2rem; border: 3px solid var(--fg); background: var(--fg); color: var(--bg); cursor: pointer; }
.contact-text { margin-top: 3rem; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea { width: 100%; font: inherit; padding: .7rem .9rem; border: 3px solid var(--fg); background: var(--paper); color: var(--fg); }
.wpcf7 input[type="submit"] { font: inherit; font-weight: 800; padding: .8rem 1.3rem; border: 3px solid var(--red); background: var(--red); color: #FFFFFF; cursor: pointer; }

/* Old content: inline sizes, fonts and colours are tamed inside .prose (the database is left as is). */
.prose [style*="font-size"] { font-size: inherit !important; }
.prose [style*="font-family"] { font-family: inherit !important; }
.prose .has-medium-font-size { font-size: 1.2rem !important; }
.prose .has-large-font-size { font-size: clamp(1.3rem, 3vw, 1.5rem) !important; line-height: 1.3; }
.prose .has-x-large-font-size { font-size: clamp(1.45rem, 3.6vw, 1.8rem) !important; line-height: 1.25; }
.prose p:empty { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose [style*="color"], :root:not([data-theme="light"]) .prose .has-text-color { color: inherit !important; }
  :root:not([data-theme="light"]) .prose .has-vivid-red-color, :root:not([data-theme="light"]) .prose [style*="#ff0000" i] { color: var(--date) !important; }
  :root:not([data-theme="light"]) .prose .has-vivid-cyan-blue-color, :root:not([data-theme="light"]) .prose [style*="#3366ff" i], :root:not([data-theme="light"]) .prose [style*="#0000ff" i], :root:not([data-theme="light"]) .prose [style*="#0042aa" i] { color: var(--focus) !important; }
}
:root[data-theme="dark"] .prose [style*="color"], :root[data-theme="dark"] .prose .has-text-color { color: inherit !important; }
:root[data-theme="dark"] .prose .has-vivid-red-color, :root[data-theme="dark"] .prose [style*="#ff0000" i] { color: var(--date) !important; }
:root[data-theme="dark"] .prose .has-vivid-cyan-blue-color, :root[data-theme="dark"] .prose [style*="#3366ff" i], :root[data-theme="dark"] .prose [style*="#0000ff" i], :root[data-theme="dark"] .prose [style*="#0042aa" i] { color: var(--focus) !important; }
.prose > :not(:first-child) { margin-top: 1em; }
.prose > h2:not(:first-child), .prose > h3:not(:first-child), .prose > h4:not(:first-child) { margin-top: 2rem; }
.prose > figure:not(:first-child), .prose > blockquote:not(:first-child) { margin-top: 1.5rem; }
.prose .wp-video, .prose .wp-video .mejs-container, .prose video.wp-video-shortcode { width: 100% !important; max-width: 100%; }
.prose video { height: auto; }
