/**
 * @file
 * Strategic Partnership — page-specific styles + shared content-page layout.
 *
 * Uses a consistent sp-* prefix for all page-specific selectors.
 * Includes the two-column shell (sidebar + article), TOC card, CTA card,
 * and the strategic partner card (CertHub).
 *
 * Design tokens, .al-btn, .container come from global general.css.
 * Hero mixin imported from components/.
 *
 * Mirrors the static design reference
 * design-review/strategic_partnerships/strategic_partnerships.html.
 * NO newsletter, NO finalcta (this page doesn't have them).
 */
/**
 * @file
 * Shared LESS variables — imported by general.less and component files.
 *
 * Breakpoint variables used in @media queries across the theme.
 */
/* =========================================================================
   HERO — reuse content-hero mixin, hide Drupal default title
   ========================================================================= */
.node--type-strategic-partnership .block-page-title-block {
  display: none;
}
.al-hero {
  background: var(--al-navy);
  color: #fff;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 20px;
  margin-top: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.al-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.al-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.al-hero .container {
  position: relative;
}
.al-hero__figure {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 380px;
  z-index: 1;
  pointer-events: none;
}
.al-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  .al-hero__figure {
    display: none;
  }
}
.al-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 60px;
  max-width: 880px;
}
.al-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 80px 0 0;
  text-wrap: balance;
}
.al-hero__title .accent {
  color: var(--al-orange);
}
.al-hero__standfirst {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: #cfe0ec;
  max-width: 62ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.al-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.al-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.al-hero .breadcrumb a:hover {
  color: #fff;
}
.al-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.al-hero .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
.al-hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 60px;
}
.al-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.34);
  transition: background 0.14s, border-color 0.14s;
}
.al-hero__ghost svg {
  width: 17px;
  height: 17px;
  transition: transform 0.14s;
}
.al-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.al-hero__ghost:hover svg {
  transform: translateX(3px);
}
/* Hero subtitle — distinct bold subhead between H1 and standfirst */
.sp-hero__sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.36;
  color: rgba(255, 255, 255, 0.82);
  max-width: 30ch;
  margin: 16px 0 0;
  text-wrap: balance;
}
/* .al-btn--navy lives in general.less (page-level button vocabulary, loaded site-wide). */
/* =========================================================================
   BODY SHELL — two-column grid (sidebar left)
   ========================================================================= */
.al-body {
  background: var(--bg-page);
  padding: 54px 0 6px;
}
.al-grid-main {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.al-article {
  min-width: 0;
  padding-bottom: 66px;
}
/* SIDEBAR — TOC card + CTA card */
.al-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sp-toc-card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow-xs);
}
.sp-toc-card__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-1);
}
.sp-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sp-toc a {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sp-toc a:hover {
  background: var(--bg-alt);
  color: var(--al-navy);
}
.sp-toc a.is-active {
  color: var(--al-orange-700);
  border-left-color: var(--al-orange);
  background: #fff6ec;
  font-weight: 600;
}
.al-cta-card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: var(--al-navy);
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.al-cta-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 170px;
  height: 110px;
  border: 2px solid rgba(224, 144, 48, 0.34);
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}
.al-cta-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
  position: relative;
}
.al-cta-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: #bcd6e7;
  margin: 0 0 16px;
  position: relative;
}
.al-cta-card .al-btn {
  width: 100%;
  justify-content: center;
  position: relative;
}
/* Article typography */
.al-article .al-lead {
  font-family: var(--font-sans);
  font-size: 25px;
  line-height: 1.62;
  color: var(--fg-1);
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 740px;
}
.al-article p {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.78;
  color: var(--fg-2);
  margin: 0 0 18px;
  max-width: 740px;
}
.al-article h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 37px;
  line-height: 1.25;
  color: var(--al-navy);
  margin: 64px 0 14px;
  max-width: 740px;
}
.al-article strong {
  color: var(--al-navy);
  font-weight: 700;
}
/* =========================================================================
   STRATEGIC PARTNER — CertHub card
   Matches the design reference exactly.
   ========================================================================= */
.sp-partner {
  position: relative;
  margin: 28px 0 12px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-2xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sp-partner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--al-navy), var(--al-orange));
}
.sp-partner__ghost {
  position: absolute;
  right: 28px;
  bottom: -34px;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 150px;
  line-height: 1;
  color: var(--al-navy);
  opacity: 0.045;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.sp-partner__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt), #fff);
  border-bottom: 1px solid var(--border-1);
}
.sp-partner__bar::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -94px;
  width: 212px;
  height: 172px;
  border: 2px solid rgba(224, 144, 48, 0.26);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}
.sp-partner__logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  box-shadow: var(--shadow-xs);
}
.sp-partner__logo img {
  height: 36px;
  width: auto;
  max-width: 210px;
  display: block;
}
.sp-logo-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--al-navy);
  letter-spacing: -0.01em;
}
.sp-partner__tags {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
}
.sp-tag--solid {
  color: #fff;
  background: var(--al-orange);
  border-color: var(--al-orange);
}
.sp-partner__lead,
.sp-partner > p,
.sp-partner__note,
.sp-twoway,
.sp-partner__cta {
  position: relative;
  z-index: 1;
  margin-left: 30px;
  margin-right: 30px;
}
.sp-partner .sp-partner__lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.6;
  color: var(--fg-1);
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 14px;
}
.sp-partner > p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.62;
  color: var(--fg-2);
  margin-top: 0;
  margin-bottom: 14px;
}
.sp-partner .sp-partner__sub {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--al-navy);
  margin: 30px 30px 0;
  padding-top: 26px;
  text-indent: 0;
}
.sp-partner__sub::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  right: -30px;
  height: 1px;
  background: var(--border-1);
}
.sp-partner .sp-partner__note {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-3);
  margin-top: 7px;
  margin-bottom: 16px;
}
.sp-twoway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 8px;
}
.sp-twoway__card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 22px 22px 24px;
  transition: box-shadow 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.sp-twoway__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sp-twoway__card--project {
  background: #fff6ec;
  border-color: rgba(224, 144, 48, 0.4);
}
.sp-twoway__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.sp-twoway__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--al-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sp-twoway__icon svg {
  width: 21px;
  height: 21px;
}
.sp-twoway__icon--accent {
  background: var(--al-orange);
}
.sp-twoway__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--al-orange-700);
}
.sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--al-orange);
  box-shadow: 0 0 0 3px rgba(224, 144, 48, 0.22);
  flex: none;
}
.sp-twoway__card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--al-navy);
  margin: 0 0 8px;
  line-height: 1.25;
}
.sp-twoway__card p {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--fg-2);
  margin: 0;
}
.sp-partner__cta {
  margin-top: 24px;
  margin-bottom: 30px;
}
.sp-partner__cta .al-btn svg {
  width: 17px;
  height: 17px;
  margin-left: 3px;
}
/* Inline CTA — button group inside article content (canonical .al-* name). */
.al-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 0px;
}
/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .al-grid-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .al-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .al-cta-card {
    flex: 1;
    min-width: 260px;
  }
}
@media (max-width: 680px) {
  .sp-twoway {
    grid-template-columns: 1fr;
  }
  .sp-partner__bar {
    padding: 22px;
  }
  .sp-partner__lead,
  .sp-partner > p,
  .sp-partner__note,
  .sp-twoway,
  .sp-partner__cta,
  .sp-partner .sp-partner__sub {
    margin-left: 22px;
    margin-right: 22px;
  }
}
/* =========================================================================
   DARK MODE
   ========================================================================= */
body.dark .al-body {
  background: var(--al-navy);
}
body.dark .al-article p {
  color: var(--article-text);
}
body.dark .al-article h2 {
  color: var(--article-heading);
}
body.dark .al-article strong {
  color: var(--article-strong);
}
body.dark .sp-toc-card {
  background: var(--toc-bg);
  border-color: var(--card-border);
  box-shadow: var(--card-shadow);
}
body.dark .sp-toc-card__h {
  color: var(--toc-header-color);
  border-bottom-color: var(--toc-header-border);
}
body.dark .sp-toc a {
  color: var(--toc-link-color);
}
body.dark .sp-toc a:hover {
  background: var(--toc-link-hover-bg);
  color: #fff;
}
body.dark .sp-toc a.is-active {
  color: var(--toc-link-active-color);
  background: var(--toc-link-active-bg);
  border-left-color: var(--toc-link-active-border);
}
body.dark .al-cta-card {
  background: var(--cta-card-bg);
  border-color: var(--cta-card-border);
}
body.dark .sp-partner {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .sp-partner__ghost {
  color: #fff;
  opacity: 0.05;
}
body.dark .sp-partner__bar {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .sp-partner__lead {
  color: #fff;
}
body.dark .sp-partner > p,
body.dark .sp-twoway__card p {
  color: rgba(255, 255, 255, 0.8);
}
body.dark .sp-partner__sub {
  color: #fff;
}
body.dark .sp-partner__sub::before {
  background: rgba(255, 255, 255, 0.12);
}
body.dark .sp-twoway__card h4 {
  color: #fff;
}
body.dark .sp-twoway__card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .sp-twoway__card--project {
  background: rgba(224, 144, 48, 0.1);
  border-color: rgba(224, 144, 48, 0.35);
}
body.dark .sp-twoway__icon {
  background: var(--al-navy-600);
}
