/* Versioned separately with the gallery entry. Solid CSS supports Edge 100. */
@media (min-width: 1600px) {
    #xl-plan-gallery .pg-wrap { max-width: 1160px; }
    #xl-plan-gallery .pg-hero-inner { min-height: 450px; }
    #xl-plan-gallery .pg-hero-art { width: 840px; right: -170px; }
    #xl-plan-gallery .pg-title { font-size: 51px; }
    #xl-plan-gallery .pg-card { padding: 32px 28px 27px; }
    #xl-plan-gallery .pg-card--local { padding: 25px 0 20px; }
}
@media (max-width: 1100px) {
    #xl-plan-gallery .pg-wrap { width: calc(100% - 64px); }
    #xl-plan-gallery .pg-hero-inner { min-height: 360px; }
    #xl-plan-gallery .pg-title { font-size: 37px; }
    #xl-plan-gallery .pg-title--batch { font-size: 31px; }
    #xl-plan-gallery .pg-description { max-width: 330px; font-size: 14px; }
    #xl-plan-gallery .pg-hero-art { width: 650px; right: -165px; }
    #xl-plan-gallery .pg-grid { gap: 16px; }
    #xl-plan-gallery .pg-card { padding: 27px 16px 20px; }
    #xl-plan-gallery .membership-card-title { font-size: 19px; }
    #xl-plan-gallery .membership-price { font-size: 38px; }
    #xl-plan-gallery .membership-benefit-list li { font-size: 12px; }
    #xl-plan-gallery .pg-card--local { padding: 22px 0 17px; gap: 7px 24px; }
    #xl-plan-gallery .pg-card--local .membership-card-title { font-size: 25px; }
    #xl-plan-gallery .pg-card--local .membership-benefit-list li { font-size: 13px; }
}
@media (max-width: 760px) {
    body.plan-gallery-active .header { height: 64px !important; min-height: 64px; background: #111111 !important; background: var(--pg-bg) !important; border-bottom: 1px solid var(--pg-line); box-shadow: none !important; }
    body.plan-gallery-active .header .loarea { height: 64px; min-height: 64px; background: transparent !important; }
    body.plan-gallery-active .header .loarea > .wp { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: none; height: 64px; padding: 0 16px !important; margin: 0; }
    body.plan-gallery-active .header .logo { position: static !important; display: flex !important; align-items: center; flex: 0 1 auto; width: auto !important; height: auto !important; min-width: 0; margin: 0 !important; }
    body.plan-gallery-active .header .logo img { width: 32px !important; height: 32px !important; flex: 0 0 32px; object-fit: contain; }
    body.plan-gallery-active .header .logo-text { display: inline !important; font-size: 21px !important; line-height: 1.2 !important; letter-spacing: .02em !important; margin-left: 8px !important; white-space: nowrap; }
    body.plan-gallery-active .header .nav { display: none !important; }
    body.plan-gallery-active .header .loginArea { position: static !important; display: flex !important; align-items: center; width: auto !important; height: auto !important; margin: 0 0 0 auto !important; padding: 0 !important; }
    body.plan-gallery-active .header .loginArea > .headerContactCsBadge,
    body.plan-gallery-active .header .loginArea > .headerAssetBadge,
    body.plan-gallery-active .header .loginArea > .langSwitch,
    body.plan-gallery-active .header .loginArea > .theme-toggle { display: none !important; }
    body.plan-gallery-active .header .loginArea .loginBtn { min-width: 64px !important; min-height: 36px !important; height: 36px !important; padding: 7px 14px !important; font-size: 14px !important; line-height: 22px !important; border-radius: 7px !important; margin: 0 !important; }
    body.plan-gallery-active .header .menubtn { position: relative !important; top: auto !important; right: auto !important; left: auto !important; bottom: auto !important; min-width: 32px !important; min-height: 36px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px !important; height: 36px !important; margin: 0 !important; padding: 5px !important; transform: none !important; }
    body.plan-gallery-active .header .menubtn i { position: static !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; flex: 0 0 2px; width: 20px !important; height: 2px !important; margin: 2px 0 !important; background: var(--pg-gold) !important; box-shadow: none !important; }
    #xl-plan-gallery .pg-wrap { width: calc(100% - 40px); }
    #xl-plan-gallery .pg-hero-inner { display: flex; flex-direction: column; min-height: 0; }
    #xl-plan-gallery .pg-hero-copy { width: 100%; padding: 38px 0 8px; text-align: center; }
    #xl-plan-gallery .pg-title { font-size: 36px; letter-spacing: -.035em; }
    #xl-plan-gallery .pg-title--batch { max-width: 560px; margin: auto; font-size: 30px; }
    #xl-plan-gallery .pg-description { margin: 17px auto 0; max-width: 440px; font-size: 14px; }
    #xl-plan-gallery .pg-hero-art { position: relative; width: 115%; max-width: 640px; right: auto; bottom: auto; margin: 0 -7.5%; }
    #xl-plan-gallery .pg-hero-art::after { background: linear-gradient(90deg, var(--pg-bg), transparent 15%, transparent 92%, var(--pg-bg)); }
    #xl-plan-gallery .pg-group--credits { padding-top: 33px; }
    #xl-plan-gallery .pg-group-heading { margin-bottom: 22px; }
    #xl-plan-gallery .pg-group-heading h2 { font-size: 24px; }
    #xl-plan-gallery .pg-grid { grid-template-columns: 1fr; gap: 24px; max-width: 460px; margin: auto; }
    #xl-plan-gallery .pg-card { padding: 28px 24px 24px; }
    #xl-plan-gallery .membership-card-title { font-size: 22px; }
    #xl-plan-gallery .membership-price { font-size: 42px; }
    #xl-plan-gallery .membership-price-unit { font-size: 20px; }
    #xl-plan-gallery .membership-old-price { font-size: 15px; }
    #xl-plan-gallery .pg-quota { font-size: 23px; }
    #xl-plan-gallery .pg-validity { font-size: 14px; }
    #xl-plan-gallery .membership-benefit-list li { font-size: 14px; }
    #xl-plan-gallery .membership-btn { min-height: 46px; font-size: 15px; }
    #xl-plan-gallery .membership-btn--ghost { font-size: 14px; }
    #xl-plan-gallery .membership-ribbon, #xl-plan-gallery .membership-activity-strip { font-size: 12px; min-height: 24px; }
    #xl-plan-gallery .pg-card--local { display: flex; gap: 0; padding: 24px 0 20px; max-width: none; }
    #xl-plan-gallery .pg-group--local .pg-grid { max-width: none; }
    #xl-plan-gallery .pg-card--local .pg-card-heading { display: flex; justify-content: center; text-align: center; gap: 6px 15px; }
    #xl-plan-gallery .pg-card--local .pg-eyebrow { font-size: 10px; }
    #xl-plan-gallery .pg-card--local .membership-card-title { font-size: 26px; }
    #xl-plan-gallery .pg-card--local .membership-price { font-size: 32px; }
    #xl-plan-gallery .pg-card--local .pg-entitlements { margin: 14px 0 0; text-align: center; }
    #xl-plan-gallery .pg-card--local .membership-benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 14px; text-align: center; }
    #xl-plan-gallery .pg-card--local .membership-benefit-list li { font-size: 14px; line-height: 1.7; }
    #xl-plan-gallery .pg-card--local .membership-benefit-list li + li::before { content: none; }
    #xl-plan-gallery .pg-card--local .membership-actions { width: 100%; max-width: 420px; align-self: center; margin-top: 20px; }
    #xl-plan-gallery .pg-card--local .pg-card-notices { margin: 10px auto 0; text-align: center; }
    #xl-plan-gallery .pg-card--local .membership-activity-strip { min-height: 18px; font-size: 12px; }
    #xl-plan-gallery .pg-closing { margin-top: 34px; padding: 20px 0 26px; font-size: 13px; }
    body.plan-gallery-active .membership-pay-dialog { width: calc(100% - 24px); max-width: 1020px; max-height: calc(100vh - 24px); }
}
@media (max-width: 390px) {
    #xl-plan-gallery .pg-wrap { width: calc(100% - 32px); }
    #xl-plan-gallery .pg-title { font-size: 30px; }
    #xl-plan-gallery .pg-title--batch { font-size: 27px; }
    #xl-plan-gallery .pg-description { font-size: 14px; }
    #xl-plan-gallery .pg-card { padding-left: 18px; padding-right: 18px; }
    #xl-plan-gallery .pg-card--local { padding-left: 0; padding-right: 0; }
    #xl-plan-gallery .pg-card--local .membership-benefit-list { grid-template-columns: 1fr; gap: 5px; }
}
