﻿/* Bổ sung nhỏ cho style.css của thiết kế (assets/css/style.css). */
.news-content img, .article-body img { max-width: 100%; height: auto; }
.is-loading { opacity: .6; }
.form-alert:not(.d-none) { margin-bottom: 1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Trang khoa: điện thoại + email dưới khẩu hiệu */
.faculty-contact { margin-top: .5rem; font-size: .95rem; }
.faculty-contact-item { display: inline-block; margin-right: 1.5rem; }
.faculty-contact a { color: inherit; text-decoration: none; }
.faculty-contact a:hover { text-decoration: underline; }
.faculty-contact-item { display: inline-flex; align-items: center; gap: .4rem; }
.faculty-contact .fc-icon { flex: none; opacity: .85; }

/* Banner trang chủ: logo kỷ niệm 70 năm bên phải (nền trong suốt) */
.hero-logo70 { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35)); transform: translate(110px, -70px); }
@media (max-width: 991.98px) { .hero-logo70 { max-width: 240px; transform: none; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .hero-logo70 { max-width: 380px; transform: translate(70px, -70px); } }

/* Lightbox: chuyển ảnh mờ dần */
#lightboxImg { transition: opacity .2s ease; }
#lightboxImg.is-fading { opacity: 0; }

/* Album biểu diễn: tên album nằm giữa ảnh đại diện */
.bd-album .gallery-item::after { display: none; }
.bd-album .gallery-caption {
  inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(16, 28, 58, .38); opacity: 1; padding: 1rem;
  font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6); pointer-events: none;
  transition: background .3s ease;
}
.bd-album .gallery-caption small { display: block; margin-top: .3rem; font-size: .8rem; font-weight: 400; opacity: .9; }
.bd-album .gallery-item:hover .gallery-caption { background: rgba(16, 28, 58, .6); }

/* Biểu diễn: nút chủ đề màu vàng, có hiệu ứng khi rê chuột */
#bdFilters .filter-pill {
  border: 1px solid var(--aom-gold-dark); color: var(--aom-gold-dark); background: transparent;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
#bdFilters .filter-pill:hover { background-color: var(--aom-gold-light); border-color: var(--aom-gold-dark); color: var(--aom-navy); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(168, 129, 61, .35); }
#bdFilters .filter-pill.active { background-color: var(--aom-gold); border-color: var(--aom-gold); color: #fff; box-shadow: 0 4px 10px rgba(168, 129, 61, .3); }
#bdFilters .filter-pill:focus-visible { outline: 2px solid var(--aom-gold-dark); outline-offset: 2px; }

/* Biểu diễn: nút chuyển trang album */
.bd-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.bd-pager__info { color: #555; font-size: .9rem; min-width: 6.5rem; text-align: center; }
.bd-pager__btn {
  border: 1px solid var(--aom-gold-dark); color: var(--aom-gold-dark); background: transparent; border-radius: 30px;
  padding: .4rem 1.2rem; font-size: .88rem; transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.bd-pager__btn:hover:not(:disabled) { background: var(--aom-gold); border-color: var(--aom-gold); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(168, 129, 61, .35); }
.bd-pager__btn:disabled { opacity: .4; cursor: not-allowed; }

/* Danh sách tiêu đề bài viết - trang con Tuyển sinh */
.adm-list__item { padding: .85rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.adm-list__item a { font-weight: 600; color: var(--aom-navy); text-decoration: none; }
.adm-list__item a:hover { color: var(--aom-gold-dark); }
.ts-sublinks li { margin-top: .35rem; }

/* Trang chi tiết bài trong chuyên mục Tuyển sinh: hàng thời gian + nút chia sẻ, video đính kèm */
.article-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem 0; margin-bottom: 1.2rem; border-top: 1px solid #e6e2d6; border-bottom: 1px solid #e6e2d6; }
.article-meta-row .article-meta { padding: 0; margin: 0; border: 0; }
.article-share-icons { display: flex; gap: .5rem; }
.article-share-icons a, .article-share-icons button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--aom-gold); border-radius: 50%; background: transparent; color: var(--aom-gold-dark); cursor: pointer; transition: all .2s; padding: 0; }
.article-share-icons a:hover, .article-share-icons button:hover, .article-share-icons .is-done { background: var(--aom-gold); color: #fff; transform: translateY(-2px); }
.att-videos { display: grid; gap: 1rem; margin-bottom: 1rem; }
.att-videos video { width: 100%; max-height: 480px; background: #000; border-radius: 6px; }
@media print { .article-share-icons { display: none; } }

.section-title--normal { text-transform: none; }
