/* Compact top-level overview pages: Office generations and platforms. */

body:has(main.overview-hub-page) {
  --page-app-accent: var(--catalog-office-brand);
  background: #fbfcfd;
}

/* Download-intent hubs: one visual system, four distinct user decisions. */
body:has(main.office-download-hub) {
  --page-app-accent: var(--catalog-office-brand);
  background: #fbfcfd;
}

.hero-intent-kicker {
  margin: 0 0 8px !important;
  color: #a83208 !important;
  font-size: 10px !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase;
}

.hero-intent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.hero-intent-action {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  color: #344149;
  border: 1px solid rgba(45, 58, 68, .18);
  border-radius: 4px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 16px rgba(42, 53, 61, .06);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
}

.hero-intent-action.primary {
  color: #fff;
  border-color: #b53004;
  background: var(--catalog-office-brand);
  box-shadow: 0 8px 18px rgba(183, 49, 3, .18);
}

.hero-intent-action:hover,
.hero-intent-action:focus-visible {
  color: #8e2908;
  border-color: rgba(var(--catalog-office-brand-rgb), .34);
  outline: none;
  transform: translateY(-1px);
}

.hero-intent-action.primary:hover,
.hero-intent-action.primary:focus-visible {
  color: #fff;
  border-color: #962700;
  background: #b93205;
}

.hero-intent-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 11px 0 0 !important;
  color: #66736c !important;
  font-size: 10.5px !important;
  line-height: 1.45 !important;
}

.hero-intent-note > span {
  display: grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #fff;
  border-radius: 50%;
  background: #0f7a49;
  font-size: 10px;
  font-weight: 800;
}


.office-versions-page .hero.hero-second-screen .hero-heading-support,
.app-detail-page--apps .apps-hub-hero .hero-heading-support {
  align-self: start;
}

.download-hub-hero {
  --hub-accent: var(--catalog-office-brand);
  --hub-accent-rgb: var(--catalog-office-brand-rgb);
  position: relative;
  overflow: hidden;
  color: #1f2b31;
  border-bottom: 1px solid rgba(48, 61, 69, .1);
  background:
    radial-gradient(700px 420px at 5% 12%, rgba(var(--catalog-office-brand-rgb), .105), transparent 70%),
    radial-gradient(520px 360px at 94% 18%, rgba(255, 180, 112, .12), transparent 72%),
    linear-gradient(135deg, #fffaf7 0%, #fff 50%, #f7fafc 100%);
}

.download-hub-hero::before,
.download-hub-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.download-hub-hero::before {
  top: -270px;
  right: -150px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(var(--hub-accent-rgb), .1);
  border-radius: 50%;
}

.download-hub-hero::after {
  right: 180px;
  bottom: 98px;
  width: 230px;
  height: 230px;
  border: 1px dashed rgba(46, 62, 71, .08);
  border-radius: 50%;
}

.download-hub-hero .catalog-breadcrumbs {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  padding-top: 22px;
  padding-bottom: 0;
}

.download-hub-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: 70px;
  padding-top: 38px;
  padding-bottom: 48px;
}

.download-hub-copy {
  max-width: 680px;
}

.download-hub-kicker,
.hub-section-heading .section-label {
  margin: 0 0 10px;
  color: #ad3007;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: .105em;
}

.download-hub-copy h1 {
  color: #17242a;
}

.download-hub-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: #5f6d74;
  font-size: 16px;
  line-height: 1.65;
}

.download-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.download-hub-primary,
.download-hub-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid rgba(43, 57, 66, .17);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 740;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.download-hub-primary {
  color: #fff;
  border-color: #b73104;
  background: var(--catalog-office-brand);
  box-shadow: 0 12px 24px rgba(178, 48, 3, .18);
}

.download-hub-secondary {
  color: #334149;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(46, 58, 67, .07);
}

.download-hub-primary:hover,
.download-hub-primary:focus-visible,
.download-hub-secondary:hover,
.download-hub-secondary:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.download-hub-primary:hover,
.download-hub-primary:focus-visible {
  color: #fff;
  border-color: #962700;
  background: #b93205;
}

.download-hub-secondary:hover,
.download-hub-secondary:focus-visible {
  color: #962b07;
  border-color: rgba(var(--catalog-office-brand-rgb), .33);
}

.download-hub-safety {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 620px;
  margin: 16px 0 0;
  color: #66746d;
  font-size: 11px;
  line-height: 1.55;
}

.download-hub-safety > span {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #fff;
  border-radius: 50%;
  background: #0f7a49;
  font-size: 10px;
  font-weight: 800;
}

.download-hub-board {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(48, 62, 72, .14);
  border-radius: 6px;
  background: rgba(255, 255, 255, .9);
  box-shadow:
    0 24px 55px rgba(47, 57, 64, .12),
    inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.download-hub-board > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 3px 14px;
  border-bottom: 1px solid rgba(49, 62, 70, .1);
}

.download-hub-board-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border: 1px solid rgba(var(--hub-accent-rgb), .13);
  border-radius: 4px;
  background: #fff8f4;
}

.download-hub-board-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.download-hub-board > header strong,
.download-hub-board > header small {
  display: block;
}

.download-hub-board > header strong {
  color: #28353c;
  font-size: 14px;
}

.download-hub-board > header small {
  margin-top: 3px;
  color: #738088;
  font-size: 10.5px;
  line-height: 1.35;
}

.download-hub-options {
  display: grid;
  gap: 9px;
  padding-top: 12px;
}

.download-hub-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 12px;
  color: #26343b;
  border: 1px solid rgba(48, 62, 71, .11);
  border-left: 3px solid rgba(var(--hub-accent-rgb), .7);
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.download-hub-option:hover,
.download-hub-option:focus-visible {
  color: #26343b;
  border-color: rgba(var(--hub-accent-rgb), .28);
  box-shadow: 0 10px 24px rgba(57, 62, 66, .08);
  outline: none;
  transform: translateY(-1px);
}

.download-hub-option--subscription { border-left-color: #5b5fc7; }
.download-hub-option--windows { border-left-color: #0878be; }
.download-hub-option--macos { border-left-color: #303940; }
.download-hub-option--mobile { border-left-color: #15945a; }
.download-hub-option--web { border-left-color: #5b5fc7; }

.download-hub-option-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 63, 72, .1);
  border-radius: 4px;
  background: #f8fafb;
}

.download-hub-option-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.download-hub-option-copy small,
.download-hub-option-copy strong,
.download-hub-option-copy em {
  display: block;
  font-style: normal;
}

.download-hub-option-copy small {
  margin-bottom: 2px;
  color: #a83208;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.download-hub-option-copy strong {
  color: #243139;
  font-size: 15px;
  line-height: 1.2;
}

.download-hub-option-copy em {
  margin-top: 4px;
  color: #718087;
  font-size: 10.5px;
  line-height: 1.4;
}

.download-hub-option-action {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 118px;
  color: #a63008;
  font-size: 10px;
  font-weight: 740;
  line-height: 1.25;
  text-align: right;
}

.download-hub-option-action b {
  font-size: 14px;
  font-weight: 500;
}

.download-hub-board--platforms .download-hub-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-hub-board--platforms .download-hub-option {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-height: 132px;
}

.download-hub-board--platforms .download-hub-option-action {
  grid-column: 2;
  max-width: none;
  text-align: left;
}

.download-hub-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 17px;
  padding-bottom: 19px;
  border-top: 1px solid rgba(49, 63, 72, .1);
  list-style: none;
}

.download-hub-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 24px;
}

.download-hub-steps li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(49, 63, 72, .1);
}

.download-hub-steps li > b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  color: #a83208;
  border: 1px solid rgba(var(--hub-accent-rgb), .21);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}

.download-hub-steps strong,
.download-hub-steps small {
  display: block;
}

.download-hub-steps strong {
  color: #314047;
  font-size: 11px;
}

.download-hub-steps small {
  margin-top: 2px;
  color: #78848a;
  font-size: 9.5px;
  line-height: 1.35;
}

.hub-pathways,
.hub-decision,
.hub-format-guide,
.hub-faq {
  padding: 76px 0;
}

.hub-pathways,
.hub-format-guide {
  background: #fbfcfd;
}

.hub-decision {
  border-top: 1px solid rgba(47, 61, 70, .08);
  border-bottom: 1px solid rgba(47, 61, 70, .08);
  background:
    radial-gradient(640px 320px at 8% 10%, rgba(var(--catalog-office-brand-rgb), .065), transparent 72%),
    linear-gradient(180deg, #fffaf7 0%, #fff 100%);
}

.hub-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.hub-section-heading h2 {
  margin: 0;
  color: #1c282f;
  font-size: clamp(34px, 3.1vw, 47px);
  line-height: 1.05;
  letter-spacing: -.038em;
}

.hub-section-heading > p:not(.section-label) {
  max-width: 720px;
  margin: 13px 0 0;
  color: #68757d;
  font-size: 14px;
  line-height: 1.65;
}

.hub-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.hub-pathway-card {
  position: relative;
  min-height: 296px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  color: #26343b;
  border: 1px solid rgba(46, 60, 69, .13);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(43, 55, 63, .055);
  text-decoration: none;
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}

.hub-pathway-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(var(--hub-accent-rgb), .09);
  border-radius: 50%;
}

.hub-pathway-card:hover,
.hub-pathway-card:focus-visible {
  color: #26343b;
  border-color: rgba(var(--hub-accent-rgb), .26);
  box-shadow: 0 18px 38px rgba(60, 51, 45, .1);
  outline: none;
  transform: translateY(-3px);
}

.hub-pathway-number {
  position: absolute;
  top: 18px;
  right: 19px;
  color: #adb5ba;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .08em;
}

.hub-pathway-icon,
.hub-format-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--hub-accent-rgb), .13);
  border-radius: 4px;
  background: #fff8f4;
}

.hub-pathway-icon img,
.hub-format-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hub-pathway-copy {
  display: block;
  margin-top: 24px;
}

.hub-pathway-copy small,
.hub-pathway-copy strong,
.hub-pathway-copy em {
  display: block;
  font-style: normal;
}

.hub-pathway-copy small {
  color: #9e310d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.hub-pathway-copy strong {
  margin-top: 6px;
  color: #223038;
  font-size: 19px;
  line-height: 1.18;
}

.hub-pathway-copy em {
  margin-top: 9px;
  color: #6e7b82;
  font-size: 12px;
  line-height: 1.55;
}

.hub-pathway-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: #a83208;
  font-size: 11px;
  font-weight: 750;
}

.hub-decision-grid,
.hub-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-decision-card,
.hub-format-card {
  min-width: 0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(48, 61, 70, .13);
  border-radius: 5px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 13px 30px rgba(46, 56, 63, .06);
}

.hub-decision-card.is-featured {
  border-top: 3px solid #5b5fc7;
  background: linear-gradient(180deg, #f8f7ff 0%, #fff 46%);
}

.hub-decision-kicker {
  min-height: 17px;
  margin: 0 0 9px;
  color: #a83208;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hub-decision-card.is-featured .hub-decision-kicker {
  color: #4d50a9;
}

.hub-decision-card h3,
.hub-format-card h3 {
  margin: 0;
  color: #202d34;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.hub-decision-model {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 8px;
  color: #6a4a3e;
  border: 1px solid rgba(var(--catalog-office-brand-rgb), .13);
  border-radius: 3px;
  background: #fff7f3;
  font-size: 9.5px;
  font-weight: 700;
}

.hub-decision-card ul,
.hub-format-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.hub-decision-card li,
.hub-format-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #627078;
  font-size: 12px;
  line-height: 1.45;
}

.hub-decision-card li > span,
.hub-format-card li > span {
  color: #0f7a49;
  font-weight: 800;
}

.hub-decision-card > a,
.hub-format-card > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 0 14px;
  color: #fff;
  border: 1px solid #b63004;
  border-radius: 4px;
  background: var(--catalog-office-brand);
  font-size: 11px;
  font-weight: 740;
  text-decoration: none;
}

.hub-decision-card > a:hover,
.hub-decision-card > a:focus-visible,
.hub-format-card > a:hover,
.hub-format-card > a:focus-visible {
  color: #fff;
  border-color: #962700;
  background: #b93205;
  outline: none;
}

.hub-decision-note {
  display: grid;
  grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 20px;
  padding: 20px 22px;
  color: #5f6e75;
  border: 1px solid rgba(48, 61, 70, .12);
  border-left: 3px solid var(--catalog-office-brand);
  border-radius: 4px;
  background: rgba(255, 255, 255, .72);
}

.hub-decision-note strong {
  color: #28353c;
  font-size: 14px;
}

.hub-decision-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.hub-format-guide {
  border-top: 1px solid rgba(47, 61, 70, .08);
  background: #fff;
}

.hub-format-card {
  min-height: 385px;
}

.hub-format-card > h3 {
  margin-top: 22px;
}

.hub-format-card > p {
  min-height: 43px;
  margin: 10px 0 0;
  color: #69767e;
  font-size: 12px;
  line-height: 1.55;
}

.hub-faq {
  border-top: 1px solid rgba(47, 61, 70, .08);
  background: #fbfcfd;
}

.hub-faq--platforms {
  background:
    radial-gradient(520px 280px at 92% 30%, rgba(var(--catalog-office-brand-rgb), .05), transparent 72%),
    #fbfcfd;
}

.hub-faq-layout {
  display: grid;
  grid-template-columns: minmax(270px, .74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: 64px;
}

.hub-faq-layout .hub-section-heading {
  margin-bottom: 0;
}

.hub-faq-list {
  border-top: 2px solid var(--catalog-office-brand);
}

.hub-faq-item {
  border-bottom: 1px solid rgba(47, 61, 70, .13);
  background: rgba(255, 255, 255, .78);
}

.hub-faq-item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 17px;
  color: #28353c;
  font-size: 13px;
  font-weight: 710;
  list-style: none;
  cursor: pointer;
}

.hub-faq-item summary::-webkit-details-marker {
  display: none;
}

.hub-faq-item summary > span {
  color: #bd3506;
  font-size: 19px;
  font-weight: 450;
  transition: transform .16s ease;
}

.hub-faq-item[open] summary > span {
  transform: rotate(45deg);
}

.hub-faq-item p {
  margin: 0;
  padding: 0 44px 19px 17px;
  color: #66747c;
  font-size: 12px;
  line-height: 1.65;
}

.office-hub-return .overview-return-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-index-page .overview-catalog-section .release-head,
.platform-index-page .overview-catalog-section .release-row {
  grid-template-columns: minmax(250px, 1.15fr) minmax(190px, .8fr) minmax(260px, 1.15fr) 132px;
}

@media (max-width: 1120px) {
  .download-hub-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-hub-copy {
    max-width: 820px;
  }

  .download-hub-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-hub-option {
    grid-template-columns: 40px minmax(0, 1fr);
    align-content: start;
    min-height: 152px;
  }

  .download-hub-option-action {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }

  .download-hub-board--platforms .download-hub-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-pathway-card {
    min-height: 260px;
  }
}

@media (max-width: 900px) {


  .download-hub-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .download-hub-steps li,
  .download-hub-steps li + li {
    padding: 11px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(49, 63, 72, .09);
  }

  .download-hub-steps li:last-child {
    border-bottom: 0;
  }

  .hub-decision-grid,
  .hub-format-grid {
    grid-template-columns: 1fr;
  }

  .hub-decision-card,
  .hub-format-card {
    min-height: 0;
  }

  .hub-format-card > p {
    min-height: 0;
  }

  .hub-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hub-decision-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .hero-intent-actions,
  .hero-intent-action {
    width: 100%;
  }

  .download-hub-hero .catalog-breadcrumbs {
    padding-top: 16px;
  }

  .download-hub-hero-inner {
    gap: 28px;
    padding-top: 26px;
    padding-bottom: 36px;
  }


  .download-hub-lead {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.58;
  }

  .download-hub-actions,
  .download-hub-primary,
  .download-hub-secondary {
    width: 100%;
  }

  .download-hub-board {
    padding: 12px;
  }

  .download-hub-options,
  .download-hub-board--platforms .download-hub-options {
    grid-template-columns: 1fr;
  }

  .download-hub-option,
  .download-hub-board--platforms .download-hub-option {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 0;
  }

  .download-hub-option-action,
  .download-hub-board--platforms .download-hub-option-action {
    grid-column: 2;
  }

  .hub-pathways,
  .hub-decision,
  .hub-format-guide,
  .hub-faq {
    padding: 54px 0;
  }

  .hub-section-heading {
    margin-bottom: 25px;
  }

  .hub-section-heading h2 {
    font-size: 34px;
  }

  .hub-pathway-grid {
    grid-template-columns: 1fr;
  }

  .hub-pathway-card {
    min-height: 245px;
  }

  .hub-faq-item summary {
    min-height: 58px;
    padding: 12px 14px;
  }

  .hub-faq-item p {
    padding-right: 34px;
    padding-left: 14px;
  }
}

@media (max-width: 520px) {


  .download-hub-kicker,
  .hub-section-heading .section-label {
    font-size: 9px;
  }


  .download-hub-option-copy em {
    font-size: 10px;
  }

  .download-hub-steps strong {
    font-size: 10.5px;
  }

  .hub-pathway-card,
  .hub-decision-card,
  .hub-format-card {
    padding: 21px;
  }
}

/* Versions page: the catalogue itself is the first and primary screen. */
.office-versions-page #versions.office-versions-catalog {
  padding-top: 30px;
}

.office-versions-page .office-versions-catalog .catalog-layout {
  gap: 30px;
}

.office-versions-page .overview-catalog-breadcrumbs {
  width: 100%;
  min-height: 20px;
  margin: 0;
  padding: 0;
}

.office-versions-page .office-versions-catalog .catalog-aside {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "copy filters";
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px 36px;
}

.office-versions-page .office-versions-catalog .catalog-aside h1 {
  grid-area: title;
  color: #1c282e;
}

.office-versions-page .office-versions-catalog .catalog-aside > p {
  grid-area: copy;
  max-width: none;
  margin: 0;
  white-space: nowrap;
}

.office-versions-page .office-versions-catalog .filter-list {
  grid-area: filters;
  margin: 0;
}

@media (max-width: 1180px) {
  .office-versions-page .office-versions-catalog .catalog-aside {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "copy"
      "filters";
    gap: 10px;
  }

  .office-versions-page .office-versions-catalog .catalog-aside > p {
    white-space: normal;
  }

  .office-versions-page .office-versions-catalog .filter-list {
    justify-self: start;
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .office-versions-page #versions.office-versions-catalog {
    padding-top: 24px;
  }

  .office-versions-page .office-versions-catalog .catalog-layout {
    gap: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .download-hub-primary,
  .download-hub-secondary,
  .download-hub-option,
  .hub-pathway-card,
  .hero-intent-action,
  .hub-faq-item summary > span {
    transition: none;
  }
}

/* Microsoft 365 uses a single marketing image instead of an interactive app mockup. */
.microsoft-365-page .app-static-hero-image {
  box-sizing: border-box;
  min-width: 0;
  aspect-ratio: 1823 / 863;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 51, 99, .18);
  border-radius: 8px;
  background: #f4f2ff;
  box-shadow:
    0 24px 50px rgba(42, 38, 92, .18),
    0 0 0 1px rgba(255, 255, 255, .72) inset;
}

.microsoft-365-page .app-static-hero-image::before {
  display: none;
}

.microsoft-365-page .app-static-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overview-hub-page {
  --overview-accent: var(--catalog-office-brand);
  --overview-accent-rgb: var(--catalog-office-brand-rgb);
  color: #1f2b31;
  background: #fbfcfd;
}

.overview-hub-page .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.overview-catalog-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  border: 0;
  background:
    radial-gradient(760px 340px at 6% 3%, rgba(var(--overview-accent-rgb), .075), transparent 70%),
    radial-gradient(560px 260px at 96% 22%, rgba(255, 181, 104, .075), transparent 76%),
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.overview-catalog-section::after {
  content: "";
  position: absolute;
  top: -185px;
  right: -165px;
  width: 520px;
  height: 360px;
  border: 1px solid rgba(var(--overview-accent-rgb), .11);
  border-radius: 50%;
  pointer-events: none;
}

.overview-catalog-section .catalog-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.overview-catalog-section .catalog-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label filters"
    "title filters"
    "copy filters";
  align-items: end;
  gap: 0 46px;
}

.overview-catalog-section .catalog-aside .section-label {
  grid-area: label;
  margin: 0 0 7px;
  color: #bc3507;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .095em;
}

.overview-catalog-section .catalog-aside h2 {
  grid-area: title;
  max-width: 720px;
  margin: 0 0 9px;
  color: #1c282e;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.overview-catalog-section .catalog-aside > p:not(.section-label) {
  grid-area: copy;
  max-width: 680px;
  margin: 0;
  color: #68757d;
  font-size: 14px;
  line-height: 1.55;
}

/* Keep the versions heading aligned with the catalogue, despite legacy #versions offsets. */
#versions.overview-catalog-section .catalog-aside .section-label,
#versions.overview-catalog-section .catalog-aside h2,
#versions.overview-catalog-section .catalog-aside > p:not(.section-label) {
  margin-left: 0;
}

.overview-catalog-section .filter-list {
  grid-area: filters;
  display: flex;
  align-items: center;
  align-self: start;
  justify-self: end;
  min-height: 46px;
  margin: 0;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(47, 60, 68, .13);
  border-radius: 5px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 7px 20px rgba(49, 59, 65, .07);
}

#versions.overview-catalog-section .filter-list {
  margin-right: 0;
}

.overview-catalog-section .filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 3px;
  color: #45525a;
  background: transparent;
  font-size: 12px;
  font-weight: 570;
  white-space: nowrap;
  cursor: pointer;
}

.overview-catalog-section .filter-button::before {
  display: none !important;
}

.overview-catalog-section .filter-button:hover,
.overview-catalog-section .filter-button:focus-visible {
  color: #a52d00;
  background: rgba(var(--overview-accent-rgb), .055);
  outline: none;
}

.overview-catalog-section .filter-button.active {
  color: #a52d00;
  background: rgba(var(--overview-accent-rgb), .095);
  box-shadow: inset 0 0 0 1px rgba(var(--overview-accent-rgb), .22);
  font-weight: 720;
}

.overview-catalog-section .filter-icon-all,
.overview-catalog-section .overview-filter-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  object-fit: contain;
}

.overview-catalog-section svg.overview-filter-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

.overview-catalog-section .filter-icon-all {
  fill: currentColor;
}

.overview-catalog-section .release-list {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-top: 2px solid var(--overview-accent);
  border-radius: 0;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 38px rgba(51, 62, 70, .065);
}

.overview-catalog-section .release-head,
.overview-catalog-section .release-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(215px, .95fr) minmax(230px, 1fr) 108px;
  align-items: center;
  gap: 16px;
}

/* This overview contains four cells. Override the legacy five-column #versions grid. */
#versions.overview-catalog-section .release-head,
#versions.overview-catalog-section .release-row {
  grid-template-columns: minmax(250px, 1.25fr) minmax(215px, .95fr) minmax(230px, 1fr) 148px;
}

.overview-catalog-section .release-head {
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(52, 66, 75, .13);
  color: #68757c;
  background: rgba(249, 250, 251, .76);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.overview-catalog-section .release-row,
.overview-catalog-section .release-row:first-of-type {
  position: relative;
  min-height: 84px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid rgba(52, 66, 75, .115);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .16s ease, box-shadow .16s ease;
}

.overview-catalog-section .release-row:nth-of-type(even) {
  background: rgba(248, 249, 250, .42);
}

.overview-catalog-section .release-row:last-of-type {
  border-bottom: 0;
}

.overview-catalog-section .release-row:hover {
  background: linear-gradient(90deg, rgba(var(--overview-accent-rgb), .055), rgba(255, 255, 255, .7) 76%);
  box-shadow: inset 2px 0 0 var(--overview-accent);
}

.overview-catalog-section .release-row[hidden] {
  display: none;
}

.overview-catalog-section .release-id {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.overview-catalog-section .release-id h3 {
  margin: 0;
  color: #233039;
  font-size: 17px;
  font-weight: 680;
}

.office-versions-page #versions .release-id h3,
.microsoft-365-page #versions .release-id h3 {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.office-versions-page .release-brand,
.office-versions-page .release-product,
.microsoft-365-page .release-brand,
.microsoft-365-page .release-product {
  display: block;
}

.office-versions-page .release-brand,
.microsoft-365-page .release-brand {
  color: #6d777d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .055em;
  line-height: 1.2;
}

.office-versions-page .release-product,
.microsoft-365-page .release-product {
  color: #233039;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.18;
}

.overview-catalog-section .release-id p,
.overview-catalog-section .release-cell small {
  display: block;
  margin: 4px 0 0;
  color: #748087;
  font-size: 11px;
  line-height: 1.35;
}

.overview-catalog-section .release-icon,
.overview-catalog-section .release-row:first-of-type .release-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.overview-catalog-section .release-icon > img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.overview-catalog-section .release-icon::before {
  display: none !important;
}

.overview-catalog-section .overview-release-icon > b {
  position: absolute;
  right: -4px;
  bottom: -2px;
  min-width: 25px;
  padding: 2px 4px;
  border: 1px solid rgba(var(--overview-accent-rgb), .22);
  border-radius: 2px;
  color: #a52d00;
  background: #fff;
  box-shadow: 0 3px 8px rgba(62, 58, 54, .1);
  font-size: 8px;
  font-weight: 780;
  line-height: 1;
}

.overview-catalog-section .overview-platform-icon > img {
  width: 30px;
  height: 30px;
}

.overview-catalog-section .platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.overview-catalog-section .platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #43515a;
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.overview-catalog-section .platform-tag:hover,
.overview-catalog-section .platform-tag:focus-visible {
  color: #a52d00;
  outline: none;
}

.overview-catalog-section .platform-tag img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.overview-catalog-section .channel-cell {
  color: #39474f;
  font-size: 13px;
  line-height: 1.35;
}

.overview-hub-page .overview-catalog-section .release-row .download,
.overview-catalog-section .release-row:first-of-type .download {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #b93205;
  border-radius: 3px;
  color: #fff;
  background: var(--catalog-office-brand);
  box-shadow: 0 5px 13px rgba(176, 47, 2, .13);
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.overview-catalog-section .download::before {
  display: none !important;
}

.overview-catalog-section .download svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.overview-catalog-section .download:hover,
.overview-catalog-section .download:focus-visible {
  color: #fff;
  border-color: #9e2a02;
  background: #b93205;
  outline: none;
}

.overview-hub-page :is(
  .filter-button,
  .platform-tag,
  .download,
  .download-return-button,
  .overview-return-secondary
):focus-visible {
  outline: 2px solid var(--overview-accent);
  outline-offset: 3px;
}

.overview-format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overview-format-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(55, 69, 78, .12);
  border-radius: 3px;
  color: #53616a;
  background: rgba(248, 250, 251, .86);
  font-size: 10px;
  font-weight: 650;
}

.overview-catalog-empty {
  margin: 18px 0 0;
  color: #6d7980;
  text-align: center;
  font-size: 13px;
}

.overview-story {
  position: relative;
  padding: 74px 0;
  border-top: 1px solid rgba(48, 62, 71, .08);
  border-bottom: 1px solid rgba(48, 62, 71, .08);
  background:
    radial-gradient(480px 320px at 29% 50%, rgba(var(--overview-accent-rgb), .045), transparent 74%),
    #fbfcfd;
}

.overview-story--platforms {
  background:
    radial-gradient(470px 320px at 30% 50%, rgba(0, 120, 212, .045), transparent 74%),
    #fbfcfd;
}

.overview-story-inner {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 72px;
  max-width: 980px;
}

.overview-story-visual {
  position: relative;
  width: 290px;
  height: 250px;
  margin: 0 auto;
}

.overview-map-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(62, 77, 87, .14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.overview-map-ring--outer {
  width: 236px;
  height: 190px;
}

.overview-map-ring--inner {
  width: 142px;
  height: 112px;
  border-style: dashed;
}

.overview-map-center,
.overview-map-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63, 75, 83, .1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(53, 64, 72, .1);
}

.overview-map-center {
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
}

.overview-map-center img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.overview-map-node {
  width: 49px;
  height: 49px;
  color: #9d2a02;
  font-size: 10px;
  font-weight: 770;
}

.overview-version-map .node-2024 { top: 9px; left: 42px; }
.overview-version-map .node-2021 { top: 25px; right: 26px; }
.overview-version-map .node-2019 { right: 10px; bottom: 26px; }
.overview-version-map .node-legacy { bottom: 13px; left: 28px; }

.overview-platform-node img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.overview-platform-map .node-windows { top: 8px; left: 42px; }
.overview-platform-map .node-macos { top: 25px; right: 26px; }
.overview-platform-map .node-android { right: 10px; bottom: 26px; }
.overview-platform-map .node-web { bottom: 13px; left: 28px; }

.overview-story-copy .section-label {
  margin: 0 0 7px;
  color: #bc3507;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .095em;
}

.overview-story-copy h2 {
  max-width: 650px;
  margin: 0 0 14px;
  color: #1e2a31;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.07;
  letter-spacing: -.035em;
}

.overview-story-copy > p:not(.section-label) {
  max-width: 650px;
  margin: 0;
  color: #68757d;
  font-size: 14px;
  line-height: 1.65;
}

.overview-story-copy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 25px 0 0;
  padding: 0;
  border-top: 1px solid rgba(51, 66, 74, .11);
  list-style: none;
}

.overview-story-copy li {
  padding: 16px 18px 0 0;
}

.overview-story-copy li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(51, 66, 74, .1);
}

.overview-story-copy li strong,
.overview-story-copy li span {
  display: block;
}

.overview-story-copy li strong {
  margin-bottom: 5px;
  color: #324049;
  font-size: 11px;
}

.overview-story-copy li span {
  color: #77838a;
  font-size: 10px;
  line-height: 1.45;
}

.overview-hub-return {
  padding: 62px 0 66px;
  border: 0;
  background:
    radial-gradient(460px 230px at 50% 0%, rgba(var(--overview-accent-rgb), .075), transparent 76%),
    linear-gradient(105deg, #fff7f2, #fff 58%, #fff9f6);
}

.overview-hub-return .download-return-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 44px;
  border: 1px solid rgba(var(--overview-accent-rgb), .12);
  border-radius: 4px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 16px 44px rgba(70, 61, 56, .075);
  text-align: center;
}

.overview-hub-return .download-return-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.overview-hub-return h2 {
  margin: 12px 0 10px;
  color: #1e2a31;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.overview-hub-return .download-return-copy {
  max-width: 660px;
  margin: 0 auto;
  color: #6b777f;
  font-size: 13px;
  line-height: 1.55;
}

.overview-hub-return .download-return-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 21px 0 24px;
  padding: 0;
  list-style: none;
}

.overview-hub-return .download-return-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4d5a62;
  font-size: 11px;
  font-weight: 650;
}

.overview-hub-return .download-return-platforms li img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.overview-return-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-hub-return .download-return-button,
.overview-return-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}

.overview-hub-return .download-return-button {
  border: 1px solid #b93205;
  color: #fff;
  background: var(--catalog-office-brand);
  box-shadow: 0 7px 18px rgba(177, 47, 2, .16);
}

.overview-hub-return .download-return-button:hover,
.overview-hub-return .download-return-button:focus-visible {
  color: #fff;
  background: #b93205;
  outline: none;
}

.overview-hub-return .download-return-button-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.overview-return-secondary {
  border: 1px solid rgba(49, 61, 68, .17);
  color: #46535b;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(44, 56, 64, .055);
}

.overview-return-secondary:hover,
.overview-return-secondary:focus-visible {
  color: #a52d00;
  border-color: rgba(var(--overview-accent-rgb), .28);
  outline: none;
}

@media (max-width: 1100px) {
  .overview-catalog-section .release-head,
  .overview-catalog-section .release-row {
    grid-template-columns: minmax(220px, 1.2fr) minmax(175px, .9fr) minmax(190px, 1fr) 102px;
    gap: 13px;
  }

  #versions.overview-catalog-section .release-head,
  #versions.overview-catalog-section .release-row {
    grid-template-columns: minmax(215px, 1.2fr) minmax(165px, .9fr) minmax(180px, 1fr) 136px;
  }

  .overview-story-inner {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .overview-catalog-section .catalog-aside {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "copy"
      "filters";
    align-items: start;
  }

  .overview-catalog-section .filter-list,
  #versions.overview-catalog-section .filter-list {
    width: 100%;
    margin: 22px 0 0;
    overflow-x: auto;
    justify-self: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .overview-catalog-section .filter-list::-webkit-scrollbar {
    display: none;
  }

  .overview-catalog-section .filter-button {
    flex: 1 1 0;
  }
}

@media (max-width: 820px) {
  .overview-catalog-section {
    padding: 52px 0 58px;
  }

  .overview-catalog-section .release-head {
    display: none;
  }

  .overview-catalog-section .release-row,
  .overview-catalog-section .release-row:first-of-type {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "id button"
      "platform platform"
      "channel channel";
    gap: 10px 16px;
    padding: 18px;
  }

  #versions.overview-catalog-section .release-row,
  #versions.overview-catalog-section .release-row:first-of-type {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "id id"
      "platform platform"
      "channel button";
  }

  .overview-catalog-section .release-id { grid-area: id; }
  .overview-catalog-section .platform-cell { grid-area: platform; }
  .overview-catalog-section .channel-cell { grid-area: channel; }
  .overview-catalog-section .download { grid-area: button; justify-self: end; }

  .overview-story-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .overview-story-copy > p:not(.section-label) {
    margin-right: auto;
    margin-left: auto;
  }

  .overview-story-copy ul {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .overview-catalog-section {
    padding: 42px 0 48px;
  }

  .overview-catalog-section .catalog-aside h2 {
    font-size: 32px;
  }

  .overview-catalog-section .filter-list,
  #versions.overview-catalog-section .filter-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    padding: 3px;
    overflow: visible;
  }

  .overview-catalog-section .filter-button,
  #versions.overview-catalog-section .filter-button {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
  }

  .office-versions-page #versions .filter-button:first-child {
    grid-column: 1 / -1;
  }

  .office-versions-page #versions .filter-button:last-child {
    grid-column: auto;
  }

  .overview-catalog-section .release-list,
  #versions.overview-catalog-section .release-list {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .overview-catalog-section .release-row,
  .overview-catalog-section .release-row:first-of-type {
    padding: 17px 12px;
  }

  .overview-catalog-section .release-id {
    gap: 10px;
  }

  .overview-catalog-section .release-id h3 {
    font-size: 15px;
  }

  .office-versions-page .release-brand,
  .microsoft-365-page .release-brand {
    font-size: 9px;
  }

  .office-versions-page .release-product,
  .microsoft-365-page .release-product {
    font-size: 15px;
  }

  .overview-catalog-section .release-id p {
    font-size: 10px;
  }

  .overview-catalog-section .download,
  .overview-catalog-section .release-row:first-of-type .download {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }

  .overview-catalog-section .download svg {
    display: none;
  }

  .overview-story {
    padding: 52px 0;
  }

  .overview-story-visual {
    width: 270px;
  }

  .overview-story-copy h2 {
    font-size: 31px;
  }

  .overview-story-copy ul {
    grid-template-columns: 1fr;
  }

  .overview-story-copy li,
  .overview-story-copy li + li {
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(51, 66, 74, .1);
  }

  .overview-hub-return {
    padding: 46px 0 52px;
  }

  .overview-hub-return .download-return-panel {
    padding: 34px 18px;
  }

  .overview-return-actions,
  .overview-return-actions > a {
    width: 100%;
  }
}

/* Compact catalog landing: one promise, one primary action, then the selector. */
.download-hub-hero--compact::after {
  display: none;
}

.download-hub-hero--compact .download-hub-hero-inner {
  grid-template-columns: minmax(0, 860px);
  gap: 0;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 40px;
}

.download-hub-hero--compact .download-hub-copy {
  max-width: 860px;
}


.download-hub-hero--compact .download-hub-lead {
  max-width: 760px;
  margin-top: 16px;
  font-size: 15px;
}

.download-hub-hero--compact .download-hub-actions {
  margin-top: 20px;
}

.download-hub-hero--compact .download-hub-safety {
  margin-top: 13px;
}

.office-download-hub .hub-decision,
.platform-index-page .hub-format-guide,
.app-detail-page--apps .apps-choice-section {
  padding-top: 66px;
  padding-bottom: 70px;
}

.office-download-hub .hub-faq {
  padding-top: 62px;
  padding-bottom: 66px;
}

.office-download-hub .overview-hub-return,
.office-versions-page .overview-hub-return,
.platform-index-page .overview-hub-return,
.app-detail-page--apps .overview-hub-return {
  padding-top: 58px;
  padding-bottom: 62px;
}

@media (max-width: 760px) {
  .download-hub-hero--compact .catalog-breadcrumbs {
    padding-top: 15px;
  }

  .download-hub-hero--compact .download-hub-hero-inner {
    padding-top: 22px;
    padding-bottom: 30px;
  }


  .download-hub-hero--compact .download-hub-lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .office-download-hub .hub-decision,
  .platform-index-page .hub-format-guide,
  .app-detail-page--apps .apps-choice-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}

/* Keep platform cards inside the viewport on narrow screens. */
@media (max-width: 820px) {
  .platform-index-page .overview-catalog-section .release-row,
  .platform-index-page .overview-catalog-section .release-row:first-of-type {
    width: auto;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "id button"
      "platform platform"
      "channel channel";
    gap: 10px 12px;
  }

  .platform-index-page .overview-catalog-section .release-id,
  .platform-index-page .overview-catalog-section .platform-cell,
  .platform-index-page .overview-catalog-section .channel-cell {
    width: auto;
    min-width: 0;
  }

  .platform-index-page .overview-catalog-section .download {
    width: auto;
    max-width: 120px;
  }
}
