/* =============================================
   HitsCulture – Bold Urban (v3)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --red:         #e8192c;
  --red-dark:    #bf0f1f;
  --black:       #111111;
  --charcoal:    #1a1a1a;
  --ink:         #2d2d2d;
  --mid:         #555555;
  --muted:       #888888;
  --subtle:      #bbbbbb;
  --border:      #e8e8e8;
  --border-mid:  #d4d4d4;
  --bg:          #f4f3f0;
  --bg-card:     #ffffff;
  --white:       #ffffff;
  --max-w:       1200px;
  --font-head:   'Barlow Condensed', sans-serif;
  --font-ui:     'Space Grotesk', sans-serif;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 8px 28px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --transition:  .2s cubic-bezier(.4,0,.2,1);
  --transition-bounce: .25s cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }

/* ---------- Reading Progress Bar ---------- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--red);
  z-index: 9999;
  transition: width .08s linear;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px rgba(232,25,44,.6), 0 0 4px rgba(232,25,44,.4);
  pointer-events: none;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* Prevent hover color bleeding on structural/wrapper anchors */
.post-row-image,
.post-row-image:hover,
.related-card a,
.related-card a:hover { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--black);
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #555;
  letter-spacing: .05em;
}
.top-bar .top-bar-right {
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 10.5px;
}
.top-bar a { transition: color var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar .top-bar-right a:hover { color: #ff4d5e; }

/* ---------- Site Header ---------- */
.site-header {
  background: var(--white);
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo — image version */
.site-logo { display: flex; align-items: center; height: 48px; }
.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}
/* Fallback text logo if no image */
.site-logo .logo-text {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}
.site-logo .logo-text span { color: var(--red); }

/* ---------- Primary Nav ---------- */
.primary-nav { display: flex; align-items: center; gap: 2px; }

.primary-nav a {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 4px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 13px; right: 13px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.primary-nav a:hover { color: var(--black); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav a.active {
  background: var(--red);
  color: var(--white);
}
.primary-nav a.active::after { display: none; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s;
}

/* ---------- Search Toggle Button ---------- */
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  margin-left: 6px;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
  flex-shrink: 0;
}
.search-toggle:hover,
.search-toggle.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ---------- Search Dropdown ---------- */
.search-dropdown {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--white);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.search-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-dropdown-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}

.search-dropdown-input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--black);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.search-dropdown-input:focus { border-color: var(--red); background: var(--white); }
.search-dropdown-input::placeholder { color: var(--subtle); }

.search-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.search-dropdown-btn:hover { background: var(--red-dark); }


/* ---------- Search Results Page ---------- */
.search-page-form {
  display: flex;
  gap: 10px;
  padding: 24px 0 8px;
}
.search-page-input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.search-page-input:focus { border-color: var(--red); }
.search-page-input::placeholder { color: var(--subtle); }
.search-page-btn {
  height: 48px;
  padding: 0 28px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.search-page-btn:hover { background: var(--red-dark); }

/* ---------- Wrapper ---------- */
.wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Homepage Hero Banner ---------- */
.site-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.site-hero--color { background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1e 100%); }

.site-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.site-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

/* Red semi-transparent pill around text */
.site-hero-text-box {
  background: rgba(232,25,44,.72);
  border-radius: 15px;
  padding: 28px 48px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.site-hero-tagline {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 8px;
}

.site-hero-name {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--white);
  line-height: 1;
}

.site-hero-rule {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ---------- Listing header REMOVED — replaced by top padding on post-listing ---------- */

/* ---------- Index Section Bar (category / paginated pages) ---------- */
.index-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  overflow: hidden; /* contain the accent bar */
}
.index-hero .wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}
.index-hero-accent {
  width: 5px;
  height: 36px;
  background: var(--red);
  border-radius: 3px;
  flex-shrink: 0;
  display: block; /* explicit block, not inheriting anything */
}
.index-hero-text { flex: 1; }
.index-hero-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--black);
  line-height: 1;
}
.index-hero-sub {
  font-size: 11px;
  color: var(--subtle);
  margin-top: 3px;
  font-weight: 500;
}
.index-hero-line { flex: 1; height: 1px; background: var(--border); }
.index-hero-back {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  transition: color var(--transition);
  white-space: nowrap;
}
.index-hero-back:hover { color: var(--red); }

/* ---------- Post Listing ---------- */
.post-listing {
  padding: 20px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
  will-change: transform;
}
.post-row:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.13), 0 4px 10px rgba(0,0,0,.07);
  transform: translateY(-4px);
  border-color: var(--border-mid);
}

/* Thumbnail */
.post-row-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 185px;
  background: #ddd;
  flex-shrink: 0;
}
.post-row-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  display: block;
}
.post-row:hover .post-row-image img { transform: scale(1.05); }

/* Category strip at bottom of image */
.post-row-cat-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--red);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  pointer-events: none; /* strip itself doesn't need to be clickable — whole card is */
}
.post-row-cat-strip span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}

.post-row-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: var(--subtle);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Content */
.post-row-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  border-left: 4px solid var(--bg);
}

.post-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--subtle);
}
.post-row-meta strong { color: var(--mid); font-weight: 600; }
.post-row-meta .meta-sep {
  width: 1px; height: 10px;
  background: var(--border-mid);
  flex-shrink: 0;
}

.post-row-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--black);
  line-height: 1.15;
}
.post-row-title a { transition: color var(--transition); }
.post-row-title a:hover,
.post-row:hover .post-row-title a { color: var(--red); }

.post-row-excerpt {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-row-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 7px 14px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 2px;
  transition: background var(--transition), transform var(--transition-bounce),
              gap var(--transition);
  will-change: transform;
}
.post-row-readmore:hover,
.post-row:hover .post-row-readmore {
  background: var(--red);
  color: var(--white);
  transform: scale(1.04);
  gap: 10px;
}

.no-posts {
  font-size: 14px;
  color: var(--muted);
  padding: 80px 0;
  text-align: center;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0 52px;
  flex-wrap: wrap;
}

.page-btn {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
  transition: all var(--transition), transform var(--transition-bounce);
  will-change: transform;
}
.page-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,25,44,.15);
}
.page-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(232,25,44,.3);
  pointer-events: none;
}
.page-dots { color: var(--subtle); padding: 0 4px; font-size: 14px; }

/* ---------- Article Hero Image ---------- */
.hero-wrap {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.hero-wrap img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  opacity: .92;
}
.hero-caption {
  position: absolute;
  bottom: 12px; right: 16px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-style: italic;
  letter-spacing: .04em;
}

/* ---------- Article Page Layout ---------- */
.page-layout { padding: 40px 0 64px; }

/* ---------- Article ---------- */
.article-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.byline {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.byline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.byline a { color: var(--red); font-weight: 600; transition: color var(--transition); }
.byline a:hover { color: var(--red-dark); }
.byline .meta-sep {
  width: 1px; height: 10px;
  background: var(--border-mid);
  flex-shrink: 0;
}

/* ---------- Share Buttons ---------- */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.share-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-right: 2px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition-bounce),
              box-shadow var(--transition);
  flex-shrink: 0;
  will-change: transform;
}
.share-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.share-btn:hover {
  transform: translateY(-2px);
}
.share-facebook:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-twitter:hover   { background: #000;    border-color: #000;    color: #fff; }
.share-linkedin:hover  { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-copy:hover      { background: var(--red); border-color: var(--red); color: #fff; }

/* Copied state */
.share-copy.copied { background: #16a34a; border-color: #16a34a; color: #fff; }

@media (max-width: 540px) {
  .byline { flex-direction: column; align-items: flex-start; gap: 10px; }
  .share-buttons { align-self: flex-start; }
}

.article-body p {
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 1.5em;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.85;
}
.article-body h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 1.8em 0 .7em;
  color: var(--black);
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1.5em 0 .5em;
  color: var(--black);
}
.article-body strong { color: var(--black); font-weight: 700; }
.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(232,25,44,.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.article-body a:hover { text-decoration-color: var(--red); }
.article-body ul, .article-body ol {
  font-family: Georgia, 'Times New Roman', serif;
  margin: 0 0 1.5em 1.6em;
  font-size: 17px;
  color: var(--ink);
}
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  margin: 1.8em 0;
  padding: 16px 24px;
  background: #fef1f2;
  font-style: italic;
  color: var(--mid);
  border-radius: 0 6px 6px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
}

/* ---------- Prev/Next Nav ---------- */
.post-nav {
  margin-top: 36px;
  background: var(--charcoal);
  padding: 18px 24px;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.post-nav .arrow {
  color: var(--red);
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 2px;
}
.post-nav .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 5px;
}
.post-nav strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.post-nav a { color: #888; transition: color var(--transition); }
.post-nav a:hover { color: var(--white); }
.post-nav .arrow {
  color: var(--red);
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-block;
  transition: transform var(--transition);
}
.post-nav:hover .arrow { transform: translateX(-4px); }

/* ---------- Related Posts ---------- */
.related-posts { margin-top: 52px; }
.section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: block;
  width: 5px; height: 24px;
  background: var(--red);
  border-radius: 3px;
  flex-shrink: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  will-change: transform;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.14), 0 6px 14px rgba(0,0,0,.07);
  border-color: var(--border-mid);
}
.related-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 150px;
  background: #ddd;
}
.related-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.related-card:hover .related-card-img-wrap img { transform: scale(1.05); }
.related-card-cat {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--red);
  padding: 5px 12px;
}
.related-card-cat span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}
.related-card-body { padding: 14px 16px; }
.related-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .01em;
  transition: color var(--transition);
}
.related-card:hover h4 { color: var(--red); }
.related-card .date {
  font-size: 11px;
  color: var(--subtle);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  padding: 52px 24px 28px;
  margin-top: 16px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Footer logo */
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
  /* white/light logo for dark bg */
  filter: brightness(0) invert(1);
  opacity: .85;
}
/* Fallback text if no image */
.footer-logo .logo-text {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
  line-height: 1;
}
.footer-logo .logo-text span { color: var(--red); }

.footer-about p {
  font-size: 12.5px;
  line-height: 1.75;
  color: #555;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 13px;
  color: #666;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

/* Social chips */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-chip {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  transition: all var(--transition), transform var(--transition-bounce);
  cursor: pointer;
  will-change: transform;
}
.social-chip:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,25,44,.2);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #3a3a3a;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #444; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .post-row { grid-template-columns: 260px 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 18px; height: 60px; }
  .primary-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 18px 16px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .primary-nav.open { display: flex; }
  .hamburger { display: flex; }
  .top-bar { padding: 8px 18px; }
  .wrapper { padding: 0 16px; }
  .post-row { grid-template-columns: 1fr; }
  .post-row-image { height: 200px; }
  .post-row-content { padding: 18px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-social { gap: 6px; }
}
