:root {
  --mon-blue: #19315a;
  --mon-bg: #f6f8f9;
  --mon-text: #202124;
  --mon-muted: rgba(0, 0, 0, 0.54);
  --mon-border: #e3e3e3;
  --mon-shadow: 0 4px 16px rgba(69, 91, 99, 0.08);
  --mon-radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  background: var(--mon-bg);
  color: var(--mon-text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.site-topbar {
  background: #fff;
  border-bottom: 2px solid var(--mon-border);
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.header-date {
  color: var(--mon-muted);
  font-size: 16px;
  font-style: italic;
}

.searchform {
  display: flex;
  align-items: center;
  border: 1px solid var(--mon-border);
  border-radius: 5px;
  padding: 2px 10px;
  min-width: 260px;
  background: #fff;
}

.searchform input {
  border: 0;
  padding: 6px 0;
  width: 100%;
  font-size: 14px;
  outline: 0;
}

.searchform button {
  border: 0;
  background: transparent;
  color: var(--mon-blue);
  font-size: 16px;
  cursor: pointer;
}

.site-header {
  background: #fff;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 0 12px;
}

.logo-link {
  display: inline-block;
}

.logo-image {
  width: min(460px, 88vw);
  height: auto;
}

.header-side {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.header-side.left {
  justify-content: flex-end;
}

.header-side.right {
  justify-content: flex-start;
}

.header-side .ad-rotator {
  width: min(320px, 100%);
}

.primary-nav-wrap {
  background: #fff;
  border-top: 2px solid var(--mon-border);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.primary-nav a {
  display: block;
  padding: 14px 0;
  color: var(--mon-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
}

.primary-nav-controls {
  display: none;
}

.primary-nav-toggle {
  border: 1px solid var(--mon-border);
  background: #fff;
  color: var(--mon-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  cursor: pointer;
}

.home-banner-band .desktop-ad {
  display: block;
}

.home-banner-band .mobile-ad {
  display: none;
}

.top-banner-slot {
  margin-bottom: 24px;
}

.TopBannerDesktop,
.TopBannerMobile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.TopBannerDesktop .SlotInner {
  width: min(728px, 100%);
  overflow: hidden;
}

.TopBannerMobile .SlotInner {
  width: min(320px, 100%);
  overflow: hidden;
}

.TopBannerMobile {
  display: none;
}

.main-content {
  padding: 24px 0 32px;
}

.section-block {
  margin-bottom: 30px;
}

.home-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px 2%;
}

.home-main-column {
  min-width: 0;
}

.home-rail-column {
  min-width: 0;
}

.home-rail-column .home-widget {
  margin-bottom: 24px;
}

.home-widget:last-child {
  margin-bottom: 0;
}

.home-widget iframe,
.home-widget img {
  width: 100%;
  border: 0;
  border-radius: var(--mon-radius);
}

.home-widget.weather-widget,
.home-widget.video-widget,
.home-widget.promo-widget,
.home-widget.square-widget {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.home-banner-band {
  margin-bottom: 24px;
}

.TopBannerDesktop .ad-rotator {
  width: 100%;
}

.TopBannerMobile .ad-rotator {
  width: 100%;
}

.top-banner-slot .ad-rotator-link {
  display: block;
}

.top-banner-desktop-image {
  width: 100%;
  aspect-ratio: 728 / 90;
  object-fit: cover;
  display: block;
}

.top-banner-mobile-image {
  width: 100%;
  aspect-ratio: 320 / 100;
  object-fit: cover;
  display: block;
}

/* Keep ad creatives and their containers square-cornered. */
.top-banner-slot,
.TopBannerDesktop .SlotInner,
.TopBannerMobile .SlotInner,
.top-banner-slot .ad-rotator,
.top-banner-slot .ad-rotator-link,
.top-banner-desktop-image,
.top-banner-mobile-image,
.top-ads,
.top-ads .desktop-ad,
.top-ads .mobile-ad,
.top-ads .ad-rotator,
.top-ads .ad-rotator-link,
.top-ads .ad-rotator-image,
.header-side .ad-rotator,
.header-side .ad-rotator-link,
.header-side .ad-rotator-image,
.home-widget.promo-widget,
.home-widget.promo-widget a,
.home-widget.promo-widget img,
.home-widget.square-widget,
.home-widget.square-widget .ad-rotator,
.home-widget.square-widget .ad-rotator-link,
.home-widget.square-widget .ad-rotator-image,
.ad-square-wrap,
.ad-square-wrap .ad-rotator,
.ad-square-wrap .ad-rotator-link,
.ad-square-wrap .ad-rotator-image {
  border-radius: 0;
}

.home-featured-grid,
.Home_Featured_Posts_Outer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 2%;
}

.large-story,
.Large_Posts_Single {
  flex: 49% 0;
}

.large-story-image {
  width: 100%;
  aspect-ratio: 1080 / 675;
  object-fit: cover;
  border-radius: var(--mon-radius);
}

.large-story-text {
  margin: -15px 2% 0;
  position: relative;
  width: 96%;
  background: #fff;
  border-radius: 8px;
  border: #fff solid;
  border-width: 11px 13px 9px;
  box-shadow: var(--mon-shadow);
  z-index: 3;
}

.large-story-title,
.Large_Posts_Title {
  margin: 8px 0 0;
  color: var(--mon-text);
  font-size: 22px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.large-story-excerpt p,
.Large_Posts_Excerpt p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.home-small-grid,
.Home_News_Small_Posts_Outer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 2%;
}

.home-small-grid .story-card,
.Home_News_Small_Posts_Outer .Small_Posts_Single {
  flex: 49% 0;
}

.weather-widget iframe {
  height: 228px;
}

.video-widget iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.square-widget .ad-rotator {
  max-width: 300px;
  margin: 0 auto;
}

.contact-widget {
  background: #fff;
  border-radius: var(--mon-radius);
  box-shadow: var(--mon-shadow);
  padding: 12px 15px 8px;
}

.contact-widget h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.contact-widget p {
  margin: 0 0 14px;
  line-height: 1.45;
}

.contact-widget p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-kicker {
  color: var(--mon-blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.section-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.section-link {
  font-weight: 700;
  color: var(--mon-blue);
  font-size: 14px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.lead-card-image {
  border-radius: var(--mon-radius);
  width: 100%;
  aspect-ratio: 1080 / 675;
  object-fit: cover;
}

.lead-card-text {
  position: relative;
  margin: -15px 2% 0;
  width: 96%;
  background: #fff;
  border-radius: 8px;
  border: 11px solid #fff;
  box-shadow: var(--mon-shadow);
  z-index: 2;
}

.story-tag {
  color: var(--mon-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.story-title {
  margin: 8px 0 0;
  color: var(--mon-text);
  font-size: 28px;
  line-height: 1.25;
}

.story-summary {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.story-meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--mon-muted);
  font-style: italic;
}

.story-list-panel {
  background: #fff;
  border-radius: var(--mon-radius);
  box-shadow: var(--mon-shadow);
  padding: 14px 16px;
}

.story-list-title {
  margin: 0 0 10px;
  font-size: 24px;
}

.story-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-list-item {
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}

.story-list-item:last-child {
  border-bottom: 0;
}

.story-list-link {
  font-weight: 700;
  line-height: 1.35;
}

.story-list-date {
  margin: 6px 0 0;
  color: var(--mon-muted);
  font-size: 12px;
  font-style: italic;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 2%;
}

.story-card-inner {
  background: #fff;
  box-shadow: var(--mon-shadow);
  border-radius: var(--mon-radius);
  padding: 12px 15px 8px;
  display: flex;
  width: 96%;
}

.story-card-text {
  flex: 55%;
  padding-right: 10px;
}

.story-card-image {
  flex: 45%;
  margin-right: -30px;
}

.story-card-image img {
  border-radius: var(--mon-radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card-title {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.story-card-summary {
  margin: 5px 0 4px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.page-header {
  background: #fff;
  border-radius: var(--mon-radius);
  box-shadow: var(--mon-shadow);
  padding: 22px;
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
}

.page-header p {
  margin: 10px 0 0;
  font-size: 16px;
}

.ad-square-wrap {
  max-width: 320px;
}

.pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-radius: var(--mon-radius);
  box-shadow: var(--mon-shadow);
  padding: 12px;
}

.pagination-link,
.pagination-label {
  border: 1px solid var(--mon-border);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.pagination-label.muted {
  color: #b0b0b0;
  font-weight: 600;
}

.pagination-state {
  font-size: 14px;
  color: var(--mon-muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 24px;
}

.article-head,
.article-image,
.article-body,
.article-source,
.article-related {
  background: #fff;
  border-radius: var(--mon-radius);
  box-shadow: var(--mon-shadow);
}

.article-head {
  padding: 22px;
}

.article-head .story-title {
  font-size: 33px;
}

.article-image img {
  border-radius: var(--mon-radius);
  width: 100%;
}

.article-body {
  padding: 22px;
}

.article-body p {
  margin: 0 0 1em;
  line-height: 1.7;
}

.article-body h2,
.article-body h3 {
  margin: 1.8em 0 0.7em;
  font-size: 24px;
}

.article-body ul {
  margin: 0 0 1em;
  padding-left: 22px;
}

.article-source {
  padding: 14px 18px;
  font-size: 14px;
}

.article-source a {
  color: var(--mon-blue);
  font-weight: 700;
  word-break: break-word;
}

.article-related {
  padding: 14px 16px;
}

.ad-rotator {
  width: 100%;
  min-height: 1px;
}

.ad-rotator-link {
  display: block;
  width: 100%;
}

.ad-rotator-image {
  width: 100%;
  height: auto;
}

.site-footer {
  margin-top: 40px;
  background: var(--mon-blue);
  color: #fff;
}

.site-footer-inner {
  padding: 26px 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 300px 1fr;
  align-items: center;
}

.footer-logo {
  max-width: 300px;
}

.footer-copy {
  font-weight: 700;
  line-height: 1.5;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .header-side {
    display: none;
  }

  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 980px) {
  .home-row,
  .lead-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout {
    gap: 18px;
  }

  .ad-square-wrap {
    max-width: 100%;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card-image {
    margin-right: 0;
  }

  .story-card-inner {
    width: 100%;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .home-featured-grid .large-story,
  .Home_Featured_Posts_Outer .Large_Posts_Single {
    flex: 100% 0;
  }
}

@media (max-width: 700px) {
  .home-small-grid .story-card,
  .Home_News_Small_Posts_Outer .Small_Posts_Single {
    flex: 100% 0;
  }
}

@media (max-width: 819px) {
  .home-banner-band .desktop-ad,
  .TopBannerDesktop {
    display: none;
  }

  .home-banner-band .mobile-ad,
  .TopBannerMobile {
    display: flex;
  }

  .searchform {
    min-width: 200px;
  }
}

@media (max-width: 900px) {
  .primary-nav-controls {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: stretch;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--mon-border);
    width: 100%;
    text-align: left;
  }

  .primary-nav li:first-child a {
    border-top: 0;
  }

  .nav-ready .primary-nav-wrap[data-mobile-open="false"] .primary-nav {
    display: none;
  }
}
