/* Archway — stiluri principale.
   Colțuri: pozele stau în arcade (singurul gest decorativ), cardurile 18px, butoanele „pastilă”, câmpurile 12px. */

:root {
  --cobalt: #1F3B8F;
  --cobalt-deep: #142A6B;
  --cobalt-soft: #3552A8;
  --sun: #F5B700;
  --sun-deep: #E0A600;
  --ink: #1A1D2B;
  --ink-soft: #4A4F63;
  --sky: #EEF2FB;
  --line: #D9E0F0;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius-card: 18px;
  --radius-field: 12px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgb(20 42 107 / .06), 0 8px 24px rgb(20 42 107 / .08);
}

/* ---------- bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-family: var(--font-display); transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.0625rem; }
.btn-donate { background: var(--sun); color: var(--ink); }
.btn-donate:hover { background: var(--sun-deep); }
.btn-donate .icon { width: 1.1em; height: 1.1em; }
.btn-ghost { border-color: var(--cobalt); color: var(--cobalt); background: transparent; }
.btn-ghost:hover { background: var(--cobalt); color: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 700; color: var(--cobalt);
  text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: .3em;
}
.text-link:hover { text-decoration-color: var(--cobalt); }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; color: var(--cobalt); cursor: pointer;
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.round-btn:hover { border-color: var(--cobalt); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* ---------- siglă (imaginea originală; varianta deschisă pe fundaluri închise) ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 58px; width: auto; }
.logo-img-light { display: none; }
.logo-light .logo-img-dark { display: none; }
.logo-light .logo-img-light { display: block; }
@media (max-width: 480px) { .logo-img { height: 48px; } }

/* ---------- antet ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgb(20 42 107 / .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.header-logo { text-decoration: none; margin-right: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav .menu a:hover { background: var(--sky); color: var(--cobalt); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current_page_parent > a { color: var(--cobalt); background: var(--sky); }
.main-nav .sub-menu { display: none; }
.nav-donate-mobile { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-inner { min-height: 68px; gap: 12px; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: var(--sky); color: var(--cobalt); cursor: pointer;
  }
  .menu-toggle .icon { width: 26px; height: 26px; }
  .menu-toggle-close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-close { display: block; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    box-shadow: 0 24px 40px rgb(20 42 107 / .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
  .main-nav .menu { flex-direction: column; gap: 0; }
  .main-nav .menu a { padding: 14px 4px; border-radius: 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .main-nav .menu a:hover, .main-nav .current-menu-item > a { background: none; }
}
@media (max-width: 480px) { .header-donate { padding: .6em 1.1em; min-height: 44px; } }

/* ---------- arcada (motivul temei) ---------- */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 14px 14px; background: var(--sky); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- erou ---------- */
.hero { padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.hero-title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin-bottom: .35em; }
.hero-text { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-arches {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: end; gap: clamp(10px, 1.4vw, 18px);
  height: clamp(320px, 40vw, 560px);
  padding-bottom: 14px;
  background: linear-gradient(var(--line), var(--line)) bottom / 100% 2px no-repeat; /* „pragul” colonadei */
}
.hero-arches .arch-1 { height: 100%; }
.hero-arches .arch-2 { height: 84%; }
.hero-arches .arch-3 { height: 70%; }
/* pozele de arhivă sunt orizontale: încadrarea țintește fețele */
.hero-arches .arch-1 img { object-position: 22% 50%; }
.hero-arches .arch-2 img { object-position: 30% 50%; }
.hero-arches .arch-3 img { object-position: 46% 50%; }

@media (prefers-reduced-motion: no-preference) {
  /* doar marginea de sus urcă; forma de arc vine din border-radius-ul arcadei */
  .js .hero-arches .arch { clip-path: inset(100% 0 0 0); }
  .js .hero-arches.is-in .arch { clip-path: inset(0); transition: clip-path 1.1s var(--ease-out); }
  .js .hero-arches.is-in .arch-2 { transition-delay: .12s; }
  .js .hero-arches.is-in .arch-3 { transition-delay: .24s; }
  .js .hero-arches .arch img { transform: scale(1.08); }
  .js .hero-arches.is-in .arch img { transform: none; transition: transform 1.6s var(--ease-out); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-arches { height: clamp(260px, 70vw, 420px); order: -1; }
  .hero-text { max-width: none; }
}

/* ---------- impact ---------- */
.impact { background: var(--cobalt-deep); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.impact-sentence {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); line-height: 1.3; letter-spacing: -.02em;
  max-width: 30ch; margin: 0 0 1.4em; text-wrap: balance;
}
.impact-sentence strong { color: var(--sun); font-weight: 800; }
.impact-facts { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid rgb(255 255 255 / .2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.impact-facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.45; color: rgb(255 255 255 / .86); }
.impact-facts .icon { width: 28px; height: 28px; color: var(--sun); margin-top: 1px; }
@media (max-width: 760px) { .impact-facts { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- secțiuni ---------- */
.section { padding: var(--section) 0; }
.section-sky { background: var(--sky); }
.section-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: clamp(1.125rem, 1.02rem + .4vw, 1.3125rem); color: var(--ink-soft); max-width: 46ch; }

/* cum ajutăm */
.help-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.help-media .arch-tall { aspect-ratio: 3 / 4; }
.help-list { list-style: none; margin: 32px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.help-list li { display: flex; gap: 16px; align-items: flex-start; }
.help-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sky); color: var(--cobalt); flex: none; }
.help-icon .icon { width: 26px; height: 26px; }
.help-list h3 { font-size: 1.25rem; margin: 4px 0 .3em; letter-spacing: -.015em; }
.help-list p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 960px) { .help-grid { grid-template-columns: 1fr; } .help-media { max-width: 420px; } }
@media (max-width: 600px) { .help-list { grid-template-columns: 1fr; } }

/* fondatoarea */
.founder-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder-quote { margin: 0; }
.quote-mark { width: 64px; height: 48px; color: var(--sun); margin-bottom: 20px; }
.founder-quote blockquote { margin: 0; }
.founder-quote blockquote p {
  font-family: var(--font-text); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.32; letter-spacing: -.01em; color: var(--cobalt-deep);
}
.founder-quote figcaption { font-size: 1.0625rem; color: var(--ink-soft); }
.founder-quote figcaption strong { color: var(--ink); font-family: var(--font-display); }
.founder-photo { width: 132px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 24px; border: 4px solid #fff; box-shadow: var(--shadow); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-story p { color: var(--ink-soft); }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } }

/* anul cu Archway (calendar, derulare orizontală) */
.year-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 32px; margin-bottom: 40px; }
.year-head .section-title, .year-head .lead { grid-column: 1; }
.year-head .lead { margin-bottom: 0; }
.year-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.year-track {
  list-style: none; margin: 0; padding: 4px max(var(--gutter), (100vw - var(--wrap)) / 2) 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 300px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.year-track::-webkit-scrollbar { display: none; }
.year-item { scroll-snap-align: start; }
.year-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.year-photo { aspect-ratio: 3 / 4; margin-bottom: 18px; }
.year-photo img { transition: transform .6s var(--ease-out); }
.year-card:hover .year-photo img { transform: scale(1.04); }
.year-month { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--cobalt); }
.year-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; margin: 2px 0 6px; }
.year-text { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 700px) { .year-nav { display: none; } .year-head { grid-template-columns: 1fr; } }

/* noutăți + carduri */
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.news-head .section-title { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card { background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(20 42 107 / .06), 0 16px 36px rgb(20 42 107 / .12); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-photo { display: block; aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo .card-placeholder { display: flex; height: 100%; justify-content: center; opacity: .5; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.card-date { font-family: var(--font-display); font-weight: 600; font-size: .875rem; color: var(--cobalt); }
.card-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3125rem; line-height: 1.3; letter-spacing: -.015em; }
.card-excerpt { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.listing .card-grid { margin-bottom: 56px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } .news-head { flex-direction: column; align-items: flex-start; } }

/* donație */
.donate-arch {
  background: var(--cobalt); color: #fff; text-align: center;
  border-radius: 50% 50% 28px 28px / clamp(140px, 22vw, 300px) clamp(140px, 22vw, 300px) 28px 28px;
  padding: clamp(96px, 14vw, 180px) clamp(24px, 6vw, 96px) clamp(56px, 7vw, 88px);
  position: relative;
}
.donate-arch::before { content: ""; position: absolute; left: 50%; top: clamp(36px, 5vw, 60px); width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--sun); }
.donate-title { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; margin-inline: auto; }
.donate-arch p { color: rgb(255 255 255 / .86); max-width: 48ch; margin-inline: auto; margin-bottom: 1.8em; font-size: 1.1875rem; }
.donate-arch .donate-mail { margin: 2em auto 0; font-size: 1rem; color: rgb(255 255 255 / .72); }

.donate-strip { background: var(--sky); padding: 40px 0; }
.donate-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.donate-strip-text { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.3; max-width: 44ch; letter-spacing: -.01em; }
@media (max-width: 640px) { .donate-strip-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- pagini interioare ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
.page-hero.has-photo .page-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.page-hero-photo { aspect-ratio: 4 / 5; max-height: 460px; justify-self: end; width: 100%; max-width: 380px; }
.page-title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; max-width: 16ch; margin: 0; }
.page-lead { margin-top: 20px; }
.post-hero-inner { max-width: 860px; }
.post-hero .page-title { max-width: 22ch; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; text-decoration: none; margin-bottom: 24px; }
.post-date { display: block; margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); }
@media (max-width: 760px) { .page-hero.has-photo .page-hero-grid { grid-template-columns: 1fr; } .page-hero-photo { justify-self: start; max-width: 260px; order: -1; } }

/* conținutul editorului (paginile vechi au culori și mărimi puse de mână: le aducem la stilul temei) */
.prose { max-width: 720px; padding-bottom: var(--section); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--ink); }
.prose [style*="color"] { color: inherit !important; }
.prose [style*="font-size"] { font-size: inherit !important; }
.prose [style*="font-family"] { font-family: inherit !important; }
.prose [style*="text-align: center"], .prose .has-text-align-center { text-align: left !important; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); margin-top: 1.4em; }
.prose h4 { font-size: 1.25rem; margin-top: 1.2em; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--cobalt); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sun); font-style: italic; font-size: 1.2em; color: var(--cobalt-deep); }
.prose img { border-radius: var(--radius-card); }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .9375rem; color: var(--ink-soft); margin-top: 10px; }
.prose .wp-caption { max-width: 100% !important; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft, .prose .alignright { float: none; margin: 1.6em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-card); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a:not(.btn) { text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* galeriile din articole: poze lângă poze, nu una sub alta pe toată lățimea */
.prose-post { max-width: 860px; }
.prose-post > p > img, .prose-post > p > a > img { margin-inline: auto; }
.prose .wp-block-gallery, .prose .gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prose .wp-block-gallery figure, .prose .gallery figure { margin: 0 !important; width: auto !important; }
.prose .wp-block-gallery img, .prose .gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }
.prose .wp-block-image img { margin-inline: auto; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; padding-bottom: var(--section); }
.post-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--radius-card); background: var(--sky); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.25; transition: background-color .2s; }
.post-nav-link span { font-weight: 600; font-size: .875rem; color: var(--cobalt); }
.post-nav-link:hover { background: var(--line); }
.post-nav-next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { grid-column: 1; } }

/* paginare */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: var(--section); }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--sky); }
.pagination .page-numbers.current { background: var(--cobalt); color: #fff; }
.pagination .page-numbers:hover:not(.current) { background: var(--line); }
.empty { padding: 40px 0 var(--section); }

/* ---------- subsol ---------- */
.site-footer { background: var(--cobalt-deep); color: rgb(255 255 255 / .82); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 1rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .16); }
.footer-about p { margin: 20px 0; max-width: 38ch; line-height: 1.6; }
.footer-title { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-col .menu a { display: inline-block; padding: 5px 0; text-decoration: none; }
.footer-col .menu a:hover { text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.6; margin-bottom: 12px; }
.footer-cta .btn { margin-top: 4px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .1); transition: background-color .2s; }
.social a:hover { background: rgb(255 255 255 / .2); }
.social .icon { width: 22px; height: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .9375rem; color: rgb(255 255 255 / .62); }
.footer-bottom p { margin: 0; }
.footer-bottom .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.footer-bottom a { color: rgb(255 255 255 / .8); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }

/* subsolul colorează linkurile în alb; butonul de donație rămâne cu text închis pe galben */
.site-footer .btn-donate, .prose .btn-donate { color: var(--ink); }

/* ---------- mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ======================= TELEFON (comun) ======================= */
@media (max-width: 760px) {
  /* știrile de pe prima pagină: carusel cu degetul */
  .news .card-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none;
  }
  .news .card-grid::-webkit-scrollbar { display: none; }
  .news .card { flex: 0 0 82%; scroll-snap-align: start; }
  .news.section { padding: 72px 0; }
  .news-head { flex-direction: row; align-items: center; margin-bottom: 24px; }
  .news-head .text-link { white-space: nowrap; flex: none; }
  .news-head .section-title { font-size: clamp(1.8rem, 7.6vw, 2.3rem); }

  /* subsolul: două coloane pentru linkuri și adresă */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-about, .footer-cta { grid-column: 1 / -1; }
  .site-footer { padding-top: 56px; }
}

/* textele vechi au linkuri lungi lipite ca text (facebook.com/profile.php?id=…): se rup, nu împing pagina în lateral */
.prose { overflow-wrap: anywhere; word-break: normal; }
.prose * { max-width: 100%; }
.prose img, .prose iframe, .prose video, .prose table { max-width: 100% !important; }
.prose table { display: block; overflow-x: auto; }
/* blocuri <pre> lipite din emailuri/newslettere vechi: arată ca text obișnuit și se rup pe rânduri */
.prose pre { white-space: pre-wrap; font: inherit; background: none; padding: 0; margin: 1.1em 0; overflow-x: auto; }
