/* CSS RESET + NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f8f8 0%, #f6c700 100%);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #243447;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; background: none; border: none; }

/* GLOBAL BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #243447;
}
h1 { font-size: 2.3rem; margin-bottom: 22px; line-height: 1.15; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, blockquote, em, address {
  color: #243447;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong { font-weight: 700; }

/* UTILITY: CONTAINER & RESPONSIVE LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 22px;
  -webkit-box-shadow: 0 2px 16px 0 rgba(36,52,71,0.09);
  box-shadow: 0 2px 16px 0 rgba(36,52,71,0.09);
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .section { padding: 24px 6px; margin-bottom: 32px; border-radius: 14px; }
}

/* MAIN HEADER LAYOUT */
header {
  width: 100%;
  padding-top: 24px;
  background: linear-gradient(90deg, #f6c700 10%, #f8f8f8 70%);
  box-shadow: 0 2px 20px 0 rgba(36, 52, 71, 0.04);
  position: relative;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* MAIN NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  border-radius: 9px;
  transition: background 0.26s, color 0.24s, box-shadow 0.3s;
  color: #243447;
  position: relative;
}
.main-nav > a:not(.cta-primary):hover,
.main-nav > a:not(.cta-primary):focus {
  background: #F6C700;
  color: #243447;
}
.main-nav img {
  height: 42px; width: auto; margin-right: 4px;
  vertical-align: middle;
  display: inline-flex;
}
.cta-primary {
  background: linear-gradient(90deg, #243447 60%, #F6C700 100%);
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(36,52,71,0.11);
  padding: 9px 26px !important;
  margin-left: 8px;
  letter-spacing: 0.015em;
  transition: background 0.24s, box-shadow 0.22s, color 0.13s;
  outline: none;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #243447 30%, #f6c700 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(36,52,71,0.23);
}
.cta-secondary {
  background: #F6C700;
  color: #243447 !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 11px;
  padding: 9px 24px;
  margin-top: 8px;
  margin-bottom: 8px;
  border: none;
  transition: background 0.23s, color 0.17s, box-shadow 0.23s;
  box-shadow: 0 1px 8px rgba(246,199,0,.15);
  letter-spacing: 0.007em;
  font-size: 1rem;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #ffd84a;
  color: #243447 !important;
  box-shadow: 0 2px 16px rgba(36,52,71,0.18);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: #243447;
  background: #FFF;
  border-radius: 8px;
  padding: 4px 12px;
  border: 1px solid #F6C700;
  margin-left: 16px;
  box-shadow: 0 2px 12px rgba(246,199,0,.08);
  transition: background 0.17s;
  z-index: 1011;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F6C700;
  color: #243447;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: linear-gradient(135deg, #243447 82%, #F6C700 100%);
  z-index: 2020;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.7,0,.3,1), opacity 0.33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 20px 0 0;
  background: #F6C700;
  color: #243447;
  font-size: 2.1rem;
  border-radius: 50%;
  border: 2px solid #F6C700;
  padding: 4px 14px;
  box-shadow: 0 2px 6px #0002;
  z-index: 2022;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF;
  color: #243447;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.21s, border 0.28s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6C700;
  border-bottom: 2px solid #F6C700;
}

/* MAIN FOOTER */
footer {
  background: #243447;
  color: #FFF;
  padding: 44px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #F6C700;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.21s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #ffd84a;
}
.contact-details {
  color: #FFF;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 10px;
}
.contact-details a {
  color: #F6C700;
  text-decoration: underline;
}
.copyright {
  color: #ddd;
  font-size: 0.95rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ----------- GRADIENT MODERN DESIGN COMPONENTS ---------- */

/* FLEX PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #FFF; border-radius: 18px; box-shadow: 0 3px 15px rgba(36,52,71,0.08); padding: 24px; transition: box-shadow 0.23s, transform 0.19s; }
.card:hover, .card:focus-within { box-shadow: 0 8px 24px rgba(36,52,71,0.18); transform: translateY(-2px) scale(1.018); }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 280px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(36,52,71,0.13);
  border-left: 4px solid #F6C700;
  color: #243447;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.24s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(36,52,71,0.16);
  border-left: 4px solid #243447;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f8f8f8;
  border-radius: 13px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(36,52,71,0.07);
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 6px 20px rgba(36,52,71,0.13);
}

/* BORROWED GRID-LIKE STRUCTURES but FLEX ONLY */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: linear-gradient(120deg, #F6C70033 0%, #f8f8f8 100%);
  border-radius: 14px;
  padding: 18px 19px 16px 19px;
  box-shadow: 0 2px 13px rgba(246,199,0,0.09);
  flex: 1 1 260px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.17s;
}
.feature-grid li img {
  height: 36px;
  width: 36px;
  margin-bottom: 5px;
}
.feature-grid li strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.10rem;
  margin-bottom: 3px;
}
.feature-grid li div {
  font-size: 1rem;
  color: #243447;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-grid li { min-width: unset; width: 100%; }
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
}

/* ARTICLE CARDS && TEASERS */
.article-teasers, .author-columns-list, .news-cards, .review-cards, .review-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.article-teasers article, .author-columns-list article, .news-cards article, .review-cards > div, .review-teasers article {
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(36,52,71,0.08);
  padding: 22px 18px 16px 18px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.16s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.article-teasers article:hover, .news-cards article:hover, .review-cards > div:hover {
  box-shadow: 0 8px 24px rgba(246,199,0,0.14);
  transform: translateY(-3px) scale(1.01);
}
.article-teasers article a,
.news-cards article a,
.review-cards > div a,
.author-columns-list article a {
  color: #F6C700;
  font-weight: 700;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
.article-teasers article a:hover,
.news-cards article a:hover,
.review-cards > div a:hover,
.author-columns-list article a:hover {
  color: #243447;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .article-teasers, .author-columns-list, .news-cards, .review-cards, .review-teasers { flex-direction: column; }
  .article-teasers article, .author-columns-list article, .news-cards article, .review-cards > div, .review-teasers article { min-width: unset; width: 100%; }
}

/* EVENT HIGHLIGHTS / SPOTLIGHTS & LISTS */
.event-highlights, .premiere-highlights, .spotlight-events, .awards-list, .winner-profiles, .song-recommendations, .calendar-overview {
  background: #24344708;
  border-left: 4px solid #F6C700;
  padding: 17px 20px;
  border-radius: 11px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(36,52,71,0.05);
}
.event-highlights h3,
.premiere-highlights h3,
.spotlight-events h3,
.winner-profiles h3, .song-recommendations h3 {
  font-size: 1.1rem; color: #F6C700; margin-bottom: 10px;
}
.event-highlights ul, .song-recommendations ul, .calendar-overview ul, .awards-list ul, .winner-profiles ul {
  padding-left: 14px;
}
.event-highlights ul li, .calendar-overview ul li, .awards-list ul li, .winner-profiles ul li, .song-recommendations ul li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #243447;
}

.news-filters, .review-filters {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.news-filters span, .review-filters span { color: #243447; font-weight: 700; }
.news-filters a, .review-filters a { color: #F6C700; font-weight: 700; transition: color 0.18s; }
.news-filters a:hover, .review-filters a:hover { color: #243447; text-decoration: underline; }

/* BREADCRUMB NAV */
.breadcrumb-nav {
  color: #243447A0;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* NEWSLETTER SIGNUP AREA */
.newsletter-signup-form p {
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.newsletter-signup-form .cta-secondary {
  margin-top: 6px;
}
.social-media-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 7px;
}
.social-media-links span {
  font-weight: 600;
  color: #243447;
  margin-right: 4px;
  font-size: 1.02rem;
}
.social-media-links a img {
  width: 29px; height: 29px;
  border-radius: 7px;
  transition: box-shadow 0.17s, filter 0.17s;
  box-shadow: 0 2px 4px #24344709;
}
.social-media-links a:hover img {
  box-shadow: 0 2px 8px #24344719;
  filter: brightness(1.1) saturate(1.15);
}

/* CORE VALUES/EDITORIAL TEAM, ABOUT */
.mission-statement, .brand-story, .commitment-to-local-scene, .contact-details-teaser, .confirmation-message, .faq-teaser {
  background: #f8f8f8;
  padding: 18px 18px 14px 18px;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(36, 52, 71, 0.06);
  margin-bottom: 16px;
}
.editorial-team-bios ul, .core-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 11px;
}
.editorial-team-bios li, .core-values-list li {
  background: #fff;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 1rem;
  box-shadow: 0 1px 8px #f6c70013;
  margin-bottom: 7px;
  flex: 1 1 200px;
}

/* CONTACT - ADDRESS/PHONE BLOCKS (Kontaktseite) */
.address-block, .phone-email-block, .map-location {
  background: #f8f8f8;
  border-left: 5px solid #F6C700;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  box-shadow: 0 1px 8px #f6c70011;
}
.address-block h2, .phone-email-block h2, .map-location h2 {color: #243447; font-size: 1.08rem; margin-bottom: 7px;}
.address-block p, .phone-email-block p, .map-location p {margin-bottom: 1px;}

/* FAQ & SUPPORT */
.faq-teaser p {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Cookie Consent Banner ------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #243447 60%, #F6C700 100%);
  color: #fff;
  box-shadow: 0 -3px 22px #0003;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 30px 22px 30px;
  z-index: 10020;
  font-size: 1rem;
  transition: transform 0.32s, opacity 0.28s;
}
.cookie-consent-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 18px;
  border: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s;
  margin: 0 3px;
}
.cookie-consent-banner .accept-cookies {
  background: #F6C700;
  color: #243447;
}
.cookie-consent-banner .accept-cookies:hover {
  background: #ffd84a;
  color: #243447;
}
.cookie-consent-banner .reject-cookies {
  background: #FFF;
  color: #243447;
  border: 1px solid #243447;
}
.cookie-consent-banner .reject-cookies:hover {
  background: #243447;
  color: #fff;
}
.cookie-consent-banner .cookie-settings {
  background: #243447;
  color: #fff;
  border: 1px solid #F6C700;
}
.cookie-consent-banner .cookie-settings:hover,
.cookie-consent-banner .cookie-settings:focus {
  background: #F6C700;
  color: #243447;
}
@media (max-width: 750px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
    font-size: 0.97rem;
    gap: 16px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,52,71,0.13);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  max-width: 385px;
  width: 97vw;
  box-shadow: 0 6px 32px rgba(36,52,71,0.21);
  padding: 40px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 10500;
  animation: fadeInScale 0.35s cubic-bezier(.83,0,.17,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.89); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #243447;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 7px 0;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 1rem;
}
.cookie-modal .cookie-category strong {
  font-size: 1.08rem;
  color: #243447;
}
.cookie-modal .switch {
  position: relative;
  width: 36px;
  height: 20px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius: 10px;
  transition: background 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background: #F6C700;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(36,52,71,0.12); 
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-category .always-on {
  background: #bdbdbd;
  color: #fff;
  padding: 2px 12px;
  border-radius: 9px;
  font-size: 0.95rem;
  opacity: 0.85;
}
.cookie-modal .modal-actions {
  margin-top: 13px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 18px;
  border: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s;
  margin: 0 3px;
}
.cookie-modal .save-cookies {
  background: #F6C700;
  color: #243447;
}
.cookie-modal .cancel-cookies {
  background: #243447;
  color: #FFF;
  border: 1px solid #F6C700;
}
.cookie-modal .cancel-cookies:hover { background: #f8f8f8; color: #243447; }

@media (max-width: 540px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 8px 18px 8px;
  }
}

/* -------- MICRO INTERACTIONS --------- */
a, button, .cta-primary, .cta-secondary {
  transition: color 0.20s, background 0.20s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  box-shadow: 0 0 0 2px #F6C70066;
}
::-webkit-input-placeholder { color: #bdbdbd; }
::-moz-placeholder { color: #bdbdbd; }
:-ms-input-placeholder { color: #bdbdbd; }
::placeholder { color: #bdbdbd; }

/* ----------- SPACING ADJUSTMENTS + RESPONSIVE ----------- */
.card:not(:last-child),
.feature-grid li:not(:last-child),
.article-teasers article:not(:last-child),
.event-highlights:not(:last-child),
.spotlight-events:not(:last-child),
.awards-list:not(:last-child),
.testimonial-card:not(:last-child),
.feature-item:not(:last-child),
.editorial-team-bios li:not(:last-child),
.review-cards > div:not(:last-child),
.author-columns-list article:not(:last-child) {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* Ensure no overlap or crowding */
main, section, .container, .content-wrapper {
  margin-bottom: 0;
  position: relative;
}

/* Ensure all elements have at least 20px margin/gap between them in flex layouts */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* Fix excessive side padding on tiny screens */
@media (max-width: 540px) {
  .section {
    padding: 13px 3px;
  }
}

/* Responsive typography */
@media (max-width: 530px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .cta-primary, .cta-secondary, .footer-nav a, .main-nav > a { font-size: 0.95rem; }
  .mobile-nav a { font-size: 1.04rem; }
}

/* Miscellaneous: Callout for errors etc. */
.callout-error, .callout-info, .callout-success {
  padding: 16px 20px;
  border-radius: 9px;
  margin: 11px 0;
  font-size: 1rem;
}
.callout-error { background: #fbeaea; color: #b41717; border-left: 4px solid #b41717; }
.callout-info { background: #f8f8fa; color: #243447; border-left: 4px solid #243447; }
.callout-success { background: #eaffea; color: #187045; border-left: 4px solid #187045; }

/* Hide visually but accessible for screen readers */
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute;
  width: 1px;
}

/* ------- END OF STYLES ------- */