
.month-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.month-item {
  padding: 5px 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: small;
}

/* Style for your highlighted months */
.month-item.highlighted {
  background-color: #ffdd00;
  font-weight: bold;
  border-color: #000;
}


.wa-container {
  margin: 2rem 0;
  font-family: inherit;
}
.wa-title {
  margin-bottom: 1rem;
  text-align: center;
}
.wa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.wa-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.wa-desc {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  text-align: center;
  transition: color 0.3s ease;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25D366; /* Official WhatsApp Green */
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.wa-btn:hover {
  background-color: #128C7E;
}
.wa-icon {
  flex-shrink: 0;
}

/* ==========================================================================
   Dark Mode Variants (Auto System & Forced Classes)
   ========================================================================== */

/* 1. Automatically matches user's system dark mode preference */
@media (prefers-color-scheme: dark) {
  .wa-card {
    background-color: #1e293b;
    border-color: #334155;
  }
  .wa-desc {
    color: #cbd5e1;
  }
}

/* 2. Matches forced shortcode parameter (mode="dark") or standard theme dark-class setups */
.wa-container.dark .wa-card, 
.dark .wa-container .wa-card {
  background-color: #1e293b;
  border-color: #334155;
}
.wa-container.dark .wa-desc, 
.dark .wa-container .wa-desc {
  color: #cbd5e1;
}



/* Hide the mobile TOC by default on desktops and tablets */
.mobile-only-toc {
    display: none !important;
}

/* Show the mobile TOC ONLY on screens narrower than 991px */
@media screen and (max-width: 991px) {
    .mobile-only-toc {
        display: block !important;
        margin: 2rem 0;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.03); /* Light background to make it stand out */
        border-radius: 8px;
    }

}


.sbb-card {
  border: 1px solid #e0e0e0;
  border-left: 5px solid #eb0000;
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.sbb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.sbb-badge {
  background: #eb0000;
  color: #fff;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
}
.sbb-time {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}
.sbb-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.sbb-point {
  display: flex;
  flex-direction: column;
}

.sbb-label {
  font-size: 0.75rem;
  color: #77ns;
  text-transform: uppercase;
}

.sbb-platform {
  font-size: 0.8rem;
  color: #555;
  margin-top: 2px;
}
.sbb-arrow {
  font-size: 1.2rem;
  color: #999;
}
.sbb-footer {
  border-top: 1px solid #eee;
  padding-top: 8px;
  text-align: right;
  font-size: 0.9rem;
}
.sbb-footer a {
  color: #eb0000;
  text-decoration: none;
  font-weight: 600;
}
.sbb-footer a:hover {
  text-decoration: underline;
}



.contact-card-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-family: system-ui, -apple-system, sans-serif;
  margin: 8px 0;
  flex-wrap: wrap; /* Key property for cross-device responsiveness */
}

.contact-name {
  font-weight: 700;
  color: #1a202c;
  font-size: 1rem;
}

.contact-divider {
  color: #cbd5e1;
  font-size: 0.9rem;
  user-select: none;
}

.contact-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.contact-link:hover {
  color: #0044b3;
  text-decoration: underline;
}

.contact-text {
  color: #4a5568;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.contact-icon {
  margin-right: 5px;
  font-size: 1rem;
}

/* Free text formatting styling */
.contact-free-text {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.contact-free-text p {
  margin: 0; /* Prevents default paragraph spacing from adding huge gaps */
}

/* Responsiveness for mobile screen viewports */
@media (max-width: 768px) {
  .contact-divider {
    display: none;
  }
  .contact-card-wrapper {
    display: flex;
    width: 100%;
    max-width: 450px;
  }
  .contact-card-horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}



.donation-card {
  max-width: 550px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-family: system-ui, sans-serif;
  margin: 20px 0;
}

.donation-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.donation-icon {
  font-size: 2rem;
}

.donation-title {
  margin: 0;
  font-size: 1.15rem;
  color: #1a202c;
  font-weight: 700;
}

.donation-subtitle {
  margin: 2px 0 0 0;
  font-size: 0.9rem;
  color: #718096;
}

.donation-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donation-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
}

.donation-label {
  color: #4a5568;
  font-weight: 500;
  min-width: 110px;
}

.donation-value {
  color: #1a202c;
  text-align: right;
  font-weight: 600;
}

.iban-row {
  align-items: center;
  margin-top: 4px;
}

.iban-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f7fafc;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

#iban-text {
  font-family: monospace;
  font-size: 0.9rem;
  color: #2d3748;
  font-weight: bold;
}

.copy-btn {
  background-color: #3182ce;
  color: white;
  border: none;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-btn:hover {
  background-color: #2b6cb0;
}

.copy-btn.copied {
  background-color: #38a169;
}




.twint-box {
  max-width: 360px;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  font-family: system-ui, -apple-system, sans-serif;
  margin: 20px 0;
  text-align: center;
}

.twint-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

/* Simulated TWINT Branding Badge */
.twint-logo-badge {
  background-color: #002d62; /* TWINT Dark Blue */
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.twint-logo-badge .twint-logo-t {
  color: #6edd11; /* TWINT Bright Green */
}

.twint-title {
  margin: 0;
  font-size: 1.1rem;
  color: #1a202c;
  font-weight: 700;
}

.twint-subtitle {
  margin: 2px 0 0 0;
  font-size: 0.85rem;
  color: #4a5568;
}

.twint-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 10px auto;
  display: block;
  border: 1px solid #edf2f7;
  padding: 6px;
  border-radius: 8px;
}

.twint-instruction {
  font-size: 0.85rem;
  color: #718096;
  margin: 0 0 20px 0;
}

.twint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #6edd11; /* TWINT Green */
  color: #002d62 !important; /* TWINT Blue text for strong contrast */
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  transition: transform 0.1s ease, background-color 0.2s;
  box-shadow: 0 4px 6px rgba(110, 221, 17, 0.2);
}

.twint-btn:hover {
  background-color: #5ec10e;
  transform: translateY(-1px);
}

/* Responsive Logic: Hide QR code on mobile, hide app button on large screens if desired */
@media (min-width: 768px) {
  .twint-action-section {
    display: none; /* Hides app button on desktop since they can't open mobile apps */
  }
}

@media (max-width: 767px) {
  .twint-qr-section {
    display: none; /* Hides QR image on mobile since they can't scan their own screen */
  }
}



/* Force map container display */
  #swiss-osm-map {
    height: 500px !important;
  }
  /* Prevent Hugo theme styles from hiding Leaflet graphics */
  #swiss-osm-map img.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
  }
  .leaflet-container {
    background: #f4f4f4 !important;
  }