

/* Win over the legacy detail-page article grid without affecting other pages. */
body.tdc-article-template .tdc-article-hero {
  display: block !important;
  grid-template-columns: none !important;
  width: auto !important;
  padding: 0 0 56px !important;
}
body.tdc-article-template .tdc-article-hero .tdc-kicker { width: auto !important; }
body.tdc-article-template .tdc-article-hero h1 { width: auto !important; max-width: 820px !important; }
@media (max-width: 767px) {
  body.tdc-article-template .tdc-article-hero { padding-bottom: 40px !important; }
}

/* Branded article, Links and 404 templates — August 2026 */
body.tdc-article-template,
body.tdc-links-page,
body.tdc-whoops-page {
  margin: 0;
  color: #546670;
  background: #f8f8f8;
  font-family: "Noto Sans", Arial, sans-serif;
}

.tdc-article-main,
.tdc-brand-page-main {
  overflow: hidden;
  background: #f8f8f8;
}

.tdc-article-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 32px 92px;
}

.tdc-back-link {
  display: inline-flex;
  margin-bottom: 48px;
  color: #2e5563;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.tdc-back-link:hover,
.tdc-back-link:focus-visible { color: #4d97af; }

.tdc-kicker {
  margin: 0 0 28px;
  color: #2e5563;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tdc-article-hero {
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(46,85,99,.22);
}

.tdc-article-hero h1,
.tdc-article-cta h2,
.tdc-page-hero h1 {
  margin: 0;
  color: #2e5563;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

.tdc-article-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
}

.tdc-article-content {
  color: #465b65;
  font-size: 19px;
  line-height: 1.78;
}

.tdc-article-content > :first-child { margin-top: 0; }
.tdc-article-content p { margin: 0 0 1.5em; }
.tdc-article-content h2,
.tdc-article-content h3 {
  margin: 2em 0 .7em;
  color: #2e5563;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 600;
  line-height: 1.22;
}
.tdc-article-content h2 { font-size: clamp(31px, 4vw, 44px); }
.tdc-article-content h3 { font-size: clamp(25px, 3vw, 32px); }
.tdc-article-content a { color: #2e5563; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tdc-article-content blockquote {
  margin: 2.2em 0;
  padding: 8px 0 8px 28px;
  border-left: 5px solid #edb6be;
  color: #2e5563;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.2em;
}

.tdc-article-cta {
  padding: 88px 32px;
  border-bottom: 16px solid #2e5563;
  background: #eae3dc;
}
.tdc-article-cta-inner { max-width: 1120px; margin: 0 auto; }
.tdc-article-cta h2 { max-width: 960px; font-size: clamp(42px, 6vw, 72px); line-height: 1.12; }
.tdc-article-cta-inner > p:not(.tdc-kicker) { max-width: 860px; margin: 42px 0; font-size: 21px; line-height: 1.7; }
.tdc-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: 999px;
  background: #2e5563;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}
.tdc-button:hover,
.tdc-button:focus-visible { background: #4d97af; }

.tdc-page-hero {
  padding: 76px 28px 48px;
  text-align: center;
}
.tdc-page-hero h1 { font-size: clamp(48px, 7vw, 78px); line-height: 1.08; }
.tdc-page-hero p { max-width: 700px; margin: 24px auto 0; font-size: 19px; line-height: 1.65; }

.tdc-links-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px 88px; }
.tdc-links-profile { text-align: center; }
.tdc-links-profile img { width: 152px; height: 152px; margin-bottom: 22px; border-radius: 50%; object-fit: cover; }
.tdc-links-profile h1 { margin: 0; color: #2e5563; font-family: "Noto Serif", Georgia, serif; font-size: 42px; font-weight: 600; }
.tdc-links-profile .tdc-role { margin: 9px 0 18px; color: #4d97af; font-weight: 800; }
.tdc-links-profile .tdc-intro { max-width: 610px; margin: 0 auto 34px; font-size: 17px; line-height: 1.6; }
.tdc-link-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tdc-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 22px;
  border: 2px solid #2e5563;
  border-radius: 14px;
  background: #fff;
  color: #2e5563;
  font-weight: 800;
  text-decoration: none;
}
.tdc-link-list a:hover,
.tdc-link-list a:focus-visible { border-color: #4d97af; background: #eae3dc; color: #2e5563; }
.tdc-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 30px; }
.tdc-social-links a { color: #2e5563; font-weight: 800; text-underline-offset: 4px; }

.tdc-whoops-wrap {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 28px;
  background: #eae3dc;
  text-align: center;
}
.tdc-whoops-inner { max-width: 850px; }
.tdc-whoops-inner h1 { margin: 0; color: #2e5563; font-family: "Noto Serif", Georgia, serif; font-size: clamp(48px, 8vw, 86px); font-weight: 500; line-height: 1.05; }
.tdc-whoops-inner h2 { margin: 26px 0 0; color: #2e5563; font-size: 24px; }
.tdc-whoops-inner p { max-width: 650px; margin: 22px auto 34px; font-size: 19px; line-height: 1.65; }
.tdc-whoops-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tdc-button.tdc-button-light { border: 2px solid #2e5563; background: transparent; color: #2e5563 !important; }
.tdc-button.tdc-button-light:hover,
.tdc-button.tdc-button-light:focus-visible { background: #fff; }

@media (max-width: 767px) {
  .tdc-article-wrap { padding: 42px 22px 64px; }
  .tdc-back-link { margin-bottom: 34px; }
  .tdc-kicker { margin-bottom: 20px; font-size: 13px; letter-spacing: .13em; }
  .tdc-article-hero { margin-bottom: 42px; padding-bottom: 40px; }
  .tdc-article-hero h1 { font-size: 42px; }
  .tdc-article-content { font-size: 17px; line-height: 1.72; }
  .tdc-article-cta { padding: 62px 22px; }
  .tdc-article-cta h2 { font-size: 40px; }
  .tdc-article-cta-inner > p:not(.tdc-kicker) { margin: 30px 0; font-size: 18px; }
  .tdc-page-hero { padding-top: 52px; }
  .tdc-links-profile h1 { font-size: 36px; }
  .tdc-whoops-wrap { min-height: 58vh; padding: 60px 22px; }
  .tdc-whoops-actions { flex-direction: column; align-items: stretch; }
  .tdc-whoops-actions .tdc-button { justify-content: center; }
}

/* Align the reusable article shell with the 30 July 2026 article. */
body.tdc-article-template .tdc-article-title-section {
  padding: 96px 24px 84px;
  background: #eae3dc;
}

body.tdc-article-template .tdc-article-title-inner {
  max-width: 840px;
  margin: 0 auto;
}

body.tdc-article-template .tdc-back-link {
  margin: 0 0 52px;
  color: #2e5563;
  font-family: "Noto Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

body.tdc-article-template .tdc-article-hero {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.tdc-article-template .tdc-article-hero .tdc-kicker {
  width: auto !important;
  margin: 0 0 36px;
  color: #edb6be;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.75;
}

body.tdc-article-template .tdc-article-hero h1 {
  width: auto !important;
  max-width: 840px !important;
  margin: 0;
  color: #2e5563;
  font-family: "Noto Serif", sans-serif;
  font-size: 68px;
  font-weight: 500;
  letter-spacing: -1.7px;
  line-height: 1.16;
}

body.tdc-article-template .tdc-article-main {
  overflow: hidden;
  background: #f8f8f8;
}

body.tdc-article-template .tdc-article-wrap {
  box-sizing: border-box;
  max-width: 888px;
  margin: 0 auto;
  padding: 76px 24px 104px;
}

body.tdc-article-template .tdc-article-content {
  color: #546670;
  font-family: "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

body.tdc-article-template .tdc-article-content p {
  margin: 0 0 26px;
}

body.tdc-article-template .tdc-article-content h2,
body.tdc-article-template .tdc-article-content h3 {
  color: #2e5563;
  font-family: "Noto Serif", sans-serif;
  font-weight: 500;
  line-height: 1.16;
}

body.tdc-article-template .tdc-article-content h2 {
  margin: 54px 0 18px;
  font-size: 42px;
}

body.tdc-article-template .tdc-article-content h3 {
  margin: 44px 0 16px;
  color: #546670;
  font-size: 30px;
}

body.tdc-article-template .tdc-article-content ul,
body.tdc-article-template .tdc-article-content ol {
  margin: 0 0 26px;
  padding-left: 1.45em;
}

body.tdc-article-template .tdc-article-content li {
  margin-bottom: .45em;
}

body.tdc-article-template .tdc-article-cta.article-site-cta {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 100px 24px;
  border: 0;
  background: linear-gradient(115deg, #315d6b 0%, #4fa0b5 100%);
  text-align: center;
}

body.tdc-article-template .tdc-article-cta.article-site-cta::before {
  position: absolute;
  top: -.14em;
  left: 50%;
  color: rgba(20,64,78,.16);
  content: "tdc";
  font-family: Georgia, serif;
  font-size: clamp(360px,55vw,680px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
}

body.tdc-article-template .tdc-article-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
}

body.tdc-article-template .tdc-article-cta .tdc-kicker {
  margin: 0 0 32px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.tdc-article-template .tdc-article-cta .tdc-kicker::before {
  display: inline-block;
  width: 34px;
  margin-right: 14px;
  border-top: 2px solid #edb6be;
  content: "";
  vertical-align: middle;
}

body.tdc-article-template .tdc-article-cta h2 {
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
  font-family: "Noto Serif", sans-serif;
  font-size: clamp(52px,5vw,68px);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
}

body.tdc-article-template .tdc-article-cta-inner > p:not(.tdc-kicker) {
  max-width: 840px;
  margin: 42px auto;
  color: #fff;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

body.tdc-article-template .tdc-article-cta .tdc-button {
  justify-content: center;
  padding: 17px 26px;
  border-radius: 999px;
  background: #fff;
  color: #315d6b !important;
  font-weight: 700;
}

body.tdc-article-template .tdc-article-cta .tdc-button:hover,
body.tdc-article-template .tdc-article-cta .tdc-button:focus-visible {
  background: #f2ede6;
  color: #244b58 !important;
}

@media (max-width: 767px) {
  body.tdc-article-template .tdc-article-title-section {
    padding: 64px 22px 58px;
  }

  body.tdc-article-template .tdc-back-link {
    margin-bottom: 40px;
    font-size: 15px;
  }

  body.tdc-article-template .tdc-article-hero .tdc-kicker {
    margin-bottom: 24px;
  }

  body.tdc-article-template .tdc-article-hero h1 {
    font-size: 42px;
    letter-spacing: -.8px;
  }

  body.tdc-article-template .tdc-article-wrap {
    padding: 54px 22px 72px;
  }

  body.tdc-article-template .tdc-article-content h2 {
    margin-top: 44px;
    font-size: 34px;
  }

  body.tdc-article-template .tdc-article-content h3 {
    margin-top: 36px;
    font-size: 27px;
  }

  body.tdc-article-template .tdc-article-cta.article-site-cta {
    padding: 72px 22px;
  }

  body.tdc-article-template .tdc-article-cta.article-site-cta::before {
    font-size: 240px;
  }

  body.tdc-article-template .tdc-article-cta h2 {
    font-size: 38px;
  }
}
