/* Approved homepage skin. All portrait images are the original photograph. */
.home-page{--ink:#142c38;--brown:#d92d35;--brick:#d92d35;--paper:#fffdfc;--white:#fffdfc;--muted:#637583;--line:#eee2de;--shadow:0 12px 32px rgba(20,44,56,.06);background:#fffdfc;color:var(--ink)}
.home-page .site-header{background:rgba(255,253,252,.97);border-bottom-color:#f2eeeb;box-shadow:none}
.home-page .brand-copy,.home-page .brand-copy small{color:#142c38!important}
.home-page .main-nav a{color:#142c38}.home-page .main-nav a[aria-current=page]{color:#d92d35}
.home-page .search-link{background:#f5f6f7;border-color:#eceff1;color:#82909a}
.home-page .hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);align-items:center;gap:32px;padding:28px 46px;margin-top:22px;border-radius:20px;background:linear-gradient(115deg,#12313d 0%,#1a3944 56%,#702a35 100%);box-shadow:none}
.home-page .hero-content{position:relative;z-index:1;min-width:0}
.home-page .eyebrow{font-size:.78rem;letter-spacing:0;text-transform:none;color:#f7797d}
.home-page .hero h1{font-size:clamp(2.8rem,4.6vw,4.1rem);line-height:1.07;letter-spacing:-.045em;margin:22px 0 20px}
.home-page .hero h1 em{white-space:normal;color:#f2555d}
.home-page .hero-copy{font-size:1rem;line-height:1.65;color:#e5eef0;max-width:530px}
.home-page .proof{display:grid;grid-template-columns:.85fr .85fr 1.25fr;gap:14px;border:0;margin-top:28px;padding:0;font-size:.75rem;color:#d4e0e4}
.home-page .proof span{line-height:1.55;padding-left:12px;border-left:2px solid #f2555d}
.home-page .proof b{font-size:.82rem}
.home-page .hero-portrait{margin:0;position:relative;z-index:1;border-radius:18px;overflow:hidden;align-self:stretch;min-height:420px;background:#dae1e1}
.home-page .hero-portrait img{display:block;width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 28%}
.home-page section:not(.hero){padding-top:58px}
.home-page .community-section{padding-top:18px!important}
/* Preserve the existing Zalo cards and their cream/red treatment. */
.home-page .community-card{background:linear-gradient(145deg,#fffdf9,#f5eee7);border-color:#ead7d8;gap:12px;padding:14px;min-height:78px}
.home-page .community-card p{color:#806f67;font-size:.74rem}
.home-page .community-card h3{font-size:.92rem}
.home-page .community-status{align-self:start;padding-top:2px}
.home-page .section-head{display:block;margin-bottom:24px}
.home-page .section-head h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15;letter-spacing:-.04em}
.home-page .section-head>div{display:flex;align-items:center;justify-content:space-between;gap:18px}
.home-page .section-head p{max-width:960px;margin-top:12px;line-height:1.6}
.home-page .section-link{font-size:.88rem;color:#d92d35;margin-top:0}
.home-page .path{display:flex;align-items:center;gap:18px;padding:26px 22px;background:#fcf1ef;border:1px solid #fae6e4;border-radius:18px;box-shadow:none;min-width:0}
.home-page .path:nth-child(2){background:#f7f3ee;border-color:#f0e8e0}
.home-page .path strong{font-size:1.08rem;line-height:1.4;margin:0 0 6px}
.home-page .path div>span{font-size:.9rem;line-height:1.55;display:block}
.home-page .path .path-icon{flex:0 0 58px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f2555d,#d51927);color:white;font-size:2rem}
.home-page .path .path-arrow{margin-left:auto;flex:0 0 30px;width:30px;height:30px;background:#fff;border-radius:50%;display:grid;place-items:center;color:#d92d35}
.home-page .card{padding:12px 12px 22px;border:1px solid #f0e8e4;border-radius:18px;box-shadow:none;overflow:hidden}
.home-page .card>*:not(.resource-thumbnail){margin-left:8px;margin-right:8px}
.home-page .resource-thumbnail{width:100%;height:auto;aspect-ratio:1.79;object-fit:cover;display:block;border-radius:12px;margin-bottom:16px}
.home-page .card h3{font-size:1.1rem;line-height:1.4;margin-top:14px;margin-bottom:10px}
.home-page .card p{font-size:.9rem;line-height:1.65}
.home-page .card-meta{font-size:.7rem;letter-spacing:0;text-transform:none;gap:10px;color:#6d7b84}
.home-page .card-link{color:#d92d35;font-size:.88rem}
.home-page .card-muted{opacity:1;background:#f8f4ef;padding-top:20px}
.home-page .card-muted .card-meta span{background:#ffe3e2;color:#bd2630;border-radius:99px;padding:3px 10px}
.home-page .card-muted .card-link{color:#6b7983;font-size:.8rem}
.home-page .resource-placeholder{height:115px;display:grid;place-items:center;font-size:3.1rem;color:#ad9883}
.home-page .empty-state{padding:44px 30px;border:1px solid #eee8e5;background:#fcfbfa;border-radius:16px;font-size:.93rem}
.home-page .about{grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr);gap:34px;align-items:center}
.home-page .portrait{min-height:0;height:300px;border-radius:16px;box-shadow:none}
.home-page .portrait img{height:100%;min-height:0;object-position:center 28%}
.home-page .about-copy{border:0;background:none;padding:0;min-width:0}
.home-page .about-copy h2{font-size:clamp(1.55rem,2.5vw,2rem);line-height:1.22;margin-bottom:14px}
.home-page .about-copy p{font-size:.93rem;line-height:1.7;margin:0}
.home-page .principles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}
.home-page .principle{padding:0 0 0 10px;border-left:2px solid #f2555d;background:none;border-radius:0;font-size:.75rem;font-weight:600}
.home-page .principle small{font-size:.75rem;color:#142c38;letter-spacing:0;text-transform:none;font-weight:800}
.home-page .join{background:linear-gradient(115deg,#12313d,#1a3944 56%,#702a35);border:0;padding:32px 38px!important;border-radius:16px;gap:24px;color:white;margin:58px 0 24px}
.home-page .join h2{font-size:2rem;line-height:1.2;letter-spacing:-.035em}
.home-page .join p{color:#e2eaee;max-width:710px;font-size:.9rem}
.home-page .join .btn{background:linear-gradient(110deg,#e12c36,#f2555d);color:white;font-size:.85rem;min-height:44px;white-space:nowrap;font-weight:750}
.home-page .social-links{display:flex;justify-content:center;gap:12px;margin-top:14px}
.home-page .social-links a{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ffffff20;color:#fff;text-decoration:none;font-size:1.15rem;font-weight:800}
.home-page .social-links a:last-child{font-size:.65rem}
.home-page .site-footer{background:#fffdfc;margin-top:30px}
.home-page .footer-inner{display:flex;align-items:center;gap:28px;font-size:.8rem}
.home-page .footer-brand,.home-page .footer-note{font-size:.72rem}
.home-page .footer-links{margin-left:auto;gap:14px}.home-page .footer-links a{font-size:.73rem}
.home-page :is(a,button):focus-visible{outline:3px solid #35b8b0;outline-offset:4px}
@media(max-width:1100px){.home-page .main-nav{gap:16px}.home-page .header-actions{min-width:auto}.home-page .search-link{width:44px;justify-content:center;padding:0}.home-page .search-label{display:none}.home-page .hero{padding:28px;gap:24px}.home-page .community-card{gap:9px;padding:12px}.home-page .community-card h3{font-size:.82rem}.home-page .community-card p{white-space:normal}.home-page .community-status{font-size:.6rem}}
@media(max-width:900px){.home-page .hero{grid-template-columns:1.1fr .9fr}.home-page .hero h1{font-size:2.8rem}.home-page .hero-portrait{min-height:360px}.home-page .proof{grid-template-columns:1fr;gap:8px}.home-page .proof span{display:block}.home-page .proof b{margin-right:5px}.home-page .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-page .path{padding:20px 16px;gap:12px}.home-page .path .path-icon{flex-basis:42px;width:42px;height:42px;font-size:1.5rem}.home-page .about{grid-template-columns:.7fr 1.3fr;gap:24px}.home-page .principles{grid-template-columns:1fr 1fr}.home-page .join{grid-template-columns:1fr}.home-page .join-actions{justify-self:start}.home-page .social-links{justify-content:flex-start}.home-page .footer-inner{flex-wrap:wrap}.home-page .footer-links{margin-left:0}}
@media(max-width:700px){.home-page .hero{grid-template-columns:1fr;padding:30px 24px;gap:24px;border-radius:18px}.home-page .hero h1{font-size:clamp(2.7rem,10vw,3.5rem)}.home-page .hero-copy{font-size:.95rem}.home-page .hero-portrait{width:100%;min-height:0;max-height:440px}.home-page .hero-portrait img{height:auto;aspect-ratio:1.1;object-position:center 25%}.home-page .proof{grid-template-columns:1fr 1fr 1.3fr;gap:8px;margin-top:22px}.home-page .proof span{display:grid;font-size:.66rem;padding-left:7px}.home-page .proof b{font-size:.72rem;margin:0}.home-page .community-grid,.home-page .path-grid,.home-page .grid{grid-template-columns:1fr}.home-page .community-card{min-height:76px;gap:14px;padding:14px}.home-page .community-card h3{font-size:1rem}.home-page .community-card p{font-size:.78rem}.home-page .community-status{font-size:.68rem;width:auto;height:auto}.home-page .community-status:after{display:none}.home-page section:not(.hero){padding-top:44px}.home-page .section-head>div{align-items:flex-start;flex-direction:column;gap:12px}.home-page .section-head h2{font-size:1.85rem}.home-page .section-head p{font-size:.93rem}.home-page .path{padding:22px 18px}.home-page .resource-thumbnail{aspect-ratio:1.79}.home-page .card{padding:14px 14px 24px}.home-page .card h3{font-size:1.22rem}.home-page .resource-placeholder{height:90px}.home-page .about{grid-template-columns:1fr}.home-page .portrait{height:350px;max-width:360px;width:100%}.home-page .principles{gap:18px}.home-page .join{padding:28px 24px!important;margin-top:44px}.home-page .join h2{font-size:1.8rem}.home-page .join-actions{width:100%}.home-page .join .btn{white-space:normal}.home-page .social-links{justify-content:center}.home-page .footer-inner{align-items:flex-start;flex-direction:column;gap:18px}.home-page .footer-links{justify-content:flex-start}.home-page .footer-logo{margin:0}}

.home-page .social-links img{display:block;width:22px;height:22px;object-fit:contain}.home-page .social-links a:last-child img{width:28px;height:28px}

.home-page .community-grid { grid-template-columns: minmax(0, 1fr); }
.home-page .community-cta {
  gap: clamp(12px, 2.5vw, 24px);
  padding: clamp(16px, 2.8vw, 28px);
  min-height: 88px;
  border: 1px solid #e6bcb9;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf9 35%, #f9e9e2);
  text-decoration: none;
}
.home-page .community-cta .zalo-badge {
  width: clamp(44px, 6vw, 64px);
  height: clamp(44px, 6vw, 64px);
  border-radius: 11px;
  font-size: clamp(.85rem, 1.6vw, 1.1rem);
}
.home-page .community-cta h3 {
  font-size: clamp(1.12rem, 2.4vw, 1.6rem);
  line-height: 1.18;
  text-wrap: balance;
}
.home-page .community-cta p {
  color: #715d57;
  font-size: clamp(.82rem, 1.4vw, .95rem);
  line-height: 1.4;
  white-space: normal;
}
.home-page .community-cta .community-status {
  position: relative;
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-height: 46px;
  padding: 9px 18px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(115deg, #ba1420, #94101a);
  box-shadow: 0 4px 12px #a410253b;
  font-size: .9rem;
  font-weight: 800;
  animation: home-zalo-pulse 3.2s ease-in-out infinite;
}
.home-page .community-cta .community-status::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #cc2531;
  border-radius: inherit;
  box-shadow: 0 0 9px #dc3c475c;
  pointer-events: none;
  animation: home-zalo-glow 3.2s ease-out infinite;
}
@media (hover: hover) {
  .home-page .community-cta:hover .community-status { background: #8f0f18; }
}
@keyframes home-zalo-pulse {
  0%, 44%, 100% { transform: scale(1); }
  17% { transform: scale(1.025); }
}
@keyframes home-zalo-glow {
  0% { opacity: 0; }
  9% { opacity: .75; }
  47%, 100% { inset: -7px; opacity: 0; }
}
@media (max-width: 560px) {
  .home-page .community-cta {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }
  .home-page .community-cta h3 { text-wrap: wrap; }
  .home-page .community-cta .community-status { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .community-cta .community-status,
  .home-page .community-cta .community-status::after { animation: none; }
  .home-page .community-cta .community-status::after { opacity: 0; }
}
