body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

.top-utility-bar {
    background: #202C50;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 11px;
    line-height: 1;
}

.top-utility-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px 14px;
    width: 100%;
    box-sizing: border-box;
    min-height: 24px;
    padding: 2px 24px;
}

.top-utility-link,
.top-social-link {
    color: #ffffff;
    text-decoration: none;
    font-family: Georgia, serif;
}

.top-utility-link {
    white-space: nowrap;
}

.top-utility-link:hover,
.top-social-link:hover {
    text-decoration: underline;
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.top-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.top-social-link img {
    width: 13px;
    height: 13px;
    display: block;
}

.top-social-link.is-disabled {
    opacity: 0.55;
    cursor: default;
}

.top-social-link.is-disabled:hover {
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.top-link {
    padding: 10px 20px;
    font-size: 14px;
}

.top-link a {
    text-decoration: none;
    color: #000000;
}

.main-header {
    padding: 8px 20px 0;
}

.logo-social-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

.logo-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 100px;
    max-width: min(48vw, 460px);
    object-fit: contain;
    display: block;
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-masthead-title {
    margin: 0;
    color: #202C50;
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
}

.news-wordmark-title {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.news-wordmark-logo {
    display: inline-block;
    height: 1em;
    width: auto;
    object-fit: contain;
    transform: translateY(0.03em);
}

.section-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.main-nav a.section-home-link {
    text-decoration: none;
}

.section-home-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.social-icons img {
    height: 24px;
    margin-left: 10px;
    vertical-align: middle;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    border: 0;
}

.main-nav-left,
.main-nav-right {
    justify-content: center;
}

.main-nav a {
    margin: 0;
    color: #C8102E;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.main-nav a.search-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 14px;
    text-decoration: none;
}

.search-icon {
    position: relative;
    width: 10px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
}

.search-icon::after {
    content: '';
    position: absolute;
    right: -4px;
    bottom: -2px;
    width: 5px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.articles {
    width: 100%;
    margin: 24px auto;
    padding: 0 20px;
}

.social-icons a img {
    height: 24px;
    margin-left: 10px;
    vertical-align: middle;
    border: none;
    outline: none;
}

.social-icons a {
    text-decoration: none;
    outline: none;
}

.social-icons a:focus,
.social-icons a:active,
.social-icons a:hover {
    outline: none;
    border: none;
}

.floating-social-icons {
    display: none;
}

.subscribe-link {
    padding: 0 20px;
    margin-top: -10px;
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 18px;
}

.subscribe-link a {
    color: black;
    text-decoration: none;
}
.subscribe-title {
    font-family: Georgia, serif;
    font-size: 28px;
    text-align: center;
    margin: 0 0 12px;
    color: #202C50;
}

.subscribe-page {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 42px 20px;
    text-align: center;
}

.subscribe-logo-link {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 20px;
}

.subscribe-logo {
    height: 120px;
    max-width: min(90vw, 520px);
    object-fit: contain;
    display: block;
}

.subscribe-copy {
    max-width: 560px;
    margin: 0 auto 24px;
    color: #333333;
    font-size: 18px;
    line-height: 1.5;
}

.subscribe-button-link {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 4px;
    background: #202C50;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}

.subscribe-button-link:hover {
    background: #151d35;
}

.subscribe-note {
    margin: 16px 0 20px;
    color: #555555;
    font-size: 14px;
}

.subscribe-home-link {
    color: #C8102E;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.subscribe-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    flex-direction: column;
}

.subscribe-form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
}

.subscribe-form-container input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.subscribe-form-container button {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    background-color: #002147;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.subscribe-form-container button:hover {
    background-color: #001530;
}
.news-heading {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
}

.news-grid-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-latest-section {
    margin: 34px auto 10px;
}

.news-section-heading {
    color: #202C50;
    font-family: Georgia, serif;
    font-size: 24px;
    margin: 0 0 18px;
    text-align: center;
}

.news-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-latest-grid .homepage-article-card {
    box-sizing: border-box;
}

.news-latest-grid > p {
    grid-column: 1 / -1;
    color: #555555;
    margin: 0;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.news-box {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.news-box a {
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    font-family: Georgia, serif;
    text-decoration: none;
    padding: 10px;
    text-align: left;
}
.category-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.category-box {
    width: 250px;
    height: 150px;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.category-box:hover {
    background-color: #eee;
    transform: translateY(-3px);
}
/* === Homepage Sections: Editor's Picks & The Latest === */

.homepage-section {
  margin: 0;
}

.homepage-section h2 {
  display: block;
  text-align: center;
  font-size: 1.35em;
  font-weight: bold;
  color: #202C50;
  margin: 0 0 16px 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual article cards */
.homepage-article-card {
  width: 100%;
  background-color: #f8f8f8;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.homepage-article-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.homepage-article-card img.thumb {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.homepage-article-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2em;
}

.homepage-article-card p {
  margin: 0;
  color: #555;
}

.homepage-sections-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  max-width: 1120px;
  margin: 30px auto;
  padding: 0 22px;
}

.homepage-section {
  flex: 1 1 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.section-articles-cta {
  text-align: center;
  margin-top: 16px;
}

.section-articles-link {
  color: #C8102E;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-articles-link:hover {
  color: #a30d24;
}

.search-page {
  max-width: 900px;
  margin: 34px auto 60px;
  padding: 0 20px;
}

.search-heading {
  color: #202C50;
  font-size: 32px;
  margin: 0 0 22px;
  text-align: center;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto 22px;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-family: Georgia, serif;
  font-size: 16px;
}

.search-button {
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: #202C50;
  color: #ffffff;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: bold;
}

.search-button:hover {
  background: #151d35;
}

.search-summary {
  min-height: 20px;
  color: #555;
  font-size: 15px;
  text-align: center;
}

.search-results {
  max-width: 760px;
  margin: 24px auto 0;
}

.search-results .article {
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
}

.search-results .article:first-child {
  padding-top: 0;
}

.about-page {
  max-width: 820px;
  margin: 34px auto 70px;
  padding: 0 22px;
}

.about-heading {
  color: #202C50;
  font-size: 32px;
  margin: 0 0 24px;
  text-align: center;
}

.about-copy {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 26px 0;
}

.about-copy p {
  max-width: 720px;
  margin: 0 auto;
  color: #111111;
  font-size: 19px;
  line-height: 1.75;
}

@media (min-width: 601px) {
  #latest-articles {
    padding-right: 0;
  }

  #editors-picks {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .top-utility-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    min-height: 26px;
    padding: 3px 12px;
  }

  .top-social-links {
    gap: 10px;
    margin-left: 0;
  }

  .logo-social-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .logo-container {
    order: 1;
  }

  .main-nav-left {
    order: 2;
    justify-content: center;
  }

  .main-nav-right {
    order: 3;
    justify-content: center;
  }

  .logo {
    height: 82px;
    max-width: 90vw;
  }

  .section-masthead-title {
    font-size: 38px;
  }

  .section-home-logo {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    gap: 8px 14px;
  }

  .news-latest-section {
    margin-top: 28px;
  }

  .news-latest-grid {
    grid-template-columns: 1fr;
  }

  .homepage-sections-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .search-form {
    flex-direction: column;
  }
}

/* Default article title color and hover effect sitewide */
.article-list h3,
.article h2 {
  color: #000;
  transition: color 0.2s ease;
}

.article-list h3:hover,
.article h2:hover {
  color: #B5281A;
}
