:root {
  --primary: #4B2D9F;
  --primary-dark: #3a2280;
  --primary-light: #6b4fc4;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --sage: #8a9a7b;
  --sage-light: #c5d4b8;
  --text-dark: #2c2416;
  --text-muted: #4a4035;
  --white: #ffffff;
  --section-alt: #ede4f7;
  --section-warm: #f5ede3;
  --section-green: #e8f0e4;
  --shadow: 0 4px 20px rgba(75, 45, 159, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", Palatino, serif;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.disclaimer-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--sage-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-link img {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  max-width: 160px;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, var(--section-alt) 0%, var(--cream) 100%);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.hero-badge i {
  color: var(--sage-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-alt { background: var(--section-alt); }
.section-warm { background: var(--section-warm); }
.section-green { background: var(--section-green); }
.section-primary { background: var(--primary); color: var(--white); }
.section-primary h2,
.section-primary h3 { color: var(--white); }
.section-primary p,
.section-primary li { color: var(--cream); }
.section-primary a { color: var(--sage-light); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-primary .section-header p {
  color: var(--cream);
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-heading i {
  color: var(--primary);
  font-size: 1.5rem;
}

.section-primary .icon-heading i {
  color: var(--sage-light);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col-reverse {
  direction: rtl;
}

.two-col-reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--sage-light);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--sage-light);
}

.card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
}

.card--light {
  background: var(--cream);
}

.numbered-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: item;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  position: relative;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
}

.check-list li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--primary-light);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--cream);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid var(--sage-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.events-table th,
.events-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--sage-light);
}

.events-table th {
  background: var(--primary);
  color: var(--white);
}

.events-table tr:last-child td {
  border-bottom: none;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.highlight-box h3 { color: var(--white); }
.highlight-box p { color: var(--cream); margin-bottom: 0; }

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--sage-light);
}

.stat-item i {
  font-size: 1.75rem;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.chronotype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.chronotype-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--sage-light);
  transition: border-color var(--transition), transform var(--transition);
}

.chronotype-card--light {
  background: var(--cream);
}

.chronotype-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.chronotype-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.chronotype-card h3 {
  color: var(--primary-dark);
}

.chronotype-card p {
  color: var(--text-muted);
}

.section-primary .chronotype-card h3,
.section-primary .card h3 {
  color: var(--primary-dark);
}

.section-primary .chronotype-card p,
.section-primary .card p {
  color: var(--text-muted);
}

.quiz-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--sage-light);
  max-width: 700px;
  margin: 0 auto;
}

.quiz-question {
  margin-bottom: 1.5rem;
}

.quiz-question h4 {
  margin-bottom: 0.75rem;
}

.quiz-options label {
  display: block;
  padding: 0.65rem 1rem;
  margin-bottom: 0.4rem;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--text-dark);
}

.quiz-options label:hover {
  background: var(--section-alt);
}

.quiz-options input {
  margin-right: 0.5rem;
  accent-color: var(--primary);
}

.quiz-result {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--section-alt);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.quiz-result.visible {
  display: block;
}

.quiz-result i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.interactive-tool {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--sage-light);
  max-width: 820px;
  margin: 0 auto;
}

.interactive-tool .tool-intro {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.tool-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.tool-output {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--section-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.tool-output.visible {
  display: block;
}

.tool-output h3 {
  margin-bottom: 0.75rem;
}

.tool-output-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.tool-output-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--sage-light);
}

.tool-output-item i {
  font-size: 1.5rem;
  color: var(--primary);
  display: block;
  margin-bottom: 0.4rem;
}

.tool-output-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.checklist-tool {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.checklist-tool label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-dark);
  transition: background var(--transition);
}

.checklist-tool label:hover {
  background: var(--section-alt);
}

.checklist-tool input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.score-bar {
  height: 12px;
  background: var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  margin: 1rem 0;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 6px;
  transition: width 0.5s ease;
  width: 0;
}

.routine-timeline {
  margin-top: 1rem;
}

.routine-step {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--sage-light);
}

.routine-step:last-child {
  border-bottom: none;
}

.routine-step-time {
  font-weight: bold;
  color: var(--primary);
  min-width: 4.5rem;
  flex-shrink: 0;
}

.routine-toggle label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--text-dark);
}

.routine-toggle input {
  accent-color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--sage-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--sage-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--text-dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  margin-top: 0.35rem;
  accent-color: var(--primary);
  width: auto;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--sage-light);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.map-consent-placeholder {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--cream);
}

.map-consent-placeholder p {
  max-width: 36rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-consent-placeholder .bi {
  font-size: 1.5rem;
  color: var(--primary);
}

.footer-bottom a {
  color: var(--sage-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer {
  background: var(--primary-dark);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--sage-light);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer li {
  color: var(--cream);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer a {
  color: var(--sage-light);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform var(--transition);
  border-top: 3px solid var(--primary);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-buttons .btn-reject {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.cookie-buttons .btn-reject:hover {
  background: var(--section-alt);
  color: var(--primary-dark);
}

.cookie-buttons .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-reject {
  flex: 1 1 140px;
  justify-content: center;
}

.cookie-settings {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sage-light);
}

.cookie-settings.visible {
  display: block;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cookie-toggle label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
}

.success-page {
  text-align: center;
  padding: 5rem 1.25rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-page i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tag-list li {
  background: var(--section-alt);
  color: var(--primary-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--primary-light);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-feature-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

@media (max-width: 900px) {
  .hero-split,
  .two-col,
  .contact-grid,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .two-col-reverse {
    direction: ltr;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
    order: 2;
  }

  .hero-image {
    order: 1;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--sage-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--cream-dark);
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .site-header {
    position: relative;
  }

  section {
    padding: 2.5rem 0;
  }

  .events-table {
    font-size: 0.85rem;
  }

  .events-table th,
  .events-table td {
    padding: 0.6rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 0.8rem;
    max-width: 120px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .disclaimer-bar {
    font-size: 0.72rem;
  }

  .hero-content {
    padding: 1.75rem 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .quiz-container {
    padding: 1.25rem;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.75rem;
  }

  .header-inner {
    padding: 0.5rem 0.75rem;
  }

  .logo-link img {
    width: 36px;
    height: 36px;
  }
}
