/* ===========================================================================
   redesign.css — GIAO DIỆN MỚI (chỉ nạp cho ADMIN đang đăng nhập)
   ---------------------------------------------------------------------------
   Gate ở functions.php: az_preview_mode() = is_user_logged_in() + manage_options.
   Khách vãng lai & user thường KHÔNG tải file này → vẫn thấy bản cũ.
   File này được enqueue SAU style.css + bootstrap nên có quyền override.

   Hiện tại: mới chỉ có badge báo hiệu "đang xem bản preview".
   Các thay đổi giao diện thật sẽ được thêm dần vào bên dưới, sau khi duyệt.
   =========================================================================== */

/* ── Biến dùng chung ──────────────────────────────────────────────────────── */
:root {
  /* Font tiêu đề trẻ em. Fallback phủ đủ ký tự de/nl/fr/it nếu glyph thiếu. */
  --az-font-title: 'Baloo 2', 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
}

/* ── 1. Font tiêu đề: Baloo 2 ─────────────────────────────────────────────────
   Thay font serif 'Playfair Display' (chất người lớn) bằng Baloo 2 tròn, vui.
   Body giữ nguyên Fira Sans. Override các khai báo trong style.css. */
.navbar-brand,
h1, h2, h3,
.hero-title,
.posts-tab,
.coloring-card__title,
.cat-card__name {
  font-family: var(--az-font-title) !important;
}

/* Baloo 2 trông "nặng" hơn serif cũ ở cùng weight → tinh chỉnh cho cân mắt. */
h1, h2, h3,
.hero-title {
  font-weight: 600 !important;
  letter-spacing: .2px;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

/* ── 2. TRANG CHỦ ─────────────────────────────────────────────────────────── */

/* (1) Tiêu đề section h2: fs-5 → fs-3 (to, rõ hơn). Scope theo section trang chủ. */
#categories h2,
#about-us h2 {
  font-size: calc(1.3rem + .6vw) !important; /* = Bootstrap .fs-3 */
}

/* (2) Tên category to hơn cho dễ đọc */
.cat-card__name { font-size: 1rem; }

/* (3) Lưới category: ô rộng hơn */
.categories-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* (4) Card category thêm khoảng đệm dưới (tương đương .pb-2) */
.cat-card { padding-bottom: .5rem; }

/* (6) Tên ảnh tô màu to hơn */
.coloring-card__title { font-size: 1rem; }

/* (7+8) Tab bài viết — kiểu PILL ĐẶC (phương án A, xanh #73ADCF).
   Bỏ gạch chân cũ, tab active = pill xanh chữ trắng, hover = pill xanh nhạt. */
.posts-tabs-nav {
  border-bottom: none;
  gap: .5rem;
  background: #fff;
}
.posts-tab {
  font-size: 1rem;
  color: #555;
  border-bottom: none;
  margin-bottom: 0;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.posts-tab:hover {
  background: #eaf3f9;
  color: #2d6a8e;
}
.posts-tab.active {
  background: #73ADCF;
  color: #fff;
  border-bottom: none;
  box-shadow: 0 3px 10px rgba(115, 173, 207, .40);
}

/* (9) Hiệu ứng chuyển tab: thay dấu "…" bằng spinner gọn + card hiện mượt */
#coloring-page .posts-grid > p {
  grid-column: 1 / -1;
  min-height: 120px;
  font-size: 0;                 /* ẩn dấu "…" do JS chèn */
  position: relative;
}
#coloring-page .posts-grid > p::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 4px solid #d9e7f0;
  border-top-color: #73ADCF;
  border-radius: 50%;
  animation: az-spin .7s linear infinite;
}
@keyframes az-spin { to { transform: rotate(360deg); } }

#coloring-page .tab-pane.active .coloring-card {
  animation: az-fade .35s ease both;
}
@keyframes az-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── 3. Card bài tô màu — thanh trên XANH đồng nhất + badge 3 bài đầu (C) ──── */
.coloring-card {
  position: relative;
  border-radius: 12px;
  border-top: 5px solid #73ADCF;
  overflow: hidden;
}
.cc-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 700 15px/1 'Fira Sans', sans-serif;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.cc-badge i { font-size: 15px; }
.cc-badge--trending { background: #ffd9d2; color: #9e3b27; }
.cc-badge--popular  { background: #fde7b0; color: #8a5f12; }
.cc-badge--new      { background: #d6ecc9; color: #3b6d11; }

/* ── 4. Nút "Xem tất cả …" — pill viền xanh + fill trượt từ trái (B1) ──────── */
.az-viewall {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  font-family: 'Baloo 2', 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 2px solid #73ADCF;
  background: #fff;
  color: #2d6a8e;
  text-decoration: none;
  transition: color .3s ease;
}
.az-viewall > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.az-viewall .arr { transition: transform .25s ease; }
.az-viewall:hover .arr { transform: translateX(4px); }
.az-viewall::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #73ADCF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.az-viewall:hover::before { transform: scaleX(1); }
.az-viewall:hover { color: #fff; }

/* ── 6. NỀN TỪNG KHỐI TRANG CHỦ — xanh xen trắng (phương án A) ──────────────
   Khối cạnh nhau không trùng màu → tách khối. Card vẫn nền trắng cho ảnh nổi. */
#hero         { background: #eaf4fb; }
#categories   { background: #ffffff; }
#coloring-page { background: #f3f9fd !important; } /* override .bg-white */
#about-us     { background: #ffffff; }

/* Bỏ my-3 của container trong các section (margin dọc tạo khe hở nền) */
#hero .container,
#categories .container,
#coloring-page .container,
#about-us .container { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ── 5. FOOTER mới — dải xanh nhạt 4 cột + thanh đáy xanh đặc ───────────────── */
.az-ft { background: #eef6fb; }
.az-ft__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 32px 0 26px;
}
.az-ft__logo { display: block; margin-bottom: 10px; }
.az-ft__tag { font-size: .9rem; color: #51606b; margin: 0 0 12px; line-height: 1.5; max-width: 240px; }
.az-ft__email {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; color: #2d6a8e; text-decoration: none; margin-bottom: 16px;
}
.az-ft__email:hover { color: #1d5273; text-decoration: underline; }
.az-ft__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.az-ft__social {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid #dbe8f1;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.az-ft__social:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.10); border-color: transparent; }
.az-ft__social svg { width: 20px; height: 20px; }
/* màu gốc từng brand */
.az-ft__social--pinterest i { color: #E60023; }
.az-ft__social--youtube   i { color: #FF0000; }
.az-ft__social--instagram i { color: #E4405F; }
.az-ft__social--twitter   i { color: #1DA1F2; }
.az-ft__social--tiktok    i { color: #111; }
.az-ft__social--flickr    i { color: #FF0084; }

.az-ft__heading {
  font-family: var(--az-font-title);
  font-weight: 600; font-size: 1.05rem; color: #2d6a8e; margin: 0 0 14px;
}
.az-ft__list { list-style: none; padding: 0; margin: 0; }
.az-ft__list li { margin-bottom: 9px; }
.az-ft__list a {
  font-size: .9rem; color: #51606b; text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}
.az-ft__list a:hover { color: #2d6a8e; padding-left: 3px; }

.az-ft__bar { background: #73ADCF; padding: 13px 0; }
.az-ft__bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.az-ft__copy { font-size: .8rem; color: #eaf4fa; }
.az-ft__copy a { color: #fff; text-decoration: underline; }
.az-ft__lang { line-height: 0; }
.az-ft__lang select,
.az-ft__lang .pll-switcher-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232d6a8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #2d6a8e; border: none; outline: none;
  height: 34px; border-radius: 999px;
  padding: 0 32px 0 14px; font-size: .85rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.az-ft__lang select:focus,
.az-ft__lang .pll-switcher-select:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }
@media (max-width: 767px) {
  .az-ft__main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .az-ft__brand { grid-column: 1 / -1; }
  .az-ft__bar-inner { justify-content: center; text-align: center; }
}

/* ── 7. SINGLE POST — header sáng kiểu tài liệu (bỏ hộp đen đè ảnh) ─────────── */
.az-single-head {
  overflow: hidden;
}
/* Breadcrumb: GIỮ style pill cũ của ausmalee, chỉ cho chạy theo luồng ở đầu. */
.az-single-head .bread-cumb {
  padding: 10px 12px 0 !important;
}
.az-single-head .entry-header {
  padding: 10px 16px 4px;
}
.az-single-head .entry-title {
  font-family: var(--az-font-title) !important;
  font-weight: 600 !important;
  color: #223 !important;
}
.az-single-head > img,
.az-single-head .wp-post-image {
  display: block;
  margin: 12px auto 0;
  max-width: calc(100% - 32px);
  height: auto;
}

/* Hàng share (trái) + chip view/download/print (phải) */
.az-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 16px 16px;
}

/* Nút chia sẻ — tile 32px brand-color, glyph trắng */
.az-share { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.az-share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0;
  border-radius: 4px; line-height: 0; cursor: pointer;
  color: #fff; font-size: 16px; text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.az-share__btn:hover, .az-share__btn:focus { opacity: .82; transform: translateY(-1px); }
.az-share__btn--pinterest { background: #e60023; }
.az-share__btn--reddit    { background: #ff4500; }
.az-share__btn--x         { background: #000; }
.az-share__btn--whatsapp  { background: #25d366; }
.az-share__btn--facebook  { background: #1877f2; }
.az-share__btn--link      { background: #7d7d7d; }
.az-share__btn--link.is-copied { background: #1d9e75; }

/* Chip số liệu — outline nhẹ + icon tròn màu nhạt */
.az-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.az-stat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 5px;
  border: 1px solid #dbe8f1; border-radius: 999px;
  font-size: .9rem; color: #334; white-space: nowrap;
}
.az-stat b { font-weight: 700; }
.az-stat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; font-size: .8rem;
}
.az-stat--view     { border-color: #bcdcff; }
.az-stat--view     .az-stat__icon { background: #e6f1fb; color: #185fa5; }
.az-stat--download { border-color: #bfe3cf; }
.az-stat--download .az-stat__icon { background: #e1f5ee; color: #0f6e56; }
.az-stat--print    { border-color: #ffe0a3; }
.az-stat--print    .az-stat__icon { background: #faeeda; color: #854f0b; }

/* ── 8. MỤC LỤC (TOC) — hộp inline thu gọn sẵn, số thứ tự, hover xanh ──────── */
.entry-content h2,
.entry-content h3 { scroll-margin-top: 90px; }
.toc.toc--inline {
  background: #fff;
  border: 1px solid #dbe8f1;
  border-radius: 12px;
  margin: 8px 0 20px;
  overflow: hidden;
  padding: 0;
}
.toc--inline .toc__toggle {
  align-items: center; background: #eaf3f9; border: 0; color: #223;
  cursor: pointer; display: flex; justify-content: space-between;
  padding: 12px 16px; width: 100%;
}
.toc--inline .toc__title { align-items: center; display: inline-flex; }
.toc--inline .toc__title i { color: #73ADCF; }
.toc--inline .toc__toggle .toggle-icon { color: #51606b; transition: transform .3s ease; }
.toc--inline .toc__toggle.collapsed .toggle-icon { transform: rotate(-90deg); }
.toc--inline .toc__body { padding: 8px 16px 12px; }
.toc-list, .toc-sub { list-style: none; margin: 0; padding: 0; }
.toc-list { counter-reset: toc; }
.toc-sub { padding-left: 26px; }
.toc-list a.toc-link {
  border-left: 2px solid transparent; color: #51606b; display: block;
  font-size: .9rem; line-height: 1.45; padding: 6px 12px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.toc-item > a.toc-link::before {
  counter-increment: toc; content: counter(toc) ". "; color: #223; font-weight: 700;
}
.toc-list a.toc-link:hover {
  background: #eaf3f9; border-left-color: #73ADCF;
  border-radius: 0 6px 6px 0; color: #2d6a8e;
}
.toc-item > a.toc-link:hover::before { color: #2d6a8e; }

/* ── 9. RELATED POST — y hệt crayonas (card trắng viền mảnh, ảnh 2:1) ───────── */
.az-related .related-heading {
  font-family: var(--az-font-title); font-weight: 600; margin: 4px 0 16px;
}
.az-related .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}
.az-related .posts-grid .card {
  background: #fff;
  border: 1px solid #dce7f5 !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(35, 67, 108, .05);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.az-related .posts-grid .card:hover {
  box-shadow: 0 10px 26px rgba(35, 67, 108, .12);
  transform: translateY(-2px);
}
.az-related .posts-grid .card .card-img-top {
  aspect-ratio: 2 / 1; object-fit: cover; width: 100%; height: auto;
}
.az-related .posts-grid .card b.fs-6 {
  color: #16203a; display: block;
  font-size: 1.0625rem !important; font-weight: 700 !important;
  line-height: 1.35; text-align: center;
}

/* ── 10. PREV / NEXT — thẻ có thumbnail + SEO keyword ──────────────────────── */
.az-prevnext {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px; flex-wrap: wrap;
}
.az-pn {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 0; min-width: 0; max-width: calc(50% - 6px);
  padding: 8px 12px; border: 1px solid #dbe8f1; border-radius: 12px;
  background: #fff; text-decoration: none; color: #223;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.az-pn:hover { border-color: #73ADCF; box-shadow: 0 4px 12px rgba(115,173,207,.22); transform: translateY(-1px); }
.az-pn--next { justify-content: flex-end; }
.az-pn__arrow { color: #73ADCF; font-size: .9rem; flex: none; }
.az-pn__thumb { flex: none; }
.az-pn__thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }
.az-pn__title {
  font-size: .9rem; font-weight: 600; line-height: 1.3; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.az-pn--next .az-pn__title { text-align: right; }

/* ── 11. TẢI PDF CẢ CUỐN — banner nổi bật ──────────────────────────────────── */
.az-pdfbook {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin: 16px 0;
  border: 1px solid #dbe8f1; border-radius: 12px; background: #f3f9fd;
}
.az-pdfbook__icon {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: #73ADCF; color: #fff; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}
.az-pdfbook__info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.az-pdfbook__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; color: #51606b; }
.az-pdfbook__name { font-weight: 600; color: #223; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.az-pdfbook__btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border: 0; border-radius: 999px;
  background: #73ADCF; color: #fff; font-weight: 700; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.az-pdfbook__btn:hover { background: #2d6a8e; transform: translateY(-1px); }

/* ── 12. GALLERY — nút tải kiểu B (tint pill: nền nhạt luôn hiện, hover đậm) ── */
.gallery-item .card-body .d-flex { gap: 8px; }
.az-dl {
  flex: 1 1 0;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 5px;
  font-size: .8rem !important; font-weight: 600 !important; line-height: 1.2;
  padding: 7px 10px !important;
  border: 0 !important; border-radius: 999px !important;
  white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.az-dl i { font-size: 1rem; }
.az-dl--pdf   { background: #fbe9e7 !important; color: #c0392b !important; }
.az-dl--jpg   { background: #e6f1fb !important; color: #2d6a8e !important; }
.az-dl--print { background: #faeeda !important; color: #b5790f !important; }
.az-dl--pdf:hover,   .az-dl--pdf:focus   { background: #d64545 !important; color: #fff !important; transform: translateY(-1px); }
.az-dl--jpg:hover,   .az-dl--jpg:focus   { background: #73ADCF !important; color: #fff !important; transform: translateY(-1px); }
.az-dl--print:hover, .az-dl--print:focus { background: #e69a12 !important; color: #fff !important; transform: translateY(-1px); }

/* ── 13. CHỦ ĐỀ LIÊN QUAN trong thân bài — chip pill, căn giữa ──────────────── */
.az-reltopics {
  background: #fff;
  border: 1px solid #dbe8f1;
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.az-reltopics__head {
  font-family: var(--az-font-title);
  font-size: 1.0625rem;
  font-weight: 500;
  color: #2d6a8e;
  margin-bottom: 14px;
}
.az-reltopics__head i { color: #73ADCF; margin-right: 4px; }
.az-reltopics__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.az-reltopics__chip {
  background: #fff;
  border: 1px solid #cfe3f0;
  color: #2d6a8e;
  font-size: .9375rem;
  line-height: 1.2;
  padding: 8px 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.az-reltopics__chip:hover,
.az-reltopics__chip:focus {
  background: #73ADCF;
  border-color: #73ADCF;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Badge báo chế độ xem trước (chỉ admin thấy) ───────────────────────────── */
#az-preview-badge {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: #1f2937;
  color: #fff;
  font: 600 13px/1 'Fira Sans', system-ui, sans-serif;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  letter-spacing: .3px;
}
#az-preview-badge::before { content: "🔧"; font-size: 15px; }

/* ===== 14. Single-post sidebar (admin preview) ===== */
.az-sidebar-sec { margin-bottom: 22px; }
.az-sidebar-sec__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid #73ADCF;
  font-family: var(--az-font-title);
  font-size: 1.0625rem;
  font-weight: 500;
  color: #2d6a8e;
  text-decoration: none;
}
.az-sidebar-sec__head i { color: #73ADCF; font-size: 1.05rem; }
.az-sidebar-sec__head:hover span { color: #73ADCF; }
#sidebar-trending-posts > a.az-sidebar-item,
#sidebar-popular-posts > a.az-sidebar-item,
#sidebar-last-posts > a.az-sidebar-item {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  border: 1px solid #e3e8ec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.az-sidebar-item:hover {
  border-color: #73ADCF;
  box-shadow: 0 4px 14px rgba(115, 173, 207, .18);
}
.az-sidebar-item__media {
  display: block;
  width: 100%;
  background: #f1f6fb;
}
.az-sidebar-item__media picture { display: block; width: 100%; }
.az-sidebar-item__media img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
}
.az-sidebar-item__title {
  display: block;
  padding: 8px 10px;
  text-align: center;
  font-size: .9rem;
  line-height: 1.35;
  color: #16203a;
}

/* ===== 15. Hero event (admin preview) ===== */
.az-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}
@media (max-width: 767px) {
  .az-hero-grid { grid-template-columns: 1fr; gap: 20px; }
}
.az-hero-aside { min-width: 0; }
.az-hero-aside__bg { width: 100%; }
.az-hero-aside__bgimg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.az-hero-event {
  padding: 0;
}
.az-hero-event__title {
  font-family: var(--az-font-title);
  font-size: 1.25rem;
  font-weight: 500;
  color: #2d6a8e;
  text-align: center;
  margin: 0 0 16px;
}
.az-hero-event__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.az-hero-event__card { width: 160px; }
.az-hero-event__card {
  display: block;
  border: 1px solid #e3e8ec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.az-hero-event__card:hover {
  border-color: #73ADCF;
  box-shadow: 0 6px 18px rgba(115, 173, 207, .22);
  transform: translateY(-2px);
}
.az-hero-event__media { display: block; width: 100%; background: #f1f6fb; }
.az-hero-event__media picture { display: block; width: 100%; }
.az-hero-event__media img { width: 100%; height: auto; display: block; }
.az-hero-event__name {
  display: block;
  padding: 9px 10px;
  text-align: center;
  font-size: .92rem;
  line-height: 1.35;
  color: #16203a;
}
