/* =========================================================
   A to Z of Malaysia — Phase 2 destinations hub
   ========================================================= */
body.atoz-destinations-page #main-footer{display:none!important}
body.atoz-destinations-page #main-content{padding:0;background:#fff}
.atoz-dest-shell{width:min(90%,1180px);margin:0 auto}

.atoz-destinations-hero{min-height:470px;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(7,31,27,.86) 0%,rgba(7,31,27,.58) 48%,rgba(7,31,27,.16) 76%),var(--atoz-destinations-image);background-size:cover;background-position:center 46%;color:#fff}
.atoz-dest-hero-inner{padding:70px 0}
.atoz-breadcrumbs{display:flex;align-items:center;gap:10px;margin-bottom:34px;color:rgba(255,255,255,.66);font-size:.78rem}.atoz-breadcrumbs a{color:rgba(255,255,255,.8)}.atoz-breadcrumbs strong{color:#fff}
.atoz-destinations-hero .atoz-kicker{color:#b9e4d9}
.atoz-destinations-hero h1{max-width:720px;margin:10px 0 18px;color:#fff;font-size:clamp(3.2rem,5.8vw,5.5rem);line-height:.98;letter-spacing:-.05em}
.atoz-destinations-hero p{max-width:660px;margin:0;color:rgba(255,255,255,.84);font-size:1.14rem;line-height:1.65}
.atoz-dest-hero-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.atoz-dest-hero-meta span{padding:8px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.84);font-size:.76rem;font-weight:700}

.atoz-dest-section{padding:82px 0}
.atoz-dest-section-head{display:grid;grid-template-columns:1fr .72fr;gap:60px;align-items:end;margin-bottom:34px}.atoz-dest-section-head.compact{margin-bottom:28px}.atoz-dest-section-head h2,.atoz-dest-how-grid h2,.atoz-dest-cta h2{margin:7px 0 0;font-size:clamp(2.25rem,3.7vw,3.7rem);line-height:1.05;letter-spacing:-.04em}.atoz-dest-section-head>p{margin:0;color:#68736f;font-size:1rem}

.atoz-dest-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.atoz-dest-feature-card{display:grid;grid-template-columns:48% 52%;overflow:hidden;border:1px solid #e3e9e5;border-radius:22px;background:#fff;color:#15231f!important;text-decoration:none;box-shadow:0 6px 18px rgba(18,35,30,.04)}.atoz-dest-feature-card:hover{transform:translateY(-4px);box-shadow:0 18px 48px rgba(18,35,30,.1)}
.atoz-dest-feature-image{position:relative;min-height:300px;overflow:hidden}.atoz-dest-feature-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.atoz-dest-feature-card:hover img{transform:scale(1.03)}.atoz-dest-feature-image span{position:absolute;top:16px;left:16px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.94);font-size:.67rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.atoz-dest-feature-copy{display:flex;flex-direction:column;justify-content:center;padding:34px}.atoz-dest-feature-copy small{color:#0f766e;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.atoz-dest-feature-copy h3{margin:5px 0 12px;font-size:2rem}.atoz-dest-feature-copy p{color:#68736f;line-height:1.6}.atoz-dest-feature-copy strong{margin-top:18px;color:#0f766e;font-size:.9rem}

.atoz-dest-regions-section{background:#f5f7f4}
.atoz-region-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.atoz-region-card{position:relative;min-height:270px;padding:28px;border:1px solid #dfe6e1;border-radius:20px;background:#fff}.atoz-region-card.is-active{background:#143a34;color:#fff;border-color:#143a34}.atoz-region-no{position:absolute;right:24px;top:22px;color:#9aa6a0;font-size:.72rem;font-weight:850}.atoz-region-card.is-active .atoz-region-no{color:rgba(255,255,255,.42)}.atoz-region-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#edf6f3;color:#0f766e;font-size:.66rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.atoz-region-card.is-active .atoz-region-status{background:rgba(255,255,255,.12);color:#d8f1eb}.atoz-region-card h3{margin:30px 0 6px;font-size:2rem}.atoz-region-card.is-active h3{color:#fff}.atoz-region-card p{margin:0;color:#68736f;font-size:.98rem}.atoz-region-card.is-active p{color:rgba(255,255,255,.72)}.atoz-region-card small{display:block;margin-top:28px;color:#8a9691;line-height:1.5}.atoz-region-links{display:flex;flex-direction:column;gap:8px;margin-top:26px}.atoz-region-links a{color:#fff!important;font-weight:750;font-size:.9rem}.atoz-region-links a:hover{opacity:.8}

.atoz-dest-how-section{padding-top:76px;padding-bottom:76px}
.atoz-dest-how-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:start}.atoz-dest-principles{display:grid;gap:0;border-top:1px solid #e3e9e5}.atoz-dest-principles>div{display:grid;grid-template-columns:48px 140px 1fr;gap:16px;align-items:start;padding:22px 0;border-bottom:1px solid #e3e9e5}.atoz-dest-principles b{color:#0f766e;font-size:.74rem}.atoz-dest-principles strong{font-size:1rem}.atoz-dest-principles p{margin:0;color:#68736f;line-height:1.55;font-size:.94rem}

.atoz-dest-cta-section{padding:0 0 72px}.atoz-dest-cta{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;padding:48px 54px;border-radius:30px;background:#102f2a;color:#fff}.atoz-dest-cta h2{max-width:700px;color:#fff}.atoz-dest-cta p{max-width:650px;margin:12px 0 0;color:rgba(255,255,255,.68)}

.atoz-dest-footer{background:#10201c;color:#fff;padding:48px 0 20px}.atoz-dest-footer .atoz-footer-main{display:grid;grid-template-columns:1.35fr .8fr .6fr;gap:70px;padding-bottom:32px}.atoz-dest-footer .atoz-footer-brand strong{color:#fff;font-size:1.25rem}.atoz-dest-footer .atoz-footer-brand p{max-width:390px;margin:10px 0 0;color:rgba(255,255,255,.62);font-size:.93rem}.atoz-dest-footer nav{display:flex;flex-direction:column;gap:10px}.atoz-dest-footer nav a{color:rgba(255,255,255,.72)!important;font-size:.9rem}.atoz-dest-footer .atoz-footer-bottom{display:flex;justify-content:space-between;gap:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.48);font-size:.78rem}

@media(max-width:980px){.atoz-dest-section-head,.atoz-dest-how-grid,.atoz-dest-cta{grid-template-columns:1fr;gap:26px}.atoz-dest-feature-grid{grid-template-columns:1fr}.atoz-region-grid{grid-template-columns:1fr 1fr}.atoz-dest-footer .atoz-footer-main{grid-template-columns:1fr 1fr;gap:34px}.atoz-dest-footer .atoz-footer-brand{grid-column:1/-1}}

/* Phase 2.4 — mobile-first destinations polish */
@media(max-width:767px){
  body.atoz-destinations-page{overflow-x:hidden}
  body.atoz-destinations-page .atoz-dest-shell{width:91%;max-width:560px}

  .atoz-destinations-hero{min-height:390px;align-items:flex-end;background-position:57% center;background-image:linear-gradient(90deg,rgba(7,31,27,.9),rgba(7,31,27,.72) 72%,rgba(7,31,27,.44)),var(--atoz-destinations-image)}
  .atoz-dest-hero-inner{padding:36px 0 34px}
  .atoz-breadcrumbs{margin-bottom:20px;font-size:.7rem;gap:7px}
  .atoz-destinations-hero h1{max-width:94%;margin:7px 0 14px;font-size:clamp(2.45rem,11vw,3.25rem);line-height:.96}
  .atoz-destinations-hero p{max-width:96%;font-size:.98rem;line-height:1.55}
  .atoz-dest-hero-meta{gap:7px;margin-top:18px}
  .atoz-dest-hero-meta span{padding:6px 9px;font-size:.66rem}

  .atoz-dest-section{padding:50px 0}
  .atoz-dest-section-head{grid-template-columns:1fr;gap:14px;margin-bottom:24px}
  .atoz-dest-section-head.compact{margin-bottom:22px}
  .atoz-dest-section-head h2,.atoz-dest-how-grid h2,.atoz-dest-cta h2{font-size:clamp(1.95rem,8.6vw,2.55rem);line-height:1.02}
  .atoz-dest-section-head>p{font-size:.94rem;line-height:1.55}

  .atoz-dest-feature-grid{grid-template-columns:1fr;gap:16px}
  .atoz-dest-feature-card{grid-template-columns:1fr;border-radius:18px;box-shadow:0 4px 14px rgba(18,35,30,.035)}
  .atoz-dest-feature-image{min-height:205px;aspect-ratio:16/10}
  .atoz-dest-feature-image span{top:12px;left:12px;padding:6px 9px;font-size:.62rem}
  .atoz-dest-feature-copy{padding:22px 20px 24px}
  .atoz-dest-feature-copy h3{margin:4px 0 9px;font-size:1.65rem;line-height:1.05}
  .atoz-dest-feature-copy p{margin:0;font-size:.91rem;line-height:1.55}
  .atoz-dest-feature-copy strong{margin-top:14px;font-size:.84rem}

  .atoz-dest-regions-section{padding-top:50px;padding-bottom:50px}
  .atoz-region-grid{grid-template-columns:1fr;gap:12px}
  .atoz-region-card{min-height:0;padding:21px 20px;border-radius:17px}
  .atoz-region-no{right:18px;top:18px;font-size:.65rem}
  .atoz-region-status{padding:5px 8px;font-size:.59rem}
  .atoz-region-card h3{margin:18px 0 5px;font-size:1.55rem;line-height:1.05}
  .atoz-region-card p{font-size:.88rem;line-height:1.5}
  .atoz-region-card small{margin-top:16px;font-size:.8rem;line-height:1.45}
  .atoz-region-links{margin-top:16px;gap:6px}
  .atoz-region-links a{font-size:.84rem}

  .atoz-dest-how-section{padding:50px 0}
  .atoz-dest-how-grid{grid-template-columns:1fr;gap:24px}
  .atoz-dest-principles>div{grid-template-columns:32px 1fr;padding:17px 0;gap:10px 12px}
  .atoz-dest-principles b{font-size:.66rem;padding-top:2px}
  .atoz-dest-principles strong{font-size:.95rem;line-height:1.3}
  .atoz-dest-principles p{grid-column:2;font-size:.84rem;line-height:1.5}

  .atoz-dest-cta-section{padding:0 0 48px}
  .atoz-dest-cta{grid-template-columns:1fr;gap:18px;padding:28px 22px;border-radius:20px}
  .atoz-dest-cta p{font-size:.9rem;line-height:1.5}
  .atoz-dest-cta .atoz-light-btn{display:flex;width:100%;justify-content:center;text-align:center;min-height:48px;align-items:center}

  .atoz-dest-footer{padding:36px 0 18px}
  .atoz-dest-footer .atoz-footer-main{grid-template-columns:1fr 1fr;gap:22px 18px;padding-bottom:24px}
  .atoz-dest-footer .atoz-footer-brand{grid-column:1/-1}
  .atoz-dest-footer .atoz-footer-brand strong{font-size:1.08rem}
  .atoz-dest-footer .atoz-footer-brand p{font-size:.86rem;line-height:1.5}
  .atoz-dest-footer nav{gap:8px}
  .atoz-dest-footer nav a{font-size:.82rem}
  .atoz-dest-footer .atoz-footer-bottom{flex-direction:column;gap:5px;padding-top:16px;font-size:.68rem}
}

@media(max-width:380px){
  .atoz-dest-footer .atoz-footer-main{grid-template-columns:1fr}
  .atoz-dest-footer .atoz-footer-brand{grid-column:auto}
  .atoz-destinations-hero h1{font-size:2.35rem}
  .atoz-dest-feature-image{min-height:190px}
}
