:root {
  --ink: #101a2a;
  --ink-deep: #0b1525;
  --ink-muted: #4c5561;
  --paper: #fbfbf9;
  --white: #fff;
  --rule: #e4e6e4;
  --red: #b21f35;
  --red-dark: #901629;
  --gold: #d4af37;
  --shadow-sm: 0 4px 14px rgba(11,21,37,0.03);
  --shadow-lg: 0 20px 40px rgba(11,21,37,0.05);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.screen-reader-text:focus { clip: auto; clip-path: none; display: block; height: auto; left: 1rem; padding: .8rem 1rem; top: 1rem; width: auto; z-index: 10000; background: var(--white); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(11, 21, 37, .05); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { min-height: 93px; display: flex; align-items: center; gap: 2.5rem; width: var(--shell); margin: 0 auto; }
.brand { flex: 1 1 auto; }
.brand__link { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark, .brand__custom-logo img { width: 55px; height: 55px; object-fit: contain; }
.brand__custom-logo .custom-logo-link { display: block; }
.brand__text { display: grid; line-height: 1.2; }
.brand__text strong { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.04em; }
.brand__text small { color: #59606a; margin-top: 3px; font-size: 12px; }
.primary-navigation__inner { display: flex; align-items: center; gap: 2rem; height: 100%; }
.primary-navigation .menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.primary-navigation li { position: relative; white-space: nowrap; }
.primary-navigation a { color: #151a21; font-size: 15px; font-weight: 500; transition: color .2s ease; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--red); }
.primary-navigation .menu-item-has-children > a::after { border: solid currentColor; border-width: 0 1.5px 1.5px 0; content: ''; display: inline-block; margin: 0 0 3px 8px; padding: 3px; transform: rotate(45deg); }
.primary-navigation .sub-menu { background: var(--white); box-shadow: 0 10px 28px rgba(11, 21, 37, .13); display: none; list-style: none; min-width: 190px; padding: 10px 0; position: absolute; right: 0; top: 100%; }
.primary-navigation .sub-menu a { display: block; padding: 7px 16px; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 9px 4px; }
.menu-toggle span:not(.screen-reader-text) { background: var(--ink); display: block; height: 2px; margin: 5px 0; width: 24px; }

/* Nav chatbot link */
.nav-chatbot-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-chatbot-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Type and small components */
.eyebrow { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .25em; line-height: 1.2; margin: 0 0 1.1rem; text-transform: uppercase; }
.eyebrow--light { color: #dfe4ec; }
.eyebrow--red { color: #e95264; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); margin-bottom: 1.25rem; }
h3 { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.035em; line-height: 1.18; margin-bottom: .8rem; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 12px; font-weight: 700; gap: 1rem; justify-content: center; letter-spacing: .12em; min-height: 49px; padding: 0 22px; text-transform: uppercase; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; z-index: 1; }
.button::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.1); transform: translateX(-100%); transition: transform 0.4s ease; z-index: -1; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(178,31,53,0.25); }
.button:hover::after { transform: translateX(0); }
.button--red { background: var(--red); color: var(--white); border-color: var(--red); }
.button--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button--outline { border-color: var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--white); box-shadow: 0 8px 16px rgba(11,21,37,0.15); }
.button--outline::after { background: var(--ink); }
.button--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--ink); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }
.button--ghost::after { background: var(--white); }
.text-link { border-bottom: 1px solid currentColor; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding-bottom: 4px; text-transform: uppercase; transition: color .2s ease; }
.text-link:hover { color: var(--red); }
.text-link--light { color: var(--white); }

/* ==========================================
   SVG Icon System
   ========================================== */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; fill: currentColor; }
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 32px; height: 32px; }
.icon--2xl { width: 40px; height: 40px; }

/* Icon container for card headers */
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: rgba(178,31,53,0.1); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-circle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-circle--lg { width: 72px; height: 72px; }
.icon-circle--lg svg { width: 34px; height: 34px; }
.icon-circle--dark { background: rgba(255,255,255,0.1); color: var(--white); }

/* ==========================================
   Scroll Animations
   ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero { background: var(--ink-deep); color: var(--white); min-height: 710px; overflow: hidden; position: relative; }
.hero__backdrop { background-position: center; background-size: cover; inset: 0; position: absolute; }
.hero__content { display: flex; flex-direction: column; justify-content: center; min-height: 710px; padding: 124px 330px 85px 0; position: relative; }
.hero h1 { font-size: clamp(3.5rem, 6vw, 6.8rem); margin-bottom: 1.4rem; max-width: 780px; }
.hero__lead { color: #e0e5ea; font-size: clamp(1.03rem, 1.6vw, 1.25rem); max-width: 600px; }
.hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 1.2rem; }
.hero__stats { border-top: 1px solid rgba(255,255,255,.45); display: flex; gap: clamp(1.8rem, 5.5vw, 5rem); margin-top: 5rem; padding-top: 1.6rem; }
.hero__stats div { display: grid; }
.hero__stats strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.hero__stats span { color: #c9d0d9; font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-top: .5rem; text-transform: uppercase; }
.hero__insight-card { background: var(--white); bottom: 0; color: var(--ink); display: grid; grid-template-columns: 120px 1fr; min-height: 172px; position: absolute; right: max(32px, calc((100vw - 1180px)/2)); width: min(360px, 31vw); }
.hero__insight-card img { height: 100%; object-fit: cover; width: 100%; }
.hero__insight-card > span { display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem; }
.hero__insight-card small, .hero__insight-card em { color: var(--red); font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero__insight-card strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.hero__insight-card em { margin-top: auto; }

/* Page Hero (inner pages) */
.page-hero { background: linear-gradient(90deg, rgba(11, 21, 38, .93) 0%, rgba(14, 27, 46, .78) 100%), url('../images/hero-kinshasa.png') center/cover; color: var(--white); padding: 8rem 0 6rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.15; background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px); background-size: 28px 28px; }
.page-hero .shell { position: relative; z-index: 1; max-width: 800px; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: 1.25rem; }
.page-hero__lead { color: #c7d2e0; font-size: 1.15rem; max-width: 640px; line-height: 1.7; }

/* Services */
.section { padding: 8.5rem 0; }
.section-heading { max-width: 600px; }
.section-heading--center { margin: 0 auto; text-align: center; }
.section-heading > p:not(.eyebrow) { color: var(--ink-muted); margin-bottom: 0; }
.service-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; }
.service-card { background: var(--white); border: 1px solid var(--rule); overflow: hidden; border-radius: 12px; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: scale(1.02); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.service-card > img { height: 200px !important; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.service-card:hover > img { transform: scale(1.05); }
.service-card > div { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-card p { color: var(--ink-muted); font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.service-card .text-link { margin-top: auto; align-self: flex-start; }

/* Service cards with icons (About page) */
.service-card--icon { background: var(--white); border: 1px solid var(--rule); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card--icon:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card--icon > div:first-child { padding: 2rem 1.75rem 0; }
.service-card--icon > div:last-child { padding: 0 1.75rem 1.9rem; }

/* Events */
.section--dark { background: var(--ink-deep); color: var(--white); }
.section-heading--light > p:not(.eyebrow) { color: #c3ccd7; }
.events-layout { align-items: start; display: grid; gap: 7rem; grid-template-columns: .78fr 1.22fr; }
.event-list { border-top: 1px solid rgba(255,255,255,.3); }
.event-card { border-bottom: 1px solid rgba(255,255,255,.3); display: grid; gap: 1.6rem; grid-template-columns: 64px 1fr; padding: 1.75rem 0; }
.event-card time { border-right: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; height: fit-content; line-height: 1; padding-right: 1.25rem; }
.event-card time b { font-family: var(--serif); font-size: 2.15rem; font-weight: 500; }
.event-card time span { color: #d0d7e0; font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-top: 7px; }
.event-card h3 { font-size: 1.55rem; margin-bottom: .65rem; }
.event-card p { color: #c3ccd7; font-size: .91rem; margin-bottom: 1.15rem; }

/* Reports and news */
.report-banner { background: #e9e8e3; overflow: hidden; }
.report-banner__inner { align-items: center; display: grid; gap: clamp(3rem, 8vw, 10rem); grid-template-columns: minmax(220px, 365px) 1fr; min-height: 450px; padding: 4.5rem 0; }
.report-banner img { box-shadow: 17px 17px 0 rgba(178,31,53,.15); max-height: 350px; object-fit: cover; width: 100%; }
.report-banner h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.report-banner p:not(.eyebrow) { color: var(--ink-muted); max-width: 540px; }
.report-banner .button { margin-top: .65rem; }
.news-section { border-top: 1px solid var(--rule); }
.news-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 3.5rem; }
.news-heading h2 { margin-bottom: 0; }
.news-grid { display: grid; gap: 5.5rem; grid-template-columns: 1.4fr .6fr; }
.news-featured { display: grid; gap: 2.1rem; grid-template-columns: .9fr 1.1fr; }
.news-featured img { height: 100%; min-height: 280px; object-fit: cover; width: 100%; }
.news-meta { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.news-meta span { color: var(--ink); margin: 0 5px; }
.news-featured h3 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.news-featured p:not(.news-meta) { color: var(--ink-muted); }
.news-list { border-top: 1px solid var(--ink); }
.news-list article { border-bottom: 1px solid var(--rule); padding: 1.4rem 0; }
.news-list time { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.news-list h3 { font-size: 1.35rem; margin: .4rem 0 0; }

/* CTA and footer */
.membership-cta { background: linear-gradient(120deg, rgba(7,17,31,.94), rgba(12,31,52,.9)), url('../images/hero-kinshasa.png') center/cover; color: var(--white); text-align: center; }
.membership-cta__inner { margin: 0 auto; max-width: 750px; padding: 8.5rem 0; }
.membership-cta h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.membership-cta p:not(.eyebrow) { color: #d7dce4; font-size: 1.08rem; }
.membership-cta__inner > div { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.site-footer { background: #0a1422; color: #e4e8ed; }
.site-footer__top { align-items: center; display: flex; justify-content: space-between; min-height: 170px; }
.site-footer__brand { align-items: center; display: flex; gap: 12px; }
.site-footer__brand img { height: 55px; object-fit: contain; width: 55px; }
.site-footer__brand div { display: grid; line-height: 1.3; }
.site-footer__brand strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.site-footer__brand span { color: #aeb8c3; font-size: 11px; }
.site-footer__contact { align-items: center; display: flex; gap: 2rem; }
.site-footer__contact > a { color: #dbe1e8; font-size: .95rem; }
.social-links { display: flex; gap: .5rem; }
.social-links a { align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; height: 33px; justify-content: center; transition: background .2s ease, border-color .2s ease; width: 33px; }
.social-links a:hover { background: var(--red); border-color: var(--red); }
.social-links a svg { width: 15px; height: 15px; fill: currentColor; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.16); color: #97a3b0; display: flex; font-size: 11px; justify-content: space-between; padding: 1.15rem 0; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; gap: 1.7rem; }

/* Internal pages */
.content-page { min-height: 55vh; padding: 7rem 0; }
.content-page__inner { max-width: 860px; }
.entry-header { border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; padding-bottom: 2rem; }
.entry-header h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 0; }
.entry-content { color: #343c46; font-size: 1.08rem; }
.entry-content > * { max-width: 760px; }
.entry-content h2, .entry-content h3 { color: var(--ink); margin-top: 2.3rem; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.post-card { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.post-card img { aspect-ratio: 1.45 / 1; margin-bottom: 1.2rem; object-fit: cover; width: 100%; }
.post-card h2 { font-size: 1.7rem; }
.post-card p:not(.news-meta) { color: var(--ink-muted); font-size: .93rem; }

/* Pagination */
.nav-links { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.page-numbers { align-items: center; border: 1px solid var(--rule); color: var(--ink); display: inline-flex; font-size: 13px; font-weight: 600; height: 40px; justify-content: center; min-width: 40px; padding: 0 12px; transition: all 0.2s ease; }
.page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* Single Article */
.single-article__header { background: var(--ink-deep); color: var(--white); padding: 8rem 0 5rem; }
.single-article__header-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.single-article__header .eyebrow { color: var(--red); }
.single-article__header h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--white); margin-bottom: 1.5rem; }
.single-article__meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }
.single-article__hero-image { max-height: 520px; overflow: hidden; }
.single-article__hero-img { width: 100%; height: 520px; object-fit: cover; }
.single-article__content { padding: 4rem 0; font-size: 1.08rem; line-height: 1.9; color: #343c46; }
.single-article__content > * { max-width: 760px; }
.single-article__content h2, .single-article__content h3 { color: var(--ink); margin-top: 2.3rem; font-family: var(--serif); }
.single-article__content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.single-article__footer { border-top: 1px solid var(--rule); padding-top: 2rem; margin-top: 2rem; max-width: 760px; }
.single-article__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.single-article__tag { background: rgba(178,31,53,0.08); border: 1px solid rgba(178,31,53,0.2); color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; text-transform: uppercase; transition: background 0.2s ease; }
.single-article__tag:hover { background: var(--red); color: var(--white); }
.single-article__nav { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.single-article__nav-prev, .single-article__nav-next { border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem 1.5rem; transition: border-color 0.2s ease; }
.single-article__nav-prev:hover, .single-article__nav-next:hover { border-color: var(--ink); }
.single-article__nav-next { text-align: right; }
.single-article__nav strong { font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }

/* Search Form */
.amcham-search-form__inner { display: flex; align-items: center; background: var(--white); border: 2px solid var(--rule); max-width: 600px; transition: border-color 0.2s ease; }
.amcham-search-form__inner:focus-within { border-color: var(--ink); }
.amcham-search-form__input { border: none; flex: 1; font-family: inherit; font-size: 1rem; outline: none; padding: 0.85rem 1.25rem; background: transparent; }
.amcham-search-form__submit { align-items: center; background: var(--red); border: none; color: var(--white); cursor: pointer; display: flex; height: 52px; justify-content: center; padding: 0 1.25rem; transition: background 0.2s ease; }
.amcham-search-form__submit:hover { background: var(--red-dark); }
.search-no-results { text-align: center; padding: 3rem 0; }
.search-no-results p { color: var(--ink-muted); margin-bottom: 2rem; font-size: 1.1rem; }
.search-no-results .amcham-search-form__inner { margin: 0 auto; }

/* Footer Navigation */
.site-footer__nav { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s ease; }
.footer-menu a:hover { color: var(--white); }

/* ==========================================
   Info Cards (About, Contact)
   ========================================== */
.cards-2col { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
.cards-3col { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }

.info-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 3rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.info-card__icon { margin-bottom: 1.5rem; }
.info-card h2, .info-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.info-card p { color: var(--ink-muted); margin-bottom: 0; line-height: 1.7; }

/* Block Patterns — Mission/Vision */
.mission-vision-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); margin: 3rem 0; }
.mv-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 3rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.mv-card__icon { background: rgba(178,31,53,0.1); border-radius: 50%; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.mv-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.mv-card p { color: var(--ink-muted); margin: 0; line-height: 1.7; }

/* Core Values Grid */
.core-values-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); margin: 3rem 0; }
.cv-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 2.5rem; transition: transform 0.2s ease; }
.cv-card:hover { transform: scale(1.02); }
.cv-card__icon { margin-bottom: 1rem; }
.cv-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cv-card p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* Team Grid */
.team-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 3rem 0; }
.team-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; text-align: center; transition: box-shadow 0.3s ease; }
.team-card:hover { box-shadow: 0 8px 24px rgba(11,21,37,0.1); }
.team-card__image-wrap { background: linear-gradient(135deg, #f0f3f6, #e8ecf0); height: 200px; display: flex; align-items: center; justify-content: center; }
.team-card__placeholder { color: var(--ink-muted); opacity: 0.25; }
.team-card__placeholder svg { width: 64px; height: 64px; fill: currentColor; }
.team-card__photo { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; font-weight: 700; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,0.15); letter-spacing: 0.05em; }
.team-card__content { padding: 1.5rem; }
.team-card__role { display: inline-block; background: rgba(178,31,53,0.1); color: var(--red); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.75rem; }
.team-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-card p { color: var(--ink-muted); font-size: 0.9rem; margin: 0; }

/* ==========================================
   Pricing Cards (Membership)
   ========================================== */
.pricing-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); margin-top: 3.5rem; }
.pricing-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 3rem; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.pricing-card--featured { border-color: var(--red); }
.pricing-card__bar { height: 4px; background: var(--red); position: absolute; top: 0; left: 0; right: 0; }
.pricing-card__price { margin: 1.5rem 0; }
.pricing-card__price span { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.04em; }
.pricing-card__features { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-card__features li { font-size: 0.95rem; color: var(--ink-muted); display: flex; align-items: flex-start; gap: 0.75rem; }
.pricing-card__check { color: var(--red); flex-shrink: 0; }
.pricing-card__check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Sponsor Grid */
.sponsor-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }

/* ==========================================
   Resource Cards
   ========================================== */
.resource-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.resource-tab { padding: 0.65rem 1.5rem; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; border: 1px solid var(--rule); background: var(--white); color: var(--ink-muted); transition: all 0.2s ease; text-transform: uppercase; }
.resource-tab:hover { border-color: var(--ink); color: var(--ink); }
.resource-tab--active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.resource-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
.resource-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; display: flex; gap: 1.5rem; padding: 2rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,21,37,0.06); }
.resource-card__icon { flex-shrink: 0; }
.resource-card__content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.resource-card__content p { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.resource-card__footer { display: flex; align-items: center; gap: 1rem; }
.resource-card__badge { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 10px; text-transform: uppercase; border-radius: 3px; }
.resource-card__badge--free { background: rgba(34,139,34,0.1); color: #228b22; }
.resource-card__badge--member { background: rgba(178,31,53,0.1); color: var(--red); }

/* ==========================================
   Committee Cards
   ========================================== */
.committee-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 3rem; margin-bottom: 1.5rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.committee-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.committee-card__header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.committee-card__icon { flex-shrink: 0; }
.committee-card__focus { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.committee-tag { background: rgba(178,31,53,0.06); border: 1px solid rgba(178,31,53,0.15); color: var(--red-dark); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 12px; text-transform: uppercase; }

/* ==========================================
   Events Page (dedicated)
   ========================================== */
.events-page-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
.events-page-grid--past { opacity: 0.75; }
.ep-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 2.5rem; transition: transform 0.2s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.ep-card:hover { transform: scale(1.02); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.ep-card__badge { display: inline-block; background: rgba(178,31,53,0.1); color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; text-transform: uppercase; border-radius: 20px; margin-bottom: 1rem; align-self: flex-start; }
.ep-card__date { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--ink-muted); font-size: 0.9rem; }
.ep-card__date svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.ep-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; transition: color 0.2s ease; }
.ep-card:hover h3 { color: var(--red); }
.ep-card p { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.ep-card__meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--ink-muted); font-size: 0.85rem; }
.ep-card__meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.ep-card .button { margin-top: 1.25rem; align-self: flex-start; }

.events-section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.events-section-header h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3rem); }
.events-count-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; min-width: 32px; height: 32px; border-radius: 50%; padding: 0 8px; }
.events-count-badge--muted { background: var(--rule); color: var(--ink-muted); }

/* ==========================================
   News Page
   ========================================== */
.news-page-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.np-card { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.3s ease; }
.np-card:hover { transform: scale(1.02); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.np-card__image { height: 200px; overflow: hidden; }
.np-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.np-card:hover .np-card__image img { transform: scale(1.05); }
.np-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.np-card__category { display: inline-block; background: rgba(178,31,53,0.1); color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; text-transform: uppercase; border-radius: 20px; margin-bottom: 0.75rem; align-self: flex-start; }
.np-card__date { color: var(--ink-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.np-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; line-height: 1.3; transition: color 0.2s ease; }
.np-card:hover h3 { color: var(--red); }
.np-card p { color: var(--ink-muted); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.np-card__readmore { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; transition: color 0.2s ease; }
.np-card__readmore svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s ease; }
.np-card:hover .np-card__readmore svg { transform: translateX(4px); }

/* Category filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.filter-pill { padding: 0.6rem 1.4rem; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; border: 1px solid var(--rule); background: var(--white); color: var(--ink-muted); cursor: pointer; transition: all 0.2s ease; text-transform: uppercase; }
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill--active { background: var(--red); color: var(--white); border-color: var(--red); }

/* ==========================================
   Member Directory Page
   ========================================== */
.directory-search { display: flex; align-items: center; background: var(--white); border: 2px solid var(--rule); border-radius: 4px; max-width: 700px; margin: 0 auto 2rem; transition: border-color 0.2s ease; }
.directory-search:focus-within { border-color: var(--ink); }
.directory-search__icon { padding: 0 0 0 1.25rem; color: var(--ink-muted); display: flex; }
.directory-search__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.directory-search__input { border: none; flex: 1; font-family: inherit; font-size: 1rem; outline: none; padding: 0.9rem 1rem; background: transparent; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.directory-results-count { text-align: center; color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 3rem; }

.member-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.member-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 1.75rem; transition: transform 0.2s ease, box-shadow 0.3s ease; }
.member-card:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(11,21,37,0.08); }
.member-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(178,31,53,0.1); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.member-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.member-card__position { color: var(--red); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.member-card__company { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.member-card__industry { display: inline-block; background: rgba(178,31,53,0.08); color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 10px; text-transform: uppercase; border-radius: 20px; margin-bottom: 1rem; }
.member-card__details { border-top: 1px solid var(--rule); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.member-card__detail-label { font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.15rem; }
.member-card__detail-value { font-size: 0.9rem; }
.member-card__detail-value a { color: var(--red); transition: color 0.2s ease; }
.member-card__detail-value a:hover { color: var(--red-dark); }

/* ==========================================
   Event Single (improved)
   ========================================== */
.event-single-hero { background: var(--ink-deep); color: var(--white); padding: 7rem 0 5rem; position: relative; overflow: hidden; }
.event-single-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.07; background-image: radial-gradient(circle, rgba(199,210,233,0.4) 1px, transparent 1px); background-size: 28px 28px; }
.event-single-hero .shell { position: relative; z-index: 1; }
.event-meta-bar { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; padding: 1.5rem 2rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; }
.event-meta-item { display: flex; align-items: center; gap: 0.75rem; }
.event-meta-item svg { width: 20px; height: 20px; fill: none; stroke: rgba(255,255,255,0.7); stroke-width: 1.8; flex-shrink: 0; }
.event-meta-item span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.event-meta-item a { color: var(--white); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color 0.2s ease; }
.event-meta-item a:hover { border-color: var(--white); }

/* Event Archive improved */
.event-archive-hero { background: var(--ink-deep); color: var(--white); padding: 7rem 0 5rem; position: relative; overflow: hidden; text-align: center; }
.event-archive-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.07; background-image: radial-gradient(circle, rgba(199,210,233,0.4) 1px, transparent 1px); background-size: 28px 28px; }
.event-archive-hero .shell { position: relative; z-index: 1; }

/* Partner Archive improved */
.partner-archive-hero { background: var(--ink-deep); color: var(--white); padding: 7rem 0 5rem; position: relative; overflow: hidden; text-align: center; }
.partner-archive-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.07; background-image: radial-gradient(circle, rgba(199,210,233,0.4) 1px, transparent 1px); background-size: 28px 28px; }
.partner-archive-hero .shell { position: relative; z-index: 1; max-width: 800px; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem; }
.partner-card { background: var(--white); padding: 2.5rem 2rem; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--rule); }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,21,37,0.08); }
.partner-card__logo { margin-bottom: 1.5rem; }
.partner-card__logo img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.partner-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--ink); }
.partner-card__excerpt { font-size: 0.9rem; color: var(--ink-muted); }
.partner-card__excerpt p { margin: 0; }

/* ==========================================
   Contact Form
   ========================================== */
.contact-layout { display: grid; gap: 4rem; grid-template-columns: 1.2fr .8fr; }
.amcham-form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 3rem; max-width: 800px; margin: 3rem auto 0; }
.amcham-form { display: flex; flex-direction: column; gap: 1.5rem; }
.amcham-form__row { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.amcham-form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.amcham-form__field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.amcham-form__field input, .amcham-form__field select, .amcham-form__field textarea { border: 1px solid var(--rule); border-radius: 4px; font-family: inherit; font-size: 0.95rem; padding: 0.8rem 1rem; transition: border-color 0.2s ease; outline: none; }
.amcham-form__field input:focus, .amcham-form__field select:focus, .amcham-form__field textarea:focus { border-color: var(--ink); }
.amcham-form__success { background: rgba(34,139,34,0.08); border: 1px solid rgba(34,139,34,0.2); border-radius: 8px; color: #228b22; display: flex; align-items: center; gap: 0.75rem; font-weight: 600; padding: 1.5rem 2rem; }
.amcham-form__success svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; flex-shrink: 0; }

/* FAQ */
.faq-list h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { padding: 1.25rem 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--ink-muted); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 0 1.25rem; color: var(--ink-muted); line-height: 1.7; }

/* Chatbot Fullscreen Page */
.chat-page-fullscreen { min-height: calc(100vh - 93px); display: flex; align-items: center; justify-content: center; position: relative; color: var(--white); padding: clamp(1.5rem, 5vh, 4rem) 0; }
.chat-page-fullscreen__content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; z-index: 2; position: relative; width: 100%; max-width: 1200px; }
.chat-page-fullscreen__text h1 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; line-height: 1.1; }
.chat-page-fullscreen__text p { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 500px; }
.chat-page-fullscreen__window { background: rgba(255,255,255,0.1); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; overflow: hidden; height: clamp(420px, 70dvh, 600px); max-height: calc(100dvh - 3rem); display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.chat-page__header { background: rgba(0,0,0,0.25); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 18px 20px; display: flex; align-items: center; gap: 10px; color: var(--white); }
.chat-page__header h3 { margin: 0; min-width: 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.chat-page__header span { color: rgba(255,255,255,0.78); font-size: 0.8rem; margin-left: auto; }
.chat-page__header span.is-unavailable { color: #ffb4ab; }
.chat-page__header-dot { width: 10px; height: 10px; flex: 0 0 10px; background: #3ddc84; border-radius: 50%; box-shadow: 0 0 8px #3ddc84; }
.chat-page__header-dot.is-unavailable { background: #ff6b6b; box-shadow: 0 0 8px #ff6b6b; }
.chat-page__messages { background: transparent; padding: 20px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 15px; }
.chat-page__message { display: flex; max-width: 85%; min-width: 0; }
.chat-page__message--bot { align-self: flex-start; flex-direction: column; align-items: flex-start; }
.chat-page__message--user { align-self: flex-end; flex-direction: row-reverse; }
.chat-page__bubble { max-width: 100%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.55; background: rgba(255,255,255,0.94); color: var(--ink); box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-bottom-left-radius: 2px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.chat-page__message--user .chat-page__bubble { background: var(--red); color: var(--white); border-bottom-right-radius: 2px; border-bottom-left-radius: 12px; }
.chat-page__bubble--markdown { white-space: normal; }
.chat-page__bubble--markdown > :first-child { margin-top: 0; }
.chat-page__bubble--markdown > :last-child { margin-bottom: 0; }
.chat-page__bubble--markdown p { margin: 0 0 0.8rem; white-space: pre-wrap; }
.chat-page__bubble--markdown h1,
.chat-page__bubble--markdown h2,
.chat-page__bubble--markdown h3,
.chat-page__bubble--markdown h4,
.chat-page__bubble--markdown h5,
.chat-page__bubble--markdown h6 { margin: 0 0 0.55rem; color: var(--ink); font-family: var(--serif); line-height: 1.25; }
.chat-page__bubble--markdown h1 { font-size: 1.45rem; }
.chat-page__bubble--markdown h2 { font-size: 1.3rem; }
.chat-page__bubble--markdown h3 { font-size: 1.15rem; }
.chat-page__bubble--markdown h4,
.chat-page__bubble--markdown h5,
.chat-page__bubble--markdown h6 { font-size: 1rem; }
.chat-page__bubble--markdown ul,
.chat-page__bubble--markdown ol { margin: 0 0 0.8rem; padding-left: 1.35rem; white-space: normal; }
.chat-page__bubble--markdown li + li { margin-top: 0.25rem; }
.chat-page__bubble--markdown blockquote { margin: 0 0 0.8rem; padding: 0.1rem 0 0.1rem 0.8rem; border-left: 3px solid rgba(178,31,53,0.6); color: var(--ink-muted); }
.chat-page__bubble--markdown blockquote > :last-child { margin-bottom: 0; }
.chat-page__bubble--markdown hr { margin: 0.85rem 0; border: 0; border-top: 1px solid var(--rule); }
.chat-page__bubble--markdown a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.chat-page__bubble--markdown a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.chat-page__bubble--markdown code { padding: 0.1rem 0.3rem; border-radius: 4px; background: rgba(11,21,37,0.08); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.86em; }
.chat-page__bubble--markdown pre { max-width: 100%; margin: 0 0 0.8rem; padding: 0.75rem; overflow-x: auto; border-radius: 7px; background: #182536; color: #f4f7fb; white-space: pre; }
.chat-page__bubble--markdown pre code { padding: 0; background: transparent; color: inherit; font-size: 0.8rem; }
.chat-page__bubble--markdown table { display: block; max-width: 100%; margin: 0 0 0.8rem; overflow-x: auto; border-collapse: collapse; font-size: 0.86em; }
.chat-page__bubble--markdown th,
.chat-page__bubble--markdown td { min-width: 7rem; padding: 0.4rem 0.55rem; border: 1px solid rgba(11,21,37,0.16); text-align: left; vertical-align: top; }
.chat-page__bubble--markdown th { background: rgba(11,21,37,0.07); font-weight: 700; }
.chat-page__markdown-image-label { font-style: italic; }
.chat-page__suggestions { padding: 0 20px 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-page__suggestions[hidden] { display: none; }
.chat-page__suggestion { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.35); padding: 8px 14px; border-radius: 20px; font: inherit; font-size: 0.82rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }
.chat-page__suggestion:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.55); }
.chat-page__suggestion:disabled { cursor: wait; opacity: 0.55; }
.chat-page__input-area { background: rgba(0,0,0,0.25); border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 20px; display: flex; align-items: flex-start; gap: 10px; }
.chat-page__composer { flex: 1; min-width: 0; }
.chat-page__input { box-sizing: border-box; display: block; width: 100%; min-height: 46px; max-height: 140px; resize: none; overflow-y: hidden; background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.3); border-radius: 23px; padding: 11px 18px; font: inherit; font-size: 1rem; line-height: 1.4; outline: none; transition: background 0.2s ease, border-color 0.2s ease; }
.chat-page__input::placeholder { color: rgba(255,255,255,0.65); }
.chat-page__input:focus { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); }
.chat-page__input-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 0 4px; color: rgba(255,255,255,0.72); font-size: 0.7rem; line-height: 1.3; }
.chat-page__input-meta span:last-child { flex-shrink: 0; }
.chat-page__input-meta .is-near-limit { color: #ffd166; font-weight: 600; }
.chat-page__send { background: var(--red); border-radius: 50%; width: 46px; height: 46px; border: none; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 46px; transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease; }
.chat-page__send:hover { background: var(--red-dark); transform: scale(1.05); }
.chat-page__send:disabled { cursor: wait; opacity: 0.6; transform: none; }
.chat-page__send svg { width: 20px; height: 20px; fill: currentColor; transform: translateX(1px); }
.chat-page__back-btn:focus-visible,
.chat-page__suggestion:focus-visible,
.chat-page__send:focus-visible,
.chatbot-retry:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.chat-page__input:focus-visible { outline: 3px solid rgba(255,255,255,0.95); outline-offset: 2px; }
.chatbot-sources { width: 100%; margin-top: 0.55rem; padding: 0 0.25rem; color: rgba(255,255,255,0.82); font-size: 0.76rem; line-height: 1.45; }
.chatbot-sources__label { color: rgba(255,255,255,0.82); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 0.2rem; text-transform: uppercase; }
.chatbot-sources__list { list-style: none; margin: 0; padding: 0; }
.chatbot-sources__list li { color: rgba(255,255,255,0.76); overflow-wrap: anywhere; }
.chatbot-sources__list li + li { margin-top: 0.15rem; }
.chatbot-retry { margin-top: 0.55rem; padding: 0.42rem 0.8rem; border: 1px solid rgba(255,255,255,0.45); border-radius: 16px; background: rgba(255,255,255,0.12); color: var(--white); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: background 0.2s ease, opacity 0.2s ease; }
.chatbot-retry:hover { background: rgba(255,255,255,0.24); }
.chatbot-retry:disabled { cursor: wait; opacity: 0.55; }
.chat-typing-indicator-page .chat-page__bubble { display: flex; gap: 4px; align-items: center; min-height: 40px; white-space: normal; }
.chat-typing-dot { width: 6px; height: 6px; background: var(--ink-muted); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; display: inline-block; }
.chat-typing-dot:nth-of-type(2) { animation-delay: -0.32s; }
.chat-typing-dot:nth-of-type(3) { animation-delay: -0.16s; }

@keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .chat-typing-dot { animation: none; opacity: 0.65; } .chat-page__send, .chat-page__suggestion, .chatbot-retry { transition: none; } }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 960px) {
  :root { --shell: min(100% - 44px, 760px); }
  .site-header__inner { min-height: 78px; }
  .brand__mark, .brand__custom-logo img { height: 45px; width: 45px; }
  .brand__text strong { font-size: 21px; }
  .menu-toggle { display: block; z-index: 2; }
  .primary-navigation { background: rgba(255,255,255,.99); display: none; left: 0; padding: 1.2rem 22px 1.6rem; position: absolute; right: 0; top: 100%; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation__inner { flex-direction: column; align-items: stretch; gap: 1rem; padding-top: 0.5rem; }
  .primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation li { border-bottom: 1px solid var(--rule); }
  .primary-navigation a { display: block; padding: .85rem 0; }
  .primary-navigation .sub-menu { box-shadow: none; padding: 0 0 0 1.1rem; position: static; }
  .hero { min-height: 680px; }
  .hero__content { min-height: 680px; padding-right: 0; }
  .hero__insight-card { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .events-layout { gap: 3.5rem; grid-template-columns: 1fr; }
  .news-grid { gap: 2.7rem; grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-grid, .core-values-grid, .cards-2col { grid-template-columns: 1fr; }
  .cards-3col { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .events-page-grid { grid-template-columns: repeat(2, 1fr); }
  .news-page-grid { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 36px); }
  .brand__text strong { font-size: 19px; }
  .brand__text small { font-size: 10px; }
  .section { padding: 5.5rem 0; }
  .hero, .hero__content { min-height: 640px; }
  .hero__content { padding: 87px 0 42px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .hero__stats { gap: 1.2rem; margin-top: 3.2rem; }
  .hero__stats strong { font-size: 1.5rem; }
  .hero__stats span { font-size: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .report-banner__inner { gap: 2rem; grid-template-columns: 1fr; padding: 3.5rem 0; }
  .report-banner img { max-height: 250px; object-position: center 30%; }
  .news-heading, .site-footer__top, .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .news-featured { gap: 1.6rem; grid-template-columns: 1fr; }
  .news-featured img { height: 240px; min-height: 0; }
  .membership-cta__inner { padding: 5.5rem 0; }
  .site-footer__top { justify-content: center; padding: 2.4rem 0; }
  .site-footer__contact { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .site-footer__bottom { padding-bottom: 1.4rem; }
  .post-grid, .events-page-grid, .news-page-grid, .member-grid { grid-template-columns: 1fr; }
  .cards-3col { grid-template-columns: 1fr; }
  .amcham-form__row { grid-template-columns: 1fr; }
  .page-hero { padding: 5rem 0 3.5rem; }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .single-article__nav { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body.page-template-page-chatbot .site-header,
  body.page-template-page-chatbot .site-footer { display: none !important; }
  .chat-page-fullscreen { padding: 0 !important; height: 100dvh !important; min-height: 100dvh !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: stretch !important; }
  .chat-page-fullscreen__content { display: flex !important; flex-direction: column !important; width: 100% !important; max-width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; gap: 0 !important; }
  .chat-page-fullscreen__text { display: none !important; }
  .chat-page-fullscreen__window { border-radius: 0 !important; border: none !important; box-shadow: none !important; height: 100% !important; max-height: none !important; flex: 1 !important; margin: 0 !important; }
  .chat-page__header { padding: 12px 16px; }
  .chat-page__messages { padding: 16px; }
  .chat-page__suggestions { padding: 0 16px 12px; }
  .chat-page__input-area { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .chat-page__back-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; background: rgba(255,255,255,0.2); border-radius: 50%; margin-right: 4px; color: var(--white); text-decoration: none; transition: background 0.2s; }
  .chat-page__back-btn:hover { background: rgba(255,255,255,0.3); }
}

@media (max-width: 620px) {
  .chat-page__message { max-width: 92%; }
  .chat-page__input-meta { flex-wrap: wrap; gap: 3px 10px; }
  .chat-page__suggestion { padding: 7px 12px; font-size: 0.78rem; }
}

/* ──── Comments ──── */
.comments-area { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.comments-area .comments-title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 2rem; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { margin-bottom: 2rem; padding: 1.5rem; background: var(--white); border-radius: 8px; border: 1px solid var(--rule); }
.comment-list .comment .comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.comment-list .comment .comment-author img { border-radius: 50%; }
.comment-list .comment .comment-author .fn { font-weight: 700; color: var(--ink); }
.comment-list .comment .comment-metadata { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 1rem; }
.comment-list .comment .comment-content p { margin: 0; line-height: 1.7; }
.comment-list .children { padding-left: 2rem; border-left: 2px solid var(--rule); margin-top: 1rem; }
.comment-respond { margin-top: 3rem; }
.comment-respond .comment-reply-title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1.5rem; }
.comment-respond .comment-form p { margin-bottom: 1rem; }
.comment-respond .comment-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"],
.comment-respond .comment-form input[type="url"],
.comment-respond .comment-form textarea { width: 100%; border: 1px solid var(--rule); border-radius: 6px; padding: 0.7rem 1rem; font: inherit; transition: border-color .2s; }
.comment-respond .comment-form input:focus,
.comment-respond .comment-form textarea:focus { outline: none; border-color: var(--red); }
.comment-respond .comment-form .submit { background: var(--red); color: var(--white); border: none; padding: 0.75rem 2rem; border-radius: 6px; font-weight: 700; cursor: pointer; transition: background .2s; }
.comment-respond .comment-form .submit:hover { background: var(--red-dark); }

/* ──── Chatbot Floating Link ──── */
.amcham-chatbot-link.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 65px;
  height: 65px;
  background-color: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(178,31,53,0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.amcham-chatbot-link.chatbot-toggle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(178,31,53,0.5);
  background-color: var(--red-dark);
  color: var(--white);
}

.amcham-chatbot-link.chatbot-toggle svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Fix header button hover color */
.primary-navigation a.button:hover,
.primary-navigation .current-menu-item > a.button {
    color: var(--white);
}
