/* ==========================================
   LIIKKUMISEN ILOA RY - Modern Design
   ========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Dosis', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
  background: #f0faf5;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a2e;
}

/* --- CSS Variables --- */
:root {
  /* Pastel palette inspired by hippo.fi */
  --mint: #d4f0e7;
  --mint-light: #e8f8f0;
  --mint-dark: #b8e4d4;
  --yellow-light: #fff8e1;
  --yellow: #ffeaa7;
  --pink: #fce4ec;
  --pink-dark: #f8bbd0;
  --lavender: #e8e5f8;
  --lavender-dark: #c5bff0;
  --peach: #ffe0cc;
  --blue-soft: #d4e8ff;
  --blue-medium: #8fadd4;
  --navy: #1a1a2e;
  --navy-light: #2d2d5e;
  --purple: #8886c0;
  --purple-dark: #6c6aa0;
  --orange: #fc800c;
  --orange-hover: #e06800;
  --white: #ffffff;
  --off-white: #fcf6ee;
  --gray-light: #f5f5f5;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 100%;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--orange);
  color: var(--white);
}

/* Social icons in header */
.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-light);
  transition: var(--transition);
}

.header-social a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.header-social a:hover svg {
  fill: var(--white);
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: var(--navy);
  transition: var(--transition);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--gray-light);
}

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--orange);
  color: var(--white);
}

.mobile-nav .mobile-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
}

.mobile-nav .mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-light);
  padding: 0;
  font-size: 0;
}

.mobile-nav .mobile-social a:hover {
  background: var(--orange);
}

.mobile-nav .mobile-social svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
  transition: var(--transition);
}

.mobile-nav .mobile-social a:hover svg {
  fill: var(--white);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--mint) 50%, var(--yellow-light) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 128, 12, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(136, 134, 192, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--navy);
}

.hero-text h1 span {
  color: var(--orange);
}

.hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

/* Badge on hero image */
.hero-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--purple);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(252, 128, 12, 0.3);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 128, 12, 0.4);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.2);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-purple:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

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

.section-mint {
  background: var(--mint-light);
}

.section-yellow {
  background: var(--yellow-light);
}

.section-pink {
  background: var(--pink);
}

.section-lavender {
  background: var(--lavender);
}

.section-peach {
  background: var(--peach);
}

.section-white {
  background: var(--white);
}

.section-blue {
  background: var(--blue-soft);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--mint-light);
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Alternate icon bg colors */
.feature-card:nth-child(2) .feature-icon { background: var(--yellow-light); }
.feature-card:nth-child(3) .feature-icon { background: var(--pink); }
.feature-card:nth-child(4) .feature-icon { background: var(--lavender); }
.feature-card:nth-child(5) .feature-icon { background: var(--peach); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ==========================================
   ABOUT / INFO SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-text .tagline {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text .btn {
  margin-top: 16px;
}

.about-image-area {
  position: relative;
  overflow: hidden;
}

.about-image-area .blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.about-image-area .blob-1 {
  width: 300px;
  height: 300px;
  background: var(--lavender);
  top: -30px;
  right: -30px;
  opacity: 0.5;
}

.about-image-area .blob-2 {
  width: 200px;
  height: 200px;
  background: var(--pink);
  bottom: -20px;
  left: -20px;
  opacity: 0.5;
}

.about-blob-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-image-area .small-logo {
  width: 80px;
  height: auto;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  filter: drop-shadow(var(--shadow-soft));
}

/* ==========================================
   NEWS / EVENT CARDS
   ========================================== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.news-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.news-card-image {
  position: relative;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  transition: transform 0.5s ease;
}

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

.news-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tag {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.news-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 600;
}

.news-card-body h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}

.news-card-body p {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ==========================================
   PARTNERS / SPONSORS
   ========================================== */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.partner-logo {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 100px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.partner-logo img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
}

.partner-logo-blue {
  background: #1a2b5f;
}

.partner-logo-blue svg {
  width: 100%;
  height: auto;
  max-width: 100px;
  max-height: 40px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 30px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--purple), var(--mint));
}

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

.footer-brand img {
  height: 50px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--orange);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-contact h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--orange);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--orange);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: var(--orange);
  transition: var(--transition);
}

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

/* ==========================================
   PAGE HEADER (for inner pages)
   ========================================== */
.page-header {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.page-header .subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

/* ==========================================
   CONTENT AREA (for article pages)
   ========================================== */
.content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.content-area h2 {
  font-size: 28px;
  margin-top: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.content-area p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.content-area img {
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-card);
}

.content-area .event-meta {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
  border-left: 4px solid var(--orange);
}

.content-area .event-meta p {
  margin-bottom: 4px;
  font-size: 16px;
}

.content-area .event-meta strong {
  color: var(--navy);
}

/* ==========================================
   NEWS LIST (ajankohtaista page)
   ========================================== */
.news-list {
  display: grid;
  gap: 32px;
}

/* ==========================================
   ABOUT PAGE specific
   ========================================== */
.about-story {
  padding: 60px 0;
}

.about-story-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-story-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.value-card h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================
   WAVE DIVIDERS (SVG-based)
   ========================================== */
.wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
  }

  .news-card-horizontal {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 50px 0;
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
    overflow: hidden;
  }

  .main-nav,
  .header-social {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .logo img {
    height: 36px;
    max-width: 200px;
    width: auto;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-image {
    overflow: hidden;
  }

  .hero-image img {
    height: 280px;
    border-radius: var(--radius-md);
  }

  .hero-badge {
    top: 10px;
    right: 10px;
    font-size: 12px;
    padding: 6px 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

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

  .news-card-body h2 {
    font-size: 22px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .news-card-body p {
    font-size: 15px;
  }

  .news-card-image img {
    min-height: 220px;
    max-height: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 20px 12px;
  }

  .feature-card h3 {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .feature-icon img {
    width: 32px;
    height: 32px;
  }

  .about-image-area .blob {
    display: none;
  }

  .about-text .tagline {
    font-size: 18px;
  }

  .about-text p {
    font-size: 15px;
  }

  .partner-logo {
    width: 100px;
    height: 72px;
    padding: 10px;
  }

  .partner-logo img {
    max-width: 72px;
    max-height: 44px;
  }

  .partners-grid {
    gap: 16px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 28px 20px;
  }

  .page-header {
    padding: 40px 0 32px;
    overflow: hidden;
  }

  .page-header h1 {
    font-size: 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .content-area {
    padding: 24px 16px 60px;
  }

  .content-area p {
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .content-area .event-meta {
    padding: 20px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-brand img {
    height: 40px;
    max-width: 200px;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .site-footer {
    overflow: hidden;
  }

  .site-footer::before {
    left: 0;
    right: 0;
  }
}

@media (max-width: 400px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-image img {
    height: 220px;
  }

  .partner-logo {
    width: 85px;
    height: 64px;
  }

  .section-title {
    font-size: 22px;
  }

  .news-card-body h2 {
    font-size: 20px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .content-area .event-meta {
    padding: 16px;
  }
}

/* ==========================================
   MISC
   ========================================== */
::selection {
  background: var(--orange);
  color: var(--white);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mint-light);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-dark);
}
