/*
Theme Name: Jafnréttishúsið - Equality Centre
Theme URI: https://jafn.is
Author: Jafnréttishúsið
Author URI: https://jafn.is
Description: Official theme for Jafnréttishúsið - The Equality Centre, promoting equality and supporting immigrants in Iceland.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: jafnrettishus
Tags: equality, nonprofit, bilingual, icelandic, english
*/

/* =============================================
   VARIABLES & RESET
============================================= */
:root {
  --pink:       #c9387a;
  --pink-light: #f0b4d0;
  --blue:       #4b9cd3;
  --blue-dark:  #2d6e9e;
  --dark:       #1e2d4a;
  --text:       #444444;
  --light:      #f7f8fc;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --radius:     10px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.3;
}

a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* =============================================
   UTILITIES
============================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--light { background: var(--light); }
.section--dark  { background: var(--dark); color: var(--white); }
.section--pink  { background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%); color: var(--white); }

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: #777;
  max-width: 620px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section--dark .section-subtitle,
.section--pink .section-subtitle { color: rgba(255,255,255,0.8); }
.section--dark .section-title,
.section--pink .section-title { color: var(--white); }

.divider {
  width: 60px;
  height: 4px;
  background: var(--pink);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section--dark .divider,
.section--pink .divider { background: var(--white); }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--pink); color: var(--white); }
.btn-primary:hover { background: #a82d63; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,56,122,0.35); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--pink); }
.btn-outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn-outline:hover { background: var(--pink); color: var(--white); }

/* =============================================
   LANGUAGE SWITCHER
============================================= */
.lang-is { display: none; }
body.lang-is-active .lang-en { display: none; }
body.lang-is-active .lang-is { display: block; }
span.lang-is, span.lang-en,
li.lang-is, li.lang-en { display: inline; }
body.lang-is-active span.lang-en { display: none; }
body.lang-is-active span.lang-is { display: inline; }

#lang-toggle {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 1px;
}
#lang-toggle:hover { background: var(--pink); color: var(--white); }

/* =============================================
   HEADER & NAVIGATION
============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 56px; width: auto; }
.site-logo-text { line-height: 1.2; }
.site-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
}
.site-logo-text .sub {
  font-size: 0.78rem;
  color: var(--pink);
  font-weight: 600;
  letter-spacing: 0.5px;
}

#primary-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
#primary-nav ul li a {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
  color: var(--pink);
  background: rgba(201,56,122,0.06);
}
#primary-nav ul li.nav-cta a {
  background: var(--pink);
  color: var(--white);
  border-radius: 50px;
  padding: 8px 20px;
}
#primary-nav ul li.nav-cta a:hover { background: #a82d63; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
#menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
  border-radius: 2px;
}
#menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.active span:nth-child(2) { opacity: 0; }
#menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SECTION
============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #2d3f66 60%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(201,56,122,0.25);
  border: 1px solid rgba(201,56,122,0.5);
  color: var(--pink-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero h1 span { color: var(--pink-light); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat .num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--pink-light);
}
.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SERVICES SECTION
============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,56,122,0.12), rgba(75,156,211,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-card p { font-size: 0.9rem; color: #666; }

/* =============================================
   ABOUT SECTION
============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}
.about-image .about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--pink);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .year { font-size: 2rem; font-weight: 700; display: block; }
.about-badge .label { font-size: 0.8rem; opacity: 0.9; }

.about-content .section-title { text-align: left; }
.about-content .divider { margin: 12px 0 24px; }
.about-content p { margin-bottom: 16px; color: #555; }

.about-list { margin: 20px 0 30px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   PROJECTS SECTION
============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.project-card-header {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  padding: 28px;
  color: var(--white);
}
.project-card-header h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.project-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.project-card-body { padding: 24px; }
.project-card-body p { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.project-grant {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--pink);
  font-weight: 600;
}

/* Full projects page */
.projects-list { display: flex; flex-direction: column; gap: 20px; }
.project-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  transition: all var(--transition);
}
.project-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.project-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--dark); }
.project-item p { font-size: 0.9rem; color: #666; }
.project-item .grant-amount {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
}

/* =============================================
   NEWS SECTION
============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.news-card-thumb { height: 200px; overflow: hidden; background: var(--light); }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-thumb-placeholder {
  height: 100%;
  background: linear-gradient(135deg, rgba(201,56,122,0.15), rgba(75,156,211,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #999;
}
.news-cat {
  background: rgba(201,56,122,0.1);
  color: var(--pink);
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.news-card h3 a { color: var(--dark); }
.news-card h3 a:hover { color: var(--pink); }
.news-card p { font-size: 0.9rem; color: #666; flex: 1; }
.news-card .read-more {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-card .read-more::after { content: '→'; transition: transform var(--transition); }
.news-card .read-more:hover::after { transform: translateX(4px); }

/* =============================================
   CONTACT SECTION
============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-info { }
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: white;
}
.contact-item-text strong { display: block; font-size: 0.85rem; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { font-size: 0.95rem; color: var(--text); }
.contact-item-text a:hover { color: var(--pink); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 28px; font-size: 1.4rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  border-left: 4px solid #4caf50;
}

/* =============================================
   MAP SECTION
============================================= */
.map-section { padding: 0; }
.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(20%);
}

/* =============================================
   LEADER / TEAM SECTION
============================================= */
.leader-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.leader-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.leader-photo img { width: 100%; }
.leader-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(30,45,74,0.95), transparent);
  padding: 24px 20px 20px;
  color: var(--white);
}
.leader-photo-overlay strong { display: block; font-size: 1.1rem; }
.leader-photo-overlay span { font-size: 0.85rem; opacity: 0.8; }

.leader-bio h2 { font-size: 1.8rem; margin-bottom: 8px; }
.leader-bio .lead {
  font-size: 1.1rem;
  color: var(--pink);
  font-style: italic;
  margin-bottom: 20px;
}
.leader-bio p { margin-bottom: 16px; color: #555; }
.leader-milestones { margin: 28px 0; }
.milestone {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.milestone-year {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.milestone-text { font-size: 0.92rem; color: #555; }

/* =============================================
   VALUES SECTION
============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition);
}
.value-card:hover { background: rgba(255,255,255,0.15); }
.value-card .icon { font-size: 2.4rem; margin-bottom: 16px; }
.value-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* =============================================
   CTA BANNER
============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 540px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--pink);
}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 48px; }
.footer-logo-text .name { color: var(--white); font-size: 1rem; font-family: 'Playfair Display', serif; }
.footer-logo-text .sub { color: var(--pink-light); font-size: 0.78rem; }
.footer-tagline { font-size: 0.88rem; margin-bottom: 20px; }

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before { content: '›'; color: var(--pink); font-size: 1.2rem; }
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact-item .ico { color: var(--pink); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--white); }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--pink); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--pink); }

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d3f66 100%);
  padding: 72px 0 60px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 12px; }
.page-hero .breadcrumb {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--pink-light); }
.page-hero .breadcrumb span { color: var(--pink-light); }

/* =============================================
   SINGLE POST
============================================= */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}
.post-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.post-content h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.post-content p { margin-bottom: 20px; line-height: 1.8; color: #555; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; color: #555; }
.post-content blockquote {
  border-left: 4px solid var(--pink);
  padding: 16px 24px;
  background: var(--light);
  margin: 24px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}
.post-content img { border-radius: 8px; margin: 20px 0; }

.post-header { margin-bottom: 32px; }
.post-header h1 { font-size: 2rem; margin-bottom: 16px; }
.post-header .post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
}
.post-header .post-meta a { color: var(--pink); }
.post-thumbnail { border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.post-thumbnail img { width: 100%; max-height: 460px; object-fit: cover; }

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
  color: var(--dark);
}
.sidebar-widget ul li { margin-bottom: 10px; }
.sidebar-widget ul li a { font-size: 0.9rem; color: #666; }
.sidebar-widget ul li a:hover { color: var(--pink); }

/* =============================================
   404 PAGE
============================================= */
.error-404-section {
  text-align: center;
  padding: 100px 24px;
}
.error-404-section .error-num {
  font-size: 8rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
}
.error-404-section h2 { font-size: 2rem; margin-bottom: 16px; }
.error-404-section p { color: #777; margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-image .about-badge { bottom: 16px; right: 16px; }
  .leader-grid     { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .single-post-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  #primary-nav { display: none; position: fixed; top: 80px; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 20px 24px; }
  #primary-nav.is-open { display: block; }
  #primary-nav ul { flex-direction: column; gap: 4px; }
  #primary-nav ul li a { display: block; padding: 12px 16px; }
  #menu-toggle { display: flex; }
  .hero { padding: 80px 0 60px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .leader-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .section-title { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
