:root {
  --mac-red: #b31f24;
  --mac-red-dark: #7f1418;
  --mac-ink: #151515;
  --mac-paper: #f7f5f2;
  --mac-muted: #686868;
  --cassiopeia-color-primary: var(--mac-red);
  --cassiopeia-color-link: var(--mac-red-dark);
  --cassiopeia-color-hover: #d22d33;
}

body {
  background: var(--mac-paper);
  color: var(--mac-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container-header {
  background: linear-gradient(115deg, #080808 0%, #242424 66%, #5a1114 100%);
  box-shadow: 0 3px 16px rgb(0 0 0 / 28%);
}

.container-header .navbar-brand {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding-block: .65rem;
}

.container-header > .grid-child:first-of-type {
  position: relative;
}

.container-header .mac-home-link {
  align-items: center;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: .4rem;
  color: #fff;
  display: inline-flex;
  font-size: .92rem;
  font-weight: 800;
  gap: .5rem;
  min-height: 44px;
  padding: .65rem .9rem;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color .2s ease, border-color .2s ease;
}

.container-header .mac-home-link:hover,
.container-header .mac-home-link:focus-visible {
  background: var(--mac-red);
  border-color: var(--mac-red);
  color: #fff;
}

.container-header .mac-home-link svg {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.container-header .mod-menu > .item-101.mac-home-relocated {
  display: none;
}

.container-header .navbar-brand img {
  border-radius: 0;
  box-shadow: none;
  height: 115px;
  object-fit: contain;
  width: 115px;
}

.container-header .site-description,
.container-header .site-title {
  color: #fff;
}

.container-header .mod-menu {
  align-items: center;
  gap: .25rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button,
.container-header .mod-menu > li > span {
  border-radius: .35rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .8rem .85rem;
}

.container-header .mod-menu > li:hover > a,
.container-header .mod-menu > li.active > a {
  background: var(--mac-red);
  color: #fff;
}

.site-grid {
  margin-top: 1.5rem;
}

.container-component {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 10px 35px rgb(0 0 0 / 7%);
  padding: clamp(1.1rem, 3vw, 2.5rem);
}

.item-page h1,
.item-page h2,
.blog h1,
.blog h2 {
  color: var(--mac-ink);
  font-weight: 800;
  line-height: 1.15;
}

.item-image img,
.blog-item img {
  border-radius: .55rem;
  height: auto;
  max-width: 100%;
}

.btn-primary,
.readmore .btn {
  background: var(--mac-red);
  border-color: var(--mac-red);
}

.btn-primary:hover,
.readmore .btn:hover {
  background: var(--mac-red-dark);
  border-color: var(--mac-red-dark);
}

.mod-breadcrumbs {
  color: var(--mac-muted);
  font-size: .9rem;
}

iframe,
video {
  max-width: 100%;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 991.98px) {
  .container-header .navbar-brand img {
    height: 76px;
    width: 76px;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button,
  .container-header .mod-menu > li > span {
    padding: .65rem;
  }

  .container-header .navbar-brand {
    padding-right: 4rem;
  }

  .container-header .mac-home-link {
    font-size: 0;
    min-height: 42px;
    padding: .65rem;
    right: 1rem;
  }
}

/* Modern MAC homepage */
body.itemid-101 .mod-breadcrumbs__wrapper {
  display: none;
}

body.itemid-101 .site-grid {
  display: block;
  margin-top: 0;
  max-width: none;
}

body.itemid-101 .container-component {
  background: transparent;
  border-radius: 50%;
  box-shadow: none;
  max-width: none;
  padding: 0;
}

body.itemid-101 .item-page {
  overflow: hidden;
}

body.itemid-101 .com-content-article__body {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.mac-home {
  background: #f5f3ef;
  width: 100%;
}

.mac-hero-settings {
  display: none !important;
}

.mac-hero {
  align-items: flex-end;
  background: url('/images/migration-trial/k2-7.jpg') center 58% / cover no-repeat;
  color: #fff;
  display: flex;
  isolation: isolate;
  min-height: min(760px, 78vh);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) max(5vw, calc((100vw - 1180px) / 2));
  position: relative;
  justify-content: flex-start;
}

.mac-hero__shade {
  background: linear-gradient(90deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 68%) 46%, rgb(0 0 0 / 18%) 78%), linear-gradient(0deg, rgb(0 0 0 / 60%), transparent 55%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.mac-hero__content {
  flex: 0 1 760px;
  margin: 0 auto 0 0;
  max-width: 760px;
  min-width: 0;
  width: min(100%, 760px);
}

.mac-eyebrow,
.mac-kicker {
  color: var(--mac-red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.mac-hero .mac-eyebrow {
  color: #ff6b70;
}

.mac-hero h1 {
  color: #fff;
  font-size: clamp(3.4rem, 7.2vw, 6.5rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .88;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.mac-hero__lead {
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 650px;
}

.mac-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-block: 1.8rem 2.5rem;
}

.mac-btn {
  align-items: center;
  border: 2px solid transparent;
  border-radius: .25rem;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 50px;
  padding: .75rem 1.2rem;
  text-decoration: none;
}

.mac-btn--primary {
  background: var(--mac-red);
  color: #fff;
}

.mac-btn--primary:hover {
  background: #d02a31;
  color: #fff;
}

.mac-btn--ghost {
  border-color: rgb(255 255 255 / 72%);
  color: #fff;
}

.mac-btn--ghost:hover {
  background: #fff;
  color: #111;
}

.mac-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 0;
}

.mac-stats div {
  border-left: 2px solid var(--mac-red);
  padding-left: .85rem;
}

.mac-stats dt {
  font-size: 1.05rem;
  font-weight: 900;
}

.mac-stats dd {
  color: rgb(255 255 255 / 65%);
  font-size: .82rem;
  margin: 0;
}

.mac-section {
  margin-inline: auto;
  max-width: 1180px;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.mac-intro {
  display: grid;
  gap: 2rem 5rem;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.mac-intro + .mac-section {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.com-content-article__body .mac-home .mac-section h2 {
  margin-top: 0;
}

.mac-section h2,
.mac-band h2,
.mac-contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0;
}

.mac-copy {
  color: #484848;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mac-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}

.mac-text-link {
  color: var(--mac-ink);
  font-weight: 850;
  text-decoration: none;
}

.mac-text-link:hover {
  color: var(--mac-red);
}

.mac-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mac-card {
  background: linear-gradient(150deg, #2a2a2a, #0e0e0e);
  border-bottom: 4px solid var(--mac-red);
  border-radius: .45rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 260px;
  overflow: hidden;
  padding: 1.4rem;
  position: relative;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mac-card::before {
  background: radial-gradient(circle at 100% 0%, rgb(179 31 36 / 55%), transparent 48%);
  content: '';
  inset: 0;
  position: absolute;
}

.mac-card > * {
  position: relative;
}

.mac-card:hover {
  box-shadow: 0 18px 40px rgb(0 0 0 / 20%);
  color: #fff;
  transform: translateY(-5px);
}

.mac-card span {
  color: rgb(255 255 255 / 62%);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mac-card h3 {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
  margin: .35rem 0 1.2rem;
}

.mac-card b {
  font-size: .83rem;
}

.mac-band {
  align-items: center;
  background: #121212;
  color: #fff;
  display: grid;
  gap: 2rem 4rem;
  grid-template-columns: 1.2fr .8fr auto;
  padding: clamp(3.5rem, 7vw, 6rem) max(5vw, calc((100vw - 1180px) / 2));
}

.mac-band h2,
.mac-contact-panel h2 {
  color: #fff;
}

.mac-band p:not(.mac-kicker) {
  color: rgb(255 255 255 / 65%);
  line-height: 1.7;
}

.mac-checks {
  display: grid;
  gap: .7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mac-checks li::before {
  color: #ff555b;
  content: '✓';
  font-weight: 900;
  margin-right: .65rem;
}

.mac-btn--light {
  background: #fff;
  color: #111;
}

.mac-news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mac-news-grid article {
  background: #fff;
  border-radius: .45rem;
  box-shadow: 0 9px 28px rgb(0 0 0 / 6%);
  min-height: 180px;
  padding: 1.5rem;
}

.mac-news-grid p {
  color: var(--mac-red);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mac-news-grid h3 {
  font-size: 1.25rem;
  line-height: 1.35;
}

.mac-news-grid a {
  color: #171717;
  text-decoration: none;
}

.mac-news-grid a:hover {
  color: var(--mac-red);
}

.mac-home-news {
  background: #efede9;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3.25rem);
}

.com-content-article__body .mac-home-news h2 {
  margin: 0;
}

.mac-news-feature {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(260px, 310px));
}

.mac-news-card {
  background: #fff;
  border-radius: .65rem;
  box-shadow: 0 12px 34px rgb(0 0 0 / 8%);
  min-width: 0;
  overflow: hidden;
}

.mac-news-card--lead {
  grid-row: span 2;
}

.mac-news-card > a {
  color: var(--mac-ink);
  display: grid;
  grid-template-columns: minmax(150px, .78fr) minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.mac-news-card--lead > a {
  grid-template-columns: 1fr;
  grid-template-rows: 430px minmax(0, 1fr);
}

.com-content-article__body .mac-news-card img,
.mac-news-card__placeholder {
  background: #fff;
  display: block;
  flex: 0 0 auto;
  height: 310px !important;
  margin: 0 !important;
  min-height: 0;
  object-fit: contain;
  overflow: hidden;
  width: 100% !important;
}

.com-content-article__body .mac-news-card--lead img,
.mac-news-card--lead .mac-news-card__placeholder {
  height: 430px !important;
}

.mac-news-card__body {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  position: relative;
  z-index: 1;
}

.mac-news-card time {
  color: var(--mac-red);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.mac-news-card strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
}

.mac-news-card--lead strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.mac-news-card__more {
  color: var(--mac-red);
  font-size: .86rem;
  font-weight: 850;
  margin-top: auto;
  padding-top: 1rem;
}

.mac-news-card > a:hover strong,
.mac-news-card > a:focus-visible strong {
  color: var(--mac-red);
}

.mac-contact-panel {
  align-items: center;
  background: linear-gradient(120deg, #85151a, #bd252b);
  color: #fff;
  display: grid;
  gap: 2rem 4rem;
  grid-template-columns: 1fr 1fr;
  padding: clamp(3.5rem, 7vw, 6rem) max(5vw, calc((100vw - 1180px) / 2));
}

.mac-contact-panel .mac-kicker {
  color: rgb(255 255 255 / 65%);
}

.mac-contact-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.mac-contact-actions > a:not(.mac-btn) {
  color: #fff !important;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
}

.footer {
  background: #090909;
  color: #fff;
  margin-top: 0;
}

.mac-footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 3rem 1.25rem;
}

.mac-footer-inner > div {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.mac-footer-inner span,
.mac-footer-inner a {
  color: rgb(255 255 255 / 62%);
  line-height: 1.7;
}

.mac-footer-brand {
  align-items: center;
  flex-direction: row !important;
}

.mac-footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mac-footer-brand img {
  border-radius: 0;
  height: 64px;
  object-fit: contain;
  width: 64px;
}

@media (max-width: 900px) {
  .mac-card-grid,
  .mac-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mac-band {
    grid-template-columns: 1fr;
  }

  .mac-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .mac-news-feature {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mac-news-card--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .mac-news-card > a,
  .mac-news-card--lead > a {
    display: flex;
    flex-direction: column;
  }

  .com-content-article__body .mac-news-card img,
  .mac-news-card__placeholder,
  .com-content-article__body .mac-news-card--lead img,
  .mac-news-card--lead .mac-news-card__placeholder {
    height: 360px !important;
  }
}

@media (max-width: 640px) {
  .mac-hero {
    min-height: 680px;
    padding-inline: 1.25rem;
  }

  .mac-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
    letter-spacing: -.045em;
  }

  .mac-intro,
  .mac-contact-panel,
  .mac-card-grid,
  .mac-news-grid,
  .mac-footer-inner {
    grid-template-columns: 1fr;
  }

  .mac-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mac-actions .mac-btn {
    width: 100%;
  }

  .mac-card {
    min-height: 165px;
    padding: 1.1rem;
  }

  .mac-card h3 {
    margin-bottom: .65rem;
  }

  .mac-news-feature {
    grid-template-columns: 1fr;
  }

  .mac-news-card--lead {
    grid-column: auto;
  }

  .mac-news-card > a,
  .mac-news-card--lead > a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .com-content-article__body .mac-news-card img,
  .mac-news-card__placeholder {
    aspect-ratio: auto;
    height: 360px !important;
    min-height: 0;
  }
}

/* Modern inner pages: lessons, news and category overviews */
body:not(.itemid-101) .site-grid {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(1.25rem, 3vw, 3rem) 1.25rem clamp(4rem, 7vw, 7rem);
}

body:not(.itemid-101) .container-component {
  padding: clamp(1.25rem, 4vw, 4.25rem);
}

body:not(.itemid-101) .mod-breadcrumbs__wrapper {
  border-bottom: 1px solid #ece8e2;
  margin: calc(clamp(1.25rem, 4vw, 4.25rem) * -1) calc(clamp(1.25rem, 4vw, 4.25rem) * -1) clamp(2rem, 4vw, 3.5rem);
  padding: .55rem clamp(1.25rem, 4vw, 4.25rem);
}

body:not(.itemid-101) .mod-breadcrumbs__here {
  display: none;
}

body:not(.itemid-101) .breadcrumb {
  background: transparent;
  font-size: .82rem;
  margin: 0;
  padding-inline: 0 !important;
}

body:not(.itemid-101) .breadcrumb a {
  color: var(--mac-red-dark);
  font-weight: 750;
  text-decoration: none;
}

.com-content-article .page-header,
.com-content-category-blog > .page-header {
  border-left: 5px solid var(--mac-red);
  margin: 0 0 1rem;
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.com-content-article .page-header h1,
.com-content-category-blog > .page-header h1,
.com-content-category-blog > h1 {
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 0;
  max-width: 950px;
  text-wrap: balance;
}

.com-content-article .article-info {
  border-bottom: 1px solid #ece8e2;
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  gap: .45rem 1.15rem;
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  padding: 0 0 1.15rem;
}

.com-content-article .article-info-term,
.com-content-article .createdby,
.com-content-article .hits {
  display: none;
}

.com-content-article .article-info dd {
  margin: 0;
}

.com-content-article .item-image {
  float: none !important;
  margin: 0 0 clamp(1.75rem, 4vw, 3rem) !important;
  width: 100%;
}

.com-content-article .item-image img {
  aspect-ratio: 16 / 9;
  background: #efede9;
  display: block;
  max-height: 680px;
  object-fit: contain;
  width: 100%;
}

.com-content-article__body {
  box-sizing: border-box;
  color: #343434;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  margin-right: auto;
  max-width: 880px;
  padding-inline: clamp(.25rem, 1vw, .75rem);
  width: 100%;
}

body.itemid-116.view-article .com-content-article {
  background: #efede9;
  border-radius: .65rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body .catItemTitle {
  color: var(--mac-ink);
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-top: 1.75em;
}

.com-content-article__body h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.com-content-article__body img {
  border-radius: .5rem;
  height: auto !important;
  margin: .75rem 1.25rem .75rem 0;
  max-width: 100% !important;
}

.com-content-article__body a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.mac-coach-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(1.75rem, 4vw, 3rem) 0;
  max-width: none;
}

.mac-coach-card {
  background: #f7f5f1;
  border: 1px solid #e5e0d8;
  border-radius: .65rem;
  color: var(--mac-ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mac-coach-card:hover,
.mac-coach-card:focus-visible {
  box-shadow: 0 1rem 2.25rem rgb(28 22 18 / 13%);
  color: var(--mac-ink);
  transform: translateY(-3px);
}

.com-content-article__body .mac-coach-card img {
  aspect-ratio: auto;
  border-radius: 0;
  display: block;
  margin: 0;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  width: 100% !important;
}

.mac-coach-card span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem;
}

.mac-coach-card strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.mac-coach-card small {
  color: #5d5852;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
}

.pagenavigation {
  display: none !important;
}

.pagenavigation .pagination {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.pagenavigation .btn {
  background: #171717;
  border: 0;
  color: #fff;
  font-weight: 800;
  padding: .7rem 1rem;
}

/* News/category cards */
.com-content-category-blog .blog-items {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.com-content-category-blog .blog-item {
  background: #f8f6f2;
  border-bottom: 4px solid var(--mac-red);
  border-radius: .55rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0 0 1.35rem;
}

.com-content-category-blog .blog-item .item-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.com-content-category-blog .mac-blog-meta {
  align-items: center;
  color: #625d56;
  display: flex;
  font-size: .78rem;
  font-weight: 750;
  justify-content: space-between;
  letter-spacing: .02em;
  min-height: 2.9rem;
  padding: .85rem 1.25rem;
}

.com-content-category-blog .mac-blog-author {
  color: var(--mac-red-dark);
  text-align: right;
}

.com-content-category-blog .blog-item .item-image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: inherit;
  display: flex;
  float: none !important;
  justify-content: center;
  margin: 0 0 1.2rem !important;
  overflow: hidden;
  width: 100%;
}

.com-content-category-blog .blog-item .item-image img {
  aspect-ratio: auto !important;
  border-radius: 0;
  height: 100% !important;
  margin: 0 !important;
  max-height: 100%;
  object-fit: contain;
  width: 100% !important;
}

.com-content-category-blog .blog-item > *:not(.item-image) {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.com-content-category-blog .blog-item .page-header h2 {
  display: -webkit-box;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.25;
  min-height: 3.75em;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.com-content-category-blog .mac-blog-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-height: 1.55;
  max-height: 7.75em;
  overflow: hidden;
}

.com-content-category-blog .mac-blog-excerpt-link {
  color: inherit;
  display: block;
  font-weight: inherit;
  text-decoration: none;
}

.com-content-category-blog .mac-blog-excerpt-link:hover,
.com-content-category-blog .mac-blog-excerpt-link:focus-visible {
  color: var(--mac-red-dark);
}

.com-content-category-blog .blog-item.mac-blog-expanded .mac-blog-excerpt {
  display: block;
  max-height: none;
  overflow: visible;
}

.com-content-category-blog .mac-blog-more {
  align-items: center;
  align-self: flex-start;
  color: var(--mac-red-dark);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 850;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.15rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
  text-decoration: none;
}

.com-content-category-blog .mac-blog-more::after {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: '+';
  display: inline-flex;
  font-size: 1rem;
  height: 1.45rem;
  justify-content: center;
  line-height: 1;
  width: 1.45rem;
}

.com-content-category-blog .blog-item.mac-blog-expanded .mac-blog-more::after {
  content: '−';
}

.com-content-category-blog .mac-blog-more:hover,
.com-content-category-blog .mac-blog-more:focus-visible {
  color: var(--mac-red);
}

.com-content-category-blog .blog-item .page-header a {
  color: var(--mac-ink);
  text-decoration: none;
}

.com-content-category-blog .blog-item .page-header a:hover {
  color: var(--mac-red);
}

.com-content-category-blog .article-info {
  font-size: .75rem;
}

.com-content-category-blog .article-info-term,
.com-content-category-blog .createdby,
.com-content-category-blog .hits,
.com-content-category-blog__children {
  display: none;
}

.com-content-category-blog .readmore {
  margin-top: auto;
  padding-top: .75rem;
}

.com-content-category-blog .readmore .btn {
  border-radius: .25rem;
  color: #fff;
  font-weight: 800;
}

.com-content-category-blog .pagination__wrapper {
  grid-column: 1 / -1;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .mac-coach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .com-content-category-blog .blog-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mac-coach-grid {
    grid-template-columns: 1fr;
  }

  body:not(.itemid-101) .site-grid {
    padding-inline: .7rem;
  }

  .com-content-category-blog .blog-items {
    grid-template-columns: 1fr;
  }

  .com-content-article__body img {
    float: none !important;
    margin-inline: 0;
    width: 100% !important;
  }
}
