/*
 * Brand-safe refinements for tagDiv Newspaper.
 * The vendor theme and Composer layout remain intact; this layer only aligns
 * the public shell with The Uni Brief identity and hardens responsive edges.
 */

body.tub-brand {
  --tub-ink: #071c2c;
  --tub-teal: #12afa6;
  --tub-yellow: #f4b942;
  --tub-coral: #ff6b5e;
  --tub-paper: #f7f7f2;
  --tub-admissions: #15b8a6;
  --tub-scholarships: #f4b942;
  --tub-universities: #4c8dff;
  --tub-study-abroad: #e85d9e;
  --tub-research: #9a78ff;
  --tub-campus-life: #ff7a59;
  --tub-careers: #39c77a;
  --tub-category-accent: var(--tub-teal);
  color: var(--tub-ink);
}

body.tub-category-admissions { --tub-category-accent: var(--tub-admissions); }
body.tub-category-scholarships { --tub-category-accent: var(--tub-scholarships); }
body.tub-category-universities { --tub-category-accent: var(--tub-universities); }
body.tub-category-study-abroad { --tub-category-accent: var(--tub-study-abroad); }
body.tub-category-research { --tub-category-accent: var(--tub-research); }
body.tub-category-campus-life { --tub-category-accent: var(--tub-campus-life); }
body.tub-category-careers { --tub-category-accent: var(--tub-careers); }

body.tub-brand .tub-category-archive {
  width: min(1180px, calc(100% - 40px));
  min-height: 60vh;
  margin-inline: auto;
  padding-block: clamp(42px, 6vw, 76px) 72px;
}

body.tub-brand .tub-category-archive__header {
  max-width: 900px;
  margin-bottom: 26px;
}

body.tub-brand .tub-category-archive__header .tub-section-kicker {
  margin: 0 0 10px;
  color: var(--tub-category-accent);
  font: 800 12px/1.2 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tub-brand .tub-category-archive__header h1 {
  margin: 0 0 16px;
  color: var(--tub-ink);
  font: 750 clamp(40px, 6vw, 68px)/1 Georgia, serif;
  letter-spacing: -.04em;
}

body.tub-brand .tub-category-archive__header > p:last-child {
  margin: 0;
  color: #526675;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

body.tub-brand .tub-category-archive__topics {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  overflow-x: auto;
  padding-bottom: 8px;
}

body.tub-brand .tub-category-archive__topics a {
  flex: 0 0 auto;
  border: 1px solid #dbe3e2;
  border-radius: 999px;
  background: #fff;
  color: var(--tub-ink);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body.tub-brand .tub-category-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body.tub-brand .tub-category-story {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dbe3e2;
  border-top: 5px solid var(--tub-category-accent);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 28, 44, .09);
}

body.tub-brand .tub-category-story__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2ed;
}

body.tub-brand .tub-category-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tub-brand .tub-category-story__copy { padding: clamp(20px, 3vw, 30px); }
body.tub-brand .tub-category-story h2 { margin: 12px 0; font: 750 clamp(24px, 3vw, 33px)/1.1 Georgia, serif; }
body.tub-brand .tub-category-story h2 a { color: var(--tub-ink); text-decoration: none; }
body.tub-brand .tub-category-story p { margin: 0 0 18px; color: #425466; font-size: 16px; line-height: 1.6; }
body.tub-brand .tub-category-story small { color: #6d7d88; font-weight: 700; }
body.tub-brand .tub-category-label { display: inline-block; border-radius: 999px; background: var(--tub-category-accent); color: #071c2c; padding: 5px 9px; font: 800 11px/1.15 Arial, sans-serif; text-decoration: none; text-transform: uppercase; }
body.tub-brand .tub-category-archive__pagination { margin-top: 34px; }

@media (max-width: 760px) {
  body.tub-brand .tub-category-archive { width: min(100% - 28px, 1180px); padding-top: 34px; }
  body.tub-brand .tub-category-archive__grid { grid-template-columns: 1fr; }
}

body.tub-brand .td-a-rec.tub-house-ad-block > div {
  max-width: 100%;
}

body.tub-brand .td-a-rec.tub-house-ad-block--banner > div {
  width: 976px;
}

body.tub-brand .tub-house-ad-link {
  display: block;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

body.tub-brand .tub-house-ad-link + .tub-house-ad-link {
  margin-top: 0;
}

body.tub-brand .tub-house-ad-link:focus-visible {
  outline: 3px solid var(--tub-yellow, #f4b942);
  outline-offset: 4px;
}

body.tub-brand .tub-house-ad-link img[data-tub-house-ad] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  transition: filter 160ms ease;
}

body.tub-brand .tub-house-ad-link:hover img[data-tub-house-ad] {
  filter: brightness(1.04);
}

@media (min-width: 768px) {
  body.tub-brand .td-a-rec.tub-house-ad-block:not(.tub-house-ad-block--dual) .td_spot_img_mob {
    display: none !important;
  }

  body.tub-brand .td-a-rec.tub-house-ad-block--dual .td_spot_img_all,
  body.tub-brand .td-a-rec.tub-house-ad-block--dual .td_spot_img_mob {
    display: block !important;
  }
}

@media (max-width: 767px) {
  body.tub-brand .td-a-rec.tub-house-ad-block:not(.tub-house-ad-block--dual) .td_spot_img_all {
    display: none !important;
  }

  body.tub-brand .td-a-rec.tub-house-ad-block--dual .td_spot_img_all,
  body.tub-brand .td-a-rec.tub-house-ad-block--dual .td_spot_img_mob {
    display: block !important;
  }

  body.tub-brand .td-a-rec.tub-house-ad-block--banner > div {
    width: 312px;
  }
}

.tub-newspaper-trust {
  margin-top: 48px;
  padding: 28px max(20px, calc((100vw - 1200px) / 2));
  color: #f7f7f2;
  background: #071c2c;
  border-top: 4px solid #12afa6;
}

.tub-newspaper-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(180px, .75fr) minmax(230px, 1fr);
  gap: 28px clamp(28px, 5vw, 72px);
}

.tub-newspaper-trust__about {
  max-width: 610px;
}

.tub-newspaper-trust__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #12afa6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tub-newspaper-trust__name {
  display: inline-block;
  margin-bottom: 13px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1;
}

.tub-newspaper-trust__about p {
  max-width: 62ch;
  margin: 0;
  color: #d8e2e7;
  font-size: 14px;
  line-height: 1.65;
}

.tub-newspaper-trust__about .tub-newspaper-trust__method {
  margin-top: 14px;
  padding-inline-start: 13px;
  border-inline-start: 3px solid #f4b942;
  color: #b9c9d1;
  font-size: 13px;
}

.tub-newspaper-trust nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.tub-newspaper-trust nav strong {
  margin-bottom: 4px;
  color: #12afa6;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tub-newspaper-trust a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.tub-newspaper-trust a:hover,
.tub-newspaper-trust a:focus-visible {
  color: #12afa6;
  text-decoration: underline;
}

.tub-newspaper-trust__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgb(247 247 242 / 18%);
}

.tub-newspaper-trust__bottom p {
  margin: 0;
  color: #c8d5dc;
  font-size: 14px;
}

.tub-newspaper-trust__bottom p:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  padding-inline-end: 150px;
}

body.tub-brand .td-header-template-wrap,
body.tub-brand .tdc-header-template-wrap {
  position: relative;
}

body.tub-brand .tdw-wml-link,
body.tub-brand .tdw-wml-popup,
body.tub-brand .td-login-modal-js,
body.tub-brand .td-login-modal-wrap,
body.tub-brand .tdm_block_button:has(a[href*="/plans/"]),
body.tub-brand .tds-button:has(a[href*="/plans/"]) {
  display: none !important;
}

body.tub-brand .tub-newsletter-company {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.tub-brand .tub-newsletter-response,
body.tub-brand .tub-newsletter-message {
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 3px solid var(--tub-teal, #12afa6);
  background: rgba(18, 175, 166, 0.1);
  color: var(--tub-ink, #071c2c);
  font-size: 14px;
  line-height: 1.5;
}

body.tub-brand .tub-newsletter-response--error {
  border-left-color: var(--tub-coral, #ff6b5e);
  background: rgba(255, 107, 94, 0.1);
}

body.tub-brand .tub-newsletter-page {
  width: min(720px, calc(100% - 32px));
  margin: 64px auto 80px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(7, 28, 44, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(7, 28, 44, 0.1);
}

body.tub-brand .tub-newsletter-page__eyebrow {
  margin: 0 0 8px;
  color: #0b817a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.tub-brand .tub-newsletter-page h1 {
  margin: 0 0 12px;
}

body.tub-brand .tub-newsletter-page .tub-newsletter-form {
  margin-top: 28px;
}

body.tub-brand .tub-newsletter-consent a,
body.tub-brand [data-tub-newsletter-privacy] a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.tub-brand [data-tub-newsletter-privacy] {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(7, 28, 44, 0.16);
}

body.tub-brand .tub-empty-content-section {
  display: none !important;
}

body.tub-brand.home .tub-duplicate-story,
body.tub-brand.home .tub-category-overflow-story {
  display: none !important;
}

@media (min-width: 1025px) {
  body.tub-brand.home .tub-home-category-section .tub-category-support-block > .td_block_inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  body.tub-brand.home .tub-home-category-section .tub-category-support-block > .td_block_inner > .td_module_wrap {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  body.tub-brand.home .tub-home-category-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
    grid-template-rows: repeat(var(--tub-support-count, 1), minmax(82px, auto));
    gap: 14px 22px;
    margin: 0 !important;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--lead {
    grid-column: 1;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting {
    grid-column: 2;
    min-height: 82px;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-module-container {
    box-sizing: border-box;
    display: block !important;
    height: 100% !important;
    min-height: 82px;
    padding: 14px 16px !important;
    border: 1px solid rgba(7, 28, 44, 0.1) !important;
    border-radius: 12px;
    background: #f7faf9;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-image-container,
  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-module-thumb,
  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-image-wrap {
    display: none !important;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-module-meta-info {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story--supporting .td-module-container::before {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1018px) {
  body.tub-brand.home .tub-home-category-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr);
    gap: 12px 16px;
  }
}

@media (max-width: 767px) {
  body.tub-brand.home .tub-home-category-grid {
    display: block !important;
  }

  body.tub-brand.home .tub-home-category-grid > .tub-home-category-story {
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

body.tub-brand.home .tub-redundant-home-section,
body.tub-brand.home .tub-redundant-home-row,
body.tub-brand.home .tub-empty-home-action {
  display: none !important;
}

.tub-student-next-step {
  margin: clamp(30px, 5vw, 52px) 0;
  padding: clamp(24px, 4vw, 38px);
  border-inline-start: 6px solid var(--tub-category-accent, var(--tub-teal));
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, #eefaf8 0%, #fff8e6 100%);
  color: var(--tub-ink);
}

.tub-student-next-step__eyebrow {
  margin: 0 0 8px !important;
  color: #24766f;
  font: 800 12px/1.25 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tub-student-next-step h2 {
  margin: 0 0 10px !important;
  color: var(--tub-ink);
  font: 750 clamp(25px, 3vw, 36px)/1.08 Georgia, serif !important;
}

.tub-student-next-step > p:not(.tub-student-next-step__eyebrow) {
  max-width: 720px;
  margin: 0 0 20px !important;
  color: #31485a;
  font: 500 16px/1.6 Arial, sans-serif;
}

.tub-student-next-step > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--tub-ink);
  color: #fff !important;
  font: 800 14px/1.2 Arial, sans-serif;
  text-decoration: none !important;
}

.tub-student-next-step > a:hover,
.tub-student-next-step > a:focus-visible {
  background: var(--tub-teal);
  color: var(--tub-ink) !important;
}

html[dir="rtl"] .tub-student-next-step {
  border-radius: 18px 0 0 18px;
}

.tub-theme-explore-links {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.tub-theme-explore-links a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.tub-theme-explore-links a:hover,
.tub-theme-explore-links a:focus-visible {
  color: #12afa6;
  text-decoration: underline;
}

.tub-article-context {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 22px auto 0;
  color: rgb(255 255 255 / 88%);
  font-family: var(--td_default_google_font_1, "Open Sans", sans-serif);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.tub-visible-breadcrumb,
.tub-article-context p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 10px;
  margin: 0;
}

.tub-visible-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.tub-visible-breadcrumb a:hover,
.tub-visible-breadcrumb a:focus-visible {
  color: #12afa6;
  text-decoration: underline;
}

.tub-category-intro {
  max-width: 900px;
  margin: 22px auto 0;
  color: #52616b;
  font-family: var(--td_default_google_font_1, "Open Sans", sans-serif);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.tub-category-intro p {
  margin: 0;
}

body.tub-brand .td-header-template-wrap {
  border-bottom-color: rgb(7 28 44 / 10%);
}

body.tub-brand .tdb-header-menu .tdb-menu > li > a,
body.tub-brand .tdb-header-menu .tdb-menu > li > a:visited,
body.tub-brand .tdb_header_menu .tdb-menu > li > a,
body.tub-brand .tdb_header_menu .tdb-menu > li > a:visited {
  color: var(--tub-ink) !important;
}

body.tub-brand .tdb-header-menu .tdb-menu > li.current-menu-item > a,
body.tub-brand .tdb-header-menu .tdb-menu > li > a:hover,
body.tub-brand .tdb-header-menu .tdb-menu > li > a:focus-visible,
body.tub-brand .tdb_header_menu .tdb-menu > li.current-menu-item > a,
body.tub-brand .tdb_header_menu .tdb-menu > li > a:hover,
body.tub-brand .tdb_header_menu .tdb-menu > li > a:focus-visible {
  color: #087f79 !important;
}

/* Keep Newspaper's desktop sticky header on one compact row. The generated
 * template reserves one quarter of the viewport for the logo, which leaves
 * too little room for the complete editorial navigation and makes the final
 * items wrap into a second 54px row. */
@media (min-width: 1025px) {
  body.tub-brand .td-header-desktop-sticky-wrap,
  body.tub-brand .td-header-desktop-sticky-wrap .tdc_zone,
  body.tub-brand .td-header-desktop-sticky-wrap .tdc-row,
  body.tub-brand .td-header-desktop-sticky-wrap .vc_row {
    min-height: 64px !important;
    height: 64px !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .vc_row:has(.tdb_header_menu) {
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdc-column:has(.tdb_header_logo) {
    width: 18% !important;
    flex: 0 0 18% !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdc-column:has(.tdb_header_menu) {
    width: 82% !important;
    flex: 0 0 82% !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo .tdb-block-inner,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo .tdb-logo-a {
    height: 44px !important;
    max-height: 44px !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo .tdb-logo-img-wrap,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo img {
    width: auto !important;
    max-width: min(180px, 100%) !important;
    height: 38px !important;
    object-fit: contain;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .td_block_inner,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu {
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu > li {
    float: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 64px !important;
    height: 64px !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu > li > a,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu > li > a .tdb-menu-item-text {
    min-height: 64px !important;
    height: 64px !important;
    padding-inline: 6px !important;
    font-size: 12px !important;
    line-height: 64px !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  body.tub-brand .td-header-desktop-sticky-wrap .tdc-column:has(.tdb_header_logo) {
    width: 16% !important;
    flex-basis: 16% !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdc-column:has(.tdb_header_menu) {
    width: 84% !important;
    flex-basis: 84% !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo .tdb-logo-img-wrap,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_logo img {
    max-width: min(150px, 100%) !important;
  }

  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu > li > a,
  body.tub-brand .td-header-desktop-sticky-wrap .tdb_header_menu .tdb-menu > li > a .tdb-menu-item-text {
    padding-inline: 4px !important;
    font-size: 10.5px !important;
  }
}

body.tub-brand .tdm_block_popup .tdm-btn.tds-button5,
body.tub-brand .tdm_block_popup .tdm-btn.tds-button5:hover,
body.tub-brand .tdm_block_popup .tdm-btn.tds-button5:focus-visible {
  border-color: var(--tub-teal) !important;
  background: var(--tub-teal) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand .tdm_block_popup .tdm-btn.tds-button5 .tdm-btn-icon-svg svg,
body.tub-brand .tdm_block_popup .tdm-btn.tds-button5 .tdm-btn-icon-svg path {
  fill: var(--tub-ink) !important;
}

body.tub-brand .tdm_block_button .tdm-btn.tds-button1,
body.tub-brand .tdm_block_button .tdm-btn.tds-button1:hover,
body.tub-brand .tdm_block_button .tdm-btn.tds-button1:focus-visible {
  border-color: var(--tub-yellow) !important;
  background: var(--tub-yellow) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand .td-post-category,
body.tub-brand .td-post-category:hover,
body.tub-brand .td-module-container:hover .td-post-category,
body.tub-brand .td_block_wrap .td-module-container .td-post-category,
body.tub-brand .td-big-grid-flex .td-module-container .td-post-category {
  background-color: var(--tub-teal) !important;
  color: var(--tub-ink) !important;
}

/* The narrow Trending rail needs a slightly calmer category label so long
 * names stay comfortably inside their colour chip beside the publication
 * date. Keep the larger labels used by feature cards unchanged. */
body.tub-brand .tub-home-feature-column--4 .td-post-category {
  font-size: 11.4px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.35px !important;
}

/* The four-up horizontal story rail gives the text side of each card only
 * about 150px at common desktop widths. Keep long category names inside that
 * column and let headlines shrink with the card instead of pushing sideways. */
@media (min-width: 1025px) {
  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 > .td_block_inner > .td_module_wrap,
  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 .td-module-container,
  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 .td-module-meta-info {
    min-width: 0;
  }

  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 .td-module-title,
  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 .td-module-title a {
    max-width: 100%;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.tub-brand.home .tub-home-feed-row .td_flex_block_1 .td-post-category {
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 6px !important;
    font-size: 11px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.45px !important;
    white-space: normal !important;
    text-align: center;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* Newspaper's single-post Composer template carries its own red and dark-green
 * accents. Keep the layout, but map every article action back to the shared
 * brand palette so inner pages feel like the same publication as the front
 * page. The selectors are structural because Composer's tdi_* ids change when
 * the template is saved. */
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button,
body.tub-brand.single-post .td-post-sharing .td-social-but-icon,
body.tub-brand.single-post .td-post-sharing .td-social-but-text,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button i {
  border-color: var(--tub-coral) !important;
  background-color: var(--tub-coral) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:hover,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:focus-visible,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:hover .td-social-but-icon,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:hover .td-social-but-text,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:hover i,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:focus-visible .td-social-but-icon,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:focus-visible .td-social-but-text,
body.tub-brand.single-post .td-post-sharing .td-social-sharing-button:focus-visible i {
  border-color: var(--tub-ink) !important;
  background-color: var(--tub-ink) !important;
  color: #fff !important;
}

body.tub-brand.single-post .tds-submit-btn {
  border-color: var(--tub-yellow) !important;
  background: var(--tub-yellow) !important;
  color: var(--tub-ink) !important;
  font-weight: 800;
}

body.tub-brand.single-post .tds-submit-btn:hover,
body.tub-brand.single-post .tds-submit-btn:focus-visible {
  border-color: var(--tub-teal) !important;
  background: var(--tub-teal) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand.single-post .tdm_block_inline_text {
  border-color: var(--tub-yellow) !important;
}

/* Keep Newspaper's floating back-to-top control in the publication palette on
 * every page. The vendor default (#4db2ec) otherwise leaks through on archive
 * and home templates. */
body.tub-brand .td-scroll-up {
  border: 1px solid rgb(7 28 44 / 18%) !important;
  background: var(--tub-teal) !important;
  box-shadow: 0 8px 22px rgb(7 28 44 / 20%) !important;
  color: var(--tub-ink) !important;
}

@media (min-width: 768px) {
  body.tub-brand .td-scroll-up {
    right: 100px !important;
    bottom: 18px !important;
  }

  html[dir="rtl"] body.tub-brand .td-scroll-up {
    right: 18px !important;
  }
}

body.tub-brand .td-scroll-up .td-icon-menu-up,
body.tub-brand .td-scroll-up .td-icon-menu-up::before {
  color: inherit !important;
}

body.tub-brand .td-scroll-up:hover,
body.tub-brand .td-scroll-up:focus-visible {
  border-color: var(--tub-ink) !important;
  background: var(--tub-ink) !important;
  color: #fff !important;
}

body.tub-brand a:focus-visible,
body.tub-brand button:focus-visible,
body.tub-brand input:focus-visible {
  outline: 3px solid var(--tub-yellow) !important;
  outline-offset: 3px;
}

body.tub-brand .tdb-logo-img {
  width: auto;
  max-height: 34px;
  object-fit: contain;
}

body.tub-brand .td_module_flex_empty,
body.tub-brand .td-big-grid-flex-post-empty,
body.tub-brand .tdc-no-posts,
body.tub-brand .tub-empty-composer-row {
  display: none !important;
}

body.tub-brand .td-big-grid-flex .td_block_inner,
body.tub-brand .td-big-grid-flex-posts {
  min-height: 0 !important;
  height: auto !important;
}

/* The tagDiv single template omits its featured-image block. MakeNews assigns
 * featured_media, and the brand plugin injects this semantic figure at the
 * beginning of the article body. Keep the artwork clear of headline overlays. */
.tub-single-featured-media {
  width: 100%;
  margin: 0 0 clamp(24px, 3vw, 38px);
}

.tub-single-featured-media__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #e8efef;
  object-fit: cover;
}

.tub-single-featured-media__caption {
  margin-top: 10px;
  color: #52616b;
  font-size: 13px;
  line-height: 1.55;
}

body.tub-brand .td-image-wrap:has(.tub-placeholder-thumb) {
  position: relative;
  overflow: hidden;
}

body.tub-brand .tub-placeholder-thumb > .tub-placeholder-brand,
body.tub-brand .tub-placeholder-thumb > .tub-placeholder-kicker {
  display: none !important;
}

body.tub-brand .td-image-wrap > .tub-placeholder-thumb {
  position: absolute !important;
  inset: 0;
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 4vw, 32px);
}

body.tub-brand #submit.submit,
body.tub-brand .form-submit input[type="submit"] {
  min-height: 48px;
  border: 0 !important;
  border-radius: 8px;
  background: var(--tub-ink) !important;
  color: #fff !important;
  font-weight: 800;
  cursor: pointer;
}

body.tub-brand #submit.submit:hover,
body.tub-brand #submit.submit:focus-visible,
body.tub-brand .form-submit input[type="submit"]:hover,
body.tub-brand .form-submit input[type="submit"]:focus-visible {
  background: #087f79 !important;
}

body.tub-brand .tub-visible-label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 8px !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  color: var(--tub-ink);
  font-size: 14px;
  font-weight: 800;
}

body.tub-brand .comment-form input:not([type="submit"]),
body.tub-brand .comment-form textarea {
  width: 100%;
  border: 1px solid rgb(7 28 44 / 22%) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--tub-ink);
  font-size: 16px;
}

body.tub-brand .comment-form input:not([type="submit"]) {
  min-height: 48px;
}

body.tub-brand .comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

body.tub-brand .comment-form input:focus,
body.tub-brand .comment-form textarea:focus {
  border-color: var(--tub-teal) !important;
  box-shadow: 0 0 0 3px rgb(18 175 166 / 18%);
}

@media (max-width: 1024px) {
  body.tub-brand .tdc-header-template-wrap .tdc-row:has(.tdb_header_menu),
  body.tub-brand .td-header-template-wrap .tdc-row:has(.tdb_header_menu) {
    display: none !important;
  }

  body.tub-brand .td-big-grid-flex .td_module_flex:not(.td_module_flex_empty),
  body.tub-brand .td-big-grid-flex-posts .td_module_flex:not(.td_module_flex_empty),
  body.tub-brand .td-big-grid-flex-post:not(.td-big-grid-flex-post-empty) {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand .tdc-column:has(.tdc-no-posts):not(:has(.td-module-title a)) {
    display: none !important;
  }

  body.tub-brand .tdc-row:has(.tdc-no-posts) .tdc-column:has(.td-module-title a),
  body.tub-brand .tdc-column:has(.td_module_flex:not(.td_module_flex_empty)) {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand .td_block_inner.td-mc1-wrap > .td_module_flex:not(.td_module_flex_empty) {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand .td_module_flex .td-module-container:has(.tub-placeholder-thumb) > .td-image-container,
  body.tub-brand .td_module_flex .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td_module_flex .td-image-wrap:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-container:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-wrap:has(.tub-placeholder-thumb) {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand .td_module_flex .td-image-wrap:has(.tub-placeholder-thumb) {
    padding-bottom: 0 !important;
  }

  body.tub-brand .td-big-grid-flex-post .td-image-wrap:has(.tub-placeholder-thumb) {
    padding-bottom: 0 !important;
  }

  body.tub-brand .td-module-title a {
    font-size: max(16px, 1em);
    line-height: 1.35;
  }

  body.tub-brand .tdm-social-item,
  body.tub-brand .td-social-icon-wrap a {
    min-width: 44px;
    min-height: 44px;
  }

  body.tub-brand #td-mobile-nav {
    overflow: hidden !important;
    background: rgb(7 28 44 / 58%) !important;
    backdrop-filter: blur(5px);
  }

  body.tub-brand #td-mobile-nav.tub-mobile-nav-closed {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.tub-brand #td-mobile-nav .td-mobile-container {
    box-sizing: border-box;
    overflow-x: hidden;
    width: min(88vw, 420px) !important;
    min-height: 100svh;
    background: #fff !important;
    color: var(--tub-ink) !important;
    box-shadow: 24px 0 60px rgb(7 28 44 / 25%);
  }

  body.tub-brand #td-mobile-nav .td-mobile-content {
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
    min-height: 100svh;
    padding: 72px 24px 32px !important;
    background: #fff !important;
  }

  body.tub-brand #td-mobile-nav .td-mobile-main-menu,
  body.tub-brand #td-mobile-nav .td-mobile-main-menu ul {
    margin: 0;
    padding: 0;
  }

  body.tub-brand #td-mobile-nav .td-mobile-main-menu li {
    border-bottom: 1px solid rgb(7 28 44 / 10%);
  }

  body.tub-brand #td-mobile-nav .td-mobile-main-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 4px !important;
    color: var(--tub-ink) !important;
    font-size: 16px !important;
    font-weight: 750;
    line-height: 1.3;
  }

  body.tub-brand #td-mobile-nav .td-mobile-main-menu a:hover,
  body.tub-brand #td-mobile-nav .td-mobile-main-menu a:focus-visible {
    color: #087f79 !important;
  }

  body.tub-brand #td-mobile-nav .td-mobile-close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--tub-ink) !important;
    color: #fff !important;
    cursor: pointer;
  }

  html[dir="rtl"] body.tub-brand #td-mobile-nav .td-mobile-close {
    right: auto;
    left: 12px;
  }

  body.tub-brand.td-menu-mob-open-menu {
    overflow: hidden !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.tub-brand .td_module_flex .td-image-container:has(.tub-placeholder-thumb),
  body.tub-brand .td_module_flex .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td_module_flex .td-image-wrap:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-container:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-wrap:has(.tub-placeholder-thumb) {
    height: clamp(260px, 42vw, 340px) !important;
  }
}

@media (max-width: 767px) {
  html,
  body.tub-brand {
    max-width: 100%;
    overflow-x: clip;
  }

  body.tub-brand .td-week-slider,
  body.tub-brand .td-week-slider .td_block_inner,
  body.tub-brand .td-week-slider .td-module-container,
  body.tub-brand .td-week-slider .td-module-meta-info {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.tub-brand .td-week-slider .td-module-title a,
  body.tub-brand .td_module_flex .td-module-title a {
    overflow-wrap: anywhere;
  }

  body.tub-brand .td-week-slider .td-module-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.tub-brand .tdb-logo-img {
    width: 132px !important;
    max-width: 132px;
    max-height: 32px;
    height: auto !important;
  }

  body.tub-brand .tdb_header_logo,
  body.tub-brand .tdb_header_logo .tdb-block-inner,
  body.tub-brand .tdb_header_logo .tdb-logo-a {
    width: 132px !important;
    min-width: 132px;
    max-width: 132px !important;
  }

  body.tub-brand .tdc-row,
  body.tub-brand .td-pb-row,
  body.tub-brand .td_module_wrap,
  body.tub-brand .td-module-container,
  body.tub-brand .td-module-meta-info,
  body.tub-brand .td-module-title {
    min-width: 0;
    max-width: 100% !important;
  }

  body.tub-brand .td_module_wrap,
  body.tub-brand .td-module-container,
  body.tub-brand .td-module-title {
    width: 100% !important;
  }

  body.tub-brand .td-module-title a {
    display: block;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.tub-brand .td-module-title,
  body.tub-brand .entry-title {
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }

  body.tub-brand .td-week-slider .td_module_flex {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand .td_module_flex .td-image-container:has(.tub-placeholder-thumb),
  body.tub-brand .td_module_flex .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td_module_flex .td-image-wrap:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-container:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-module-thumb:has(.tub-placeholder-thumb),
  body.tub-brand .td-big-grid-flex-post .td-image-wrap:has(.tub-placeholder-thumb) {
    height: 220px !important;
  }

  body.tub-brand.single-post .tdb-single-title,
  body.tub-brand.single-post .tdb_title {
    font-size: clamp(32px, 9vw, 48px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  body.tub-brand.single-post .td-post-content,
  body.tub-brand.single-post .tdb_single_content {
    font-size: 17px;
    line-height: 1.72;
  }

  .tub-single-featured-media {
    margin-bottom: 24px;
  }

  .tub-single-featured-media__image {
    border-radius: 8px;
  }

  body.tub-brand.single-post .td-post-content h2,
  body.tub-brand.single-post .tdb_single_content h2 {
    margin-top: 1.75em;
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.18;
  }

  body.tub-brand .tub-language-switcher {
    right: 12px !important;
    left: auto !important;
    bottom: 12px !important;
  }

  html[dir="rtl"] body.tub-brand .tub-language-switcher {
    right: auto !important;
    left: 12px !important;
  }

  body.tub-brand .td-scroll-up {
    right: 94px !important;
    bottom: 12px !important;
  }

  html[dir="rtl"] body.tub-brand .td-scroll-up {
    right: 12px !important;
  }

  body.tub-brand .comment-form-cookies-consent {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  body.tub-brand .comment-form-cookies-consent input {
    width: 20px !important;
    min-height: 20px !important;
    margin-top: 2px;
  }

  .tub-newspaper-trust__grid {
    grid-template-columns: 1fr;
  }

  .tub-newspaper-trust__bottom {
    flex-direction: column;
  }

  .tub-article-context {
    margin-top: 16px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .tub-category-intro {
    margin-top: 16px;
    font-size: 15px;
    text-align: start;
  }
}

/* Responsive UX layer: preserve the Newspaper composition on desktop while
 * turning its fixed Composer columns into a deliberate reading flow on touch
 * devices. Semantic classes are attached by newspaper-compat.js so generated
 * tdi_* identifiers never become part of the public contract. */
body.tub-brand .tdb-mobile-menu-button,
body.tub-brand .tub-language-switcher summary,
body.tub-brand .page-nav a,
body.tub-brand .td-ajax-prev-page,
body.tub-brand .td-ajax-next-page,
body.tub-brand .td-scroll-up {
  min-width: 44px !important;
  min-height: 44px !important;
}

body.tub-brand .tdb-mobile-menu-button,
body.tub-brand .tub-language-switcher summary,
body.tub-brand .page-nav a,
body.tub-brand .td-ajax-prev-page,
body.tub-brand .td-ajax-next-page {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body.tub-brand .td-module-thumb img,
body.tub-brand .td-image-wrap img,
body.tub-brand .entry-thumb {
  object-fit: cover;
}

body.tub-brand .td-is-sticky {
  max-height: none;
}

body.tub-brand .td-menu-background {
  display: none !important;
}

body.tub-brand.home .tub-home-feature-column--2 .td-module-thumb {
  position: relative;
}

body.tub-brand.home .tub-home-feature-column--2 .td-module-thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(7 28 44 / 38%) 0%, rgb(7 28 44 / 34%) 38%, rgb(7 28 44 / 92%) 100%);
}

body.tub-brand.home .tub-home-feature-column--2 .td-module-meta-info {
  z-index: 2;
}

.tub-mobile-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgb(7 28 44 / 12%);
}

.tub-mobile-search input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgb(7 28 44 / 22%);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--tub-ink);
  font-size: 16px;
}

.tub-mobile-search button {
  min-width: 72px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding-inline: 14px;
  background: var(--tub-teal);
  color: var(--tub-ink);
  font-weight: 800;
  cursor: pointer;
}

/* The archive template's opening big-grid is a global-news promotion rather
 * than category content. Removing it keeps a category landing page focused on
 * the section the reader selected and avoids four oversized mobile cards. */
body.tub-brand.archive .tub-archive-cross-promo {
  display: none !important;
}

/* The Newspaper template also renders its own footer before the first-party
 * trust footer. Keep one authoritative footer: the trust footer has the
 * localized policy, edition, social and entity links and avoids duplicated
 * newsletter controls or unconfigured tagDiv menu placeholders. */
body.tub-brand .td-footer-template-wrap,
body.tub-brand .tdc-footer-template-wrap {
  display: none !important;
}

body.tub-brand .tub-newspaper-trust__grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(180px, .75fr) minmax(230px, 1fr);
}

/* Keep high-frequency controls comfortable on touch screens without making
 * compact editorial labels visually heavy. */
body.tub-brand .tdb-logo-a,
body.tub-brand .tub-language-switcher ul a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.tub-brand.single-post .td-social-sharing-button {
  min-width: 44px !important;
  min-height: 44px !important;
}

body.tub-brand .tdb-entry-category,
body.tub-brand .td-post-category,
body.tub-brand .tub-visible-breadcrumb a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

/* Normalize the generated author/date widgets into one resilient byline. */
body.tub-brand.single-post .tub-article-byline-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

body.tub-brand.single-post .tub-article-byline-row > .tdb_single_author,
body.tub-brand.single-post .tub-article-byline-row > .tdm_block_inline_text,
body.tub-brand.single-post .tub-article-byline-row > .tdb_single_date {
  width: auto !important;
  margin: 0 !important;
}

@media (min-width: 1025px) {
  body.tub-brand.single-post .tub-article-main-column .tdb_single_content,
  body.tub-brand.single-post .tub-article-main-column .td-post-content {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.tub-brand .td-main-content-wrap,
  body.tub-brand .tdc-content-wrap {
    min-width: 0;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row {
    height: auto !important;
    padding-block: 12px !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td-week-slider,
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner {
    height: auto !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner {
    display: flex !important;
    gap: 20px;
    overflow-x: auto !important;
    padding: 4px 8px 12px;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_module_flex {
    flex: 0 0 min(62vw, 430px) !important;
    width: auto !important;
    max-width: none !important;
    scroll-snap-align: start;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 22px;
    height: auto !important;
    padding: 20px !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row > .tdc-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
  }

  body.tub-brand.home .tub-home-feature-column--1,
  body.tub-brand.home .tub-home-feature-column--2 {
    grid-column: 1 / -1;
  }

  body.tub-brand.home .tub-home-feature-column--2 {
    grid-row: 1;
  }

  body.tub-brand.home .tub-home-feature-column--1 {
    grid-row: 2;
  }

  body.tub-brand.home .tub-home-feature-column--3,
  body.tub-brand.home .tub-home-feature-column--4 {
    grid-row: 3;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row .td_block_wrap {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row .td_flex_block_1 > .td_block_inner,
  body.tub-brand.home .td-main-content-wrap .vc_row:not(.tub-home-feature-row):not(.tub-ticker-row) .td_flex_block_1 > .td_block_inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  body.tub-brand.home .td-main-content-wrap .td_flex_block_1 > .td_block_inner > .td_module_flex {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.tub-brand.home .tub-tablet-extra-story {
    display: none !important;
  }

  body.tub-brand.single-post .tub-article-layout-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    height: auto !important;
    padding-inline: 20px;
  }

  body.tub-brand.single-post .tub-article-layout-row > .tdc-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    inset: auto !important;
  }

  body.tub-brand.single-post .tub-article-main-column .tdb_single_content,
  body.tub-brand.single-post .tub-article-main-column .td-post-content {
    max-width: 720px;
    margin-inline: auto;
  }

  body.tub-brand.single-post .tub-article-sidebar-column {
    position: static !important;
    transform: none !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .tub-house-ad-block--vertical {
    width: min(320px, 100%) !important;
    margin-inline: auto !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 > .td_block_inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td_module_flex {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-image-container,
  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-module-thumb,
  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-image-wrap {
    height: 210px !important;
  }
}

@media (max-width: 767px) {
  body.tub-brand .td-main-content-wrap,
  body.tub-brand .tdc-content-wrap,
  body.tub-brand .tdc-zone,
  body.tub-brand .tdc-row,
  body.tub-brand .vc_row,
  body.tub-brand .tdc-column {
    min-width: 0;
  }

  body.tub-brand .td-main-content-wrap {
    overflow: clip;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row {
    height: auto !important;
    padding-block: 10px !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td-week-slider,
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner {
    height: auto !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner {
    display: flex !important;
    gap: 14px;
    overflow-x: auto !important;
    padding: 8px 20px 14px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner::-webkit-scrollbar {
    display: none;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_module_flex {
    flex: 0 0 76vw !important;
    width: auto !important;
    max-width: 290px !important;
    min-height: 82px;
    scroll-snap-align: start;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    height: auto !important;
    padding: 24px 15px !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row > .tdc-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
  }

  body.tub-brand.home .tub-home-feature-column--2 { order: 1; }
  body.tub-brand.home .tub-home-feature-column--1 { order: 2; }
  body.tub-brand.home .tub-home-feature-column--3 { order: 3; }
  body.tub-brand.home .tub-home-feature-column--4 { order: 4; }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row .td_block_wrap {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  body.tub-brand.home .tub-mobile-extra-story {
    display: none !important;
  }

  /* Newspaper keeps this desktop feed sidebar sticky and width-constrained on
   * phones. Stack every feed column at full width before styling its cards. */
  body.tub-brand.home .tub-home-feed-row,
  body.tub-brand.home .tub-home-feed-row > .tdc-inner-columns,
  body.tub-brand.home .tub-home-feed-row > .tdc-columns {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  body.tub-brand.home .tub-home-feed-row > .tdc-column,
  body.tub-brand.home .tub-home-feed-row > .tdc-inner-column,
  body.tub-brand.home .tub-home-feed-row > .tdc-inner-columns > .tdc-inner-column,
  body.tub-brand.home .tub-home-feed-row > .tdc-columns > .tdc-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky,
  body.tub-brand.home .tub-home-feed-row .td-is-sticky > .vc-column-inner,
  body.tub-brand.home .tub-home-feed-row .td-is-sticky > .vc-column-inner > .wpb_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] > .td_block_inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] > .td_block_inner > .td_module_wrap:has(> .td-module-container > .td-image-container) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-block: 14px !important;
    border-bottom: 1px solid rgb(7 28 44 / 11%);
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) {
    min-height: 104px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px;
    align-items: start;
    gap: 12px;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) > .td-image-container,
  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) > .td-image-container .td-module-thumb,
  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) > .td-image-container .td-image-wrap {
    width: 104px !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 !important;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) > .td-image-container {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) > .td-module-meta-info {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) .td-module-title,
  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) .td-module-title a {
    font-size: 16.5px !important;
    line-height: 1.22 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) .td-module-title a {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  body.tub-brand.home .tub-home-feed-row [class*="td_flex_block_"] .td-module-container:has(> .td-image-container) .td-excerpt {
    display: none !important;
  }

  /* This compact sidebar list ships with its thumbnails disabled by the
   * Composer. Do not reserve the generic thumbnail column for an empty image. */
  body.tub-brand.home .tub-home-feed-row .td-is-sticky .td_flex_block_1 .td-module-container:has(> .td-image-container) {
    display: block !important;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .td_flex_block_1 .td-module-container:has(> .td-image-container) > .td-image-container {
    display: none !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .td_flex_block_1 .td-module-container:has(> .td-image-container) > .td-module-meta-info {
    width: 100% !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* The Education Policy desktop sidebar becomes a clean, independent mobile
   * section instead of overlapping its lead story. */
  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text {
    display: inline-block !important;
    margin: 32px 0 14px !important;
    padding: 9px 15px 10px !important;
    position: relative !important;
    z-index: auto !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text .tdm-descr {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td_module_wrap {
    padding: 0 !important;
    border: 0 !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-container {
    display: block !important;
    width: 100% !important;
    min-height: 300px;
    position: relative !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-thumb,
  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-image-wrap {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    margin: 0 !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-meta-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 18px 18px !important;
    position: absolute !important;
    inset: auto 0 0 !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-title,
  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-title a {
    font-size: 22px !important;
    line-height: 1.14 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.tub-brand.home .tub-home-feed-row .td-is-sticky .tdm_block_inline_text + .td_flex_block_2 .td-module-title a {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  body.tub-brand.home .tub-home-feature-column--2 .td_module_flex_2,
  body.tub-brand.home .tub-home-feature-column--2 .td-module-container,
  body.tub-brand.home .tub-home-feature-column--2 .td-image-container,
  body.tub-brand.home .tub-home-feature-column--2 .td-module-thumb,
  body.tub-brand.home .tub-home-feature-column--2 .td-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand.home .tub-home-feature-column--2 .td-image-wrap {
    min-height: 480px;
  }

  body.tub-brand.home .tub-home-feature-column--2 .td-module-thumb::after {
    background: linear-gradient(180deg, rgb(7 28 44 / 66%) 0%, rgb(7 28 44 / 45%) 38%, rgb(7 28 44 / 92%) 100%);
  }

  body.tub-brand.home .tub-home-feature-column--2 .td-module-meta-info {
    z-index: 2;
    top: 0 !important;
    bottom: auto !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }

  body.tub-brand.home .tub-home-feature-column--2 .td-module-title,
  body.tub-brand.home .tub-home-feature-column--2 .td-module-title a {
    font-size: clamp(25px, 7.2vw, 29px) !important;
    line-height: 1.08 !important;
  }

  body.tub-brand.home .tub-home-feature-column--2 .td-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.tub-brand.archive .tdb-category-siblings {
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.tub-brand.archive .tdb-category-siblings::-webkit-scrollbar {
    display: none;
  }

  body.tub-brand.archive .tdb-category-siblings .td-category,
  body.tub-brand.archive .tdb-category-siblings .td-pulldown-filter-list {
    display: flex !important;
    flex: 0 0 auto;
    gap: 10px;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.tub-brand.archive .tdb-category-siblings .td-subcat-dropdown {
    display: block !important;
    flex: 0 0 auto;
  }

  body.tub-brand.archive .tdb-category-siblings .td-subcat-more {
    display: none !important;
  }

  body.tub-brand.archive .tdb-category-siblings .entry-category {
    display: block !important;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body.tub-brand.archive .tdb-category-siblings .entry-category a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  body.tub-brand.archive .tub-category-intro {
    max-width: 42rem;
    line-height: 1.58;
  }

  body.tub-brand.archive .tub-category-intro p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
  }

  body.tub-brand.archive .td-module-title,
  body.tub-brand.archive .td-module-title a,
  body.tub-brand.search .td-module-title,
  body.tub-brand.search .td-module-title a {
    font-size: 20px !important;
    line-height: 1.27 !important;
    letter-spacing: -0.015em;
  }

  body.tub-brand.single-post .tub-article-layout-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    height: auto !important;
  }

  body.tub-brand.single-post .tub-article-byline-row > .tdb_single_author {
    flex: 1 0 100%;
    justify-content: center;
  }

  body.tub-brand.single-post .tub-article-layout-row > .tdc-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    inset: auto !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column {
    position: static !important;
    transform: none !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .tub-house-ad-block--vertical {
    width: min(312px, 100%) !important;
    margin-inline: auto !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-module-container {
    min-height: 92px;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-image-container,
  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-module-thumb,
  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-image-wrap {
    width: 112px !important;
    height: 84px !important;
  }

  body.tub-brand.single-post .tub-article-sidebar-column .td_flex_block_1 .td-module-meta-info {
    width: auto !important;
    min-width: 0;
  }

  body.tub-brand.single-post .tdb_single_content article,
  body.tub-brand.single-post .tdb_single_content article section,
  body.tub-brand.single-post .td-post-content article,
  body.tub-brand.single-post .td-post-content article section,
  body.tub-brand.single-post .makenews-related,
  body.tub-brand.single-post .makenews-sources {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }

  body.tub-brand .tub-newspaper-trust {
    margin-top: 28px;
    padding: 28px 20px 20px;
  }

  body.tub-brand .tub-newspaper-trust__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.tub-brand .tub-newspaper-trust__grid > nav:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px 18px;
  }

  body.tub-brand .tub-newspaper-trust__grid > nav:last-child strong {
    grid-column: 1 / -1;
  }

  body.tub-brand .tub-newspaper-trust__grid a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  body.tub-brand .tub-newspaper-trust__bottom {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tub-brand *,
  body.tub-brand *::before,
  body.tub-brand *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Cross-device editorial polish (2026-09-03).
 * Keep the Newspaper composition, but make its hierarchy, category palette and
 * generated artwork behave like one publication at desktop, tablet and phone
 * sizes. */
body.tub-brand {
  --tub-admissions: #12afa6;
  --tub-scholarships: #f4b942;
  --tub-universities: #2563eb;
  --tub-study-abroad: #c02672;
  --tub-research: #7c3aed;
  --tub-campus-life: #f97352;
  --tub-careers: #16844a;
  --tub-category-on: #071c2c;
}

body.tub-category-universities,
body.tub-category-study-abroad,
body.tub-category-research,
body.tub-category-careers {
  --tub-category-on: #fff;
}

body.tub-brand .tub-nav-category--admissions { --tub-nav-accent: var(--tub-admissions); }
body.tub-brand .tub-nav-category--scholarships { --tub-nav-accent: var(--tub-scholarships); }
body.tub-brand .tub-nav-category--universities { --tub-nav-accent: var(--tub-universities); }
body.tub-brand .tub-nav-category--study-abroad { --tub-nav-accent: var(--tub-study-abroad); }
body.tub-brand .tub-nav-category--research { --tub-nav-accent: var(--tub-research); }
body.tub-brand .tub-nav-category--campus-life { --tub-nav-accent: var(--tub-campus-life); }
body.tub-brand .tub-nav-category--careers { --tub-nav-accent: var(--tub-careers); }

body.tub-brand .tdb_header_menu .tdb-menu > li.tub-nav-category > a:hover,
body.tub-brand .tdb_header_menu .tdb-menu > li.tub-nav-category > a:focus-visible,
body.tub-brand .tdb_header_menu .tdb-menu > li.tub-nav-category.current-menu-item > a,
body.tub-brand .tdb-header-menu .tdb-menu > li.tub-nav-category > a:hover,
body.tub-brand .tdb-header-menu .tdb-menu > li.tub-nav-category > a:focus-visible,
body.tub-brand .tdb-header-menu .tdb-menu > li.tub-nav-category.current-menu-item > a {
  color: var(--tub-nav-accent, #087f79) !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/admissions/"] {
  background-color: var(--tub-admissions) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/scholarships/"] {
  background-color: var(--tub-scholarships) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/universities/"] {
  background-color: var(--tub-universities) !important;
  color: #fff !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/study-abroad/"] {
  background-color: var(--tub-study-abroad) !important;
  color: #fff !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/research/"] {
  background-color: var(--tub-research) !important;
  color: #fff !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/campus-life/"] {
  background-color: var(--tub-campus-life) !important;
  color: var(--tub-ink) !important;
}

body.tub-brand .td-theme-wrap :is(.td-post-category, .tdb-entry-category, .tub-category-label)[href*="/haber/category/careers/"] {
  background-color: var(--tub-careers) !important;
  color: #fff !important;
}

body.tub-brand.single-post .tub-article-hero-row .tdb-entry-category {
  min-height: 28px;
  margin: 0 5px 8px !important;
  padding: 7px 11px !important;
  border-radius: 999px;
  line-height: 1 !important;
}

body.tub-brand .tub-category-archive {
  padding-block: clamp(34px, 4vw, 52px) 64px;
}

body.tub-brand .tub-category-archive__header {
  max-width: 1040px;
  margin-bottom: 24px;
}

body.tub-brand .tub-category-archive__header h1 {
  font-size: clamp(38px, 5vw, 60px);
}

body.tub-brand .tub-category-archive__header > p:last-child {
  font-size: clamp(16px, 1.5vw, 18px);
}

body.tub-brand .tub-category-archive__topics {
  scrollbar-width: none;
}

body.tub-brand .tub-category-archive__topics::-webkit-scrollbar {
  display: none;
}

body.tub-category-admissions .tub-category-archive__topics a[href*="/admissions/"],
body.tub-category-scholarships .tub-category-archive__topics a[href*="/scholarships/"],
body.tub-category-universities .tub-category-archive__topics a[href*="/universities/"],
body.tub-category-study-abroad .tub-category-archive__topics a[href*="/study-abroad/"],
body.tub-category-research .tub-category-archive__topics a[href*="/research/"],
body.tub-category-campus-life .tub-category-archive__topics a[href*="/campus-life/"],
body.tub-category-careers .tub-category-archive__topics a[href*="/careers/"] {
  border-color: var(--tub-category-accent);
  background: var(--tub-category-accent);
  color: var(--tub-category-on);
}

/* Generated hero artwork intentionally leaves a lower text field. Crop that
 * field out wherever the headline lives outside the image. */
body.tub-brand .tub-category-story__image img {
  width: 100%;
  max-width: none;
  height: 165%;
  object-fit: cover;
  object-position: center top;
}

body.tub-brand.home .tub-home-feature-column:not(.tub-home-feature-column--2) .entry-thumb,
body.tub-brand.home .tub-home-feed-row .entry-thumb,
body.tub-brand.single-post .tub-article-sidebar-column .entry-thumb {
  background-position: center top !important;
  background-size: auto 165% !important;
}

body.tub-brand .tub-category-story__copy {
  padding: clamp(18px, 2.4vw, 26px);
}

body.tub-brand .tub-category-story h2 {
  font-size: clamp(23px, 2.25vw, 30px);
}

body.tub-brand .tub-category-story h2 a,
body.tub-brand .tub-category-story p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

body.tub-brand .tub-category-story h2 a {
  -webkit-line-clamp: 3;
}

body.tub-brand .tub-category-story p {
  -webkit-line-clamp: 3;
}

/* The article hero already contains the featured artwork. Repeating the same
 * image at the start of the body weakens hierarchy and wastes the first fold. */
body.tub-brand.single-post:has(.tub-article-hero-row .tdb-featured-image-bg) .tub-single-featured-media {
  display: none !important;
}

body.tub-brand.single-post .tub-article-byline-row {
  padding: 14px 20px;
  border-bottom: 1px solid rgb(7 28 44 / 11%);
}

body.tub-brand.single-post .tub-article-byline-row > .tdm_block_inline_text,
body.tub-brand.single-post .tub-article-byline-row > .tdb_single_date {
  display: none !important;
}

body.tub-brand.single-post .tub-article-byline-row .tdb-author-name:hover,
body.tub-brand.single-post .tub-article-byline-row .tdb-author-name:focus-visible {
  color: #087f79 !important;
}

body.tub-brand.single-post .tub-article-layout-row {
  margin-top: -36px !important;
}

body.tub-brand.single-post .tdb_single_content,
body.tub-brand.single-post .td-post-content {
  color: #132f40;
  font-size: 18px;
  line-height: 1.72;
}

@media (min-width: 1025px) {
  body.tub-brand.single-post .tub-article-hero-row {
    margin-bottom: 82px !important;
    padding-top: 36px !important;
  }

  body.tub-brand.single-post .tub-article-hero-row .tdb-featured-image-bg {
    padding-bottom: 560px !important;
  }

  body.tub-brand.single-post .tub-article-hero-row .tdb-title-text {
    font-size: clamp(42px, 3.5vw, 50px) !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row {
    margin-top: 0 !important;
  }

  body.tub-brand.single-post .tub-article-hero-row {
    margin-bottom: 76px !important;
    padding-top: 28px !important;
  }

  body.tub-brand.single-post .tub-article-hero-row .tdb-featured-image-bg {
    padding-bottom: 430px !important;
  }
}

@media (max-width: 767px) {
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row {
    margin-inline: 0 !important;
    padding: 6px 0 !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row > .tdc-column,
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row > .vc_column_container,
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .wpb_wrapper,
  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td-week-slider {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_block_inner {
    padding: 6px 16px 8px !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td_module_flex {
    flex-basis: calc(100vw - 64px) !important;
    max-width: calc(100vw - 64px) !important;
    min-height: 70px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-ticker-row .td-next-prev-wrap {
    display: none !important;
  }

  body.tub-brand.home .td-main-content-wrap .tub-home-feature-row {
    width: auto !important;
    margin: 0 -5px 32px !important;
    padding: 12px 0 20px !important;
    gap: 24px;
  }

  body.tub-brand.home .tub-home-feature-column--3,
  body.tub-brand.home .tub-home-feature-column--4 {
    display: none !important;
  }

  body.tub-brand.home .tub-home-feature-column--1 .tdm-title {
    font-size: clamp(27px, 8vw, 32px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em;
  }

  body.tub-brand.home .tub-home-feature-column--1 .tub-feature-kicker .tdm-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.025em;
  }

  body.tub-brand .tub-category-archive {
    width: calc(100% - 28px);
    padding-block: 28px 48px;
  }

  body.tub-brand .tub-category-archive__header {
    margin-bottom: 20px;
  }

  body.tub-brand .tub-category-archive__header h1 {
    margin-bottom: 14px;
    font-size: clamp(36px, 11vw, 47px);
    line-height: .98;
  }

  body.tub-brand .tub-category-archive__header > p:last-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    font-size: 15.5px;
    line-height: 1.55;
  }

  body.tub-brand .tub-category-archive__topics {
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 2px;
  }

  body.tub-brand .tub-category-archive__topics a {
    padding: 8px 12px;
    font-size: 12px;
  }

  body.tub-brand .tub-category-archive__grid {
    gap: 18px;
  }

  body.tub-brand .tub-category-story {
    border-radius: 12px;
    box-shadow: 0 10px 28px rgb(7 28 44 / 8%);
  }

  body.tub-brand .tub-category-story__copy {
    padding: 18px;
  }

  body.tub-brand .tub-category-story h2 {
    margin: 10px 0;
    font-size: 24px;
    line-height: 1.08;
  }

  body.tub-brand .tub-category-story p {
    margin-bottom: 14px;
    font-size: 15.5px;
    line-height: 1.55;
  }

  body.tub-brand.single-post .tub-article-hero-row {
    margin-bottom: 80px !important;
    padding-top: 28px !important;
  }

  body.tub-brand.single-post .tub-article-layout-row {
    margin-top: -24px !important;
  }

  body.tub-brand.single-post .tub-article-byline-row {
    padding: 10px 14px 14px;
  }

  body.tub-brand.single-post .tub-article-byline-row > .tdb_single_author {
    flex-basis: auto;
    width: auto !important;
    margin: 0 !important;
  }

  body.tub-brand .td-scroll-up {
    right: 14px !important;
    bottom: 72px !important;
  }

  body.tub-brand .tub-language-switcher {
    right: 12px !important;
    bottom: 12px !important;
    width: 48px;
  }

  body.tub-brand .tub-language-switcher summary {
    width: 48px;
    min-width: 48px !important;
    padding-inline: 0 !important;
    gap: 0 !important;
    border-radius: 999px;
  }

  body.tub-brand .tub-language-switcher summary > span[aria-hidden="true"] {
    display: none;
  }

  body.tub-brand .tub-newspaper-trust__bottom p:last-child {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
    padding-inline-end: 70px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.tub-brand.home .tub-ticker-row .td_block_inner {
    scrollbar-width: none !important;
    -ms-overflow-style: none;
  }

  body.tub-brand.home .tub-ticker-row .td_block_inner::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

body.tub-brand .td-scroll-up {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.tub-brand .td-scroll-up.tub-scroll-up-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0);
}
