/*
Theme Name: OliMedia
Theme URI: https://olimedia.es
Author: OliMedia
Author URI: https://olimedia.es
Description: Tema corporativo de OliMedia, Agencia de Marketing y Publicidad Integral. Home por bloques, paginas de sedes y formulario de contacto nativo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olimedia
*/

/* ==========================================================================
   OLIMEDIA — Sistema de diseño
   Marca: verde #638E76 · marrón #483333 · gris cálido #CBC1BB
   Tipografía: Outfit
   ========================================================================== */

:root {
  /* Colores de marca */
  --green:        #638E76;
  --green-dark:   #4f7361;
  --green-soft:   #e8efe9;
  --brown:        #483333;
  --brown-soft:   #5a4543;
  --warm-gray:    #CBC1BB;
  --gray:         #B2B2B2;
  --ink:          #141414;
  --white:        #ffffff;

  /* Tokens semánticos */
  --bg:           #ffffff;
  --bg-soft:      #f6f4f2;
  --text:         #2a2220;
  --text-muted:   #6f6360;
  --border:       #e7e2de;

  /* Tipografía */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px -18px rgba(72, 51, 51, .28);
  --shadow-soft: 0 8px 30px -20px rgba(20, 20, 20, .35);

  /* Transiciones */
  --t: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { color: var(--brown); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(99,142,118,.9); }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(99,142,118,.95); }
.btn--ghost { background: transparent; color: var(--brown); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brown); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--link { color: var(--brown); font-weight: 600; }
.btn--link svg { transition: transform var(--t); }
.btn--link:hover { color: var(--green); }
.btn--link:hover svg { transform: translateX(5px); }

/* ==========================================================================
   BLOQUE 0 · Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 500; font-size: .98rem; color: var(--brown); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green); transition: width var(--t);
}
.nav a:hover::after { width: 100%; }
.nav > .btn { display: none; } /* CTA dentro del menú: solo visible en móvil */
.nav > .btn::after { display: none; }
.nav .btn--primary { color: #fff; } /* gana especificidad sobre .nav a */
.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--brown); border-radius: 2px; transition: var(--t); }

/* ==========================================================================
   BLOQUE 1 · Hero
   ========================================================================== */
.hero { padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(99,142,118,.16), transparent 70%); z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__title { margin: 18px 0 22px; }
.hero__title .accent { color: var(--green); }
.hero__sub { font-size: 1.12rem; color: var(--text-muted); max-width: 30em; }
.hero__cta { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }

/* Visual derecha */
.hero__visual { position: relative; }
.hero__media {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 55%, var(--brown) 130%);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-fallback { text-align: center; color: rgba(255,255,255,.92); padding: 30px; }
.hero__media-fallback .dot { width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; backdrop-filter: blur(4px); }
.hero__media-fallback .dot img { width: 88px; height: 88px; border-radius: 50%; }
.hero__media-fallback p { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hero__badge {
  position: absolute; bottom: 22px; left: -22px; background: #fff; border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.hero__badge strong { display: block; font-size: 1.5rem; color: var(--brown); line-height: 1; }
.hero__badge span { font-size: .8rem; color: var(--text-muted); }
.hero__badge .bar { width: 4px; height: 38px; border-radius: 4px; background: var(--green); }

/* ==========================================================================
   BLOQUE 2 · Social proof
   ========================================================================== */
.clients { padding-block: 54px; background: var(--bg-soft); border-block: 1px solid var(--border); }
.clients__title { text-align: center; font-size: .85rem; color: var(--text-muted); margin-bottom: 26px; letter-spacing: .02em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 64px; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 1.5rem; font-weight: 700; color: var(--gray); letter-spacing: -.01em;
  filter: grayscale(1); opacity: .65; transition: color var(--t), opacity var(--t), transform var(--t);
}
.marquee__item:hover { color: var(--green); opacity: 1; transform: translateY(-2px); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ==========================================================================
   BLOQUE 3 · Propuesta de valor
   ========================================================================== */
.value__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value__text p { font-size: 1.1rem; color: var(--text-muted); margin-top: 18px; }
.value__points { margin-top: 28px; display: grid; gap: 14px; }
.value__points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--brown); }
.value__points .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-top: 2px; }
.value__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-soft); }
.stat-card:nth-child(odd) { transform: translateY(18px); }
.stat-card .num { font-size: 2.4rem; font-weight: 700; color: var(--green); line-height: 1; }
.stat-card .lbl { font-size: .92rem; color: var(--text-muted); margin-top: 8px; }

/* ==========================================================================
   BLOQUE 4 · Servicios
   ========================================================================== */
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.services__head p { color: var(--text-muted); max-width: 34em; margin-top: 12px; }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; inset: auto auto 0 0; height: 3px; width: 0; background: var(--green); transition: width var(--t); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 22px; transition: var(--t); }
.service-card:hover .service-card__icon { background: var(--green); color: #fff; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .98rem; }

/* ==========================================================================
   BLOQUE 5 · Testimonial
   ========================================================================== */
.testimonial { background: var(--bg-soft); }
.quote-card {
  max-width: 860px; margin-inline: auto; text-align: center;
  background: #fff; border-radius: 26px; padding: clamp(40px, 6vw, 70px);
  box-shadow: var(--shadow); position: relative;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 36px;
  font-size: 8rem; line-height: 1; color: var(--green-soft); font-family: Georgia, serif;
}
.quote-card blockquote { position: relative; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; color: var(--brown); line-height: 1.4; letter-spacing: -.01em; }
.quote-card__author { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-card__author .av { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.quote-card__author .meta { text-align: left; }
.quote-card__author strong { display: block; color: var(--brown); }
.quote-card__author span { font-size: .9rem; color: var(--text-muted); }

/* ==========================================================================
   BLOQUE 6 · Método (timeline)
   ========================================================================== */
.method__head { text-align: center; max-width: 40em; margin: 0 auto 60px; }
.method__head p { color: var(--text-muted); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 14%; right: 14%; height: 2px; background: repeating-linear-gradient(90deg, var(--warm-gray) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green); color: var(--green);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 700;
  transition: transform var(--t), background var(--t), color var(--t);
}
.step:hover .step__num { background: var(--green); color: #fff; transform: scale(1.08) translateY(-4px); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .98rem; max-width: 24em; margin-inline: auto; }

/* ==========================================================================
   BLOQUE 7 · Contacto (CTA final)
   ========================================================================== */
.contact { background: var(--brown); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; }
.contact__sub { color: rgba(255,255,255,.75); margin-top: 16px; font-size: 1.08rem; max-width: 26em; }
.contact__info { margin-top: 34px; display: grid; gap: 18px; }
.contact__info li { display: flex; align-items: center; gap: 14px; }
.contact__info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 20px -10px rgba(99,142,118,.9); transition: var(--t); }
.contact__info a.ic-link { display: flex; align-items: center; gap: 14px; color: inherit; }
.contact__info a.ic-link:hover .ic { background: var(--green-dark); transform: translateY(-2px); }
.contact__info a.ic-link:hover strong { color: #9cc1ab; }
.contact__info strong { display: block; transition: color var(--t); }
.contact__info span { color: rgba(255,255,255,.7); font-size: .92rem; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--brown); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px; background: #fcfbfa;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 14px; }

/* ==========================================================================
   BLOQUE 8 · Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .logo img { width: 40px; height: 40px; border-radius: 50%; }
.footer__brand .logo span { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.footer__brand .logo span b { color: var(--green); font-weight: 700; }
.footer__brand p { max-width: 28em; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a, .footer address { font-style: normal; font-size: .95rem; transition: color var(--t); }
.footer ul a:hover { color: var(--green); }
.footer address span { display: block; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: var(--t); }
.socials a:hover { background: var(--green); transform: translateY(-3px); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Carrusel de testimonios */
.testi-slider { max-width: 900px; margin-inline: auto; position: relative; }
.testi-track { display: grid; }
.testi-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, visibility .5s; }
.testi-slide.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--warm-gray); transition: var(--t); }
.testi-dots button.is-active { background: var(--green); width: 30px; border-radius: 6px; }
.testi-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--brown); transition: var(--t); z-index: 2; }
.testi-nav:hover { color: var(--green); transform: translateY(-50%) scale(1.08); }
.testi-nav--prev { left: -8px; }
.testi-nav--next { right: -8px; }
@media (max-width: 980px) { .testi-nav { display: none; } }

/* Checkbox de consentimiento */
.field--check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--green); cursor: pointer; }
.field--check label { font-size: .86rem; font-weight: 400; color: var(--text-muted); margin: 0; line-height: 1.45; }
.field--check a { color: var(--green); font-weight: 600; text-decoration: underline; }
.field--check.has-error label { color: #c0392b; }

/* ==========================================================================
   Páginas internas (legales y sedes)
   ========================================================================== */
.page-hero { padding: 140px 0 60px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.page-hero .crumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: var(--green); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: var(--text-muted); margin-top: 14px; max-width: 46em; font-size: 1.1rem; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--brown); }
.prose p { color: var(--text); margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--text); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; }
.prose .meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }

/* Sede */
.sede__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.sede__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.sede__card h3 { margin-bottom: 18px; }
.sede__card .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.sede__card .row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.sede__card .row span { color: var(--text-muted); font-size: .95rem; }
.sede__card .row strong { display: block; color: var(--brown); }
.sede__card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.sede__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 30px; }
.sede__map iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .sede__grid { grid-template-columns: 1fr; } .sede__card { position: static; } }

/* ==========================================================================
   Animaciones de scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid, .value__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .value__visual { max-width: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 4px; padding: 18px 24px 26px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav.is-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.is-open .btn { display: inline-flex; margin-top: 12px; }
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .form__row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
}


/* ==========================================================================
   Blog (index / single)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-soft); transition: transform var(--t), box-shadow var(--t); display:flex; flex-direction:column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card img { width:100%; height:190px; object-fit:cover; }
.blog-card__body { padding: 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-card h3 { font-size:1.15rem; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { color: var(--text-muted); font-size:.95rem; flex:1; }
.blog-card .date { font-size:.8rem; color: var(--green); font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.pagination { display:flex; gap:8px; justify-content:center; margin-top:48px; flex-wrap:wrap; }
.pagination .page-numbers { display:grid; place-items:center; min-width:42px; height:42px; padding:0 12px; border-radius:10px; border:1px solid var(--border); color:var(--brown); font-weight:600; }
.pagination .page-numbers.current { background:var(--green); color:#fff; border-color:var(--green); }
.pagination a.page-numbers:hover { border-color:var(--green); color:var(--green); }
.form__alert { padding:14px 18px; border-radius:12px; margin-bottom:18px; font-size:.95rem; font-weight:500; }
.form__alert--ok { background:var(--green-soft); color:var(--green-dark); border:1px solid var(--green); }
.form__alert--err { background:#fdecea; color:#c0392b; border:1px solid #e8b9b3; }
.single .prose img { border-radius: var(--radius); margin: 18px 0; max-width:100%; height:auto; }
.single .prose figcaption, .single .prose .wp-caption-text { font-size:.85rem; color:var(--text-muted); text-align:center; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
