/**
 * Giao diện mới - Tạp chí Lý luận & Chiến lược.
 * Chuyển từ bản demo Next.js (repo llct, theme mặc định "red").
 * Tất cả class dùng tiền tố "llc-" để không đụng CSS cũ.
 */

:root {
  --llc-content-max-width: 1278px;
  --llc-font-sans: 'Be Vietnam Pro', sans-serif;
  --llc-font-serif: 'Merriweather', Georgia, serif;
  --llc-font-roboto: 'Roboto', sans-serif;

  --llc-white: #ffffff;
  --llc-deep-navy: #0d2b52;
  --llc-navy: #1b2d5b;
  --llc-text: #44474e;
  --llc-text-strong: #1a1b1e;
  --llc-ink: #111827;
  --llc-gold: #c9a24a;
  --llc-gold-dark: #c8920d;
  --llc-border-subtle: #c4c6cf;
  --llc-border-light: #e5e7eb;

  --llc-header-brand: #ff0004;
  --llc-header-eyebrow: #ad4940;
  --llc-header-search-background: #fde9e3;
  --llc-header-search-border: #ff681d;
  --llc-header-search-text: #ff681d;
  --llc-header-search-icon: #ea3338;
  --llc-header-nav-border: #f0f0f0;
  --llc-header-nav-active: #a61919;
  --llc-header-register: #e85d04;

  --llc-page-background: #faf9fd;
  --llc-hero-badge: #e85d04;
  --llc-sidebar-heading: #a61919;
  --llc-section-heading: #b62327;
  --llc-primary: #b62327;
  --llc-infographic-button: linear-gradient(90deg, #b62327 0%, #e85d04 100%);

  --llc-footer-background: #a61919;
  --llc-footer-highlight: #ffae75;
  --llc-footer-card: #bc1919;
  --llc-footer-action: #ff0004;
  --llc-footer-divider: rgba(255, 255, 255, 0.1);
}

body {
  margin: 0;
  background: var(--llc-white);
}

.llc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--llc-text-strong);
  font-family: var(--llc-font-sans);
  font-weight: 400;
}

.llc-page *,
.llc-page *::before,
.llc-page *::after {
  box-sizing: border-box;
}

/* Reset dùng :where() để specificity thấp, class của từng block luôn thắng. */
:where(.llc-page) a {
  color: inherit;
  text-decoration: none;
}

:where(.llc-page) img {
  display: block;
  max-width: 100%;
}

:where(.llc-page) button,
:where(.llc-page) input,
:where(.llc-page) select,
:where(.llc-page) textarea {
  font: inherit;
  color: inherit;
}

.llc-container {
  max-width: var(--llc-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.llc-main {
  flex: 1;
  background: var(--llc-page-background);
}

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

.llc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #faf9fd;
  border-bottom: 1px solid var(--llc-border-subtle);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.llc-header__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Region bọc logo không co; region bọc ô tìm kiếm chiếm phần còn lại của hàng. */
.llc-header__top > :first-child {
  flex-shrink: 0;
}

.llc-header__top > :last-child {
  flex: 1;
}

.llc-brand {
  display: block;
  flex-shrink: 0;
  text-align: left;
}

.llc-brand__council {
  display: block;
  color: var(--llc-header-eyebrow);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.llc-brand__line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--llc-header-brand);
  font-family: var(--llc-font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.llc-brand__prefix {
  color: var(--llc-gold);
  font-size: 12px;
  font-weight: 700;
}

.llc-header-actions {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 24px;
}

.llc-search {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 250px;
  margin: 0 0 0 auto;
}

.llc-search__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  display: flex;
  color: var(--llc-header-search-icon);
  transform: translateY(-50%);
}

.llc-search__input {
  width: 100%;
  padding: 8px 16px 8px 40px;
  border: 1px solid var(--llc-header-search-border);
  border-radius: 9999px;
  outline: none;
  background: var(--llc-header-search-background);
  color: var(--llc-header-search-text) !important;
  font-size: 14px;
  line-height: 22px;
}

.llc-search__input::placeholder {
  color: var(--llc-header-search-text);
  opacity: 1;
}

.llc-register {
  flex-shrink: 0;
  width: 100%;
  max-width: 100px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--llc-header-register);
  color: var(--llc-white) !important;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
}

.llc-nav {
  border-top: 1px solid var(--llc-header-nav-border);
}

/* Menu dạng cây: cấp 1 nằm ngang, cấp 2 thả xuống, cấp 3 bay sang phải. */
.llc-nav__list,
.llc-nav__submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.llc-nav__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
}

.llc-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.llc-nav__link {
  display: block;
  padding: 16px 0;
  color: var(--llc-text) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.llc-nav__link.is-active {
  color: var(--llc-header-nav-active) !important;
  font-weight: 600;
}

.llc-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--llc-text);
  cursor: pointer;
}

/* Mũi tên xuống. */
.llc-nav__toggle::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}

.llc-nav__item.is-open > .llc-nav__toggle::before {
  transform: translateY(1px) rotate(-135deg);
}

.llc-nav__item.is-active > .llc-nav__toggle {
  color: var(--llc-header-nav-active);
}

.llc-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  display: none;
  min-width: 220px;
  padding: 6px 0;
  border: 1px solid var(--llc-border-light);
  border-radius: 6px;
  background: var(--llc-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.llc-nav__item:hover > .llc-nav__submenu,
.llc-nav__item:focus-within > .llc-nav__submenu,
.llc-nav__item.is-open > .llc-nav__submenu {
  display: block;
}

.llc-nav__submenu .llc-nav__item {
  padding: 0 12px 0 16px;
}

.llc-nav__submenu .llc-nav__link {
  flex: 1;
  padding: 10px 0;
  white-space: normal;
}

.llc-nav__submenu .llc-nav__item:hover {
  background: #f4f3f7;
}

/* Cấp 3: bay sang phải của mục cấp 2, mũi tên quay sang phải. */
.llc-nav__submenu .llc-nav__submenu {
  top: -7px;
  left: 100%;
}

.llc-nav__submenu .llc-nav__toggle::before {
  transform: translateX(-2px) rotate(-45deg);
}

.llc-nav__submenu .llc-nav__item.is-open > .llc-nav__toggle::before {
  transform: translateX(-2px) rotate(-45deg);
}

/* ---------- Tiêu đề section dùng chung ---------- */

.llc-section {
  padding: 40px 0;
}

.llc-section--soft {
  background: #f4f3f7;
}

.llc-section--video {
  padding-bottom: 60px;
  background: var(--llc-white);
}

.llc-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--llc-section-heading);
}

.llc-section-title--spacious {
  margin-bottom: 40px;
}

.llc-section-title__text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--llc-section-heading);
  font-family: var(--llc-font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.llc-section-title__sep {
  height: 1em;
  border-left: 1px solid var(--llc-section-heading);
}

/* Tiêu đề khối link tới trang chuyên mục: giữ màu tiêu đề. */
.llc-section-title__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.llc-section-title__link:hover,
.llc-section-title__link:focus-visible {
  color: var(--llc-primary);
}

/* ---------- Hero + Nổi bật ---------- */

.llc-top {
  padding: 18px 0;
}

.llc-top__grid {
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 24px;
}

.llc-top__grid > * {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.llc-top__grid > * > * {
  flex: 1;
}

.llc-hero {
  position: relative;
  display: flex;
  min-height: 590px;
  overflow: hidden;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  color: var(--llc-white) !important;
}

/* Lớp tối phía dưới ảnh cho chữ dễ đọc (như demo). */
.llc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.llc-hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 32px;
}

.llc-hero__badge-wrap {
  margin-bottom: 16px;
}

.llc-hero__badge {
  padding: 4px 16px;
  background: var(--llc-hero-badge);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.llc-hero__title {
  margin: 0 0 10px;
  font-family: var(--llc-font-serif);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.25;
}

.llc-hero__author {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.7;
  text-transform: uppercase;
}


.llc-featured__heading {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--llc-sidebar-heading);
  color: var(--llc-sidebar-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.llc-featured__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.llc-featured__item {
  display: flex;
  gap: 16px;
}

.llc-featured__thumb {
  flex-shrink: 0;
  width: 128px;
  height: 80px;
  border-radius: 8px;
  background-color: var(--llc-border-light);
  background-position: center;
  background-size: cover;
}

.llc-featured__category {
  display: block;
  margin-bottom: 4px;
  color: #b32125;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.llc-featured__title {
  display: block;
  color: var(--llc-text-strong);
  font-family: var(--llc-font-roboto);
  font-size: 18px;
  font-weight: 600;
  line-height: 24.8px;
}

/* ---------- Tin tức - Sự kiện ---------- */

.llc-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.llc-news__image {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 8px;
  background-color: var(--llc-border-light);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.llc-news__date {
  display: block;
  margin-bottom: 6px;
  color: #b62327;
  font-size: 12px;
}

.llc-news__title {
  margin: 0 0 8px;
  color: var(--llc-text-strong);
  font-family: var(--llc-font-roboto);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.llc-news__summary {
  margin: 0;
  color: var(--llc-text);
  font-family: var(--llc-font-roboto);
  font-size: 16px;
  line-height: 25.6px;
}

/* ---------- Nghiên cứu – Trao đổi ---------- */

.llc-research {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.llc-research__item {
  padding: 0 24px 0 0;
  border-right: 1px solid #d6dbe9;
}

.llc-research__item + .llc-research__item {
  padding: 0 0 0 24px;
  border-right: 0;
}

.llc-research__date {
  display: block;
  margin-bottom: 16px;
  color: #ba1a1a;
  font-size: 12px;
  line-height: 18px;
}

/* Giữ khoảng cách như demo (margin-top mặc định 1em của h3 = 24px). */
.llc-research__title {
  margin: 24px 0;
  color: var(--llc-ink);
  font-family: var(--llc-font-roboto);
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
}

.llc-research__quote {
  margin: 0;
  color: var(--llc-ink);
  font-family: var(--llc-font-roboto);
  font-size: 16px;
  font-weight: 600;
  line-height: 25.6px;
}

/* ---------- Lý luận & thực tiễn ---------- */

.llc-theory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.llc-theory__main {
  overflow: hidden;
  border-radius: 8px;
  background: var(--llc-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.llc-theory__image {
  position: relative;
  display: block;
  height: 200px;
  background-position: center;
  background-size: cover;
}

.llc-theory__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 10px;
  background: var(--llc-primary);
  color: var(--llc-white);
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.llc-theory__body {
  padding: 18px 20px;
}

.llc-theory__title {
  margin: 0 0 8px;
  color: var(--llc-ink);
  font-family: var(--llc-font-roboto);
  font-size: 19px;
  font-weight: 800;
  line-height: 26.2px;
}

.llc-theory__summary {
  margin: 0 0 8px;
  color: var(--llc-navy);
  font-size: 15px;
  line-height: 22.4px;
}

.llc-theory__meta {
  display: block;
  color: var(--llc-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.llc-theory__sep {
  margin: 0 8px;
  color: var(--llc-border-light);
}

.llc-theory__date {
  color: #9ca3af;
  font-weight: 400;
}

.llc-theory__list {
  display: grid;
  gap: 16px;
}

.llc-theory__item {
  padding: 14px 16px;
  border-left: 3px solid #c41230;
  border-radius: 6px;
  background: var(--llc-white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.llc-theory__label {
  display: block;
  margin-bottom: 8px;
  color: #c41230;
  font-size: 12px;
  font-weight: 700;
  line-height: 13.5px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.llc-theory__item--navy {
  border-left-color: var(--llc-navy);
}

.llc-theory__item--navy .llc-theory__label {
  color: var(--llc-navy);
}

.llc-theory__item--gold {
  border-left-color: var(--llc-gold-dark);
}

.llc-theory__item--gold .llc-theory__label {
  color: var(--llc-gold-dark);
}

.llc-theory__item-title {
  margin: 0 0 8px;
  color: var(--llc-ink);
  font-family: var(--llc-font-roboto);
  font-size: 16px;
  font-weight: 700;
  line-height: 20.9px;
}

.llc-theory__item-meta {
  display: block;
  color: var(--llc-deep-navy);
  font-size: 11px;
  line-height: 16.5px;
}

/* ---------- Infographic | Longform ---------- */

.llc-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.llc-media__emagazine {
  display: flex;
  min-height: 500px;
  overflow: hidden;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
}

.llc-media__emagazine-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 40px;
  color: var(--llc-white);
}

.llc-media__label {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.llc-media__emagazine-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 16px;
  font-family: var(--llc-font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.llc-media__button {
  width: fit-content;
  padding: 8px 24px;
  border: 1px solid transparent;
  background: var(--llc-infographic-button);
  font-size: 16px;
  line-height: 24px;
}

.llc-media__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.llc-media__feature {
  position: relative;
  display: block;
  min-height: 270px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #334155;
  background-position: center;
  background-size: cover;
}

.llc-media__feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 93, 4, 0.3);
}

.llc-media__feature::after {
  content: '';
  position: absolute;
  inset: 195px 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.llc-media__feature-title {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  /* Dữ liệu thật: tiêu đề dài tối đa 2 dòng (padding nằm ngoài vùng cắt). */
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: var(--llc-white);
  font-family: var(--llc-font-serif);
  font-size: 18px;
  line-height: 28px;
}

.llc-media__row {
  display: flex;
  flex: 1;
  gap: 24px;
}

.llc-media__photo {
  position: relative;
  flex: 1;
}

.llc-media__photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.llc-media__photo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.llc-media__podcast {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--llc-border-subtle);
  border-radius: 12px;
  background: #efedf1;
}

.llc-media__podcast-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.llc-media__podcast-label {
  color: #b62327;
  font-size: 22px;
  line-height: 24px;
}

.llc-media__podcast-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin: 8px 0;
  color: var(--llc-text-strong);
  font-family: var(--llc-font-serif);
  font-size: 18px;
  line-height: 28px;
}

.llc-media__podcast-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: var(--llc-text);
  font-size: 13px;
  line-height: 18.2px;
}

/* ---------- Tạp chí đã phát hành ---------- */

.llc-issues {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.llc-issues__open {
  display: block;
}

.llc-issues__cover {
  display: block;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  object-fit: cover;
  aspect-ratio: 0.72;
}

.llc-issues__title {
  display: block;
  margin-top: 16px;
  color: var(--llc-deep-navy);
  font-size: 16px;
  text-align: center;
}

.llc-issues__open:hover .llc-issues__cover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.llc-issues__pdf {
  display: block;
  margin-top: 3px;
  color: var(--llc-gold);
  font-size: 13px;
  text-align: center;
}

/* ---------- Video ---------- */

.llc-video {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.llc-video__feature {
  position: relative;
  display: block;
  min-height: 366px;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.llc-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--llc-primary);
  font-size: 28px;
  transform: translate(-50%, -50%);
}

.llc-play-icon {
  display: block;
}

.llc-video__caption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  color: var(--llc-white);
}

.llc-video__duration {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
}

.llc-video__tag {
  display: block;
  margin-bottom: 10px;
  color: var(--llc-gold-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 1px;
}

.llc-video__feature-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 21.8px;
}

.llc-video__list {
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.llc-video__item {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.llc-video__thumb {
  position: relative;
  flex: 0 0 120px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.llc-video__thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--llc-primary);
  font-size: 12px;
  transform: translate(-50%, -50%);
}

.llc-video__thumb-duration {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--llc-white);
  font-size: 9px;
  font-weight: 600;
  line-height: 13.5px;
}

.llc-video__text {
  min-width: 0;
  padding-top: 4px;
}

.llc-video__title {
  margin: 0 0 4px;
  color: var(--llc-ink);
  font-family: var(--llc-font-roboto);
  font-size: 16px;
  font-weight: 600;
  line-height: 20.4px;
}

.llc-video__date {
  display: block;
  color: #62676f;
  font-size: 11px;
  line-height: 16.5px;
}

/* ---------- Footer ---------- */

.llc-footer {
  background: var(--llc-footer-background);
  color: var(--llc-white);
}

.llc-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.9fr) minmax(300px, 0.9fr);
  gap: 56px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 54px;
}

.llc-brand--footer,
.llc-brand--footer .llc-brand__council,
.llc-brand--footer .llc-brand__line,
.llc-brand--footer .llc-brand__prefix {
  color: var(--llc-white) !important;
}

.llc-footer-brand__board {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
}

.llc-footer-brand__board p {
  margin: 0;
}

.llc-footer-brand__label {
  color: var(--llc-footer-highlight);
}

.llc-footer-contact__title {
  margin: 12px 0 24px;
  color: var(--llc-footer-highlight);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.8px;
}

.llc-footer-contact__list {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
}

.llc-footer-submit {
  padding: 24px;
  border-radius: 12px;
  background: var(--llc-footer-card);
}

.llc-footer-submit__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.llc-footer-submit__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 18.2px;
}

.llc-footer-submit__button {
  display: block;
  padding: 6px 16px;
  border-radius: 4px;
  background: var(--llc-footer-action);
  color: var(--llc-white) !important;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.llc-footer__bottom {
  border-top: 1px solid var(--llc-footer-divider);
}

.llc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-size: 13px;
  line-height: 18.2px;
}

.llc-footer-bottom__link {
  color: var(--llc-white) !important;
  white-space: nowrap;
}

/* ---------- Thanh cuộn (giống demo) ---------- */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #c1c1c1;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- Responsive (cùng breakpoint với demo) ---------- */

@media (max-width: 960px) {
  .llc-top__grid,
  .llc-media {
    grid-template-columns: 1fr;
  }

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

  .llc-issues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .llc-header__top > :last-child {
    flex: 1 0 100%;
    width: 100%;
  }

  .llc-search {
    max-width: none;
    margin-left: 0;
  }

  /* Menu: bỏ mở bằng rê chuột, dùng nút mũi tên; cấp 3 nằm thụt vào trong cấp 2. */
  .llc-nav__list {
    column-gap: 24px;
  }

  .llc-nav__item:hover > .llc-nav__submenu,
  .llc-nav__item:focus-within > .llc-nav__submenu {
    display: none;
  }

  .llc-nav__item.is-open > .llc-nav__submenu {
    display: block;
  }

  .llc-nav__submenu {
    max-width: calc(100vw - 32px);
  }

  .llc-nav__submenu .llc-nav__item {
    flex-wrap: wrap;
  }

  .llc-nav__submenu .llc-nav__submenu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid var(--llc-border-light);
    border-radius: 0;
    box-shadow: none;
  }

  .llc-nav__submenu .llc-nav__toggle::before {
    transform: translateY(-2px) rotate(45deg);
  }

  .llc-nav__submenu .llc-nav__item.is-open > .llc-nav__toggle::before {
    transform: translateY(1px) rotate(-135deg);
  }
}

@media (max-width: 720px) {
  .llc-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

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

  .llc-news,
  .llc-research,
  .llc-theory,
  .llc-video,
  .llc-media {
    grid-template-columns: 1fr;
  }

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

  .llc-research {
    gap: 48px;
  }

  .llc-research__item,
  .llc-research__item + .llc-research__item {
    padding: 0;
    border-right: 0;
  }

  .llc-hero__body {
    padding: 24px;
  }

  .llc-hero__title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .llc-news,
  .llc-issues {
    grid-template-columns: 1fr;
  }

  .llc-hero {
    min-height: 380px;
  }

  .llc-hero__body {
    padding: 16px;
  }

  .llc-hero__title {
    font-size: 16px;
    line-height: 1.35;
  }

  .llc-hero__author {
    margin-bottom: 0;
    font-size: 10px;
    line-height: 1.5;
  }

  .llc-video__feature {
    min-height: 420px;
  }

  .llc-video__item {
    flex-direction: column;
    gap: 12px;
  }

  .llc-video__thumb {
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
  }
}
