/*
Theme Name: FF Lehrte Redesign
Theme URI: https://feuerwehr-lehrte.de
Author: Ortsfeuerwehr Lehrte
Author URI: https://feuerwehr-lehrte.de
Description: Redesign der Website der Freiwilligen Feuerwehr Lehrte — Recruiting-First, modern, emotional.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ff-lehrte
*/

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #C0392B;
  --red-hover: #A93226;
  --red-light: #E74C3C;
  --navy-deep: #0D1B2A;
  --navy-med: #1B2838;
  --navy-light: #1A3A5C;
  --gray-bg: #F0F4F8;
  --gray-border: #E8E8E8;
  --slate: #8899AA;
  --text-dark: #1A1A2E;
  --text-body: #444;
  --white: #FFFFFF;
  --blue-jf: #2980B9;
  --green-kf: #27AE60;
  --gold: #F39C12;
  --radius: 12px;
  --radius-pill: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-hover); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover {
  background: #f0f0f0;
  color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-med);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: background var(--transition);
}

/* WP Admin Bar Offset */
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo:hover { color: var(--white); }

/* WordPress Nav Menu */
.main-nav,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li a {
  color: #CCD6E0;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  display: block;
}

.main-nav li a:hover,
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Mitmachen CTA — via CSS class "menu-cta" on the menu item */
.main-nav li.menu-cta > a {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-left: 8px;
}

.main-nav li.menu-cta > a:hover {
  background: var(--red-hover);
}

/* Dropdown */
.main-nav li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-med);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  padding: 8px 0;
  min-width: 200px;
  flex-direction: column;
  gap: 0;
}

.main-nav li:hover > ul.sub-menu {
  display: flex;
}

.main-nav li ul.sub-menu a {
  padding: 10px 20px;
  border-radius: 0;
}

.main-nav li ul.sub-menu a:hover {
  background: rgba(255,255,255,0.05);
}

.main-nav li {
  position: relative;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 50%, #4a1a0a 100%);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.7) 50%,
    rgba(74,26,10,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--red-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 14px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  text-align: center;
  animation: bounce 2s infinite;
}

.hero-scroll .arrow {
  display: block;
  font-size: 24px;
  margin-top: 4px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid var(--gray-border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 6px;
  font-weight: 600;
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
  padding: 80px 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  color: var(--white);
}

.section-gray {
  background: var(--gray-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--red-light);
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header .subtitle {
  font-size: 16px;
  color: var(--slate);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   RECRUITING CARDS
   ============================================ */
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.recruit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.recruit-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.recruit-card .rc-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.rc-icon.green { background: rgba(39,174,96,0.2); }
.rc-icon.blue { background: rgba(41,128,185,0.2); }
.rc-icon.red { background: rgba(192,57,43,0.2); }

.recruit-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 4px;
}

.recruit-card .age-tag {
  color: var(--red-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.recruit-card p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  border-top: 1px solid var(--gray-border);
}

.testimonial-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-quote::before {
  content: "\201E";
  font-size: 48px;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  line-height: 1;
}

.testimonial-author {
  font-size: 14px;
  color: #666;
}

.testimonial-author strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ============================================
   NEWS / POST GRID
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-med), var(--navy-light));
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-img .placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.3;
}

.news-card-body {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.news-tag.einsatz { background: rgba(192,57,43,0.1); color: var(--red); }
.news-tag.jugend,
.news-tag.jugendfeuerwehr { background: rgba(41,128,185,0.1); color: var(--blue-jf); }
.news-tag.kinder,
.news-tag.kinderfeuerwehr { background: rgba(39,174,96,0.1); color: var(--green-kf); }
.news-tag.event { background: rgba(243,156,18,0.1); color: var(--gold); }
.news-tag.default { background: rgba(136,153,170,0.1); color: var(--slate); }

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card h3 a { color: var(--text-dark); }
.news-card h3 a:hover { color: var(--red); }

.news-card .news-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-card .news-meta {
  font-size: 12px;
  color: var(--slate);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--red);
  padding: 56px 32px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col li {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: var(--slate);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

/* WordPress Footer Widgets Override */
.footer-col .widget {
  margin: 0;
  padding: 0;
}

.footer-col .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-notruf {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 20px;
}

.footer-notruf .notruf-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--red-light);
}

.footer-notruf .notruf-label {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 18px;
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3A4A5A;
  font-size: 13px;
}

.footer-bar a { color: #3A4A5A; }
.footer-bar a:hover { color: var(--slate); }

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ============================================
   MITMACHEN PAGE
   ============================================ */

/* Age Finder */
.age-finder {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.age-btn {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.age-btn:hover,
.age-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.age-result {
  display: none;
  max-width: 600px;
  margin: 32px auto 0;
  padding: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  text-align: left;
}

.age-result.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

.age-result h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}

.age-result p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Arguments Grid */
.args-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.arg-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.arg-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius);
  background: rgba(192,57,43,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.arg-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.arg-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Steps */
.steps-row {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--gray-border);
  z-index: 0;
}

.step:last-child::after { display: none; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { color: var(--red); }

.faq-question .faq-toggle {
  font-size: 24px;
  font-weight: 400;
  color: var(--slate);
  transition: transform var(--transition);
  min-width: 24px;
  text-align: center;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}

.testi-card .testi-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testi-card .testi-quote::before {
  content: "\201E";
  font-size: 32px;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  font-style: normal;
}

.testi-card .testi-info {
  font-size: 13px;
  color: var(--slate);
}

.testi-card .testi-info strong {
  color: var(--text-dark);
  display: block;
}

/* ============================================
   DEFAULT CONTENT (page.php, single.php)
   ============================================ */
.page-content {
  padding: 120px 0 80px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}

.page-content h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-body);
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin: 0 0 16px 24px;
  color: var(--text-body);
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.page-content .wp-block-image {
  margin: 32px 0;
}

/* Post Meta */
.post-meta {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
}

.post-meta a { color: var(--red); }

/* ============================================
   ARCHIVE / BLOG
   ============================================ */
.archive-header {
  background: var(--navy-deep);
  padding: 120px 0 48px;
  text-align: center;
}

.archive-header h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 40px);
}

.archive-header p {
  color: var(--slate);
  font-size: 16px;
  margin-top: 12px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0 80px;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 0 0 80px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-body);
  transition: all var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .args-grid { gap: 20px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-med);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  }

  .admin-bar .main-nav { top: 116px; }

  .main-nav.open { transform: translateY(0); }

  .main-nav li a {
    display: block;
    padding: 12px 16px;
  }

  .main-nav li.menu-cta > a {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .main-nav li ul.sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    display: none;
  }

  .main-nav li:hover > ul.sub-menu {
    display: flex;
  }

  .hero { min-height: 90vh; }
  .hero-content { padding: 48px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .recruit-grid { grid-template-columns: 1fr; max-width: 400px; }

  .news-grid,
  .archive-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }

  .args-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; gap: 24px; }
  .step::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .cta-banner { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-border); }
  .stat-item:last-child { border-bottom: none; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }

  .age-finder { flex-direction: column; align-items: center; }
}
