/* CoffeeSprout Theme Styles - Based on WordPress Theme with Tailwind */
/* WordPress Block Library Styles */
.wp-block-button__link {
  align-content: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  text-align: center;
  width: 100%;
  word-break: break-word;
  border-radius: 9999px;
  box-shadow: none;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
}

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-white: #fff;
  --color-offwhite: #f9fafb;
  --color-lightgray: #faf8f5;
  --color-black: #4b5563;
  --color-green: #369391;
  --color-primary: #414066;
  --color-primary-darker: #343352;
  --border-radius: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--color-black);
  line-height: 28px;
  font-size: 1.25rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2rem, 0.75rem + 4vw, 3rem);
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 2rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

p {
  margin-bottom: 1.75rem;
  line-height: 1.75rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-darker);
}

a.active {
  color: var(--color-green);
}

/* Utility Classes */
.text-purple-550 {
  color: var(--color-primary);
}

.bg-green-550 {
  background-color: var(--color-green);
}

.bg-beige-550 {
  background-color: var(--color-lightgray);
}

.bg-purple-550 {
  background-color: var(--color-primary);
}

/* Tailwind-like utility classes */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

/* Container */
.container {
  max-width: 1280px; /* max-w-screen-xl */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-container {
  max-width: 1280px; /* max-w-screen-xl */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero .section-container {
  max-width: 1024px; /* Match production hero container */
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .section-container {
    padding: 0 1rem;
  }
}

/* Header */
.header {
  background: var(--color-primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.3rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
}

@media (min-width: 1280px) {
  .nav-container {
    padding: 0 4rem;
  }
}

.brand {
  display: flex;
  align-items: center;
}

.brand img,
.brand svg {
  width: 13rem;
  height: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  padding: 0 1rem;
}

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: white;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.75rem;
}

.language-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.language-option img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-option.is-active {
  color: var(--color-green);
}

.language-option:hover {
  color: white;
}

.language-option span {
  letter-spacing: 0.04em;
}

.nav-menu a:hover {
  color: var(--color-green);
}

.nav-menu a.active {
  color: var(--color-green);
}

/* Mobile Menu Toggle */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .nav-menu.active {
    display: flex;
  }

  .language-switcher {
    padding-left: 0;
    justify-content: center;
    width: 100%;
  }

  .language-option {
    width: auto;
    justify-content: center;
  }
}

/* Hero Section */
.hero {
  background: var(--color-primary);
  color: white;
  padding: 10rem 0 6rem;
  text-align: left;
  position: relative;
  display: block;
  margin-bottom: 10rem;
}

@media (max-width: 1024px) {
  .hero {
    margin-bottom: 6rem;
  }
}

.hero::after {
  content: "";
  background: url(../images/bottom.svg) no-repeat bottom;
  background-size: cover;
  position: absolute;
  bottom: -96px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 96px;
  width: 100%;
  background-size: 137%;
}

@media screen and (min-width: 992px) {
  .hero::after {
    background-size: 141%;
    height: 140px;
    bottom: -140px;
  }
}


.hero-container {
  max-width: 1024px; /* Match production hero container */
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.75rem;
  opacity: 1;
  max-width: none;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 3.25rem auto 1.4rem;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--border-radius);
  padding: 1.45rem 1.7rem;
  box-shadow: 0 20px 45px -28px rgba(15, 23, 42, 0.5);
}

.hero-highlight span {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}

.hero-highlight p {
  margin: 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.cta-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-arrow {
  background: rgb(30, 41, 59);
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.hero-arrow:hover {
  background-color: #f3f4f6;
}

.hero-scroll:focus-visible .hero-arrow {
  outline: 2px solid var(--color-green);
  outline-offset: 4px;
}

.hero-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #8b5cf6;
}

.trust-section {
  background: var(--color-white);
}

.trust-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.trust-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  line-height: 1.8rem;
  color: var(--color-black);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.trust-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.trust-title {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.trust-icon {
  color: var(--color-primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Coffee bar */
.coffee-section {
  padding: 4.5rem 0;
  background: var(--color-white);
}

.coffee-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.coffee-subtitle {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
  line-height: 1.7rem;
  color: var(--color-black);
}

.coffee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.coffee-list li {
  background: var(--color-lightgray);
  border-radius: var(--border-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coffee-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  color: inherit;
}

.coffee-list a:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 4px;
}

.coffee-date {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coffee-link {
  font-size: 1.05rem;
  line-height: 1.6rem;
}

.coffee-arrow {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.coffee-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(65, 64, 102, 0.12);
}

.coffee-list li:hover .coffee-arrow {
  transform: translateX(4px);
}

.coffee-list .coffee-arrow {
  transition: transform 0.2s ease;
}

@media (max-width: 640px) {
  .coffee-list a {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .coffee-date {
    order: -1;
  }

  .coffee-arrow {
    justify-self: flex-start;
  }
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
    min-height: 80vh;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Page Header */
.page-header {
  background: var(--color-primary);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-title {
  color: white;
  margin: 0;
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem);
  line-height: 1.2;
}

.page-header .services-subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-weight: 400;
}

/* Page Content */
.page-content {
  padding: 4rem 0;
  background: white;
}

.page-text {
  max-width: 800px;
  margin: 0 auto;
}

.page-text p {
  margin-bottom: 1.5rem;
}

.about-family {
  margin: 2.5rem auto;
  text-align: center;
  max-width: 480px;
}

.about-family img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 25px 60px -40px rgba(15, 23, 42, 0.45);
}

.about-family figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

/* Contact Info */
.contact-info {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--color-lightgray);
  border-radius: var(--border-radius);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.plan-table th,
.plan-table td {
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.75rem 1rem;
  text-align: left;
}

.plan-table th {
  background: var(--color-offwhite);
  font-weight: 600;
  color: var(--color-primary);
}

.plan-table tbody tr:nth-child(even) {
  background: rgba(148, 163, 184, 0.08);
}

.servicelist-note {
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #475569;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a:not(.cta-button) {
  color: var(--color-primary);
}

.contact-info a:not(.cta-button):hover {
  color: var(--color-primary-darker);
}

.contact-reasons {
  margin: 1.5rem 0 2rem;
  padding-left: 1.2rem;
  color: var(--color-black);
}

.contact-reasons li {
  margin-bottom: 0.75rem;
}

/* Section */
.section {
  padding: 4rem 0;
}

/* News Section */
.news-section {
  background: white;
}

.news-title {
  text-align: center;
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default 4 columns to match production */
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1280px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr); /* xl:grid-cols-4 */
    gap: 3rem; /* xl:gap-12 */
  }
}

.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card-content {
  padding: 1.5rem;
}

.news-date {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Article Pages */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.article-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.news-card h3 {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-card p {
  color: #6b7280;
  margin-bottom: 0;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, rgb(15, 118, 110), rgb(13, 148, 136));
  background: linear-gradient(to right, #0f766e, #0d9488);
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1280px) {
  .cta-container {
    padding: 8rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .cta-container {
    grid-template-columns: 1fr;
  }
}

.cta-content h2 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: 2.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

.cta-content p {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #f8fafc;
  font-size: 1.25rem;
}

.cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  color: #f8fafc;
}

.cta-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.75rem;
}

.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.cta-list li strong {
  color: #ffffff;
}

.cta-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-images img {
  width: 100%;
  border-radius: 0.5rem;
  height: auto;
}

.cta-image-1 {
  width: 100%;
}

.cta-image-stack {
  position: relative;
  margin-top: 1rem;
}

.cta-image-2 {
  width: 100%;
}

@media (min-width: 1024px) {
  .cta-images {
    margin-top: 0;
  }
  
  .cta-image-stack {
    margin-top: 2.5rem;
  }
}

.cta-button {
  background-color: var(--color-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: #0b766f;
  color: white;
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.45);
  outline-offset: 3px;
}

.service-card .cta-button,
.cta-button-teal {
  background-color: #0d9488;
  color: white;
  padding: 0.625rem 1.25rem; /* py-2.5 px-5 */
  border-radius: 0.5rem; /* rounded-lg */
  font-size: 0.875rem; /* text-sm = 14px */
  font-weight: 500; /* font-medium */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card .cta-button:hover,
.service-card .cta-button:focus-visible,
.cta-button-teal:hover,
.cta-button-teal:focus-visible {
  background-color: #0f766e;
  color: white;
  transform: translateY(-1px);
}

.service-card .cta-button:focus-visible,
.cta-button-teal:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.45);
  outline-offset: 3px;
}

.cta-button-primary {
  background-color: var(--color-primary);
  color: white;
}

.cta-button-primary:hover,
.cta-button-primary:focus-visible {
  background-color: var(--color-primary-darker);
  color: white;
}

.hero .cta-button {
  background-color: var(--color-primary);
  color: white;
}

.hero .cta-button:hover,
.hero .cta-button:focus-visible {
  background-color: var(--color-primary-darker);
  color: white;
}

/* Special CTA button styling for teal section */
.cta-section .cta-button {
  background-color: #134e4a; /* teal-800 */
  color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.cta-section .cta-button:hover {
  background-color: white;
  color: #0d9488; /* teal-600 */
}


/* Services Section */
.services-section {
  background: white;
  padding: 4rem 1rem;
}

@media (min-width: 1280px) {
  .services-section {
    padding: 8rem 1rem; /* Reduced from 12rem */
  }
}

.services-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
}

.services-subtitle {
  text-align: center;
  color: #6b7280;
  max-width: 768px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-size: 1.25rem;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* 32px */
  max-width: 1280px; /* max-w-screen-xl */
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 32rem;
  }
}

.service-card {
  background: white;
  padding: 1.5rem; /* 24px */
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: center; /* Default center for card */
  max-width: 32rem; /* max-w-lg = 512px */
  margin: 0 auto; /* mx-auto to center within grid cell */
  color: #111827; /* text-gray-900 */
}

@media (min-width: 1280px) {
  .service-card {
    padding: 2rem; /* 32px */
  }
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-title {
  font-size: 1.5rem; /* text-2xl = 24px */
  font-weight: 600; /* font-semibold */
  margin-bottom: 0;
  margin-top: 0;
  text-align: left;
  line-height: 1.4;
}

/* md:mt-8 - margin-top on medium screens and up */
@media (min-width: 768px) {
  .service-title {
    margin-top: 2rem; /* mt-8 = 32px */
  }
}

.service-price-container {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 2rem 0; /* my-8 = 32px */
}

.service-price {
  font-size: 3rem; /* text-5xl = 48px */
  font-weight: 800; /* font-extrabold */
  color: var(--color-primary);
  margin-right: 0.5rem; /* mr-2 = 8px */
  white-space: nowrap; /* Prevent wrapping */
}

.service-price-text {
  font-size: 2rem; /* Smaller font for "Op aanvraag" */
}

.service-description {
  color: #111827; /* text-gray-900 - darker gray */
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
  margin-bottom: 1rem;
  text-align: left;
}

.service-card .servicelist {
  margin-bottom: 2rem; /* 32px */
  text-align: left;
  list-style: none;
  padding-left: 0;
}

.service-card .servicelist li {
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
  margin-bottom: 0.75rem; /* Tighter spacing */
  text-align: left;
  color: #111827; /* text-gray-900 - darker gray */
}

.service-card .servicelist li:last-child {
  margin-bottom: 0;
}

.service-card .cta-button {
  margin-top: auto; /* mt-auto */
  display: block;
  text-align: center;
  width: 100%;
}

/* Error Page */
.error-page {
  padding: 8rem 0 4rem;
  background: white;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-content h1 {
  font-size: 8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1;
}

.error-content h2 {
  margin-bottom: 1rem;
}

.error-content p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.error-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto 2rem;
  gap: 0.5rem;
}

.error-search input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.error-search button {
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
}

.error-search button:hover {
  background-color: var(--color-primary-darker);
}

@media (max-width: 768px) {
  .error-content h1 {
    font-size: 6rem;
  }
  
  .error-search {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-legal {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer a:hover {
  color: var(--color-green);
}

/* Service List with Checkmarks */
ul.servicelist {
  list-style: none;
  padding-left: 0;
}

ul.servicelist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

ul.servicelist li::before {
  content: "";
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23369391"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/></svg>');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  left: 0;
  top: 0.35rem;
}

.servicelist-sublist {
  list-style: disc;
  margin: 0.5rem 0 0 1.75rem;
  padding-left: 1rem;
}

.servicelist-sublist li {
  display: list-item;
  margin-bottom: 0.25rem;
}

.servicelist-subtext {
  display: block;
  margin-top: 0.5rem;
  margin-left: 2rem;
}

/* Main content styling */
.main p, 
.main ul, 
.main ol, 
.main table {
  margin-bottom: 1.75rem;
  line-height: 1.75rem;
}

.main .wrapper p, 
.main .wrapper ul, 
.main .wrapper table {
  color: var(--color-black);
}

.main .wrapper h2, 
.main .wrapper h3, 
.main .wrapper h4, 
.main .wrapper h5 {
  color: var(--color-primary);
  font-family: "Inter", sans-serif;
}

.main .wrapper h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.main .wrapper h3 {
  font-size: 1.5rem;
  line-height: 2rem;
}

.main .wrapper h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.main ul {
  list-style-type: disc;
  padding-left: 20px;
}

.main a {
  color: var(--color-primary);
}

.main a:hover {
  color: var(--color-primary-darker);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}


.faq-section {
  padding: 4rem 0;
}

.faq-group {
  margin-bottom: 3rem;
}

.faq-group h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-group article {
  margin-bottom: 1.5rem;
}

.faq-group h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.faq-group p,
.faq-group ul {
  color: var(--color-black);
  line-height: 1.7;
}

.faq-group ul {
  padding-left: 1.2rem;
}

.contact-links {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
}

.contact-links a {
  color: var(--color-primary);
}

.contact-links a:hover {
  color: var(--color-primary-darker);
}

/* News/Blog Index Page */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-thumbnail {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
}

.news-date {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-item h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.news-item h2 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.news-item h2 a:hover {
  color: var(--color-primary);
}

.news-item p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    gap: 1rem;
  }

  .news-thumbnail {
    width: 100%;
    height: 200px;
  }

  .news-item h2 {
    font-size: 1.25rem;
  }
}

/* Coffee Bar Section (Homepage) */
.coffee-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.coffee-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  text-decoration: none;
  padding: 0.75rem;
  margin: -0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.2s;
}

.coffee-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateX(4px);
}

.coffee-thumbnail {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.coffee-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coffee-link-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  color: var(--color-text);
  transition: color 0.2s;
}

.coffee-item:hover .coffee-link-title {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .coffee-item {
    gap: 1rem;
  }

  .coffee-thumbnail {
    width: 100px;
    height: 75px;
  }

  .coffee-link-title {
    font-size: 1rem;
  }
}

/* Legal Content Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-updated {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* AsciiDoc-generated content styling */
.legal-content .sect1 {
  margin-bottom: 2rem;
}

.legal-content .sectionbody {
  margin-left: 0;
}

.legal-content .paragraph {
  margin-bottom: 1rem;
}

/* Architecture Diagrams */
.architecture-diagram {
  margin: 2rem 0;
  text-align: center;
}

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

.architecture-diagram figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}
