/**
 * Các trang chuyên mục, Podcast, Giới thiệu, chi tiết bài viết.
 * Chuyển từ bản demo Next.js (repo llct, theme mặc định "red").
 * Biến màu dùng chung khai báo trong lyluan.css.
 */

:root {
  --llc-category-main: #b32125;
  --llc-accent: #b62327;
  --llc-highlight: #f6d365;
  --llc-gold-light: #e6bd58;
  --llc-gray-700: #374151;
  --llc-border: #d1d5db;
  --llc-text-muted: #6b7280;
}

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

.llc-main__content {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ================= Trang chuyên mục ================= */

.llc-category-header {
  padding-top: 40px;
}

.llc-category-header__title {
  margin: 0 0 16px;
  color: var(--llc-category-main);
  font-family: var(--llc-font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

/* Giữ margin-top mặc định 1em của thẻ p như demo. */
.llc-category-header__subtitle {
  margin-bottom: 24px;
  color: var(--llc-text);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 30.6px;
}

.llc-category-header__rule {
  border-top: 2px solid var(--llc-category-main);
}

.llc-category-filter-wrap {
  padding-top: 20px;
  padding-bottom: 20px;
}

.llc-category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--llc-border-subtle);
  border-radius: 12px;
  background: #f4f3f7;
}

.llc-category-filter__field,
.llc-category-filter__keyword-input {
  flex: 1 1 0;
  /* Không giãn theo option dài (tên số tạp chí): các ô chia đều một hàng. */
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--llc-border);
  border-radius: 8px;
  outline: none;
  background: var(--llc-white);
  font-size: 13px;
}

select.llc-category-filter__field {
  color: var(--llc-gray-700);
  cursor: pointer;
  text-overflow: ellipsis;
}

.llc-category-filter__keyword {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

/* Màn hình hẹp: mỗi ô một hàng. */
@media (max-width: 720px) {
  .llc-category-filter__field,
  .llc-category-filter__keyword {
    flex-basis: 100%;
  }
}

.llc-category-filter__keyword-input {
  min-width: 50px;
  border-radius: 8px 0 0 8px;
}

.llc-category-filter__button {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: none;
  border-radius: 0 8px 8px 0;
  background: var(--llc-accent);
  color: var(--llc-white);
  cursor: pointer;
}

.llc-category-filter__reset {
  color: var(--llc-accent);
  font-size: 13px;
  white-space: nowrap;
}

.llc-category-filter__reset:hover {
  text-decoration: underline;
}

.llc-category-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 64px;
  padding-bottom: 48px;
}

/* Không có thanh lọc dưới tiêu đề chuyên mục: chừa khoảng như khi có. */
.llc-category-layout--no-filter {
  padding-top: 24px;
}

.llc-category-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--llc-border-light);
  text-align: justify;
}

.llc-category-item__photo {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 180px;
  border-radius: 8px;
  background-color: var(--llc-border-light);
  background-position: center;
  background-size: cover;
}

.llc-interactive-icon {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.llc-category-item__body {
  flex: 1;
}

.llc-category-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.llc-category-item__category {
  color: var(--llc-accent);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.llc-category-item__edition {
  color: var(--llc-text);
  font-size: 12px;
}

.llc-category-item__title {
  margin: 0 0 8px;
  color: var(--llc-category-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.llc-category-item__description {
  margin: 0 0 10px;
  color: var(--llc-text);
  font-size: 14px;
  line-height: 1.65;
}

.llc-category-item__doi {
  margin-bottom: 16px;
  color: #001634;
  font-size: 12px;
}

.llc-category-item__pdf {
  margin-left: 8px;
  color: var(--llc-accent);
  font-size: 12px;
  font-weight: 600;
}

.llc-category-item__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.llc-category-item__tag {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 3px 9px;
  border-radius: 12px;
  background: #f3f4f6;
  color: var(--llc-gray-700);
  font-size: 12px;
}

.llc-pager {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}

.llc-pager__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--llc-border);
  border-radius: 4px;
  background: var(--llc-white);
  color: var(--llc-gray-700);
  font-size: 13px;
  cursor: pointer;
}

.llc-pager__item.is-current {
  border: 2px solid var(--llc-accent);
  background: var(--llc-accent);
  color: var(--llc-white);
}

/* Phân trang dạng link (trang tìm kiếm). */
a.llc-pager__item:hover {
  border-color: var(--llc-accent);
  color: var(--llc-accent);
}

.llc-pager__item.is-disabled {
  opacity: 0.4;
}

.llc-search-results__empty {
  margin: 0;
  padding: 24px 0;
  color: var(--llc-text);
  font-size: 15px;
}

.llc-sidebar-title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--llc-category-main);
  color: var(--llc-category-main);
  font-size: 20px;
  font-weight: 700;
}

.llc-most-read {
  margin-bottom: 28px;
}

.llc-most-read__item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.llc-most-read__number {
  min-width: 84px;
  color: #e3e2e6;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.llc-most-read__title,
.llc-most-read__date {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.llc-most-read__title {
  color: #000000;
}

.llc-most-read__date {
  color: var(--llc-text);
}

.llc-hot-topic {
  margin-bottom: 48px;
  padding: 24px;
  border-radius: 12px;
  background: var(--llc-accent);
  display: block;
  color: inherit;
}

.llc-hot-topic__label {
  margin-bottom: 16px;
  color: var(--llc-white);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.llc-hot-topic__photo {
  position: relative;
  height: 120px;
  background-position: center;
  background-size: cover;
}

.llc-hot-topic__body {
  margin-top: 16px;
}

.llc-hot-topic__title {
  margin-bottom: 6px;
  color: var(--llc-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.llc-hot-topic__text {
  color: var(--llc-white);
  font-size: 14px;
  line-height: 1.55;
  /* Mô tả dài (lấy từ tóm tắt bài) tối đa 3 dòng. */
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.llc-popular-tags {
  margin-bottom: 28px;
}

.llc-popular-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.llc-popular-tags__tag {
  padding: 5px 10px;
  border-radius: 4px;
  background: #f3f4f6;
  color: var(--llc-gray-700);
  font-size: 12px;
  cursor: pointer;
  /* Từ khóa dài không tràn khỏi cột phải. */
  max-width: 100%;
  overflow-wrap: anywhere;
}

a.llc-popular-tags__tag:hover {
  color: var(--llc-accent);
}

/* ================= Trang Podcast ================= */

.llc-podcast-hero {
  padding: 16px 0;
  background: var(--llc-accent);
}

.llc-podcast-hero__box {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.llc-podcast-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  overflow: hidden;
}

.llc-podcast-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 32px 36px;
}

.llc-podcast-feature__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.llc-podcast-feature__badge {
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--llc-highlight);
  color: var(--llc-white);
  font-size: 12px;
  font-weight: 700;
}

.llc-podcast-feature__muted {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.llc-podcast-feature__dot {
  color: rgba(255, 255, 255, 0.42);
}

.llc-podcast-feature__title {
  margin: 0 0 12px;
  color: var(--llc-white);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.llc-podcast-feature__description {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.7;
}

.llc-podcast-feature__guest {
  color: #e8c25f;
  font-size: 12px;
  font-weight: 600;
}

.llc-podcast-feature__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.llc-podcast-feature__time {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.llc-podcast-feature__image {
  min-height: 260px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

.llc-podcast-play {
  display: flex;
  align-items: center;
  border: none;
  background: var(--llc-white);
  color: var(--llc-accent);
  font-weight: 700;
  cursor: pointer;
}

.llc-podcast-play--feature {
  gap: 8px;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
}

.llc-podcast-play--episode {
  position: absolute;
  bottom: 12px;
  left: 12px;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
}

.llc-podcast-play.is-playing {
  background: var(--llc-highlight);
  color: var(--llc-white);
}

.llc-podcast-play__icon--pause,
.llc-podcast-play.is-playing .llc-podcast-play__icon--play {
  display: none;
}

.llc-podcast-play.is-playing .llc-podcast-play__icon--pause {
  display: block;
}

.llc-podcast-list {
  padding: 34px 0 50px;
  background: #f6f7fb;
}

.llc-podcast-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.llc-podcast-list__title {
  margin: 0;
  color: var(--llc-text-strong);
  font-size: 19px;
  font-weight: 800;
}

.llc-podcast-list__count {
  color: #9ca3af;
  font-size: 13px;
}

.llc-podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.llc-episode {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--llc-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.llc-episode.is-playing {
  border-color: var(--llc-accent);
}

.llc-episode__image {
  position: relative;
  height: 176px;
  background-position: center;
  background-size: cover;
}

.llc-episode__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.llc-episode__badge {
  position: absolute;
  top: 11px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--llc-accent);
  color: var(--llc-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.llc-episode__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px 18px;
}

.llc-episode__title {
  margin: 0 0 8px;
  color: var(--llc-text-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.llc-episode__description {
  margin: 0 0 15px;
  color: var(--llc-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.llc-episode__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.llc-episode__guest {
  color: var(--llc-accent);
  font-size: 12px;
  font-weight: 600;
}

.llc-episode__meta {
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
}

.llc-podcast-subscribe {
  padding: 38px 0;
  background: var(--llc-accent);
}

.llc-podcast-subscribe__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.llc-podcast-subscribe__title {
  margin-bottom: 6px;
  color: var(--llc-white);
  font-size: 19px;
  font-weight: 800;
}

.llc-podcast-subscribe__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.llc-podcast-subscribe__form {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  margin: 0;
}

.llc-podcast-subscribe__input {
  width: 230px;
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  outline: none;
  font-size: 13px;
}

.llc-podcast-subscribe__button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  background: var(--llc-highlight);
  color: var(--llc-white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= Trang Giới thiệu ================= */

.llc-main--about {
  color: #18212f;
}

.llc-about-intro {
  overflow: hidden;
  background: var(--llc-accent);
  color: var(--llc-white);
}

.llc-about-intro__inner {
  position: relative;
  padding-top: 68px;
  padding-bottom: 72px;
}

.llc-about-intro__circle {
  position: absolute;
  border-radius: 50%;
}

.llc-about-intro__circle--large {
  top: -160px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.llc-about-intro__circle--small {
  top: -60px;
  right: 50px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(200, 146, 13, 0.46);
}

.llc-about-intro__content {
  position: relative;
  max-width: 760px;
}

.llc-about-intro__label {
  margin-bottom: 18px;
  color: var(--llc-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.llc-about-intro__text {
  max-width: 675px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.llc-about-label {
  margin-bottom: 14px;
  color: var(--llc-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.llc-about-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 76px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 64px;
}

.llc-about-mission__title {
  margin: 0 0 22px;
  color: var(--llc-accent);
  font-size: 31px;
  line-height: 1.4;
}

.llc-about-mission__text {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.8;
}

.llc-about-mission__text:last-child {
  margin-bottom: 0;
}

.llc-about-vision {
  padding: 28px 30px;
  border-left: 4px solid var(--llc-highlight);
  background: #f5f7fb;
}

.llc-about-vision__label {
  margin-bottom: 10px;
  color: #65718a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.llc-about-vision__text {
  margin: 0;
  color: var(--llc-accent);
  font-size: 22px;
  line-height: 1.6;
}

.llc-about-values {
  padding: 62px 0 70px;
  background: #f4f6fa;
}

.llc-about-values__head {
  max-width: 620px;
  margin-bottom: 34px;
}

.llc-about-values__head .llc-about-label {
  margin-bottom: 12px;
}

.llc-about-values__title {
  margin: 0;
  color: var(--llc-accent);
  font-size: 30px;
}

.llc-about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.llc-about-value {
  padding: 27px 25px 30px;
  border: 1px solid #e2e7f0;
  background: var(--llc-white);
}

.llc-about-value__number {
  margin-bottom: 26px;
  color: var(--llc-highlight);
  font-size: 27px;
}

.llc-about-value__title {
  margin: 0 0 12px;
  color: var(--llc-accent);
  font-size: 18px;
}

.llc-about-value__text {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.llc-about-connect {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 76px;
}

.llc-about-connect .llc-about-label {
  margin-bottom: 13px;
}

.llc-about-connect__title {
  margin: 0 0 14px;
  color: var(--llc-accent);
  font-size: 30px;
  line-height: 1.45;
}

.llc-about-connect__text {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.75;
}

.llc-about-connect__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  padding: 28px 30px;
  background: var(--llc-accent);
  color: var(--llc-white);
}

.llc-about-connect__label {
  margin-bottom: 7px;
  color: var(--llc-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.llc-about-connect__value {
  font-size: 15px;
}

.llc-about-members {
  padding: 40px 0;
  background: var(--llc-white);
}

.llc-about-members__title {
  margin-bottom: 64px;
  color: var(--llc-section-heading);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.llc-about-members__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.llc-member {
  text-align: center;
  cursor: pointer;
}

.llc-member__photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 16px;
  padding: 4px;
  border: 2px solid var(--llc-accent);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.llc-member__name {
  margin-bottom: 4px;
  color: #b32125;
  font-size: 18px;
  font-weight: 700;
}

.llc-member__title,
.llc-member__years {
  color: var(--llc-accent);
  font-size: 14px;
  line-height: 1.4;
}

.llc-member__title {
  font-weight: 700;
}

/* ================= Trang chi tiết bài viết ================= */

.llc-main--article {
  color: var(--llc-text);
}

.llc-breadcrumb {
  background: #e9e7eb;
}

.llc-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
}

.llc-breadcrumb__category {
  color: #000000;
  font-size: 13px;
}

.llc-breadcrumb__topic {
  color: #000000 !important;
  font-size: 13px;
  font-weight: 700;
}

.llc-article--standard {
  padding-top: 28px;
}

.llc-article--infographic,
.llc-article__emagazine-header,
.llc-article__emagazine-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
}

.llc-article--emagazine {
  color: #26354a;
}

.llc-article__title {
  margin: 0;
  color: var(--llc-accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.26;
}

.llc-article__summary {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.llc-article__doi {
  margin: -8px 0 20px;
  color: #001634;
  font-size: 12px;
}

.llc-article__hero {
  margin: 0 0 26px;
}

.llc-article__hero-image {
  height: 480px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.llc-article__hero-caption {
  padding: 12px 18px 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
}

.llc-article-body {
  color: var(--llc-text);
  font-size: 18px;
  line-height: 1.94;
  text-align: justify;
}

.llc-article-body--magazine {
  font-size: 19px;
}

.llc-article__paragraph {
  white-space: pre-line;
  word-wrap: break-word;
}

.llc-article__paragraph.is-emphasis {
  font-weight: 700;
}

.llc-article__paragraph.is-italic {
  font-style: italic;
}

.llc-article-body__narrow {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.llc-article-figure--magazine {
  margin: 0;
}

.llc-article-figure__image {
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.llc-article-figure--magazine .llc-article-figure__image {
  max-height: none;
}

.llc-article-figure__image.is-full {
  width: 100%;
}

.llc-article-figure__caption {
  padding: 10px 16px 0;
  color: var(--llc-text-muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.llc-article__footer {
  margin-top: 16px;
  padding-bottom: 16px;
  color: var(--llc-text-muted);
  font-size: 13px;
  text-align: end;
}

/* Nội dung HTML của node bài viết (field_content). */
.llc-article-html {
  white-space: normal;
}

.llc-article-html p {
  margin: 0 0 1em;
}

.llc-article-html h2,
.llc-article-html h3,
.llc-article-html h4 {
  margin: 1.4em 0 0.6em;
  color: var(--llc-text-strong);
  font-weight: 700;
  line-height: 1.4;
}

.llc-article-html h2 {
  font-size: 22px;
}

.llc-article-html h3 {
  font-size: 20px;
}

.llc-article-html h4 {
  font-size: 18px;
}

.llc-article-html a {
  color: var(--llc-accent) !important;
  text-decoration: underline;
}

.llc-article-html img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 8px;
}

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

/* Bài infographic: ảnh full khung, không giới hạn chiều cao (như demo). */
.llc-article--infographic .llc-article-html img {
  width: 100%;
  max-height: none;
  object-fit: contain;
}

.llc-article-html figcaption,
.llc-article-html .caption {
  padding: 10px 16px 0;
  color: var(--llc-text-muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.llc-article-html blockquote {
  margin: 28px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--llc-accent);
  background: #f4f3f7;
  font-style: italic;
}

.llc-article-html ul,
.llc-article-html ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.llc-article-html table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: 16px;
}

.llc-article-html th,
.llc-article-html td {
  padding: 8px 12px;
  border: 1px solid var(--llc-border-light);
  text-align: left;
}

.llc-article-html iframe,
.llc-article-html video {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

/* Khối ảnh + chữ trong bài eMagazine (giữ tên class như demo). */
.llc-article-split {
  max-width: 750px;
  margin: 0 auto;
  padding: 20px;
}

.article-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.article-split--image-right .article-split__media {
  order: 2;
}

.article-split__media {
  margin: 0;
}

.article-split__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-split--natural-image,
.article-split--natural-image.article-split--image-right {
  display: flow-root;
}

.article-split--natural-image .article-split__media img {
  width: auto;
  max-width: 100%;
  margin: 0;
}

.article-split--natural-image .article-split__media {
  float: left;
  max-width: 55.74%;
  margin: 0 30px 20px -90px;
}

.article-split--natural-image.article-split--image-right .article-split__media {
  float: right;
  margin: 0 -90px 20px 30px;
}

.article-split--natural-image .article-split__content {
  min-width: 0;
}

.article-split__media figcaption {
  padding-top: 10px;
  color: var(--llc-text-muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.article-split__content p:first-child {
  margin-top: 0;
}

.article-split__content p:last-child {
  margin-bottom: 0;
}

.llc-related-wrap {
  padding-bottom: 72px;
}

.llc-related {
  margin-top: 40px;
}

.llc-related__title {
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--llc-accent);
  color: var(--llc-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

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

.llc-related__item {
  display: block;
}

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

.llc-related__category {
  margin-bottom: 6px;
  color: var(--llc-header-brand);
  font-size: 12px;
  text-transform: uppercase;
}

.llc-related__item-title {
  margin: 0 0 8px;
  color: var(--llc-text-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

/* ================= Trang đăng ký (/user/register) ================= */

.llc-auth {
  padding: 48px 0 72px;
  background: #f4f3f7;
}

.llc-auth__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: 1080px;
}

.llc-auth__intro {
  position: relative;
  overflow: hidden;
  padding: 48px 40px;
  border-radius: 12px 0 0 12px;
  background: var(--llc-accent);
  color: var(--llc-white);
}

.llc-auth__circle {
  position: absolute;
  border-radius: 50%;
}

.llc-auth__circle--large {
  right: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.llc-auth__circle--small {
  right: -20px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(200, 146, 13, 0.46);
}

.llc-auth__intro-content {
  position: relative;
}

.llc-auth__label {
  margin-bottom: 18px;
  color: var(--llc-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.llc-auth__intro-title {
  margin: 0 0 24px;
  font-family: var(--llc-font-serif);
  font-size: 26px;
  line-height: 1.4;
}

.llc-auth__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.llc-auth__benefits li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.6;
}

.llc-auth__benefits li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--llc-highlight);
}

.llc-auth__panel {
  padding: 48px 48px 40px;
  border-radius: 0 12px 12px 0;
  background: var(--llc-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.llc-auth__title {
  margin: 0 0 8px;
  color: var(--llc-accent);
  font-family: var(--llc-font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.llc-auth__subtitle {
  margin: 0 0 28px;
  color: var(--llc-text);
  font-size: 15px;
  line-height: 1.6;
}

/* Form Drupal (user_register_form) và thông báo trong region content. */
.llc-auth__panel .form-item {
  margin: 0 0 18px;
}

.llc-auth__panel label {
  display: block;
  margin-bottom: 6px;
  color: var(--llc-text-strong);
  font-size: 14px;
  font-weight: 600;
}

.llc-auth__panel label.form-required::after {
  content: ' *';
  color: var(--llc-accent);
}

.llc-auth__panel input.form-text,
.llc-auth__panel input.form-email,
.llc-auth__panel input[type='password'] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--llc-border);
  border-radius: 8px;
  outline: none;
  background: var(--llc-white);
  color: var(--llc-text-strong);
  font-size: 15px;
}

.llc-auth__panel input.form-text:focus,
.llc-auth__panel input.form-email:focus,
.llc-auth__panel input[type='password']:focus {
  border-color: var(--llc-accent);
  box-shadow: 0 0 0 3px rgba(182, 35, 39, 0.12);
}

.llc-auth__panel input.error {
  border-color: #ba1a1a;
}

.llc-auth__panel .description,
.llc-auth__panel .password-strength,
.llc-auth__panel .password-confirm,
.llc-auth__panel .password-suggestions {
  margin-top: 6px;
  color: var(--llc-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.llc-auth__panel .password-suggestions ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.llc-auth__panel .password-strength__meter {
  height: 4px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--llc-border-light);
}

.llc-auth__panel .password-strength__indicator {
  height: 100%;
  border-radius: 2px;
  background: var(--llc-accent);
}

.llc-auth__panel fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.llc-auth__panel .captcha {
  margin-bottom: 18px;
}

.llc-auth__panel .form-actions {
  margin-top: 8px;
}

.llc-auth__panel .form-actions .form-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--llc-accent);
  color: var(--llc-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.llc-auth__panel .form-actions .form-submit:hover {
  background: #a61919;
}

.llc-auth-form__switch {
  margin: 18px 0 0;
  color: var(--llc-text);
  font-size: 14px;
  text-align: center;
}

.llc-auth-form__switch a {
  color: var(--llc-accent) !important;
  font-weight: 700;
}

.llc-auth__panel .messages {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-left: 4px solid var(--llc-gold-dark);
  border-radius: 6px;
  background: #fdf6e3;
  color: var(--llc-text-strong);
  font-size: 14px;
  line-height: 1.6;
}

.llc-auth__panel .messages--error {
  border-left-color: #ba1a1a;
  background: #fdecea;
}

.llc-auth__panel .messages--status {
  border-left-color: #2e7d32;
  background: #edf7ee;
}

.llc-auth__panel .messages ul {
  margin: 0;
  padding-left: 18px;
}

/* Region content còn có tab, nút hành động của Drupal: không cần ở trang này. */
.llc-auth__panel nav.tabs,
.llc-auth__panel .action-links {
  display: none;
}

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

@media (max-width: 960px) {
  .llc-auth__inner,
  .llc-category-layout,
  .llc-about-mission,
  .llc-about-connect {
    grid-template-columns: 1fr;
  }

  /* Xếp dọc: form lên trước, khối giới thiệu xuống dưới. */
  .llc-auth__panel {
    order: -1;
    border-radius: 12px 12px 0 0;
  }

  .llc-auth__intro {
    border-radius: 0 0 12px 12px;
  }

  .llc-related__grid,
  .llc-about-values__grid,
  .llc-about-members__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-split--natural-image,
  .article-split--natural-image.article-split--image-right {
    display: grid;
  }

  .article-split--natural-image .article-split__media,
  .article-split--natural-image.article-split--image-right .article-split__media {
    float: none;
    max-width: 100%;
    margin: 0;
  }

  .article-split--natural-image.article-split--image-right .article-split__media {
    order: 0;
  }

  .article-split--natural-image .article-split__media img,
  .article-split--natural-image.article-split--image-right .article-split__media img {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .llc-auth {
    padding: 24px 0 40px;
  }

  .llc-auth__intro,
  .llc-auth__panel {
    padding: 28px 20px;
  }

  /* reCAPTCHA rộng cố định 304px, thu nhỏ cho vừa khung form. */
  .llc-auth__panel .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
  }

  .llc-podcast-feature,
  .llc-podcast-grid,
  .llc-related__grid,
  .llc-about-values__grid,
  .llc-about-connect__box {
    grid-template-columns: 1fr;
  }

  .llc-podcast-feature__body {
    padding: 24px 20px;
  }

  .llc-podcast-feature__image {
    min-height: 200px;
    background-position: center;
  }

  .llc-podcast-subscribe__inner {
    align-items: stretch;
  }

  .llc-podcast-subscribe__form {
    width: 100%;
  }

  .llc-podcast-subscribe__input {
    flex: 1;
    width: 100%;
    min-width: 0;
  }

  .llc-category-item {
    flex-direction: column;
  }

  .llc-category-item__photo {
    width: 100%;
    height: 190px;
  }

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

  .article-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-split--image-right .article-split__media {
    order: 0;
  }
}

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