@media (max-width: 700px) {
  .nav.nav-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0 !important;
    margin-bottom: 0.08em !important;
    justify-content: center;
  }
  .nav.nav-modern a {
    margin: 0 !important;
    padding: 0.09em 0.22em !important;
    font-size: 0.97em !important;
    line-height: 1.1 !important;
  }
}
/* Define accent color variable if missing */
:root {
  --accent-2: #2563eb;
  --site-content-max: 1600px;
}
/* Simple category button style for Feed Browser, matching wiki page */
  .simple-category-btn {
    background: none;
    border: none;
    color: #2a4d7c;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: bold;
    border-radius: 0;
    padding: 0.18em 0.7em;
    margin: 0 0.2em 0 0;
    transition: color 0.15s;
    cursor: pointer;
    white-space: nowrap;
  }
  .simple-category-btn.active,
  .simple-category-btn:focus,
  .simple-category-btn:hover {
    color: #1a2a4d;
    text-decoration: underline;
    background: none;
  }
  /* Feed Browser-specific navigation styles for clean, simple look */
  .feed-browser-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5em 0.5em;
    margin-bottom: 1.2em;
    background: #fff;
    border: none;
    padding: 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  @media (max-width: 900px) {
    .feed-browser-nav {
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      white-space: nowrap !important;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }
    .feed-browser-nav > * {
      flex: 0 0 auto;
    }
  }
  .feed-browser-link,
  .feed-list-btn,
  .subcategory-btn,
  .category-link {
    display: inline-block;
    padding: 0.18em 0.45em;
    font-size: 1.32em;
    color: #2a4d7c;
    background: none;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    margin: 0 0.06em 0 0;
    border: none;
    outline: none;
    cursor: pointer;
  }
  .feed-browser-link.active,
  .feed-browser-link.selected,
  .feed-list-btn.active,
  .feed-list-btn.selected,
  .subcategory-btn.active,
  .subcategory-btn.selected,
  .category-link.active,
  .category-link.selected {
      color: #2563eb;
      background: none;
      text-decoration: underline;
      font-weight: 600;
  }

  /* Ensure .subcategory-btn.active is visible when feedsPanel is open on mobile */
  @media (max-width: 900px) {
  /* Ensure .subcategory-btn.active is visible when feedsPanel is open on mobile */
  @media (max-width: 900px) {
    .subcategory-btn.active[data-feedmenu-open="1"] {
      color: #2563eb !important;
      background: #fff !important;
      text-decoration: underline;
      font-weight: 600;
      border: 1px solid #2563eb;
    }
  }
  }
  }
  .feed-browser-link:hover,
  .feed-browser-link:focus,
  .feed-list-btn:hover,
  .feed-list-btn:focus,
  .subcategory-btn:hover,
  .subcategory-btn:focus,
  .category-link:hover,
  .category-link:focus {
    color: #1a2a4d;
    text-decoration: underline;
    background: none;
    outline: none;
  }
  /* Moved orphaned properties into .home-header selector */
  .home-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 1em;
  }
/* Feed Browser color unification */
.panel, .list, .menu-row, .category-bar, .group-row, .category-row {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 4px #0001;
  color: #222;
  padding: 0.5em 0.3em;
}
.panel-header {
  color: #2a4d7c;
  font-weight: 700;
  background: none;
  border: none;
  margin-bottom: 0.05em;
  padding: 0.05em 0 0.05em 0;
}
.badge {
  background: #e3eaff;
  color: #2a4d7c;
  border-radius: 7px;
  padding: 0.07em 0.4em;
  font-size: 0.96em;
  font-weight: 600;
  margin-left: 0.3em;
}
.app-footer {
  color: #888;
  background: none;
  border: none;
  font-size: 0.95em;
  margin-top: 0.7em;
}
.muted {
  color: #b0b8c9;
  font-size: 0.94em;
  margin-left: 0.5em;
}
/* Improved styling for related links in Today in History event cards */
.event-links {
  margin-top: 0.2em;
  padding: 0.25em 0.4em;
  background: #f6f8fc;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 0.5em;
  font-size: 0.96em;
  overflow-wrap: break-word;
}
.event-links a {
  color: #2a4d7c;
  background: #e3eaff;
    background: none;
    border: none;
    color: #2a4d7c;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    border-radius: 4px;
    padding: 0.2em 0.7em;
    margin: 0;
    display: inline-block;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}
/* Today in History event card header and year styling */
.event-year {
  color: #2a4d7c;
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 0.2em;
  margin-right: 0.7em;
  display: inline-block;
  vertical-align: middle;
}
.event-title {
  font-size: 1.08em;
  font-weight: 500;
  color: #222;
  display: inline-block;
  vertical-align: middle;
}
.entry-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.entry-thumb {
  align-self: flex-start;
  margin-top: 0.35em;
}
/* Today in History header and date row styles */
.today-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.7em;
}
.today-date {
  color: #2a4d7c;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.today-title-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.today-title-row h1 {
  margin-bottom: 0;
}
.today-day-nav {
  align-self: flex-start;
  margin-bottom: 0.7em;
  display: flex;
  gap: 0.3em;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 2.5em;
  margin-left: .5em;
}
.today-day-nav button {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.22em 0.55em;
  font-size: 0.92em;
  font-weight: 500;
  box-shadow: 0 1px 4px #0001;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 0.09em 0.13em 0.09em 0.13em;
  min-width: 1.7em;
  min-height: 1.7em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.today-day-nav button:active {
  background: #2563eb;
  color: #fff;
}
@media (max-width: 700px) {
  .today-day-nav {
    gap: 0.3em;
    justify-content: center;
    margin-top: 1.7em;
    margin-bottom: 1.3em;
  }
  .today-day-nav button {
    background: #1a2a4d;
    color: #fff;
    box-shadow: 0 2px 8px rgba(43, 89, 195, 0.10);
  }
}
/* Viewer and category list styles for unified theme */
.category-list {
  margin-bottom: 2em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 0.1em;
  max-width: 100%;
}
.category-link {
  color: #2a4d7c;
  text-decoration: none;
  font-weight: bold;
  padding: 0.1em 0.6em;
  border-radius: 0;
  margin: 0;
  display: inline-block;
  background: none;
  box-shadow: none;
  border: none;
  transition: color 0.15s;
  outline: none;
}
.category-link.selected {
  text-decoration: underline;
  background: none;
  box-shadow: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  outline: none;
}
.entry {
  background: #fff;
  border-radius: 9px;
  border: none;
  box-shadow: 0 1px 4px #0001;
  margin-bottom: 0.18em;
  padding: 0.5rem 1.2rem 0.2rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.7em;
  align-items: start;
  transition: box-shadow 0.16s;
}
.entry:hover {
  box-shadow: 0 6px 24px #2a4d7c22;
}
.entry-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
  grid-row: 1 / span 3;
  grid-column: 1;
  margin: 0;
}
.entry-content {
  grid-column: 2;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.1em;
}
.entry-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #1a2a4d;
}
.desc {
  color: #333;
  margin: 0.5em 0 0.7em 0;
}
.links {
  margin-top: 0.3em;
  display: flex;
  gap: 0.5em;
  align-items: center;
}
.links a {
  color: #2a4d7c;
  text-decoration: none;
}
.links a:hover {
  text-decoration: underline;
}

# /* Desktop pagination improvements */
.pagination {
  margin-top: 1.7em;
  margin-bottom: 1.7em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.7em;
  justify-content: flex-start;
  align-items: center;
  background: none;
  border-radius: 0;
  padding: 0.2em 0;
  box-shadow: none;
}
#pagination-top {
  margin-bottom: 2em;
}

/* Pagination links styled like category a, b, c links */
.pagination a, .pagination button {
  color: #2563eb;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.92em;
  text-decoration: none;
  margin: 0 0.08em;
  padding: 0.08em 0.22em;
  border-radius: 3px;
  transition: color 0.15s, text-decoration 0.15s, background 0.15s;
  cursor: pointer;
  box-shadow: none;
  min-width: 1.1em;
  min-height: 1.1em;
  display: inline-block;
}
.pagination a.selected, .pagination button.selected {
  color: #fff;
  background: #2563eb;
  text-decoration: underline;
}
.pagination a:hover, .pagination button:hover {
  color: #1a2a4d;
  text-decoration: underline;
  background: #e3eaff;
}
@media (max-width: 700px) {
  .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em 0.7em;
    justify-content: center;
    margin-top: 0.7em;
    margin-bottom: 1.2em;
  }
  .pagination button {
    font-size: 1em;
    padding: 0.35em 0.9em;
    min-width: 2.2em;
    min-height: 2.2em;
    border-radius: 7px;
    margin: 0.15em 0.25em 0.15em 0.25em;
  }
}
/* Additional unified theme classes for layout and mobile stacking */
.subtitle {
  color: #555;
  font-size: 1em;
  margin-bottom: 0.7em;
}
.section-divider {
  margin: 0.2em 0;
  border: none;
  border-top: 1px solid #e3eaff;
}
.history-wiki-row {
  display: flex;
  gap: 0.7em;
  align-items: stretch;
  justify-content: space-between;
  text-align: left;
}
.history-col, .wiki-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.feed-browser-header-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.7em;
  gap: 1em;
}
.feed-browser-header-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 700px) {
  .history-wiki-row {
    flex-direction: column !important;
    gap: 1.5em !important;
  }
  .feed-browser-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
  }
}
/* Unified Theme Styles */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #f9f9f9 60%, #e3eaff 100%);
  min-height: 100vh;
}
.container {
  max-width: var(--site-content-max);
  width: calc(100% - 1.4em);
  margin: 1.2em auto 1.5em auto;
  padding: 1.2em 1.5em 1.5em 1.5em;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0002;
  text-align: left;
  box-sizing: border-box;
  overflow: visible;
}
h1, h2 {
  color: #2a4d7c;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
  letter-spacing: 0.02em;
}
h2 {
  margin-top: 0.3em;
  font-size: 1.3em;
}
.nav, .nav-modern {
  margin: 1em 0.2em;
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  justify-content: flex-start;
  align-items: flex-start;
}
.nav a, .nav-modern a {
  background: none !important;
  color: #2a4d7c !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1em !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin-right: 1.2em !important;
  text-shadow: none !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.nav a:hover, .nav-modern a:hover {
  background: none !important;
  color: #1a2a4d !important;
  text-decoration: underline !important;
  box-shadow: none !important;
}
@media (max-width: 700px) {
  .nav, .nav-modern {
    flex-direction: row !important;
    gap: 0 !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .nav a, .nav-modern a {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    padding: 0.08em 0.12em !important;
    font-size: 1em !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    border: none !important;
    background: none !important;
  }
}
/* Entry-card layout: column, link at bottom */
.entry-card, .event {
  background: none;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 8px #0001;
  margin-bottom: 0.18em;
  display: flex;
  flex-direction: column;
  gap: 0.02em 0.05em !important;
  max-width: 100%;
  box-shadow: 0 6px 24px #2a4d7c22;
  padding: 0.5rem 1.2rem 0.2rem 1.2rem;
  font-size: 1.05rem;
}
.back-to-home-link {
  color: #2a4d7c;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 0.7em;
  display: inline-block;
}
.controls input[type="search"] {
  padding: 0.28em 0.6em;
  font-size: 0.97em;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.controls button, .nav-btn {
  background: #2a4d7c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.28em 0.9em;
  font-size: 0.97em;
  font-weight: 500;
  box-shadow: 0 1px 4px #2a4d7c22;
  cursor: pointer;
  margin-left: 0.7em;
  transition: background 0.2s, box-shadow 0.2s;
}
.controls button:hover, .nav-btn:hover {
  background: #1a2a4d;
  box-shadow: 0 2px 8px #2a4d7c33;
}
/* Custom container and nav styles from index.html */
h1 {
  color: #2a4d7c;
  font-size: 2.2em;
  margin-bottom: 0.5em;
}
.nav {
  margin-top: 0.5em;
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: center;
}
.nav a {
  display: inline-block;
  padding: 0.5em 1.2em;
  font-size: 1em;
  color: #fff;
  background: #2a4d7c;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 1px 4px #0001;
  transition: background 0.2s;
  font-weight: 500;
}
.nav a:hover {
  background: #1a2a4d;
}
/* Ensure entry-card and its children use Segoe UI font */
.entry-card, .entry-card *, .list, .list * {
  font-family: 'Segoe UI', Arial, sans-serif !important;
}
#jsonViewerPanel {
  display: none !important;
}
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

article {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #181818;
}
/* Force article text and headings to wrap and prevent overflow */
/* Force article text and headings to wrap and prevent overflow */
.entry-card, .entry-card p, .entry-card h3, .list {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Ensure entry-card titles are left-aligned */
.entry-card h3 {
  text-align: left;
  margin-bottom: 0.12rem;
  margin-bottom: 0.12rem;
}
@media (max-width: 900px) {
  #feedsPanel .panel-header {
    display: none !important;
  }
}
/* Side-by-side layout for Feed Browser on desktop */
.layout.layout--sidebyside {
  display: grid;
  grid-template-columns: minmax(11rem, 18rem) 1fr;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .layout.layout--sidebyside {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .entry-card, .entry-card p, .entry-card h3, .list {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
  body, html {
    overflow-x: hidden !important;
    width: 100vw !important;
  }
}
/* Force article text and headings to wrap and prevent overflow */
.entry-card, .entry-card p, .entry-card h3, .list {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}
/* Fix article text overflow on mobile and small screens */
.entry-card, .list, .entry-card p, .entry-card h3 {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}
/* Responsive improvements for home page panels and articles */
@media (max-width: 900px) {
  .app {
    padding: 0.7rem 0.2rem 1rem 0.2rem;
    gap: 0.7rem;
  }
  .app-header {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 0.3rem;
    gap: 0.5rem;
  }
  .panel {
    padding: 0.5rem 0.3rem;
    border-radius: 12px;
    min-width: 0;
    box-shadow: 0 1px 6px rgba(43, 89, 195, 0.07);
  }
  .panel-header {
        text-align: left !important;
        align-items: flex-start !important;
      text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
    padding: 0.1rem 0.1rem 0.2rem 0.1rem;
  }
  .list {
        text-align: left !important;
      text-align: left;
    gap: 0.3rem;
    padding-right: 0;
  }
  .entry-card {
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
  }
  .entry-card h3 {
    font-size: 1.01rem;
    margin-bottom: 0.2rem;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .app {
    padding: 0.2rem 0.05rem 0.5rem 0.05rem;
    gap: 0.3rem;
  }
  .panel {
    padding: 0.3rem 0.1rem;
    border-radius: 8px;
  }
  .entry-card {
    padding: 0.5rem 0.2rem;
    font-size: 0.95rem;
  }
  .entry-card h3 {
    font-size: 0.97rem;
  }
}
/* Always hide the category-bar nav */
.category-bar {
  display: none !important;
}
/* --- Mobile Feed Menu Styles --- */
.mobile-feed-panel {
  display: none;
}
.mobile-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 0.2rem 0;
}
.mobile-feed-list button {
  background: #f5f7fa;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: 1.08rem;
  border-radius: 7px;
  padding: 0.7rem 1.2rem;
  text-align: left;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.mobile-feed-list button.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mobile-nav-btn,
  .mobile-nav-drawer {
    display: none !important;
  }

  #categoryMenu.page-subnav-inner,
  #categoryMenu.menu-row.category-row {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .layout.layout--sidebyside #feedsPanel {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 0.75em;
    padding: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    z-index: auto;
  }

  .layout.layout--sidebyside #feedList.list {
    flex-direction: column !important;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
    max-width: 100%;
    gap: 0.15em;
    padding-bottom: 0;
  }
}

.mobile-nav-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 3000;
  background: #2563eb;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px rgba(43, 89, 195, 0.13);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-nav-icon {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}
.mobile-nav-icon::before,
.mobile-nav-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
}
.mobile-nav-icon::before { top: -8px; }
.mobile-nav-icon::after { top: 8px; }

.mobile-nav-drawer {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(43, 89, 195, 0.13);
  z-index: 4000;
  flex-direction: column;
  padding: 0;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
  transform: translateX(-100%);
}
.mobile-nav-drawer.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  border-bottom: 1px solid #e3e7ef;
}
.mobile-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2563eb;
  cursor: pointer;
  line-height: 1;
}
.mobile-group-menu, .mobile-category-menu {
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 35vh;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

@media (max-width: 900px) {
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
  }
  .mobile-group-menu, .mobile-category-menu {
    max-height: 35vh;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}
.mobile-group-menu button, .mobile-category-menu button {
  background: #f5f7fa;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: 1.05rem;
  border-radius: 7px;
  padding: 0.5rem 1rem;
  text-align: left;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.mobile-group-menu button.active, .mobile-category-menu button.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  font-weight: 700;
}

@media (max-width: 900px) {
  .category-bar { display: none !important; }
  .mobile-nav-btn { display: flex !important; }
}

@media (min-width: 900px) {
  .mobile-nav-btn { display: none !important; }
}
/* Responsive styles for mobile and tablet */
@media (max-width: 900px) {
  .app {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    gap: 1rem;
  }
  .app-header {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0.7rem;
    gap: 0.7rem;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .panel {
    min-height: 220px;
    padding: 0.7rem;
  }
  .category-bar {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.3rem 0.3rem;
  }
  .group-row, .category-row {
    gap: 0.01rem !important;
    padding: 0.01rem 0.01rem !important;
    font-size: 0.97rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .group-row button, .category-row button {
    font-size: 0.97rem;
    padding: 0.03rem 0.07rem !important;
  }
  .feed-list {
    gap: 0.3rem 0.3rem;
    margin: 0.4rem 0 0.3rem 0;
    padding-left: 0.1rem;
  }
  .feed-list button {
    font-size: 0.93rem;
    padding: 0.28rem 0.7rem;
  }
  .panel-header h2 {
    font-size: 1rem;
  }
  .controls input {
    min-width: 120px;
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
  }
  .controls button {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .app {
    padding: 0.5rem 0.1rem 0.7rem 0.1rem;
    gap: 0.5rem;
  }
  .app-header {
    padding: 0.5rem 0.2rem;
    gap: 0.4rem;
  }
  .panel {
    padding: 0.4rem;
    min-height: 120px;
  }
  .category-bar {
    padding: 0.1rem 0.1rem;
    gap: 0.1rem;
  }
  .group-row, .category-row {
    gap: 0.08rem;
    padding: 0.04rem 0.04rem;
    font-size: 0.93rem;
  }
  .group-row button, .category-row button {
    font-size: 0.93rem;
    padding: 0.09rem 0.3rem;
  }
  .feed-list {
    gap: 0.15rem 0.15rem;
    margin: 0.2rem 0 0.15rem 0;
    padding-left: 0.05rem;
  }
  .feed-list button {
    font-size: 0.91rem;
    padding: 0.16rem 0.4rem;
  }
  .panel-header h2 {
    font-size: 0.97rem;
  }
  .controls input {
    min-width: 80px;
    padding: 0.3rem 0.4rem;
    font-size: 0.97rem;
  }
  .controls button {
    padding: 0.3rem 0.5rem;
    font-size: 0.97rem;
  }
}
/* Subcategory (second-level) menu button styles */
.subcategory-btn {
  appearance: none !important;
  background: none !important;
  border: none !important;
  border-radius: 7px;
  padding: 0.38rem 0.95rem;
  font-size: 0.96rem;
  color: #2a4d7c;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  margin-right: 0.18em;
  margin-bottom: 0.08em;
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border 0.15s;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  text-decoration: none;
}
.subcategory-btn.active {
  color: #2563eb;
  background: none;
  border: none;
  font-weight: 700;
  text-decoration: underline;
}
.subcategory-btn:hover,
.subcategory-btn:focus {
  background: var(--accent-1);
  border-color: var(--accent-2);
  color: #fff;
  text-decoration: none;
}
.group-row {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) var(--panel);
}

/* Custom scrollbar for group-row (top-level menu) */
.group-row::-webkit-scrollbar {
  height: 8px;
}
.group-row::-webkit-scrollbar-thumb {
  background: var(--accent-2);
  border-radius: 6px;
    text-decoration: underline;
    background: #e3eaff;
    color: #2a4d7c;
  background: var(--panel);
  border-radius: 6px;
}
.category-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(43, 89, 195, 0.03);
  padding-top: 0.05rem;
  padding-bottom: 0.05rem;
  margin-bottom: 0.4rem;
}
/* Group menu wraps to multiple lines if needed */
/* Top-level menu: single horizontal row, no wrap, scroll if overflow */
.group-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.32rem;
  margin-bottom: 0.08rem;
  background: var(--panel);
  border-radius: 6px;
  padding: 0.13rem 0.5rem;
  box-shadow: 0 1px 3px rgba(43, 89, 195, 0.03);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  min-width: 0;
  width: 100%;
/* Removed stray properties and unmatched braces */
}
/* Improve contrast for selected top-level category */
.group-row button.category-group-title.active,
.group-row button.category-group-title:focus,
.group-row button.category-group-title:hover {
  background: #1a237e;
  color: #fffbe7;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.13);
}
/* Category bar: stack group-row and category-row vertically */
.category-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(43, 89, 195, 0.03);
  padding-top: 0.05rem;
  padding-bottom: 0.05rem;
  margin-bottom: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
/* Removed unmatched braces and stray properties */
}
.group-row + .category-row {
  display: flex;
}
.category-row button {
  background: none;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.93rem;
  border-radius: 3px;
  padding: 0.13rem 0.5rem;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.category-row button.active,
.category-row button:focus,
.category-row button:hover {
  background: var(--accent-1);
  color: #fff;
}
/* Enhanced Menu Container Styles */
.menu {
  margin: 2.2rem 0 2.2rem 0;
  padding: 0 0.7rem;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Accessibility: Focus ring for keyboard navigation */
.category-group .list button:focus-visible,
.feed-list button:focus-visible,
.category-group-title:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  z-index: 2;
}

/* Subtle divider between menu sections */
.category-group:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 40%, var(--border) 60%, transparent 100%);
  margin: 1.1rem 0 0.1rem 0;
  opacity: 0.7;
}

.category-group .list button,
.feed-list button {
  outline: none;
  position: relative;
  z-index: 1;
}

.category-group .list button.active,
.feed-list button.active {
  box-shadow: 0 2px 8px rgba(43, 89, 195, 0.13);
  border-width: 2px;
}

/* Legacy feed-list button row (feed browser uses #feedList.list + .feed-list-btn) */
.feed-list {
  margin: 0.7rem 0 0.5rem 0;
  padding-left: 0.2rem;
}
.feed-list button {
  background: #f3f6fa;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 0.38rem 0.95rem;
  font-size: 0.96rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    padding: 0.2em 0;
}
.feed-list button:hover,
.feed-list button:focus {
  background: var(--accent-1);
  border-color: var(--accent-2);
  color: #fff;
}
.feed-list button.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(43, 89, 195, 0.10);
}

.app {
  min-height: 100vh;
  max-width: var(--site-content-max);
  margin: 0 auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 #e6e2c3;
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}
  .app {
    min-height: 100vh;
    max-width: var(--site-content-max);
    margin: 0 auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px 0 #e6e2c3;
    padding: 1.25rem 1.5rem 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
/* Removed unmatched braces and stray properties */
}

.bg-orb.one {
  top: -10vmax;
  left: -8vmax;
  background: #ffecd1;
}

.bg-orb.two {
  bottom: -12vmax;
  right: -10vmax;
  background: #d4e9ff;
}

.app {
  padding: 2.2rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.1rem 1.6rem;
  box-shadow: var(--shadow);
  animation: fadeIn 0.8s ease-out;
}

.controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.controls input {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  min-width: 220px;
  background: #fff;
}

.controls button {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.controls button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.title-button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.title-button:hover {
  opacity: 0.85;
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
  min-height: 350px;
  /* Remove fixed height to allow stacking */
}

.layout.layout--single {
  grid-template-columns: 1fr;
}

.category-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.45rem 0.8rem;
  box-shadow: var(--shadow);
}

.category-bar h2 {
  font-size: 0.9rem;
  margin-right: 0.6rem;
}

.category-bar .list {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
}

.category-bar .list button {
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: .11rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: riseIn 0.7s ease;
  min-height: unset;
  height: auto;
}

.panel h2 {
  font-size: 1.1rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: visible;
  padding-right: 0.2rem;
  min-height: unset;
  height: auto;
}

.list button {
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border 0.2s ease, background 0.2s ease;
}

.list button:hover {
  border-color: var(--border);
  background: rgba(255, 107, 53, 0.08);
}

.list button.active {
  border-color: rgba(43, 89, 195, 0.3);
  background: rgba(43, 89, 195, 0.12);
  font-weight: 600;
}


/* Grouped Category Menu Styles */

/* Enhanced Grouped Category Menu Styles */
.category-group {
  margin-bottom: 1.2rem;
  background: var(--panel);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(43, 89, 195, 0.06);
  padding: 0.5rem 1rem 0.7rem 1rem;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
}
.category-group:not(:last-child) {
  margin-bottom: 1.5rem;
}
.category-group-title {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  color: #2a4d7c;
  font-weight: bold;
  padding: 0.18em 0.7em;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  text-align: left;
  margin: 0 0.2em 0 0;
}
/* Also improve contrast for .category-group-title outside .group-row if used */
.category-group-title.active,
.category-group-title:focus,
.category-group-title:hover {
  background: #e3eaff;
  color: #2a4d7c;
  text-decoration: underline;
}
.category-group .list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  padding: 0.2rem 0 0.2rem 0;
  margin-top: 0.2rem;
}
.category-group .list button {
  background: #f7faff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.10rem;
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(43, 89, 195, 0.03);
  transition: background 0.18s, border 0.18s, color 0.18s;
  cursor: pointer;
}
.category-group .list button:hover,
.category-group .list button:focus {
  background: var(--accent-1);
  border-color: var(--accent-2);
  color: #fff;
}
.category-group .list button.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
  font-weight: 700;
}

.error-banner {
  border: 1px solid rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.12);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
}
  .error-banner {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    text-align: left;
    max-height: 2.5rem;
    overflow: hidden;
  }

.badge {
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(27, 27, 31, 0.06);
}

.article-view {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  min-height: 300px;
  overflow: auto;
}

/* .category-bar remains for groupMenu only */
.category-bar {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fffbe8;
  border-bottom: 1px solid #e6e2c3;
  z-index: 10;
  padding: 0;
}
.menu-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem 0.5rem 1.5rem;
}
.category-row {
  border-top: none;
  border-bottom: 1px solid #e6e2c3;
  background: #fffbe8;
  min-height: 2.5rem;
  max-height: 2.5rem;
  height: 2.5rem;
  margin-left: 0;
  padding-left: 1.6rem;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow: hidden;
/* Removed unmatched braces and stray properties */
}

.entry-meta .meta-date {
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.entry-meta .meta-source {
  background: rgba(27, 27, 31, 0.08);
  color: #3a3a40;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
/* Removed unmatched braces and stray properties */
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.entry-card p {
  font-size: 1.18rem !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  color: #23272f !important;
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
}

.entry-card a {
  font-weight: 600;
}

.entry-card h3 a {
  display: inline;
  margin: 0;
}

.article-view h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.article-view a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .controls {
    width: 100%;
  }

  .controls input {
    flex: 1;
  }

  .category-bar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .category-bar .list {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .layout {
    grid-template-columns: 1fr;
  }
}

/* Force entry-card h3 titles to be left-aligned globally and override all other styles */
.entry-card > h3 {
  text-align: left !important;
}

/* --- Unified Menu Underline Rules --- */
.feed-browser-link,
.category-link,
.nav a,
.nav-modern a,
.mobile-group-menu a,
.mobile-category-menu a {
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.feed-browser-link.selected,
.category-link.selected,
.nav a.selected,
.nav-modern a.selected,
.mobile-group-menu a.selected,
.mobile-category-menu a.selected,
.feed-browser-link.active,
.category-link.active,
.nav a.active,
.nav-modern a.active,
.mobile-group-menu a.active,
.mobile-category-menu a.active {
  text-decoration: underline !important;
  color: #2563eb !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.feed-browser-link:not(.selected):not(.active):hover,
.category-link:not(.selected):not(.active):hover,
.nav a:not(.selected):not(.active):hover,
.nav-modern a:not(.selected):not(.active):hover,
.mobile-group-menu a:not(.selected):not(.active):hover,
.mobile-category-menu a:not(.selected):not(.active):hover,
.feed-browser-link:not(.selected):not(.active):focus,
.category-link:not(.selected):not(.active):focus,
.nav a:not(.selected):not(.active):focus,
.nav-modern a:not(.selected):not(.active):focus,
.mobile-group-menu a:not(.selected):not(.active):focus,
.mobile-category-menu a:not(.selected):not(.active):focus {
  text-decoration: none !important;
  outline: none !important;
}

/* --- Shared site navigation --- */
.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35em 0.55em;
  margin-bottom: 0.45em;
}

.site-top__main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35em 0.55em;
  min-width: 0;
}

.site-prefs {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.site-prefs__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.35em 0.55em;
  font-size: 0.88em;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.site-prefs__toggle:hover,
.site-prefs__toggle:focus-visible {
  color: #2563eb;
  background: #f1f5f9;
  border-color: #e2e8f0;
  outline: none;
}

.site-prefs__icon {
  display: block;
}

.site-prefs__label {
  white-space: nowrap;
}

.site-prefs__dropdown {
  position: absolute;
  top: calc(100% + 0.35em);
  right: 0;
  z-index: 1200;
  min-width: min(280px, calc(100vw - 2rem));
  padding: 0.35em;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.site-prefs__dropdown .feedme-user-prefs {
  flex-direction: column;
  align-items: stretch;
  border: none;
  background: transparent;
  padding: 0.5em 0.55em;
}

.site-page-title {
  font-size: 1.05em;
  font-weight: 600;
  color: #2a4d7c;
  line-height: 1.2;
}

.site-page-title::before {
  content: "·";
  margin-right: 0.55em;
  color: #94a3b8;
  font-weight: 400;
}

.site-brand {
  font-size: 1.55em;
  font-weight: 700;
  color: #1a2a4d;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-brand:hover {
  color: #2563eb;
}

.site-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow: visible;
  gap: 0.6em;
  padding: 0.9em 1em;
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 0.5em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
}

.site-nav::-webkit-scrollbar {
  height: 8px;
}

.site-nav::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 4px;
}

.site-nav-link {
  flex: 0 0 auto;
  padding: 0.7em 1.2em;
  border-radius: 8px;
  background: #e0e7ff;
  color: #222 !important;
  font-weight: 500;
  text-decoration: none !important;
  font-size: 1.07em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.site-nav-link:hover {
  background: #c7d2fe;
  color: #1a2a4d !important;
  text-decoration: none !important;
}

.site-nav-link.active {
  background: #c7d2fe;
  color: #1a2a4d !important;
  font-weight: 600;
  text-decoration: none !important;
}

.page-header {
  text-align: center;
  margin: 0.45em 0 0.75em;
}

.page-header h1 {
  margin: 0;
}

@media (max-width: 700px) {
  .site-nav.site-nav--desktop {
    display: none;
  }

  .site-nav-mobile {
    display: block;
  }
}
