
:root {
  --foms-blue-primary: #2483d0;
  --foms-blue-dark: #1d3c58;
  --foms-blue-deeper: #142a3e;
  --foms-gold-accent: #f3c663;
  --foms-bg-body: #f2f4f7;
  --foms-bg-card: #ffffff;
  --foms-text-main: #333333;
  --foms-text-muted: #667584;
  --foms-border: #dce4ec;
  --foms-max-width: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--foms-bg-body);
  color: var(--foms-text-main);
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}


.genesis-skip-link {
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a {
  color: var(--foms-blue-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--foms-blue-dark);
  text-decoration: underline;
}

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

.wrap {
  max-width: var(--foms-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.site-header {
  background: linear-gradient(135deg, #2483d0 0%, #1b65a3 100%);
  color: #ffffff;
  padding: 28px 0;
  border-bottom: 4px solid #19568a;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.title-area {
  flex: 1 1 520px;
}

.site-title {
  margin: 0 0 6px 0;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-title a:hover {
  color: var(--foms-gold-accent);
}

.site-description {
  margin: 0;
  font-size: 1.02rem;
  color: #e2f1ff;
  font-weight: 400;
}

.header-widget-area {
  flex: 0 1 360px;
  background-color: rgba(15, 38, 58, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #f4f9ff;
}

.header-widget-area strong {
  color: var(--foms-gold-accent);
}


.nav-primary {
  background-color: var(--foms-blue-dark);
  border-bottom: 1px solid #12283c;
}

.genesis-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.genesis-nav-menu > .menu-item {
  position: relative;
}

.genesis-nav-menu > .menu-item > a {
  display: block;
  padding: 15px 20px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
}

.genesis-nav-menu > .menu-item > a:hover,
.genesis-nav-menu > .current-menu-item > a {
  background-color: var(--foms-blue-primary);
  color: #ffffff;
}

.genesis-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: var(--foms-blue-dark);
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 100;
  border-top: 2px solid var(--foms-gold-accent);
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
  display: block;
}

.genesis-nav-menu .sub-menu a {
  display: block;
  padding: 12px 18px;
  color: #e6f2ff;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.genesis-nav-menu .sub-menu a:hover {
  background-color: var(--foms-blue-primary);
  color: #ffffff;
}


.site-inner {
  flex: 1;
  padding: 32px 0 48px 0;
}

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(290px, 1fr);
  gap: 32px;
  align-items: start;
}

body.full-width-content .content-sidebar-wrap {
  grid-template-columns: 1fr;
}

body.full-width-content .sidebar-primary {
  display: none;
}

.content {
  min-width: 0;
}

.genesis-slider-box {
  background-color: var(--foms-bg-card);
  border: 1px solid var(--foms-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.slider-stage {
  position: relative;
  min-height: 320px;
  background-color: #162e44;
  color: #ffffff;
  display: flex;
  align-items: stretch;
}

.slide-item {
  display: none;
  width: 100%;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}

.slide-item.active {
  display: grid;
}

.slide-media {
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.slide-excerpt {
  padding: 28px 30px;
  background: rgba(20, 42, 62, 0.94);
}

.slide-excerpt h2 {
  margin: 0 0 12px 0;
  font-size: 1.55rem;
  color: #ffffff;
  line-height: 1.3;
}

.slide-excerpt p {
  margin: 0 0 18px 0;
  color: #dbe9f6;
  font-size: 0.95rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f8fafc;
  border-top: 1px solid var(--foms-border);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background-color: #cbd5e1;
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--foms-blue-primary);
  transform: scale(1.15);
}

.slider-nav-btn {
  background-color: var(--foms-blue-dark);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 0.82rem;
  cursor: pointer;
}

.slider-nav-btn:hover {
  background-color: var(--foms-blue-primary);
}


.entry {
  background-color: var(--foms-bg-card);
  border: 1px solid var(--foms-border);
  border-radius: 8px;
  padding: 30px 34px;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.entry-header {
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.entry-title {
  margin: 0 0 8px 0;
  font-size: 1.65rem;
  color: var(--foms-blue-dark);
  line-height: 1.32;
}

.entry-title a {
  color: var(--foms-blue-dark);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--foms-blue-primary);
}

.entry-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--foms-text-muted);
}

.entry-content p {
  margin: 0 0 16px 0;
}

.entry-content h3 {
  color: var(--foms-blue-dark);
  margin: 24px 0 12px 0;
  font-size: 1.25rem;
}

.alignright {
  float: right;
  margin: 6px 0 16px 24px;
  border-radius: 6px;
  border: 4px solid #eef2f6;
  max-width: 46%;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.btn-primary,
.more-link {
  display: inline-block;
  background-color: var(--foms-blue-primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover,
.more-link:hover {
  background-color: var(--foms-blue-dark);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--foms-gold-accent);
  color: var(--foms-blue-deeper) !important;
}

.btn-gold:hover {
  background-color: #eab53e;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.info-card {
  background-color: #f8fafc;
  border: 1px solid var(--foms-border);
  border-left: 4px solid var(--foms-blue-primary);
  border-radius: 6px;
  padding: 16px 18px;
}

.info-card h4 {
  margin: 0 0 8px 0;
  color: var(--foms-blue-dark);
  font-size: 1.02rem;
}

.info-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--foms-text-main);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.sponsor-item {
  background: #ffffff;
  border: 1px solid var(--foms-border);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.sponsor-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

.foms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background-color: #ffffff;
}

.foms-table th,
.foms-table td {
  border: 1px solid var(--foms-border);
  padding: 11px 14px;
  text-align: left;
}

.foms-table th {
  background-color: var(--foms-blue-dark);
  color: #ffffff;
  font-weight: 700;
}

.foms-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.sidebar-primary .widget {
  background-color: var(--foms-bg-card);
  border: 1px solid var(--foms-border);
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.widget-title {
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--foms-blue-primary);
  font-size: 1.08rem;
  color: var(--foms-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.9rem;
}

.search-form input[type="submit"],
.search-form button {
  background-color: var(--foms-blue-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 9px 15px;
  font-weight: 700;
  cursor: pointer;
}

.widget ul {
  margin: 0;
  padding-left: 18px;
}

.widget li {
  margin-bottom: 9px;
  font-size: 0.92rem;
}

.support-box {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
  border: 1px solid #c8ddf2;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.support-btn-visual {
  display: inline-block;
  background: linear-gradient(180deg, #ffc439 0%, #f2ba36 100%);
  color: #003087 !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid #d99f26;
  margin: 10px 0;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.support-btn-visual:hover {
  background: #f5b82e;
}

.archive-pagination {
  margin: 28px 0;
}

.archive-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-pagination li a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #ffffff;
  border: 1px solid var(--foms-border);
  border-radius: 4px;
  color: var(--foms-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.archive-pagination li.active a,
.archive-pagination li a:hover {
  background-color: var(--foms-blue-primary);
  color: #ffffff;
  border-color: var(--foms-blue-primary);
}

.footer-widgets {
  background-color: var(--foms-blue-dark);
  color: #d9e6f2;
  padding: 40px 0 32px 0;
  border-top: 4px solid var(--foms-blue-primary);
}

.footer-widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.footer-widget-col h4 {
  color: var(--foms-gold-accent);
  margin: 0 0 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.footer-widget-col p,
.footer-widget-col li {
  font-size: 0.88rem;
  color: #d9e6f2;
  line-height: 1.6;
}

.footer-widget-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-col li {
  margin-bottom: 7px;
}

.footer-widget-col a {
  color: #ffffff;
}

.site-footer {
  background-color: var(--foms-blue-deeper);
  color: #9fb3c8;
  padding: 20px 0;
  font-size: 0.84rem;
  text-align: center;
}

.site-footer a {
  color: var(--foms-gold-accent);
}

.newsletter-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.month-card {
  background: #ffffff;
  border: 1px solid var(--foms-border);
  border-top: 4px solid var(--foms-blue-primary);
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.month-card .month-tag {
  display: inline-block;
  background-color: #e6f2ff;
  color: var(--foms-blue-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.month-card h4 {
  margin: 0 0 10px 0;
  color: var(--foms-blue-dark);
  font-size: 1.08rem;
}

.month-card blockquote {
  margin: 0 0 12px 0;
  padding: 10px 12px;
  background-color: #f8fafc;
  border-left: 3px solid var(--foms-gold-accent);
  font-style: italic;
  font-size: 0.88rem;
  color: #334155;
}

@media (max-width: 900px) {
  .content-sidebar-wrap,
  .slide-item.active {
    grid-template-columns: 1fr;
  }
  .alignright {
    float: none;
    margin: 12px 0;
    max-width: 100%;
  }
}
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 22px 0;
}
.newsletter-card {
  background: #f9fbfd;
  border: 1px solid #d8e3ef;
  border-radius: 6px;
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.newsletter-card img.issue-cover {
  width: 118px;
  min-width: 118px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #c5d4e5;
  box-shadow: 0 2px 6px rgba(16,42,67,0.1);
}
.newsletter-card-body {
  flex: 1;
}
.newsletter-card-body h4 {
  margin: 0 0 6px 0;
  color: #164f82;
  font-size: 1.05rem;
}
.newsletter-card-body blockquote {
  margin: 8px 0;
  padding: 8px 12px;
  background: #eef5fc;
  border-left: 3px solid #2b82c9;
  font-size: 0.87rem;
  color: #1f354d;
}
.spread-preview-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 24px 0;
}
.spread-preview-row figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid #d8e3ef;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}
.spread-preview-row figcaption {
  font-size: 0.8rem;
  color: #52637a;
  margin-top: 6px;
}
.membership-slip {
  border: 2px dashed #1e66a7;
  background: #f4f9fd;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 22px 0;
}
@media (max-width: 768px) {
  .newsletter-grid,
  .spread-preview-row {
    grid-template-columns: 1fr;
  }
  .newsletter-card {
    flex-direction: column;
  }
}

.home-slider .slide-image img {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  display: block;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.newsletter-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #d8e3ef;
  border-radius: 6px;
  padding: 16px;
}
.newsletter-card .issue-cover {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  background: #f4f7fb;
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid #e2eaf3;
}
.newsletter-card-body h4 {
  margin-top: 0;
  margin-bottom: 8px;
}
.newsletter-card-body blockquote {
  margin: 0 0 10px 0;
  padding: 10px 12px;
  font-size: 0.86rem;
}

.home-slider .slide {
  display: none;
}
.home-slider .slide.active {
  display: block;
}
