/* Public desktop layout */
@media (min-width: 701px) {
  body { background: #fff; }
  .site-shell {
    --desktop-gutter: clamp(20px, 2.15vw, 42px);
    --desktop-strip-height: 44px;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: visible;
  }
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 72px auto;
    top: 0;
    height: auto;
    min-height: 0;
    padding: 0 var(--desktop-gutter);
    gap: 0 12px;
    border: 0;
    border-top: 3px solid var(--brand);
    border-radius: 0;
    background: rgb(255 255 255 / .98);
    border-bottom: 1px solid #ebe4e7;
    box-shadow: 0 6px 22px rgb(57 21 35 / .055);
  }
  .topbar > .header-menu-cluster, #side-navigation { display: none; }
  .mobile-app-social-strip:is(.has-mobile-items, [data-home-section="top-strip"]):not(.home-hidden-desktop) + .topbar {
    top: var(--desktop-strip-height);
  }
  .brand-logo { min-width: 0; grid-column: 1; grid-row: 1; justify-self: start; }
  .brand-logo img { width: 258px; height: 64px; max-width: 100%; object-fit: contain; object-position: left center; }
  .header-actions { grid-column: 2; grid-row: 1; justify-self: end; gap: 10px; }
  .header-actions .icon-button { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #eae1e5; border-radius: 11px; background: #fff; box-shadow: none; }
  .language-switcher { height: 38px; border: 1px solid #eae1e5; border-radius: 10px; background: #fbf8f9; box-shadow: none; }
  .language-switcher a { min-width: 35px; font-size: 12px; border-radius: 7px; }
  .desktop-section-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    min-width: 0;
    gap: 7px;
    padding-block: 9px 11px;
    border-top: 1px solid #f0e9ec;
  }
  .desktop-nav-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: clamp(5px, .6vw, 12px);
    min-width: 0;
  }
  .desktop-section-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    padding: 5px clamp(3px, .55vw, 10px);
    border: 1px solid #e6e6ec;
    border-radius: 8px;
    background: #f8f8fa;
    color: #36363d;
    font-size: clamp(.6875rem, 1.04vw, .875rem);
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
  }
  .desktop-section-nav a > span { min-width: 0; }
  .desktop-section-nav a:hover { border-color: #f4c8cf; color: var(--brand-deep); background: #fff6f7; }
  .desktop-section-nav a.active { border-color: #f2b9c2; color: var(--brand-deep); background: #fff0f2; box-shadow: inset 0 -2px var(--brand); }
  .desktop-section-nav a:focus-visible { outline-offset: -2px; }
  .header-search { left: var(--desktop-gutter); right: var(--desktop-gutter); top: var(--desktop-header-bottom, 132px); width: auto; max-width: 100%; border-radius: 4px; }
  .portal-main { width: 100%; max-width: none; min-width: 0; margin-inline: 0; padding: 24px var(--desktop-gutter) 40px; }
  .home-layout [data-home-section]:not([data-home-section="header"]):not([data-home-section="top-strip"]) {
    width: calc(100% - var(--desktop-gutter) * 2);
    max-width: none;
    margin-left: var(--desktop-gutter);
    margin-right: var(--desktop-gutter);
    min-width: 0;
  }
  .home-layout .state-picker { margin-top: 20px; margin-bottom: 20px; }
  .state-picker { grid-template-columns: 164px minmax(0, 1fr); gap: 0; padding: 0; margin: 0 0 24px; border: 1px solid #e4e4e9; border-radius: 3px; background: #fff; box-shadow: none; }
  .state-picker label { min-height: 44px; font-size: 12px; border-radius: 2px 0 0 2px; clip-path: none; background: #f8f8fa; color: #37373e; box-shadow: none; }
  .state-picker label .state-icon { color: var(--brand); }
  .state-picker .state-search { min-height: 44px; height: 44px; font-size: 14px; border-left: 1px solid #e4e4e9; border-radius: 0 2px 2px 0; box-shadow: none; }
  .state-options { max-height: min(360px, 55vh); }
  .state-options button { padding: 12px 16px; font-size: 14px; }
  .hero { display: grid; align-content: center; min-height: clamp(340px, 27vw, 460px); border: 0; border-radius: 0; background: radial-gradient(circle at 78% 25%, #fff 0 18%, transparent 42%), linear-gradient(135deg, #fff 0%, #fff7f8 55%, #ffe9ec 100%); box-shadow: none; }
  .site-shell.home-layout .hero[data-home-section="hero"] { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
  .hero-copy { width: 58%; padding: 34px 36px 34px var(--desktop-gutter); }
  .hero-content-slide.active { position: relative; inset: auto; }
  .hero h1 { max-width: 20ch; font-size: clamp(34px, 3.45vw, 60px); font-weight: 800; line-height: 1.13; letter-spacing: -.04em; overflow-wrap: anywhere; }
  .hero .eyebrow { max-width: 100%; padding: 6px 12px; margin-bottom: 15px; border: 0; border-radius: 999px; background: #fff5f5; color: var(--brand-deep); font-size: 11px; line-height: 1.6; font-weight: 800; letter-spacing: 0; text-transform: none; white-space: normal; box-shadow: none; }
  .hero-description { max-width: 56ch; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.7; margin: 18px 0 22px; color: #52535c; }
  .hero-media { width: 44%; right: 0; bottom: 0; height: 100%; }
  .hero-media:before, .hero-ribbon { display: block; }
  .hero-slide { object-fit: contain; object-position: center bottom; }
  .primary-button { min-height: 42px; padding: 11px 18px; font-size: 13px; border-radius: 3px; box-shadow: none; }
  .hero .primary-button { border-radius: 999px; }
  .home-layout .stats { margin-block: 16px; gap: 0; padding: 0; border: 0 !important; border-bottom: 1px solid #e4e4e9 !important; border-radius: 0 !important; background: #fff; box-shadow: none !important; }
  .stats article { min-width: 0; min-height: 78px; background: #fff; border-radius: 0; box-shadow: none; padding: 12px; }
  .stats .stat-icon { width: 28px; height: 28px; background: transparent; box-shadow: none; }.stats .stat-icon .icon { width: 22px; height: 22px; }
  .stats strong { font-size: 23px; }
  .stats span:last-child { font-size: 12px; line-height: 1.5; }
  .category-grid:not(.home-quick-buttons) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 4px 0; margin-bottom: 20px; border-bottom: 1px solid #e4e4e9; }
  .category-grid a { min-width: 0; min-height: 52px; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 13px; line-height: 1.5; }
  .category-grid a:hover { background: #fff6f7; color: var(--brand-deep); box-shadow: none; transform: none; }
  .category-grid .icon { width: 21px; height: 21px; flex: 0 0 21px; }
  .home-layout .breaking, .home-layout .latest-ticker { margin-block: 8px !important; }
  .breaking, .latest-ticker { height: 40px !important; border-radius: 0 !important; border-color: #e3e3e8 !important; background: #fff !important; box-shadow: none !important; }
  .ticker-label { border-radius: 0; }.breaking-label, .latest-ticker-label { border-radius: 0; }
  .breaking-track a, .latest-ticker-track a { font-size: 12px !important; }
  .home-layout .updates, .home-layout .home-rail, .home-layout .topper-showcase { margin-top: 32px; margin-bottom: 8px; }
  .section-heading { align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #222228; }
  .section-heading h2, .premium-heading h2 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.035em; }
  .premium-heading > div > span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.6; }
  .section-heading > a { flex-shrink: 0; font-size: 13px; gap: 6px; }
  .tabs { display: flex; gap: 6px; padding: 0; width: fit-content; max-width: 100%; margin-bottom: 8px; border: 0; border-radius: 0; background: #fff; overflow-x: auto; }
  .tabs a { flex: 0 0 auto; min-width: 76px; border: 0; border-bottom: 2px solid transparent; padding: 10px 16px; color: #61616b; font-size: 13px; border-radius: 0; }.tabs a.active { border-bottom-color: var(--brand); border-radius: 0; background: #fff; color: var(--brand-deep); }
  .updates-list { gap: 0 32px; margin-top: 0; }
  .update-card { min-width: 0; grid-template-columns: 64px minmax(0, 1fr) 16px; gap: 16px; padding: 20px 0; border: 0; border-bottom: 1px solid #e4e4e9; border-radius: 0; background: #fff; box-shadow: none; }
  .update-thumb { height: 64px; font-size: 10px; border-radius: 2px; background: #fff0f2; color: var(--brand-deep); }
  .update-copy { min-width: 0; }
  .update-copy h3 { font-size: 15px; line-height: 1.6; margin-bottom: 10px; overflow-wrap: anywhere; }
  .update-copy p { font-size: 11px; gap: 6px; line-height: 1.7; }
  .rail-scroll { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px; padding: 0 0 20px; }
  .rail-card { min-width: 0; min-height: 180px; padding: 0 0 0 20px; border: 0; border-left: 1px solid #e4e4e9; border-radius: 0; box-shadow: none; background: #fff; }.rail-card:nth-child(4n + 1) { padding-left: 0; border-left: 0; }.rail-card:hover { transform: none; box-shadow: none; }.rail-card > .rail-icon { display: none; }
  .rail-card h3 { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
  .rail-card > small, .rail-card time, .rail-view-count { font-size: 11px; line-height: 1.6; }
  .classplus-home-card { min-height: 0; display: flex; flex-direction: column; padding: 12px !important; border: 1px solid #e3e3e8 !important; border-radius: 4px !important; }
  .classplus-home-main { flex: 1; }
  .classplus-home-card .book-thumbnail { height: auto; aspect-ratio: 16 / 10; border-radius: 2px; box-shadow: none; }
  .classplus-home-card h3 { min-height: 3.2em; font-size: 15px; margin: 12px 0; }
  .book-card-meta { flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .book-card-meta > strong { font-size: 18px; }
  .rail-view-button { min-height: 38px; padding: 9px 14px; font-size: 12px; }
  .topper-card { flex-basis: 220px; width: 220px; border-radius: 3px; box-shadow: none; border-color: #e4e4e9; }
  .topper-card h3 { font-size: 14px; }.topper-card p { font-size: 12px; }
  .compact-page-head, .catalog-heading, .latest-page-head { margin: 4px 0 24px; }
  .compact-page-head, .latest-page-head { padding: 16px 0; border: 0; border-bottom: 2px solid #222228; border-radius: 0; background: #fff; box-shadow: none; }
  .compact-page-head h1, .catalog-heading h1 { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.3; }
  .news-category-filter { margin-bottom: 24px; padding: 6px 0; border: 0; border-bottom: 1px solid #e4e4e9; border-radius: 0; box-shadow: none; }.news-category-filter a { border-radius: 3px; box-shadow: none; }.news-category-filter > button { border-radius: 2px; }
  .news-category-filter a, .catalog-category-rail a { min-height: 40px; font-size: 13px; padding: 9px 16px; }
  .news-category-filter a small { font-size: 10px; }
  .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .content-card { min-width: 0; border: 0; border-bottom: 1px solid #e4e4e9; border-radius: 0; box-shadow: none; }
  .content-card-main { min-width: 0; grid-template-columns: minmax(0, 1fr) 16px; padding: 20px 0; gap: 14px; height: 100%; }.content-card-icon { display: none; }
  .content-card-main > div { min-width: 0; }
  .content-card h2 { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
  .content-card p { font-size: 13px; line-height: 1.75; }
  .content-card small, .content-type { font-size: 11px; line-height: 1.7; }
  .content-grid > .empty-panel { grid-column: 1 / -1; }
  .classplus-catalog-page { max-width: none; margin: 0; }
  .catalog-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .catalog-heading small { font-size: 11px; }.catalog-heading > span { font-size: 14px; }
  .catalog-section-title { gap: 16px; margin-block: 8px 22px; }.catalog-section-title h2 { font-size: 24px; }.catalog-section-title p { font-size: 13px; }
  .catalog-product-card { border-radius: 4px; box-shadow: none; transition: border-color .2s ease; }
  .catalog-product-card:hover { border-color: #f5b4bc; box-shadow: none; }
  .catalog-product-image { aspect-ratio: 16 / 11; }.catalog-product-body { padding: 18px 18px 12px; }
  .catalog-product-body h2 { min-height: 3em; margin: 12px 0 10px; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
  .catalog-product-body small { font-size: 12px; }.classplus-badges b { font-size: 10px; padding: 5px 8px; }
  .catalog-product-card footer { padding: 16px 18px 18px; }.catalog-product-card footer > a { min-height: 44px; font-size: 13px; border-radius: 3px; }
  .catalog-price strong { font-size: 22px; }
  .catalog-detail-page { width: 100%; max-width: none; margin: 0; padding-bottom: 48px; }
  .catalog-detail-page > .classplus-tabs { top: 126px; padding-top: 12px; z-index: 4; }
  .classplus-tabs button { padding: 16px 20px; font-size: 13px; font-weight: 700; }
  .classplus-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(24px, 3vw, 48px); }
  .classplus-main-panel { padding: 0; }.course-title-block h1 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.4; }
  .course-title-block p { font-size: 15px; line-height: 1.8; }.course-title-block > span { font-size: 12px; }
  .classplus-content-panel, .classplus-benefits, .course-outline-public { padding: 24px; border-radius: 14px; margin-block: 24px; }
  .classplus-content-panel h2, .classplus-benefits h2, .course-outline-public h2 { font-size: 19px; }
  .classplus-benefits > div { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }.classplus-benefits span { font-size: 13px; }
  .classplus-purchase-card { top: 194px; border-radius: 4px; box-shadow: none; }.classplus-purchase-card > div { padding: 22px; }
  .classplus-purchase-card h2 { font-size: 17px; line-height: 1.6; }.classplus-purchase-card p { font-size: 13px; }
  .classplus-price { font-size: 26px; margin-block: 20px; }.classplus-buy-large { font-size: 14px; }
  .article-detail { max-width: 960px; padding: 28px 0 48px; }
  .article-detail > h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .article-meta { flex-wrap: wrap; gap: 10px; font-size: 12px; }.article-lead { font-size: 18px; line-height: 1.8; }
  .article-content { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
  .article-featured-image { max-height: 520px; object-fit: contain; background: #f7f7f9; }
  .attachment-card { gap: 16px; flex-wrap: wrap; }.attachment-card strong { overflow-wrap: anywhere; }
  .latest-page-head h1 { font-size: 34px; }.latest-page-head p { font-size: 14px; line-height: 1.7; }
  .latest-category-links a { font-size: 13px; padding: 10px 18px; }.latest-full-list { gap: 12px; }
  .latest-list-item { padding: 20px 0; grid-template-columns: 88px minmax(0, 1fr) 24px; gap: 20px; border: 0; border-bottom: 1px solid #e4e4e9; border-radius: 0; background: #fff; box-shadow: none; }.latest-list-item:hover { transform: none; box-shadow: none; }.latest-list-item.latest-list-new { border-left: 0; background: #fff; }
  .latest-list-visual { width: 88px; height: 72px; border-radius: 2px; }.latest-list-content > strong { font-size: 17px; line-height: 1.55; }
  .latest-list-content > p { font-size: 13px; }.latest-list-content > small { font-size: 11px; }.latest-list-top > b { font-size: 11px; }
  .toppers-directory-grid { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 20px; }
  .topper-directory-card h2 { font-size: 16px; }.topper-directory-card p { font-size: 13px; }.topper-card-state { font-size: 11px; }
  .account-page { max-width: none; margin: 0; }.account-identity { min-width: 0; }.account-meta { flex-wrap: wrap; }
  .student-auth-card { padding: 28px 36px 36px; }.student-auth-tabs a { font-size: 13px; padding: 12px; }
  .student-auth-form { gap: 18px; }.student-auth-form label span, .account-profile-form label > span { font-size: 13px; }
  .student-auth-form input, .account-profile-form input { height: 48px; font-size: 14px; border-radius: 9px; }.student-auth-form button, .account-profile-form button { min-height: 46px; font-size: 14px; border-radius: 9px; }
  .account-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }.account-grid a { min-width: 0; padding: 24px 20px; }.account-grid span { min-width: 0; }.account-grid strong { font-size: 14px; }.account-grid small { font-size: 12px; line-height: 1.7; }
  .search-hero { padding: 32px; margin: 4px 0 28px; border: 1px solid #f4e0e4; border-radius: 18px; }.search-hero h1 { font-size: 32px; line-height: 1.4; }.search-hero > p { font-size: 11px; }.search-hero form { grid-template-columns: minmax(0, 1fr) 54px; max-width: 960px; }.search-hero label { min-width: 0; }.search-hero input { font-size: 15px; }.search-hero button { width: 54px; padding: 0; }
  .static-page { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 4vw, 64px); }.static-page-copy { font-size: 16px; line-height: 1.9; }
  .portal-footer { margin-top: 40px; padding: 32px 0; border-top: 1px solid #e4e4e9; border-radius: 0; background: #fff; }.portal-footer small { font-size: 12px; line-height: 1.8; }.portal-footer nav a { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .site-shell:has(> .static-page-shell), .static-page-shell, .static-page-main {
    display: flex;
    flex-direction: column;
  }
  .static-page-shell, .static-page-main { flex: 1; }
  .static-page-main { padding: 0; }
  .site-shell .static-page-main .portal-footer { margin-block-start: auto; }
  .site-shell.home-footer-last .portal-footer[data-home-section="footer"] { margin-block-start: auto; }
  .site-shell .mobile-app-social-strip.has-mobile-items,
  .site-shell.home-layout .mobile-app-social-strip {
    position: sticky;
    z-index: 46;
    top: 0;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 28px);
    flex: 0 0 auto;
    height: var(--desktop-strip-height);
    padding: 0 var(--desktop-gutter);
    box-shadow: none;
  }
  .site-shell .mobile-strip-content {
    flex: 1 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(12px, 2vw, 28px);
  }
  .site-shell .mobile-strip-content :is(.mobile-strip-stores, .header-strip-socials) {
    gap: 6px;
    margin: 0;
  }
  .site-shell .mobile-strip-content .mobile-strip-helpline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 8px;
    border: 1px solid #eee2e8;
    border-radius: 7px;
    background: #fbf7f9;
    text-decoration: none;
  }
  .mobile-strip-helpline .strip-helpline-icon {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #9a0c30;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-strip-helpline > span { display: flex; align-items: baseline; gap: 5px; }
  .mobile-strip-helpline small { color: #635861; }
  .mobile-app-social-strip:not(.home-hidden-desktop):has(.header-strip-socials) ~ .site-social-rail { display: none; }
  .desktop-strip-label {
    display: inline;
    margin-inline-end: 3px;
    color: #45454e;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  .home-layout .home-desktop-announcement {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }
  .home-desktop-announcement :is(a, span) {
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #ed1025; outline-offset: 4px; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .site-shell { --desktop-gutter: 20px; }
  .rail-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .category-grid:not(.home-quick-buttons) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail-card:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .classplus-detail-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .classplus-purchase-card > div { padding: 16px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .site-shell { --desktop-gutter: 20px; }
  .topbar { gap: 0 12px; }.brand-logo img { width: 240px; height: 56px; }
  .hero { min-height: 300px; }.hero-copy { width: 60%; padding: 28px 28px 28px var(--desktop-gutter); }.hero h1 { font-size: 32px; }.hero-description { font-size: 13px; }.hero-media { right: 0; width: 40%; }
  .category-grid:not(.home-quick-buttons) { grid-template-columns: repeat(3, minmax(0, 1fr)); }.category-grid a { padding-inline: 10px; font-size: 12px; }
  .updates-list { grid-template-columns: minmax(0, 1fr); }
  .catalog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-card-main { padding: 18px 0; }
  .classplus-detail-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; }
  .classplus-content-panel, .classplus-benefits, .course-outline-public { padding: 18px; }
}

@media (min-width: 1024px) {
  .latest-full-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
  .latest-full-list > .empty-panel { grid-column: 1 / -1; }
  .latest-list-content { min-width: 0; overflow-wrap: anywhere; }
}

@media (min-width: 701px) and (max-width: 800px) {
  .topbar { padding-inline: 11px; }
}

@media (min-width: 1200px) {
  .site-shell.home-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-items: start;
  }
  .home-layout [data-home-section] { grid-column: 1 / -1; }
  .home-layout .home-feed-paired[data-home-section] { grid-column: span 1; }
  .site-shell.home-footer-last .portal-footer[data-home-section="footer"] {
    align-self: end;
    margin-block-start: 40px;
  }
}
