/* FILM FEVER — Premium Cinema News */

:root {
  --black: #000000;
  --black-soft: #080808;
  --black-card: #0e0e0e;
  --grey-dark: #141414;
  --grey-mid: #222222;
  --grey-border: #1e1e1e;
  --grey-text: #777777;
  --grey-light: #b8b8b8;
  --white: #ffffff;
  --red: #D4B26A;
  --red-hover: #E2C484;
  --red-dark: #A8893F;
  --red-glow: rgba(212, 178, 106, 0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --max-width: 1180px;
  --header-height: 56px;
  --transition: 0.22s ease;
  --radius-sm: 3px;
  --radius-md: 5px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.55);
  --shadow-hero: 0 12px 48px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* ─── HEADER ─── */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--grey-border);
  height: var(--header-height);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header__logo img {
  height: 40px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  transition: opacity var(--transition);
}

.header__logo:hover img {
  opacity: 0.85;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.header__nav a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 9px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.header__nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.header__nav a.active {
  color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__search-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 7px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.header__search-btn:hover {
  color: var(--red);
  background: rgba(212, 178, 106, 0.1);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.header__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.header__search-bar {
  display: none;
  padding: 10px 0 12px;
  border-top: 1px solid var(--grey-border);
}

.header__search-bar.open {
  display: block;
}

.header__search-bar input {
  width: 100%;
  background: var(--grey-dark);
  border: 1px solid var(--grey-mid);
  color: var(--white);
  padding: 10px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition);
}

.header__search-bar input:focus {
  border-color: var(--red);
}

.header__mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  z-index: 999;
  overflow-y: auto;
}

.header__mobile-nav.open {
  display: block;
}

.header__mobile-nav a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-border);
  color: var(--white);
}

.header__mobile-nav a.active {
  color: var(--red);
}

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }
}

/* ─── HERO ─── */

.hero {
  padding: 20px 0 16px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 14px;
  min-height: 420px;
}

.hero__main,
.hero__side-item {
  display: block;
  color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero__main:hover,
.hero__side-item:hover {
  color: var(--white);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(212, 178, 106, 0.15);
  transform: translateY(-2px);
}

.hero__main {
  position: relative;
  min-height: 420px;
}

.hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__main img[src*="backroomsclarkentrance"] {
  object-position: 58% 45%;
  transform: scale(1.08);
}

.hero__main:hover img[src*="backroomsclarkentrance"] {
  transform: scale(1.12);
}

.hero__side-item img[src*="kanebackrooms"] {
  object-position: center 42%;
  transform: scale(1.06);
}

.hero__side-item:hover img[src*="kanebackrooms"] {
  transform: scale(1.1);
}

.hero__side-item img[src*="capn"] {
  object-position: 58% 28%;
  transform: scale(1.08);
}

.hero__side-item:hover img[src*="capn"] {
  transform: scale(1.12);
}

.hero__side-item img[src*="siren"] {
  object-position: center 42%;
  transform: scale(1.08);
}

.hero__side-item:hover img[src*="siren"] {
  transform: scale(1.12);
}

.hero__side-item img[src*="images/pool.jpg"] {
  object-position: center 42%;
  transform: scale(1.08);
}

.hero__side-item:hover img[src*="images/pool.jpg"] {
  transform: scale(1.12);
}

.hero__side-item:hover img:not([src*="kanebackrooms"]):not([src*="capn"]):not([src*="siren"]):not([src*="images/pool.jpg"]) {
  transform: scale(1.04);
}

.hero__main:hover img:not([src*="backroomsclarkentrance"]) {
  transform: scale(1.04);
}

.hero__side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 178, 106, 0.08) 0%,
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

.hero__main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 26px 26px;
  z-index: 2;
}

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__side-item {
  position: relative;
  flex: 1;
  min-height: 0;
}

.hero__side-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.45) 32%,
    transparent 58%
  );
  z-index: 1;
}

.hero__side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 14px;
  z-index: 2;
}

.tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px var(--red-glow);
}

.category {
  display: inline-block;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero__title {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero__side-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__side-content .hero__excerpt {
  font-size: 12px;
  -webkit-line-clamp: 1;
}

@media (max-width: 768px) {
  .hero {
    padding: 16px 0 12px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
  }

  .hero__main {
    min-height: 320px;
  }

  .hero__side-item {
    min-height: 180px;
  }
}

/* ─── AD BANNER ─── */

.ad-banner {
  margin: 12px 0 20px;
  background: linear-gradient(
    105deg,
    #120606 0%,
    #0a0a0a 45%,
    #0d0505 100%
  );
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.ad-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--red), var(--red-dark));
}

.ad-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 85% 50%,
    rgba(212, 178, 106, 0.06) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.ad-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 22px 32px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.ad-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  line-height: 1;
}

.ad-banner__content p {
  color: var(--grey-light);
  font-size: 13.5px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.ad-banner__btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px var(--red-glow);
}

.ad-banner__btn:hover {
  background: var(--red-hover);
  color: var(--white);
  box-shadow: 0 6px 20px var(--red-glow);
  transform: translateY(-1px);
}

.ad-banner__posters {
  display: flex;
  flex-shrink: 0;
  padding-right: 8px;
}

.ad-banner__poster {
  width: 72px;
  height: 108px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: -14px;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition);
}

.ad-banner__poster:first-child {
  margin-left: 0;
}

.ad-banner:hover .ad-banner__poster {
  transform: rotate(var(--rot, 0deg)) translateY(-3px);
}

@media (max-width: 768px) {
  .ad-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 20px 20px 24px;
  }

  .ad-banner__posters {
    display: none;
  }
}

/* ─── ADSENSE PLACEHOLDER ─── */

.ad-banner__inner.adsense-placeholder {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 132px;
  gap: 0;
}

.adsense-placeholder__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(212, 178, 106, 0.35);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.adsense-placeholder__title {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.adsense-placeholder__subtitle {
  max-width: 420px;
  margin: 0;
  color: var(--grey-light);
  font-size: 13px;
  opacity: 0.85;
}

.adsense-placeholder .adsbygoogle {
  display: block;
  margin: 0 auto;
  min-width: 320px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .ad-banner__inner.adsense-placeholder {
    min-height: 120px;
    padding: 18px 16px 18px 20px;
  }

  .adsense-placeholder .adsbygoogle {
    min-width: 0;
    width: 100%;
  }
}

/* ─── SECTION HEADER ─── */

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grey-border);
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.07em;
  line-height: 1;
  color: var(--red);
}

.section-header a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-text);
  transition: color var(--transition);
}

.section-header a:hover {
  color: var(--red);
}

/* ─── ARTICLE LIST ─── */

.article-list {
  padding-bottom: 36px;
}

.article-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-border);
  transition: background var(--transition), padding-left var(--transition);
  align-items: start;
}

.article-item:first-child {
  padding-top: 4px;
}

.article-item:hover {
  background: linear-gradient(90deg, rgba(212, 178, 106, 0.04) 0%, transparent 60%);
}

.article-item:hover .article-item__title a {
  color: var(--red);
}

.article-item__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--grey-border);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.article-item:hover .article-item__thumb {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-color: rgba(212, 178, 106, 0.2);
}

.article-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-item__thumb img[src*="phill"] {
  object-position: 55% 35%;
}

.article-item:hover .article-item__thumb img {
  transform: scale(1.05);
}

.article-item__body {
  padding-top: 2px;
}

.article-item__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.article-item__title a {
  transition: color var(--transition);
}

.article-item__title a:hover {
  color: var(--red);
}

.article-item__excerpt {
  font-size: 13.5px;
  color: var(--grey-light);
  line-height: 1.55;
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.88;
}

.article-item__meta {
  font-size: 11px;
  color: var(--grey-text);
  letter-spacing: 0.02em;
}

.article-item__meta span + span::before {
  content: " · ";
}

@media (max-width: 640px) {
  .article-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }
}

.article-page__hero-img[src*="backroomsclarkentrance"] {
  object-position: 58% 45%;
}

.article-page__hero-img[src*="kanebackrooms"] {
  object-position: center 42%;
}

.article-page__hero-img[src*="images/cap.jpg"] {
  object-position: center 30%;
}

.article-page__hero-img[src*="phill"] {
  object-position: 55% 35%;
}

.article-figure--cinema .article-figure__frame img[src*="capn"] {
  object-position: 58% 28%;
  transform: scale(1.06);
}

.article-page__hero-img[src*="siren"] {
  object-position: center 40%;
}

.article-page__hero-img[src*="images/pool.jpg"] {
  object-position: center 42%;
}

.article-page__hero-img[src*="blackbox"] {
  object-position: center 48%;
}

.article-item__thumb img[src*="bbox"] {
  object-position: center 40%;
}

.article-item__thumb img[src*="kb"] {
  object-position: center 42%;
}

.article-page__hero-img[src*="clark.jpg"] {
  object-position: center 38%;
}

.article-figure--cinema .article-figure__frame img[src*="trone"] {
  object-position: center 45%;
  transform: scale(1.05);
}

.article-figure--detail .article-figure__frame img[src*="trou"] {
  object-position: center 35%;
  transform: scale(1.08);
}

.article-figure--detail .article-figure__frame img[src*="tshirt"] {
  object-position: center center;
  transform: scale(1.12);
}

.article-figure--wide .article-figure__frame img[src*="piscine"] {
  object-position: center 48%;
  transform: scale(1.06);
}

.article-figure--cinema .article-figure__frame img[src*="blackbox"] {
  object-position: center 42%;
  transform: scale(1.04);
}

.article-page__content .article-trailer {
  margin: 36px auto;
  max-width: 720px;
}

.article-trailer__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 16px;
}

.article-trailer__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  background: var(--black-card);
}

.article-trailer__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-figure--poster .article-figure__frame {
  aspect-ratio: 2 / 3;
  max-width: 420px;
  margin: 0 auto;
}

.article-figure--poster .article-figure__frame img {
  object-position: center top;
}

.article-figure--wide .article-figure__frame img[src*="pool2"] {
  object-position: center 40%;
}

/* ─── ARTICLE PAGE ─── */

.article-page {
  padding: 28px 0 48px;
}

.article-page__breadcrumb {
  font-size: 11px;
  color: var(--grey-text);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.article-page__breadcrumb a {
  color: var(--grey-text);
  transition: color var(--transition);
}

.article-page__breadcrumb a:hover {
  color: var(--red);
}

.article-page__header {
  max-width: 760px;
  margin-bottom: 24px;
}

.article-page__title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.article-page__meta {
  font-size: 12px;
  color: var(--grey-text);
  margin-bottom: 20px;
}

.article-page__meta span + span::before {
  content: " · ";
}

.article-page__hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-hero);
  border: 1px solid var(--grey-border);
}

.article-page__content {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-light);
}

.article-page__content p {
  margin-bottom: 20px;
}

.article-page__content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 14px;
  letter-spacing: -0.01em;
}

.article-page__content blockquote {
  border-left: 3px solid var(--red);
  padding: 14px 20px;
  margin: 28px 0;
  background: var(--grey-dark);
  font-style: italic;
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: inset 0 0 0 1px var(--grey-border);
}

.article-page__content figure {
  margin: 28px 0;
}

.article-page__content figure img {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
}

.article-page__content figcaption {
  font-size: 12px;
  color: var(--grey-text);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}

.article-page__content .article-figure {
  margin: 32px 0;
}

.article-figure__frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  background: var(--black-card);
}

.article-figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-figure--wide .article-figure__frame {
  aspect-ratio: 21 / 9;
}

.article-figure--wide .article-figure__frame img[src*="fresque.jpg"] {
  object-position: center 42%;
}

.article-figure--wide .article-figure__frame img[src*="fresquefoudfootage"] {
  object-position: center center;
}

.article-figure--wide .article-figure__frame img[src*="fresquedroite"] {
  object-position: center 38%;
}

.article-figure--cinema .article-figure__frame {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 auto;
}

.article-figure--cinema .article-figure__frame img[src*="capitainetrone"] {
  object-position: center 35%;
  transform: scale(1.06);
}

.article-figure--detail .article-figure__frame {
  aspect-ratio: 3 / 2;
  max-width: 640px;
  margin: 0 auto;
}

.article-figure--detail .article-figure__frame img[src*="fresquegauche"] {
  object-position: 42% center;
}

.article-figure--cinema .article-figure__frame img[src*="bact"] {
  object-position: 52% center;
  transform: scale(1.1);
}

.article-figure .figcaption {
  font-size: 11.5px;
  color: var(--grey-text);
  margin-top: 12px;
  text-align: center;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.5;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .article-figure--wide .article-figure__frame {
    aspect-ratio: 16 / 10;
  }
}

/* Related articles */
.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-border);
}

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

.related__card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 178, 106, 0.2);
}

.related__card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.related__card:hover img {
  transform: scale(1.04);
}

.related__card-body {
  padding: 14px;
}

.related__card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.28;
  transition: color var(--transition);
}

.related__card:hover .related__card-title {
  color: var(--red);
}

@media (max-width: 768px) {
  .related__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CATEGORY PAGE ─── */

.page-hero {
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--grey-border);
  margin-bottom: 4px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 48px);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.page-hero h1 span {
  color: var(--red);
}

.page-hero p {
  color: var(--grey-text);
  font-size: 14px;
  margin-top: 6px;
  max-width: 520px;
}

/* ─── STATIC PAGES ─── */

.static-page {
  padding: 28px 0 56px;
}

.static-page__content a {
  color: var(--red);
  transition: color var(--transition);
}

.static-page__content a:hover {
  color: var(--red-hover);
}

.static-page__list {
  margin: 0 0 20px 18px;
  color: var(--grey-light);
}

.static-page__list li {
  margin-bottom: 8px;
}

.static-page__email {
  margin-bottom: 28px;
}

.static-page__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--grey-text);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.contact-form__field {
  display: grid;
  gap: 8px;
}

.contact-form__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  background: var(--black-soft);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--grey-text);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(212, 178, 106, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 178, 106, 0.12);
}

.contact-form__submit {
  justify-self: start;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.contact-form__submit:hover {
  background: var(--red-hover);
}

.contact-form__submit:active {
  transform: translateY(1px);
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ─── FOOTER ─── */

.footer {
  margin-top: auto;
  background: var(--black-soft);
  border-top: 1px solid var(--grey-border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__logo img {
  height: 34px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.footer__logo:hover img {
  opacity: 1;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 12px;
  color: var(--grey-text);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--red);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--grey-mid);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer__social a:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(212, 178, 106, 0.08);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── UTILITIES ─── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--grey-text);
}

.empty-state h2 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}

.category-placeholder {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 32px 72px;
  text-align: center;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(212, 178, 106, 0.05) 0%, var(--black-card) 45%);
  box-shadow: var(--shadow-card);
}

.category-placeholder__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--red);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.category-placeholder__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 14px;
}

.category-placeholder__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-light);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  background: var(--black-soft);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--grey-text);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(212, 178, 106, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 178, 106, 0.12);
}

.newsletter-form button {
  flex: 0 0 auto;
  padding: 14px 22px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

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

.newsletter-form button:active {
  transform: translateY(1px);
}

.newsletter-form button:disabled,
.newsletter-form input[type="email"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.newsletter-form__message {
  margin-top: 18px;
  font-size: 13px;
  color: var(--red);
}

.newsletter-form__message--error {
  color: var(--grey-light);
}

@media (max-width: 540px) {
  .category-placeholder {
    padding: 40px 20px 56px;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

/* Category links in article list — no global red on hover */
.article-item .category {
  transition: opacity var(--transition);
}

.article-item .category:hover {
  opacity: 0.8;
  color: var(--red);
}

.hero__main .category,
.hero__side-item .category {
  pointer-events: none;
}
