/* WeWorkWeb editorial system: article hub, author profile and editorial policy. */

body.page-articles,
body.page-author-ayoub-kahouadji,
body.page-politique-editoriale {
  background: #f5f8fc;
  color: #07131f;
}

.editorial-page {
  --editorial-ink: #07131f;
  --editorial-muted: #496476;
  --editorial-line: rgba(10, 45, 78, 0.13);
  --editorial-blue: #145cff;
  --editorial-cyan: #19c7dc;
  color: var(--editorial-ink);
  overflow: clip;
}

.ww-article-preview-notice {
  align-items: center;
  background: #fff4c7;
  border-bottom: 1px solid #e5c96a;
  color: #17355f;
  display: flex;
  font-size: 0.92rem;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.8rem 1rem;
  text-align: center;
}

.ww-article-preview-notice strong {
  color: #0e2b50;
}

@media (max-width: 640px) {
  .ww-article-preview-notice {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .page-author-ayoub-kahouadji .www-chatbot__pet-stage {
    bottom: max(0.35rem, env(safe-area-inset-bottom));
    height: 3.6rem;
  }

  .page-author-ayoub-kahouadji .www-chatbot__pet-launcher {
    height: 3.4rem;
    left: auto;
    right: 0.45rem;
    transform: none !important;
    width: 3.15rem;
  }

  .page-author-ayoub-kahouadji .www-chatbot__pet-visual {
    width: 3rem;
  }

  .page-author-ayoub-kahouadji .www-chatbot__pet-cue {
    display: none;
  }
}

.editorial-shell {
  margin-inline: auto;
  max-width: 1340px;
  padding-inline: clamp(1rem, 3.4vw, 2.75rem);
  width: 100%;
}

.editorial-page > .editorial-shell:first-child {
  isolation: isolate;
  position: relative;
}

.editorial-page > .editorial-shell:first-child::before {
  background:
    radial-gradient(circle at 78% 26%, rgba(25, 199, 220, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 42%, rgba(20, 92, 255, 0.14), transparent 34rem),
    linear-gradient(135deg, #06111e 0%, #071b2b 100%);
  content: "";
  inset: 0 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
}

body.site-page :is(.editorial-hub, .author-profile, .editorial-policy) > .editorial-shell:first-child .editorial-breadcrumb :where(a, span) {
  color: rgba(235, 247, 255, 0.76) !important;
}

.editorial-page :where(a, button, summary):focus-visible {
  border-radius: 4px;
  outline: 3px solid #145cff;
  outline-offset: 4px;
}

.editorial-breadcrumb {
  padding-top: clamp(7.25rem, 10vw, 9.5rem);
}

.editorial-breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-breadcrumb li {
  align-items: center;
  color: #61788a;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.45;
}

.editorial-breadcrumb li + li::before {
  color: #9aabba;
  content: "/";
  margin-right: 0.45rem;
}

.editorial-breadcrumb a {
  color: #274c69;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.editorial-label {
  color: #0f55d9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.editorial-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.editorial-section--white {
  background: #ffffff;
}

.editorial-section--dark {
  background:
    radial-gradient(circle at 10% 20%, rgba(25, 199, 220, 0.18), transparent 28rem),
    #06111e;
  color: #ffffff;
}

.editorial-section--cta {
  background: #eaf3ff;
  border-block: 1px solid rgba(20, 92, 255, 0.1);
}

.editorial-section__heading {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}

.editorial-section__heading--wide {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  max-width: 58rem;
}

.editorial-section__heading h2,
.editorial-cta h2 {
  color: inherit;
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.editorial-section__heading p:not(.editorial-label),
.editorial-cta p,
.editorial-prose p {
  color: var(--editorial-muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.75;
  margin: 0;
}

.editorial-section--dark .editorial-label {
  color: #6fe8ff;
}

.editorial-section--dark .editorial-section__heading p:not(.editorial-label) {
  color: rgba(235, 247, 255, 0.78);
}

.editorial-reading-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 7vw, 7.5rem);
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
}

.editorial-prose {
  display: grid;
  gap: 1.15rem;
}

.editorial-prose h3 {
  color: var(--editorial-ink);
  font-size: 1.1rem;
  margin: 0.3rem 0 0;
}

.editorial-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.editorial-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1.2;
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.editorial-button--primary {
  background: #145cff;
  box-shadow: 0 14px 34px rgba(20, 92, 255, 0.2);
  color: #ffffff !important;
}

.editorial-button--secondary {
  background: #ffffff;
  border-color: rgba(10, 45, 78, 0.18);
  color: #092943 !important;
}

.editorial-button--light {
  background: #ffffff;
  color: #07131f !important;
}

.editorial-text-link {
  color: #0f55d9;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

.editorial-text-link--light {
  color: #8defff;
}

.editorial-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.editorial-cta {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.editorial-cta > div:first-child {
  display: grid;
  gap: 0.8rem;
  max-width: 54rem;
}

.editorial-cta h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.7rem);
}

/* Hub */

.editorial-hub__hero {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
  max-width: 64rem;
  padding-block: clamp(2.25rem, 5vw, 5.5rem) clamp(4.5rem, 8vw, 8rem);
}

.editorial-hub__hero > div:first-child {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  text-align: center;
}

.editorial-hub__hero h1 {
  color: #f7fbff !important;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  font-weight: 920;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0 auto;
  max-width: 9ch;
}

.editorial-hub__hero > div:first-child > p {
  color: rgba(235, 247, 255, 0.78) !important;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  font-weight: 560;
  line-height: 1.62;
  margin: 0 auto;
  max-width: 54rem;
}

.editorial-hub__trust {
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(12, 52, 92, 0.08);
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.editorial-hub__trust strong {
  color: var(--editorial-ink) !important;
  font-size: 1.05rem;
}

.editorial-hub__trust p {
  color: var(--editorial-muted) !important;
  line-height: 1.6;
  margin: 0;
}

.editorial-hub__trust a {
  color: #0f55d9;
  font-size: 0.9rem;
  font-weight: 850;
}

.editorial-featured {
  background: #06111e;
  color: #ffffff;
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.editorial-featured__grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.72fr);
}

.editorial-featured__copy {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.editorial-featured__copy .editorial-label {
  color: #6fe8ff;
}

.editorial-featured__copy h2 {
  font-size: clamp(2.25rem, 4.8vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
  max-width: 13ch;
}

.editorial-featured__copy h2 a {
  color: #ffffff;
  text-decoration: none;
}

.editorial-featured__copy > p:not(.editorial-label, .editorial-featured__byline) {
  color: rgba(235, 247, 255, 0.8);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.65;
  margin: 0;
  max-width: 46rem;
}

.editorial-featured__byline {
  color: rgba(235, 247, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.editorial-featured__byline a {
  color: #ffffff;
  font-weight: 800;
}

.editorial-featured__media {
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(111, 232, 255, 0.18);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}

.editorial-featured__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.editorial-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.editorial-meta > :where(span, time) {
  background: #edf5ff;
  border-radius: 999px;
  color: #24465c;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.45rem 0.68rem;
}

.editorial-meta--light > :where(span, time) {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
}

.editorial-filters {
  display: flex;
  gap: 0.65rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  overflow-x: auto;
  padding: 0.25rem 0 0.6rem;
  scrollbar-width: thin;
}

.editorial-filters a {
  align-items: center;
  background: #f5f8fc;
  border: 1px solid var(--editorial-line);
  border-radius: 999px;
  color: #153a55;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.87rem;
  font-weight: 800;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.editorial-filters a[aria-current="page"] {
  background: #092943;
  border-color: #092943;
  color: #ffffff;
}

.editorial-filters a span {
  color: #145cff;
  font-size: 0.75rem;
}

.editorial-filters a[aria-current="page"] span {
  color: #8defff;
}

.editorial-card-grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-article-card {
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(12, 52, 92, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.editorial-article-card__media {
  aspect-ratio: 16 / 10;
  background: #eaf3ff;
  margin: 0;
  overflow: hidden;
}

.editorial-article-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.editorial-article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.editorial-article-card h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin: 0;
}

.editorial-article-card h3 a {
  color: var(--editorial-ink);
  text-decoration: none;
}

.editorial-article-card__body > p {
  color: var(--editorial-muted);
  font-size: 0.94rem;
  line-height: 1.62;
  margin: 0;
}

.editorial-article-card__byline,
.editorial-article-card__dates {
  color: #60788a;
  display: grid;
  font-size: 0.77rem;
  gap: 0.22rem;
  line-height: 1.45;
  margin-top: auto;
}

.editorial-article-card__byline a {
  color: #284f6b;
  font-weight: 800;
}

.editorial-article-card .editorial-text-link {
  margin-top: 0.3rem;
}

.editorial-pagination {
  align-items: center;
  border-top: 1px solid var(--editorial-line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
}

.editorial-pagination > div:last-child {
  text-align: right;
}

.editorial-pagination :where(a, span) {
  color: #274c69;
  font-size: 0.88rem;
  font-weight: 800;
}

.editorial-pagination span[aria-disabled="true"] {
  color: #8998a4;
}

.editorial-pagination ol {
  display: flex;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-pagination ol :where(a, span) {
  align-items: center;
  border: 1px solid var(--editorial-line);
  border-radius: 6px;
  display: inline-flex;
  height: 2.4rem;
  justify-content: center;
  min-width: 2.4rem;
  text-decoration: none;
}

.editorial-pagination ol span[aria-current="page"] {
  background: #092943;
  color: #ffffff;
}

.editorial-empty-state {
  background: #f5f8fc;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.editorial-empty-state h3,
.editorial-empty-state p {
  margin: 0;
}

.editorial-empty-state p {
  color: var(--editorial-muted);
}

.editorial-author-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(12, 52, 92, 0.08);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(13rem, 0.36fr) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.editorial-author-panel img {
  aspect-ratio: 1;
  border-radius: 10px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.editorial-author-panel > div {
  display: grid;
  gap: 0.9rem;
  padding: clamp(0.25rem, 2vw, 1.25rem) clamp(0.25rem, 3vw, 2rem) clamp(0.25rem, 2vw, 1.25rem) 0;
}

.editorial-author-panel h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.editorial-author-panel > div > p:not(.editorial-label) {
  color: var(--editorial-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  max-width: 49rem;
}

/* Author */

.author-profile__hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(18rem, 0.58fr) minmax(0, 1fr);
  padding-block: clamp(2.25rem, 5vw, 5rem) clamp(5rem, 9vw, 8rem);
}

.author-profile__portrait {
  aspect-ratio: 1;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(12, 52, 92, 0.16);
  overflow: hidden;
}

.author-profile__portrait img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.author-profile__intro {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
}

.author-profile__intro h1 {
  color: #f7fbff !important;
  font-size: clamp(3rem, 6.8vw, 6.7rem);
  font-weight: 920;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0;
  max-width: 12ch;
}

.author-profile__subtitle {
  color: #dff9ff !important;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 750;
  line-height: 1.42;
  margin: 0;
  max-width: 43rem;
}

.author-profile__summary {
  color: rgba(235, 247, 255, 0.78) !important;
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0;
  max-width: 49rem;
}

.author-profile__official-links {
  display: grid;
  gap: 0.5rem;
}

.author-profile__official-links > span {
  color: #61788a;
  font-size: 0.76rem;
  font-weight: 800;
}

.author-profile__official-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.author-profile__official-links a {
  color: #0f55d9;
  font-size: 0.85rem;
  font-weight: 800;
}

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

.author-domain-card {
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 18rem;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
}

.author-domain-card > span {
  color: #145cff;
  font-size: 0.75rem;
  font-weight: 900;
}

.author-domain-card h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}

.author-domain-card p {
  color: var(--editorial-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

.author-domain-card a {
  color: #0f55d9;
  font-size: 0.9rem;
  font-weight: 850;
  margin-top: auto;
  text-underline-offset: 0.2em;
}

.author-method {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1fr);
}

.author-method__principles {
  counter-reset: method;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.author-method__principles li {
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  counter-increment: method;
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  line-height: 1.62;
  padding-block: 1rem;
}

.author-method__principles li::before {
  color: #6fe8ff;
  content: counter(method, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 900;
}

.author-method .editorial-text-link {
  grid-column: 2;
  justify-self: start;
}

.author-facts {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(16rem, 0.6fr) minmax(0, 1fr);
}

.author-facts dl {
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}

.author-facts dl > div {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  padding: 1rem 1.15rem;
}

.author-facts dl > div + div {
  border-top: 1px solid var(--editorial-line);
}

.author-facts dt {
  color: #60788a;
  font-size: 0.82rem;
  font-weight: 800;
}

.author-facts dd {
  color: var(--editorial-ink);
  line-height: 1.55;
  margin: 0;
}

.author-facts dd a {
  color: #0f55d9;
  font-weight: 800;
}

.author-facts__updated {
  color: #60788a;
  font-size: 0.8rem;
  grid-column: 2;
  margin: -1rem 0 0;
}

/* Editorial policy */

.editorial-policy__hero {
  display: grid;
  gap: 1.15rem;
  max-width: 62rem;
  padding-block: clamp(2.25rem, 5vw, 5rem) clamp(5rem, 9vw, 8rem);
}

.editorial-policy__hero h1 {
  color: #f7fbff !important;
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  font-weight: 920;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0;
}

.editorial-policy__hero > p:not(.editorial-label) {
  color: rgba(235, 247, 255, 0.78) !important;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  margin: 0;
  max-width: 52rem;
}

.editorial-policy__dates {
  color: rgba(235, 247, 255, 0.68) !important;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.9rem;
}

.editorial-policy__intro-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(16rem, 0.6fr) minmax(0, 1fr);
}

.editorial-policy__responsible {
  display: grid;
  gap: 1rem;
}

.editorial-policy__responsible > p {
  color: #315066;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.editorial-policy__responsible a {
  color: #0f55d9;
  font-weight: 850;
}

.editorial-policy__responsible h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0;
}

.editorial-policy__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-policy__topics li {
  background: #edf5ff;
  border: 1px solid rgba(20, 92, 255, 0.12);
  border-radius: 999px;
  color: #24465c;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 0.5rem 0.72rem;
}

.editorial-policy__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-policy__card {
  background: #ffffff;
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.editorial-policy__card > span {
  color: #145cff;
  font-size: 0.76rem;
  font-weight: 900;
}

.editorial-policy__card > h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

.editorial-policy__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.2rem;
}

.editorial-policy__list li {
  color: var(--editorial-muted);
  line-height: 1.65;
}

/* Contrast lock against the global dark inner-page theme. */
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-label,
body.site-page .editorial-page .editorial-author-panel .editorial-label {
  color: #0f55d9 !important;
}

body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-section__heading h2,
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-article-card h3 a,
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .author-domain-card h3,
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .author-facts :where(dt, dd),
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-policy__card > h2,
body.site-page .editorial-page .editorial-author-panel h2,
body.site-page .editorial-page .editorial-section--cta h2 {
  color: #07131f !important;
}

body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-section__heading p:not(.editorial-label),
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-article-card__body > p,
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .author-domain-card p,
body.site-page .editorial-page .editorial-section:not(.editorial-section--dark) .editorial-prose :where(p, li),
body.site-page .editorial-page .editorial-author-panel > div > p:not(.editorial-label) {
  color: #496476 !important;
}

body.site-page .editorial-page .editorial-section--dark .editorial-section__heading h2 {
  color: #ffffff !important;
}

@media (hover: hover) {
  .editorial-button:hover {
    box-shadow: 0 18px 42px rgba(20, 92, 255, 0.24);
    transform: translateY(-2px);
  }

  .editorial-article-card:hover {
    border-color: rgba(20, 92, 255, 0.28);
    box-shadow: 0 22px 58px rgba(12, 52, 92, 0.12);
    transform: translateY(-3px);
  }
}

@media (max-width: 1100px) {
  .editorial-hub__hero,
  .editorial-featured__grid,
  .author-profile__hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  }

  .editorial-card-grid,
  .author-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 834px) {
  .editorial-breadcrumb {
    padding-top: 6.8rem;
  }

  .editorial-hub__hero,
  .editorial-featured__grid,
  .author-profile__hero,
  .editorial-reading-grid,
  .author-method,
  .author-facts,
  .editorial-policy__intro-grid,
  .editorial-author-panel,
  .editorial-cta {
    grid-template-columns: 1fr;
  }

  .editorial-hub__hero {
    align-items: start;
    gap: 1.5rem;
  }

  .editorial-hub__hero h1,
  .author-profile__intro h1,
  .editorial-policy__hero h1 {
    max-width: 11ch;
  }

  .editorial-hub__trust {
    max-width: 36rem;
  }

  .editorial-featured__copy h2 {
    max-width: 16ch;
  }

  .author-profile__portrait {
    max-width: 28rem;
  }

  .author-method .editorial-text-link,
  .author-facts__updated {
    grid-column: 1;
  }

  .editorial-author-panel {
    max-width: 42rem;
  }

  .editorial-author-panel img {
    max-width: 20rem;
  }

  .editorial-author-panel > div {
    padding: 0.5rem;
  }

  .editorial-policy__grid {
    grid-template-columns: 1fr;
  }

  .editorial-pagination {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 640px) {
  .editorial-shell {
    padding-inline: 1rem;
  }

  .editorial-breadcrumb {
    padding-top: 6.25rem;
  }

  .editorial-hub__hero,
  .author-profile__hero,
  .editorial-policy__hero {
    padding-bottom: 4rem;
  }

  .editorial-hub__hero h1,
  .author-profile__intro h1,
  .editorial-policy__hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
    line-height: 0.94;
    max-width: none;
  }

  .editorial-card-grid,
  .author-domain-grid {
    grid-template-columns: 1fr;
  }

  .author-domain-card {
    min-height: 0;
  }

  .editorial-featured__media {
    min-height: 13rem;
  }

  .editorial-actions,
  .editorial-cta .editorial-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .editorial-actions .editorial-button,
  .editorial-cta > .editorial-button {
    width: 100%;
  }

  .author-facts dl > div {
    gap: 0.35rem;
    grid-template-columns: 1fr;
  }

  .editorial-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-pagination ol {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }

  .editorial-pagination > div {
    grid-row: 2;
  }

  .editorial-policy__topics {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .editorial-section {
    padding-block: 3.75rem;
  }

  .editorial-breadcrumb li {
    font-size: 0.78rem;
  }

  .editorial-hub__hero > div:first-child > p,
  .author-profile__summary,
  .editorial-policy__hero > p:not(.editorial-label) {
    font-size: 1rem;
  }

  .editorial-hub__hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.2rem);
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .author-profile__intro h1,
  .editorial-policy__hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.15rem);
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .editorial-featured__copy h2,
  .editorial-section__heading h2,
  .editorial-cta h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .editorial-featured__grid,
  .editorial-hub__hero,
  .author-profile__hero {
    gap: 1.5rem;
  }

  .editorial-article-card__body,
  .editorial-policy__card {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-page *,
  .editorial-page *::before,
  .editorial-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
