/* DigitalDispatch – Main Stylesheet */
/* Clean, minimal blog design focused on readability */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #110b0bed;
  --color-bg-alt: #212121f4;
  --color-bg-dark: #e6d6d6;
  --color-text: #f1f5ee;
  --color-text-muted: #888888;
  --color-text-light: #888888;
  --color-border: #eeeeee;
  --color-accent: #9eeb47;
  --color-accent-hover: #8dd63a;
  --color-accent-light: #f2fce3;
  --color-accent-2: #d4ed31;
  --color-tag-bg: #eeeeee;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --container: 1160px;
  --transition: 0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--color-text); }
p:last-child { margin-bottom: 0; }

/* ===== UTILITY ===== */
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); font-weight: 700; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-gap { padding: 64px 0; }
.section-gap-sm { padding: 40px 0; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 40px 0; }

.badge {
  display: inline-block;
  background: var(--color-accent);
  color: #222222;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
}

.tag {
  display: inline-block;
  background: var(--color-tag-bg);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #222222;
}
.btn-primary:hover { background: var(--color-accent-hover); color: #222222; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #222222; }
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-accent); color: #222222; background: var(--color-accent-light); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.navbar-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.navbar-logo span { color: var(--color-accent); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #222222;
  background: var(--color-accent);
}

.navbar-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block;
  padding: 9px 24px;
  font-size: 0.95rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--color-bg-alt);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://bernardmarr.com/wp-content/uploads/2022/02/What-Is-Social-Media-2.0-Simple-Explanation-And-Examples.jpg') no-repeat center center;
  background-size: cover;
  animation: zoom 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.hero-title { margin-bottom: 14px; }
.hero-excerpt {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}
.hero-meta .dot { opacity: 0.4; }
.hero-image {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hero-image:hover img { transform: scale(1.03); }

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-border);
}
.section-header h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.section-header a { font-size: 0.83rem; color: var(--color-accent); font-weight: 500; }
.section-header a:hover { text-decoration: underline; }

/* ===== BLOG CARD ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .card-image img { transform: scale(1.04); }

.card-body { padding: 18px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.card-meta .dot { opacity: 0.5; }
.card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text);
  transition: color var(--transition);
}
a:hover .card-title { color: #222222; text-decoration: underline; }
.card-excerpt {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== LIST-STYLE ARTICLE CARD ===== */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.article-item:last-child { border-bottom: none; }
.article-thumb {
  width: 120px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 4px; }
.article-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
a:hover .article-title { text-decoration: underline; }
.article-cat { font-size: 0.72rem; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== FEATURED STRIP ===== */
.featured-strip {
  background: #222222;
  color: #fff;
  padding: 48px 0;
}
.featured-strip .section-header h2 { color: var(--color-accent); }
.featured-strip .section-header a { color: var(--color-accent-2); }
.featured-strip .card { background: #2d2d2d; border-color: #3a3a3a; }
.featured-strip .card-title { color: #f5f5f5; }
.featured-strip .card-meta, .featured-strip .card-excerpt, .featured-strip .card-footer { color: #aaaaaa; }
.featured-strip .card-footer { border-color: #3a3a3a; }
.featured-strip a:hover .card-title { color: var(--color-accent); text-decoration: none; }

/* ===== NEWSLETTER BAND ===== */
.newsletter-band {
  background: var(--color-accent);
  border-top: none;
  border-bottom: none;
  padding: 44px 0;
}
.newsletter-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.newsletter-band h3 { font-size: 1.3rem; margin-bottom: 4px; color: #222222; }
.newsletter-band p { color: #333333; font-size: 0.93rem; margin: 0; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.newsletter-form input[type="email"] {
  padding: 10px 16px;
  border: 1.5px solid #333333;
  border-radius: var(--radius);
  font-size: 0.9rem;
  width: 240px;
  outline: none;
  background: #fff;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus { border-color: #222222; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(158,235,71,0.25);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.form-check input { margin-top: 3px; accent-color: #222222; }
.form-check a { color: var(--color-accent); font-weight: 600; text-decoration: underline; }
.form-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}

/* ===== MODAL / POPUP ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--color-bg);
  border-radius: 10px;
  padding: 36px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.22s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}
.modal-close:hover { color: var(--color-text); }
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.modal-subtitle { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 22px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222222;
  color: #f5f5f5;
  z-index: 1050;
  padding: 18px 24px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-inner p { font-size: 0.875rem; color: #cccccc; margin: 0; }
.cookie-inner a { color: var(--color-accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.cookie-btn-accept { background: var(--color-accent); color: #222222; font-weight: 700; }
.cookie-btn-accept:hover { background: var(--color-accent-hover); }
.cookie-btn-decline { background: #444444; color: #eeeeee; }
.cookie-btn-decline:hover { background: #555555; }

/* ===== BLOG DETAIL ===== */
.post-header { padding: 48px 0 36px; border-bottom: 1px solid var(--color-border); }
.post-header .badge { margin-bottom: 14px; }
.post-header h1 { max-width: 760px; margin-bottom: 16px; }
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.post-meta-row .dot { opacity: 0.4; }
.post-cover { margin: 36px 0; border-radius: 10px; overflow: hidden; max-height: 480px; }
.post-cover img { width: 100%; object-fit: cover; }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding-bottom: 64px;
}
.post-content {
  font-size: 1.02rem;
  line-height: 1.78;
  color: #333333;
}
.post-content h2 { font-size: 1.4rem; margin: 2em 0 0.6em; border-left: 4px solid var(--color-accent); padding-left: 14px; color: #222222; }
.post-content h3 { font-size: 1.15rem; margin: 1.5em 0 0.5em; color: #222222; }
.post-content p { margin-bottom: 1.2em; }
.post-content a { color: #222222; text-decoration: underline; font-weight: 600; }
.post-content ul, .post-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.post-content li { margin-bottom: 0.4em; }
.post-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 12px 20px;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  margin: 1.5em 0;
}
.post-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.post-sidebar { padding-top: 4px; }
.sidebar-widget { margin-bottom: 32px; }
.sidebar-widget h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--color-bg-alt);
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero p { color: var(--color-text-muted); max-width: 560px; margin: 10px auto 0; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image { border-radius: 10px; overflow: hidden; }
.about-image img { width: 100%; height: 360px; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.value-icon { font-size: 1.6rem; margin-bottom: 10px; }
.value-card h4 { margin-bottom: 6px; font-size: 1rem; }
.value-card p { font-size: 0.87rem; color: var(--color-text-muted); margin: 0; }

/* ===== EVENTS ===== */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 90px 1fr;
}
.event-date-block {
  background: var(--color-accent);
  color: #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  text-align: center;
}
.event-date-block .month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.event-date-block .day { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.event-date-block .year { font-size: 0.7rem; opacity: 0.6; }
.event-info { padding: 16px 18px; }
.event-info h4 { font-size: 0.98rem; margin-bottom: 4px; }
.event-info p { font-size: 0.83rem; color: var(--color-text-muted); margin-bottom: 8px; }
.event-info .event-meta { font-size: 0.78rem; color: var(--color-text-light); }

/* ===== PRESS RELEASE ===== */
.press-list { display: flex; flex-direction: column; gap: 0; }
.press-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
}
.press-item:last-child { border-bottom: none; }
.press-date { font-size: 0.78rem; color: var(--color-text-muted); padding-top: 4px; }
.press-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 5px; }
a:hover .press-title { text-decoration: underline; }
.press-excerpt { font-size: 0.87rem; color: var(--color-text-muted); }

/* ===== LIBRARY ===== */
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-accent); }
.resource-icon { font-size: 2rem; margin-bottom: 10px; }
.resource-type { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 6px; }
.resource-card h4 { font-size: 0.98rem; margin-bottom: 6px; }
.resource-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 12px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info p { color: var(--color-text-muted); font-size: 0.93rem; margin-bottom: 20px; }
.contact-detail { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.contact-detail-icon { font-size: 1.1rem; flex-shrink: 0; padding-top: 2px; }
.contact-detail strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.contact-detail a { color: var(--color-accent); font-size: 0.9rem; font-weight: 600; text-decoration: underline; }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 780px; margin: 0 auto; padding: 56px 0; }
.legal-content h2 { font-size: 1.3rem; margin: 2em 0 0.6em; }
.legal-content h3 { font-size: 1.1rem; margin: 1.5em 0 0.5em; }
.legal-content p { color: var(--color-text); font-size: 0.95rem; line-height: 1.75; }
.legal-content ul { padding-left: 1.5em; margin-bottom: 1em; }
.legal-content li { color: var(--color-text); font-size: 0.95rem; margin-bottom: 0.4em; }
.legal-content a { color: var(--color-accent); text-decoration: underline; font-weight: 600; }
.legal-date { color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer {
  background: #222222;
  color: #aaaaaa;
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: #ffffff; margin-bottom: 8px; }
.footer-brand-name span { color: var(--color-accent); }
.footer-tagline { font-size: 0.85rem; color: #888888; margin-bottom: 16px; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #dddddd; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.875rem; color: #888888; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid #333333;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #666666;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #666666; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition: all var(--transition);
}
.page-btn.active, .page-btn:hover {
  background: var(--color-accent);
  color: #222222;
  border-color: var(--color-accent);
  font-weight: 700;
}

/* ===== CATEGORY FILTER ===== */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #222222;
  font-weight: 700;
}

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--color-accent); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-nav, .navbar-actions { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-band-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input[type="email"] { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .press-item { grid-template-columns: 1fr; }
  .press-date { padding-top: 0; }
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

@media (max-width: 480px) {
  .library-grid { grid-template-columns: 1fr; }
  .blog-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 18px; margin: 0 12px; }
}
