/* EAP Malaysia: Divi "Meetup" layout pack, rebuilt.
   Roboto 300 headings, Open Sans body #666, cyan #06c8ff and purple gradient (#d883f8 -> #352dbe) pill buttons with
   3px letter-spacing, dotted backgrounds, decorative gradient squares behind photos and the map. */

body { font-family: "Open Sans", Arial, sans-serif; color: #666; line-height: 1.8; }
h1, h2, h3, h4 { font-family: "Roboto", sans-serif; color: #333; font-weight: 300; }
.ea-wrap { width: min(1080px, 80%); margin-inline: auto; position: relative; }
.ea-center { text-align: center; }
.ea-h2 { font: 300 clamp(30px, 3.6vw, 50px)/1.2 "Roboto", sans-serif; color: #333; margin: 0 0 .5em; }
.ea-lead { font-size: 20px; line-height: 1.9; }
.ea-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5%; align-items: center; }

/* ---------- header: Divi default (white, long menu that collapses below 1280px) */
.site-header.header-light { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); backdrop-filter: none; }
.site-header .header-inner { min-height: 90px; width: min(1880px, 96%); }
.brand img { height: 74px; max-width: 380px; }
.site-nav > ul { gap: 0 18px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font: 400 13px/1.5 "Open Sans", sans-serif; }
.header-light .site-nav > ul > li > a { color: rgba(0, 0, 0, .6); border-bottom: 0; }
.header-light .site-nav > ul > li > a:hover { color: rgba(0, 0, 0, .85); }
.header-light .site-nav a[aria-current="page"] { color: #2ea3f2; }
@media (max-width: 1280px) {
  html { --header-h: 80px; }
  .header-inner { min-height: 80px; }
  .brand img { height: 46px; }
  .nav-toggle { display: grid; color: #333; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch;
    background: #fff; border-top: 3px solid #2ea3f2; padding: 8px 20px 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(0, 0, 0, .03) !important; font-size: 15px; }
}

/* ---------- pill buttons */
.btn.ea-pill { border: 10px solid transparent; background-clip: padding-box; border-radius: 100px; min-height: 0; padding: 8px 22px; font: 700 14px/1.6 "Roboto", sans-serif;
  letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.btn.ea-pill.is-cyan { background-color: #06c8ff; }
.btn.ea-pill.is-cyan:hover { background-color: #04aee0; color: #fff; }
.btn.ea-pill.is-purple { background-image: linear-gradient(90deg, #d883f8, #352dbe); }
.btn.ea-pill.is-purple:hover { filter: brightness(1.08); color: #fff; }
.ea-btns { display: flex; flex-wrap: wrap; gap: 0 6px; margin-left: -10px; }
.ea-outline { display: inline-block; border: 2px solid #2ea3f2; color: #2ea3f2; padding: 4px 14px; font-size: 15px; text-transform: uppercase; text-decoration: none; border-radius: 3px; }
.ea-outline:hover { background: rgba(0, 0, 0, .05); }

/* ---------- home hero: poster slider in a white column, photo with dots on the right */
.ea-hero { position: relative; overflow: hidden; }
.ea-hero-bg { position: absolute; inset: 0; }
.ea-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ea-hero-grid { position: relative; display: grid; grid-template-columns: 2fr 3fr; min-height: 560px; }
.ea-hero-side { background: #fff; padding: 30px 7%; display: flex; align-items: center; }
.ea-hero-dots { background: url(/assets/img/dots-3.png) center / cover; }
.ea-posters { position: relative; width: 100%; aspect-ratio: 1 / 1.414; }
.ea-poster { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.ea-poster.is-active { opacity: 1; }
.ea-poster img { width: 100%; height: 100%; object-fit: contain; }
.ea-dots { position: absolute; left: 0; right: 0; bottom: -22px; display: flex; justify-content: center; gap: 8px; }
.ea-dots button { width: 8px; height: 8px; border: 0; padding: 0; border-radius: 50%; background: #ccc; cursor: pointer; }
.ea-dots button[aria-current="true"] { background: #333; }

/* ---------- inner page header (Divi full-width header) */
.ea-head { position: relative; overflow: hidden; padding: 8vw 0; text-align: center; }
.ea-head-bg { position: absolute; inset: 0; }
.ea-head-bg img { width: 100%; height: 100%; object-fit: cover; }
.ea-head::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6) url(/assets/img/dots-3.png) center / cover; }
.ea-head-in { position: relative; z-index: 1; width: min(700px, 90%); margin: 0 auto; }
.ea-head h1 { font: 300 clamp(36px, 4.5vw, 60px)/1.4 "Roboto", sans-serif; color: #333; margin: 0; }

/* ---------- bands */
.ea-band { padding: clamp(50px, 6vw, 90px) 0; background: #fff; }
.ea-dotbg { background: #fff url(/assets/img/bg-4.png) left top / auto no-repeat; }
.ea-prose { max-width: 860px; }
.ea-prose h3 { font: 400 22px/1.4 "Roboto", sans-serif; margin: 1.4em 0 .4em; }
.ea-prose h3.ea-steps { font-size: 28px; margin-top: 1.8em; }
.ea-prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.ea-list li { margin-bottom: .6em; text-align: justify; }
.ea-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ea-table th, .ea-table td { border: 1px solid #ccc; padding: 12px 16px; text-align: left; }
.ea-table th { font-weight: 700; color: #333; }

/* location */
.ea-loc { background: #fff url(/assets/img/bg-4.png) left bottom / auto no-repeat; padding: clamp(50px, 6vw, 90px) 0; }
.ea-deco-frame { background: url(/assets/img/column-background-03-1.png) center / 100% 100% no-repeat; padding: 50px; }
.ea-deco-frame iframe { display: block; width: 100%; height: 450px; border: 0; }

/* subscribe band */
.ea-sub { background: url(/assets/img/dots-2.png) center / cover, linear-gradient(90deg, #d883f8, #352dbe); padding: 100px 0; color: #fff; }
.ea-sub-in { width: min(600px, 86%); margin: 0 auto; text-align: center; }
.ea-sub h2 { font: 300 clamp(32px, 3.6vw, 50px)/1.4 "Roboto", sans-serif; color: #fff; margin: 0 0 30px; }
.ea-sub-form { background: none; border: 0; padding: 0; color: #fff; }
.ea-sub-form .field input { background: rgba(255, 255, 255, .3); border: 0; border-radius: 100px; color: #fff; font: 400 16px/1.8 "Roboto", sans-serif; padding: 12px 20px; }
.ea-sub-form .field input::placeholder { color: rgba(255, 255, 255, .9); }
.contact-form.ea-sub-form .btn.ea-sub-btn { width: 100%; background: #fff; color: #000; border: 0; border-radius: 100px; min-height: 0; padding: 14px; font: 700 14px/1.4 "Roboto", sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.ea-sub-form .form-status { color: #fff; }

/* speakers */
.ea-speaker { display: grid; grid-template-columns: 2fr 3fr; gap: 5.5%; align-items: center; margin-bottom: clamp(60px, 7vw, 110px); }
.ea-speaker.is-flip { grid-template-columns: 3fr 2fr; }
.ea-speaker.is-flip .ea-speaker-photo { order: 2; }
.ea-speaker-photo { padding: 50px; background: center / 100% 100% no-repeat; }
.ea-deco-1 { background-image: url(/assets/img/column-background-03-1.png); }
.ea-deco-2 { background-image: url(/assets/img/column-background-02.png); }
.ea-speaker-photo img { width: 100%; }
.ea-speaker-copy h2 { font: 300 clamp(28px, 3vw, 40px)/1.2 "Roboto", sans-serif; margin: 0 0 .5em; }
.ea-speaker-copy h3 { font: 400 20px/1.4 "Roboto", sans-serif; margin: 1.2em 0 .4em; }
.ea-speaker-copy p { font-size: 16px; line-height: 1.9; }
.ea-more { text-align: center; padding-top: 10px; }

/* accommodations */
.ea-hotels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 5.5%; }
.ea-hotels li { text-align: center; }
.ea-hotels img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ea-hotels h2 { font: 400 16px/1.4 "Open Sans", sans-serif; color: #333; margin: 16px 0 14px; }
.ea-hotels p { margin: 0 0 12px; }

/* attractions */
.ea-attraction { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5%; align-items: start; margin-bottom: clamp(50px, 6vw, 90px); }
.ea-attraction.is-flip .ea-attr-photo { order: 2; }
.ea-attr-photo img { width: 100%; }
.ea-attr-copy p { text-align: justify; }

/* pdf pages, video */
.ea-doc { text-align: center; max-width: 700px; }
.ea-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ea-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* contact */
.ea-contact { align-items: start; }
.ea-blurbs li { margin-bottom: 30px; padding-left: 50px; position: relative; }
.ea-blurbs li::before { content: ""; position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #d883f8, #352dbe); }
.ea-blurbs h2 { font: 400 18px/1.4 "Roboto", sans-serif; color: #333; margin: 0 0 4px; }
.ea-blurbs p { margin: 0; overflow-wrap: anywhere; }
.ea-form { background: none; border: 0; padding: 0; }
.ea-form .field input, .ea-form .field textarea { background: #eee; border: 0; border-radius: 0; color: #333; }
.contact-form.ea-form .btn { width: auto; }

/* footer: Divi bottom bar */
.site-footer.ea-footer { background: #171717; color: #666; padding: 15px 0 calc(15px + env(safe-area-inset-bottom)); font-size: 13px; }
.ea-footer-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ea-social { display: flex; gap: 18px; }
.site-footer .ea-social a { color: #666; }
.site-footer .ea-social a:hover { color: #fff; }
.ea-social svg { width: 20px; height: 20px; }

/* ---------- tablet / phone */
@media (max-width: 980px) {
  .ea-2, .ea-speaker, .ea-speaker.is-flip, .ea-attraction { grid-template-columns: 1fr; }
  .ea-speaker.is-flip .ea-speaker-photo, .ea-attraction.is-flip .ea-attr-photo { order: 0; }
  .ea-speaker-photo { max-width: 460px; }
  .ea-hotels { grid-template-columns: 1fr 1fr; }
  .ea-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .ea-hero-dots { display: none; }
  .ea-hero-side { padding: 30px 10% 50px; }
}
@media (max-width: 640px) {
  .ea-wrap { width: calc(100% - 40px); }
  .ea-hotels { grid-template-columns: 1fr; }
  .ea-deco-frame, .ea-speaker-photo { padding: 24px; }
  .ea-deco-frame iframe { height: 340px; }
  .ea-lead { font-size: 18px; }
  .ea-sub { padding: 60px 0; }
  .ea-attr-copy p, .ea-list li { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ea-poster { transition: none; } }

/* Promotional Flyers: the flyer image itself (12 Oct 2026) */
.ea-flyer { max-width: 720px; margin: 0 auto; }
.ea-flyer img { display: block; width: 100%; height: auto; box-shadow: 0 6px 24px rgba(0,0,0,.12); }

/* Grouped menu (12 Oct 2026): 7 top-level items with dropdowns */
@media (min-width: 901px) {
  .site-nav > ul { gap: 0 26px; flex-wrap: nowrap; }
  .site-nav > ul > li > a { font-size: 14px; white-space: nowrap; }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border: solid currentColor;
    border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .7; }
  .site-nav .sub { left: -12px; min-width: 240px; padding: 6px; }
  .site-nav .sub a { font-size: 14px; padding: 9px 12px; color: rgba(0, 0, 0, .7); }
  .site-nav .sub a[aria-current="page"] { color: #2ea3f2; background: #f2f9fe; }
}
