/* EducationTrainingPortal — bảng màu chỉ đạo (header/footer mockup) */
:root {
  --etp-blue-primary: #0a4d8c;
  --etp-blue-nav: #0d3d6b;
  --etp-blue-nav-active: #082d52;
  --etp-blue-footer: #001c3d;
  --etp-blue-logo: #0a4d8c;
  --etp-gold: #c9a227;
  --etp-gold-hover: #dbb42e;
  --etp-red: #c8102e;
  --etp-white: #ffffff;
  --etp-text: #1a2b3c;
  --etp-text-muted: #5c6b7a;
  --etp-border: #d8dee6;
  --etp-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --etp-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.etp-body {
  margin: 0;
  font-family: var(--etp-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--etp-text);
  background: #f5f8fd;
}

body.etp-body.etp-menu-open {
  overflow: hidden;
}

.etp-container {
  width: 100%;
  max-width: var(--etp-container);
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Top bar —— */
.etp-topbar {
  background: var(--etp-blue-primary);
  color: var(--etp-white);
  font-size: 13px;
}

.etp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 12px;
}

.etp-topbar__contact {
  opacity: 0.95;
}

.etp-topbar__sep {
  margin: 0 8px;
  opacity: 0.6;
}

.etp-topbar__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--etp-gold);
  font-weight: 600;
}

.etp-topbar__login:hover {
  color: var(--etp-gold-hover);
}

.etp-topbar__login-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.etp-topbar__user {
  position: relative;
}

.etp-topbar__user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--etp-gold);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.etp-topbar__user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etp-topbar__user-trigger:hover,
.etp-topbar__user:focus-within .etp-topbar__user-trigger {
  color: var(--etp-gold-hover);
}

.etp-topbar__user-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.etp-topbar__user-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 180px;
  padding: 6px 0;
  border-radius: 6px;
  background: var(--etp-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}

.etp-topbar__user:hover .etp-topbar__user-menu,
.etp-topbar__user:focus-within .etp-topbar__user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.etp-topbar__user-menu-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--etp-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.etp-topbar__user-menu-item:hover,
.etp-topbar__user-menu-item--btn:hover {
  background: #f0f4f8;
  color: var(--etp-blue-primary);
}

.etp-topbar__user-logout {
  margin: 0;
  border-top: 1px solid var(--etp-border);
}

/* —— Branding + search —— */
.etp-brand {
  background: var(--etp-white);
  border-bottom: 1px solid var(--etp-border);
}

.etp-brand__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.etp-brand__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.etp-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

/* Header (nền trắng): khung xanh cho logo mặc định sáng màu */
.etp-brand .etp-logo-frame {
  background: var(--etp-blue-primary);
  border-radius: 10px;
  padding: 6px;
}

.etp-brand__logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.etp-footer .etp-logo-frame {
  background: transparent;
  padding: 0;
}

.etp-footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.etp-brand__org {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--etp-text-muted);
}

.etp-brand__title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--etp-blue-primary);
}

.etp-search {
  display: flex;
  align-items: stretch;
  flex: 0 1 420px;
  max-width: 100%;
  border: 1px solid var(--etp-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--etp-white);
}

.etp-search--mobile {
  display: none;
}

.etp-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 8px 16px;
  font: inherit;
  outline: none;
}

.etp-search__input::placeholder {
  color: #9aa5b1;
}

.etp-search__btn {
  border: 0;
  padding: 0 20px;
  background: var(--etp-gold);
  color: var(--etp-white);
  font-weight: 600;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.etp-search__btn:hover {
  background: var(--etp-gold-hover);
}

/* —— Navigation —— */
.etp-nav {
  background: var(--etp-blue-nav);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 10px rgba(0, 28, 61, 0.18);
}

.etp-nav .etp-container {
  position: relative;
}

.etp-nav__toggle {
  display: none;
  width: 44px;
  height: 40px;
  margin: 8px 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.etp-nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--etp-white);
}

.etp-nav__backdrop {
  display: none;
}

.etp-mobile-drawer {
  display: none;
}

.etp-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.etp-nav__item {
  margin: 0;
  position: relative;
  flex: 0 0 auto;
}

.etp-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: var(--etp-white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.etp-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.etp-nav__link.is-active {
  background: var(--etp-blue-nav-active);
  border-bottom-color: var(--etp-gold);
}

.etp-nav__item.is-hidden {
  display: none;
}

.etp-nav__link--toggle {
  padding-right: 10px;
}

.etp-nav__item--more .etp-nav__link--more {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.etp-nav__caret {
  font-size: 12px;
  line-height: 1;
}

.etp-nav__dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  min-width: 220px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: none;
}

.etp-nav__item.has-dropdown:hover > .etp-nav__dropdown,
.etp-nav__item.has-dropdown:focus-within > .etp-nav__dropdown,
.etp-nav__item--more:hover > .etp-nav__dropdown,
.etp-nav__item--more:focus-within > .etp-nav__dropdown {
  display: block;
}

.etp-nav__dropdown .etp-nav__item {
  display: block;
}

.etp-nav__dropdown .etp-nav__link {
  color: var(--etp-blue-primary);
  padding: 10px 14px;
  border-bottom: 0;
  justify-content: space-between;
}

.etp-nav__dropdown .etp-nav__link:hover,
.etp-nav__dropdown .etp-nav__link.is-active {
  background: #f1f5f9;
  color: var(--etp-blue-primary);
}

.etp-nav__dropdown .etp-nav__dropdown {
  left: 100%;
  top: -7px;
}

.etp-nav__dropdown--more {
  right: 0;
  left: auto;
}

@media (max-width: 991px) {
  .etp-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .etp-topbar__inner {
    justify-content: flex-end;
    min-height: 40px;
  }

  .etp-topbar__contact {
    display: none;
  }

  .etp-brand__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 8px;
  }

  .etp-brand__title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .etp-brand__org {
    font-size: 0.75rem;
  }

  .etp-search {
    width: 100%;
  }

  .etp-search--desktop {
    display: none;
  }

  .etp-nav__toggle {
    display: inline-block;
    width: 40px;
    height: 38px;
    margin: 8px 0;
    padding: 7px;
    flex: 0 0 auto;
  }

  .etp-nav__toggle-bar {
    height: 2px;
    margin: 4px 0;
  }

  .etp-nav__list {
    display: none;
  }

  .etp-nav {
    position: relative;
    z-index: 40;
  }

  .etp-nav .etp-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .etp-search--mobile {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 20px;
  }

  .etp-search--mobile .etp-search__input {
    padding: 6px 10px;
    font-size: 13px;
  }

  .etp-search--mobile .etp-search__btn {
    padding: 0 10px;
    font-size: 12px;
  }

  .etp-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(0, 18, 39, 0.45);
  }

  .etp-mobile-drawer.is-open + .etp-nav__backdrop {
    display: block;
  }

  .etp-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 45;
    width: min(88vw, 360px);
    height: 100vh;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 14px 0 32px rgba(0, 0, 0, 0.18);
    transform: translateX(-102%);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
  }

  .etp-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .etp-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .etp-mobile-drawer__title {
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .etp-mobile-drawer__close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    background: #ffffff;
    color: #4b5563;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .etp-mobile-drawer__body {
    overflow-y: auto;
    padding: 0 10px 12px;
  }

  .etp-nav__list--mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .etp-nav__list--mobile .etp-nav__item {
    width: 100%;
  }

  .etp-nav__list--mobile .etp-nav__link {
    width: 100%;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #333333;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: normal;
    justify-content: space-between;
  }

  .etp-nav__list--mobile .etp-nav__link.is-active {
    background: transparent;
    color: #0f172a;
    font-weight: 700;
  }

  .etp-nav__list--mobile .etp-nav__item.has-dropdown > .etp-nav__dropdown {
    position: static;
    min-width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    display: none;
  }

  .etp-nav__list--mobile
    .etp-nav__item.has-dropdown.is-open
    > .etp-nav__dropdown {
    display: block;
  }

  .etp-nav__list--mobile .etp-nav__dropdown .etp-nav__link {
    color: #4b5563;
    padding: 8px 14px 8px 20px;
    background: transparent;
    text-transform: none;
    font-weight: 500;
  }

  .etp-nav__list--mobile .etp-nav__dropdown .etp-nav__link:hover,
  .etp-nav__list--mobile .etp-nav__dropdown .etp-nav__link.is-active {
    background: transparent;
    color: #111827;
    font-weight: 700;
  }

  .etp-nav__list--mobile .etp-nav__caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 8px;
    font-size: 16px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    cursor: pointer;
  }
}

.etp-nav__home-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* —— Breaking news —— */
.etp-ticker {
  background: var(--etp-white);
  border-bottom: 1px solid var(--etp-border);
}

.etp-ticker__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  overflow: hidden;
}

.etp-ticker__label {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--etp-red);
  color: var(--etp-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.etp-ticker__items {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  font-size: 13px;
  color: var(--etp-blue-primary);
  scrollbar-width: none;
}

.etp-ticker__items::-webkit-scrollbar {
  display: none;
}

.etp-ticker__item:hover {
  text-decoration: underline;
}

/* —— Main content —— */
.etp-main {
  min-height: 320px;
  padding: 24px 0 48px;
}

.etp-main .flow {
  max-width: var(--etp-container);
  margin: 0 auto;
  padding: 8px 16px;
  background: var(--etp-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.08);
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.etp-main .flow > * {
  max-width: 100%;
}

.etp-main .flow img,
.etp-main .flow video,
.etp-main .flow iframe,
.etp-main .flow canvas,
.etp-main .flow svg,
.etp-main .flow embed,
.etp-main .flow object {
  max-width: 100%;
  height: auto;
}

.etp-main .flow table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.etp-main .flow pre,
.etp-main .flow code {
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— Homepage sections (LandingPage) —— */
.etp-home-hero {
  margin-bottom: 20px;
}

.etp-home-hero__panel {
  background: linear-gradient(135deg, #0d3d6b, #0a4d8c);
  color: var(--etp-white);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 28, 61, 0.18);
}

.etp-home-hero__title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.25;
}

.etp-home-hero__subtitle {
  margin: 10px 0 0;
  opacity: 0.95;
  font-size: 1.05rem;
  font-weight: 600;
}

.etp-home-hero__brief {
  margin-top: 12px;
  max-width: 900px;
}

.etp-home-hero__brief p {
  margin: 0;
}

.etp-home-hero__intro {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 980px;
}

.etp-home-hero__intro p {
  margin: 0;
}

.etp-home-section {
  margin-top: 20px;
}

.etp-home-section h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: var(--etp-blue-nav);
}

.etp-home-links,
.etp-home-notices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.etp-home-links__item,
.etp-home-notices__item {
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0, 28, 61, 0.08);
}

.etp-home-links__item h3,
.etp-home-notices__item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--etp-blue-primary);
}

.etp-home-links__item h3 a:hover,
.etp-home-notices__item h3 a:hover {
  color: var(--etp-gold);
}

.etp-home-links__item p {
  margin: 8px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.95rem;
}

.etp-home-notices__item div {
  margin-top: 8px;
  color: var(--etp-text);
}

.etp-home-notices__item p {
  margin: 0;
}

.etp-home-section--alt {
  margin-bottom: 6px;
}

.etp-home-feature {
  margin-bottom: 22px;
}

.etp-home-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: stretch;
}

.etp-home-feature__hero,
.etp-home-feature__aside {
  min-width: 0;
}

.etp-home-feature__aside {
  display: grid;
  gap: 16px;
}

.etp-home-feature .etp-home-hero {
  height: 100%;
  margin-bottom: 0;
}

.etp-home-feature .etp-home-hero > .etp-container {
  max-width: none;
  height: 100%;
  margin: 0;
}

.etp-home-feature .etp-home-hero__panel {
  display: flex;
  min-height: 340px;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d3f76 0%, #0b4f92 55%, #0b3e79 100%);
}

.etp-home-feature .etp-home-hero__title {
  max-width: 780px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.etp-home-feature .etp-home-hero__brief,
.etp-home-feature .etp-home-hero__intro {
  max-width: 760px;
}

.etp-home-notice-card,
.etp-home-quick-card {
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.08);
}

.etp-home-notice-card {
  padding: 14px 14px 13px;
  border-color: rgba(217, 160, 36, 0.38);
}

.etp-home-notice-card__eyebrow,
.etp-home-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--etp-blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.etp-home-notice-card__eyebrow {
  color: #b67800;
}

.etp-home-notice-card__eyebrow svg,
.etp-home-side-title__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.etp-home-notice-card__title {
  margin: 10px 0 0;
  color: var(--etp-text);
  font-size: 1rem;
  line-height: 1.35;
}

.etp-home-notice-card__title a:hover,
.etp-home-notice-card__meta a:hover,
.etp-home-links__item:hover {
  color: var(--etp-gold);
}

.etp-home-notice-card__summary {
  margin-top: 8px;
  color: var(--etp-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.etp-home-notice-card__summary p {
  margin: 0;
}

.etp-home-notice-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.82rem;
}

.etp-home-notice-card__meta a {
  color: var(--etp-blue-primary);
  font-weight: 700;
}

.etp-home-quick-card {
  padding: 14px;
}

.etp-home-quick-card .etp-home-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.etp-home-quick-card .etp-home-links__item {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  background: #fbfdff;
  border: 1px solid var(--etp-border);
  border-radius: 6px;
  color: var(--etp-blue-primary);
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.etp-home-news-layout {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  margin-top: 22px;
  font-family: var(--etp-font);
}

.etp-home-news-layout *,
.etp-home-news-layout *::before,
.etp-home-news-layout *::after {
  font-family: inherit;
}

.etp-home-news-layout__side {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.etp-home-news,
.etp-home-top-read {
  min-width: 0;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.08);
}

.etp-home-news {
  padding: 0 0 10px;
  overflow: hidden;
}

.etp-home-news__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 10px;
}

.etp-home-news__header h2,
.etp-home-top-read h2 {
  margin: 0;
  color: var(--etp-blue-primary);
  font-family: var(--etp-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.etp-home-news__header p {
  margin: 6px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.9rem;
}

.etp-home-news__more {
  flex-shrink: 0;
  color: var(--etp-blue-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.etp-home-news__tabs {
  display: flex;
  gap: 22px;
  padding: 0 18px 14px;
  overflow-x: auto;
  color: var(--etp-text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.etp-home-news__tabs a {
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.etp-home-news__tabs a:hover,
.etp-home-news__tabs .is-active {
  color: var(--etp-blue-primary);
  border-color: var(--etp-gold);
}

.etp-home-news__empty,
.etp-home-top-read__empty {
  margin: 0;
  padding: 18px;
  color: var(--etp-text-muted);
}

.etp-home-news-featured {
  margin: 0 18px 14px;
  overflow: hidden;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
}

.etp-home-news-featured__media {
  display: block;
  min-height: 250px;
  background: #dcebf7;
}

.etp-home-news-featured__body {
  padding: 16px;
}

.etp-home-news__category {
  margin: 0 0 7px;
  color: var(--etp-blue-primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.etp-home-news-featured h3,
.etp-home-news-item h3 {
  margin: 0;
  color: var(--etp-text);
  font-family: var(--etp-font);
  font-weight: 700;
  line-height: 1.35;
}

.etp-home-news-featured h3 {
  font-size: 1.22rem;
}

.etp-home-news-item h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.98rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.etp-home-news-featured h3 a:hover,
.etp-home-news-item h3 a:hover,
.etp-home-top-read__body a:hover {
  color: var(--etp-gold);
}

.etp-home-news__lead {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--etp-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.etp-home-news__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.8rem;
}

.etp-home-news-list {
  display: grid;
  gap: 12px;
  padding: 0 18px 6px;
}

.etp-home-news-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--etp-border);
}

.etp-home-news-item__media {
  display: block;
  min-height: 86px;
  background: #dcebf7;
  border-radius: 6px;
}

.etp-home-news-item__body {
  min-width: 0;
}

.etp-home-top-read {
  padding: 14px 14px 10px;
}

.etp-home-top-read h2 {
  font-size: 1rem;
  text-transform: uppercase;
}

.etp-home-top-read__list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.etp-home-top-read__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--etp-border);
}

.etp-home-top-read__item:first-child {
  border-top: 0;
}

.etp-home-top-read__rank {
  color: var(--etp-gold);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.etp-home-top-read__body a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--etp-text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.etp-home-top-read__body p {
  display: flex;
  gap: 8px;
  margin: 5px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.78rem;
}

.etp-ad-stack {
  display: grid;
  gap: 16px;
  font-family: var(--etp-font);
}

.etp-ad {
  display: grid;
  min-height: 260px;
  place-items: center;
  background: #d9d9d9;
  border: 1px solid #d0d0d0;
  color: #4b5563;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.etp-home-featured-categories {
  display: grid;
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: 24px;
  font-family: var(--etp-font);
}

.etp-home-featured-categories *,
.etp-home-featured-categories *::before,
.etp-home-featured-categories *::after {
  font-family: inherit;
}

.etp-home-featured-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.etp-home-featured-category__header h2 {
  margin: 0;
  color: var(--etp-blue-primary);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.etp-home-featured-category__header a {
  flex-shrink: 0;
  color: var(--etp-blue-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.etp-home-featured-category__header a:hover,
.etp-featured-category-card h3 a:hover {
  color: var(--etp-gold);
}

.etp-home-featured-category__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.etp-home-featured-category__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
  color: var(--etp-text-muted);
  font-size: 0.9rem;
}

.etp-featured-category-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 12px;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.06);
}

.etp-featured-category-card__media {
  display: block;
  min-height: 96px;
  background: #dcebf7;
  border-radius: 6px;
}

.etp-featured-category-card__body {
  min-width: 0;
}

.etp-featured-category-card__category {
  margin: 0 0 5px;
  color: var(--etp-blue-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.etp-featured-category-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--etp-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.etp-featured-category-card__lead {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--etp-text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.etp-featured-category-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.78rem;
}

.etp-home-document-schedule {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--etp-font);
}

.etp-home-document-schedule *,
.etp-home-document-schedule *::before,
.etp-home-document-schedule *::after {
  font-family: inherit;
}

.etp-home-documents__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.etp-home-documents__header h2 {
  margin: 0;
  color: var(--etp-blue-primary);
  font-size: 1.45rem;
  font-weight: 700;
}

.etp-home-documents__header p {
  margin: 6px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.95rem;
}

.etp-home-documents__header a,
.etp-home-schedule__all {
  flex-shrink: 0;
  color: var(--etp-blue-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.etp-home-documents__list,
.etp-home-schedule {
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.08);
}

.etp-home-documents__list {
  padding: 4px 26px;
}

.etp-home-document-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--etp-border);
}

.etp-home-document-item:first-child {
  border-top: 0;
}

.etp-home-document-item h3 {
  margin: 0;
  color: var(--etp-text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.etp-home-document-item h3 a:hover,
.etp-home-documents__header a:hover,
.etp-home-schedule__all:hover {
  color: var(--etp-gold);
}

.etp-home-document-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.etp-home-document-item__type,
.etp-home-document-item__status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
}

.etp-home-document-item__type {
  background: #f4edcf;
  color: #856214;
}

.etp-home-document-item__status {
  background: #e7f8ee;
  color: #138343;
}

.etp-home-document-item__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--etp-border);
  border-radius: 7px;
  color: var(--etp-blue-primary);
  font-weight: 700;
  white-space: nowrap;
}

.etp-home-document-item__download svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.etp-home-schedule {
  align-self: start;
  padding: 18px 18px 16px;
}

.etp-home-schedule h2 {
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--etp-gold);
  color: var(--etp-blue-primary);
  font-size: 1.15rem;
  font-weight: 700;
}

.etp-home-schedule__groups {
  display: grid;
  gap: 14px;
}

.etp-home-schedule-group {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--etp-border);
}

.etp-home-schedule-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #b18a24;
  font-size: 0.95rem;
  font-weight: 700;
}

.etp-home-schedule-group h3 svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.etp-home-schedule-group__items {
  display: grid;
  gap: 10px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 2px solid #eadfb8;
}

.etp-home-schedule-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
}

.etp-home-schedule-item time {
  color: var(--etp-blue-primary);
  font-weight: 700;
}

.etp-home-schedule-item p {
  margin: 0;
  color: var(--etp-text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.etp-home-schedule__all {
  display: inline-block;
  margin-top: 14px;
}

.etp-home-school-system {
  grid-column: 1 / -1;
  margin-top: 32px;
  font-family: var(--etp-font);
}

.etp-home-school-system *,
.etp-home-school-system *::before,
.etp-home-school-system *::after {
  font-family: inherit;
}

.etp-home-school-system__eyebrow {
  margin: 0 0 8px;
  color: var(--etp-text-muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.etp-home-school-system h2 {
  margin: 0 0 22px;
  color: var(--etp-blue-primary);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
}

.etp-home-school-system__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.etp-school-group {
  min-width: 0;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.08);
}

.etp-school-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.etp-school-group__header h3 {
  margin: 0;
  color: var(--etp-text);
  font-size: 1rem;
  font-weight: 700;
}

.etp-school-group__header p {
  margin: 6px 0 0;
  color: var(--etp-text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.etp-school-group__toggle {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  background: #f2f6fb;
  border-radius: 999px;
  color: var(--etp-blue-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.etp-school-group__body {
  display: grid;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--etp-border);
}

.etp-school-group__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 12px;
  background: var(--etp-white);
  border: 1px solid var(--etp-border);
  border-radius: 7px;
  color: var(--etp-blue-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.etp-school-group__item::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: var(--etp-gold);
  border-radius: 50%;
}

.etp-school-group__item span:first-child {
  flex: 1 1 auto;
}

.etp-school-group__item.is-active {
  background: #f0f7ff;
}

.etp-school-group__item:hover {
  color: var(--etp-gold);
}

.etp-home-quick-access,
.etp-home-link-reference {
  grid-column: 1 / -1;
  margin-top: 30px;
  font-family: var(--etp-font);
}

.etp-home-quick-access *,
.etp-home-quick-access *::before,
.etp-home-quick-access *::after,
.etp-home-link-reference *,
.etp-home-link-reference *::before,
.etp-home-link-reference *::after {
  font-family: inherit;
}

.etp-home-quick-access h2,
.etp-home-link-reference h2 {
  margin: 0 0 18px;
  color: var(--etp-blue-primary);
  font-size: 1.45rem;
  font-weight: 700;
}

.etp-home-quick-access__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.etp-home-quick-access-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
  border: 1px solid #ebe4ce;
  border-radius: 8px;
  color: var(--etp-text);
  box-shadow: 0 1px 3px rgba(0, 28, 61, 0.05);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.etp-home-quick-access-card:hover {
  color: var(--etp-blue-primary);
  transform: translateY(-1px);
}

.etp-home-quick-access-card__icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #fbf4dc;
  border: 1px solid #eadcae;
  border-radius: 5px;
  color: #b18a24;
}

.etp-home-quick-access-card__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.etp-home-link-reference__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.etp-home-link-reference-card {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 10px;
  color: var(--etp-text);
}

.etp-home-link-reference-card__emblem {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  background: #d71920;
  border-radius: 50%;
  color: #ffd764;
  font-size: 0.8rem;
  font-weight: 800;
}

.etp-home-link-reference-card__text-logo {
  color: var(--etp-blue-primary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.etp-home-link-reference-card__text-logo--red {
  color: #d71920;
  font-size: 1.35rem;
}

.etp-home-link-reference-card__banner {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 5px 10px;
  background: linear-gradient(90deg, #f3d7a1, #c8ebff);
  color: #9a5a18;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.etp-home-link-reference-card__label {
  color: var(--etp-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.etp-home-link-reference-card:hover .etp-home-link-reference-card__label {
  color: var(--etp-blue-primary);
}

/* —— Trang Giới thiệu (seed / Page) —— */
.etp-about__kicker {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--etp-blue-primary);
  text-align: center;
}

.etp-about__subtitle {
  margin: 0 0 24px;
  padding-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--etp-blue-nav);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 3px solid var(--etp-gold);
}

.etp-about__body p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: var(--etp-text);
  text-align: justify;
}

.etp-about__body p:last-child {
  margin-bottom: 0;
}

/* —— Trang chưa có nội dung / 404 —— */
.etp-placeholder {
  padding: 32px 16px;
  text-align: center;
}

.etp-placeholder__message {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--etp-text-muted);
}

.etp-placeholder__back {
  margin: 24px 0 0;
  text-align: center;
}

.etp-placeholder__back a {
  color: var(--etp-blue-primary);
  font-weight: 600;
  text-decoration: none;
}

.etp-placeholder__back a:hover {
  color: var(--etp-gold);
  text-decoration: underline;
}

/* —— Footer —— */
.etp-footer {
  background: var(--etp-blue-footer);
  color: var(--etp-white);
  font-size: 14px;
}

.etp-footer__main {
  padding: 32px 0 24px;
}

.etp-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .etp-search {
    flex: 1 1 auto;
  }

  .etp-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .etp-footer__main {
    padding: 20px 8px;
  }

  .etp-footer__brand {
    align-items: center;
  }

  .etp-footer__name {
    font-size: 16px;
    line-height: 1.35;
  }

  .etp-footer__tagline-sm {
    margin-top: 4px;
    font-size: 12px;
  }

  .etp-footer__mission,
  .etp-footer__contact p {
    font-size: 13px;
    line-height: 1.55;
  }

  .etp-footer__bar-inner {
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }

  .etp-home-hero__panel {
    padding: 20px 16px;
  }

  .etp-home-hero__title {
    font-size: 1.35rem;
  }

  .etp-home-feature__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .etp-home-feature .etp-home-hero__panel {
    min-height: 260px;
    padding: 22px 16px;
  }

  .etp-home-news-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .etp-home-news__header {
    flex-direction: column;
  }

  .etp-home-news-featured__media {
    min-height: 180px;
  }

  .etp-home-news-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .etp-ad {
    min-height: 180px;
  }

  .etp-home-featured-category__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .etp-home-featured-category__grid {
    grid-template-columns: 1fr;
  }

  .etp-featured-category-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .etp-home-document-schedule {
    grid-template-columns: 1fr;
  }

  .etp-home-documents__header {
    flex-direction: column;
  }

  .etp-home-document-item {
    grid-template-columns: 1fr;
  }

  .etp-home-document-item__download {
    justify-self: start;
  }

  .etp-home-school-system__grid {
    grid-template-columns: 1fr;
  }

  .etp-home-quick-access__grid,
  .etp-home-link-reference__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .etp-home-links,
  .etp-home-notices {
    grid-template-columns: 1fr;
  }
}

.etp-footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.etp-footer__logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.etp-footer__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.etp-footer__tagline-sm {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.etp-footer__mission {
  margin: 0 0 16px;
  line-height: 1.6;
  opacity: 0.92;
}

.etp-footer__contact p {
  margin: 0 0 8px;
  opacity: 0.9;
}

.etp-footer__contact strong {
  font-weight: 600;
}

.etp-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 0;
}

.etp-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.9;
}
