/*
Theme Name: Standing Up Ukraine - Custom Theme
Theme URI: https://standingupukraine.nl
Author: NXS
Description: Custom built Full Site Editing block theme for Standing Up Ukraine.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: suu
*/

/* ── GLOBALS & CORE RESETS ── */
:root {
  --cream: #FFF5E8;
  --cream-deep: #F5EBD8;
  --ua-blue-dark: #004494;
  --ua-blue: #005BBB;
  --ua-yellow: #FFD500;
  --ua-yellow-light: #FFE14D;
  --charcoal: #2A2018;
  --muted: #8A7A6A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ── NAV: Sidebar-style top bar ── */
.topnav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: transparent !important;
  transition: all 0.4s;
}

.topnav.solid {
  background: rgba(255, 245, 232, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 14px 48px;
}

.tn-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s;
}

.topnav.solid .tn-logo {
  transform: scale(0.9);
}

.tn-center {
  display: flex !important;
  gap: 28px;
  justify-content: center;
}

.tn-center a.wp-block-navigation-item__content {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.tn-center a.wp-block-navigation-item__content:hover {
  color: var(--charcoal);
}

.tn-center a.wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--ua-blue), var(--ua-yellow));
  transition: width 0.3s;
}

.tn-center a.wp-block-navigation-item__content:hover::after {
  width: 100%;
}

.tn-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tn-Doneer .wp-block-button__link {
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-blue-dark)) !important;
  color: #fff !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 91, 187, 0.25) !important;
  transition: all 0.3s !important;
}

.tn-Doneer .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 91, 187, 0.35) !important;
}

/* ── HERO: Asymmetric Overlap ── */
.hero-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw !important;
  max-width: 100vw !important;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(0, 91, 187, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 85% 70%, rgba(255, 213, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 91, 187, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero {
  min-height: 100vh;
  padding: 140px 48px 80px;
  position: relative;
}

.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.error-404-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 80vh !important;
  text-align: center;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Force WP edge-to-edge overrides bypassing .entry-content clamps */
main.wp-block-group {
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

.alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(0, 91, 187, 0.08);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ua-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-tag-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}

.hero h1 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 80px) !important;
  line-height: 1.0 !important;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s forwards;
}

.btn-warm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow));
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 14px;
  font-family: 'Sora';
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(0, 91, 187, 0.25);
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 91, 187, 0.35);
}

.wp-block-button.btn-warm {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.wp-block-button.btn-warm .wp-block-button__link {
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow)) !important;
  color: #fff !important;
  padding: 16px 36px !important;
  border-radius: 14px !important;
  font-family: 'Sora' !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0, 91, 187, 0.25) !important;
  transition: all 0.4s !important;
  border: none !important;
}

.wp-block-button.btn-warm .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(0, 91, 187, 0.35) !important;
}

.btn-outline2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: var(--charcoal);
  padding: 16px 32px;
  border-radius: 14px;
  font-family: 'Sora';
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline2:hover {
  border-color: var(--ua-blue);
  color: var(--ua-blue);
}

/* Hero Right Hover States */
.hc-main {
  width: 360px;
  height: 440px;
  top: 20px;
  right: 0;
  background: linear-gradient(135deg, rgba(0, 91, 187, 0.15), rgba(255, 213, 0, 0.1));
  --r: 3deg;
  transform: rotate(var(--r));
  opacity: 0;
  animation: fadeScale2 1s 0.4s forwards;
  z-index: 1;
}

.hc-secondary {
  width: 240px;
  height: 300px;
  top: 100px;
  right: 280px;
  background: linear-gradient(135deg, rgba(0, 91, 187, 0.2), rgba(0, 68, 148, 0.15));
  --r: -4deg;
  transform: rotate(var(--r));
  z-index: 2;
  opacity: 0;
  animation: fadeScale2 1s 0.6s forwards;
}

.hc-accent {
  width: 180px;
  height: 180px;
  bottom: 0;
  right: 160px;
  background: linear-gradient(135deg, var(--ua-yellow), var(--ua-blue));
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  --r: 2deg;
  transform: rotate(var(--r));
  opacity: 0;
  animation: fadeScale2 1s 0.8s forwards;
}

.hc-accent .stat-big {
  font-family: 'Sora';
  font-weight: 800;
  font-size: 40px;
  color: #fff;
  line-height: 1;
}

.hc-accent .stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.hero-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(42, 32, 24, 0.1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card:hover {
  transform: scale(1.04) rotate(var(--r, 0deg)) !important;
  z-index: 10;
}


/* ── STORY BLOCK OVERRIDES ── */
.story-ed {
  padding: 140px 48px;
  background: var(--cream-deep);
  margin-top: 60px;
}

.story-ed-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex !important;
  gap: 80px !important;
  align-items: center;
  padding: 0 48px;
}

.story-ed-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 91, 187, 0.15);
}

.story-ed-text,
.story-ed-text p {
  color: #5A4A3A !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.dropcap {
  float: left;
  font-family: 'Instrument Serif', serif;
  font-size: 80px;
  line-height: 0.8;
  color: var(--ua-blue);
  margin-right: 12px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.story-ed-text h3 {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--charcoal);
  line-height: 1.4;
}

/* ── TESTIMONIAL CAROUSEL ── */
.testi {
  padding: 160px 48px;
  text-align: center;
  background: var(--ua-blue-dark) !important;
  position: relative;
  overflow: hidden;
}

.testi::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 91, 187, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 213, 0, 0.1) 0%, transparent 40%);
}

.testi blockquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(26px, 3vw, 44px) !important;
  color: #fff !important;
  line-height: 1.4 !important;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.testi cite {
  display: block;
  margin-top: 36px;
  font-style: normal;
  font-family: 'Sora';
  font-size: 14px !important;
  font-weight: 600;
  color: var(--ua-yellow) !important;
  letter-spacing: 0.08em;
  position: relative;
}

.testi cite span {
  display: block;
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400;
  margin-top: 4px;
  font-size: 12px !important;
  letter-spacing: 0;
}


/* ── BENTO GRID OVERRIDES ── */
.bento {
  padding: 120px 48px;
}

.bento-inner {
  max-width: 1600px !important;
  margin: 0 auto !important;
  width: 100%;
}

.bento-header .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ua-blue);
  margin-bottom: 12px;
}

.bento-header h2 {
  font-family: 'Sora';
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.02em;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.bento-cell {
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.bc-1 {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ua-blue-dark), var(--ua-blue));
  color: #fff;
}

.bc-1 .big-num {
  color: var(--ua-yellow);
}

.bc-2 {
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-blue-dark));
  color: #fff;
}

.bc-2 .big-num {
  color: #fff;
}

.bc-3,
.bc-4 {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.bc-5 {
  background: linear-gradient(135deg, var(--ua-blue-dark), #0068D9);
  color: #fff;
}

.bc-6 {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--ua-yellow), #E8C400);
  color: var(--charcoal);
}

.bc-6::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.bento-cell h3 {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 20px !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.bento-cell p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  opacity: 0.8 !important;
}

.bento-cell .big-num {
  font-family: 'Sora';
  font-weight: 900;
  font-size: 56px !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
}


/* ── CTA WARM ── */
.cta-warm {
  padding: 160px 48px;
  text-align: center;
  background: linear-gradient(135deg, #FFF0D8, var(--cream), #FFE8C8) !important;
  position: relative;
  overflow: hidden;
}

.cta-warm::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 0, 0.18) 0%, transparent 60%);
  filter: blur(40px);
}

.cta-warm h2 {
  font-family: 'Sora';
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
}

.cta-warm h2 .orange {
  color: var(--ua-blue) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.cta-warm p {
  font-size: 17px !important;
  color: var(--muted) !important;
  max-width: 440px;
  margin: 0 auto 48px;
  line-height: 1.7 !important;
  position: relative;
}


/* ── FOOTER ── */
.site-footer {
  background: var(--ua-blue-dark) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  padding: 80px 48px 40px !important;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ua-blue), var(--ua-yellow), var(--ua-blue), var(--ua-yellow));
  background-size: 200% 100%;
  animation: rainbowSlide 6s linear infinite;
}

@keyframes rainbowSlide {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.ft-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ft-grid h5,
.ft-heading {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.ft-grid a.wp-block-navigation-item__content {
  display: block;
  color: rgba(255, 255, 255, 0.3) !important;
  text-decoration: none;
  font-size: 14px !important;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.ft-grid a.wp-block-navigation-item__content:hover {
  color: var(--ua-yellow) !important;
}

.ft-bottom {
  max-width: 1600px;
  margin: 24px auto 0;
}


/* ── MISSIONS ARCHIVE/LIST ── */
.proj-list {
  max-width: 100vw !important;
  margin: 0;
  padding: 120px 0;
  background: var(--cream);
}

.proj-list-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.proj-list-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.proj-list-header h2 {
  font-family: 'Sora';
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 44px) !important;
  letter-spacing: -0.02em;
  margin-bottom: 0 !important;
}

.proj-list-header a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ua-blue);
  text-decoration: none;
}

.proj-row {
  display: grid !important;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 24px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s;
  cursor: pointer;
  flex-wrap: nowrap !important;
}

.proj-row:hover {
  padding-left: 12px !important;
}

.proj-row .idx {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  margin: 0 !important;
}

.proj-row .arrow {
  font-size: 18px;
  color: var(--ua-blue);
  transition: transform 0.3s;
  margin: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.proj-row:hover .arrow {
  transform: translateX(4px);
}

.proj-row .title,
.proj-row .wp-block-post-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj-row .title a {
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: var(--charcoal);
  text-decoration: none;
}

.proj-row .date,
.proj-row .wp-block-post-date {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--muted) !important;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ── EDITOR OVERRIDES ── */
/* Disable reveal animations inside the block editor */
.editor-styles-wrapper .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Fix bento grid layout in the block editor — InnerBlocks adds wrapper divs */
.editor-styles-wrapper .bento-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
}

@media (max-width: 900px) {
  .editor-styles-wrapper .bento-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

/* Ensure bento cells span correctly in editor */
.editor-styles-wrapper .bento-grid .bc-1,
.editor-styles-wrapper .bento-grid .bc-6 {
  grid-column: span 2;
}

/* ── ANIMATIONS ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.vis,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.rd1 {
  transition-delay: 0.1s;
}

.rd2 {
  transition-delay: 0.15s;
}

.rd3 {
  transition-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale2 {
  from {
    opacity: 0;
    transform: scale(0.92) rotate(var(--r, 0deg));
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(var(--r, 0deg));
  }
}

/* ── MEDIA QUERIES ── */
@media (max-width: 900px) {
  .hero {
    padding: 120px 24px 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
  }

  .hero-right {
    display: none !important;
  }

  .topnav {
    padding: 16px 24px;
  }

  .topnav.solid {
    padding: 12px 24px;
  }

  .bento {
    padding: 80px 24px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }

  .bc-1,
  .bc-6 {
    grid-column: span 2 !important;
  }

  .story-ed {
    padding: 80px 24px;
  }

  .story-ed-inner {
    flex-direction: column !important;
    gap: 40px !important;
    padding: 0 !important;
  }

  .cta-warm {
    padding: 80px 24px;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer {
    padding: 60px 24px 32px !important;
  }

  .proj-list {
    padding: 80px 0 !important;
  }

  .proj-list-inner {
    padding: 0 24px !important;
  }

  .proj-row {
    grid-template-columns: 1fr 20px !important;
  }

  .proj-row .idx,
  .proj-row .date {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 48px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 36px !important;
  }

  .hero-btns {
    flex-direction: column;
  }

  .topnav {
    padding: 12px 16px;
  }

  .tn-center {
    display: none !important;
  }

  .bento {
    padding: 60px 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
  }

  .bc-1,
  .bc-6 {
    grid-column: span 1 !important;
  }

  .bento-cell .big-num {
    font-size: 40px !important;
  }

  .story-ed {
    padding: 60px 16px;
  }

  .cta-warm {
    padding: 60px 16px;
  }

  .cta-warm h2 {
    font-size: 32px !important;
  }

  .ft-grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer {
    padding: 48px 16px 24px !important;
  }

  .proj-list-inner {
    padding: 0 16px !important;
  }

  .proj-row .title a {
    font-size: 15px !important;
  }
}

/* ── ANBI PAGE ── */
.anbi-section {
  position: relative;
}

.anbi-section-alt {
  background: var(--cream-deep);
}

.anbi-section-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--ua-blue) !important;
  margin-bottom: 12px !important;
}

.anbi-info-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.anbi-info-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 32px !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.anbi-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.anbi-info-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin-bottom: 8px !important;
}

.anbi-info-value {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: var(--charcoal) !important;
  margin: 0 !important;
}

.anbi-members-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.anbi-member-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 36px 32px !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.anbi-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ua-blue), var(--ua-yellow));
}

.anbi-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.anbi-member-role {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--ua-blue) !important;
  background: rgba(0, 91, 187, 0.08) !important;
  padding: 4px 12px !important;
  border-radius: 100px !important;
  margin-bottom: 16px !important;
}

.anbi-member-name {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  color: var(--charcoal) !important;
  margin-bottom: 12px !important;
}

.anbi-member-bio {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

.anbi-member-vacant {
  border-style: dashed !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.anbi-member-vacant::before {
  background: linear-gradient(90deg, var(--muted), rgba(138, 122, 106, 0.3)) !important;
}

.anbi-member-vacant .anbi-member-role {
  color: var(--muted) !important;
  background: rgba(138, 122, 106, 0.1) !important;
}

.anbi-member-vacant .anbi-member-name {
  color: var(--muted) !important;
}

.anbi-policy-card {
  height: 100%;
}

.anbi-policy-card h3 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  margin-bottom: 16px !important;
}

.anbi-policy-card p {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #5A4A3A !important;
}

@media (max-width: 900px) {
  .anbi-info-grid {
    grid-template-columns: 1fr !important;
  }

  .anbi-members-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .anbi-section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .anbi-policy-cols {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .anbi-members-grid {
    grid-template-columns: 1fr !important;
  }

  .anbi-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}


/* ── RIBBON DIVIDER ── */
.suu-ribbon-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: transparent;
}

.suu-ribbon-divider svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .suu-ribbon-divider {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .suu-ribbon-divider {
    height: 30px;
  }
}


/* ── LEGAL PAGES (Privacy, Terms) ── */
.legal-content h2 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  color: var(--charcoal) !important;
  margin-top: 48px !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 91, 187, 0.1);
}

.legal-content h3 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: var(--charcoal) !important;
  margin-top: 32px !important;
  margin-bottom: 12px !important;
}

.legal-content p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #5A4A3A !important;
  margin-bottom: 16px !important;
}

.legal-content ul {
  padding-left: 20px !important;
  margin-bottom: 20px !important;
}

.legal-content li {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #5A4A3A !important;
  margin-bottom: 8px !important;
}

.legal-content li strong {
  color: var(--charcoal) !important;
}

@media (max-width: 900px) {
  .legal-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .legal-content h2 {
    font-size: 20px !important;
    margin-top: 36px !important;
  }
}


/* ── CONTACT FORM 7 (Amber Atlas Restyling) ── */
.wpcf7 {
  font-family: 'Inter', sans-serif;
}

.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7 p {
  margin: 0 !important;
  padding: 0 !important;
}

.wpcf7 label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  background: #fefdfb;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--ua-blue);
  box-shadow: 0 0 0 4px rgba(0, 91, 187, 0.1);
  background: #fff;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--ua-blue), var(--ua-yellow)) !important;
  color: #fff !important;
  padding: 18px 36px !important;
  border-radius: 14px !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
  box-shadow: 0 4px 20px rgba(0, 91, 187, 0.25) !important;
  border: none !important;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(0, 91, 187, 0.35) !important;
}

/* Form submission messages */
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0 0;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  border: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(0, 200, 83, 0.1);
  color: #008f3b;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(255, 59, 48, 0.1);
  color: #d70000;
}

.wpcf7-not-valid-tip {
  color: #d70000;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}