/*
Theme Name: OEN Network
Theme URI: https://www.oen.org/
Author: Built for Oregon Entrepreneurs Network
Author URI: https://www.oen.org/
Description: A clean, membership-driven WordPress theme for the Oregon Entrepreneurs Network. Includes homepage modules for Upcoming Events, Recent News, Sponsor Highlights, and a Donation call-to-action, plus header and footer navigation, social links, contact details, and a newsletter signup. Built around the OEN teal-and-coral brand system.
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: oen-network
Tags: nonprofit, membership, events, news, custom-menu, custom-logo, featured-images, footer-widgets, translation-ready
*/

/* =========================================================================
   1. Design tokens  — OEN brand system
   Adjust these to fine-tune the palette in one place. They are also
   exposed to the Customizer (Appearance > Customize > OEN Brand Colors).
   ========================================================================= */
:root {
  /* Brand palette */
  --oen-teal:        #137A8B;  /* primary  — links, headings, nav */
  --oen-teal-dark:   #0E5C69;  /* hovers, deep accents            */
  --oen-ink:         #1A2E35;  /* near-black body text, footer bg */
  --oen-coral:       #EE6C4D;  /* accent / primary CTA (Donate)   */
  --oen-coral-dark:  #D8553A;  /* coral hover                     */
  --oen-gold:        #F4A300;  /* secondary accent / awards       */
  --oen-cream:       #FAF7F2;  /* page background                 */
  --oen-sand:        #EFEAE1;  /* alt section background          */
  --oen-line:        #E0D9CD;  /* hairline borders                */
  --oen-white:       #FFFFFF;
  --oen-muted:       #5C6B70;  /* secondary text                  */

  /* Typography */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;

  /* Scale & rhythm */
  --maxw: 1200px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(26, 46, 53, .08);
  --shadow-md: 0 10px 30px rgba(26, 46, 53, .10);
  --shadow-lg: 0 24px 60px rgba(26, 46, 53, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================================
   2. Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--oen-ink);
  background: var(--oen-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oen-teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--oen-teal-dark); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--oen-ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--oen-gold); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3rem, 1vw, 5.5rem); }
/* .section { padding-block: clamp(3rem, 5vw, 5.5rem); } */
.section--sand { background: var(--oen-sand); }
.section--ink { background: var(--oen-ink); color: #DCE5E7; }
.section--ink h2, .section--ink h3 { color: #fff; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100000;
  background: var(--oen-ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Section headings shared treatment */
.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oen-coral);
  margin-bottom: .5rem;
}
.section-head__row {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }

/* =========================================================================
   3. Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--oen-coral); color: #fff; }
.btn--coral:hover { background: var(--oen-coral-dark); color: #fff; }
.btn--teal { background: var(--oen-teal); color: #fff; }
.btn--teal:hover { background: var(--oen-teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--oen-teal); border-color: var(--oen-teal); }
.btn--ghost:hover { background: var(--oen-teal); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--oen-ink); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.text-link {
  font-family: var(--font-display); font-weight: 600;
  display: inline-flex; align-items: center; gap: .35rem;
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* =========================================================================
   4. Header
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--oen-white); box-shadow: var(--shadow-sm); }

/* Utility bar */
.topbar { background: var(--oen-ink); color: #cfd9db; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; min-height: 38px; }
.topbar a { color: #cfd9db; font-family: var(--font-display); font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar .member-login {
  background: var(--oen-teal); color: #fff; padding: .35rem .9rem; border-radius: 999px; font-size: .8rem;
}
.topbar .member-login:hover { background: var(--oen-coral); color: #fff; }

/* Main bar */
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }

.site-brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.site-brand img { max-height: 54px; width: auto; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-wordmark .mark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--oen-teal); letter-spacing: -.02em;
}
.brand-wordmark .mark span { color: var(--oen-coral); }
.brand-wordmark .sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oen-muted); margin-top: 3px; font-weight: 600; }

/* Primary nav */
/* ORIGINAL .primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }*/
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: left; gap: .35rem; }
.primary-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--oen-ink); padding: .6rem .85rem; border-radius: var(--radius); display: block;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--oen-teal); background: rgba(19,122,139,.08); }
.primary-nav .menu-item-donate > a,
.primary-nav a[href*="donate"] { color: var(--oen-coral); }

/* Sub menus */
.primary-nav li { position: relative; }
.primary-nav ul ul {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; box-shadow: var(--shadow-md); border-radius: var(--radius);
  padding: .5rem; flex-direction: column; gap: 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s var(--ease); border: 1px solid var(--oen-line);
}
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul ul a { font-size: .9rem; }

.header-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Sub Sub Nav attempt*/
.primary-nav ul ul ul {
  position: absolute; top: 10%; left: 200px; min-width: 230px;
  background: #fff; box-shadow: var(--shadow-md); border-radius: var(--radius);
  padding: .5rem; flex-direction: column; gap: 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s var(--ease); border: 1px solid var(--oen-line);
}

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  color: var(--oen-ink); font-family: var(--font-display); font-weight: 600; align-items: center; gap: .5rem;
}
.menu-toggle .bars { display: inline-block; width: 24px; height: 2px; background: currentColor; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform .2s var(--ease); }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: #fff; box-shadow: var(--shadow-lg); padding: 5rem 1.5rem 2rem;
    transform: translateX(100%); transition: transform .25s var(--ease); overflow-y: auto; z-index: 950;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .primary-nav a { padding: .8rem 1rem; }
  .primary-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--oen-line); border-radius: 0; padding: 0 0 0 .75rem; margin-left: .75rem;
  }
/*  .nav-backdrop { position: fixed; inset: 0; background: rgba(26,46,53,.4); z-index: 940; opacity: 0; visibility: hidden; transition: opacity .25s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; } */
  .header-cta .btn--donate-header { display: none; }
}

/* =========================================================================
   5. Hero
   ========================================================================= */
.hero { position: relative; background: var(--oen-ink); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(circle at center, rgba(19,122,139,.55), transparent 60%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero .eyebrow { color: var(--oen-gold); }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #c9d4d6; max-width: 46ch; }
.hero .hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--oen-teal-dark); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; aspect-ratio: 16/9; }
}

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stats .stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--oen-teal); line-height: 1; }
.stats .stat .label { color: var(--oen-muted); max-width: 28ch; margin-inline: auto; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 2.25rem; } }

/* =========================================================================
   6. Cards / grids
   ========================================================================= */
.grid { display: grid; gap: 1.75rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--oen-line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 10; background: var(--oen-sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.card__title a { color: var(--oen-ink); }
.card__title a:hover { color: var(--oen-teal); }
.card__excerpt { color: var(--oen-muted); margin-bottom: 1.1rem; }
.card__foot { margin-top: auto; }
.card__meta { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--oen-coral); margin-bottom: .6rem; }

/* =========================================================================
   7. Events module
   ========================================================================= */
.event-card { display: grid; grid-template-columns: 92px 1fr; gap: 1.25rem; align-items: center; background: #fff; border: 1px solid var(--oen-line); border-radius: var(--radius-lg); padding: 1.25rem; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.event-date {
  background: var(--oen-teal); color: #fff; border-radius: var(--radius); text-align: center; padding: .6rem .25rem; line-height: 1;
}
.event-date .mon { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.event-date .day { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; margin-top: 2px; }
.event-info h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.event-info h3 a { color: var(--oen-ink); }
.event-info h3 a:hover { color: var(--oen-teal); }
.event-info .loc { color: var(--oen-muted); font-size: .92rem; display: flex; align-items: center; gap: .4rem; }
.event-info .time { color: var(--oen-coral); font-weight: 600; font-family: var(--font-display); font-size: .85rem; }
@media (max-width: 480px) { .event-card { grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem; } }

/* =========================================================================
   8. Sponsors module
   ========================================================================= */
.sponsor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 900px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
.sponsor-tile {
  background: #fff; border: 1px solid var(--oen-line); border-radius: var(--radius);
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 1.25rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sponsor-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sponsor-tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.sponsor-tile:hover img { filter: grayscale(0); opacity: 1; }
.sponsor-tier { text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--oen-teal); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 2rem 0 1rem; }

/* =========================================================================
   9. Donation CTA band
   ========================================================================= */
.donate-band { position: relative; background: linear-gradient(135deg, var(--oen-coral), var(--oen-coral-dark)); color: #fff; overflow: hidden; }
.donate-band::before { content: ""; position: absolute; left: -8%; bottom: -60%; width: 45%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%); }
.donate-band .container { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.donate-band h2 { color: #fff; margin-bottom: .4rem; }
.donate-band p { color: rgba(255,255,255,.92); margin-bottom: 0; max-width: 52ch; }
.donate-band .btn--ghost-light { font-size: 1.05rem; padding: 1rem 2rem; }
@media (max-width: 760px) { .donate-band .container { grid-template-columns: 1fr; text-align: left; } }

/* Floating donate button (mobile-friendly, always reachable) */
.donate-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 800; box-shadow: var(--shadow-md); }
@media (min-width: 1001px) { .donate-float { display: none; } }

/* =========================================================================
   10. Newsletter
   ========================================================================= */
.newsletter { background: var(--oen-teal); color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.9); }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 540px; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] {
  flex: 1 1 220px; padding: .85rem 1.1rem; border: 0; border-radius: 999px; font-size: 1rem; font-family: var(--font-body);
}
.newsletter-form .btn { flex-shrink: 0; }

/* =========================================================================
   11. Content / single & page
   ========================================================================= */
.page-hero { background: var(--oen-sand); padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--oen-line); }
.page-hero .breadcrumb { font-size: .85rem; color: var(--oen-muted); font-family: var(--font-display); font-weight: 600; margin-bottom: .5rem; }
.entry { max-width: 760px; margin-inline: auto; }
.entry img { border-radius: var(--radius); margin-block: 1.5rem; }
.entry h2, .entry h3 { margin-top: 1.8em; }
.entry blockquote { border-left: 4px solid var(--oen-coral); margin: 1.6em 0; padding: .4em 0 .4em 1.3em; font-size: 1.15rem; color: var(--oen-ink); font-style: italic; }
.entry-meta { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--oen-coral); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }

/* -- ACF "Content Blocks" flexible content -------------------------------- */
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.content-block-hr { border: 0; border-top: 1px solid var(--oen-line); margin: 0; }

.content-hero { position: relative; overflow: hidden; }
.content-hero__img { width: 100%; display: block; max-height: 70vh; object-fit: cover; }
.content-hero__caption { padding-block: 2rem; color: #fff; }
.content-hero__caption h2 { color: #fff; margin-top: 0; }
.content-hero--top .content-hero__caption { position: absolute; top: 0; left: 0; right: 0; }
.content-hero--middle .content-hero__caption { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); }
.content-hero--bottom .content-hero__caption { position: absolute; bottom: 0; left: 0; right: 0; }
@media (max-width: 620px) {
  .content-hero--hide-caption-mobile .content-hero__caption { display: none; }
}

.content-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.content-col--3 { grid-column: span 3; }
.content-col--4 { grid-column: span 4; }
.content-col--6 { grid-column: span 6; }
.content-col--8 { grid-column: span 8; }
.content-col--9 { grid-column: span 9; }
.content-cols:has(.content-col--3, .content-col--4, .content-col--8, .content-col--9) { grid-template-columns: repeat(12, 1fr); }
@media (max-width: 720px) { .content-cols { grid-template-columns: 1fr !important; } .content-cols > * { grid-column: auto !important; } }

.cta-block { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: var(--oen-sand); border-radius: var(--radius-lg); padding: 2rem; }
.cta-block--left { flex-direction: row-reverse; }
.cta-block__text { max-width: none; flex: 1 1 380px; }
.cta-block__text h2 { margin-top: 0; }

.quote-block { text-align: center; max-width: 640px; margin-inline: auto; }
.quote-block__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.quote-block blockquote { border: 0; margin: 0; padding: 0; font-size: 1.3rem; font-style: italic; color: var(--oen-ink); }
.quote-block figcaption { margin-top: .85rem; color: var(--oen-muted); font-weight: 600; font-size: .9rem; }

.video-block { position: relative; }
.video-block iframe, .video-block embed, .video-block object { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); }

.team-block { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.team-block--photo-right { flex-direction: row-reverse; }
.team-block__photo img { width: 180px; height: 180px; object-fit: cover; border-radius: var(--radius-lg); }
.team-block__body { flex: 1 1 320px; }
.team-block__title { color: var(--oen-coral); font-weight: 600; margin-top: -.25rem; }

.timeline { max-width: 900px; margin-inline: auto; border-left: 2px solid var(--oen-line); padding-left: 2rem; display: flex; flex-direction: column; gap: 2.5rem; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -2.45rem; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--oen-coral); }
.timeline__date { font-family: var(--font-display); font-weight: 700; color: var(--oen-teal); margin-bottom: .5rem; }

.page-navigation { display: flex; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--oen-line); padding-top: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.page-navigation a { font-family: var(--font-display); font-weight: 600; }

.posts-list { display: grid; gap: 1.75rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .posts-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts-list { grid-template-columns: 1fr; } }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--oen-line); font-family: var(--font-display); font-weight: 600; padding: 0 .5rem; }
.pagination .page-numbers.current { background: var(--oen-teal); color: #fff; border-color: var(--oen-teal); }

/* =========================================================================
   12. Footer
   ========================================================================= */
.site-footer { background: var(--oen-ink); color: #aebbbe; font-size: .95rem; }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 2.5rem; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #aebbbe; }
.footer-col a:hover { color: #fff; }
.footer-brand .mark { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer-brand .mark span { color: var(--oen-coral); }
.footer-brand p { margin-top: .75rem; max-width: 34ch; }

.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-contact a[href^="mailto"] { color: var(--oen-gold); }

.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s var(--ease), transform .2s var(--ease);
}
.social-row a:hover { background: var(--oen-coral); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

.footer-news .newsletter-form input { font-size: .95rem; padding: .7rem 1rem; }
.footer-news .newsletter-form { max-width: none; }
.footer-news .btn { background: var(--oen-coral); color: #fff; }
.footer-news .btn:hover { background: var(--oen-coral-dark); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; font-size: .85rem; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: #aebbbe; }
.footer-bottom a:hover { color: #fff; }

/* WP core / accessibility helpers */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--oen-muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { /* required by Theme Check */ }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
