/* =========================================================
   Loud Yell — Integrated Site CSS (BOXED VARIANT)
   File: public/assets/css/blog_home.css

   @version 3.3.0
   @last_updated 2026-06-28

   Premium editorial refresh v3.3:
   - Boxed container: 1180px centered
   - Header: Logo left, nav centered, actions right
   - Footer: Clean gradient (no dot pattern)
   - Premium editorial palette
   - Responsive improvements
   ========================================================= */

/* =========================================================
   1. Reset + Variables
   ========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Premium editorial palette */
  --bg: #F4F1EB;
  --panel: #FFFEFA;
  --surface: #FFFEFA;
  --surface-soft: #FBF7EF;
  --surface-warm: #F8F3EA;

  --text: #17140F;
  --ink: #17140F;
  --muted: #6F675E;
  --muted-2: #8C8377;
  --line: #E4DDD2;
  --line-strong: #D7CBBB;

  --black: #17140F;
  --cream: #FFFEFA;
  --cream-dark: #EDE5D9;
  --earth: #2D2923;

  --accent: #A66A4F;
  --accent-dark: #7E3F2D;
  --accent-soft: #F3DED3;
  --accent-pale: #FAEEE8;

  --brass: #A88445;
  --brass-soft: #D7C09A;
  --brass-pale: #EFE4CC;

  --olive: #59675B;
  --olive-dark: #303B34;
  --label: #8E5B49;

  --danger: #A33A2F;
  --danger-soft: #FFF1EF;
  --success: #2F6846;
  --success-soft: #EDF8F1;
  --warning: #9A6700;
  --warning-soft: #FFF7DF;
  --info: #344F86;
  --info-soft: #EEF3FF;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-xxl: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 10px 30px rgba(23, 20, 15, 0.055);
  --shadow-md: 0 18px 46px rgba(23, 20, 15, 0.075);
  --shadow-lg: 0 30px 80px rgba(23, 20, 15, 0.12);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.78);

  --container: 1180px;
  --page-pad: 92px;
  --page-pad-tablet: 32px;
  --page-pad-mobile: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  padding: 32px 16px;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* =========================================================
   2. Layout Shell - Boxed Container
   ========================================================= */

.page-shell {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid #ddd5c9;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: 
    0 36px 100px rgba(23, 20, 15, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  position: relative;
}

.site-container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

main {
  background: #fff;
}

/* =========================================================
   3. Header + Navigation - Balanced Layout
   ========================================================= */

.site-header {
  border-bottom: 1px solid rgba(228, 221, 210, 0.88);
  background: rgba(255, 254, 250, 0.88);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}

.header-inner {
  min-height: 68px;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 54px;
  padding: 0 18px;
}
@media (max-width: 1100px) {
  .header-inner {
    max-width: 920px;
    column-gap: 34px;
  }

  .nav-links {
    gap: 18px;
  }

  .login-btn {
    padding: 8px 14px;
  }

  .start-btn,
  .btn-dark {
    padding: 9px 16px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.42), transparent 35%),
    linear-gradient(145deg, var(--ink), #342B23);
  box-shadow: 0 10px 22px rgba(23, 20, 15, 0.18);
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  line-height: 1;
  color: #fff;
}

/* Navigation - centered */
.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Header actions - right aligned */
.desktop-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Login Button */
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 2px solid rgba(23, 20, 15, 0.12);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.login-btn:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  transform: translateY(-2px);
  background: rgba(126, 63, 45, 0.05);
}

/* Sign Up Button */
.start-btn,
.btn-dark {
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: 0 14px 34px rgba(23, 20, 15, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  white-space: nowrap;
}

.start-btn:hover,
.btn-dark:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(126, 63, 45, 0.22);
}

/* Mobile hamburger */
.hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(52, 47, 37, 0.14);
  background: #fff;
  border-radius: var(--radius-pill);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: #2f2a21;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn:hover {
  background: var(--cream);
  border-color: rgba(184, 117, 49, 0.35);
}

.hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 20px 30px rgba(52, 47, 37, 0.10);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-links {
  list-style: none;
  display: grid;
  gap: 4px;
}

.mobile-menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(52, 47, 37, 0.08);
  font-size: 0.95rem;
  font-weight: 800;
  color: #2f2a21;
}

.mobile-menu-links a::after {
  content: "→";
  color: var(--accent-dark);
  font-weight: 900;
}

.mobile-menu-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mobile-menu-actions a,
.mobile-menu-actions button {
  width: 100%;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 800;
}

.mobile-search {
  background: var(--cream);
  color: #2f2a21;
  border: 1px solid rgba(52, 47, 37, 0.10) !important;
}

.mobile-advertise {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.mobile-login {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(23, 20, 15, 0.10) !important;
}

.mobile-login:hover {
  background: var(--accent-pale);
  border-color: var(--accent-dark) !important;
}

.mobile-cta {
  background: #111;
  color: #fff;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 18, 0.28);
  z-index: 10;
}

.mobile-menu-backdrop.is-open {
  display: block;
}

/* =========================================================
   4. Homepage Hero + Trending
   ========================================================= */

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 28px;
  padding: 42px var(--page-pad) 46px;
}

.featured-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ddd;
  display: block;
}

.featured-media img,
.featured-media video {
  aspect-ratio: 16 / 10.2;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.featured-article:hover .featured-media img,
.featured-article:hover .featured-media video {
  transform: scale(1.025);
}

.featured-video-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 17, 15, 0.82);
  color: #fff;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.featured-video-badge span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: #111;
  font-size: 0.75rem;
  padding-left: 2px;
}

.featured-title {
  max-width: 780px;
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(1rem, 1.75vw, 1.5rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.featured-title a {
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: var(--accent-dark);
}

.featured-excerpt {
  margin-top: 14px;
  max-width: 660px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.article-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-weight: 700;
}

.author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-pale);
  color: var(--accent-dark);
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid rgba(126, 63, 45, 0.12);
}

.trending-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trending-hero {
  min-height: 168px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(168, 132, 69, 0.55) 0 16%, transparent 17%),
    radial-gradient(circle at 95% 80%, rgba(89, 103, 91, 0.42) 0 19%, transparent 20%),
    linear-gradient(135deg, #3A3027 0%, #17140F 52%, #3B4439 100%);
  display: flex;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.trending-hero h2 {
  font-size: 1.82rem;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.06em;
  max-width: 220px;
}

.trend-list {
  display: grid;
  gap: 0;
}

.trend-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.trend-thumb {
  border-radius: 3px;
  overflow: hidden;
  background: #e6e0d6;
}

.trend-thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trend-item:hover .trend-thumb img {
  transform: scale(1.04);
}

.trend-title {
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}

.trend-title a {
  transition: color 0.2s ease;
}

.trend-title a:hover {
  color: var(--accent-dark);
}

.trend-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--muted-2);
}

.trend-tag {
  background: var(--accent-pale);
  color: var(--accent-dark);
  padding: 4px 7px;
  border-radius: 3px;
  font-weight: 700;
  border: 1px solid rgba(126, 63, 45, 0.12);
}

/* =========================================================
   5. Topic Pills
   ========================================================= */

.topic-strip {
  padding: 0 var(--page-pad) 42px;
}

.topic-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.topic-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-right: 4px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168, 132, 69, 0.22);
  background: rgba(255, 254, 250, 0.72);
  color: var(--accent-dark);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.topic-pill:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   6. Article Cards + Sections
   ========================================================= */

.content-section {
  padding: 0 var(--page-pad) 42px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 132, 69, 0.42);
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.article-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.card-title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.card-title a:hover {
  color: var(--accent-dark);
}

.card-excerpt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* =========================================================
   7. Sponsored Partner Spotlight / Ad Space
   ========================================================= */

.partner-spotlight-section {
  padding: 0 var(--page-pad) 46px;
}

.partner-spotlight {
  position: relative;
  min-height: 330px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(23, 20, 15, 0.88), rgba(45, 41, 35, 0.68), rgba(45, 41, 35, 0.16)),
    var(--partner-bg, url("https://picsum.photos/id/180/1400/700")) center / cover no-repeat fixed;
  border: 1px solid rgba(255, 254, 250, 0.22);
  box-shadow: 0 18px 38px rgba(52, 47, 37, 0.12);
}

.partner-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(184, 117, 49, 0.26), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(95, 101, 72, 0.28), transparent 24%);
  z-index: -1;
}

.partner-content {
  max-width: 560px;
  padding: 42px;
  color: #fff;
}

.partner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.13);
  color: #FFFEFA;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.partner-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d99a55;
}

.partner-title {
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
  color: #FFFEFA;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.partner-text {
  max-width: 490px;
  color: rgba(255, 254, 250, 0.84);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 24px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.partner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.partner-btn:hover {
  transform: translateY(-2px);
  background: var(--brass);
  color: #fff;
}

.partner-note {
  color: rgba(255, 254, 250, 0.76);
  font-size: 0.76rem;
  font-weight: 600;
}

/* =========================================================
   8. Newsletter Callout
   ========================================================= */

.newsletter-callout-section {
  padding: 0 var(--page-pad) 46px;
}

.newsletter-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(168, 132, 69, 0.22);
  background:
    radial-gradient(circle at 92% 10%, rgba(168, 132, 69, 0.16), transparent 28%),
    linear-gradient(135deg, #FFFEFA 0%, #F8F1E8 100%);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.newsletter-callout h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 8px;
}

.newsletter-callout p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 560px;
}

.callout-form {
  display: flex;
  gap: 8px;
  min-width: 330px;
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(215, 203, 187, 0.92);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.callout-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.82rem;
  background: transparent;
}

.callout-form button {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  padding: 10px 15px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(23, 20, 15, 0.16);
}

.callout-form button:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 42px rgba(126, 63, 45, 0.22);
}

/* =========================================================
   9. Featured Posts Strip
   ========================================================= */

.featured-posts-strip {
  padding: 0 var(--page-pad) 56px;
  background:
    radial-gradient(circle at 12px 12px, rgba(23, 20, 15, 0.045) 1px, transparent 1.5px),
    #F4F1EB;
  background-size: 34px 34px;
  border-top: 1px solid rgba(52, 47, 37, 0.09);
}

.featured-posts-inner {
  padding-top: 26px;
}

.featured-posts-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  position: relative;
}

.featured-script-title {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--ink);
  opacity: 0.95;
  transform: rotate(-7deg);
  letter-spacing: -0.03em;
}

.featured-label {
  display: inline-block;
  margin-top: 4px;
  background: rgba(255, 254, 250, 0.78);
  border: 1px solid rgba(215, 203, 187, 0.86);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(52, 47, 37, 0.06);
}

.featured-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.featured-home-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e7e0d4;
}

.featured-home-image img {
  aspect-ratio: 16 / 7.6;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-home-card:hover .featured-home-image img {
  transform: scale(1.035);
}

.featured-image-title {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  line-height: 0.95;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.featured-home-title {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.28;
  color: var(--ink);
}

.featured-home-title a:hover {
  color: var(--accent-dark);
}

/* =========================================================
   10. Video Section
   ========================================================= */

.video-feature-section {
  padding: 0 var(--page-pad) 64px;
  background:
    radial-gradient(circle at 12px 12px, rgba(23, 20, 15, 0.045) 1px, transparent 1.5px),
    #F4F1EB;
  background-size: 34px 34px;
}

.video-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(52,47,37,0.09);
  padding-top: 28px;
}

.video-title-group small {
  display: block;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.video-clean-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.video-view-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.video-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-card {
  background: var(--panel);
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 132, 69, 0.42);
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd;
}

.video-thumb img {
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.035);
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-play-button span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.video-card-body {
  padding: 20px;
}

.video-category {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.video-card-title {
  font-size: 1.1rem;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.video-card-title a:hover {
  color: var(--accent-dark);
}

.video-card-meta {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.post-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.post-category-links .page-kicker {
  display: inline-flex;
}

/* =========================================================
   11. Footer - Clean Gradient (No Dot Pattern)
   ========================================================= */

.footer {
  background: linear-gradient(145deg, #17140F 0%, #29231D 58%, #34291F 100%);
  border-top: 1px solid rgba(255, 254, 250, 0.08);
  padding: 52px var(--page-pad) 28px;
  color: rgba(255, 254, 250, 0.76);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 38px;
  align-items: start;
}

.footer-brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FFFEFA;
  margin-bottom: 12px;
}

.footer-brand-text {
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 254, 250, 0.62);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: inline-grid;
  place-items: center;
  background: rgba(255, 254, 250, 0.08);
  border: 1px solid rgba(255, 254, 250, 0.12);
  color: rgba(255, 254, 250, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: var(--brass);
  color: #fff;
  box-shadow: 0 10px 22px rgba(52, 47, 37, 0.16);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #FFFEFA;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255, 254, 250, 0.62);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--brass-soft);
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 254, 250, 0.62);
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 254, 250, 0.08);
  border: 1px solid rgba(255, 254, 250, 0.12);
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.footer-newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  background: transparent;
  color: #FFFEFA;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 254, 250, 0.5);
}

.footer-newsletter-form button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  background: var(--accent-dark);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: var(--accent);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 254, 250, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(255, 254, 250, 0.62);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  color: rgba(255, 254, 250, 0.62);
}

.footer-bottom-links a:hover {
  color: var(--brass-soft);
}

/* =========================================================
   12. Post Detail / Listing Pages
   ========================================================= */

.page-content {
  padding: 42px var(--page-pad) 64px;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-title {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  max-width: 760px;
  color: var(--ink);
}

.page-description {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 660px;
}
.author-profile-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(228, 221, 210, 0.94);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  margin-bottom: 34px;
}

.author-profile-avatar img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 0 10px 24px rgba(52, 47, 37, 0.12);
}

.author-profile-content .page-title {
  margin-bottom: 10px;
}

.author-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.author-profile-links a {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent-pale);
  border: 1px solid rgba(126, 63, 45, 0.12);
  color: var(--accent-dark);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.author-profile-links a:hover {
  background: var(--accent-dark);
  color: #fff;
}

@media (max-width: 760px) {
  .author-profile-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .author-profile-avatar img {
    width: 120px;
    height: 120px;
  }
}
.post-shell {
  padding: 42px var(--page-pad) 68px;
}

.post-header {
  max-width: 760px;
  margin: 0 auto 28px;
}

.post-title {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  max-width: 760px;
  color: var(--ink);
}

.post-excerpt {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-featured-media {
  max-width: 960px;
  margin: 32px auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #e7e0d4;
  box-shadow: var(--shadow-md);
}

.post-featured-media img,
.post-featured-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.85;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body pre,
.post-body figure {
  margin-bottom: 1.35rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin: 2rem 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.post-body h2 {
  font-size: 1.8rem;
}

.post-body h3 {
  font-size: 1.35rem;
}

.post-body a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body blockquote {
  border-left: 4px solid var(--brass);
  padding: 16px 20px;
  background: #FAF5EC;
  color: #51483D;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-body img {
  border-radius: var(--radius-md);
}

.post-body code {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-body pre {
  background: #171613;
  color: #fff6e9;
  padding: 18px;
  border-radius: var(--radius-md);
  overflow-x: auto;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-card {
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.media-preview {
  background: var(--cream);
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-file-icon {
  width: 86px;
  height: 86px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--accent-dark);
}

.media-card-body {
  padding: 14px;
}

.media-url-input {
  font-size: 0.76rem;
}

@media (max-width: 1024px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   13. Forms, Buttons, Alerts
   ========================================================= */

.form-card {
  background: var(--panel);
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  border: 1px solid rgba(215, 203, 187, 0.92);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  color: var(--text);
  background: var(--panel);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: rgba(168, 132, 69, 0.68);
  box-shadow: 0 0 0 4px rgba(168, 132, 69, 0.13);
}

.form-help {
  font-size: 0.76rem;
  color: var(--muted);
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  border: 0;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.22);
}

.btn-secondary {
  background: var(--cream);
  color: #2f2a21;
  border: 1px solid var(--line);
}

.btn-outline {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid rgba(184, 117, 49, 0.3);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.alert {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid transparent;
  margin-bottom: 18px;
}

.alert-success {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(47, 104, 70, 0.18);
}

.alert-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.18);
}

.alert-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: rgba(154, 103, 0, 0.18);
}

.alert-info {
  background: var(--info-soft);
  color: var(--info);
  border-color: rgba(49, 86, 111, 0.18);
}
.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2f2a21;
}

.quill-editor {
  min-height: 340px;
  background: #fff;
}

.ql-toolbar.ql-snow {
  border-color: #d9d1c5;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--cream);
}

.ql-container.ql-snow {
  border-color: #d9d1c5;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-height: 340px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 1rem;
}

.ql-editor {
  min-height: 340px;
  line-height: 1.7;
}

.ql-editor h2,
.ql-editor h3,
.ql-editor h4 {
  line-height: 1.2;
}
/* =========================================================
   14. Tables, Pagination, Admin Basics
   ========================================================= */

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 70vh;
  background: #fff;
}

.admin-sidebar {
  background: #171613;
  color: #fff;
  padding: 24px 18px;
}

.admin-sidebar-title {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f7ead8;
  margin-bottom: 18px;
}

.admin-nav {
  list-style: none;
  display: grid;
  gap: 6px;
}

.admin-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.admin-main {
  padding: 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-title {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  max-width: 760px;
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 0.86rem;
}

.data-table th {
  color: #2f2a21;
  background: var(--cream);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 800;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-neutral {
  background: var(--cream);
  color: var(--muted);
}

.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  color: #2f2a21;
}

.pagination a:hover,
.pagination .active {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

/* =========================================================
   15. Auth Pages
   ========================================================= */
/* Concise public account/signup forms */
.account-page-heading,
.account-alert,
.account-form-card {
  width: min(100%, 640px);
  margin-left: auto;
  margin-right: auto;
}

.account-form-card {
  padding: 26px;
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.account-form-actions .btn,
.account-form-actions button[type="submit"] {
  width: auto;
  min-width: 170px;
}

@media (max-width: 640px) {
  .account-page-heading,
  .account-alert,
  .account-form-card {
    width: 100%;
  }

  .account-form-card {
    padding: 20px;
  }

  .account-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-form-actions .btn,
  .account-form-actions button[type="submit"] {
    width: 100%;
  }
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 8%, rgba(168, 132, 69, 0.12), transparent 30%),
    radial-gradient(circle at 82% 86%, rgba(89, 103, 91, 0.10), transparent 30%),
    var(--bg);
}

.auth-card {
  width: min(100%, 440px);
  background: var(--panel);
  border: 1px solid rgba(215, 203, 187, 0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-title {
  font-size: 1.75rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
  margin-bottom: 8px;
  color: var(--ink);
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.article-engagement,
.article-comments {
  margin-top: 42px;
}

.vote-panel {
  border: 1px solid rgba(228, 221, 210, 0.94);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.vote-panel h2 {
  margin: 8px 0;
}

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

.comment-form {
  margin-bottom: 24px;
}
/* Comment form submit button should not span full width on desktop */
.comment-form .btn,
.comment-form button[type="submit"] {
  width: auto;
  min-width: 180px;
  justify-self: start;
  align-self: start;
  padding-left: 20px;
  padding-right: 20px;
}

/* Keep it full-width only on small mobile screens */
@media (max-width: 560px) {
  .comment-form .btn,
  .comment-form button[type="submit"] {
    width: 100%;
    justify-self: stretch;
  }
}
.comments-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.comment-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  border: 1px solid rgba(228, 221, 210, 0.94);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.comment-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.comment-meta a,
.comment-meta strong {
  font-weight: 900;
  color: var(--ink);
}

.comment-meta span {
  color: var(--muted);
}

.comment-card p {
  color: var(--muted);
  line-height: 1.65;
}

.comment-admin-body {
  max-width: 460px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .vote-panel {
    flex-direction: column;
  }

  .comment-card {
    grid-template-columns: 44px 1fr;
  }

  .comment-card img {
    width: 44px;
    height: 44px;
  }
}
/* =========================================================
   16. Utility Classes
   ========================================================= */

.hidden {
  display: none !important;
}

.text-muted {
  color: var(--muted) !important;
}

.text-center {
  text-align: center !important;
}

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }

.flex {
  display: flex;
}

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

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}
.category-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-directory-card {
  border: 1px solid rgba(228, 221, 210, 0.94);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.category-directory-card h2 {
  margin: 10px 0;
  font-size: 1.35rem;
}

.category-directory-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.video-card {
  border: 1px solid rgba(228, 221, 210, 0.94);
  border-radius: var(--radius-xl);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.video-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.play-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.video-duration {
  position: absolute;
  right: 14px;
  bottom: 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.video-card-body {
  padding: 18px;
}

.video-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.video-card-body p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .category-directory-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-directory-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   17. Responsive - FIXED
   ========================================================= */

@media (max-width: 1024px) {
  .featured-layout,
  .topic-strip,
  .content-section,
  .partner-spotlight-section,
  .newsletter-callout-section,
  .featured-posts-strip,
  .video-feature-section,
  .footer,
  .page-content,
  .post-shell {
    padding-left: var(--page-pad-tablet);
    padding-right: var(--page-pad-tablet);
  }

  .featured-layout {
    grid-template-columns: 1fr;
  }

  .trending-panel {
    margin-top: 10px;
  }

  .trending-hero {
    min-height: 130px;
  }

  .partner-spotlight {
    background-attachment: scroll;
  }

  .newsletter-callout {
    grid-template-columns: 1fr;
  }

  .callout-form {
    width: 100%;
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  .page-shell {
    border-radius: 22px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    min-height: 64px;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .featured-layout,
  .topic-strip,
  .content-section,
  .partner-spotlight-section,
  .newsletter-callout-section,
  .featured-posts-strip,
  .video-feature-section,
  .footer,
  .page-content,
  .post-shell {
    padding-left: var(--page-pad-mobile);
    padding-right: var(--page-pad-mobile);
  }

  .featured-layout {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .trend-item {
    grid-template-columns: 116px 1fr;
    gap: 12px;
  }

  .card-grid,
  .featured-posts-grid,
  .video-cards-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .partner-spotlight {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(15, 14, 12, 0.90) 0%, rgba(15, 14, 12, 0.74) 100%),
      var(--partner-bg, url("https://picsum.photos/id/180/900/900")) center / cover no-repeat;
  }

  .partner-content {
    padding: 30px 22px;
  }

  .partner-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-btn {
    width: 100%;
  }

  .featured-posts-heading,
  .video-section-header,
  .section-header,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-label {
    order: 3;
  }

  .featured-media img,
  .featured-media video,
  .featured-home-image img,
  .video-thumb img {
    aspect-ratio: 16 / 9;
  }

  .featured-title {
    font-size: 2rem;
  }

  .newsletter-callout {
    padding: 22px;
  }

  .callout-form,
  .footer-newsletter-form {
    border-radius: 18px;
    flex-direction: column;
    padding: 10px;
  }

  .callout-form button,
  .footer-newsletter-form button {
    width: 100%;
  }

  .footer {
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-title {
    font-size: clamp(1.35rem, 7vw, 2rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.055em;
  }

  .admin-main {
    padding: 22px 18px;
  }

  .auth-card {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .trend-item {
    grid-template-columns: 96px 1fr;
  }

  .trend-title {
    font-size: 0.88rem;
  }

  .trend-meta {
    font-size: 0.62rem;
  }

  .brand {
    font-size: 0.74rem;
  }

  .featured-title {
    font-size: 1.65rem;
  }

  .partner-title {
    font-size: 1.55rem;
  }
}

/* =========================================================
   18. Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   19. Cookie Banner
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 10000;
}

.cookie-banner-inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(17, 25, 23, 0.96);
    color: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.cookie-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.86rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #e5f5ef;
    font-weight: 800;
    margin-left: 8px;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.cookie-reject {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cookie-accept {
    background: #ffffff;
    color: #1f5f4a;
}

@media (max-width: 760px) {
    .cookie-banner-inner {
        grid-template-columns: 1fr;
    }

    .cookie-banner-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   20. Announcement Bar
   ========================================================= */

.announcement-bar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
}

.announcement-bar {
    width: 100%;
    display: none;
    justify-content: center;
}

.announcement-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 8px 24px;
}

.announcement-bar p {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 800;
}

.announcement-bar-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 900;
    text-decoration: none;
}

.announcement-bar-dark {
    background: #111917;
    color: #ffffff;
}

.announcement-bar-dark .announcement-bar-link {
    background: #ffffff;
    color: #1f5f4a;
}

.announcement-bar-light {
    background: #e5f5ef;
    color: #1f5f4a;
}

.announcement-bar-light .announcement-bar-link {
    background: #1f5f4a;
    color: #ffffff;
}

.announcement-bar-gold {
    background: #fff7ed;
    color: #7c3f08;
}

.announcement-bar-gold .announcement-bar-link {
    background: #b87531;
    color: #ffffff;
}

@media (max-width: 760px) {
    .announcement-bar-inner {
        flex-direction: column;
        gap: 7px;
        padding: 10px var(--page-pad-mobile, 18px);
    }

    .announcement-bar p {
        font-size: 0.78rem;
    }
}

/* =========================================================
   21. Fixed Announcement + Navigation Stack
   ========================================================= */

.announcement-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    width: 100%;
}

.site-header {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10001;
    width: 100%;
}

main {
    padding-top: 64px;
}

.page-shell:has(.announcement-bar) .site-header {
    top: 48px;
}

.page-shell:has(.announcement-bar) main {
    padding-top: 112px;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 10000;
}

.page-shell:has(.announcement-bar) .mobile-menu {
    top: 112px;
}

.mobile-menu-backdrop {
    z-index: 9999;
}

.announcement-bar-inner {
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
}

@media (max-width: 760px) {
    .announcement-bar-inner {
        min-height: 72px;
    }

    .page-shell:has(.announcement-bar) .site-header {
        top: 72px;
    }

    .page-shell:has(.announcement-bar) main {
        padding-top: 136px;
    }

    .page-shell:has(.announcement-bar) .mobile-menu {
        top: 136px;
    }

    main {
        padding-top: 64px;
    }
}/* =========================================================
   SIDEBAR ADS - DISTINCTIVE PREMIUM STYLE (MIXED)
   ========================================================= */

/* Sponsored container - subtle premium feel */
.sidebar-sponsored {
  padding: 8px 12px 12px !important;
  background: rgba(255, 254, 250, 0.4) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(168, 132, 69, 0.2) !important;
  position: relative !important;
}

/* Subtle top accent line */
.sidebar-sponsored::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 20% !important;
  right: 20% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #d96f57, transparent) !important;
  border-radius: 0 0 2px 2px !important;
  opacity: 0.6 !important;
}

/* Sponsored header */
.sidebar-sponsored .sponsored-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
  padding-bottom: 4px !important;
  border-bottom: 1px solid rgba(228, 221, 210, 0.5) !important;
}

.sidebar-sponsored .sponsored-header h3 {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  color: var(--text) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* "✦" icon before title */
.sidebar-sponsored .sponsored-header h3::before {
  content: "✦ " !important;
  color: #d96f57 !important;
}

/* "Sponsored" label - clean and distinctive */
.sidebar-sponsored .sponsored-label {
  font-size: 0.45rem !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  background: rgba(217, 111, 87, 0.12) !important;
  color: #d96f57 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* Individual ad item */
.sidebar-sponsored .sponsored-item {
  display: block !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px !important;
  text-decoration: none !important;
  color: #333 !important;
  transition: all 0.25s ease !important;
  border: 1px solid rgba(228, 221, 210, 0.5) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}

.sidebar-sponsored .sponsored-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(168, 132, 69, 0.10) !important;
  border-color: rgba(168, 132, 69, 0.3) !important;
}

/* Ad image */
.sidebar-sponsored .sponsored-item img {
  width: 100% !important;
  height: auto !important;
  max-height: 80px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  margin-bottom: 4px !important;
}

/* Ad content */
.sidebar-sponsored .sponsored-content strong {
  display: block !important;
  font-size: 0.75rem !important;
  color: #1a1814 !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.sidebar-sponsored .sponsored-content strong:hover {
  color: #d96f57 !important;
}

.sidebar-sponsored .sponsored-content span {
  display: block !important;
  font-size: 0.6rem !important;
  color: #8c8377 !important;
  margin-top: 1px !important;
}

/* Subtle "AD" badge on image corner */
.sidebar-sponsored .sponsored-item {
  position: relative !important;
}

.sidebar-sponsored .sponsored-item::after {
  content: "AD" !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  font-size: 0.4rem !important;
  font-weight: 800 !important;
  background: rgba(0,0,0,0.55) !important;
  color: #fff !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  letter-spacing: 0.05em !important;
}

/* Rotation dots - slightly larger for visibility */
.slider-dots {
  margin-top: 6px !important;
  gap: 6px !important;
}

.slider-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #d5d5d5 !important;
  border: none !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

.slider-dot.active {
  width: 18px !important;
  background: #d96f57 !important;
  border-radius: 4px !important;
}.trending-hero {
  min-height: 70px !important;
  padding: 10px 16px !important;
}

.trending-hero h2 {
  font-size: 1rem !important;
  line-height: 1.1 !important;
}/* =========================================================
   FIX: Trending Thumbnails - Force Fill
   ========================================================= */

/* Make trend-item grid use a fixed thumb size */
.trend-item {
  display: grid !important;
  grid-template-columns: 120px 1fr !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  align-items: start !important;
  border-bottom: 1px solid var(--line) !important;
}

/* Force thumb container to have a specific size */
.trend-thumb {
  display: block !important;
  width: 120px !important;
  height: 68px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #e6e0d6 !important;
  flex-shrink: 0 !important;
}

/* Make image fill the container completely */
.trend-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}/* =========================================================
   FIX: Trending Thumbnails - Ultimate Force
   ========================================================= */

.trend-item .trend-thumb {
  display: block !important;
  width: 120px !important;
  height: 68px !important;
  min-width: 120px !important;
  min-height: 68px !important;
  max-width: 120px !important;
  max-height: 68px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #e6e0d6 !important;
  flex-shrink: 0 !important;
}

.trend-item .trend-thumb img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}/* ============================================================
   LOUD YELL PUBLIC UI — PREMIUM EDITORIAL POLISH
   Version: v1.0.1
   Purpose: Final visual elevation layer for public-facing pages
   Add this at the BOTTOM of the public theme CSS file.

   Changelog:
   v1.0.1 - FIXED: Removed narrow title max-width rules that caused
            post titles to wrap/squish unnaturally.
          - PRESERVED: Premium card, image, header, sidebar, ad,
            typography, and hover refinements.
   v1.0.0 - Initial premium polish layer.
============================================================ */

/* -----------------------------
   Global Refinement
----------------------------- */

:root {
    --ly-ink: #191612;
    --ly-muted: #6f675e;
    --ly-soft: #f7f1e9;
    --ly-card: rgba(255, 252, 247, 0.86);
    --ly-line: rgba(76, 52, 37, 0.12);
    --ly-line-strong: rgba(76, 52, 37, 0.18);
    --ly-accent: #8b3f2f;
    --ly-accent-dark: #5c241b;
    --ly-accent-soft: #efe0d8;
    --ly-radius-lg: 28px;
    --ly-radius-md: 18px;
    --ly-shadow-soft: 0 18px 50px rgba(29, 24, 18, 0.08);
    --ly-shadow-lift: 0 26px 70px rgba(29, 24, 18, 0.13);
}

body {
    color: var(--ly-ink);
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at 18% 0%, rgba(139, 63, 47, 0.035), transparent 34rem),
        linear-gradient(180deg, #fbf8f3 0%, #f5eee5 100%);
}

img,
video {
    max-width: 100%;
}

a {
    text-underline-offset: 0.18em;
}

/* -----------------------------
   Header / Navigation
----------------------------- */

.site-header,
.public-header,
.main-header,
.navbar,
.header {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(251, 248, 243, 0.82);
    border-bottom: 1px solid rgba(76, 52, 37, 0.08);
    box-shadow: 0 10px 30px rgba(29, 24, 18, 0.035);
}

.site-nav a,
.navbar a,
.main-nav a,
.header a {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        border-color 180ms ease;
}

.site-nav a:hover,
.navbar a:hover,
.main-nav a:hover,
.header a:hover {
    color: var(--ly-accent);
}

.site-logo,
.brand,
.logo {
    letter-spacing: 0.18em;
    font-weight: 900;
}

.nav-cta,
.btn-signup,
a[href*="signup"],
button[type="submit"],
.btn-primary {
    box-shadow: 0 10px 26px rgba(25, 22, 18, 0.12);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.nav-cta:hover,
.btn-signup:hover,
a[href*="signup"]:hover,
button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(25, 22, 18, 0.18);
}

/* -----------------------------
   Premium Typography
----------------------------- */

/*
   IMPORTANT:
   Do NOT set narrow max-width values on titles.
   The earlier version used 12ch/16ch, which caused titles to squish.
*/

h1,
.hero-title,
.featured-title,
.article-title {
    max-width: none;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

h2,
.section-title {
    max-width: none;
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

h3,
.card-title,
.post-card-title,
.article-card-title {
    max-width: none;
    letter-spacing: -0.022em;
    line-height: 1.1;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.post-title,
.article-title,
.card-title,
.post-card-title,
.article-card-title,
.article-card h3,
.post-card h3,
.latest-card h3,
.story-card h3 {
    max-width: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

p,
.excerpt,
.article-excerpt,
.card-excerpt {
    color: var(--ly-muted);
    line-height: 1.65;
}

/* -----------------------------
   Hero / Featured Editorial Area
----------------------------- */

.hero,
.featured-post,
.home-hero,
.editorial-hero {
    position: relative;
    min-width: 0;
}

.hero img,
.featured-post img,
.home-hero img,
.editorial-hero img {
    border-radius: var(--ly-radius-lg);
    box-shadow: 0 24px 70px rgba(29, 24, 18, 0.12);
    filter: saturate(0.94) contrast(1.04);
    transition:
        transform 420ms ease,
        filter 420ms ease,
        box-shadow 420ms ease;
}

.hero:hover img,
.featured-post:hover img,
.home-hero:hover img,
.editorial-hero:hover img {
    transform: translateY(-2px);
    filter: saturate(1) contrast(1.06);
    box-shadow: 0 30px 86px rgba(29, 24, 18, 0.16);
}

.hero::after,
.featured-post::after,
.home-hero::after,
.editorial-hero::after {
    content: "";
    position: absolute;
    inset: auto 8% -24px 8%;
    height: 48px;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(29, 24, 18, 0.14), transparent 68%);
    filter: blur(16px);
    opacity: 0.45;
    z-index: -1;
}

/* -----------------------------
   Article Cards
----------------------------- */

.article-card,
.post-card,
.card,
.latest-card,
.story-card {
    min-width: 0;
    background: var(--ly-card);
    border: 1px solid var(--ly-line);
    border-radius: var(--ly-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(29, 24, 18, 0.055);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease;
}

.article-card:hover,
.post-card:hover,
.card:hover,
.latest-card:hover,
.story-card:hover {
    transform: translateY(-4px);
    border-color: var(--ly-line-strong);
    background: rgba(255, 252, 247, 0.96);
    box-shadow: var(--ly-shadow-lift);
}

.article-card img,
.post-card img,
.card img,
.latest-card img,
.story-card img {
    filter: saturate(0.92) contrast(1.03);
    transition:
        transform 520ms ease,
        filter 520ms ease;
}

.article-card:hover img,
.post-card:hover img,
.card:hover img,
.latest-card:hover img,
.story-card:hover img {
    transform: scale(1.025);
    filter: saturate(1) contrast(1.06);
}

.article-card h3,
.post-card h3,
.card h3,
.latest-card h3,
.story-card h3 {
    transition: color 180ms ease;
}

.article-card:hover h3,
.post-card:hover h3,
.card:hover h3,
.latest-card:hover h3,
.story-card:hover h3 {
    color: var(--ly-accent);
}

/* -----------------------------
   Category Pills / Labels
----------------------------- */

.category-pill,
.topic-pill,
.tag,
.badge,
.post-category,
.article-category {
    border: 1px solid rgba(139, 63, 47, 0.16);
    background: rgba(255, 250, 244, 0.74);
    color: #7c3528;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(76, 52, 37, 0.035);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.category-pill:hover,
.topic-pill:hover,
.tag:hover,
.badge:hover {
    transform: translateY(-1px);
    background: #fff8f1;
    border-color: rgba(139, 63, 47, 0.28);
}

/* -----------------------------
   Section Headings
----------------------------- */

.section-heading,
.section-header,
.latest-header,
.explore-header {
    position: relative;
}

.section-title,
.latest-title,
.section-heading h2,
.section-header h2 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.section-heading::after,
.section-header::after,
.latest-header::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 0.75rem;
    background: linear-gradient(90deg, rgba(139, 63, 47, 0.72), transparent);
    border-radius: 999px;
}

/* -----------------------------
   Sidebar / Trending Modules
----------------------------- */

.sidebar-card,
.trending-card,
.featured-picks,
.sponsored-card,
.aside-card {
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(251, 246, 239, 0.88));
    border: 1px solid rgba(76, 52, 37, 0.13);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(29, 24, 18, 0.065);
}

.trending-card,
.sidebar-card.dark,
.sidebar-feature {
    position: relative;
    overflow: hidden;
}

.trending-card::before,
.sidebar-card.dark::before,
.sidebar-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 0%, rgba(195, 156, 83, 0.34), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.trending-item,
.sidebar-post,
.aside-post {
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.trending-item:hover,
.sidebar-post:hover,
.aside-post:hover {
    transform: translateX(2px);
}

/* -----------------------------
   Sponsored / Ad Modules
----------------------------- */

.sponsored-card,
.featured-picks,
.ad-card,
.native-ad {
    position: relative;
    padding: 0.85rem;
}

.sponsored-label,
.ad-label,
.native-ad-label,
.featured-picks .label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(139, 63, 47, 0.75);
}

.sponsored-label::before,
.ad-label::before,
.native-ad-label::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.72;
}

.sponsored-card img,
.featured-picks img,
.ad-card img,
.native-ad img {
    border-radius: 12px;
    filter: saturate(0.9) contrast(1.04);
}

.sponsored-card:hover,
.featured-picks:hover,
.ad-card:hover,
.native-ad:hover {
    box-shadow: var(--ly-shadow-soft);
}

/* -----------------------------
   Metadata Rows
----------------------------- */

.meta,
.post-meta,
.article-meta,
.card-meta,
.author-row {
    color: #8a8177;
    font-size: 0.76rem;
    font-weight: 650;
}

.meta img,
.post-meta img,
.article-meta img,
.author-row img {
    box-shadow: 0 2px 8px rgba(29, 24, 18, 0.12);
}

/* -----------------------------
   Links / Explore CTA
----------------------------- */

.explore-link,
.read-more,
.more-link,
.section-link {
    color: var(--ly-accent);
    font-weight: 850;
    letter-spacing: -0.01em;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.explore-link:hover,
.read-more:hover,
.more-link:hover,
.section-link:hover {
    color: var(--ly-accent-dark);
    transform: translateX(2px);
}

/* -----------------------------
   Forms / Search
----------------------------- */

input,
select,
textarea {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(139, 63, 47, 0.48);
    box-shadow: 0 0 0 4px rgba(139, 63, 47, 0.09);
}

/* -----------------------------
   Premium Image Treatment Utility
----------------------------- */

.editorial-image,
.article-image,
.post-image {
    border-radius: var(--ly-radius-lg);
    overflow: hidden;
    background: #eee6dc;
}

.editorial-image img,
.article-image img,
.post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -----------------------------
   Safe Title Layout Reset
   Prevents narrow wrapping/squishing.
----------------------------- */

.hero-title,
.featured-title,
.article-title,
.post-title,
.card-title,
.post-card-title,
.article-card-title,
.article-card h3,
.post-card h3,
.latest-card h3,
.story-card h3 {
    max-width: none !important;
    width: auto;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

/* -----------------------------
   Mobile Polish
----------------------------- */

@media (max-width: 768px) {
    h1,
    .hero-title,
    .featured-title,
    .article-title {
        max-width: none;
        letter-spacing: -0.03em;
        line-height: 1.04;
        text-wrap: balance;
    }

    h2,
    .section-title {
        max-width: none;
        letter-spacing: -0.025em;
        line-height: 1.08;
    }

    h3,
    .card-title,
    .post-card-title,
    .article-card-title {
        max-width: none;
        letter-spacing: -0.018em;
        line-height: 1.12;
    }

    .article-card,
    .post-card,
    .card,
    .latest-card,
    .story-card {
        border-radius: 20px;
    }

    .hero img,
    .featured-post img,
    .home-hero img,
    .editorial-hero img {
        border-radius: 22px;
    }

    .site-header,
    .public-header,
    .main-header,
    .navbar,
    .header {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

/* -----------------------------
   Motion Accessibility
----------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}