
:root {
  --lh-news-ink: #111217;
  --lh-news-muted: #626772;
  --lh-news-paper: #f5f1e8;
  --lh-news-card: #fffaf0;
  --lh-news-red: #b31924;
  --lh-news-blue: #162a44;
  --lh-news-gold: #d6a04f;
}

body {
  background: var(--lh-news-paper);
  color: var(--lh-news-ink);
}

img,
.wp-post-image,
.post-thumb img,
.tie-thumb img,
.entry-content img {
  max-width: 100%;
  height: auto;
}

.post-thumb img,
.tie-thumb img,
.wp-post-image {
  width: 100%;
  object-fit: cover;
}

.site-branding,
.logo-container,
#logo {
  letter-spacing: -.04em;
}

.lh-magazine-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px) 18px 78px;
}

.lh-news-hero {
  border-top: 5px solid var(--lh-news-ink);
  border-bottom: 1px solid rgba(17,18,23,.18);
  padding: 24px 0 34px;
}

.lh-news-hero__label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  background: var(--lh-news-red);
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lh-news-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(22px, 4vw, 50px);
}

.lh-news-lead {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: clamp(26px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(17,18,23,.08), rgba(17,18,23,.9)),
    radial-gradient(circle at 86% 20%, rgba(214,160,79,.45), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #c9c0ae, #1a2638 68%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(17,18,23,.18);
}

.lh-news-lead:before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: min(34vw, 310px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.36);
  background:
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.08)),
    repeating-linear-gradient(0deg, rgba(17,18,23,.14) 0 2px, transparent 2px 13px);
  opacity: .34;
}

.lh-news-lead a {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff !important;
  text-decoration: none !important;
}

.lh-news-lead span,
.lh-news-card span,
.lh-section-heading p,
.lh-newsletter-panel p {
  color: var(--lh-news-red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lh-news-lead span {
  color: var(--lh-news-gold);
}

.lh-news-lead h1 {
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.lh-news-lead p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.12rem;
  line-height: 1.7;
}

.lh-news-briefs {
  padding: 28px;
  background: var(--lh-news-card);
  border: 1px solid rgba(17,18,23,.12);
}

.lh-news-briefs h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.lh-news-briefs ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lh-news-briefs li {
  padding-top: 18px;
  border-top: 1px solid rgba(17,18,23,.14);
}

.lh-news-briefs strong {
  display: block;
  margin-bottom: 4px;
}

.lh-news-briefs span,
.lh-news-card p,
.lh-news-lede,
.lh-newsletter-panel input {
  color: var(--lh-news-muted);
}

.lh-section-heading {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 24px;
  align-items: end;
  margin: 42px 0 16px;
  border-top: 1px solid rgba(17,18,23,.2);
  padding-top: 24px;
}

.lh-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.lh-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lh-news-card {
  min-height: 285px;
  border: 1px solid rgba(17,18,23,.14);
  background: var(--lh-news-card);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lh-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(17,18,23,.12);
}

.lh-news-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  color: var(--lh-news-ink) !important;
  text-decoration: none !important;
}

.lh-news-card a:before {
  content: "";
  display: block;
  width: calc(100% + 44px);
  aspect-ratio: 16 / 10;
  margin: -22px -22px 20px;
  background:
    linear-gradient(135deg, rgba(179,25,36,.16), rgba(22,42,68,.82)),
    radial-gradient(circle at 72% 28%, rgba(214,160,79,.72), transparent 9rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 18px);
  background-size: cover;
  background-position: center;
}

.lh-news-card:nth-child(2) a:before {
  background:
    linear-gradient(135deg, rgba(22,42,68,.88), rgba(245,241,232,.1)),
    radial-gradient(circle at 24% 24%, rgba(214,160,79,.78), transparent 8rem),
    repeating-linear-gradient(0deg, rgba(255,255,255,.13) 0 1px, transparent 1px 17px);
}

.lh-news-card:nth-child(3) a:before {
  background:
    linear-gradient(135deg, rgba(214,160,79,.38), rgba(17,18,23,.84)),
    radial-gradient(circle at 78% 34%, rgba(255,255,255,.48), transparent 7rem),
    repeating-linear-gradient(45deg, rgba(255,255,255,.13) 0 1px, transparent 1px 16px);
}

.lh-news-card:nth-child(4) a:before {
  background:
    linear-gradient(135deg, rgba(179,25,36,.72), rgba(17,18,23,.9)),
    radial-gradient(circle at 30% 32%, rgba(255,255,255,.44), transparent 7rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 20px);
}

.lh-news-card h3 {
  margin: 24px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: -.045em;
}

.lh-news-card a > p:empty {
  display: none !important;
}

.lh-news-card h3 + p {
  margin-top: auto;
  line-height: 1.62;
}

.lh-newsletter-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(24px, 5vw, 44px);
  background: var(--lh-news-blue);
  color: #fff;
}

.lh-newsletter-panel h2 {
  margin: 0;
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
}

.lh-newsletter-panel form {
  display: flex;
  gap: 8px;
  padding: 7px;
  background: #fff;
}

.lh-newsletter-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
}

.lh-newsletter-panel button {
  border: 0;
  padding: 0 18px;
  background: var(--lh-news-red);
  color: #fff;
  font-weight: 900;
}

.lh-news-lede {
  max-width: 760px;
  font-size: 1.3rem;
  line-height: 1.75;
}

.entry-content h2 {
  font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 980px) {
  .lh-news-hero__grid,
  .lh-section-heading,
  .lh-newsletter-panel {
    grid-template-columns: 1fr;
  }
  .lh-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lh-news-lead {
    min-height: 460px;
  }
  .lh-news-grid {
    grid-template-columns: 1fr;
  }
  .lh-newsletter-panel form {
    flex-direction: column;
  }
  .lh-newsletter-panel input,
  .lh-newsletter-panel button {
    min-height: 46px;
  }
}

/* Jannah-specific magazine shell overrides. */
#theme-header {
  background: #101218 !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 45px rgba(17,18,23,.12);
}

#theme-header .container,
#theme-header .header-container {
  box-sizing: border-box;
  max-width: 1240px !important;
  width: 100% !important;
  padding-inline: clamp(18px, 3vw, 28px);
}

#theme-header .header-container,
#theme-header .logo-row,
#theme-header .logo-wrapper {
  min-height: 74px !important;
  height: 74px !important;
}

#theme-header .logo-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 28px;
}

#theme-header .logo-container {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

#logo {
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
}

#logo picture,
#logo img {
  display: none !important;
}

#logo a {
  display: grid !important;
  gap: 4px;
  color: #fff !important;
  text-decoration: none !important;
}

#logo a:before {
  content: "Le Herisson";
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.055em;
}

#logo a:after {
  content: "Magazine";
  color: #d6a04f;
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.lh-mag-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(14px, 1.7vw, 22px);
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.lh-mag-nav a {
  color: rgba(255,255,255,.82) !important;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.lh-mag-nav a:hover {
  color: #d6a04f !important;
}

body.home.has-sidebar .main-content,
body.home .main-content.tie-col-md-8,
body.archive.category .main-content.tie-col-md-8,
body.single-post .main-content.tie-col-md-8 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.home #content.site-content.container,
body.home .site-content.container,
body.archive.category #content.site-content.container,
body.single-post #content.site-content.container {
  margin-top: 0 !important;
}

body.home .lh-magazine-home {
  padding-top: clamp(10px, 2vw, 22px);
}

body.home .sidebar,
body.archive.category .sidebar,
body.single-post .sidebar,
body.home .entry-header,
body.home #the-post > .entry-header,
body.home #the-post .entry-title,
body.single-post #comments {
  display: none !important;
}

body.home #content.site-content.container,
body.home .site-content.container,
body.archive.category #content.site-content.container,
body.single-post #content.site-content.container {
  max-width: 1240px !important;
  width: 100% !important;
}

body.home #the-post.container-wrapper,
body.home .post-content.container-wrapper {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.single-post #content.site-content.container {
  padding-top: clamp(24px, 4vw, 46px);
}

body.single-post .main-content.tie-col-md-8 {
  max-width: 940px !important;
  margin-inline: auto !important;
}

body.single-post #the-post.container-wrapper {
  padding: clamp(30px, 5vw, 64px) !important;
  background: var(--lh-news-card) !important;
  border: 1px solid rgba(17,18,23,.14) !important;
  box-shadow: 0 28px 80px rgba(17,18,23,.12) !important;
}

body.single-post .entry-header {
  margin-bottom: clamp(22px, 4vw, 42px);
  padding-top: 22px;
  border-top: 5px solid var(--lh-news-ink);
}

body.single-post .entry-title {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.075em;
}

body.single-post .entry-content {
  max-width: 740px;
  margin-inline: auto;
  color: var(--lh-news-ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

body.single-post .lh-news-lede {
  max-width: none;
  margin-bottom: 28px;
  padding-left: 22px;
  border-left: 5px solid var(--lh-news-red);
  color: #363b45;
}

body.archive.category .mag-box,
body.archive.category .container-wrapper {
  background: var(--lh-news-card) !important;
}

@media (max-width: 900px) {
  body #theme-header.theme-header,
  body #theme-header .header-container,
  body #theme-header .logo-row,
  body #theme-header .logo-wrapper {
    background: #101218 !important;
    background-color: #101218 !important;
  }
  #theme-header .logo-container {
    background: transparent !important;
    box-shadow: none !important;
  }
  #logo a:before {
    color: #fff !important;
  }
  #logo a:after {
    color: #d6a04f !important;
  }
  #theme-header .header-container,
  #theme-header .logo-row,
  #theme-header .logo-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }
  #theme-header .logo-wrapper {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 20px;
  }
  .lh-mag-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.single-post #the-post.container-wrapper {
    padding: 24px !important;
  }
}
