/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #1d2e38;
  background: #f9f9f7;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: #17496C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #0e3048;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #082239;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.375rem;
  line-height: 1.15;
  margin-top: 8px;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.33rem;
}
h4 {
  font-size: 1.12rem;
}
p {
  margin-bottom: 16px;
}
.text-section p:not(:last-child),
.text-section ul:not(:last-child),
.text-section ol:not(:last-child){
  margin-bottom: 20px;
}
.text-section ul {
  margin-bottom: 16px;
}
/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(23,73,108,0.07);
  padding: 0;
  border-bottom: 1px solid #e1e2e6;
  position: relative;
  z-index: 21;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
header .container {
  padding-top: 0;
  padding-bottom: 0;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #17496C;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #082239;
  border-bottom: 2px solid #F4D35E;
  background: none;
}
.cta-button {
  display: inline-block;
  background: #17496C;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 4px 14px rgba(23,73,108,0.08);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-decoration: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #0e3048;
  color: #F4D35E;
  box-shadow: 0 2px 12px rgba(23,73,108,0.15);
  outline: none;
}
.secondary-link {
  margin-top: 12px;
  display: inline-block;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #17496C;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.secondary-link:hover,
.secondary-link:focus {
  color: #b2913d;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #17496C;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  display: none;
  margin-left: 10px;
  transition: color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  color: #b2913d;
  outline: none;
}
/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,73,108,0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,1.15,.6,1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F4D35E;
  font-size: 2rem;
  margin: 24px 0 0 24px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: #fffad1;
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px 0 48px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F4D35E;
  border-bottom: 2px solid #F4D35E;
  background: none;
}
/* HERO SECTION */
.hero {
  background: #17496C;
  color: #fff;
  padding: 60px 0 56px 0;
  margin-bottom: 60px;
  position: relative;
  box-shadow: 0 7px 36px rgba(23,73,108,0.02);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}
.hero p {
  color: #f7f7f9;
  font-size: 1.07rem;
  margin-bottom: 28px;
}
.hero .cta-button {
  margin-left: 0;
}
/* Section Spacing / Content Structure */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* FLEXBOX MANDATORIES */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 20px 0 20px 0;
}
.feature-grid {
  gap: 28px;
}
.card-container, .card-grid, .content-grid {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 22px rgba(23,73,108,0.06);
  margin-bottom: 20px;
  padding: 32px 28px 28px 28px;
  position: relative;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(23,73,108,0.055);
  padding: 28px 22px 22px 22px;
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1px solid #e7e2d0;
}
.feature-box img {
  height: 40px;
  margin-bottom: 10px;
}
.feature-box:hover,
.feature-box:focus-within {
  box-shadow: 0 5px 34px rgba(23,73,108,0.13);
  transform: translateY(-7px) scale(1.025);
}
.story-highlight-list, .news-article-list, .test-report-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.story-item, .news-article, .test-card {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(23,73,108,0.04);
  padding: 23px 20px 20px 20px;
  min-width: 250px;
  max-width: 420px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #efeada;
  transition: box-shadow 0.18s, transform 0.13s;
}
.story-item:hover,
.news-article:hover,
.test-card:hover {
  box-shadow: 0 7px 30px rgba(23,73,108,0.10);
  transform: translateY(-4px) scale(1.014);
}
/* Article Preview List */
.article-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}
.article-preview-list li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(23,73,108,0.09);
  padding: 18px 18px 15px 18px;
  margin-bottom: 20px;
}
.article-preview-list h3 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}
.article-preview-list a {
  font-weight: 600;
  color: #17496C;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.article-preview-list a:hover {
  color: #978034;
}
.highlighted-review {
  background: #f5efe0;
  color: #17344d;
  border-left: 4px solid #F4D35E;
  padding: 18px 20px;
  border-radius: 7px;
  margin-bottom: 18px;
  margin-top: 10px;
}
.highlighted-review h4 {
  font-size: 1.08rem;
  color: #99810b;
  margin-bottom: 7px;
}
/* Text Section */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
/* Tabs */
.test-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.test-category-tabs button {
  background: #fff;
  color: #17496C;
  border: 1px solid #ddd5bc;
  border-radius: 5px;
  padding: 9px 22px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.test-category-tabs button:hover,
.test-category-tabs button:focus {
  background: #F4D35E;
  color: #082239;
  border-color: #F4D35E;
}
.filter-sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.filter-sort-options label {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #333;
}
.filter-sort-options select {
  border: 1px solid #d3c089;
  border-radius: 5px;
  padding: 5px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: #1d2e38;
  transition: border-color 0.16s;
  background: #fff;
}
.filter-sort-options select:focus {
  border-color: #F4D35E;
}
/* FAQ / ACCORDION / QUICK-TIPS */
.faq-list, .quick-tips-accordion, .how-to-articles {
  margin-top: 18px;
  margin-bottom: 22px;
}
.faq-list ul, .quick-tips-accordion ul {
  margin-top: 9px;
}
.faq-list li, .quick-tips-accordion li, .how-to-articles li {
  padding-left: 0;
}
.guide-list, .guide-categories {
  list-style: disc;
  margin-bottom: 20px;
}
.guide-list li strong {
  color: #17496C;
  font-weight: 600;
}
.guide-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.guide-categories li {
  background: #f1e8d6;
  color: #17344d;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 1rem;
}
/* Testimonial Section */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 5px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(23,73,108,0.12);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 240px;
  max-width: 380px;
  font-size: 1rem;
  margin-bottom: 20px;
  border-left: 4px solid #F4D35E;
  transition: box-shadow 0.18s, border-color 0.18s;
  color: #243949;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 36px rgba(23,73,108,0.19);
  border-left: 4px solid #17496C;
}
.testimonial-info {
  font-size: 0.98rem;
  color: #7d6e51;
  display: flex;
  align-items: center;
  gap: 7px;
}
.testimonial-info span {
  color: #F4D35E;
  font-size: 1.08em;
  margin-left: 4px;
  vertical-align: middle;
}
/* Reader Story CTA etc. */
.reader-story-submission-cta {
  margin-top: 28px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: #f6f2e6;
  border-left: 5px solid #17496C;
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 1.09rem;
}
.reader-story-submission-cta a.cta-button {
  margin-top: 0;
}
.newsletter-signup {
  background: #17344d;
  color: #fff;
  border-radius: 9px;
  padding: 18px 22px 18px 22px;
  margin-top: 30px;
  text-align: center;
  font-size: 1.07rem;
}
.newsletter-signup .cta-button {
  margin-top: 12px;
}
.trending-topics, .story-categories {
  margin-top: 18px;
}
.trending-topics ul, .story-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.trending-topics li, .story-categories li {
  background: #fff7e1;
  color: #b59532;
  border-radius: 5px;
  padding: 7px 16px;
  font-size: 0.98rem;
  margin-bottom: 0 !important;
}
/* Footer */
footer {
  background: #17496C;
  color: #fff;
  padding: 52px 0 24px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.footer-col {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col nav a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 0.98rem;
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-col nav a:hover,
.footer-col nav a:focus {
  color: #F4D35E;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li {
  color: #ececec;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
}
.footer-col ul img {
  width: 18px;
  height: 18px;
  opacity: 0.82;
}
footer a {
  color: #fff;
}
footer img[alt="Spark Review"] {
  margin-bottom: 11px;
}
/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffce7;
  color: #082239;
  z-index: 3000;
  box-shadow: 0 -6px 20px rgba(23,73,108,0.07);
  border-top: 1px solid #efeada;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 24px 26px 24px;
  font-size: 1rem;
  width: 100vw;
  max-width: 100vw;
  animation: cookieDropIn 0.35s ease;
}
@keyframes cookieDropIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner-button,
.cookie-banner-settings, .cookie-banner-reject {
  border: none;
  border-radius: 6px;
  padding: 10px 23px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.20s;
  margin-bottom: 0;
}
.cookie-banner-button {
  background: #17496C;
  color: #fff;
}
.cookie-banner-button:hover,
.cookie-banner-button:focus {
  background: #0e3048;
  color: #F4D35E;
}
.cookie-banner-reject {
  background: #f4d35e;
  color: #17496C;
}
.cookie-banner-reject:hover,
.cookie-banner-reject:focus {
  background: #17496C;
  color: #fff;
}
.cookie-banner-settings {
  background: transparent;
  color: #17496C;
  border: 1px solid #17496C;
}
.cookie-banner-settings:hover,
.cookie-banner-settings:focus {
  background: #17496C;
  color: #fff;
}
/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 4000;
  background: #fff;
  color: #082239;
  border-radius: 12px;
  box-shadow: 0 12px 44px rgba(23,73,108,0.14);
  padding: 38px 32px 28px 32px;
  min-width: 312px;
  width: 93vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  opacity: 1;
  pointer-events: all;
  animation: fadeInCookie 0.36s cubic-bezier(.48,1.72,.77,1.1);
}
@keyframes fadeInCookie {
  from { transform:translate(-50%,-60%) scale(0.88); opacity:0; }
  to { transform:translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin: 0 0 12px 0;
  font-size: 1.18rem;
  color: #17496C;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #17344d;
}
.cookie-category input[type="checkbox"] {
  accent-color: #17496C;
  width: 20px;
  height: 20px;
}
.cookie-category .essential {
  font-style: italic;
  color: #b2a36a;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #17496C;
  font-size: 1.25rem;
  align-self: flex-end;
  cursor: pointer;
  position: absolute;
  top: 23px;
  right: 23px;
}
.cookie-modal-close:focus {
  color: #b2913d;
}
.cookie-modal-action {
  border-radius: 6px;
  border: none;
  padding: 10px 21px;
  background: #17496C;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.cookie-modal-action:hover,
.cookie-modal-action:focus {
  background: #082239;
  color: #F4D35E;
}
/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-100 { width: 100%; }
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 16px; }
.mb-3 { margin-bottom: 16px; }
/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .feature-grid, .card-container, .content-grid, .footer .container {
    gap: 16px;
  }
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 870px) {
  .header-flex, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    height: auto;
  }
  .footer-col {
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-flex nav,
  .header-flex > .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-container, .card-grid, .content-grid,
  .story-highlight-list, .news-article-list, .test-report-cards, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  section {
    padding: 23px 5px;
    margin-bottom: 34px;
  }
  .card, .feature-box, .story-item, .news-article, .test-card, .article-preview-list li, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px 16px 12px;
  }
  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 11px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-size: 0.98rem;
    padding: 22px 10px;
  }
}
/* FOCUS OUTLINES FOR ACCESSIBILITY */
a:focus, button:focus, input:focus {
  outline: 2px solid #17496C;
  outline-offset: 2px;
}
/* Transitions & Effects */
.card, .feature-box, .article-preview-list li, .testimonial-card, .story-item, .news-article, .test-card {
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
/* Hide visually but keep accessible */
.sr-only {
  position: absolute!important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
/* END OF FILE */
