/*
Theme Name: Snow Day Minimal
Theme URI: https://example.com/snow-day-minimal
Author: Antigravity
Author URI: https://example.com
Description: A stark white, minimalist theme optimized for the Snow Day Calculator and high AdSense performance. Inspired by ProtonReader.
Version: 1.0.0
Tags: minimal, white, fast, readibility
Text Domain: snow-day-minimal
*/

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eaeaea;
  padding: 24px 0;
  margin-bottom: 48px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  /* Allow header to scan much wider than reading content */
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.main-navigation a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.1s;
}

.main-navigation a:hover {
  color: #111;
}

.main-navigation .nav-button {
  background-color: #3b82f6;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.main-navigation .nav-button:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.home .entry-header {
  display: none !important;
}

/* Typography & Content */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
  margin-top: 2em;
  margin-bottom: 0.75em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: 40px;
  margin-top: 0;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
  font-size: 18px;
  color: #333;
}

a {
  color: #0056b3;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 86, 179, 0.3);
  transition: border-color 0.1s;
}

a:hover {
  border-color: #0056b3;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Posts / Pages */
article {
  margin-bottom: 64px;
}

.entry-header {
  margin-bottom: 32px;
}

.entry-title {
  margin: 0;
}

.entry-meta {
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid #eaeaea;
  padding: 48px 0;
  margin-top: 80px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer-navigation ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-navigation a {
  color: #777;
  text-decoration: none;
  border-bottom: none;
  font-weight: 500;
}

.footer-navigation a:hover {
  color: #111;
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    gap: 16px;
  }
}

/* Homepage Grid Layouts */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0 48px;
}

.factor-card {
  background: #f0f9ff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.factor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.factor-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #111;
  font-size: 20px;
}

.factor-card p {
  margin-bottom: 0;
  font-size: 16px;
  color: #555;
}

/* Glassmorphism Feature Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.trust-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: #3b82f6;
}

.trust-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  color: #111;
}

.trust-card p {
  color: #555;
  font-size: 15px;
  margin-bottom: 0;
}

/* Vertical Timeline */
.timeline-section {
  max-width: 600px;
  margin: 64px auto;
  padding: 0 24px;
}

.timeline {
  position: relative;
  border-left: 2px solid #e2e8f0;
  margin-left: 16px;
  padding-left: 32px;
}

.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-step h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #111;
  font-size: 18px;
}

.timeline-step p {
  color: #555;
  font-size: 15px;
  margin: 0;
}

/* Interactive Accordion FAQ */
.faq-section {
  max-width: 800px;
  margin: 64px auto;
}

.accordion-item {
  border-bottom: 1px solid #eaeaea;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.accordion-button:hover {
  color: #3b82f6;
}

.accordion-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: #3b82f6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before {
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 16px;
  transition: transform 0.3s ease;
}

.accordion-button[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-inner {
  padding-bottom: 24px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Blog Feed Grid */
.blog-feed-section {
  margin: 80px 0;
}

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

.blog-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.blog-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3b82f6;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: #111;
  text-decoration: none;
  border: none;
}

.blog-card h3 a:hover {
  color: #3b82f6;
}

.blog-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  border: none;
  margin-top: auto;
}

.blog-card .read-more::after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.2s;
}

.blog-card .read-more:hover::after {
  transform: translateX(4px);
}

/* EEAT Section */
.eeat-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  background: #f8fafc;
  padding: 48px;
  border-radius: 24px;
  margin: 80px 0;
}

@media (max-width: 768px) {
  .eeat-section {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.eeat-content h2 {
  margin-top: 0;
}

.eeat-locations {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.eeat-locations h3 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 12px;
}

.eeat-locations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eeat-locations li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #555;
  font-size: 15px;
}

.eeat-locations li:last-child {
  border-bottom: none;
}

/* --- Internal Linking Architecture Styles --- */

/* Breadcrumbs */
.sdm-breadcrumbs {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

.sdm-breadcrumbs a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sdm-breadcrumbs a:hover {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.sdm-breadcrumbs .separator {
  margin: 0 8px;
  color: #ccc;
}

/* Related Posts Grid */
.related-posts-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #eaeaea;
}

.related-posts-section h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.related-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.related-card h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.related-card h4 a {
  color: #111;
  border-bottom: none;
}

.related-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Mega Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  text-align: left;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-column h4 {
  color: #111;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  border: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #3b82f6;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 14px;
}

/* Sitemap Shortcode Styles */
.sdm-sitemap h3 {
  margin-top: 32px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.sdm-sitemap ul {
  list-style-type: square;
  padding-left: 24px;
}

.sdm-sitemap li {
  margin-bottom: 8px;
}

/* Glassmorphism Dropdown Menu */
.main-navigation li {
  position: relative;
}

.main-navigation ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.main-navigation li:hover>ul.sub-menu,
.main-navigation li:focus-within>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.main-navigation ul.sub-menu li {
  width: 100%;
}

.main-navigation ul.sub-menu a {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  border-bottom: none;
}

.main-navigation ul.sub-menu a:hover {
  background: rgba(59, 130, 246, 0.05);
  /* very subtle blue tint on hover */
  color: #3b82f6;
  /* premium blue brand color */
}

/* Ensure the main nav links display properly */
.main-navigation>ul>li {
  display: flex;
  align-items: center;
}

/* --- Contact Form Glassmorphism Styling --- */
.sdm-glass-form-wrapper {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08);
  border-radius: 16px;
  padding: 40px;
  text-align: left;
}

.sdm-contact-form .form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.sdm-contact-form .form-group {
  flex: 1;
  margin-bottom: 24px;
}

.sdm-contact-form .form-row .form-group {
  margin-bottom: 0;
}

.sdm-contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.sdm-contact-form input[type="text"],
.sdm-contact-form input[type="email"],
.sdm-contact-form select,
.sdm-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  color: #111;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sdm-contact-form input:focus,
.sdm-contact-form select:focus,
.sdm-contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: #ffffff;
}

.sdm-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.sdm-contact-form .submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .sdm-contact-form .form-row {
    flex-direction: column;
    gap: 24px;
  }
}