body.blog-hub-page .blog-main {
  width: min(1260px, 100%);
  margin-top: 30px;
}

.blog-hub-skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-500);
  color: #2d160c;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.blog-hub-skip:focus {
  top: 10px;
}

.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: rgba(255, 248, 238, 0.6);
  color: var(--text-700);
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:root[data-theme="night"] .blog-breadcrumb {
  background: rgba(255, 244, 230, 0.1);
  color: #ffe7d1;
}

.blog-hub-hero {
  padding-top: 22px;
  padding-bottom: 24px;
}

.blog-hero-shell {
  border-radius: 32px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(255, 238, 227, 0.82));
  box-shadow: 0 26px 60px rgba(101, 23, 37, 0.18);
  padding: 34px 34px 28px;
  text-align: center;
}

:root[data-theme="night"] .blog-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(98, 14, 34, 0.72), rgba(55, 10, 22, 0.78));
}

.blog-eyebrow,
.blog-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-500);
}

.blog-title {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  color: var(--red-700);
}

:root[data-theme="night"] .blog-title {
  color: #fff1de;
}

.blog-subtitle {
  width: min(760px, 100%);
  margin: 14px auto 0;
  color: var(--text-700);
  line-height: 1.72;
  font-size: 1.04rem;
}

.blog-search {
  width: min(560px, 100%);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.blog-search:focus-within {
  border-color: rgba(255, 215, 0, 0.56);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.08);
}

.blog-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-900);
  padding: 14px 18px 14px 22px;
  font-size: 0.98rem;
  outline: none;
}

.blog-search input::placeholder {
  color: rgba(95, 61, 42, 0.68);
}

.blog-search button {
  border: 0;
  background: linear-gradient(135deg, #ffd700, #fdb931);
  color: #2d160c;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.blog-search button:hover,
.blog-search button:focus-visible {
  filter: brightness(1.04);
  outline: none;
}

:root[data-theme="night"] .blog-search input {
  color: #fff4e8;
}

:root[data-theme="night"] .blog-search input::placeholder {
  color: rgba(255, 227, 202, 0.52);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-700);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
  color: var(--text-900);
  border-color: rgba(255, 215, 0, 0.55);
  transform: translateY(-1px);
  outline: none;
}

.pill.active {
  background: linear-gradient(135deg, #ffd700, #fdb931);
  border-color: #ffd700;
  color: #2d160c;
  font-weight: 700;
}

:root[data-theme="night"] .pill {
  color: #ffe7d1;
}

.blog-stats {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.stat-item {
  min-width: 118px;
  display: grid;
  gap: 4px;
  justify-items: center;
}

.stat-number {
  font-family: "Cinzel", serif;
  font-size: 1.42rem;
  color: var(--red-700);
}

:root[data-theme="night"] .stat-number {
  color: #ffd98e;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  color: rgba(95, 61, 42, 0.4);
  font-size: 1.4rem;
}

.blog-featured-section,
.blog-posts-section,
.blog-cta {
  padding-top: 16px;
  padding-bottom: 16px;
}

.blog-section-header,
.posts-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.blog-section-header h2,
.posts-toolbar h2 {
  margin-top: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  color: var(--red-700);
}

:root[data-theme="night"] .blog-section-header h2,
:root[data-theme="night"] .posts-toolbar h2 {
  color: #fff0dd;
}

.blog-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: blogCardFade 0.6s ease both;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 215, 0, 0.28);
  outline: none;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.featured-media,
.card-image {
  position: relative;
}

.card-image {
  min-height: 232px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
  isolation: isolate;
}

.featured-card .card-image {
  min-height: 100%;
  aspect-ratio: auto;
  padding: 22px;
}

.card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 32%);
}

.card-image::after {
  content: attr(data-emoji);
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 9vw, 5.5rem);
  opacity: 0.92;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
  transition: transform 0.35s ease;
}

.blog-card:hover .card-image::after,
.blog-card:focus-visible .card-image::after {
  transform: translate(-50%, -54%) scale(1.05);
}

.jokes-cover {
  background: linear-gradient(135deg, #8b0000 0%, #cc2200 50%, #ff4444 100%);
}

.trivia-cover {
  background: linear-gradient(135deg, #1a1a4e 0%, #2d2d8e 50%, #4444cc 100%);
}

.activities-cover {
  background: linear-gradient(135deg, #11461f 0%, #2b7b3a 52%, #52b96a 100%);
}

.weeks-cover {
  background: linear-gradient(135deg, #5a3600 0%, #8e5f00 50%, #d4aa1d 100%);
}

.category-badge,
.cover-stat,
.cover-caption {
  position: relative;
  z-index: 1;
}

.category-badge {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
}

.category-badge.jokes {
  background: rgba(255, 68, 68, 0.82);
}

.category-badge.trivia {
  background: rgba(68, 68, 255, 0.82);
}

.category-badge.activities {
  background: rgba(68, 170, 68, 0.82);
}

.category-badge.countdown {
  background: rgba(255, 170, 0, 0.86);
  color: #221303;
}

.cover-stat {
  align-self: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff6ed;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-caption {
  align-self: end;
  max-width: 240px;
  color: rgba(255, 245, 236, 0.92);
  font-size: 0.84rem;
  line-height: 1.45;
}

.card-body,
.featured-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.featured-content {
  justify-content: center;
  padding: 28px 28px 28px 26px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-500);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.divider {
  opacity: 0.5;
}

.meta-highlight {
  color: var(--gold-700);
}

body.blog-hub-page .blog-card h2.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.72rem, 3vw, 2.1rem);
  line-height: 1.08;
  color: var(--text-900);
}

body.blog-hub-page .featured-card h2.card-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

body.blog-hub-page .blog-card h2.card-title a {
  color: inherit;
  text-decoration: none;
}

body.blog-hub-page .blog-card h2.card-title a:hover,
body.blog-hub-page .blog-card h2.card-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.blog-hub-page .blog-card p.card-excerpt {
  color: var(--text-700);
  line-height: 1.72;
  font-size: 0.98rem;
}

:root[data-theme="night"] body.blog-hub-page .blog-card h2.card-title {
  color: #fff0dd;
}

:root[data-theme="night"] body.blog-hub-page .blog-card p.card-excerpt {
  color: #ffe3ca;
}

.featured-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-highlights span,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-700);
  font-size: 0.78rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd98e;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.read-more-btn:hover,
.read-more-btn:focus-visible {
  gap: 10px;
  color: #fff1d1;
  outline: none;
}

.share-btn {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff1de;
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.share-btn:hover,
.share-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 215, 0, 0.38);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.share-btn.is-copied {
  color: #221303;
  background: linear-gradient(135deg, #ffd700, #fdb931);
  border-color: #ffd700;
}

.posts-toolbar {
  margin-bottom: 18px;
}

.list-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 14px;
}

.results-count {
  color: var(--text-500);
  font-size: 0.88rem;
}

.sort-options {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-700);
  font-size: 0.9rem;
}

.sort-options select {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-900);
  padding: 10px 16px;
  outline: none;
}

:root[data-theme="night"] .sort-options select {
  color: #fff2e5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-post-card {
  min-height: 100%;
}

.no-results {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 215, 0, 0.32);
  background: rgba(255, 244, 230, 0.08);
  padding: 24px;
  text-align: center;
  color: var(--text-700);
}

.no-results button {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700, #fdb931);
  color: #241206;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.blog-guide-section {
  padding-top: 10px;
  padding-bottom: 18px;
}

.blog-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-guide-card,
.blog-guide-note {
  border-radius: 24px;
  border: 1px solid rgba(255, 215, 0, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  padding: 22px;
}

.blog-guide-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.72rem;
  line-height: 1.08;
  color: var(--text-900);
}

.blog-guide-card p,
.blog-guide-note p {
  margin-top: 12px;
  color: var(--text-700);
  line-height: 1.78;
}

.blog-guide-card a,
.blog-guide-note a {
  color: var(--gold-700);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-guide-note {
  margin-top: 18px;
}

.blog-guide-note p {
  margin-top: 0;
}

:root[data-theme="night"] .blog-guide-card h3 {
  color: #fff0dd;
}

:root[data-theme="night"] .blog-guide-card p,
:root[data-theme="night"] .blog-guide-note p {
  color: #ffe3ca;
}

.blog-cta-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(81, 12, 28, 0.88), rgba(36, 10, 21, 0.92));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.cta-content h2 {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #fff2df;
}

.cta-content p {
  margin-top: 12px;
  color: rgba(255, 232, 209, 0.88);
  line-height: 1.7;
}

.cta-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd700, #fdb931);
  font-size: 1.8rem;
}

.cta-button {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd700, #fdb931);
  color: #251408;
  text-decoration: none;
  font-weight: 700;
}

.mini-countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.countdown-unit {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 14px;
  text-align: center;
}

.countdown-unit span {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: #ffd98e;
}

.countdown-unit label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 232, 209, 0.76);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[hidden] {
  display: none !important;
}

@keyframes blogCardFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .featured-card,
  .blog-cta-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  body.blog-hub-page .blog-main {
    margin-top: 22px;
  }

  .blog-hero-shell,
  .blog-cta-card {
    padding: 24px 20px;
  }

  .blog-section-header,
  .posts-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .list-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .blog-breadcrumb {
    margin-bottom: 12px;
  }

  .blog-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .blog-subtitle {
    font-size: 0.96rem;
  }

  .blog-search {
    width: 100%;
  }

  .blog-search button {
    padding-inline: 16px;
  }

  .category-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .pill {
    flex-shrink: 0;
  }

  .blog-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .stat-divider {
    display: none;
  }

  .blog-grid,
  .mini-countdown {
    grid-template-columns: 1fr;
  }

  .blog-guide-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    min-height: 196px;
  }

  .featured-content,
  .card-body {
    padding: 18px;
  }

  .card-footer {
    flex-wrap: wrap;
  }

  .sort-options {
    width: 100%;
    justify-content: space-between;
  }

  .sort-options select {
    min-width: 0;
    flex: 1;
  }
}
