/* =========================================================
   A to Z of Malaysia — Phase 1.1.1 design system
   ========================================================= */
:root{
 --atoz-ink:#15231f;--atoz-muted:#68736f;--atoz-soft:#f5f7f4;--atoz-line:#e3e9e5;
 --atoz-green:#0f766e;--atoz-green-dark:#0b5f59;--atoz-gold:#f2b84b;--atoz-white:#fff;
 --atoz-radius:18px;--atoz-radius-lg:30px;--atoz-shadow:0 18px 50px rgba(18,35,30,.12);--atoz-content:1180px
}
html{scroll-behavior:smooth}
body.atoz-malaysia-site{color:var(--atoz-ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7;-webkit-font-smoothing:antialiased}
.atoz-malaysia-site h1,.atoz-malaysia-site h2,.atoz-malaysia-site h3,.atoz-malaysia-site h4{color:var(--atoz-ink);font-weight:780;line-height:1.08;letter-spacing:-.035em}
.atoz-malaysia-site a{transition:.2s ease}

/* Header */
.atoz-malaysia-site #main-header{background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(21,35,31,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.atoz-malaysia-site #main-header .container{width:min(92%,var(--atoz-content));max-width:var(--atoz-content)}
.atoz-malaysia-site #main-header .logo_container{height:78px}
.atoz-malaysia-site #logo{max-height:66px;max-width:190px}
.atoz-malaysia-site #et-top-navigation{padding-top:29px}
.atoz-malaysia-site #top-menu>li{padding-right:26px}
.atoz-malaysia-site #top-menu>li>a{color:var(--atoz-ink);font-size:13px;font-weight:780;letter-spacing:.015em;padding-bottom:26px}
.atoz-malaysia-site #top-menu>li>a:hover{color:var(--atoz-green);opacity:1}
.atoz-malaysia-site #top-menu .atoz-nav-cta{padding-right:0}
.atoz-malaysia-site #top-menu .atoz-nav-cta>a{background:var(--atoz-green);color:#fff!important;padding:10px 16px!important;border-radius:999px;margin-top:-10px}
.atoz-malaysia-site #top-menu .atoz-nav-cta>a:hover{background:var(--atoz-green-dark)}
.atoz-malaysia-site .mobile_menu_bar:before{color:var(--atoz-green)}
.atoz-malaysia-site .et_mobile_menu{border-top:3px solid var(--atoz-green);border-radius:0 0 18px 18px;box-shadow:var(--atoz-shadow)}

/* Homepage reset */
body.home #main-content>.container,body.home #main-content .container,.atoz-home #main-content>.container,.atoz-home #main-content .container{width:100%;max-width:none;padding-top:0}
body.home #left-area,.atoz-home #left-area{width:100%;padding:0;float:none}
body.home #sidebar,.atoz-home #sidebar{display:none}
body.home #main-content .container:before,.atoz-home #main-content .container:before{display:none}
body.home .entry-content,.atoz-home .entry-content{padding:0}
body.home article.page,.atoz-home article.page{margin-bottom:0}
body.home #main-footer,.atoz-home #main-footer{display:none!important}

/* Homepage */
.atoz-home-shell{width:min(90%,var(--atoz-content));margin:0 auto}
.atoz-home-hero{position:relative;min-height:620px;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(7,31,27,.82) 0%,rgba(7,31,27,.48) 45%,rgba(7,31,27,.08) 76%),var(--atoz-hero-image);background-size:cover;background-position:center 48%}
.atoz-hero-inner{padding:72px 0;color:#fff}
.atoz-home-hero h1{max-width:690px;margin:12px 0 18px;color:#fff;font-size:clamp(3.2rem,5.5vw,5.15rem);line-height:.98;letter-spacing:-.045em}
.atoz-home-hero p{max-width:620px;color:rgba(255,255,255,.88);font-size:clamp(1.03rem,1.45vw,1.2rem);line-height:1.62}
.atoz-kicker{display:inline-block;color:var(--atoz-green);font-size:.76rem;font-weight:850;text-transform:uppercase;letter-spacing:.14em}
.atoz-home-hero .atoz-kicker,.atoz-kicker.light{color:#b9e4d9}
.atoz-hero-actions{display:flex;align-items:center;gap:24px;margin-top:28px;flex-wrap:wrap}
.atoz-primary-btn,.atoz-light-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:999px;font-weight:800}
.atoz-primary-btn{background:#fff;color:var(--atoz-ink)!important}.atoz-primary-btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.2)}
.atoz-text-link{color:#fff!important;font-weight:750}.atoz-text-link:hover{opacity:.8}.atoz-text-link.dark{color:var(--atoz-green)!important}
.atoz-trust-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:34px;color:rgba(255,255,255,.76);font-size:.84rem;font-weight:650}

.atoz-home-section{padding:82px 0}
.atoz-heading-row{display:grid;grid-template-columns:1fr .72fr;gap:62px;align-items:end;margin-bottom:32px}
.atoz-heading-row h2,.atoz-things-heading h2,.atoz-story-panel h2,.atoz-plan-box h2{font-size:clamp(2.25rem,3.6vw,3.55rem);margin:8px 0 0}
.atoz-heading-row>p{margin:0;color:var(--atoz-muted);font-size:1rem}
.atoz-destination-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.atoz-destination-card{display:block;overflow:hidden;border:1px solid var(--atoz-line);border-radius:var(--atoz-radius);background:#fff;color:var(--atoz-ink)!important;text-decoration:none;box-shadow:0 5px 18px rgba(18,35,30,.04)}
.atoz-destination-card:hover{transform:translateY(-5px);box-shadow:var(--atoz-shadow)}
.atoz-card-image{position:relative;overflow:hidden}
.atoz-card-image img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .35s ease}
.atoz-destination-card:hover .atoz-card-image img{transform:scale(1.035)}
.atoz-card-image>span{position:absolute;left:16px;top:16px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--atoz-ink);font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.atoz-card-copy{padding:22px 23px 24px}.atoz-card-copy>span{color:var(--atoz-green);font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.atoz-card-copy h3{font-size:1.55rem;margin:5px 0 8px}.atoz-card-copy p{color:var(--atoz-muted);line-height:1.55;margin-bottom:14px;font-size:.95rem}.atoz-card-copy strong{color:var(--atoz-green);font-size:.88rem}
.atoz-coming-card{background:#f7f8f5}

/* Things to do — deliberately high specificity to beat legacy Divi content styles */
body.home #things-to-do.atoz-soft-section,.atoz-home #things-to-do.atoz-soft-section{background:var(--atoz-soft)!important}
body.home #things-to-do .atoz-things-heading,.atoz-home #things-to-do .atoz-things-heading{max-width:720px;margin:0 0 34px}
body.home #things-to-do .atoz-things-heading p,.atoz-home #things-to-do .atoz-things-heading p{max-width:620px;color:var(--atoz-muted);font-size:1.04rem;margin-top:14px}
body.home #things-to-do .atoz-experience-grid,.atoz-home #things-to-do .atoz-experience-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important}
body.home #things-to-do a.atoz-experience-card,.atoz-home #things-to-do a.atoz-experience-card{position:relative!important;display:flex!important;min-height:305px!important;flex-direction:column!important;padding:26px!important;border:1px solid var(--atoz-line)!important;border-radius:22px!important;background:#fff!important;color:var(--atoz-ink)!important;text-decoration:none!important;box-sizing:border-box!important}
body.home #things-to-do a.atoz-experience-card:hover,.atoz-home #things-to-do a.atoz-experience-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(18,35,30,.09)}
body.home #things-to-do .atoz-exp-no,.atoz-home #things-to-do .atoz-exp-no{position:absolute;right:22px;top:22px;color:#9aa6a0;font-size:.72rem;font-weight:850}
body.home #things-to-do .atoz-exp-icon,.atoz-home #things-to-do .atoz-exp-icon{display:flex!important;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:#e9f5f2;color:var(--atoz-green);font-size:1.45rem;font-weight:900;margin-bottom:48px}
body.home #things-to-do .atoz-experience-card h3,.atoz-home #things-to-do .atoz-experience-card h3{font-size:1.45rem;margin:0 0 10px;color:var(--atoz-ink)!important}
body.home #things-to-do .atoz-experience-card p,.atoz-home #things-to-do .atoz-experience-card p{color:var(--atoz-muted)!important;line-height:1.55;font-size:.94rem;margin-bottom:22px}
body.home #things-to-do .atoz-experience-card strong,.atoz-home #things-to-do .atoz-experience-card strong{margin-top:auto;color:var(--atoz-green)!important;font-size:.88rem}
body.home #things-to-do a.atoz-exp-dark,.atoz-home #things-to-do a.atoz-exp-dark{background:#173b35!important;border-color:#173b35!important}
body.home #things-to-do .atoz-exp-dark h3,.atoz-home #things-to-do .atoz-exp-dark h3,body.home #things-to-do .atoz-exp-dark strong,.atoz-home #things-to-do .atoz-exp-dark strong{color:#fff!important}
body.home #things-to-do .atoz-exp-dark p,.atoz-home #things-to-do .atoz-exp-dark p{color:rgba(255,255,255,.72)!important}
body.home #things-to-do .atoz-exp-dark .atoz-exp-no,.atoz-home #things-to-do .atoz-exp-dark .atoz-exp-no{color:rgba(255,255,255,.48)}
body.home #things-to-do .atoz-exp-dark .atoz-exp-icon,.atoz-home #things-to-do .atoz-exp-dark .atoz-exp-icon{background:rgba(255,255,255,.12);color:#fff}

.atoz-story-section{padding-top:76px;padding-bottom:64px}
.atoz-story-panel{display:grid;grid-template-columns:230px 1fr;gap:56px;align-items:center;padding:48px;border:1px solid var(--atoz-line);border-radius:var(--atoz-radius-lg)}
.atoz-story-mark{display:flex;align-items:center;justify-content:center;min-height:185px;border-radius:22px;background:var(--atoz-green);color:#fff;font-size:3.8rem;font-weight:900;letter-spacing:-.08em}
.atoz-story-panel p{color:var(--atoz-muted);font-size:1.02rem;margin:15px 0}

.atoz-plan-section{padding-top:0;padding-bottom:70px}
.atoz-plan-box{display:grid;grid-template-columns:1fr auto;gap:44px;align-items:center;padding:48px 54px;border-radius:var(--atoz-radius-lg);background:#102f2a;color:#fff}
.atoz-plan-box h2{color:#fff;max-width:700px}.atoz-plan-box p{max-width:720px;color:rgba(255,255,255,.72);font-size:1rem}.atoz-light-btn{background:#fff;color:#15332d!important;white-space:nowrap}.atoz-light-btn:hover{transform:translateY(-2px)}

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

/* General Divi/article improvements */
.atoz-malaysia-site:not(.atoz-home) .et_pb_section{padding-top:clamp(60px,7vw,96px);padding-bottom:clamp(60px,7vw,96px)}
.atoz-malaysia-site:not(.atoz-home) .et_pb_row{width:min(90%,var(--atoz-content));max-width:var(--atoz-content)}
.atoz-malaysia-site .et_pb_button{border:0!important;border-radius:999px!important;background:var(--atoz-green)!important;color:#fff!important;font-weight:800!important;padding:12px 22px!important}
.atoz-malaysia-site .et_pb_button:hover{background:var(--atoz-green-dark)!important}

/* Legacy footer on internal pages */
.atoz-malaysia-site #main-footer{background:#12231f}.atoz-malaysia-site #footer-bottom{background:#0b1714}.atoz-malaysia-site #footer-info,.atoz-malaysia-site #footer-info a{color:rgba(255,255,255,.74)}
body.home #main-footer{display:none!important}

@media(max-width:980px){
 .atoz-malaysia-site #main-header .logo_container{height:70px}.atoz-malaysia-site #logo{max-height:58px}.atoz-malaysia-site #et-top-navigation{padding-top:24px}
 .atoz-home-hero{min-height:560px;background-position:center}.atoz-heading-row,.atoz-plan-box{grid-template-columns:1fr;gap:26px}.atoz-destination-grid{grid-template-columns:1fr 1fr}.atoz-story-panel{grid-template-columns:1fr;padding:36px}.atoz-story-mark{min-height:145px}.atoz-plan-box{padding:40px}.atoz-malaysia-site #top-menu .atoz-nav-cta>a{margin-top:0}
 body.home #things-to-do .atoz-experience-grid,.atoz-home #things-to-do .atoz-experience-grid{grid-template-columns:1fr 1fr!important}
 body.home .atoz-footer-main,.atoz-home .atoz-footer-main{grid-template-columns:1fr 1fr!important;gap:34px!important}.atoz-footer-brand{grid-column:1/-1}
}
@media(max-width:767px){
 .atoz-home-shell{width:88%}.atoz-home-hero{min-height:540px;background-image:linear-gradient(90deg,rgba(7,31,27,.86),rgba(7,31,27,.64)),var(--atoz-hero-image)}.atoz-hero-inner{padding:58px 0}.atoz-home-hero h1{font-size:clamp(2.9rem,13vw,4.1rem)}.atoz-home-section{padding:60px 0}.atoz-destination-grid{grid-template-columns:1fr}.atoz-heading-row h2,.atoz-things-heading h2,.atoz-story-panel h2,.atoz-plan-box h2{font-size:2.25rem}.atoz-card-image img{height:215px}.atoz-story-panel{padding:26px}.atoz-story-mark{font-size:3.2rem}.atoz-plan-box{padding:32px 26px}.atoz-trust-row{gap:10px 16px}
 body.home #things-to-do .atoz-experience-grid,.atoz-home #things-to-do .atoz-experience-grid{grid-template-columns:1fr!important}
 body.home #things-to-do a.atoz-experience-card,.atoz-home #things-to-do a.atoz-experience-card{min-height:270px!important}.atoz-exp-icon{margin-bottom:34px}
 body.home footer.atoz-home-footer,.atoz-home footer.atoz-home-footer{padding-top:40px!important}.atoz-footer-brand{grid-column:auto}body.home .atoz-footer-main,.atoz-home .atoz-footer-main{grid-template-columns:1fr!important;gap:28px!important}body.home .atoz-footer-bottom,.atoz-home .atoz-footer-bottom{flex-direction:column!important;gap:6px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.atoz-malaysia-site *{transition:none!important}}
