/* Upright, equally weighted monthly plans; Stream Pass stays a single bar. */
#gb-pricing.apartment-pricing {
  --ap-ink: #000;
  --ap-paper: #fff;
  --ap-line: #dedee4;
  --ap-green: #08713c;
  --ap-purple: #7425cc;
  --ap-blue: #1756b5;
  position: relative;
  z-index: 1;
  padding: 26px 24px 54px !important;
  background: var(--ap-paper) !important;
  color: var(--ap-ink);
  scroll-margin-top: 0;
}
.apartment-pricing *,
.apartment-pricing *::before,
.apartment-pricing *::after { box-sizing: border-box; }
.ap-pricing-inner { max-width: 1240px; margin: 0 auto; }
.ap-pricing-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.ap-pricing-heading h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -1px; font-weight: 400; color: var(--ap-ink); }
.ap-pricing-heading p { max-width: 265px; margin: 0 0 4px; color: var(--ap-ink); font-size: 11px; line-height: 1.8; }
.ap-pricing-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.ap-offer,
.ap-plan { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 3px solid var(--ap-ink); border-radius: 20px; background: var(--ap-paper); }
.ap-plan--pro { border-color: #9146ff; }
.ap-offer-heading,
.ap-plan-heading { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 10px; }
.ap-plan-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; gap: 8px 12px; }
.ap-offer h3,
.ap-plan h3,
.ap-pass h3 { margin: 0; font-weight: 400; line-height: 1.25; color: var(--ap-ink); }
.ap-offer h3,
.ap-plan h3 { font-size: 25px; }
.ap-offer-label,
.ap-popular { max-width: 135px; font-size: 9px; line-height: 1.5; text-align: right; }
.ap-offer-label { color: var(--ap-green); }
.ap-popular { color: var(--ap-purple); }
.ap-offer-price,
.ap-plan-price { display: flex; align-items: center; height: 94px; flex: 0 0 94px; margin: 8px 0 0; line-height: 1; white-space: nowrap; }
.ap-offer-price { gap: 3px; color: var(--ap-green); }
.ap-offer-price .ap-currency { align-self: flex-start; margin-top: 17px; font-size: 34px; }
.ap-offer-price strong { font-size: 92px; line-height: 1; font-weight: 400; letter-spacing: -5px; }
.ap-offer-term { margin-left: 18px; color: var(--ap-ink); font-size: 18px; line-height: 1.45; }
.ap-plan-price { gap: 5px; color: var(--ap-purple); font-size: clamp(38px, 3.7vw, 50px); letter-spacing: -1.7px; }
.ap-plan-price span { align-self: center; margin-top: 17px; color: var(--ap-ink); font-size: 12px; letter-spacing: 0; }
.ap-plan--elite .ap-plan-price { color: var(--ap-blue); }
.ap-plan-intro { min-height: 54px; padding: 3px 0 10px; }
.ap-offer-renewal,
.ap-offer-eligibility,
.ap-plan-summary { margin: 0; color: var(--ap-ink); }
.ap-offer-eligibility { margin-top: 4px; }
:is(#product-world,.apartment-portal-page) :is(.ap-offer-renewal,.ap-plan-summary) { font: 600 14px/1.5 system-ui,sans-serif !important; }
:is(#product-world,.apartment-portal-page) .ap-offer-eligibility { font: 500 12px/1.5 system-ui,sans-serif !important; }
.ap-offer-facts,
.ap-plan-facts { display: grid; align-content: center; gap: 9px; min-height: 116px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
.ap-offer-facts > div,
.ap-plan-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ap-offer-facts dt,
.ap-plan-facts dt { color: var(--ap-ink); font: 600 13px/1.5 system-ui,sans-serif; }
.ap-offer-facts dd,
.ap-plan-facts dd { flex: none; margin: 0; color: var(--ap-ink); font-size: 18px; line-height: 1.3; text-align: right; }
.ap-offer-facts dd span,
.ap-plan-facts dd span { font-size: 10px; }
.ap-offer-features,
.ap-plan-perks { display: grid; gap: 8px; min-width: 0; list-style: none; margin: 0 0 18px; padding: 0; }
:is(#product-world,.apartment-portal-page) :is(.ap-offer-features,.ap-plan-perks) li { position: relative; padding-left: 19px; color: var(--ap-ink); font: 600 14px/1.5 system-ui,sans-serif !important; }
.ap-offer-features li::before,
.ap-plan-perks li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ap-green); }
.ap-plan-perks li::before { background: var(--ap-purple); }
.ap-plan--elite .ap-plan-perks li::before { background: var(--ap-blue); }
:is(#product-world,.apartment-portal-page) .ap-branding-note { color: var(--ap-ink); font: 500 12px/1.5 system-ui,sans-serif !important; }
:is(#product-world,.apartment-portal-page) .ap-offer-features .ap-branding-note { padding-left: 0; margin-top: 1px; }
.ap-offer-features .ap-branding-note::before { display: none; }
.ap-plan-bottom { display: flex; flex: 1; flex-direction: column; }
.ap-pricing-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 2px solid var(--ap-ink); border-radius: 9px; color: var(--ap-ink); background: var(--ap-paper); font-size: 11px; line-height: 1.6; text-align: center; text-decoration: none; transition: background-color 140ms ease, border-color 140ms ease; }
.ap-pricing-action:hover { background: #f2f2f5; }
.ap-pricing-action:focus-visible,
.ap-pricing-billing a:focus-visible { outline: 3px solid #1756b5; outline-offset: 4px; }
.ap-offer > .ap-pricing-action,
.ap-plan-bottom > .ap-pricing-action { width: 100%; margin-top: auto; }
.ap-offer .ap-pricing-action { background: var(--ap-green); border-color: var(--ap-green); color: #fff; }
.ap-offer .ap-pricing-action:hover { background: #06572e; border-color: #06572e; }
.ap-plan--pro .ap-pricing-action { color: var(--ap-purple); border-color: #9146ff; background: #fff; }
.ap-plan--pro .ap-pricing-action:hover { border-color: var(--ap-purple); box-shadow: inset 0 0 0 1px var(--ap-purple); }

.ap-pass { display: grid; grid-template-columns: 1.05fr auto 1.55fr auto; align-items: center; gap: 26px; margin-top: 22px; padding: 18px 22px; border: 3px solid var(--ap-ink); border-radius: 14px; color: var(--ap-ink); background: var(--ap-paper); }
.ap-pass h3 { font-size: 20px; }
.ap-pass-caption { margin: 6px 0 0; color: var(--ap-ink); font-size: 9px; line-height: 1.7; }
.ap-pass-price { margin: 0; padding-right: 27px; border-right: 1px dashed #919198; color: var(--ap-ink); font-size: 28px; line-height: 1.2; }
.ap-pass-price span { display: block; margin-top: 5px; font-size: 9px; line-height: 1.7; }
.ap-pass-features { display: flex; flex-wrap: wrap; gap: 7px 17px; margin: 0; padding: 0; list-style: none; font-size: 10px; line-height: 1.8; color: var(--ap-ink); }
.ap-pass-features li:first-child { width: 100%; font-size: 13px; }
.ap-pass-features .ap-branding-note { flex-basis: 100%; }
.ap-pass .ap-pricing-action { white-space: nowrap; }

/* Keep the channel CTA close, and the existing billing note outside the cards. */
#gb-streams.landing-channels { padding-bottom: 32px; }
.ap-pricing-billing { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; width: 100%; max-width: none; margin: 0; padding: 18px 24px; border-top: 1px solid #0002; color: #000; font-size: 10px; line-height: 1.7; text-align: left; }
.ap-pricing-billing a { color: #7425cc; text-decoration: underline; text-underline-offset: 3px; }
.ap-pricing-billing .ap-billing-compare { flex: none; margin: 0; white-space: nowrap; }

@media (max-width: 1100px) and (min-width: 901px) {
  .ap-pricing-board { gap: 16px; }
  .ap-offer,.ap-plan { padding: 20px 18px; }
  .ap-offer-heading { flex-wrap: wrap; align-content: center; }
  .ap-offer-label { max-width: none; text-align: left; }
  .ap-offer-heading,.ap-plan-heading { min-height: 60px; }
  .ap-plan-title { align-items: start; flex-direction: column; gap: 4px; }
  .ap-offer-term { margin-left: 12px; font-size: 16px; }
  .ap-plan-price { font-size: 39px; }
  .ap-plan-facts dd { font-size: 16px; }
  .ap-plan-facts dt { font-size: 12px; }
  :is(#product-world,.apartment-portal-page) :is(.ap-offer-features,.ap-plan-perks) li { font-size: 13px !important; }
}
@media (max-width: 1100px) {
  .ap-pass { grid-template-columns: 1.2fr auto 1.4fr; gap: 20px; }
  .ap-pass > div:first-child { grid-row: 1 / span 2; }
  .ap-pass-price { grid-column: 2; grid-row: 1 / span 2; }
  .ap-pass-features { grid-column: 3; grid-row: 1; }
  .ap-pass .ap-pricing-action { grid-column: 3; justify-self: start; }
}
@media (max-width: 900px) {
  .ap-pricing-board { grid-template-columns: 1fr; gap: 22px; }
  .ap-pricing-inner { max-width: 600px; }
  .ap-pricing-heading { align-items: start; gap: 16px; }
  .ap-pricing-heading p { max-width: 220px; font-size: 9px; }
  .ap-offer,.ap-plan { padding: 22px; }
  .ap-offer-price,.ap-plan-price { height: 94px; flex-basis: 94px; }
  .ap-plan-price { font-size: 48px; }
  .ap-plan-intro { min-height: 0; padding-bottom: 14px; }
  .ap-offer-facts,.ap-plan-facts { min-height: 0; }
  .ap-offer-features,.ap-plan-perks { margin-bottom: 18px; }
  .ap-pricing-billing { flex-wrap: wrap; padding: 18px 20px; gap: 10px; }
}
@media (max-width: 760px) {
  #gb-pricing.apartment-pricing { padding: 20px 16px 44px !important; }
  .ap-pricing-heading { display: block; margin-bottom: 24px; }
  .ap-pricing-heading h2 { font-size: 30px; letter-spacing: -.6px; }
  .ap-pricing-heading p { max-width: 440px; margin: 12px 0 0; font-size: 10px; }
  .ap-pass { grid-template-columns: 1fr auto; gap: 14px; padding: 18px 22px; }
  .ap-pass > div:first-child { grid-column: 1; grid-row: 1; }
  .ap-pass-price { grid-column: 2; grid-row: 1; border: 0; padding: 0; text-align: right; }
  .ap-pass-features { grid-column: 1 / -1; grid-row: 2; border-top: 1px dashed #919198; padding-top: 12px; }
  .ap-pass .ap-pricing-action { grid-column: 1 / -1; justify-self: stretch; }
  #gb-streams.landing-channels { padding-bottom: 26px; }
}
@media (max-width: 380px) {
  .ap-offer,.ap-plan { padding: 20px 18px; }
  .ap-offer h3,.ap-plan h3 { font-size: 23px; }
  .ap-offer-label { max-width: 115px; font-size: 8px; }
  .ap-offer-term { font-size: 16px; margin-left: 14px; }
  .ap-plan-price { font-size: 43px; }
  .ap-pass { padding: 18px; gap: 12px; }
  .ap-pass h3 { font-size: 17px; }
  .ap-pass-price { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ap-pricing-action { transition: none; } }
