/* Community page mobile art direction. Desktop keeps its existing layout. */
.community-journey-tagline,
.community-impact-cta { display: none; }

@media (max-width: 760px) {
  body[data-page-v2="community"] .global-header .header-shell { width: calc(100% - 20px); gap: 7px; }
  body[data-page-v2="community"] .global-header .brand-logo,
  body[data-page-v2="community"] .global-header .brand-logo img { width: 64px; height: 64px; flex-basis: 64px; max-height: 64px; }
  body[data-page-v2="community"] .global-header .nav-glass { height: 54px; padding: 6px; gap: 4px; justify-content: space-between; }
  body[data-page-v2="community"] .global-header .menu-toggle { width: 40px; height: 40px; flex: 0 0 40px; margin-right: auto; }
  body[data-page-v2="community"] .global-header .nav-actions { gap: 4px; }
  body[data-page-v2="community"] .global-header .verify-cta { width: auto; min-width: 0; min-height: 40px; padding: 0 9px; gap: 4px; font-size: .66rem; }
  body[data-page-v2="community"] .global-header .verify-label { display: inline; }
  body[data-page-v2="community"] .global-header .nav-actions .language-pill { min-height: 38px; padding: 0 7px; display: inline-flex; font-size: .58rem; }
  body[data-page-v2="community"] .global-header .support { width: 38px; min-width: 38px; min-height: 38px; padding: 0; font-size: 0; }
  body[data-page-v2="community"] .global-header .support::after { content: ""; }

  body[data-page-v2="community"] .community-hero {
    min-height: 850px;
    padding: 128px 0 250px;
    display: block;
    background-color: #1b0504;
    background-image: linear-gradient(180deg, rgba(17, 3, 3, .58) 0%, rgba(18, 3, 3, .36) 41%, rgba(16, 3, 3, .03) 68%, rgba(8, 2, 2, .06) 100%), url('../assets/community-hero-mobile-v1.webp');
    background-position: center, center bottom;
    background-size: cover, 100% auto;
    background-repeat: no-repeat;
  }
  body[data-page-v2="community"] .community-hero::before { background: linear-gradient(180deg, rgba(9, 2, 2, .45), rgba(9, 2, 2, .12) 40%, transparent 72%); }
  body[data-page-v2="community"] .community-hero::after { display: none; }
  body[data-page-v2="community"] .community-hero .v2-hero-inner { width: min(calc(100% - 34px), 560px); min-height: 0; display: block; }
  body[data-page-v2="community"] .community-hero .v2-breadcrumb { margin: 0 0 26px; font-size: .72rem; }
  body[data-page-v2="community"] .community-hero .v2-eyebrow { margin: 0 0 14px; color: #ffd36e; font-size: .72rem; letter-spacing: .2em; line-height: 1.35; }
  body[data-page-v2="community"] .community-hero h1.small { max-width: 10ch; margin: 0; font-size: clamp(2.55rem, 10.5vw, 4rem) !important; line-height: 1.12 !important; letter-spacing: -.045em; }
  body[data-page-v2="community"] .community-hero h1.small span { color: #ffbd4b; }
  body[data-page-v2="community"] .community-hero-subtitle { max-width: 34ch; margin: 18px 0 0; font-size: .95rem; line-height: 1.42; }
  body[data-page-v2="community"] .community-hero .lead { max-width: 39ch; margin: 12px 0 0; color: #f0e2d8; font-size: .88rem; line-height: 1.58; }
  body[data-page-v2="community"] .community-hero .v2-actions { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
  body[data-page-v2="community"] .community-hero .v2-actions .v2-btn { min-height: 46px; min-width: 210px; padding: 0 18px; justify-content: center; font-size: .84rem; }
  body[data-page-v2="community"] .community-hero .v2-actions .v2-btn:not(.primary) { background: rgba(11, 3, 3, .65); border-color: rgba(255, 190, 65, .75); }

  body[data-page-v2="community"] .community-journey {
    display: block;
    padding: 62px 14px 58px;
    background: radial-gradient(circle at 50% 55%, rgba(103, 13, 6, .22), transparent 62%), #190504;
  }
  body[data-page-v2="community"] .community-journey-art { display: none; }
  body[data-page-v2="community"] .community-journey-copy { width: min(100%, 620px); margin: 0 auto; padding: 0; display: block; text-align: center; }
  body[data-page-v2="community"] .community-journey-copy .v2-kicker,
  body[data-page-v2="community"] .community-impact-copy .v2-kicker { margin: 0 0 15px; color: #ffd078; font-size: .72rem; letter-spacing: .2em; }
  body[data-page-v2="community"] .community-journey-copy h2,
  body[data-page-v2="community"] .community-impact-copy h2 { max-width: 16ch; margin: 0 auto 16px; font-size: clamp(2rem, 8.4vw, 3rem); line-height: 1.16 !important; }
  body[data-page-v2="community"] .community-journey-copy > p:not(.v2-kicker),
  body[data-page-v2="community"] .community-impact-copy > p:not(.v2-kicker) { max-width: 54ch; margin: 0 auto; color: #e4d2c9; font-size: .9rem; line-height: 1.62; }
  body[data-page-v2="community"] .community-timeline { max-width: 600px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr; gap: 25px; }
  body[data-page-v2="community"] .community-timeline::before { display: none; }
  body[data-page-v2="community"] .community-timeline article {
    width: calc(100% - 24px);
    min-height: 136px;
    margin-left: 24px;
    padding: 19px 16px 16px 83px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid rgba(255, 171, 53, .64);
    border-radius: 20px;
    background: linear-gradient(115deg, rgba(73, 17, 10, .84), rgba(26, 5, 4, .82));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 217, 130, .12);
    text-align: left;
  }
  body[data-page-v2="community"] .community-timeline article:nth-child(even) { margin: 0 24px 0 0; padding: 19px 83px 16px 18px; }
  body[data-page-v2="community"] .community-timeline article::before {
    content: "";
    width: 112px;
    height: 112px;
    position: absolute;
    left: -31px;
    top: 12px;
    z-index: 1;
    background: url('../assets/community-icon-support-v4.webp') center / contain no-repeat;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, .4));
  }
  body[data-page-v2="community"] .community-timeline article:nth-child(2)::before { left: auto; right: -31px; background-image: url('../assets/ambassador-icon-community-v4.webp'); }
  body[data-page-v2="community"] .community-timeline article:nth-child(3)::before { background-image: url('../assets/community-icon-environment-v4.webp'); }
  body[data-page-v2="community"] .community-timeline article:nth-child(4)::before { left: auto; right: -31px; background-image: url('../assets/ambassador-icon-growth-v4.webp'); }
  body[data-page-v2="community"] .community-timeline b { width: auto; height: auto; margin: 0 0 2px; position: static; display: block; border: 0; background: none; color: #ffd16b; font-size: 2.25rem; line-height: 1; text-shadow: 0 0 16px rgba(255, 137, 23, .35); }
  body[data-page-v2="community"] .community-timeline strong { margin-top: 6px; font-size: .98rem; line-height: 1.28; }
  body[data-page-v2="community"] .community-timeline span { margin-top: 4px; color: #e2cdc1; font-size: .8rem; line-height: 1.45; }
  body[data-page-v2="community"] .community-journey-copy > .community-journey-tagline { margin: 38px auto 0; display: block; color: #ffd17a; font-size: .94rem; font-weight: 700; text-align: center; }

  body[data-page-v2="community"] .community-impact { display: block; padding: 62px 14px 60px; background: radial-gradient(circle at 50% 45%, rgba(145, 17, 8, .24), transparent 60%), #1c0504; }
  body[data-page-v2="community"] .community-impact-copy { width: min(100%, 620px); margin: 0 auto; padding: 0; display: block; text-align: center; }
  body[data-page-v2="community"] .community-impact-art { display: none; }
  body[data-page-v2="community"] .community-impact-cards { max-width: 600px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  body[data-page-v2="community"] .community-impact-cards::before { content: ""; grid-column: 1 / -1; height: clamp(240px, 72vw, 350px); margin: 10px 0 3px; background: radial-gradient(circle, rgba(255, 81, 17, .28), transparent 65%), url('../assets/community-impact-network-v1.webp') center / contain no-repeat; }
  body[data-page-v2="community"] .community-impact-cards article { min-width: 0; min-height: 183px; padding: 12px 9px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255, 192, 79, .75); border-radius: 19px; background: linear-gradient(145deg, rgba(76, 17, 10, .94), rgba(33, 6, 5, .95)); box-shadow: inset 0 1px rgba(255, 236, 165, .13); text-align: center; }
  body[data-page-v2="community"] .community-impact-cards .v2-icon { width: 78px; height: 78px; margin: 0 0 8px; object-fit: contain; }
  body[data-page-v2="community"] .community-impact-cards strong { margin: 0; color: #ffd884; font-size: clamp(.79rem, 2.9vw, .96rem); line-height: 1.3; }
  body[data-page-v2="community"] .community-impact-cards span { margin-top: 5px; color: #e2d0c5; font-size: clamp(.7rem, 2.5vw, .82rem); line-height: 1.42; }
  body[data-page-v2="community"] .community-impact-cta { width: min(100%, 255px); min-height: 48px; margin: 27px auto 0; display: flex; align-items: center; justify-content: center; border: 1px solid #ffc76b; border-radius: 999px; color: #ffd879; background: rgba(22, 4, 3, .7); font-size: .88rem; font-weight: 800; text-decoration: none; }

  body[data-page-v2="community"] .community-responsible.v2-section { padding: 0 !important; background: #130403 !important; }
  body[data-page-v2="community"] .community-responsible .standard-layout,
  body[data-page-v2="community"] .community-responsible-layout { width: 100%; max-width: none; min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  body[data-page-v2="community"] .community-responsible .standard-art { width: 100%; height: clamp(250px, 64vw, 390px); min-height: 0; overflow: hidden; border-radius: 0 0 24px 24px; }
  body[data-page-v2="community"] .community-responsible .standard-art img { width: 100%; height: 100%; object-fit: cover; object-position: 31% center; }
  body[data-page-v2="community"] .community-responsible .standard-art::after { background: linear-gradient(0deg, #130403, transparent 38%); }
  body[data-page-v2="community"] .community-responsible .standard-layout > div:last-child,
  body[data-page-v2="community"] .community-responsible-layout .community-responsible-copy { width: min(100%, 620px); margin: 0 auto; padding: 26px 14px 35px; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; }
  body[data-page-v2="community"] .community-responsible-icon { display: none; }
  body[data-page-v2="community"] .community-responsible .v2-kicker { margin: 0 0 14px; color: #ffcc67; font-size: .72rem; letter-spacing: .2em; }
  body[data-page-v2="community"] .community-responsible h2 { max-width: 18ch; margin: 0 auto 15px; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.16 !important; }
  body[data-page-v2="community"] .community-responsible p:not(.v2-kicker) { max-width: 57ch; margin: 0 auto; color: #e8d6cd; font-size: .87rem; line-height: 1.6; }
  body[data-page-v2="community"] .community-responsible .standard-list { margin: 24px 0 18px; padding: 16px 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(255, 185, 68, .65); border-radius: 21px; background: linear-gradient(145deg, #3a0d08, #190503); }
  body[data-page-v2="community"] .community-responsible .standard-list article { min-width: 0; min-height: 162px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: none; }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(odd) { border-right: 1px solid rgba(255, 185, 68, .25); }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 185, 68, .25); }
  body[data-page-v2="community"] .community-responsible .standard-list article::before { content: "18+"; width: 62px; height: 62px; margin-bottom: 8px; display: grid; place-items: center; border: 3px solid #ffc862; border-radius: 50%; color: #ffd575; background: radial-gradient(circle, #a01812, #4a0b08); font-size: 1.13rem; font-weight: 900; box-shadow: 0 0 20px rgba(255, 146, 25, .28); }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(n+2)::before { content: ""; width: 72px; height: 72px; border: 0; border-radius: 0; background: center / contain no-repeat; box-shadow: none; }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(2)::before { background-image: url('../assets/guide-v20/guide-icon-clock.webp'); }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(3)::before { background-image: url('../assets/guide-v20/guide-icon-warning.webp'); }
  body[data-page-v2="community"] .community-responsible .standard-list article:nth-child(4)::before { background-image: url('../assets/guide-v20/guide-icon-support.webp'); }
  body[data-page-v2="community"] .community-responsible .standard-list strong { color: #fff4df; font-size: .82rem; line-height: 1.3; }
  body[data-page-v2="community"] .community-responsible .standard-list span { color: #e2cfc6; font-size: .72rem; line-height: 1.43; }
  body[data-page-v2="community"] .community-responsible .v2-btn-link { display: inline-flex; margin-top: 3px; font-size: .83rem; }
  body[data-page-v2="community"] .community-responsible + .v2-section.compact { padding: 4px 14px 45px !important; background: #130403; }
  body[data-page-v2="community"] .community-responsible + .v2-section.compact .v2-container { width: min(100%, 620px); text-align: center; }
  body[data-page-v2="community"] .community-responsible + .v2-section.compact .v2-kicker { margin-bottom: 17px; color: #ffce70; font-size: .73rem; letter-spacing: .18em; }
  body[data-page-v2="community"] .provider-rail { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; overflow: visible; border: 0; border-radius: 0; background: none; }
  body[data-page-v2="community"] .provider-rail span { min-width: 0; height: auto; min-height: 54px; padding: 9px 7px; border: 1px solid rgba(255, 184, 73, .43); border-radius: 13px; color: #f7e8d8; background: linear-gradient(145deg, rgba(59, 14, 9, .76), rgba(22, 5, 4, .87)); font-size: .72rem; letter-spacing: 0; }
  body[data-page-v2="community"] .provider-rail span:nth-child(n+5) { display: none; }
}

@media (max-width: 390px) {
  body[data-page-v2="community"] .global-header .brand-logo,
  body[data-page-v2="community"] .global-header .brand-logo img { width: 56px; height: 56px; flex-basis: 56px; }
  body[data-page-v2="community"] .global-header .verify-cta { padding-inline: 7px; font-size: .61rem; }
  body[data-page-v2="community"] .global-header .nav-actions .language-pill { padding-inline: 5px; }
  body[data-page-v2="community"] .community-hero { min-height: 800px; }
}
