/* Unified Top New Style Pack (split by theme slug)
 * Includes hard ratio for 1-3 and balanced 3-column for 1-7.
 */



/* =========================================================
   TOP NEW SHELL
   ========================================================= */

.module-top-new {
  --topnew-gap: 18px;
  --topnew-radius: 0px;
  --topnew-lead-media-ratio: 100%;
  --topnew-lead-text-ratio: auto;
  --topnew-border: rgba(0, 0, 0, 0.12);
  --topnew-surface: #f3f3f3;
  --topnew-title: #3b3b3b;
  --topnew-meta: #8f8f8f;
}

.module-top-new .module__heading {
  margin: 0 0 14px;
}

.module-top-new .module__heading-prefix {
  color: #b6b6b6;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
}

.module-top-new .module__heading-title {
  color: var(--theme-heading-title-color);
  border-bottom-color: var(--theme-heading-underline-color);
}

.module-top-new .module-card {
  height: 100%;
  border: 1px solid var(--topnew-border);
  border-radius: var(--topnew-radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}

.module-top-new .module-card__link {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.module-top-new .module-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Main/lead card image uses its own sizing (separate from generic card image). */
.module-top-new .module-top-new__lead .module-card__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: contain;
  justify-self: center;
}

.module-top-new .module-card__body {
  padding: 12px 14px;
  background: transparent;
}

.module-top-new .module-card__title {
  margin: 0;
  color: var(--topnew-title);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-top-new .module-card__summary {
  margin-top: 8px;
  color: #6f6f6f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-top-new .module-card__meta {
  margin-top: 8px;
  color: var(--topnew-meta);
  font-size: 12px;
}

/* Lead cards: keep media/text split stable and allow richer excerpt */
.module-top-new .module-top-new__lead .module-card__link {
  grid-template-rows:
    minmax(0, var(--topnew-lead-media-ratio))
    minmax(0, var(--topnew-lead-text-ratio));
}

.module-top-new .module-top-new__lead .module-card__body {
  overflow: hidden;
}

.module-top-new .module-top-new__lead .module-card__summary {
  -webkit-line-clamp: 4 !important;
}

.module-top-new--grid-1-main-3-sub .module-top-new__layout,
.module-top-new--grid-1-main-4-sub .module-top-new__layout,
.module-top-new--editorial .module-top-new__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--topnew-gap);
  align-items: stretch;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag {
  --zigzag-gap: var(--topnew-gap);
  --zigzag-divider-color: #d1d5db;
  --zigzag-main-ratio: 0.645;
  --zigzag-main-a-height: 172.25px;
  --zigzag-main-b-height: 318px;
  --zigzag-a-image-ratio: 0.3229;
  --zigzag-a-image-height: 202.45px;
  --zigzag-b-text-ratio: 0.34;
  --zigzag-sub-image-ratio: 0.43;
  display: grid;
  grid-template-columns:
    minmax(0, calc((100% - var(--zigzag-gap)) * var(--zigzag-main-ratio)))
    minmax(0, calc((100% - var(--zigzag-gap)) * (1 - var(--zigzag-main-ratio))));
  gap: var(--zigzag-gap);
  align-items: stretch;
  position: relative;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--zigzag-divider-color);
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  left: calc(((100% - var(--zigzag-gap)) * var(--zigzag-main-ratio)) + (var(--zigzag-gap) / 2));
  width: 1px;
  background: var(--zigzag-divider-color);
  pointer-events: none;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-main,
.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub {
  display: grid;
  gap: var(--zigzag-gap);
  align-content: start;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-main {
  grid-template-rows: var(--zigzag-main-a-height) var(--zigzag-main-b-height);
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: calc(var(--zigzag-main-a-height) + var(--zigzag-main-b-height) + var(--zigzag-gap));
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-main .module-top-new__lead {
  min-height: 0;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a {
  height: var(--zigzag-main-a-height);
  max-height: var(--zigzag-main-a-height);
  overflow: hidden;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b {
  height: var(--zigzag-main-b-height);
  max-height: var(--zigzag-main-b-height);
  overflow: hidden;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a .module-card__link {
  grid-template-columns: minmax(0, calc(var(--zigzag-a-image-ratio) * 100%)) minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 0;
  height: auto;
  align-items: start;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__link {
  grid-template-columns: minmax(0, calc(var(--zigzag-b-text-ratio) * 100%)) minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 0;
  height: auto;
  align-items: start;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead .module-card__image {
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead .module-card__body {
  height: auto;
  min-height: 0;
  align-self: start;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a .module-card__image {
  width: 100% !important;
  max-width: none !important;
  height: var(--zigzag-a-image-height) !important;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__image {
  width: 100% !important;
  max-width: none !important;
  height: var(--zigzag-main-b-height) !important;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__title {
  -webkit-line-clamp: 4 !important;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__summary {
  -webkit-line-clamp: 4 !important;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__image {
  order: 2;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__body {
  order: 1;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-stack--a {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 100%;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-stack--b {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  min-height: 100%;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__link {
  grid-template-columns: minmax(0, calc(var(--zigzag-sub-image-ratio) * 100%)) minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 100%;
  height: 100%;
  align-items: stretch;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub .module-top-new__sub-item {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__title,
.module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__summary,
.module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__meta {
  display: block;
}

/* 1-3 hard ratio */
.module-top-new--grid-1-main-3-sub .module-top-new__sub-list {
  --topnew-sub-height: 150px;
  --topnew-sub-gap: 10px;
  display: flex;
  flex-direction: column;
  gap: var(--topnew-sub-gap);
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-list > .module-top-new__sub-item {
  flex: 0 0 var(--topnew-sub-height);
}

.module-top-new--grid-1-main-3-sub .module-top-new__layout {
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  min-height: 578.87px;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item {
  min-height: var(--topnew-sub-height);
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item.module-card {
  height: var(--topnew-sub-height);
  min-height: var(--topnew-sub-height);
  max-height: var(--topnew-sub-height);
  overflow: hidden;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 100%;
  height: 100%;
  align-items: center;
  gap: 0;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__image {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px;
  min-height: 150px;
  max-width: 150px;
  max-height: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__body {
  padding: 12px 14px;
  overflow: hidden;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__title {
  -webkit-line-clamp: 2 !important;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.35;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__summary {
  display: none !important;
}

.module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__meta {
  display: none !important;
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead {
  min-height: calc((var(--topnew-sub-height) * 3) + (var(--topnew-sub-gap) * 2));
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__link {
  display: grid;
  grid-template-rows: minmax(0, 65.28%) minmax(0, 34.72%);
  height: 100%;
  min-height: 100%;
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  max-height: none;
  aspect-ratio: 613.8 / 377.87;
  object-fit: cover;
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__body {
  position: static;
  padding: 14px 16px;
  background: transparent;
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__title {
  color: var(--topnew-title);
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.25;
}

.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__summary,
.module-top-new--grid-1-main-3-sub .module-top-new__lead .module-card__meta {
  color: var(--topnew-meta);
}

.module-top-new--grid-1-main-3-sub .module__heading--top-new-sub {
  margin: 0 0 4px;
  padding: 0;
  text-align: left;
  border-bottom: 0;
}

.module-top-new--grid-1-main-3-sub .module__heading--top-new-sub .module__heading-prefix {
  display: block;
  color: #b6b6b6;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* 1-4: show image + text on every sub item, keep 4 rows even. */
.module-top-new--grid-1-main-4-sub .module-top-new__sub-list {
  --topnew-sub4-row-height: 142px;
  --topnew-sub4-gap: 12px;
  display: grid;
  grid-template-rows: repeat(4, var(--topnew-sub4-row-height));
  gap: var(--topnew-sub4-gap);
}

.module-top-new--grid-1-main-4-sub .module-top-new__lead {
  min-height: calc((var(--topnew-sub4-row-height) * 4) + (var(--topnew-sub4-gap) * 3));
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item {
  min-height: var(--topnew-sub4-row-height);
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__link {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  grid-template-rows: 1fr;
  min-height: 100%;
  height: 100%;
  align-items: stretch;
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__body {
  padding: 10px 12px;
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__title {
  -webkit-line-clamp: 2 !important;
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__summary {
  -webkit-line-clamp: 2 !important;
  margin-top: 6px;
}

.module-top-new--grid-1-main-4-sub .module-top-new__sub-item .module-card__meta {
  margin-top: 6px;
}

/* Hero Side + bottom strip (4 small cards) */
.module-top-new--hero-side .module-top-new__layout--hero-side-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--topnew-gap);
}

.module-top-new--hero-side .module-top-new__hero-main-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--topnew-gap);
  align-items: stretch;
}

.module-top-new--hero-side .module-top-new__hero-main-lead,
.module-top-new--hero-side .module-top-new__hero-main-side,
.module-top-new--hero-side .module-top-new__hero-bottom-row > .module-top-new__sub-item {
  min-width: 0;
}

.module-top-new--hero-side .module-top-new__hero-main-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--topnew-gap);
  align-items: stretch;
}

.module-top-new--hero-side .module-top-new__hero-main-lead .module-card,
.module-top-new--hero-side .module-top-new__hero-main-side .module-card,
.module-top-new--hero-side .module-top-new__hero-bottom-row > .module-top-new__sub-item .module-card {
  height: 100%;
}

.module-top-new--hero-side .module-top-new__hero-main-lead .module-top-new__lead {
  min-height: 0;
}

.module-top-new--hero-side .module-top-new__hero-main-side .module-card__link {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  height: 100%;
  align-items: stretch;
}

.module-top-new--hero-side .module-top-new__hero-main-side .module-card__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-top-new--hero-side .module-top-new__hero-main-side .module-card__body {
  overflow: hidden;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--topnew-gap);
  align-items: stretch;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__link {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  height: 100%;
  align-items: start;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__image {
  width: 100% !important;
  height: 142px !important;
  min-height: 142px;
  max-height: 142px;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__body {
  padding: 10px 10px 8px;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__title {
  -webkit-line-clamp: 2 !important;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.25;
}

.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__summary,
.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__meta {
  display: none !important;
}

.module-top-new--hero-side .module-top-new__hero-main-side .module-card__body,
.module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__body {
  overflow: hidden;
}

/* 1-7 strict 3 columns */

.module-top-new--feature-7 .module-top-new__feature7 {
  --topnew7-unit-height: 168px;
  --topnew7-gap: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, .95fr);
  gap: var(--topnew7-gap);
  align-items: stretch;
}

.module-top-new--feature-7 .module-top-new__lead {
  min-height: calc((var(--topnew7-unit-height) * 3) + (var(--topnew7-gap) * 2));
}

.module-top-new--feature-7 .module-top-new__feature7-side,
.module-top-new--feature-7 .module-top-new__feature7-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 1px solid rgba(15, 23, 42, 0.14);
  padding-left: 10px;
}

.module-top-new--feature-7 .module-top-new__feature7-side {
  grid-auto-rows: minmax(220px, auto);
}

/* Visual spacing between the 2 side cards */
.module-top-new--feature-7 .module-top-new__side-item + .module-top-new__side-item {
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.module-top-new--feature-7 .module-top-new__feature7-rail {
  grid-auto-rows: minmax(0, auto);
}

.module-top-new--feature-7 .module-top-new__side-item .module-card__link {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  height: 100%;
  align-items: start;
}

.module-top-new--feature-7 .module-top-new__side-item .module-card__image {
  width: 100% !important;
  height: 132px !important;
  min-height: 132px;
  max-height: 132px;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-top-new--feature-7 .module-top-new__side-item .module-card__body {
  padding: 8px 10px 10px;
}

.module-top-new--feature-7 .module-top-new__feature7-side .module-card__title,
.module-top-new--feature-7 .module-top-new__feature7-rail .module-card__title {
  font-size: 14px !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 2 !important;
}

.module-top-new--feature-7 .module-top-new__side-item .module-card__summary {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  -webkit-line-clamp: 2 !important;
}

.module-top-new--feature-7 .module-top-new__side-item .module-card__meta {
  margin-top: 6px;
  font-size: 11px;
}

.module-top-new--feature-7 .module-top-new__feature7-rail .module-card {
  border-left: 0;
}

.module-top-new--feature-7 .module-top-new__rail-item .module-card__link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 0;
}

.module-top-new--feature-7 .module-top-new__rail-item .module-card__image {
  width: 112px !important;
  height: 72px !important;
  min-height: 72px;
  max-height: 72px;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-top-new--feature-7 .module-top-new__rail-item .module-card__body {
  padding: 0;
}

.module-top-new--feature-7 .module-top-new__rail-item .module-card__meta {
  margin-top: 2px;
  color: #2f7f9f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.module-recent-stories-v {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.module-recent-stories-v__col {
  min-width: 0;
}

.module-top-new--recent-stories-v .module-recent-stories-v__col .module-card {
  height: auto;
}

.module-recent-stories-v__left {
  display: grid;
  gap: 12px;
}

.module-recent-stories-v__lead .module-card__image {
  height: 500px !important;
  min-height: 500px;
  max-height: 500px;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-recent-stories-v__popular {
  border: 0;
  border-radius: 0;
  padding: 12px;
  background: transparent;
}

.module-recent-stories-v__popular-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.08;
  color: var(--topnew-title);
}

.module-recent-stories-v__popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.module-recent-stories-v__popular-item .module-card__link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.module-recent-stories-v__popular-item .module-card__image {
  width: 92px !important;
  height: 68px !important;
  min-height: 68px;
  max-height: 68px;
  aspect-ratio: auto;
  object-fit: cover;
}

.module-recent-stories-v__popular-item .module-card__body {
  padding: 0;
}

.module-recent-stories-v__popular-item .module-card__title {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2 !important;
  display: block;
  margin: 0;
}

.module-recent-stories-v__popular-item .module-card__meta {
  display: block;
  margin-top: 6px;
  color: #2f7f9f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 1199.98px) {
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    justify-content: stretch;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag::after {
    display: none;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a .module-card__link {
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__link {
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a .module-card__image,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__image,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__image {
    width: 100% !important;
    max-width: none !important;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__link {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  }

  .module-top-new--grid-1-main-3-sub .module-top-new__sub-list {
    --topnew-sub-height: auto;
  }

  .module-top-new--feature-7 .module-top-new__feature7 {
    --topnew7-unit-height: 140px;
  }

  .module-top-new--grid-1-main-4-sub .module-top-new__sub-list {
    --topnew-sub4-row-height: 128px;
  }

  .module-recent-stories-v__lead .module-card__image {
    height: 500px !important;
    min-height: 500px;
    max-height: 500px;
  }
}

@media (max-width: 991.98px) {
  .module-top-new--grid-1-main-3-sub .module-top-new__layout,
  .module-top-new--grid-1-main-4-sub .module-top-new__layout,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag,
  .module-top-new--editorial .module-top-new__layout,
  .module-top-new--feature-7 .module-top-new__feature7,
  .module-recent-stories-v {
    grid-template-columns: 1fr;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag {
    margin-top: 14px;
    padding-top: 14px;
  }

  .module-top-new--grid-1-main-3-sub .module-top-new__sub-list,
  .module-top-new--grid-1-main-4-sub .module-top-new__sub-list,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-main,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-stack--a,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-stack--b,
  .module-top-new--editorial .module-top-new__sub-list,
  .module-top-new--feature-7 .module-top-new__feature7-side,
  .module-top-new--feature-7 .module-top-new__feature7-rail {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .module-top-new--hero-side .module-top-new__hero-main-row {
    grid-template-columns: 1fr;
  }

  .module-top-new--hero-side .module-top-new__hero-main-side {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .module-top-new--hero-side .module-top-new__hero-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__image {
    height: 128px !important;
    min-height: 128px;
    max-height: 128px;
  }

  .module-top-new--hero-side .module-top-new__hero-main-side .module-card__link,
  .module-top-new--hero-side .module-top-new__hero-bottom-row .module-card__link {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    height: auto;
    align-items: start;
  }

  .module-top-new--feature-7 .module-top-new__feature7-side,
  .module-top-new--feature-7 .module-top-new__feature7-rail {
    border-left: 0;
    padding-left: 0;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead .module-card__link {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead .module-card__image {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--a,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b {
    height: auto;
    max-height: none;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__link {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
    height: auto;
    align-items: stretch;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub {
    height: auto;
    min-height: 0;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__sub-item .module-card__image {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__zigzag-sub .module-top-new__sub-item {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .module-top-new .module-top-new__sub-item .module-card__body {
    display: block !important;
    height: auto !important;
    min-height: 0;
    overflow: hidden;
  }

  .module-top-new .module-top-new__sub-item .module-card__title,
  .module-top-new .module-top-new__sub-item .module-card__summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .module-top-new .module-top-new__sub-item .module-card__meta {
    display: block !important;
    overflow: hidden !important;
  }

  .module-top-new--zigzag-2-main-3-sub .module-card__title,
  .module-top-new--zigzag-2-main-3-sub .module-card__summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__image,
  .module-top-new--zigzag-2-main-3-sub .module-top-new__lead--b .module-card__body {
    order: initial;
  }

  .module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__summary,
  .module-top-new--grid-1-main-3-sub .module-top-new__sub-item .module-card__meta {
    display: none !important;
  }

  .module-top-new--grid-1-main-3-sub .module-top-new__lead,
  .module-top-new--grid-1-main-4-sub .module-top-new__lead,
  .module-top-new--hero-side .module-top-new__lead,
  .module-top-new--editorial .module-top-new__lead,
  .module-top-new--feature-7 .module-top-new__lead {
    min-height: 0;
  }

  .module-top-new .module-card__title {
    -webkit-line-clamp: 3;
  }

  .module-recent-stories-v__lead .module-card__image {
    height: 360px !important;
    min-height: 360px;
    max-height: 360px;
  }
}

/* =========================================================
   SLIDE WITH LATEST (BLUE NEW)
   ========================================================= */

.module-top-new--slide-with-latest {
  --slide-height: 500px;
  --slide-height-mobile: 280px;
  --latest-panel-width: 340px;
  --latest-num-size: 34px;
  --latest-num-bg: var(--theme-primary, #0053a5);
  --slide-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0) 74%);
}

.module-top-new--slide-with-latest .module-top-new__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--latest-panel-width);
  gap: var(--topnew-gap);
  align-items: stretch;
}

.module-top-new--slide-with-latest .module-top-new__slide-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #0f172a;
}

.module-top-new--slide-with-latest .module-top-new__slides {
  position: relative;
  height: var(--slide-height);
  overflow: hidden;
}

.module-top-new--slide-with-latest .module-top-new__slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.module-top-new--slide-with-latest .module-top-new__slide-item--active {
  opacity: 1;
  pointer-events: auto;
}

.module-top-new--slide-with-latest .module-top-new__slide-item.module-card--skeleton {
  opacity: 1;
  pointer-events: none;
}

.module-top-new--slide-with-latest .module-top-new__slide-item.module-card--skeleton .module-card__image--skeleton,
.module-top-new--slide-with-latest .module-top-new__slide-item .module-card__link {
  width: 100%;
  height: var(--slide-height);
}

.module-top-new--slide-with-latest .module-top-new__slide-item .module-card__link {
  display: block;
  position: relative;
  text-decoration: none;
}

.module-top-new--slide-with-latest .module-top-new__slide-item .module-card__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  aspect-ratio: auto !important;
}

.module-top-new--slide-with-latest .module-top-new__slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
  padding: 22px 20px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.module-top-new--slide-with-latest .module-top-new__slide-meta {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.module-top-new--slide-with-latest .module-top-new__slide-title {
  margin: 0;
  color: #fff !important;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  -webkit-line-clamp: 3 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.module-top-new--slide-with-latest .module-top-new__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.module-top-new--slide-with-latest .module-top-new__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  padding: 0;
  cursor: pointer;
}

.module-top-new--slide-with-latest .module-top-new__dot--active {
  transform: scale(1.25);
  background: #fff;
}

.module-top-new--slide-with-latest .module-top-new__latest-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.module-top-new--slide-with-latest .module-top-new__latest-header {
  padding: 10px 14px 0;
  border-bottom: 2px solid #e5e7eb;
}

.module-top-new--slide-with-latest .module-top-new__latest-tab {
  display: inline-block;
  padding: 6px 0;
  margin-bottom: -2px;
  border-bottom: 2px solid var(--theme-primary, #0053a5);
  color: var(--theme-primary, #0053a5);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.module-top-new--slide-with-latest .module-top-new__latest-items {
  padding: 8px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module-top-new--slide-with-latest .module-top-new__latest-item {
  border-bottom: 1px solid #edf2f7;
  padding: 10px 0;
}

.module-top-new--slide-with-latest .module-top-new__latest-item:last-child {
  border-bottom: 0;
}

.module-top-new--slide-with-latest .module-top-new__latest-item .module-card__link {
  display: grid;
  grid-template-columns: var(--latest-num-size) 80px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  text-decoration: none;
}

.module-top-new--slide-with-latest .module-top-new__latest-num {
  width: var(--latest-num-size);
  height: var(--latest-num-size);
  background: var(--latest-num-bg);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.module-top-new--slide-with-latest .module-top-new__latest-item .module-card__image {
  width: 80px !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  object-fit: cover !important;
  aspect-ratio: auto !important;
}

.module-top-new--slide-with-latest .module-top-new__latest-item .module-card__body {
  padding: 0 !important;
  background: transparent !important;
}

.module-top-new--slide-with-latest .module-top-new__latest-cat {
  color: var(--theme-primary, #0053a5);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.module-top-new--slide-with-latest .module-top-new__latest-item .module-card__title {
  margin: 2px 0 3px;
  font-size: 14px !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 2 !important;
}

.module-top-new--slide-with-latest .module-top-new__latest-date {
  font-size: 11px;
  color: #64748b;
}

@media (max-width: 991.98px) {
  .module-top-new--slide-with-latest .module-top-new__body {
    grid-template-columns: 1fr;
  }

  .module-top-new--slide-with-latest .module-top-new__slides,
  .module-top-new--slide-with-latest .module-top-new__slide-item.module-card--skeleton .module-card__image--skeleton,
  .module-top-new--slide-with-latest .module-top-new__slide-item .module-card__link {
    height: var(--slide-height-mobile);
  }
}
