/*
 * Theme Name:  Education Updates Child
 * Template:    generatepress
 * Description: Child theme for Education Updates — global header, footer & dynamic posts.
 * Version:     1.0.0
 * Author:      Education Updates
 */

/* ═══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Sticky Header & Navigation
   3. Mobile Hamburger Menu
   4. Hero Section
   5. Section Wrappers & Titles
   6. Latest Posts Cards
   7. Category Grid
   8. Notes / Downloads Table
   9. Footer — Global
   10. Responsive Breakpoints
   11. GeneratePress Theme Overrides
═══════════════════════════════════════════════════════════════ */


/* ── 1. CSS VARIABLES & RESET ──────────────────────────────── */

:root {
  --eu-primary:    #2563eb;
  --eu-secondary:  #7c3aed;
  --eu-accent:     #06b6d4;
  --eu-bg:         #f0f4ff;
  --eu-card:       #ffffff;
  --eu-text:       #1e2235;
  --eu-muted:      #64748b;
  --eu-border:     #e2e8f0;
  --eu-radius:     14px;
  --eu-shadow:     0 4px 24px rgba(37,99,235,.10);
  --eu-shadow-hov: 0 8px 40px rgba(37,99,235,.18);
  --eu-font-head:  'Syne', sans-serif;
  --eu-font-body:  'Figtree', sans-serif;
}

/* Scoped box-sizing reset for all EU elements */
.eu-header *, .eu-header *::before, .eu-header *::after,
.eu-hero   *, .eu-hero   *::before, .eu-hero   *::after,
.eu-section *, .eu-section *::before, .eu-section *::after,
.eu-posts-bg *, .eu-posts-bg *::before, .eu-posts-bg *::after,
.eu-footer *, .eu-footer *::before, .eu-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Font base */
.eu-header, .eu-hero, .eu-section, .eu-posts-bg, .eu-footer {
  font-family: var(--eu-font-body);
  color: var(--eu-text);
  line-height: 1.6;
}


/* ── 2. STICKY HEADER & NAVIGATION ────────────────────────── */

.eu-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--eu-border);
  box-shadow: 0 2px 20px rgba(37,99,235,.08);
}

.eu-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}

/* Logo */
.eu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--eu-font-head);
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
}

.eu-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  /* Needed so gradient clip doesn't bleed into icon */
  -webkit-text-fill-color: #fff;
}

/* Desktop nav */
.eu-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.eu-nav a,
.eu-nav li a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--eu-text);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.eu-nav a:hover,
.eu-nav li a:hover {
  background: var(--eu-bg);
  color: var(--eu-primary);
}

/* Active / current menu item */
.eu-nav a.eu-nav-active,
.eu-nav li.current-menu-item > a,
.eu-nav li.current_page_item > a {
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}


/* ── 3. MOBILE HAMBURGER MENU ──────────────────────────────── */

.eu-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  padding: 8px;
  background: var(--eu-bg);
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.eu-hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--eu-text);
  transition: all .3s ease;
}

.eu-hamburger.eu-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.eu-hamburger.eu-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.eu-hamburger.eu-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.eu-mobile-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--eu-border);
  box-shadow: 0 8px 32px rgba(37,99,235,.12);
  padding: 12px 24px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 9998;
}

.eu-mobile-nav.eu-open { display: flex; }

.eu-mobile-nav a,
.eu-mobile-nav li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--eu-text);
  text-decoration: none;
  transition: background .2s, color .2s;
  list-style: none;
}

.eu-mobile-nav a:hover,
.eu-mobile-nav li a:hover {
  background: var(--eu-bg);
  color: var(--eu-primary);
}

.eu-mobile-nav ul,
.eu-mobile-nav li { list-style: none; margin: 0; padding: 0; }


/* ── 4. HERO SECTION ───────────────────────────────────────── */

.eu-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #1d4ed8 100%);
}

.eu-hero-bg {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    radial-gradient(circle at 20% 50%, #7c3aed 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, #2563eb 0%, transparent 45%),
    radial-gradient(circle at 60% 80%, #0891b2 0%, transparent 40%);
  pointer-events: none;
}

.eu-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 60px, rgba(255,255,255,.4) 60px, rgba(255,255,255,.4) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.4) 60px, rgba(255,255,255,.4) 61px);
  pointer-events: none;
}

.eu-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 60px 24px;
}

.eu-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 6px 16px;
  color: #93c5fd;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.eu-hero h1 {
  font-family: var(--eu-font-head);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.eu-hero h1 span {
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eu-hero-sub {
  color: #bfdbfe;
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 36px;
}

/* Search bar */
.eu-search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  background: rgba(255,255,255,.97);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  overflow: hidden;
}

.eu-search-bar input {
  flex: 1;
  padding: 15px 22px;
  font-size: 1rem;
  font-family: var(--eu-font-body);
  border: none;
  outline: none;
  background: transparent;
  color: var(--eu-text);
  min-width: 0;
}

.eu-search-bar input::placeholder { color: #94a3b8; }

.eu-search-btn {
  padding: 12px 28px;
  margin: 5px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  font-family: var(--eu-font-body);
}

.eu-search-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(124,58,237,.4);
}


/* ── 5. SECTION WRAPPERS & TITLES ──────────────────────────── */

.eu-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.eu-posts-bg { background: var(--eu-bg); }

.eu-section-title {
  font-family: var(--eu-font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--eu-text);
  margin-bottom: 8px;
}

.eu-section-title span {
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eu-section-sub {
  color: var(--eu-muted);
  font-size: .95rem;
  margin-bottom: 36px;
}

.eu-divider {
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eu-primary), var(--eu-secondary));
  margin: 12px 0 32px;
}

.eu-divider-center { margin: 12px auto 32px; }


/* ── 6. LATEST POSTS CARDS ─────────────────────────────────── */

.eu-posts-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eu-post-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--eu-card);
  border-radius: var(--eu-radius);
  padding: 18px;
  box-shadow: var(--eu-shadow);
  border: 1px solid var(--eu-border);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}

.eu-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--eu-shadow-hov);
}

/* Thumbnail — shown when post has a featured image */
.eu-post-card img.eu-post-thumb {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Fallback emoji tile when no featured image */
.eu-post-img {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.eu-post-body { flex: 1; min-width: 0; }

.eu-post-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #dbeafe;
  color: var(--eu-primary);
  margin-bottom: 7px;
}

.eu-post-title {
  font-family: var(--eu-font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--eu-text);
  margin-bottom: 6px;
  line-height: 1.35;
}

.eu-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.eu-post-title a:hover { color: var(--eu-primary); }

.eu-post-desc {
  color: var(--eu-muted);
  font-size: .88rem;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eu-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.eu-btn-read:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  color: #fff;
}

/* "View all posts" link */
.eu-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--eu-primary);
  color: var(--eu-primary);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.eu-view-all:hover {
  background: var(--eu-primary);
  color: #fff;
}


/* ── 7. CATEGORY GRID ──────────────────────────────────────── */

.eu-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  justify-items: center;
}

.eu-cat-card {
  background: var(--eu-card);
  border-radius: var(--eu-radius);
  padding: 28px 20px;
  text-align: center;
  width: 100%;
  border: 1px solid var(--eu-border);
  box-shadow: var(--eu-shadow);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.eu-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  opacity: 0;
  transition: opacity .28s ease;
}

.eu-cat-card:hover::before { opacity: 1; }

.eu-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(37,99,235,.22);
}

.eu-cat-card:hover .eu-cat-icon,
.eu-cat-card:hover .eu-cat-name,
.eu-cat-card:hover .eu-cat-count {
  color: #fff;
}

.eu-cat-icon {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  transition: color .28s ease;
}

.eu-cat-card:nth-child(1) .eu-cat-icon { color: #f59e0b; }
.eu-cat-card:nth-child(2) .eu-cat-icon { color: #10b981; }
.eu-cat-card:nth-child(3) .eu-cat-icon { color: #ef4444; }
.eu-cat-card:nth-child(4) .eu-cat-icon { color: var(--eu-primary); }
.eu-cat-card:nth-child(5) .eu-cat-icon { color: var(--eu-secondary); }

.eu-cat-name {
  position: relative;
  font-family: var(--eu-font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--eu-text);
  margin-bottom: 4px;
  transition: color .28s ease;
}

.eu-cat-count {
  position: relative;
  font-size: .8rem;
  color: var(--eu-muted);
  transition: color .28s ease;
}


/* ── 8. NOTES / DOWNLOADS TABLE ────────────────────────────── */

.eu-table-wrap {
  background: var(--eu-card);
  border-radius: var(--eu-radius);
  border: 1px solid var(--eu-border);
  box-shadow: var(--eu-shadow);
  overflow: hidden;
}

.eu-table-scroll { overflow-x: auto; }

.eu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.eu-table thead tr {
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  color: #fff;
}

.eu-table th {
  padding: 15px 20px;
  font-family: var(--eu-font-head);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  text-align: left;
  white-space: nowrap;
}

.eu-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--eu-border);
  color: var(--eu-text);
  vertical-align: middle;
}

.eu-table tbody tr { transition: background .18s; }
.eu-table tbody tr:hover { background: #f0f4ff; }
.eu-table tbody tr:last-child td { border-bottom: none; }

/* Subject badges */
.eu-table-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.eu-badge-math { background: #dbeafe; color: #1d4ed8; }
.eu-badge-sci  { background: #d1fae5; color: #065f46; }
.eu-badge-eng  { background: #ede9fe; color: #5b21b6; }
.eu-badge-sst  { background: #fef3c7; color: #92400e; }
.eu-badge-hin  { background: #fce7f3; color: #9d174d; }

/* Download button */
.eu-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--eu-primary);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.eu-dl-btn:hover {
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  color: #fff;
  transform: scale(1.05);
}


/* ── 9. FOOTER — GLOBAL ────────────────────────────────────── */

.eu-footer {
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 35%, #2e1065 65%, #1a1040 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Decorative glows */
.eu-footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  pointer-events: none;
}

.eu-footer::after {
  content: '';
  position: absolute;
  bottom: 80px; left: -100px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}

.eu-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  position: relative;
  z-index: 1;
}

.eu-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Footer logo */
.eu-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--eu-font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
  text-decoration: none;
}

.eu-footer-logo-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--eu-primary), var(--eu-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.eu-footer-about p {
  color: #94a3b8;
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Footer column headers */
.eu-footer-col h4 {
  font-family: var(--eu-font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(124,58,237,.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eu-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0; margin: 0;
}

.eu-footer-col ul li a,
.eu-footer-col ul a {
  color: #94a3b8;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eu-footer-col ul li a::before,
.eu-footer-col ul a::before {
  content: '›';
  color: var(--eu-accent);
  font-size: 1.1rem;
  font-weight: bold;
}

.eu-footer-col ul li a:hover,
.eu-footer-col ul a:hover {
  color: #93c5fd;
  transform: translateX(4px);
}

/* Social buttons */
.eu-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.eu-social-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s, filter .25s, box-shadow .25s;
  border: 1px solid rgba(255,255,255,.1);
}

.eu-social-fb { background: rgba(24,119,242,.2);  color: #93c5fd; }
.eu-social-ig { background: rgba(225,48,108,.2);   color: #f9a8d4; }
.eu-social-yt { background: rgba(255,0,0,.2);      color: #fca5a5; }
.eu-social-tg { background: rgba(0,136,204,.2);    color: #7dd3fc; }

.eu-social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

/* Horizontal divider in footer */
.eu-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), rgba(37,99,235,.5), transparent);
  margin-bottom: 36px;
}

/* WhatsApp CTA */
.eu-wa-section {
  text-align: center;
  padding: 0 24px 40px;
  position: relative;
  z-index: 1;
}

.eu-wa-label {
  color: #94a3b8;
  font-size: .9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.eu-wa-label::before,
.eu-wa-label::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: rgba(255,255,255,.15);
}

.eu-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 44px;
  border-radius: 50px;
  background: linear-gradient(135deg, #16a34a, #22c55e, #15803d);
  color: #fff;
  font-family: var(--eu-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(34,197,94,.35);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 2px solid rgba(255,255,255,.2);
}

.eu-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(34,197,94,.5);
  color: #fff;
}

.eu-wa-btn i { font-size: 1.3rem; }

/* Follow bar */
.eu-follow-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.eu-follow-bar p { color: #7c86a0; font-size: .88rem; }

.eu-follow-icons {
  display: flex;
  gap: 8px;
}

.eu-follow-icons a {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}

.eu-follow-icons a:hover {
  background: var(--eu-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Copyright bar */
.eu-copyright {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 16px 24px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.eu-copyright p { color: #475569; font-size: .83rem; }
.eu-copyright span { color: #7c3aed; font-weight: 600; }


/* ── 10. RESPONSIVE BREAKPOINTS ────────────────────────────── */

@media (max-width: 1024px) {
  .eu-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 680px) {
  /* Hide desktop nav, show hamburger */
  .eu-nav   { display: none !important; }
  .eu-hamburger { display: flex; }

  /* Hero */
  .eu-hero { min-height: 380px; }
  .eu-hero-content { padding: 48px 18px; }

  /* Posts */
  .eu-post-card { flex-direction: column; }
  .eu-post-card img.eu-post-thumb,
  .eu-post-img { width: 100%; height: 160px; }

  /* Footer */
  .eu-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .eu-section     { padding: 44px 18px; }
  .eu-wa-btn      { padding: 14px 28px; font-size: 1rem; }
  .eu-copyright   { flex-direction: column; text-align: center; }
  .eu-social-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 440px) {
  .eu-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .eu-logo     { font-size: 1.1rem; }
}


/* ── 11. GENERATEPRESS THEME OVERRIDES ─────────────────────── */

/* Reset GP's #masthead wrapper so our sticky header works cleanly */
#masthead {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Reset GP's #colophon footer wrapper */
#colophon {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Remove any extra GP padding/margin on the page content area */
.page-template-default .entry-content,
.home .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Prevent GP from adding max-width constraints inside our sections */
.eu-section .inside-article,
.eu-section .entry-content {
  max-width: none !important;
  padding: 0 !important;
}