:root {
  --public-ink: #10213f;
  --public-muted: #60708a;
  --public-blue: #2563eb;
  --public-blue-dark: #1d4ed8;
  --public-cyan: #e5f7fb;
  --public-line: #e5eaf1;
  --public-soft: #f6f8fb;
  --public-card: #ffffff;
  --public-radius: 18px;
  --public-shadow: 0 14px 40px rgba(16, 33, 63, .07);
}

.public-site, .public-site * { box-sizing: border-box; }
.public-site { margin: 0; color: var(--public-ink); background: #f2f7fb; font-family: "Lexend", system-ui, sans-serif; font-size: 14px; line-height: 1.6; overflow-x: hidden; }
.public-site a { color: inherit; text-decoration: none; }
.public-site img { display: block; max-width: 100%; }
.public-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--public-ink); color: #fff; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(229, 234, 241, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.public-brand-logo { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; object-position: center; }
.public-brand strong { display: block; font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.public-brand small { display: block; color: var(--public-muted); font-size: 10px; line-height: 1.2; margin-top: 1px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav a { color: var(--public-muted); font-size: 13px; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--public-blue); }
.header-search { width: 210px; position: relative; flex: 0 1 210px; }
.header-search input { display: block; width: 100%; height: 38px; border: 1px solid var(--public-line); border-radius: 12px; padding: 0 38px 0 13px; color: var(--public-ink); background: var(--public-soft); outline: none; font: inherit; font-size: 12px; }
.header-search input:focus { border-color: #93b4f7; background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.header-search button { position: absolute; right: 5px; top: 5px; width: 28px; height: 28px; border: 0; border-radius: 8px; color: var(--public-blue); background: transparent; cursor: pointer; font-size: 18px; }
.search-preview { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; right: 0; max-height: min(360px, 55vh); overflow-y: auto; padding: 6px; border: 1px solid var(--public-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(16, 33, 63, .16); }
.search-preview[hidden] { display: none; }
.search-preview a, .search-preview-empty { display: block; padding: 10px 11px; border-radius: 8px; color: var(--public-ink); font-size: 12px; line-height: 1.45; }
.search-preview a:hover, .search-preview a[aria-selected="true"] { color: var(--public-blue); background: #eef4ff; }
.search-preview a:focus-visible { outline: 2px solid rgba(37,99,235,.45); outline-offset: 1px; }
.search-preview-title, .search-preview-category { display: block; }
.search-preview-title { font-weight: 650; }
.search-preview-category { margin-top: 2px; color: var(--public-muted); font-size: 10px; }
.search-preview-empty { color: var(--public-muted); }
.header-community { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; color: var(--public-blue); background: #eef4ff; font-size: 12px; font-weight: 750; white-space: nowrap; }
.header-community:hover { background: #e1ebff; }
.mobile-menu-toggle, .mobile-menu { display: none; }

.public-hero { background: linear-gradient(120deg, #f4f8ff 0%, #f8fbff 48%, #effbfd 100%); border-bottom: 1px solid #edf2f7; }
.hero-inner { padding: 92px 0 82px; }
.section-kicker { margin: 0 0 12px; color: var(--public-blue); font-size: 11px; letter-spacing: .14em; font-weight: 800; }
.public-hero h1 { max-width: 740px; margin: 0; color: var(--public-ink); font-size: clamp(40px, 5vw, 68px); line-height: 1.07; letter-spacing: -.055em; }
.public-hero h1 span { color: var(--public-blue); }
.hero-copy { margin: 22px 0 0; color: var(--public-muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.button-primary { color: #fff !important; background: var(--public-blue); box-shadow: 0 10px 20px rgba(37, 99, 235, .18); }
.button-primary:hover { background: var(--public-blue-dark); }
.button-light { color: var(--public-ink) !important; background: #fff; border-color: var(--public-line); }
.button-light:hover { border-color: #b8c6dd; background: #fbfcff; }
.button-secondary { color: var(--public-blue) !important; background: #eef4ff; }
.button-large { min-height: 52px; padding-inline: 22px; font-size: 14px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.hero-chips a { padding: 7px 11px; border: 1px solid #dce8f7; border-radius: 999px; color: #49617f; background: rgba(255, 255, 255, .72); font-size: 12px; }
.hero-chips a:hover { color: var(--public-blue); border-color: #a9c5f7; }

.category-section, .resource-section { padding-top: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p:not(.section-kicker) { margin: 7px 0 0; color: var(--public-muted); font-size: 14px; }
.section-link { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--public-blue); font-size: 13px; font-weight: 750; }
.section-link:hover { color: var(--public-blue-dark); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--public-line); border-radius: 16px; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.category-card:hover { border-color: #b7cdf5; box-shadow: var(--public-shadow); transform: translateY(-2px); }
.category-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; color: var(--public-blue); background: #eef4ff; font-size: 15px; font-weight: 850; }
.category-card strong, .category-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-card strong { font-size: 13px; }
.category-card small { margin-top: 3px; color: var(--public-muted); font-size: 11px; }
.category-arrow { margin-left: auto; color: #93a3bb; font-size: 17px; }

.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.resource-card { min-width: 0; overflow: hidden; border: 1px solid var(--public-line); border-radius: var(--public-radius); background: var(--public-card); box-shadow: 0 4px 18px rgba(16, 33, 63, .025); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.resource-card:hover { border-color: #c7d7ef; box-shadow: var(--public-shadow); transform: translateY(-3px); }
.resource-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3fa; }
.resource-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.resource-card:hover .resource-card-media img { transform: scale(1.035); }
.thumbnail-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #eaf1ff, #e8fafb); }
.thumbnail-fallback span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(37, 99, 235, .16); border-radius: 20px; color: var(--public-blue); background: rgba(255, 255, 255, .72); font-size: 23px; font-weight: 850; }
.resource-card-body { padding: 16px; }
.resource-category { display: block; overflow: hidden; color: var(--public-blue); font-size: 11px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; letter-spacing: .035em; }
.resource-card h3 { min-height: 47px; margin: 8px 0 10px; font-size: 16px; line-height: 1.38; letter-spacing: -.02em; }
.resource-card h3 a:hover { color: var(--public-blue); }
.resource-meta { color: var(--public-muted); font-size: 11px; }
.resource-stats { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: #6b7c95; font-size: 11px; }
.card-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0f5; color: var(--public-blue); font-size: 12px; font-weight: 800; }
.card-cta span { font-size: 17px; }
.empty-state { display: grid; place-items: center; padding: 70px 24px; border: 1px dashed #cfd9e8; border-radius: var(--public-radius); text-align: center; background: #fbfcfe; }
.empty-state.compact { padding: 42px 24px; }
.empty-state h2, .empty-state h3, .empty-state p { margin-inline: auto; }
.empty-state h2 { margin: 14px 0 6px; font-size: 24px; }
.empty-state h3 { margin: 12px 0 4px; font-size: 17px; }
.empty-state p { max-width: 440px; margin-top: 0; color: var(--public-muted); font-size: 14px; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: var(--public-blue); background: #eef4ff; font-size: 24px; }

.community-section { margin-top: 88px; padding: 72px 0; background: var(--public-soft); border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; }
.community-heading { margin-bottom: 28px; }
.community-groups { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.community-group { padding: 22px; border: 1px solid var(--public-line); border-radius: var(--public-radius); background: #fff; }
.community-group-deals { background: linear-gradient(145deg, #fff, #fffaf1); }
.community-group h3 { margin: 0 0 14px; font-size: 17px; }
.community-links { display: grid; gap: 8px; }
.community-link { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 12px; background: #f8fafc; }
.community-link:hover { background: #eef4ff; }
.community-icon { display: grid; place-items: center; box-sizing: border-box; width: 38px; height: 38px; padding: 4px; border: 1px solid rgba(37,99,235,.08); border-radius: 11px; color: var(--public-blue); background: #f1f6ff; font-size: 14px; transition: background-color .2s ease, box-shadow .2s ease; }
.community-link strong, .community-link small { display: block; }
.community-link strong { font-size: 12px; }
.community-link small { margin-top: 2px; color: var(--public-muted); font-size: 11px; }
.community-link > span:last-child { color: #91a1b9; }

.listing-header { padding: 52px 0 44px; background: linear-gradient(120deg, #f6f9ff, #f4fbfc); border-bottom: 1px solid #edf2f7; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--public-muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--public-blue); }
.listing-header h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.listing-header p:not(.section-kicker) { max-width: 650px; margin: 12px 0 0; color: var(--public-muted); font-size: 15px; }
.listing-section { padding-top: 34px; padding-bottom: 80px; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; color: var(--public-muted); font-size: 13px; }
.listing-toolbar strong { color: var(--public-ink); }
.listing-filters { display: flex; gap: 8px; }
.listing-filters select { max-width: 230px; min-height: 38px; padding: 0 31px 0 11px; border: 1px solid var(--public-line); border-radius: 10px; color: var(--public-ink); background: #fff; font: inherit; font-size: 12px; }
.resource-grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; color: var(--public-muted); font-size: 12px; }
.pagination-links { display: flex; gap: 6px; }
.page-number { display: grid; place-items: center; min-width: 34px; height: 34px; border: 1px solid var(--public-line); border-radius: 9px; background: #fff; }
.page-number:hover, .page-number.is-current { color: #fff; border-color: var(--public-blue); background: var(--public-blue); }

.detail-section { padding-top: 42px; padding-bottom: 80px; }
.detail-card { overflow: hidden; border: 1px solid var(--public-line); border-radius: 22px; background: #fff; box-shadow: var(--public-shadow); }
.detail-top { display: grid; grid-template-columns: minmax(280px, 38%) minmax(0, 1fr); gap: 42px; padding: 32px; }
.detail-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 17px; background: #eef3fa; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-fallback { min-height: 260px; }
.detail-heading { align-self: center; }
.detail-heading form { margin: 0; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-heading h1 { margin: 10px 0 15px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.05em; }
.detail-lead { margin: 0; color: var(--public-muted); font-size: 16px; line-height: 1.65; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 22px 0 25px; color: var(--public-muted); font-size: 12px; }
.detail-content { max-width: 850px; padding: 0 32px 32px; }
.detail-content h2 { margin: 0 0 12px; font-size: 19px; }
.prose { color: #43536d; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-card { max-width: 980px; margin: 0 auto; }
.legal-content { max-width: none; padding: 34px 40px 42px; }
.legal-content h2 { margin: 22px 0 8px; color: var(--public-ink); font-size: 19px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 24px; }
.legal-content li + li { margin-top: 5px; }
.legal-effective { color: var(--public-muted); font-size: 13px; }
.legal-content code { padding: 2px 5px; border-radius: 5px; color: #284ea9; background: #eef3ff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.legal-contact-email { margin-top: 10px !important; color: var(--public-muted); font-size: 13px; }
.legal-missing-contact { margin: 18px 0 24px; padding: 15px 17px; border: 1px solid #f0d9a2; border-radius: 12px; color: #765317; background: #fff9e9; }
.legal-missing-contact p { margin: 5px 0 0; font-size: 13px; }
.detail-source { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 32px; border-top: 1px solid #edf1f5; color: var(--public-muted); font-size: 12px; }
.detail-source strong { color: var(--public-ink); }
.related-section { padding-top: 60px; }

.bridge-section { display: grid; place-items: center; min-height: calc(100vh - 160px); padding: 70px 0; }
.bridge-card { width: min(680px, 100%); padding: 48px; border: 1px solid var(--public-line); border-radius: 24px; text-align: center; background: linear-gradient(145deg, #f7faff, #f2fbfc); box-shadow: var(--public-shadow); }
.bridge-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 20px; color: var(--public-blue); background: #e5efff; font-size: 28px; }
.bridge-card h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.05em; }
.bridge-title { margin: 14px 0 0; color: var(--public-blue); font-weight: 800; }
.bridge-copy { max-width: 490px; margin: 10px auto 0; color: var(--public-muted); font-size: 14px; }
.bridge-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.affiliate-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(190, 204, 225, .65); color: var(--public-muted); font-size: 12px; }
.affiliate-note a { color: var(--public-blue); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.public-error { margin-top: 70px; margin-bottom: 80px; }

.site-footer { margin-top: 88px; padding: 52px 0 22px; color: #71819a; background: #10213f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand strong { color: #fff; }
.site-footer .footer-brand small { display: block; color: #aab8cc; }
.site-footer p { max-width: 300px; margin: 17px 0 0; font-size: 13px; }
.site-footer h2 { margin: 0 0 13px; color: #dfe8f7; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a:not(.public-brand) { display: block; width: fit-content; margin: 8px 0; color: #aab8cc; font-size: 12px; }
.site-footer a:not(.public-brand):hover { color: #fff; }
.site-footer a.footer-support-link { color: #d4ecff; font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 45px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 11px; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 12px; }
  .header-inner { gap: 13px; }
  .header-community { padding-inline: 10px; }
  .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .public-container { width: min(100% - 32px, 680px); }
  .desktop-nav, .header-community { display: none; }
  .header-inner { min-height: 68px; }
  .header-search { width: auto; flex: 1 1 auto; margin-left: auto; }
  .mobile-menu-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--public-line); border-radius: 10px; color: var(--public-ink); background: #fff; font-size: 18px; cursor: pointer; }
  .mobile-menu.is-open { display: block; border-top: 1px solid var(--public-line); background: #fff; }
  .mobile-menu-inner { display: grid; gap: 3px; padding: 10px 0 14px; }
  .mobile-menu-inner a { padding: 10px 4px; color: var(--public-muted); font-size: 14px; font-weight: 700; }
  .mobile-menu-inner a:hover { color: var(--public-blue); }
  .hero-inner { padding: 64px 0 58px; }
  .public-hero h1 { font-size: clamp(36px, 8vw, 54px); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid, .resource-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-groups { grid-template-columns: 1fr; }
  .detail-top { grid-template-columns: 1fr; gap: 24px; }
  .detail-media { max-width: 520px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .public-container { width: calc(100% - 28px); }
  .public-brand strong { font-size: 13px; }
  .public-brand small { display: block; }
  .public-brand-logo { width: 38px; height: 38px; flex-basis: 38px; }
  .header-search input { height: 36px; font-size: 11px; }
  .hero-break { display: none; }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-chips { margin-top: 24px; }
  .category-section, .resource-section { padding-top: 54px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .category-grid, .resource-grid, .resource-grid-list { grid-template-columns: 1fr; }
  .category-card { padding: 13px; }
  .resource-card h3 { min-height: auto; }
  .community-section { margin-top: 60px; padding: 52px 0; }
  .community-group { padding: 17px; }
  .listing-header { padding: 37px 0 32px; }
  .listing-toolbar { align-items: stretch; flex-direction: column; }
  .listing-filters { width: 100%; }
  .listing-filters label, .listing-filters select { width: 100%; max-width: none; }
  .listing-filters select { min-height: 42px; }
  .pagination { align-items: start; flex-direction: column; }
  .detail-section { padding-top: 28px; }
  .detail-top { padding: 16px; }
  .detail-content { padding: 0 16px 22px; }
  .detail-source { align-items: start; flex-direction: column; padding: 14px 16px; }
  .detail-heading h1 { font-size: 32px; }
  .button-large { width: 100%; }
  .bridge-section { min-height: auto; padding: 42px 0; }
  .bridge-card { padding: 30px 18px; }
  .bridge-actions { align-items: stretch; flex-direction: column; }
  .bridge-actions .button { width: 100%; }
  .affiliate-note { align-items: start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-direction: column; margin-top: 30px; }
}

@font-face {
  font-family: "Lexend";
  src: url("fonts/Lexend-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/be-vietnam-pro/BeVietnamPro-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.public-site {
  font-family: "Lexend", system-ui, sans-serif;
  letter-spacing: -.006em;
  overflow-wrap: anywhere;
}

.detail-resource-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 2px;
}

.detail-resource-actions > a,
.detail-resource-actions > form,
.detail-resource-actions > button {
  width: 100%;
  min-width: 0;
}

.detail-resource-actions > form {
  display: flex;
}

.detail-resource-actions > a,
.detail-resource-actions > button,
.detail-resource-actions > form > button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.detail-resource-actions .button {
  width: 100%;
}

.detail-register-button {
  width: fit-content;
  margin-top: 10px;
}

.report-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
}

.report-status-success {
  color: #176c48;
  border: 1px solid #bce9d1;
  background: #effaf4;
}

.report-status-error {
  color: #a82e42;
  border: 1px solid #ffd0d6;
  background: #fff2f3;
}

.report-modal[hidden] {
  display: none;
}

.report-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.report-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 63, .48);
}

.report-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(700px, calc(100vh - 40px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--public-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 33, 63, .25);
}

.report-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.report-dialog h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.report-dialog-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 9px;
  color: var(--public-muted);
  background: #f4f7fb;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.report-dialog-close:hover {
  color: var(--public-ink);
  background: #eaf0f8;
}

.report-dialog label {
  display: block;
  margin-bottom: 7px;
  color: var(--public-ink);
  font-size: 12px;
  font-weight: 750;
}

.report-dialog textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--public-line);
  border-radius: 11px;
  color: var(--public-ink);
  background: #fff;
  outline: none;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
}

.report-dialog textarea:focus {
  border-color: #93b4f7;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.report-dialog-hint {
  display: block;
  margin-top: 6px;
  color: var(--public-muted);
  font-size: 10px;
}

.report-dialog-error {
  margin: 12px 0 0;
  color: #a82e42;
  font-size: 11px;
}

.report-dialog-error[hidden] {
  display: none;
}

.report-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.report-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .detail-resource-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .detail-register-button {
    width: 100%;
  }

  .report-dialog {
    padding: 19px;
    border-radius: 16px;
  }

  .report-dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .report-dialog-actions .button {
    width: 100%;
  }
}

.public-site button,
.public-site input,
.public-site select,
.public-site textarea {
  font-family: inherit;
}

.public-site .header-inner {
  min-height: 70px;
  gap: 16px;
}

.public-site .public-brand strong {
  font-size: 15px;
}

.public-site .public-brand small {
  font-size: 10px;
}

.public-site .desktop-nav {
  gap: 15px;
}

.public-site .desktop-nav a {
  font-size: 13px;
}

.public-site .header-search input {
  font-size: 12px;
}

.public-site .mobile-menu-inner a.is-active {
  color: var(--public-blue);
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--public-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 12;
  min-width: 165px;
  padding: 6px;
  border: 1px solid var(--public-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--public-shadow);
}

.account-menu-panel a,
.account-menu-panel button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: var(--public-muted);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.public-site .account-menu-panel a,
.public-site .account-menu-panel button {
  font-size: 12px;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover {
  color: var(--public-blue);
  background: var(--public-soft);
}

.account-menu-panel form {
  margin: 0;
}

.account-menu-panel a:focus-visible,
.account-menu-panel button:focus-visible {
  outline: 2px solid var(--public-blue);
  outline-offset: -2px;
}

.public-hero .hero-inner {
  padding: 38px 0 34px;
}

.public-hero h1 {
  max-width: 940px;
  font-size: clamp(32px, 3.7vw, 48px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.public-hero .hero-copy {
  max-width: 760px;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.public-hero .hero-actions,
.public-hero .hero-chips {
  display: none;
}

.category-section,
.resource-section {
  padding-top: 56px;
}

.services-hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 65%, #eef5fd 100%);
  border-bottom: 1px solid rgba(203, 222, 245, 0.7);
  padding: 44px 0 38px;
  overflow: hidden;
}

.services-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.services-hero-content {
  max-width: 640px;
}

.services-hero-content .breadcrumbs {
  margin-bottom: 14px;
}

.services-hero-content .section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--public-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.services-hero-content h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.22;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.services-hero-copy {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 560px;
}

.services-hero-visual {
  flex-shrink: 0;
}

.services-visual-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
}

.services-visual-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-tag-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.services-visual-illustration {
  display: block;
}

.services-section {
  background: linear-gradient(180deg, #f8faff 0%, #edf3f9 100%);
  padding: 50px 0 70px;
  min-height: 480px;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.035), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
  border-color: rgba(191, 219, 254, 0.9);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
}

.service-card:nth-child(1)::before {
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, #4f46e5 0%, #818cf8 100%);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #0d9488 0%, #10b981 100%);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-card .service-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover .service-mark {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.service-card .service-mark img {
  width: 24px;
  height: 24px;
  display: block;
}

.service-family-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.service-card:nth-child(1) .service-family-kicker {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #dbeafe;
}

.service-card:nth-child(2) .service-family-kicker {
  color: #4338ca;
  background: #eef2ff;
  border-color: #e0e7ff;
}

.service-card:nth-child(3) .service-family-kicker {
  color: #0f766e;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.service-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.service-description {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 18px;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
}

.service-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.service-card:nth-child(1) .service-feature-check {
  background: #eff6ff;
  color: #2563eb;
}

.service-card:nth-child(2) .service-feature-check {
  background: #eef2ff;
  color: #4f46e5;
}

.service-card:nth-child(3) .service-feature-check {
  background: #f0fdfa;
  color: #0d9488;
}

.service-card-bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.service-price-wrap strong {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.service-card:nth-child(1) .service-price-wrap strong {
  color: #1e40af;
}

.service-card:nth-child(2) .service-price-wrap strong {
  color: #3730a3;
}

.service-card:nth-child(3) .service-price-wrap strong {
  color: #115e59;
}

.service-duration-badge {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.01em;
}

.service-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--public-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.16);
}

.service-cta-button:hover {
  background: var(--public-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

.service-cta-button:active {
  transform: translateY(0);
}

.service-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-cta-button:hover .service-cta-arrow {
  transform: translateX(4px);
}

.service-note {
  padding: 22px 24px;
  border: 1px solid #dce9f8;
  border-radius: var(--public-radius);
  background: #f7fbff;
}

.service-note h2 {
  margin: 0;
  font-size: 18px;
}

.service-note p:not(.section-kicker) {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--public-muted);
  font-size: 13px;
}

.account-section {
  padding-top: 42px;
  padding-bottom: 70px;
}

.account-guest {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--public-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--public-shadow);
  text-align: center;
}

.account-guest h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
}

.account-guest p,
.account-head p {
  color: var(--public-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   Focused Public Auth Experience — Cộng Đồng Khóa Học
   ========================================================================== */

.auth-section {
  padding: clamp(38px, 5vh, 58px) 0 clamp(48px, 6.5vh, 76px);
  min-height: calc(100vh - 76px - 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

.auth-split-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}

/* --- Brand / Visual Pane (Left) --- */
.auth-pane-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 34px;
  border: 1px solid rgba(191, 219, 254, 0.75);
  border-radius: 24px;
  background: linear-gradient(155deg, #f0f7ff 0%, #e8f3fe 52%, #ecfdf5 100%);
  box-shadow: 0 10px 32px -8px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.auth-pane-visual::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.auth-pane-visual::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-visual-header {
  position: relative;
  z-index: 1;
}

.auth-visual-kicker {
  margin: 0 0 10px;
  color: var(--public-blue);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-visual-title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.auth-visual-copy {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 450;
}

.auth-illustration-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  max-height: 250px;
  margin: auto 0;
  position: relative;
  z-index: 1;
}

.auth-illustration-wrap img {
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(15, 33, 63, 0.08));
}

.auth-visual-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
  position: relative;
  z-index: 1;
}

.auth-visual-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 234, 254, 0.85);
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.auth-feature-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10b981;
}

/* --- Form Pane / Card (Right) --- */
.auth-card {
  width: 100%;
  margin: 0;
  padding: 38px 36px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 36px -6px rgba(16, 33, 63, 0.06), 0 4px 12px -2px rgba(16, 33, 63, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.auth-card .section-kicker {
  margin: 0 0 8px;
  color: var(--public-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.auth-intro {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  color: #0f172a;
  background: #ffffff;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.auth-form input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.auth-form input:hover {
  border-color: #94a3b8;
}

.auth-form input:focus {
  border-color: var(--public-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .15);
}

.password-field {
  position: relative;
  display: block;
  width: 100%;
}

.auth-form .password-field input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle[aria-pressed="true"] {
  color: var(--public-blue);
  background: #eff6ff;
  outline: 0;
}

.password-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .35);
}

.password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.auth-form .auth-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 4px;
}

.auth-form .auth-consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 1px;
  padding: 0;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  accent-color: var(--public-blue);
  cursor: pointer;
}

.auth-consent a {
  color: var(--public-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-consent a:hover {
  color: var(--public-blue-dark);
}

.auth-consent a:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(37, 99, 235, .4);
  outline-offset: 2px;
}

.auth-password-hint {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 450;
  margin-top: -2px;
}

.auth-form-link {
  margin-top: -4px;
  margin-bottom: 2px;
  text-align: right;
}

.auth-form-link a {
  color: var(--public-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}

.auth-form-link a:hover {
  color: var(--public-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-form-link a:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(37, 99, 235, .35);
  outline-offset: 2px;
}

.auth-form button[type="submit"],
.auth-card .button.button-primary {
  min-height: 50px;
  height: 50px;
  border-radius: 12px;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: var(--public-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .24);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
  margin-top: 6px;
}

.auth-form button[type="submit"]:hover,
.auth-card .button.button-primary:hover {
  background: var(--public-blue-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .32);
  transform: translateY(-1px);
}

.auth-form button[type="submit"]:active,
.auth-card .button.button-primary:active {
  background: #1e40af;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, .2);
}

.auth-form button[type="submit"]:focus-visible,
.auth-card .button.button-primary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 2px;
}

.auth-switch {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 13.5px;
  text-align: center;
}

.auth-switch a {
  color: var(--public-blue);
  font-weight: 750;
  text-decoration: none;
  margin-left: 4px;
  transition: color .15s ease;
}

.auth-switch a:hover {
  color: var(--public-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-switch a:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(37, 99, 235, .35);
  outline-offset: 2px;
}

/* --- Feedback / Alerts --- */
.auth-notice,
.auth-error {
  margin-top: 18px;
  margin-bottom: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .02);
}

.auth-notice {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.auth-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.auth-error a {
  color: #991b1b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-error a:hover {
  color: #7f1d1d;
}

.auth-inline-form {
  display: inline;
}

.auth-inline-form button {
  padding: 0;
  border: 0;
  color: #991b1b;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-limitation {
  margin: 20px 0 0;
  color: #8996aa;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.auth-state-card .button {
  margin-top: 20px;
}

@media (max-width: 960px) {
  .auth-split-wrapper {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 24px;
  }
  .auth-pane-visual {
    padding: 28px 26px;
    gap: 16px;
  }
  .auth-illustration-wrap {
    max-height: 190px;
  }
  .auth-illustration-wrap img {
    max-height: 170px;
  }
}

@media (max-width: 640px) {
  .auth-section {
    padding-top: 22px;
    padding-bottom: 44px;
    min-height: auto;
  }
  .auth-split-wrapper {
    max-width: 100%;
    gap: 16px;
  }
  .auth-pane-visual {
    display: none;
  }
  .auth-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .auth-card h1 {
    font-size: 24px;
  }
  .auth-form {
    gap: 14px;
    margin-top: 18px;
  }
  .auth-form input {
    min-height: 48px;
    height: 48px;
    font-size: 15px;
  }
  .password-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

.account-guest {
  text-align: center;
}

.account-guest .empty-icon {
  margin: 0 auto 16px;
}

.account-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.account-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.account-head h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.account-head p {
  margin: 9px 0 0;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
}

.account-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 33, 63, .025);
}

.account-panel h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.account-details {
  display: grid;
  gap: 15px;
  margin: 0;
}

.account-details div {
  display: grid;
  gap: 4px;
}

.account-details dt {
  color: var(--public-muted);
  font-size: 10px;
}

.account-details dd {
  margin: 0;
  color: var(--public-ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.account-history .section-heading {
  margin-bottom: 16px;
}

.account-history .section-heading h2 {
  margin-bottom: 0;
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid #edf1f5;
  border-radius: 12px;
}

.history-item:hover {
  border-color: #b7cdf5;
  background: #fbfdff;
}

.history-item > img,
.history-item > .thumbnail-fallback {
  width: 64px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
}

.history-item .thumbnail-fallback span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
}

.history-item strong,
.history-item small {
  display: block;
}

.history-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-item small {
  margin-top: 4px;
  color: var(--public-muted);
  font-size: 10px;
}

.history-item > span:last-child {
  color: var(--public-blue);
}

.mobile-menu-inner form {
  margin: 0;
}

.mobile-menu-inner button {
  width: 100%;
  padding: 10px 4px;
  border: 0;
  color: var(--public-muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.footer-subheading {
  margin-top: 22px !important;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.site-footer .footer-grid > div {
  min-width: 0;
}

.footer-social-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.footer-social-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.footer-social-copy span {
  color: #8fb4eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.footer-social-copy strong {
  color: #eef5ff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.footer-social-actions {
  display: grid;
  grid-template-columns: repeat(3, 124px);
  justify-content: end;
  gap: 10px;
}

.site-footer a.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 11px;
  color: #dce8fa;
  background: rgba(255, 255, 255, .055);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.footer-social-link img {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.site-footer a.footer-social-link:hover,
.site-footer a.footer-social-link:focus-visible {
  border-color: rgba(143, 180, 235, .48);
  color: #fff;
  background: rgba(255, 255, 255, .095);
  transform: translateY(-1px);
}

.site-footer a.footer-social-link:focus-visible {
  outline: 2px solid rgba(143, 180, 235, .8);
  outline-offset: 2px;
}

.footer-social-strip + .footer-bottom {
  margin-top: 22px;
}

.support-button-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.support-button-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .public-site .desktop-nav {
    display: none;
  }

  .services-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .services-hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 20px;
  }

  .account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .public-site .header-inner {
    gap: 8px;
  }

  .public-site .public-brand strong {
    font-size: 11px;
  }

  .public-site .public-brand small {
    font-size: 8px;
  }

  .public-site .header-search {
    flex-basis: 0;
  }

  .public-hero .hero-inner {
    padding: 38px 0 32px;
  }

  .public-hero h1 {
    font-size: 29px;
  }

  .public-hero .hero-copy {
    font-size: 12px;
  }

  .services-hero {
    padding: 30px 0 24px;
  }

  .services-hero-content h1 {
    font-size: 26px;
  }

  .services-hero-copy {
    font-size: 14px;
  }

  .services-section {
    padding: 26px 0 42px;
  }

  .services-grid {
    max-width: 100%;
    gap: 16px;
  }

  .service-card {
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  .auth-card,
  .account-guest,
  .account-panel {
    padding: 18px;
  }

  .service-card h2 {
    font-size: 19px;
  }

  .service-price-wrap strong {
    font-size: 25px;
  }

  .service-cta-button {
    height: 48px;
    font-size: 14px;
  }

  .service-card p:not(.section-kicker) {
    min-height: 0;
  }

  .account-head {
    align-items: start;
    flex-direction: column;
  }

  .account-head .button {
    width: 100%;
  }

  .account-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-actions .button {
    width: 100%;
  }

  .history-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .history-item > img,
  .history-item > .thumbnail-fallback {
    width: 54px;
    height: 42px;
  }

  .legal-content {
    padding: 24px 20px 30px;
  }
}

.community-page {
  padding: 0 0 76px;
  background: #fbfcff;
  border-bottom: 1px solid #edf2f7;
}

.story-container {
  width: min(100% - 48px, 1020px);
}

.story-container .breadcrumbs {
  margin-bottom: 0;
  padding-top: 28px;
}

.story-hero {
  padding: 26px 0 30px;
}

.story-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -.05em;
}

.story-hero > p:not(.section-kicker) {
  max-width: 790px;
  margin: 14px 0 0;
  color: var(--public-muted);
  font-size: 15px;
  line-height: 1.75;
}

.story-hero > p + p {
  margin-top: 10px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  position: relative;
  min-width: 0;
  padding: 22px 22px 21px;
  border: 1px solid #dfe8f3;
  border-radius: var(--public-radius);
  background: #fff;
  box-shadow: 0 7px 22px rgba(16, 33, 63, .035);
}

.value-card::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--public-blue), #55bdc9);
  content: "";
}

.value-card-kicker {
  margin: 0 0 8px !important;
  color: var(--public-blue) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4 !important;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 17px;
  border-radius: 13px;
  color: var(--public-blue);
  background: #eef4ff;
  font-size: 19px;
  font-weight: 800;
}

.value-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.value-card p {
  margin: 8px 0 0;
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.7;
}

.story-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.story-section {
  box-sizing: border-box;
  padding: 27px 30px 29px;
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  background: #fff;
  box-shadow: 0 7px 22px rgba(16, 33, 63, .025);
}

.story-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 0 14px;
  border: 1px solid #d5e3fb;
  border-radius: 11px;
  color: var(--public-blue);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}

.story-section h2 {
  margin: 0 0 13px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.story-section p {
  max-width: 820px;
  margin: 0;
  color: #43536d;
  font-size: 14px;
  line-height: 1.85;
}

.story-section p + p {
  margin-top: 13px;
}

.story-section a,
.legal-content a {
  color: var(--public-blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story-list {
  display: grid;
  gap: 9px;
  max-width: 820px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  position: relative;
  padding-left: 22px;
  color: #43536d;
  font-size: 14px;
  line-height: 1.7;
}

.story-list li::before {
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #53b7c8;
  content: "";
}

.support-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid #d7e5f7;
  border-radius: var(--public-radius);
  background: linear-gradient(135deg, #f0f6ff, #effbfc);
}

.support-cta .section-kicker {
  margin-bottom: 8px;
}

.support-cta h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.support-cta p:not(.section-kicker) {
  margin: 7px 0 0;
  color: var(--public-muted);
  font-size: 13px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.support-page .story-hero {
  max-width: 820px;
}

.support-page .story-hero h1 {
  max-width: 760px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 16px;
  align-items: stretch;
}

.support-account-card,
.support-callout {
  min-width: 0;
  padding: 25px 28px;
  border-radius: var(--public-radius);
}

.support-account-card {
  border: 1px solid var(--public-line);
  background: #fff;
  box-shadow: 0 7px 22px rgba(16, 33, 63, .035);
}

.support-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f5;
}

.support-card-heading .section-kicker {
  margin-bottom: 8px;
}

.support-card-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.03em;
}

.support-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  color: #267c65;
  background: #e8f8f0;
  font-size: 18px;
}

.support-details {
  display: grid;
  gap: 15px;
  margin: 21px 0 0;
}

.support-details div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.support-details dt {
  color: var(--public-muted);
  font-size: 11px;
}

.support-details dd {
  margin: 0;
  color: var(--public-ink);
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.support-callout {
  display: flex;
  align-items: start;
  gap: 13px;
  border: 1px solid #ccebd9;
  color: #275b47;
  background: #effaf4;
}

.support-callout-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 10px;
  color: #fff;
  background: #42a77a;
  font-size: 15px;
  font-weight: 800;
}

.support-callout strong {
  display: block;
  color: #1c684b;
  font-size: 15px;
  line-height: 1.4;
}

.support-callout p {
  margin: 10px 0 0;
  color: #416b59;
  font-size: 13px;
  line-height: 1.75;
}

.legal-content .support-actions {
  margin: 18px 0 25px;
}

@media (max-width: 900px) {
  .story-container {
    width: min(100% - 32px, 680px);
  }

  .value-grid,
  .story-content,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .site-footer .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-social-strip {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .support-layout {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .community-page {
    padding-bottom: 48px;
  }

  .story-container {
    width: calc(100% - 28px);
  }

  .footer-social-strip {
    padding: 16px;
  }

  .footer-social-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .site-footer a.footer-social-link {
    gap: 6px;
    height: 40px;
    min-height: 40px;
    padding: 0 7px;
    font-size: 11px;
  }

  .footer-social-link img {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .story-container .breadcrumbs {
    padding-top: 21px;
  }

  .story-hero {
    padding: 23px 0 25px;
  }

  .story-hero h1 {
    font-size: 32px;
  }

  .story-hero > p:not(.section-kicker) {
    font-size: 13px;
  }

  .value-card,
  .story-section,
  .support-account-card,
  .support-callout {
    padding: 20px;
  }

  .story-section h2 {
    font-size: 20px;
  }

  .story-index {
    width: 34px;
    height: 34px;
  }

  .story-section p,
  .story-list li,
  .support-callout p {
    font-size: 13px;
  }

  .support-cta {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 21px 20px;
  }

  .support-actions {
    width: 100%;
  }

  .support-actions .button {
    flex: 1 1 120px;
  }

  .support-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .support-card-heading h2 {
    font-size: 20px;
  }
}

/* About page refinement: editorial flow, compact principles and brand-safe support actions. */
.about-page .story-container {
  width: min(100% - 48px, 1100px);
}

.about-page .story-container .breadcrumbs {
  padding-top: 25px;
}

.about-page .story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .36fr);
  align-items: center;
  gap: 48px;
  min-height: 245px;
  padding: 30px 0 28px;
}

.about-page .story-hero h1 {
  max-width: 700px;
  font-size: clamp(34px, 3.8vw, 46px);
  letter-spacing: -.055em;
}

.about-page .story-hero > .story-hero-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.about-hero-art {
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 255px);
  aspect-ratio: 1.36;
  border: 1px solid #e0ebf8;
  border-radius: 30px 30px 30px 10px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 40px rgba(33, 79, 139, .08);
  transform: rotate(2deg);
}

.about-hero-art svg {
  width: 88%;
  height: auto;
  transform: rotate(-2deg);
}

.principles-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce8f4;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 12px 28px rgba(16, 33, 63, .045);
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  padding: 21px 22px 22px;
  transition: background-color .2s ease, transform .2s ease;
}

.principle-item + .principle-item {
  border-left: 1px solid #e7eef6;
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #d5e5fb;
  border-radius: 11px;
  color: var(--public-blue);
  background: #eff5ff;
}

.principle-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.principle-kicker {
  margin: 0 0 4px;
  color: #8aa3c5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
}

.principle-item h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.principle-item p:last-child {
  margin: 6px 0 0;
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.65;
}

.story-flow {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  max-width: 820px !important;
  margin: 24px auto 0 !important;
  columns: auto !important;
}

.story-chapter-heading {
  display: block;
  min-height: 0;
  margin: 20px 0 4px;
  padding: 0 2px;
}

.story-chapter-heading:not(:first-child) {
  margin-top: 24px;
}

.story-chapter-heading-closing {
  margin-top: 24px !important;
}

.story-chapter-heading .section-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.08em;
}

.story-section {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 24px 28px !important;
  vertical-align: top;
  border: 1px solid var(--public-line);
  border-radius: 18px !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 33, 63, .025);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.story-index {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  height: auto;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8ba0bd;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .075em;
  line-height: 1;
}

.story-index-number {
  white-space: nowrap;
}

.story-index-line {
  display: none;
}

.story-section h2 {
  margin: 0 0 12px;
  color: var(--public-ink);
  font-size: clamp(19px, 2.1vw, 22px);
  line-height: 1.35;
  letter-spacing: -.03em;
}

.story-section p {
  max-width: 72ch;
  margin: 0;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.75;
}

.story-section p + p {
  margin-top: 12px;
}

.story-section a,
.legal-content a {
  color: var(--public-blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story-title-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.story-section-icon {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  margin-top: 1px;
  border-radius: 9px;
  color: #b77917;
  background: #fff5df;
}

.story-section-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.story-list {
  display: grid;
  gap: 10px;
  max-width: 72ch;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

.story-list li::before {
  position: absolute;
  left: 2px;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  content: "";
}

/* Semantic Surfaces for sequential reading order 01 -> 09 */
/* 01 & 02: blue / cyan / sky */
#cong-dong-khoa-hoc-la-gi,
#nguon-tai-lieu {
  background: linear-gradient(160deg, #f8fbff 0%, #f0f7fe 100%) !important;
  border-color: #dbeafe !important;
}

/* 03 & 04: warm cream / amber */
#tai-lieu-co-luon-phu-hop,
#nguyen-tac-su-dung {
  background: linear-gradient(160deg, #fefdf9 0%, #fdf8ee 100%) !important;
  border-color: #fde68a !important;
}
#nguyen-tac-su-dung .story-list li::before {
  background: #f59e0b !important;
}

/* 05 & 06: restrained lavender / blue-gray */
#ban-quyen,
#mien-tru-trach-nhiem {
  background: linear-gradient(160deg, #fafafa 0%, #f4f5f9 100%) !important;
  border-color: #cbd5e1 !important;
}

/* 07: soft peach */
#lien-ket-shopee-affiliate {
  background: linear-gradient(160deg, #fffaf6 0%, #fff2e8 100%) !important;
  border-color: #fed7aa !important;
}

/* 08: mint / calm blue */
#tuyen-bo-phi-thuong-mai {
  background: linear-gradient(160deg, #f0fdf9 0%, #e6f9f3 100%) !important;
  border-color: #a7f3d0 !important;
}

.story-section-callout {
  border-color: #a7f3d0;
  background: #f0fdf9;
}

.story-callout-statement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 15px;
  padding: 13px 16px;
  border-left: 3px solid #10b981;
  border-radius: 0 11px 11px 0;
  background: rgba(255, 255, 255, 0.9);
}

.story-callout-icon {
  color: #059669;
  font-size: 15px;
  line-height: 1.4;
}

.story-callout-statement p {
  color: #065f46;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.65;
}

/* 09: Full-width slim closing block */
.story-section-closing {
  display: block;
  column-span: all;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 22px 28px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 100%) !important;
  border: 1px solid #c7d2fe !important;
  border-radius: 18px !important;
}

.story-section-closing h2 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: 21px;
}

.story-section-closing > p {
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.7;
}

.about-page .story-container {
  width: min(100% - 48px, 860px) !important;
}

.about-page .support-cta {
  margin-top: 24px !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 18px !important;
  padding: 22px 26px !important;
  border: 1px solid #d7e5f7 !important;
  background: linear-gradient(135deg, #f0f6ff 0%, #f0fdf4 100%) !important;
}

.about-page {
  padding-bottom: 32px !important;
}

.support-cta {
  margin-top: 38px;
  padding: 23px 26px;
  border-color: #d7e5f7;
  background: linear-gradient(135deg, #f0f6ff, #effbfc);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.support-button {
  min-width: 124px;
  min-height: 43px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(16, 33, 63, .09);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.support-button-telegram {
  background: #229ed9;
}

.support-button-zalo {
  background: #0068ff;
}

.support-button:hover {
  color: #fff !important;
  box-shadow: 0 11px 20px rgba(16, 33, 63, .14);
  filter: saturate(1.04) brightness(1.02);
  transform: translateY(-1px);
}

.support-button:focus-visible {
  outline: 3px solid rgba(16, 33, 63, .3);
  outline-offset: 3px;
}

.support-button-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.support-button-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.account-grid {
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
}

.account-profile {
  border-color: #e7edf4;
  background: #fbfcfe;
  box-shadow: none;
}

.account-history {
  border-color: #d7e5f7;
  box-shadow: 0 10px 28px rgba(16, 33, 63, .055);
}

@media (hover: hover) and (pointer: fine) {
  .principle-item:hover {
    background: #fbfdff;
    transform: translateY(-1px);
  }

  .story-section:hover {
    border-color: #bdd2f2;
    background: #fcfdff;
    box-shadow: 0 12px 27px rgba(37, 99, 235, .08);
    transform: translateY(-2px);
  }

  .story-section:hover .story-index-line {
    width: 62px;
    flex-basis: 62px;
    background: #7fa9eb;
  }

  html.js-reveal-ready .about-page [data-reveal].is-revealed:hover {
    transform: translateY(-2px);
  }
}

html.js-reveal-ready .about-page [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .48s ease var(--reveal-delay, 0ms), transform .48s ease var(--reveal-delay, 0ms);
}

html.js-reveal-ready .about-page [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html.motion-reduced .about-page [data-reveal],
html.motion-reduced .about-page [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .about-page .story-container {
    width: min(100% - 32px, 680px);
  }

  .about-page .story-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 25px;
    min-height: 205px;
  }

  .principles-strip {
    grid-template-columns: 1fr;
  }

  .principle-item + .principle-item {
    border-top: 1px solid #e7eef6;
    border-left: 0;
  }

  .story-flow {
    columns: 1;
    margin-top: 20px;
  }

  .story-chapter-heading,
  .story-section-closing {
    column-span: none;
  }

  .story-section-closing {
    margin-top: 7px;
  }

  .account-history {
    order: -1;
  }
}

@media (max-width: 560px) {
  .about-page .story-container {
    width: calc(100% - 28px);
  }

  .about-page .story-container .breadcrumbs {
    padding-top: 21px;
  }

  .about-page .story-hero {
    display: block;
    min-height: 0;
    padding: 23px 0 25px;
  }

  .about-page .story-hero h1 {
    font-size: 30px;
  }

  .about-page .story-hero > .story-hero-copy > p:not(.section-kicker) {
    font-size: 13px;
  }

  .about-hero-art {
    display: none;
  }

  .principle-item {
    padding: 17px 18px;
  }

  .story-chapter-heading {
    margin-bottom: 8px;
  }

  .story-chapter-heading:not(:first-child) {
    margin-top: 14px;
  }

  .story-section {
    margin-bottom: 13px;
    padding: 20px 18px 21px;
  }

  .story-section h2 {
    font-size: 20px;
  }

  .story-section p,
  .story-list li,
  .story-callout-statement p {
    font-size: 13px;
  }

  .story-section-closing h2 {
    font-size: 23px;
  }

  .support-cta {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 21px 18px;
  }

  .support-actions {
    width: 100%;
  }

  .support-actions .support-button {
    flex: 1 1 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .principle-item,
  .story-section,
  .story-index-line,
  .support-button {
    transition: none;
  }
}

/* Support page refinement: warm community framing with brand-neutral local artwork. */
.support-page .support-container {
  width: min(100% - 48px, 1100px);
}

.support-page .support-container .breadcrumbs {
  padding-top: 25px;
}

.support-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr);
  align-items: center;
  gap: 38px;
  min-height: 300px;
  margin-top: 5px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid #dceaf7;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(191, 239, 224, .62), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(213, 232, 255, .72), transparent 34%),
    #f8fcff;
}

.support-hero::after {
  position: absolute;
  right: 30%;
  bottom: -52px;
  width: 190px;
  height: 110px;
  border: 1px solid rgba(79, 151, 224, .14);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.support-hero-copy,
.support-hero-visual {
  position: relative;
  z-index: 1;
}

.support-hero-copy {
  max-width: 620px;
}

.support-hero h1 {
  max-width: 610px;
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.support-hero-body {
  display: grid;
  gap: 11px;
  max-width: 620px;
  margin-top: 20px;
}

.support-hero-body p {
  margin: 0;
  color: #4c607b;
  font-size: 14px;
  line-height: 1.78;
}

.support-hero-visual {
  width: min(100%, 390px);
  justify-self: end;
}

.support-hero-art {
  width: 100%;
}

.support-hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.support-hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

.support-badge {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid #d9e9f7;
  border-radius: 12px;
  color: #52708f;
  background: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.support-badge-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: #3299a0;
}

.support-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: start;
  gap: 22px;
  margin-top: 24px;
}

.support-account-card,
.support-callout {
  min-height: 0;
  border-radius: 22px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.support-account-card {
  padding: 30px;
  border-color: #d7e5f4;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 33, 63, .055);
}

.support-card-heading {
  align-items: center;
  padding-bottom: 20px;
}

.support-card-heading h2 {
  font-size: 25px;
}

.support-card-subtitle {
  margin: 7px 0 0;
  color: var(--public-muted);
  font-size: 13px;
}

.support-mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 15px;
  color: #258b79;
  background: #e7f8f0;
}

.support-mark svg,
.support-callout-icon svg,
.support-community-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-details {
  gap: 8px;
  margin-top: 19px;
}

.support-detail-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f7;
}

.support-detail-row:last-child {
  border-bottom: 0;
}

.support-detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #4b8fcf;
  background: #f1f7fe;
}

.support-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.support-detail-row dt {
  margin: 0 0 3px;
  color: var(--public-muted);
  font-size: 11px;
}

.support-detail-row dd {
  margin: 0;
  color: var(--public-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.support-detail-number {
  margin: 2px -10px;
  padding: 13px 10px;
  border: 1px solid #d9e9fb;
  border-radius: 14px;
  background: #eff6ff;
}

.support-detail-number .support-detail-icon {
  color: #2c75d5;
  background: #deedff;
}

.support-account-number-value {
  display: inline-block;
  color: #1659b8;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.15;
  white-space: nowrap;
}

.support-callout {
  align-items: flex-start;
  gap: 16px;
  padding: 30px;
  border-color: #ccebd9;
  background: #effaf4;
  box-shadow: 0 10px 26px rgba(41, 123, 87, .045);
}

.support-callout-icon {
  width: 45px;
  height: 45px;
  flex-basis: 45px;
  border-radius: 14px;
  color: #fff;
  background: #42a77a;
}

.support-callout-body {
  min-width: 0;
}

.support-callout-body h2 {
  margin: 0;
  color: #1c684b;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.support-trust-list {
  display: grid;
  gap: 13px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.support-trust-list li {
  position: relative;
  padding-left: 22px;
  color: #416b59;
  font-size: 13px;
  line-height: 1.75;
}

.support-trust-list li::before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #56b98c;
  border-radius: 50%;
  content: "";
}

.support-community-note {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 22px;
  padding: 25px 30px;
  overflow: hidden;
  border: 1px solid #d4e7f8;
  border-radius: 20px;
  background: #f0f8ff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.support-community-note::after {
  position: absolute;
  right: 33px;
  bottom: -27px;
  width: 140px;
  height: 70px;
  border-top: 1px solid rgba(75, 150, 232, .2);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.support-community-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #3b8fdc;
  background: #dceeff;
}

.support-community-note h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--public-ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.support-community-note p {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 8px 0 0;
  color: #4c6682;
  font-size: 13px;
  line-height: 1.75;
}

@media (hover: hover) and (pointer: fine) {
  .support-account-card:hover {
    border-color: #b9d6f5;
    box-shadow: 0 15px 34px rgba(37, 99, 235, .09);
    transform: translateY(-2px);
  }

  .support-callout:hover {
    border-color: #a9dec5;
    box-shadow: 0 14px 31px rgba(41, 123, 87, .09);
    transform: translateY(-2px);
  }

  .support-community-note:hover {
    border-color: #b7d9f6;
    box-shadow: 0 12px 28px rgba(44, 117, 213, .08);
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  .support-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .support-hero-visual {
    width: min(100%, 540px);
    justify-self: center;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .support-page .support-container {
    width: calc(100% - 28px);
  }

  .support-page .support-container .breadcrumbs {
    padding-top: 21px;
  }

  .support-hero {
    gap: 12px;
    min-height: 0;
    margin-top: 2px;
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .support-hero h1 {
    font-size: 31px;
  }

  .support-hero-body {
    gap: 9px;
    margin-top: 15px;
  }

  .support-hero-body p {
    font-size: 13px;
    line-height: 1.7;
  }

  .support-hero-visual {
    width: 100%;
  }

  .support-hero-art {
    max-width: 310px;
    margin: 0 auto;
  }

  .support-hero-badges {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .support-badge {
    justify-content: flex-start;
    min-height: 31px;
    padding: 6px 9px;
  }

  .support-account-card,
  .support-callout {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .support-card-heading h2 {
    font-size: 21px;
  }

  .support-detail-row {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 10px;
  }

  .support-detail-icon {
    width: 31px;
    height: 31px;
  }

  .support-account-number-value {
    font-size: 20px;
  }

  .support-callout {
    gap: 12px;
  }

  .support-callout-icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .support-callout-body h2 {
    font-size: 19px;
  }

  .support-trust-list {
    gap: 11px;
    margin-top: 15px;
  }

  .support-trust-list li,
  .support-community-note p {
    font-size: 13px;
    line-height: 1.68;
  }

  .support-community-note {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
    padding: 21px 18px;
    border-radius: 18px;
  }

  .support-community-note h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-account-card,
  .support-callout,
  .support-community-note {
    transition: none;
  }

  .support-account-card:hover,
  .support-callout:hover,
  .support-community-note:hover {
    transform: none;
  }
}

/* Direct Cặp Lá Yêu Thương contribution details and original VietQR asset. */
.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.donation-section .support-account-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.support-account-number-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.support-copy-button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #bad4f2;
  border-radius: 9px;
  color: #225fae;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.support-copy-button:hover,
.support-copy-button:focus-visible {
  border-color: #7fafe3;
  background: #f7fbff;
  outline: 0;
}

.support-copy-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.support-phone-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid #dbe8f5;
  border-radius: 22px;
  background: #f7fbff;
}

.support-phone {
  position: relative;
  width: min(100%, 286px);
  padding: 22px 10px 13px;
  border: 7px solid #24364f;
  border-radius: 31px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(28, 52, 82, .14);
}

.support-phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #24364f;
  transform: translateX(-50%);
}

.support-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 776;
  object-fit: contain;
}

.support-phone-wrap figcaption {
  max-width: 390px;
  color: #51677f;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.direct-donation-section {
  margin-top: 28px;
}

.direct-donation-section > h2 {
  margin: 0 0 16px;
  color: var(--public-ink);
  font-size: 24px;
  letter-spacing: -.025em;
}

.direct-donation-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.direct-donation-cards article {
  min-width: 0;
  padding: 22px;
  border: 1px solid #deebf4;
  border-radius: 18px;
  background: #f8fbfd;
}

.direct-donation-cards article:nth-child(2) {
  border-color: #dcebe6;
  background: #f7fbf9;
}

.direct-donation-cards article:nth-child(3) {
  border-color: #e8e4d8;
  background: #fdfbf6;
}

.direct-donation-cards h3 {
  margin: 0;
  color: var(--public-ink);
  font-size: 16px;
  line-height: 1.4;
}

.direct-donation-cards p {
  margin: 9px 0 0;
  color: #52677e;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .donation-section {
    grid-template-columns: 1fr;
  }

  .direct-donation-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .donation-section {
    gap: 16px;
    margin-top: 18px;
  }

  .support-phone-wrap {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .support-phone {
    width: min(100%, 300px);
  }

  .direct-donation-section {
    margin-top: 22px;
  }

  .direct-donation-section > h2 {
    font-size: 22px;
  }

  .direct-donation-cards {
    gap: 12px;
  }

  .direct-donation-cards article {
    padding: 19px 18px;
  }
}

/* Search-first library refresh: rows stay content-fit and thumbnail-optional. */
.public-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding: 68px 0 62px;
}

.hero-copy-block { min-width: 0; }
.public-hero h1 { max-width: none; font-size: clamp(42px, 3.8vw, 54px); line-height: 1.08; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-accent { color: var(--public-blue); }
.public-hero .hero-copy { max-width: 680px; }
.hero-search { display: flex; align-items: stretch; gap: 8px; max-width: 690px; margin-top: 27px; }
.hero-search input { min-width: 0; flex: 1 1 auto; height: 52px; padding: 0 17px; border: 1px solid #cad8ec; border-radius: 13px; color: var(--public-ink); background: rgba(255,255,255,.92); outline: none; font: inherit; font-size: 13px; box-shadow: 0 8px 24px rgba(37,99,235,.06); }
.hero-search input::placeholder { color: #7c8da6; }
.hero-search input:focus { border-color: #82a9ef; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.hero-search .button { min-height: 52px; padding-inline: 20px; }
.hero-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; color: var(--public-muted); font-size: 11px; }
.hero-category-link { padding: 4px 9px; border: 1px solid #d6e2f3; border-radius: 999px; color: #536b88; background: rgba(255,255,255,.68); font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.hero-category-link:hover { color: var(--public-blue); border-color: #a8c5f5; background: #fff; }
.hero-visual { position: relative; max-width: 360px; justify-self: end; opacity: .96; }
.hero-visual::before, .hero-visual::after { position: absolute; z-index: 0; width: 72px; height: 72px; border-radius: 50%; content: ""; }
.hero-visual::before { top: 4%; right: 4%; background: rgba(206,242,233,.72); }
.hero-visual::after { bottom: 4%; left: 4%; background: rgba(255,235,199,.7); }
.hero-visual svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }

.home-resource-columns { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 72px); max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.home-resource-columns .public-container { width: auto; margin: 0; }
.home-resource-columns .resource-section { padding-top: 56px; }
.resource-row-list { display: grid; gap: 10px; }
.resource-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid var(--public-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(16,33,63,.025); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.resource-row:hover { border-color: #a9c5f3; background: #fcfdff; box-shadow: 0 12px 26px rgba(37,99,235,.09); transform: translateY(-2px); }
.resource-row-leading { display: inline-flex; align-items: center; gap: 9px; min-width: 38px; }
.resource-row-rank { min-width: 27px; color: #7285a2; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.resource-row-mark, .resource-row-thumb { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; border-radius: 12px; color: var(--public-blue); background: #edf4ff; font-size: 14px; font-weight: 800; }
.resource-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.resource-row-main { min-width: 0; }
.resource-row-title { display: block; overflow: hidden; color: var(--public-ink); font-size: 14px; font-weight: 700; line-height: 1.42; text-overflow: ellipsis; white-space: nowrap; }
.resource-row-title:hover { color: var(--public-blue); }
.resource-row-meta, .resource-row-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.resource-row-meta { margin-top: 4px; color: var(--public-muted); font-size: 11px; }
.resource-row-meta a { color: var(--public-blue); font-weight: 650; }
.resource-row-stats { margin-top: 3px; color: #7a8aa2; font-size: 10px; }
.resource-row-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; padding-inline: 6px; color: var(--public-blue); font-size: 11px; font-weight: 750; white-space: nowrap; }
.resource-row-action span { font-size: 16px; transition: transform .2s ease; }
.resource-row:hover .resource-row-action span { transform: translateX(3px); }
.resource-row-compact { padding-block: 12px; }
.resource-row-compact .resource-row-mark, .resource-row-compact .resource-row-thumb { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
.resource-row-compact .resource-row-title { font-size: 13px; }
.resource-row-list-related { max-width: 860px; }
.resource-row-list-directory { gap: 7px; }
.resource-row-list-directory .resource-row { border-radius: 11px; box-shadow: none; }

.community-group-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.community-group-heading h3 { margin: 0; }
.community-group-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; color: var(--public-blue); background: #e7f0ff; }
.community-group-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.community-group-deals { background: #fffaf1; border-color: #f2e5c9; }
.community-group-deals .community-group-icon { color: #b47a16; background: #fff0ce; }
.community-group-deals .community-link:hover { background: #fff5dd; border-color: #eed6a0; }
.community-link { min-height: 54px; border: 1px solid transparent; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.community-link:hover { border-color: #c3d6f5; box-shadow: 0 8px 18px rgba(37,99,235,.07); transform: translateY(-1px); }
.community-logo { display: block; width: 26px; height: 26px; max-width: 100%; max-height: 100%; aspect-ratio: 1; object-fit: contain; }
.community-icon { background: #f1f6ff; }
.community-group-deals .community-icon { border-color: rgba(180,122,22,.14); background: #fff7e8; }
.community-link:hover .community-icon { background: #e7f0ff; box-shadow: 0 2px 7px rgba(37,99,235,.08); }
.community-group-deals .community-link:hover .community-icon { background: #fff0d5; box-shadow: 0 2px 7px rgba(180,122,22,.08); }
.community-link-arrow { transition: transform .2s ease; }
.community-link:hover .community-link-arrow { transform: translateX(2px); }

.listing-toolbar { align-items: center; }
.listing-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.listing-filters label { display: block; }
.listing-search input, .listing-filters select { height: 40px; min-width: 0; border: 1px solid var(--public-line); border-radius: 10px; color: var(--public-ink); background: #fff; font: inherit; font-size: 12px; outline: none; }
.listing-search input { width: 210px; padding: 0 12px; }
.listing-filters select { max-width: 190px; padding: 0 30px 0 11px; }
.listing-search input:focus, .listing-filters select:focus { border-color: #91b3ef; box-shadow: 0 0 0 3px rgba(37,99,235,.09); }
.filter-reset { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 8px; color: var(--public-muted); font-size: 11px; font-weight: 650; white-space: nowrap; }
.filter-reset:hover { color: var(--public-blue); }

html.js-reveal-ready .about-page [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .46s ease var(--reveal-delay, 0ms), transform .46s ease var(--reveal-delay, 0ms); }
html.js-reveal-ready .about-page [data-reveal].is-revealed { opacity: 1; transform: none; }
html.js-reveal-ready .about-page [data-reveal].is-revealed:hover { transform: translateY(-2px); }
html.motion-reduced .about-page [data-reveal], html.motion-reduced .about-page [data-reveal].is-revealed { opacity: 1; transform: none; transition: none; }
.resource-row:focus-within, .community-link:focus-within, .category-card:focus-visible, .hero-category-link:focus-visible, .filter-reset:focus-visible { outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }

@media (max-width: 900px) {
  .public-hero .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 56px 0 48px; }
  .hero-title-line { white-space: normal; }
  .hero-visual { width: min(320px, 82vw); justify-self: center; order: 2; }
  .home-resource-columns { grid-template-columns: 1fr; gap: 0; padding-inline: 16px; }
  .home-resource-columns .resource-section { padding-top: 52px; }
  .listing-toolbar { align-items: stretch; }
  .listing-filters { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .public-hero .hero-inner { padding: 46px 0 40px; }
  .public-hero h1 { font-size: clamp(31px, 10vw, 43px); }
  .hero-copy { font-size: 14px; }
  .hero-search { flex-direction: column; }
  .hero-search input, .hero-search .button { width: 100%; }
  .hero-quick-links { line-height: 1.45; }
  .hero-visual { width: min(270px, 80vw); }
  .home-resource-columns { padding-inline: 14px; }
  .home-resource-columns .resource-section { padding-top: 45px; }
  .resource-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; padding: 12px 11px; }
  .resource-row-leading { gap: 6px; min-width: 31px; }
  .resource-row-rank { min-width: 23px; font-size: 10px; }
  .resource-row-mark, .resource-row-thumb { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; font-size: 12px; }
  .resource-row-title { font-size: 12px; white-space: normal; }
  .resource-row-meta, .resource-row-stats { font-size: 10px; }
  .resource-row-action { min-width: 38px; padding-inline: 2px; font-size: 10px; }
  .listing-filters { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .listing-filters label, .listing-search input, .listing-filters select, .filter-reset { width: 100%; max-width: none; }
  .filter-reset { justify-content: center; border: 1px solid var(--public-line); border-radius: 10px; }
  .community-group-heading { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .resource-row, .resource-row-action span, .community-link, .community-link-arrow, .hero-category-link { transition: none; }
  .resource-row:hover, .community-link:hover { transform: none; }
  .resource-row:hover .resource-row-action span, .community-link:hover .community-link-arrow { transform: none; }
}

.detail-community-ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;margin-top:24px}
.detail-community-card{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;min-height:292px;padding:22px;border:1px solid #dce7f5;border-radius:20px;box-shadow:0 7px 22px rgba(16,33,63,.035)}
.detail-community-card-learning{background:linear-gradient(135deg,#f1f7ff 0%,#f8fbff 100%)}
.detail-community-card-sale{background:#fff}
.detail-community-eyebrow{margin:0 0 8px;color:#6683ad;font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.4}
.detail-community-card h2{min-height:52px;margin:0;color:var(--public-ink);font-size:19px;font-weight:650;line-height:1.35;letter-spacing:-.025em}
.detail-community-description{min-height:40px;margin:6px 0 14px;color:var(--public-muted);font-size:12px;line-height:1.65}
.detail-community-actions{display:grid;gap:8px;min-width:0;margin-top:auto}
.detail-community-actions>a{box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;height:58px;min-height:58px;padding:7px 10px;border:1px solid #e3ebf7;border-radius:12px;background:rgba(255,255,255,.9);color:var(--public-ink);text-decoration:none;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}
.detail-community-actions>a:hover,.detail-community-actions>a:focus-visible{border-color:#bdd1f1;background:#fff;box-shadow:0 4px 12px rgba(37,99,235,.065);outline:0}
.detail-community-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f0f5ff}
.detail-community-icon .community-logo{display:block;width:28px;height:28px;max-width:100%;max-height:100%;aspect-ratio:1;object-fit:contain}
.detail-community-label{min-width:0;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.detail-community-label-recommended{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.detail-community-badge{display:inline-flex;align-items:center;min-height:18px;padding:2px 6px;border:1px solid #bfe4e8;border-radius:999px;color:#247987;background:#eaf9fb;font-size:8px;font-weight:800;letter-spacing:.06em;line-height:1;white-space:nowrap}
.detail-community-arrow{color:#8296b6;font-size:15px;transition:transform .16s ease}
.detail-community-actions>a:hover .detail-community-arrow{transform:translateX(2px)}
.detail-community-ctas+.related-section{padding-top:32px}
@media(max-width:760px){.detail-community-ctas{grid-template-columns:minmax(0,1fr);gap:14px}.detail-community-card{min-height:292px;padding:20px}.detail-community-card h2{font-size:18px}}
@media(max-width:520px){.detail-community-ctas{margin-top:18px}.detail-community-card{min-height:286px;padding:18px;border-radius:18px}.detail-community-ctas+.related-section{padding-top:28px}.detail-community-actions>a{grid-template-columns:38px minmax(0,1fr) auto;gap:9px;height:58px;min-height:58px;padding:7px 9px}.detail-community-icon{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.detail-community-actions>a,.detail-community-arrow{transition:none}.detail-community-actions>a:hover .detail-community-arrow{transform:none}}

/* /ung-ho editorial composition. Keep this block page-scoped so global public UI is unchanged. */
.support-page {
  background:
    radial-gradient(circle at 92% 11%, rgba(208, 244, 233, .42), transparent 23rem),
    linear-gradient(180deg, #fbfdff 0, #fff 38rem);
}

.support-page .support-container {
  width: min(100% - 48px, 1220px);
}

.support-page .support-container .breadcrumbs {
  padding-top: 25px;
}

.support-page .support-composition {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 720px;
  margin-top: 6px;
  padding: clamp(38px, 5vw, 66px);
  overflow: hidden;
  border: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 92% 12%, rgba(196, 238, 226, .76), transparent 27%),
    radial-gradient(circle at 76% 86%, rgba(253, 238, 194, .58), transparent 22%),
    radial-gradient(circle at 8% 98%, rgba(216, 234, 255, .74), transparent 28%),
    linear-gradient(135deg, #fafdff 0%, #f5fbff 47%, #f7fcfa 100%);
}

.support-page .support-composition::before {
  position: absolute;
  top: -88px;
  left: 43%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(81, 148, 207, .12);
  border-radius: 50%;
  content: "";
}

.support-page .support-composition::after {
  position: absolute;
  right: -74px;
  bottom: 40px;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  content: "";
}

.support-composition-copy,
.support-visual-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.support-page .support-hero-copy {
  max-width: 610px;
}

.support-page .support-hero h1 {
  max-width: 590px;
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(42px, 4.15vw, 61px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.support-page .support-hero-body {
  display: grid;
  gap: 12px;
  max-width: 590px;
  margin-top: 22px;
}

.support-page .support-hero-body p {
  margin: 0;
  color: #4a6078;
  font-size: 14px;
  line-height: 1.76;
}

.support-page .support-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.support-page .support-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(139, 181, 207, .31);
  border-radius: 999px;
  color: #4f6f79;
  background: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  backdrop-filter: blur(7px);
}

.support-page .support-badge-icon {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  color: #248a78;
}

.support-page .support-badge-icon svg {
  width: 15px;
  height: 15px;
}

.support-page .support-account-card {
  min-height: 0;
  margin-top: 33px;
  padding: 27px 0 0;
  border: 0;
  border-top: 1px solid rgba(114, 153, 183, .23);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.support-page .support-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 13px;
  border: 0;
}

.support-page .support-card-heading h2 {
  margin: 0;
  color: var(--public-ink);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.support-page .support-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: #278c78;
  background: rgba(222, 247, 238, .9);
}

.support-page .support-mark svg {
  width: 19px;
  height: 19px;
}

.support-page .support-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 25px;
  margin: 0;
}

.support-page .support-detail-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(117, 152, 177, .17);
  border-radius: 0;
  background: transparent;
}

.support-page .support-detail-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #4386b7;
  background: rgba(235, 245, 252, .82);
}

.support-page .support-detail-icon svg {
  width: 15px;
  height: 15px;
}

.support-page .support-detail-row dt {
  margin: 0 0 2px;
  color: #73879b;
  font-size: 10px;
  line-height: 1.35;
}

.support-page .support-detail-row dd {
  margin: 0;
  color: var(--public-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.support-page .support-detail-number {
  grid-column: 1 / -1;
  grid-template-columns: 34px minmax(0, 1fr);
  margin: 0;
  padding: 15px 0;
  background: transparent;
}

.support-page .support-detail-number .support-detail-icon {
  width: 34px;
  height: 34px;
  color: #246fc6;
  background: #e3f0ff;
}

.support-page .support-account-number-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.support-page .support-account-number-value {
  color: #1558ae;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: .09em;
  line-height: 1.12;
  white-space: nowrap;
}

.support-page .support-copy-button {
  min-height: 31px;
  padding: 6px 12px;
  border: 1px solid #b8d3ed;
  border-radius: 999px;
  color: #235d9f;
  background: rgba(255, 255, 255, .8);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.support-page .support-copy-button:hover,
.support-page .support-copy-button:focus-visible {
  border-color: #7dadde;
  background: #fff;
  box-shadow: 0 7px 16px rgba(36, 111, 198, .1);
  outline: 0;
  transform: translateY(-2px);
}

.support-visual-stage {
  display: grid;
  min-height: 640px;
  place-items: center;
}

.support-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.support-orbit-one {
  top: 7%;
  right: 1%;
  width: 106px;
  height: 106px;
  background: rgba(255, 236, 183, .72);
  box-shadow: 0 15px 45px rgba(205, 166, 65, .08);
}

.support-orbit-two {
  bottom: 12%;
  left: 0;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(59, 157, 132, .15);
  background: rgba(213, 245, 235, .7);
}

.support-page .support-phone-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.support-page .support-phone {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 348px);
  aspect-ratio: 9 / 19.25;
  padding: 7px;
  border: 1px solid rgba(10, 18, 29, .9);
  border-radius: 52px;
  background: linear-gradient(145deg, #35404c 0%, #111820 34%, #26313c 70%, #0b1117 100%);
  box-shadow:
    0 34px 65px rgba(17, 31, 47, .22),
    0 9px 20px rgba(17, 31, 47, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.support-page .support-phone::before,
.support-page .support-phone::after {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #303a45;
  content: "";
}

.support-page .support-phone::before {
  top: 126px;
  height: 70px;
}

.support-page .support-phone::after {
  top: 213px;
  height: 42px;
}

.support-phone-screen {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 34%, rgba(225, 243, 255, .72), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #f7fbfc 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.support-page .support-phone-speaker {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 94px;
  height: 27px;
  border-radius: 999px;
  background: #0b1117;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .09);
  transform: translateX(-50%);
}

.support-page .support-phone-speaker::after {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #182e3e;
  box-shadow: inset 0 0 0 1px rgba(92, 132, 159, .23);
  content: "";
}

.support-page .support-phone img {
  display: block;
  width: calc(100% - 22px);
  height: auto;
  max-height: calc(100% - 96px);
  padding: 7px;
  border: 1px solid rgba(180, 202, 218, .35);
  border-radius: 22px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 16px 36px rgba(39, 77, 105, .11);
}

.support-phone-home {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 104px;
  height: 4px;
  border-radius: 999px;
  background: rgba(20, 31, 42, .72);
  transform: translateX(-50%);
}

.support-page .support-phone-wrap figcaption {
  max-width: 355px;
  margin: 0;
  color: #526a7c;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.support-page .direct-donation-section {
  margin-top: 34px;
  padding: clamp(28px, 3.3vw, 42px);
  border: 1px solid #d9ebe5;
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 0, rgba(210, 243, 233, .65), transparent 29%),
    #f3faf7;
}

.support-page .direct-donation-section > h2 {
  margin: 0 0 21px;
  color: #173d36;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.support-page .direct-donation-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-page .direct-donation-cards article,
.support-page .direct-donation-cards article:nth-child(2),
.support-page .direct-donation-cards article:nth-child(3) {
  min-width: 0;
  padding: 20px 20px 22px;
  border: 1px solid rgba(144, 190, 174, .26);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 7px 18px rgba(36, 91, 72, .025);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.support-page .direct-donation-cards h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #1d4d43;
  font-size: 15px;
  line-height: 1.4;
}

.support-page .direct-donation-cards h3::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  color: #277d69;
  background: #def3eb;
  content: "\2713";
  font-size: 12px;
  font-weight: 800;
}

.support-page .direct-donation-cards p {
  margin: 10px 0 0 33px;
  color: #506c65;
  font-size: 13px;
  line-height: 1.68;
}

.support-page .support-community-note {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  margin: 34px 0 16px;
  padding: 31px 5px 12px;
  overflow: visible;
  border: 0;
  border-top: 1px solid #dce8ef;
  border-radius: 0;
  background: transparent;
  transition: none;
}

.support-page .support-community-note::after {
  display: none;
}

.support-page .support-community-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cbe2ef;
  border-radius: 50%;
  color: #3487bd;
  background: #f3f9fd;
}

.support-page .support-community-note h2 {
  margin: 0;
  color: var(--public-ink);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.support-page .support-community-note p {
  max-width: 920px;
  margin: 8px 0 0;
  color: #526a80;
  font-size: 13px;
  line-height: 1.72;
}

@media (hover: hover) and (pointer: fine) {
  .support-page .support-account-card:hover,
  .support-page .support-community-note:hover {
    border-color: #dce8ef;
    box-shadow: none;
    transform: none;
  }

  .support-page .direct-donation-cards article:hover {
    border-color: rgba(103, 166, 144, .5);
    box-shadow: 0 12px 24px rgba(36, 91, 72, .07);
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  .support-page .support-composition {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding: 44px;
  }

  .support-page .support-hero-copy {
    max-width: 680px;
  }

  .support-visual-stage {
    min-height: 0;
  }

  .support-page .support-phone {
    width: min(100%, 322px);
  }

  .support-page .direct-donation-cards {
    grid-template-columns: 1fr;
  }

  .support-page .direct-donation-cards p {
    margin-left: 33px;
  }
}

@media (max-width: 560px) {
  .support-page .support-container {
    width: calc(100% - 28px);
  }

  .support-page .support-container .breadcrumbs {
    padding-top: 21px;
  }

  .support-page .support-composition {
    gap: 30px;
    margin-top: 2px;
    padding: 29px 20px 32px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 100% 14%, rgba(196, 238, 226, .65), transparent 27%),
      radial-gradient(circle at 2% 100%, rgba(216, 234, 255, .66), transparent 25%),
      linear-gradient(145deg, #fafdff, #f7fcfa);
  }

  .support-page .support-composition::before {
    top: -96px;
    left: 57%;
  }

  .support-page .support-composition::after,
  .support-orbit-one {
    display: none;
  }

  .support-page .support-hero h1 {
    font-size: clamp(35px, 11.2vw, 43px);
    line-height: 1.04;
  }

  .support-page .support-hero-body {
    gap: 10px;
    margin-top: 18px;
  }

  .support-page .support-hero-body p {
    font-size: 13px;
    line-height: 1.68;
  }

  .support-page .support-hero-badges {
    gap: 6px;
    margin-top: 17px;
  }

  .support-page .support-badge {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 9px;
  }

  .support-page .support-account-card {
    margin-top: 27px;
    padding-top: 22px;
  }

  .support-page .support-card-heading h2 {
    font-size: 21px;
  }

  .support-page .support-details {
    grid-template-columns: 1fr;
  }

  .support-page .support-detail-number {
    grid-column: auto;
  }

  .support-page .support-account-number-value {
    font-size: 21px;
  }

  .support-orbit-two {
    bottom: 8%;
    left: -9px;
    width: 58px;
    height: 58px;
  }

  .support-page .support-phone-wrap {
    gap: 14px;
  }

  .support-page .support-phone {
    width: min(100%, 272px);
    padding: 6px;
    border-radius: 43px;
  }

  .support-phone-screen {
    border-radius: 37px;
  }

  .support-page .support-phone-speaker {
    width: 80px;
    height: 24px;
  }

  .support-page .support-phone img {
    width: calc(100% - 17px);
    padding: 5px;
    border-radius: 17px;
  }

  .support-page .support-phone-wrap figcaption {
    max-width: 280px;
    font-size: 11px;
  }

  .support-page .direct-donation-section {
    margin-top: 20px;
    padding: 24px 17px;
    border-radius: 23px;
  }

  .support-page .direct-donation-section > h2 {
    margin-bottom: 17px;
    font-size: 22px;
  }

  .support-page .direct-donation-cards {
    gap: 10px;
  }

  .support-page .direct-donation-cards article,
  .support-page .direct-donation-cards article:nth-child(2),
  .support-page .direct-donation-cards article:nth-child(3) {
    padding: 17px 16px 19px;
    border-radius: 16px;
  }

  .support-page .direct-donation-cards p {
    margin-left: 0;
  }

  .support-page .support-community-note {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 24px;
    padding-top: 25px;
  }

  .support-page .support-community-note h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-page .support-copy-button,
  .support-page .direct-donation-cards article {
    transition: none;
  }

  .support-page .support-copy-button:hover,
  .support-page .direct-donation-cards article:hover {
    transform: none;
  }
}

/* /ung-ho QR refresh: native QR asset plus HTML banking details. */
.support-page .support-account-card {
  margin-top: 28px;
  padding-top: 22px;
}

.support-page .support-details {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.support-page .support-detail-row,
.support-page .support-detail-number {
  grid-column: auto;
  grid-template-columns: 32px minmax(104px, .47fr) minmax(0, 1.53fr);
  gap: 11px;
  align-items: center;
  min-height: 52px;
  padding: 10px 0;
}

.support-page .support-detail-row dt {
  margin: 0;
  color: #73879b;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.support-page .support-detail-row dd {
  min-width: 0;
  margin: 0;
  color: var(--public-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
  white-space: nowrap;
  overflow-wrap: normal;
}

.support-page .support-detail-number {
  padding-top: 11px;
  padding-bottom: 11px;
}

.support-page .support-detail-number .support-detail-icon {
  width: 32px;
  height: 32px;
}

.support-page .support-account-number-line {
  min-width: 0;
  flex-wrap: nowrap;
  gap: 10px;
}

.support-page .support-account-number-value {
  font-size: 23px;
}

.support-page .support-detail-transfer dd {
  color: #245c93;
}

.support-page .support-leaf-link {
  display: inline-flex;
  align-items: center;
  margin-top: 17px;
  color: #286eaa;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}

.support-page .support-leaf-link:hover,
.support-page .support-leaf-link:focus-visible {
  color: #174e86;
  outline: 0;
  transform: translateX(2px);
}

.support-page .support-phone-content {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 52px 20px 27px;
  overflow: hidden;
}

.support-page .support-phone-content h2 {
  margin: 0 0 13px;
  color: #18344e;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: center;
}

.support-page .support-phone-qr {
  box-sizing: border-box;
  width: min(100%, 270px);
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid #d7e5ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(39, 77, 105, .1);
}

.support-page .support-phone-qr img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.support-page .support-phone-details {
  display: grid;
  width: 100%;
  margin: 14px 0 0;
  padding: 0;
}

.support-page .support-phone-details > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 5px 0;
  border-top: 1px solid #e6eef3;
}

.support-page .support-phone-details dt {
  color: #7790a2;
  font-size: 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.support-page .support-phone-details dd {
  min-width: 0;
  margin: 0;
  color: #25445c;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (max-width: 900px) {
  .support-page .support-detail-row,
  .support-page .support-detail-number {
    grid-template-columns: 32px minmax(104px, .46fr) minmax(0, 1.54fr);
  }
}

@media (max-width: 560px) {
  .support-page .support-account-card {
    margin-top: 24px;
    padding-top: 20px;
  }

  .support-page .support-detail-row,
  .support-page .support-detail-number {
    grid-template-columns: 30px minmax(88px, .62fr) minmax(0, 1.38fr);
    gap: 9px;
    min-height: 48px;
    padding: 8px 0;
  }

  .support-page .support-detail-icon,
  .support-page .support-detail-number .support-detail-icon {
    width: 30px;
    height: 30px;
  }

  .support-page .support-detail-row dd {
    font-size: 12px;
    white-space: normal;
  }

  .support-page .support-account-number-line {
    flex-wrap: wrap;
    gap: 6px 8px;
  }

  .support-page .support-account-number-value {
    font-size: 20px;
  }

  .support-page .support-leaf-link {
    margin-top: 14px;
    font-size: 10px;
  }

  .support-page .support-phone-content {
    padding: 48px 15px 24px;
  }

  .support-page .support-phone-content h2 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .support-page .support-phone-qr {
    width: min(100%, 224px);
    padding: 7px;
    border-radius: 15px;
  }

  .support-page .support-phone-details {
    margin-top: 10px;
  }

  .support-page .support-phone-details > div {
    gap: 6px;
    padding: 4px 0;
  }

  .support-page .support-phone-details dt,
  .support-page .support-phone-details dd {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-page .support-leaf-link {
    transition: none;
  }
}

/* Community sale regression guard: same neutral card system as learning group. */
.community-group-learning,
.community-group-deals {
  border-color: var(--public-line);
  background: #fff;
  box-shadow: 0 7px 22px rgba(16, 33, 63, .035);
}

.community-group-deals .community-group-icon {
  color: var(--public-blue);
  background: #e7f0ff;
}

.community-group-deals .community-link:hover {
  border-color: #c3d6f5;
  background: #eef4ff;
}

.community-group-deals .community-icon {
  border-color: rgba(37, 99, 235, .08);
  background: #f1f6ff;
}

.community-group-deals .community-link:hover .community-icon {
  background: #e7f0ff;
  box-shadow: 0 2px 7px rgba(37, 99, 235, .08);
}

.community-link-title {
  display: block;
}

.community-recommended-badge {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  margin-left: 7px;
  padding: 2px 6px;
  border: 1px solid #bfe4e8;
  border-radius: 999px;
  color: #247987;
  background: #eaf9fb;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.support-page .support-quote {
  margin: 21px 0 0;
  padding: 0;
  color: #3f6686;
}

.support-page .support-quote p {
  max-width: 570px;
  margin: 0;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.support-page .support-quote cite {
  display: block;
  margin-top: 7px;
  color: #7890a5;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .community-recommended-badge {
    margin-left: 5px;
    padding-inline: 5px;
    font-size: 7px;
  }

  .support-page .support-quote {
    margin-top: 17px;
  }

  .support-page .support-quote p {
    font-size: 15px;
    line-height: 1.48;
  }
}

/* Keep left transfer row single-line; make phone details readable two-line groups. */
.support-page .support-detail-transfer dd {
  font-size: 12px;
}

.support-page .support-phone-qr {
  flex: 0 0 auto;
}

.support-page .support-phone-details {
  flex: 0 0 auto;
}

.support-page .support-phone-details > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  align-items: start;
  padding: 6px 0;
}

.support-page .support-phone-details dt {
  font-size: 8.5px;
  line-height: 1.25;
}

.support-page .support-phone-details dd {
  color: #25445c;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.28;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.support-page .support-phone-details > div:nth-child(2) dd {
  color: #1558ae;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
}

@media (max-width: 560px) {
  .support-page .support-detail-transfer dd {
    font-size: 12px;
  }

  .support-page .support-phone-details > div {
    gap: 2px;
    padding: 5px 0;
  }

  .support-page .support-phone-details dt {
    font-size: 8px;
  }

  .support-page .support-phone-details dd {
    font-size: 10px;
  }

  .support-page .support-phone-details > div:nth-child(2) dd {
    font-size: 12px;
  }
}

/* Final donation notice and phone readability pass. */
.support-page .direct-donation-section > h2 {
  margin-bottom: 22px;
  font-size: clamp(22px, 2vw, 28px);
  text-align: center;
}

.support-page .direct-donation-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.support-page .direct-donation-cards article {
  box-sizing: border-box;
  height: 100%;
}

.support-page .support-phone-content {
  padding-top: 58px;
}

.support-page .support-phone-details {
  margin-top: 22px;
}

.support-page .support-phone-details dt {
  font-size: 9px;
}

.support-page .support-phone-details dd {
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow-wrap: normal;
}

.support-page .support-phone-details > div:nth-child(2) dd {
  font-size: 14px;
}

.support-page .support-quote cite {
  text-align: right;
}

@media (max-width: 560px) {
  .support-page .direct-donation-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-page .support-phone-content {
    padding-top: 58px;
  }

  .support-page .support-phone-details {
    margin-top: 18px;
  }

  .support-page .support-phone-details dt {
    font-size: 8.75px;
  }

  .support-page .support-phone-details dd {
    font-size: 11px;
  }

  .support-page .support-phone-details > div:nth-child(2) dd {
    font-size: 13.5px;
  }
}

@media (max-width: 900px) {
  .support-page .direct-donation-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The removed closing note no longer needs the former trailing page gap. */
.support-main .community-page {
  padding-bottom: 32px;
}

main.support-main + .site-footer {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .support-main .community-page {
    padding-bottom: 24px;
  }

  main.support-main + .site-footer {
    margin-top: 24px;
  }
}

/* Keep the quote as a light editorial transition between the hero and notice. */
.support-page .support-quote-transition {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
  margin: 30px auto 0;
  padding: 0 24px;
}

.support-page .support-quote-transition .support-quote {
  width: 100%;
  max-width: 1080px;
  margin: 0;
  padding: 0;
  color: #3f6686;
  text-align: center;
}

.support-page .support-quote-transition .support-quote p {
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.support-page .support-quote-transition .support-quote cite {
  display: block;
  margin-top: 8px;
  color: #7890a5;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
}

.support-page .direct-donation-section {
  margin-top: 28px;
}

@media (max-width: 560px) {
  .support-page .support-quote-transition {
    margin-top: 24px;
    padding-inline: 20px;
  }

  .support-page .support-quote-transition .support-quote {
    text-align: left;
  }

  .support-page .support-quote-transition .support-quote p {
    font-size: 15px;
    line-height: 1.48;
    white-space: normal;
  }

  .support-page .support-quote-transition .support-quote cite {
    margin-top: 8px;
  }

  .support-page .direct-donation-section {
    margin-top: 24px;
  }
}

/* Round 1 prototype: restrained shared foundation for Home and document detail. */
.public-site {
  --prototype-muted: #52627a;
  --prototype-border: #e2e8f0;
  --prototype-soft: #f5f8fc;
  --prototype-radius: 16px;
}

.site-header {
  border-bottom-color: var(--prototype-border);
  background: #fff;
  backdrop-filter: none;
}

.header-inner {
  min-height: 68px;
  gap: clamp(12px, 1.4vw, 20px);
}

.desktop-nav { gap: clamp(12px, 1.25vw, 18px); }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--prototype-muted); }
.desktop-nav a.is-active { color: var(--public-blue); }
.header-search { width: 190px; flex-basis: 190px; }
.header-search input { height: 44px; border-color: var(--prototype-border); background: #f8fafc; font-size: 14px; }
.header-search button { top: 0; right: 0; width: 44px; height: 44px; border-radius: 11px; }
.mobile-menu-inner a { display: flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--prototype-muted); }
.mobile-menu-inner a.is-active { color: var(--public-blue); }

.public-hero { background: linear-gradient(120deg, #f5f8fd 0%, #f9fbfe 58%, #f4fafb 100%); }
.public-hero .hero-inner { padding-block: 56px 50px; }
.public-hero h1 { max-width: 760px; font-size: clamp(42px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.public-hero .hero-copy { max-width: 630px; margin-top: 16px; color: var(--prototype-muted); font-size: 16px; line-height: 1.65; }
.hero-search { max-width: 660px; margin-top: 22px; }
.hero-search input { height: 52px; border-color: #cbd6e5; border-radius: 12px; background: #fff; box-shadow: none; font-size: 15px; }
.hero-search input::placeholder { color: #596a82; opacity: 1; }
.hero-search .button { min-height: 52px; border-radius: 12px; }
.hero-quick-links { gap: 8px; margin-top: 12px; color: var(--prototype-muted); font-size: 12px; }
.hero-category-link { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; color: #435672; background: #fff; }
.hero-visual { width: min(260px, 100%); opacity: .82; }
.hero-visual::before, .hero-visual::after { display: none; }

.category-section { padding-top: 56px; }
.category-section .section-heading { margin-bottom: 18px; }
.category-section .section-heading h2,
.resource-section .section-heading h2 { font-size: clamp(25px, 2.4vw, 30px); }
.section-kicker { color: #2455b2; }
.section-link { min-height: 44px; }
.category-grid { gap: 10px; }
.category-card {
  min-height: 68px;
  gap: 10px;
  padding: 11px 12px;
  border-color: var(--prototype-border);
  border-radius: 14px;
  transition: border-color .16s ease, background-color .16s ease;
}
.category-card:hover { border-color: #b7c9e4; background: #fbfdff; box-shadow: none; transform: none; }
.category-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; background: #eef3fb; font-size: 14px; }
.category-card strong { font-size: 13px; line-height: 1.4; white-space: normal; }
.category-card small { color: var(--prototype-muted); font-size: 11px; }
.category-empty { grid-column: 1 / -1; margin: 0; padding: 20px; border: 1px dashed #bdcadb; border-radius: 14px; color: var(--prototype-muted); background: #fbfcfe; }

.home-resource-columns { gap: clamp(28px, 4vw, 56px); }
.home-resource-columns .resource-section { padding-top: 44px; }
.resource-row-list { gap: 8px; }
.resource-row {
  gap: 12px;
  padding: 13px 14px;
  border-color: var(--prototype-border);
  border-radius: 14px;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease;
}
.resource-row:hover { border-color: #b7c9e4; background: #fbfdff; box-shadow: none; transform: none; }
.resource-row-title {
  overflow: visible;
  color: #142748;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.resource-row-meta { color: var(--prototype-muted); font-size: 12px; line-height: 1.5; }
.resource-row-meta a { color: #2455b2; }
.resource-row-stats { color: #52627a; font-size: 11px; line-height: 1.5; }
.resource-row-action { min-width: 44px; min-height: 44px; color: #2455b2; font-size: 12px; }

.community-section {
  margin-top: 60px;
  padding: 48px 0;
  border-color: var(--prototype-border);
  background: var(--prototype-soft);
}
.community-heading { margin-bottom: 22px; }
.community-groups { gap: clamp(24px, 4vw, 48px); }
.community-group,
.community-group-deals {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.community-group-icon,
.community-group-deals .community-group-icon { color: #2455b2; background: #e8eef8; }
.community-links { gap: 7px; }
.community-link {
  min-height: 58px;
  border-color: var(--prototype-border);
  border-radius: 12px;
  background: #fff;
}
.community-link:hover,
.community-group-deals .community-link:hover { border-color: #b7c9e4; background: #fff; box-shadow: none; transform: none; }
.community-group-deals .community-link:hover .community-icon,
.community-link:hover .community-icon { background: #eef3fb; box-shadow: none; }
.community-group-deals .community-icon { border-color: rgba(37, 99, 235, .08); background: #f1f6ff; }

.detail-section { padding-top: 30px; }
.detail-section .breadcrumbs { margin-bottom: 20px; color: var(--prototype-muted); line-height: 1.6; }
.detail-card {
  border-color: var(--prototype-border);
  border-radius: 18px;
  box-shadow: none;
}
.detail-top {
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 40px);
  padding: clamp(22px, 2.5vw, 32px);
}
.detail-media { border-radius: 14px; background: #f0f4fa; }
.detail-fallback { min-height: 220px; }
.detail-heading { min-width: 0; }
.detail-heading .resource-category {
  color: #2455b2;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.detail-heading h1 {
  margin: 9px 0 12px;
  color: #10213f;
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.detail-meta { gap: 8px 14px; margin: 0 0 20px; color: var(--prototype-muted); font-size: 13px; line-height: 1.5; }
.detail-resource-actions { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin-top: 0; }
.detail-resource-actions .button-primary { min-height: 54px; border-radius: 12px; font-size: 15px; box-shadow: none; }
.detail-resource-actions > button.button-secondary {
  min-height: 44px;
  padding-inline: 12px;
  border-color: var(--prototype-border);
  color: var(--prototype-muted) !important;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}
.detail-resource-actions > button.button-secondary:hover { border-color: #b7c9e4; color: #2455b2 !important; background: #fbfdff; }
.detail-resource-actions > a.button-primary { white-space: normal; line-height: 1.4; }
.detail-register-button { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.detail-content { max-width: 780px; padding: 0 clamp(22px, 2.5vw, 32px) 26px; }
.detail-content h2 { margin-bottom: 9px; color: #182c4d; font-size: 20px; }
.prose { color: #40516a; font-size: 15px; line-height: 1.75; }
.detail-source { min-height: 56px; border-color: var(--prototype-border); color: var(--prototype-muted); font-size: 13px; }

.detail-community-ctas { gap: 16px; margin-top: 24px; }
.detail-community-card {
  min-height: 292px;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 30, 54, 0.04);
}
.detail-community-card-badge-row,
.detail-community-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.detail-community-pill-icon {
  font-size: 10px;
  line-height: 1;
}
.detail-community-card h2 {
  min-height: 0;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.35;
}
.detail-community-description {
  min-height: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Left - Learning Community: blue / cyan / subtle mint family */
.detail-community-card-learning {
  background: linear-gradient(150deg, #f8fbff 0%, #f0f7ff 60%, #f0fdf9 100%) !important;
  border: 1px solid rgba(186, 230, 253, 0.9) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.05) !important;
}
.detail-community-card-learning .detail-community-eyebrow {
  color: #0284c7 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
}
.detail-community-card-learning .detail-community-pill-icon {
  color: #0284c7 !important;
}
.detail-community-card-learning .detail-community-actions > a {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 13px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.18s ease !important;
}
.detail-community-card-learning .detail-community-actions > a:hover,
.detail-community-card-learning .detail-community-actions > a:focus-visible {
  background: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1) !important;
}
.detail-community-card-learning .detail-community-actions .detail-community-icon {
  background: #f0f7ff !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 11px !important;
}
.detail-community-card-learning .detail-community-arrow {
  color: #0284c7 !important;
  transition: transform 0.18s ease, color 0.18s ease !important;
}
.detail-community-card-learning .detail-community-actions > a:hover .detail-community-arrow {
  transform: translateX(3px) !important;
}

/* Right - Deal Community: indigo / violet / subtle periwinkle family */
.detail-community-card-sale {
  background: linear-gradient(150deg, #faf9ff 0%, #f5f3ff 60%, #f7f6fe 100%) !important;
  border: 1px solid rgba(224, 219, 254, 0.9) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.05) !important;
}
.detail-community-card-sale .detail-community-eyebrow {
  color: #6366f1 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
}
.detail-community-card-sale .detail-community-pill-icon {
  color: #6366f1 !important;
}
.detail-community-card-sale .detail-community-badge {
  background: #eef2ff !important;
  color: #4338ca !important;
  border: 1px solid #c7d2fe !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
}
.detail-community-card-sale .detail-community-actions > a {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 13px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.18s ease !important;
}
.detail-community-card-sale .detail-community-actions > a:hover,
.detail-community-card-sale .detail-community-actions > a:focus-visible {
  background: #ffffff !important;
  border-color: #a5b4fc !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.1) !important;
}
.detail-community-card-sale .detail-community-actions .detail-community-icon {
  background: #f5f3ff !important;
  border: 1px solid rgba(129, 140, 248, 0.25) !important;
  border-radius: 11px !important;
}
.detail-community-card-sale .detail-community-arrow {
  color: #6366f1 !important;
  transition: transform 0.18s ease, color 0.18s ease !important;
}
.detail-community-card-sale .detail-community-actions > a:hover .detail-community-arrow {
  transform: translateX(3px) !important;
}

.site-footer { margin-top: 64px; padding: 40px 0 20px; }
.footer-grid { gap: 24px; }
.site-footer h2 { color: #e5edf9; line-height: 1.5; }
.site-footer a:not(.public-brand) { font-size: 13px; line-height: 1.5; }
.footer-bottom { margin-top: 30px; }

.site-header :focus-visible,
.public-hero :focus-visible,
.category-section :focus-visible,
.detail-section :focus-visible,
.resource-row :focus-visible {
  outline: 3px solid rgba(37, 99, 235, .42);
  outline-offset: 3px;
}
.site-header input:focus-visible,
.public-hero input:focus-visible { border-color: #2563eb; }
.search-preview a:focus-visible { outline-offset: -1px; }

@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 22px; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .site-header .public-container,
  .public-hero .public-container,
  .category-section.public-container,
  .detail-section.public-container,
  .site-footer .public-container { width: calc(100% - 48px); max-width: 1200px; }
  .public-hero .hero-inner { padding-block: 42px; }
  .public-hero h1 { font-size: clamp(38px, 5.2vw, 46px); }
  .hero-visual { width: min(230px, 60vw); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-resource-columns { padding-inline: 24px; }
  .detail-top { grid-template-columns: minmax(200px, 32%) minmax(0, 1fr); gap: 24px; padding: 24px; }
  .detail-heading h1 { font-size: clamp(30px, 4vw, 36px); }
  .detail-content { padding-inline: 24px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 64px; }
  .mobile-menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; }
  .home-resource-columns .resource-section { padding-top: 38px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .site-header .public-container,
  .public-hero .public-container,
  .category-section.public-container,
  .detail-section.public-container,
  .site-footer .public-container { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .public-brand { gap: 7px; }
  .public-brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
  .public-brand strong { font-size: 11px; }
  .public-brand small { display: none; }
  .header-search { min-width: 0; }
  .header-search input { height: 44px; padding: 0 48px 0 10px; font-size: 16px; }
  .header-search button { top: 8px; right: 5px; }
  .mobile-menu-inner { padding-block: 8px 12px; }
  .mobile-menu-inner a { min-height: 46px; padding-inline: 10px; }
  .public-hero .hero-inner { gap: 18px; padding-block: 34px 28px; }
  .public-hero h1 { font-size: clamp(34px, 9.3vw, 38px); line-height: 1.14; letter-spacing: -.04em; }
  .public-hero .hero-copy { margin-top: 12px; font-size: 15px; line-height: 1.6; }
  .hero-search { gap: 8px; margin-top: 18px; }
  .hero-search input { height: 50px; padding-inline: 13px; font-size: 16px; }
  .hero-search .button { min-height: 48px; }
  .hero-quick-links { gap: 6px; margin-top: 10px; font-size: 12px; }
  .hero-category-link { min-height: 44px; padding-inline: 10px; }
  .hero-visual { width: min(180px, 56vw); }
  .category-section { padding-top: 34px; }
  .category-section .section-heading { gap: 8px; margin-bottom: 14px; }
  .category-section .section-heading h2,
  .resource-section .section-heading h2 { font-size: 25px; }
  .category-section .section-heading p:not(.section-kicker) { font-size: 13px; }
  .section-link { min-height: 42px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-card { min-height: 66px; gap: 8px; padding: 9px; border-radius: 12px; }
  .category-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; }
  .category-card strong { font-size: 12px; }
  .category-card small { font-size: 11px; }
  .category-arrow { display: none; }
  .home-resource-columns { gap: 0; padding-inline: 16px; }
  .home-resource-columns .resource-section { padding-top: 34px; }
  .home-resource-columns .section-heading { margin-bottom: 14px; }
  .resource-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 11px 9px; }
  .resource-row-leading { min-width: 32px; gap: 5px; }
  .resource-row-mark, .resource-row-thumb { width: 34px; height: 34px; flex-basis: 34px; }
  .resource-row-title { font-size: 14px; line-height: 1.4; }
  .resource-row-meta { margin-top: 4px; font-size: 11px; }
  .resource-row-stats { font-size: 11px; }
  .resource-row-action { min-width: 44px; padding-inline: 3px; font-size: 11px; }
  .community-section { margin-top: 40px; padding: 34px 0; }
  .community-groups { gap: 24px; }
  .community-link { min-height: 56px; grid-template-columns: 34px minmax(0, 1fr) auto; padding-inline: 8px; }
  .community-link strong { font-size: 12px; }
  .community-link small { font-size: 11px; }
  .detail-section { padding-top: 20px; padding-bottom: 48px; }
  .detail-section .breadcrumbs { gap: 6px; margin-bottom: 14px; font-size: 11px; }
  .detail-top { display: flex; flex-direction: column; gap: 16px; padding: 18px 16px; }
  .detail-heading { order: 0; }
  .detail-media { order: 1; width: 100%; aspect-ratio: 16 / 9; }
  .detail-fallback { min-height: 0; }
  .detail-heading h1 { margin: 8px 0 11px; font-size: clamp(30px, 8.5vw, 34px); line-height: 1.18; }
  .detail-meta { gap: 6px 10px; margin-bottom: 16px; font-size: 12px; }
  .detail-resource-actions { gap: 8px; }
  .detail-resource-actions .button-primary { min-height: 52px; }
  .detail-content { padding: 0 16px 20px; }
  .detail-content h2 { font-size: 19px; }
  .prose { font-size: 14px; line-height: 1.7; }
  .detail-source { min-height: 50px; padding: 12px 16px; }
  .detail-community-ctas { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
  .detail-community-card { padding: 15px; border-radius: 14px; }
  .detail-community-card h2 { font-size: 17px; }
  .detail-community-description { margin-bottom: 10px; font-size: 12px; }
  .detail-community-actions>a { min-height: 52px; height: auto; }
  .site-footer { margin-top: 44px; padding-top: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer h2 { font-size: 11px; }
  .site-footer a:not(.public-brand) { font-size: 12px; overflow-wrap: anywhere; }
  .footer-bottom { gap: 8px; margin-top: 24px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .resource-row,
  .resource-row-action span,
  .community-link,
  .detail-community-actions > a { transition: none; }
  .category-card:hover,
  .resource-row:hover,
  .community-link:hover { transform: none; }
}

/* ==========================================================================
   CỘNG ĐỒNG KHÓA HỌC — PUBLIC REDESIGN DESIGN SYSTEM (FINAL OWNER SPEC)
   ========================================================================== */

/* 1. TYPOGRAPHY: BE VIETNAM PRO */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/be-vietnam-pro/BeVietnamPro-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/be-vietnam-pro/BeVietnamPro-Bold.woff2") format("woff2");
}

:root {
  --font-sans: "Be Vietnam Pro", "Lexend", system-ui, -apple-system, sans-serif;
  --color-brand-blue: #2563eb;
  --color-brand-blue-hover: #1d4ed8;
  --color-brand-navy: #0f1e36;
  --color-brand-navy-deep: #0a1424;
  --color-page-bg: #f2f7fb;
  --color-surface-hero: #e4effc;
  --color-surface-categories: #f8fafc;
  --color-surface-featured: #eaf3ff;
  --color-surface-latest: #fff8ee;
  --color-surface-community: #eef2ff;
  --color-surface-footer: #0c192e;
}

body.public-site,
.public-site {
  font-family: "Be Vietnam Pro", "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #1e293b;
  background: #f2f7fb !important;
  -webkit-font-smoothing: antialiased;
}

/* 2. HEADER & NAVIGATION CAPSULE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #dce5f2 !important;
  box-shadow: 0 2px 8px rgba(15, 30, 54, 0.04) !important;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.public-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.public-brand-title strong {
  font-size: 16px;
  font-weight: 700;
  color: #0f1e36;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Header brand tagline removed per owner instruction */
.site-header .public-brand small,
.site-header .public-brand-tagline {
  display: none !important;
}

/* Capsule navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  background: #e9eef5 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 9999px;
  box-shadow: inset 0 1px 2px rgba(15, 30, 54, 0.04);
}

.desktop-nav a {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.desktop-nav a:hover {
  color: #0f1e36 !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

.desktop-nav a.is-active {
  color: #1d4ed8 !important;
  background: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 30, 54, 0.08) !important;
}

/* Header utilities (Search & Account) */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-search {
  width: 230px;
  position: relative;
}

.header-search input {
  display: block;
  width: 100%;
  height: 40px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 9999px;
  padding: 0 40px 0 16px;
  font-size: 13px;
  font-weight: 400;
  color: #0f1e36 !important;
  background: #ffffff !important;
  outline: none;
  transition: all 0.16s ease;
}

.header-search input:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9999px;
  color: #ffffff !important;
  background: #2563eb !important;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background 0.15s ease;
}

.header-search button:hover {
  background: #1d4ed8 !important;
}

.header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff !important;
  background: #2563eb !important;
  text-decoration: none;
  transition: all 0.16s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
}

.header-account-link:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

/* 3. AUTOCOMPLETE (TITLE ONLY) */
.search-preview {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-height: min(400px, 60vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px;
  background: #ffffff !important;
  box-shadow: 0 16px 36px rgba(15, 30, 54, 0.16) !important;
  z-index: 120;
}

.search-preview[hidden] {
  display: none !important;
}

.search-preview-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  transition: all 0.12s ease;
}

.search-preview-item:hover,
.search-preview-item[aria-selected="true"] {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 600 !important;
}

.search-preview-title {
  display: block;
  overflow-wrap: break-word;
}

.search-preview-all {
  display: block;
  margin-top: 6px;
  padding: 9px 12px;
  border-top: 1px solid #e2e8f0;
  color: #1d4ed8 !important;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.12s ease;
}

.search-preview-all:hover {
  background: #eff6ff !important;
}

.search-preview-empty {
  padding: 16px 12px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* 4. SECTION SURFACE RHYTHM */
.section-hero {
  background: linear-gradient(135deg, #e4effc 0%, #ebf3fd 50%, #e0eefb 100%) !important;
  border-bottom: 1px solid #d0e0f5 !important;
  padding-block: 60px 52px !important;
}

.section-categories {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-block: 56px 64px !important;
}

/* Homepage categories share Featured's surface width and content gutters. */
.category-section.section-categories.public-container {
  width: 100%;
  max-width: 1200px;
  padding-inline: 28px;
}

.home-resource-columns .resource-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.section-featured-wrap,
.section-latest-wrap {
  box-sizing: border-box !important;
  padding-inline: 28px !important;
  padding-block: 56px 64px !important;
}

.section-featured-wrap {
  background: #eaf3ff !important;
  border-top: 1px solid #d5e4f7 !important;
  border-bottom: 1px solid #d5e4f7 !important;
}

.section-latest-wrap {
  background: #fff8ee !important;
  border-bottom: 1px solid #f2e5d0 !important;
}

.section-featured-wrap .section-heading p {
  color: #334155 !important;
}

.section-latest-wrap .section-heading p {
  color: #451a03 !important;
  opacity: 0.85 !important;
}

.home-resource-columns .section-heading {
  margin-bottom: 22px !important;
}

.home-resource-columns {
  display: block !important;
  padding-inline: 0 !important;
  gap: 0 !important;
}

.community-section {
  background: #f8fafc !important;
  padding-block: 64px !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.community-section .community-heading {
  margin-bottom: 28px !important;
}

.community-section .community-heading p {
  color: #475569 !important;
}

.community-groups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.community-group {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 26px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 30, 54, 0.04) !important;
}

.community-group-head {
  margin-bottom: 18px !important;
}

.community-card-badge-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
}

.community-pill-icon {
  font-size: 10px !important;
  line-height: 1 !important;
}

.community-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.community-group-heading {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 6px !important;
}

.community-group-heading h3 {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

.community-group-sub {
  margin: 0 !important;
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* Home Left - Learning */
.community-group-learning {
  background: linear-gradient(150deg, #f8fbff 0%, #f0f7ff 60%, #f0fdf9 100%) !important;
  border: 1px solid rgba(186, 230, 253, 0.9) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.05) !important;
}

.community-group-learning .community-eyebrow,
.community-group-learning .community-pill-icon {
  color: #0284c7 !important;
}

.community-group-learning .community-group-icon {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 9px !important;
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

/* Home Right - Deals */
.community-group-deals {
  background: linear-gradient(150deg, #faf9ff 0%, #f5f3ff 60%, #f7f6fe 100%) !important;
  border: 1px solid rgba(224, 219, 254, 0.9) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.05) !important;
}

.community-group-deals .community-eyebrow,
.community-group-deals .community-pill-icon {
  color: #6366f1 !important;
}

.community-group-deals .community-group-icon {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 9px !important;
  background: #f5f3ff !important;
  color: #6366f1 !important;
}

/* Inner links */
.community-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: auto !important;
}

.community-link {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 13px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

.community-group-learning .community-link:hover,
.community-group-learning .community-link:focus-visible {
  background: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1) !important;
}

.community-group-learning .community-link:hover .community-link-arrow,
.community-group-learning .community-link:focus-visible .community-link-arrow {
  color: #0284c7 !important;
  transform: translateX(3px) !important;
}

.community-group-deals .community-link:hover,
.community-group-deals .community-link:focus-visible {
  background: #ffffff !important;
  border-color: #a5b4fc !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.1) !important;
}

.community-group-deals .community-link:hover .community-link-arrow,
.community-group-deals .community-link:focus-visible .community-link-arrow {
  color: #6366f1 !important;
  transform: translateX(3px) !important;
}

.community-link-body {
  min-width: 0 !important;
}

.community-link-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
}

.community-link-desc {
  display: block !important;
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin-top: 2px !important;
}

.community-link-arrow {
  color: #94a3b8 !important;
  font-size: 15px !important;
  transition: transform 0.18s ease, color 0.18s ease !important;
}

.community-recommended-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  padding: 2px 7px !important;
  border: 1px solid #c7d2fe !important;
  border-radius: 999px !important;
  color: #4338ca !important;
  background: #eef2ff !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.community-deals-helper {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 10px !important;
  min-height: 44px !important;
  padding: 8px 14px !important;
  background: rgba(245, 243, 255, 0.6) !important;
  border: 1px dashed rgba(199, 210, 254, 0.85) !important;
  border-radius: 12px !important;
  color: #6366f1 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.community-helper-dot {
  font-size: 9px !important;
  line-height: 1 !important;
  color: #7c3aed !important;
}

@media (max-width: 860px) {
  .community-groups {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .community-group {
    padding: 20px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 520px) {
  .community-section {
    padding-block: 40px !important;
  }
  .community-group {
    padding: 18px !important;
  }
  .community-link {
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 8px 12px !important;
  }
}

/* 5. HOMEPAGE HERO (COMPACT 2-COLUMN) */
.public-hero .hero-inner {
  display: grid !important;
  grid-template-columns: 1.12fr 0.88fr !important;
  align-items: center !important;
  gap: 48px !important;
  padding: 0 !important;
}

.hero-eyebrow {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #1d4ed8 !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

.hero-title {
  margin: 0 0 14px !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  color: #0f1e36 !important;
}

.hero-copy {
  margin: 0 0 24px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
  max-width: 520px !important;
}

/* Animated real metrics */
.hero-metrics {
  display: inline-flex !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px -2px rgba(15, 30, 54, 0.035) !important;
  margin-bottom: 22px !important;
  width: fit-content !important;
  max-width: 100% !important;
}

.hero-metric-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.hero-metric-item + .hero-metric-item {
  padding-left: 22px !important;
  border-left: none !important;
  position: relative !important;
}

.hero-metric-item + .hero-metric-item::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 26px !important;
  width: 1px !important;
  background: rgba(203, 213, 225, 0.55) !important;
  pointer-events: none !important;
}

.metric-number {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  display: inline-block !important;
}

.metric-free {
  color: #059669 !important;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-block !important;
}

[data-metric-badge] {
  animation: metricSubtleFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes metricSubtleFade {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-metric-badge] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.metric-label {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  white-space: nowrap !important;
  line-height: 1.35 !important;
}

.hero-visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-artwork-illustration {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  filter: drop-shadow(0 16px 32px rgba(15, 30, 54, 0.12)) !important;
}

.hero-quick-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #475569 !important;
}

.hero-category-link {
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.hero-category-link:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
}

/* 6. CATEGORIES GRID (UP TO FOUR DESKTOP COLUMNS) */
.category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.category-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
  box-shadow: 0 2px 8px rgba(15, 30, 54, 0.04) !important;
}

.category-card:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12) !important;
  transform: translateY(-2px) !important;
}

.category-icon-artwork {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 30, 54, 0.05) !important;
}

.category-icon-artwork img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.category-card-text {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.category-card-text strong {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f1e36 !important;
  line-height: 1.35 !important;
}

.category-card-text small {
  display: block !important;
  margin-top: 2px !important;
  font-size: 11.5px !important;
  color: #475569 !important;
}

.category-arrow {
  margin-left: auto !important;
  color: #64748b !important;
  font-size: 15px !important;
  transition: transform 0.15s ease, color 0.15s ease !important;
}

.category-card:hover .category-arrow {
  transform: translate(2px, -2px) !important;
  color: #2563eb !important;
}

/* 7. RESOURCE ROWS WITH CATEGORY ARTWORK */
.resource-row-list {
  display: grid !important;
  gap: 12px !important;
}

.resource-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  background: #ffffff !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 14px !important;
  transition: all 0.16s ease !important;
  box-shadow: 0 2px 8px rgba(15, 30, 54, 0.04) !important;
}

.resource-row:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.10) !important;
  transform: translateY(-1px) !important;
}

.resource-row-leading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.resource-row-rank {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #475569 !important;
}

.resource-row-artwork {
  display: block !important;
  width: 64px !important;
  height: 44px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #dce5f2 !important;
  background: #f8fafc !important;
  flex-shrink: 0 !important;
}

.resource-row-artwork img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.resource-row-main {
  min-width: 0 !important;
}

.resource-row-chips {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 5px !important;
  flex-wrap: wrap !important;
}

.category-chip {
  display: inline-block !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1d4ed8 !important;
  background: #dbeafe !important;
  border: 1px solid #bfdbfe !important;
  text-decoration: none !important;
}

.provider-chip {
  display: inline-block !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

.resource-row-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f1e36 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

.resource-row-title:hover {
  color: #2563eb !important;
}

.resource-row-stats {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #475569 !important;
}

.resource-row-action {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.resource-row:hover .resource-row-action {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* 8. DOCUMENT DETAIL */
.detail-card {
  background: #ffffff !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 30px rgba(15, 30, 54, 0.06) !important;
  padding: 32px !important;
}

.detail-top {
  display: grid !important;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
}

.detail-artwork-wrap {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #dce5f2 !important;
  background: #f8fafc !important;
}

.detail-artwork-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.detail-heading h1 {
  color: #0f1e36 !important;
}

.detail-lead {
  color: #334155 !important;
}

.detail-meta {
  color: #475569 !important;
}

.prose {
  color: #334155 !important;
}

.button-receive {
  min-height: 54px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28) !important;
  text-align: center !important;
  justify-content: center !important;
  transition: all 0.18s ease !important;
}

.button-receive:hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.36) !important;
  transform: translateY(-1px) !important;
}

.button-report {
  min-height: 44px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.button-report:hover {
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
  background: #fef2f2 !important;
}

/* 9. RICH NAVY FOOTER & REDESIGNED SOCIAL BLOCK */
.site-footer {
  background: #0c192e !important;
  color: #cbd5e1 !important;
  border-top: 1px solid #1a2c47 !important;
  padding-top: 56px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  padding-bottom: 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-footer h2 {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #f8fafc !important;
  margin-bottom: 16px !important;
}

.site-footer a:not(.public-brand) {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #cbd5e1 !important;
  margin-bottom: 10px !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.site-footer a:not(.public-brand):hover {
  color: #38bdf8 !important;
}

.footer-brand strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.footer-brand small {
  color: #94a3b8 !important;
  font-size: 11px !important;
}

.footer-brand-mission {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  margin-top: 12px !important;
  max-width: 260px !important;
}

/* Redesigned Cohesive Footer Social Strip */
.site-footer .footer-social-strip,
.footer-social-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  max-width: 1200px !important;
  width: min(1200px, calc(100% - 48px)) !important;
  margin: 32px auto 0 !important;
  padding: 24px 0 !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.footer-social-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 0 1 auto !important;
}

.footer-social-copy span {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  display: block !important;
}

.footer-social-copy strong {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  line-height: 1.4 !important;
  display: block !important;
}

.footer-social-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex: 0 1 auto !important;
}

.site-footer a.footer-social-link,
.footer-social-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  background: #14243b !important;
  border: 1px solid #243b5a !important;
  color: #f1f5f9 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.site-footer a.footer-social-link:hover,
.footer-social-link:hover {
  background: #1e3557 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25) !important;
}

.site-footer a.footer-social-link:focus-visible,
.footer-social-link:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 2px !important;
}

.footer-social-link img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 0 32px !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
}

/* 11. TÀI LIỆU PAGE: 2-COLUMN IA WITH RESTORED LEFT SIDEBAR */
.listing-header {
  background: linear-gradient(135deg, #eaf2fc 0%, #f4f8fe 100%) !important;
  border-bottom: 1px solid #dce5f2 !important;
  padding-block: 48px 40px !important;
}

.listing-section {
  padding-block: 40px 80px !important;
}

.listing-layout {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: start !important;
}

.listing-sidebar {
  position: sticky !important;
  top: 88px !important;
  align-self: start !important;
}

.listing-sidebar-card {
  background: #ffffff !important;
  border: 1px solid #dce5f2 !important;
  border-radius: 16px !important;
  padding: 20px 16px !important;
  box-shadow: 0 2px 10px rgba(15, 30, 54, 0.04) !important;
}

.listing-sidebar-head {
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #eef2f7 !important;
}

.listing-sidebar-kicker {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  display: block !important;
}

.listing-sidebar-head h3 {
  margin: 4px 0 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f1e36 !important;
}

.listing-category-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.listing-category-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.listing-category-item:hover {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.listing-category-item.is-active {
  background: #dbeafe !important;
  color: #1e40af !important;
  font-weight: 600 !important;
  box-shadow: inset 3px 0 #2563eb !important;
}

.listing-category-bullet {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 12px !important;
  color: #2563eb !important;
  flex-shrink: 0 !important;
}

.listing-category-icon {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.listing-category-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.listing-category-name {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.listing-category-count {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
}

.listing-category-item.is-active .listing-category-count {
  background: #bfdbfe !important;
  color: #1e3a8a !important;
}

.listing-main {
  min-width: 0 !important;
}

.listing-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.listing-filters {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  flex-wrap: wrap !important;
}

.listing-filters select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  height: 38px !important;
  min-height: 38px !important;
  line-height: 36px !important;
  width: 162px !important;
  min-width: 155px !important;
  max-width: 170px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding-left: 16px !important;
  padding-right: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f1e36 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 16px) center !important;
  background-size: 16px 16px !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.listing-filters select:hover {
  border-color: #94a3b8 !important;
}

.listing-filters select:focus-visible {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}

.filter-reset {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-left: 6px !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.15s ease !important;
}

.filter-reset:hover {
  color: #ef4444 !important;
}

/* 12. RESPONSIVE RECOMPOSITION */
@media (min-width: 992px) {
  .listing-filters label:has(select[name="category"]) {
    display: none !important;
  }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .desktop-nav a {
    padding: 6px 10px !important;
    font-size: 12.5px !important;
  }
  .header-search {
    width: 180px !important;
  }
  .header-account-link {
    padding: 0 14px !important;
    font-size: 13px !important;
  }
  .header-inner {
    gap: 12px !important;
  }
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .listing-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .listing-sidebar {
    position: static !important;
    width: 100% !important;
  }
  .listing-sidebar-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .listing-sidebar-head {
    display: none !important;
  }
  .listing-category-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .listing-category-nav::-webkit-scrollbar {
    display: none !important;
  }
  .listing-category-item {
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    font-size: 12.5px !important;
    gap: 6px !important;
  }
  .listing-category-item.is-active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }
  .listing-category-item.is-active .listing-category-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
  }
  .listing-category-item.is-active .listing-category-bullet {
    color: #ffffff !important;
  }
  .listing-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .listing-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .listing-filters label {
    flex: 0 1 auto !important;
  }
  .listing-filters select {
    width: auto !important;
    min-width: 155px !important;
    max-width: 170px !important;
  }
}

@media (max-width: 1024px) {
  .category-section.section-categories.public-container { padding-inline: 20px; }
  .section-featured-wrap,
  .section-latest-wrap {
    padding-inline: 20px !important;
    padding-block: 48px 54px !important;
  }
  .home-resource-columns .section-heading {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 640px) {
  .category-section.section-categories.public-container { padding-inline: 16px; }
  .section-featured-wrap,
  .section-latest-wrap {
    padding-inline: 16px !important;
    padding-block: 40px 46px !important;
  }
  .home-resource-columns .section-heading {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 480px) {
  .listing-filters {
    gap: 8px !important;
  }
  .listing-filters label {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 140px !important;
  }
  .listing-filters select {
    width: 100% !important;
    min-width: 140px !important;
    max-width: none !important;
    padding-left: 14px !important;
    padding-right: 34px !important;
    background-position: calc(100% - 14px) center !important;
  }
  .filter-reset {
    margin-left: 0 !important;
    padding-inline: 4px !important;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none !important;
  }
  .header-utilities {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f1e36 !important;
    font-size: 20px !important;
    cursor: pointer !important;
  }
  .mobile-menu.is-open {
    display: block !important;
  }
  .public-hero .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: left !important;
  }
  .hero-visual {
    order: -1 !important;
    width: min(320px, 75vw) !important;
    margin: 0 auto !important;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .detail-top {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .footer-social-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 20px 0 !important;
  }
  .footer-social-copy {
    text-align: left !important;
  }
  .footer-social-actions {
    justify-content: flex-start !important;
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .public-hero .hero-inner {
    padding-block: 28px 24px !important;
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 12px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
  }
  .hero-metric-item {
    align-items: center !important;
    text-align: center !important;
  }
  .hero-metric-item + .hero-metric-item {
    padding-left: 0 !important;
    padding-top: 0 !important;
    border-left: none !important;
    border-top: none !important;
  }
  .hero-metric-item + .hero-metric-item::before {
    height: 24px !important;
    left: -3px !important;
  }
  .metric-number,
  .metric-free {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }
  .metric-label {
    font-size: 11px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
  .category-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .resource-row {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .resource-row-action {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-social-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .footer-social-link {
    min-width: 0 !important;
    padding: 0 6px !important;
    font-size: 12px !important;
    height: 38px !important;
    gap: 6px !important;
  }
  .footer-social-link img {
    width: 16px !important;
    height: 16px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

.skip-link {
  color: #ffffff !important;
  background: #0f172a !important;
}

/* ==========================================================================
   SUPPORT PAGE (/ung-ho) - PREMIUM 3D BANKING MOCKUP & DEPTH
   ========================================================================== */
.support-page {
  padding-block: 28px 72px;
  background: radial-gradient(circle at 85% 18%, rgba(224, 242, 254, 0.45) 0%, rgba(240, 253, 250, 0.3) 35%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 10% 40%, rgba(236, 254, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
}

.support-container {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

.support-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-block: 20px 48px;
  position: relative;
}

.support-composition-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.support-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.support-badge-dot {
  color: #0284c7;
  font-size: 10px;
}

.support-hero-copy h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: #0f172a;
}

.support-hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-hero-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: #475569;
}

/* Left Bank Account Card */
.support-account-card {
  padding: 26px 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.support-account-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #06b6d4, #10b981);
}

.support-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.support-card-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
}

.support-card-tag-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.support-account-card .support-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.support-detail-row {
  display: grid;
  grid-template-columns: 20px 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
}

.support-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 15px;
}

.support-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.support-account-card .support-details dt {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  margin: 0;
}

.support-account-card .support-details dd {
  color: #0f172a;
  font-weight: 600;
  margin: 0;
  overflow-wrap: break-word;
}

.support-detail-number {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.support-account-number-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.support-account-number-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0284c7;
  font-family: var(--public-font-mono, monospace);
}

.support-page .support-copy-button {
  padding: 6px 14px !important;
  min-height: 32px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0369a1 !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.support-page .support-copy-button:hover,
.support-page .support-copy-button:focus-visible {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

.support-copy-feedback {
  font-size: 11.5px;
  font-weight: 600;
  color: #059669;
}

.support-detail-transfer dd {
  font-size: 13px;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  font-family: var(--public-font-mono, monospace);
}

.support-leaf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #0284c7;
  text-decoration: none;
  padding-top: 4px;
  transition: color 0.15s ease;
}

.support-leaf-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* 3D Visual Stage & Banking Phone Mockup */
.support-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding-block: 20px;
}

.support-stage-backdrop {
  position: absolute;
  inset: -15% -20%;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.65;
}

.support-glow-cyan {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0) 70%);
  top: 10%;
  right: 5%;
}

.support-glow-blue {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  bottom: 5%;
  left: 0;
}

.support-glow-mint {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(16, 185, 129, 0) 70%);
  top: 35%;
  left: 20%;
}

.support-phone-wrap {
  position: relative;
  margin: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
}

.support-phone-wrap figcaption {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
  max-width: 300px;
  line-height: 1.45;
}

.support-phone {
  position: relative;
  width: 324px;
  border-radius: 46px;
  background: #0f172a;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 0 3px #1e293b,
    0 25px 50px -12px rgba(15, 23, 42, 0.35),
    0 40px 80px -20px rgba(2, 132, 199, 0.22);
  transform-style: preserve-3d;
  animation: phoneEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards, phoneIdle 6s ease-in-out infinite alternate 0.85s;
}

/* Realistic hardware buttons on smartphone chassis */
.support-phone::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 92px;
  width: 3.5px;
  height: 36px;
  background: #334155;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 48px 0 #334155;
}

.support-phone::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 102px;
  width: 3.5px;
  height: 52px;
  background: #334155;
  border-radius: 0 3px 3px 0;
}

@keyframes phoneEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.97) rotateY(-8deg) rotateX(4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(-5.5deg) rotateX(2.2deg);
  }
}

@keyframes phoneIdle {
  0% {
    transform: translateY(0px) rotateY(-5.5deg) rotateX(2.2deg);
  }
  100% {
    transform: translateY(-6px) rotateY(-4.2deg) rotateX(1.4deg);
  }
}

.support-phone-glare {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
  z-index: 10;
}

.support-phone-shadow {
  position: absolute;
  bottom: -16px;
  width: 250px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
  animation: shadowIdle 6s ease-in-out infinite alternate 0.85s;
}

@keyframes shadowIdle {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
}

.support-phone-screen {
  position: relative;
  border-radius: 38px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.banking-app-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 16px 8px;
}

.banking-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.banking-status-time {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.support-phone-dynamic-island {
  width: 80px;
  height: 18px;
  background: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
}

.support-phone-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e293b;
  box-shadow: inset 0 0 2px #38bdf8;
}

.banking-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0f172a;
}

.banking-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.banking-nav-back {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  color: #0284c7;
  cursor: default;
  margin-right: 4px;
}

.banking-nav-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.banking-nav-spacer {
  width: 14px;
}

.support-phone-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
}

.support-phone-qr {
  position: relative;
  background: #ffffff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05), 0 0 0 1px #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-phone-qr img {
  display: block;
  width: 154px;
  height: 154px;
  object-fit: contain;
  border-radius: 6px;
}

.qr-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #0284c7;
  border-style: solid;
  pointer-events: none;
}

.qr-corner-tl {
  top: 4px;
  left: 4px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 5px;
}

.qr-corner-tr {
  top: 4px;
  right: 4px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 5px;
}

.qr-corner-bl {
  bottom: 4px;
  left: 4px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 5px;
}

.qr-corner-br {
  bottom: 4px;
  right: 4px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 5px;
}

.support-page .support-phone-details {
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 10px 14px 12px !important;
  border: 1px solid #edf2f7 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}

.support-page .support-phone-details > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  padding: 5px 0 5.5px !important;
  border: none !important;
  border-top: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-sizing: border-box !important;
}

.support-page .support-phone-details > div:last-child {
  border-bottom: none !important;
  padding-bottom: 2px !important;
}

.support-page .support-phone-details dt {
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 550 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.support-page .support-phone-details dd {
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.support-page .support-phone-details dd.banking-dest-name,
.support-page .banking-dest-name {
  color: #2563eb !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
}

.support-page .support-phone-details dd.banking-dest-number,
.support-page .banking-dest-number {
  font-family: var(--public-font-mono, monospace) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: 0.03em !important;
  line-height: 1.25 !important;
}

.support-page .support-phone-details dd.banking-transfer-content,
.support-page .banking-transfer-content {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}

.banking-status-ready {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  margin-top: 4px !important;
}

.banking-ready-dot {
  position: relative !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  flex-shrink: 0 !important;
}

.banking-ready-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: bankingDotPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes bankingDotPulse {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.support-phone-home {
  display: block;
  width: 90px;
  height: 3.5px;
  background: #cbd5e1;
  border-radius: 999px;
  margin: 6px auto 6px;
}

.support-float-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.1), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  animation: floatBadge 5s ease-in-out infinite alternate;
  pointer-events: none;
}

.support-float-badge-top {
  top: 14%;
  left: -8px;
  animation-delay: 0.2s;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

.support-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 13px;
}

.support-float-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Winston Churchill Quote Transition */
.support-quote-transition {
  margin: 36px auto 44px;
  max-width: 680px;
  text-align: center;
  position: relative;
  padding-block: 16px;
}

.support-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.support-quote p {
  margin: 0 0 8px;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
}

.support-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: #0284c7;
  letter-spacing: 0.02em;
}

/* "Một vài điều cần biết" Raised Information Surface */
.support-page .direct-donation-section {
  margin-top: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f0fdf9 0%, #ecfeff 100%);
  border: 1px solid #ccebe1;
  box-shadow: 0 10px 32px -6px rgba(16, 185, 129, 0.08), 0 3px 10px -2px rgba(15, 23, 42, 0.03);
  padding: 28px 32px 32px;
  position: relative;
}

.support-page .direct-donation-inner {
  max-width: 980px;
  margin-inline: auto;
}

.support-page .direct-donation-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  gap: 4px !important;
}

.support-page .direct-donation-heading .section-kicker {
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
}

.support-page .direct-donation-heading h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0;
}

.support-page .direct-donation-sub {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

.support-page .direct-donation-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.support-page .direct-donation-cards article {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.support-page .direct-donation-cards article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.support-page .direct-donation-cards article h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.015em;
}

.support-page .direct-donation-cards h3::before {
  content: none !important;
  display: none !important;
}

.direct-donation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.direct-donation-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.direct-donation-icon-transparency {
  background: #e0f2fe;
  color: #0284c7;
}

.direct-donation-icon-voluntary {
  background: #ecfdf5;
  color: #059669;
}

.support-page .direct-donation-cards article p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

/* Responsive Rules */
@media (max-width: 999px) {
  .support-composition {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-page .direct-donation-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .support-page .direct-donation-cards article {
    height: auto;
  }

  .support-visual-stage {
    order: 2;
    padding-top: 10px;
  }

  .support-composition-copy {
    order: 1;
  }

  .support-float-badge-top {
    left: 2%;
  }

  .support-float-badge-bottom {
    right: 2%;
  }
}

@media (max-width: 640px) {
  .direct-donation-section {
    padding: 24px 20px 28px;
    border-radius: 20px;
  }

  .direct-donation-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .support-account-card {
    padding: 20px 18px;
  }

  .support-detail-row {
    grid-template-columns: 20px 95px minmax(0, 1fr);
    font-size: 13px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .support-container {
    width: min(100% - 28px, 1160px);
  }

  .support-phone-wrap {
    transform: none !important;
    animation: none !important;
  }

  .support-phone {
    width: min(300px, 92vw);
    border-radius: 40px;
    padding: 8px;
    transform: none !important;
    animation: none !important;
  }

  .support-phone-screen {
    border-radius: 32px;
  }

  .support-phone-qr img {
    width: 160px;
    height: 160px;
  }

  .support-float-badge {
    display: none;
  }

  .support-detail-row {
    grid-template-columns: 20px 1fr;
    row-gap: 2px;
  }

  .support-detail-row dt {
    grid-column: 2;
  }

  .support-detail-row dd {
    grid-column: 2;
  }

  .support-detail-row .support-detail-icon {
    grid-row: 1 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-phone-wrap,
  .support-phone,
  .support-phone-shadow,
  .support-float-badge {
    animation: none !important;
    transform: none !important;
  }

  .banking-ready-dot::after {
    animation: none !important;
    display: none !important;
  }

  .direct-donation-cards article {
    transition: none !important;
  }
}

/* Keep the existing GET search reachable in the compact public header. */
@media (min-width: 901px) and (max-width: 1150px) {
  .site-header .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-header .public-brand { order: 0; }
  .site-header .desktop-nav { order: 1; }
  .site-header .header-utilities { order: 2; flex: 1 1 100%; min-width: 0; }
  .site-header .header-search { width: auto !important; flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 900px) {
  .site-header .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 10px;
  }
  .site-header .public-brand { order: 0; flex: 1 1 auto; min-width: 0; }
  .site-header .mobile-menu-toggle { order: 1; width: 44px !important; height: 44px !important; }
  .site-header .header-utilities {
    display: flex !important;
    order: 2;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  .site-header .header-account-link,
  .site-header .header-utilities .account-menu { display: none; }
  .site-header .header-search { width: 100%; flex: 1 1 100%; margin: 0; }
  .site-header .header-search input { height: 44px; padding: 0 48px 0 14px; font-size: 16px; }
  .site-header .header-search button { top: 0; right: 0; width: 44px; height: 44px; }
}
