/* ===========================================================
   CyberLith "nature_organic" Nature-inspired CSS
   Modern, earth-toned, organic design — Mobile-first, Flexbox ONLY
   =========================================================== */

/* ================== CSS RESET & BASE ================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #f3f6fb;
  color: #243016;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image: url('assets/textures/paper.jpg'); /* fallback, can be replaced */
  background-size: cover;
  background-repeat: repeat;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #3b6d23;
  text-decoration: underline;
  transition: color 0.25s;
}
a:hover,
a:focus {
  color: #169652;
  text-decoration-thickness: 2px;
  outline: none;
}

/* ============== NATURE ORGANIC PALETTE =================== */
:root {
  --cyb-primary: #232946;         /* Brand dark navy */
  --cyb-secondary: #eebbc3;      /* Brand soft blush/pink */
  --cyb-accent: #f3f6fb;         /* Brand accent/off-white */
  --earth-green: #3b6d23;        /* Deep plant green */
  --olive: #8a9656;              /* Olive leaf green */
  --clay-brown: #ae8b5c;         /* Clay brown accent */
  --soil: #796755;               /* Soft brown */
  --moss: #dbe8b5;               /* Light moss background */
  --cream: #faf5e6;              /* Almost white, organic */
  --outline-focus: #c5e99b;
  --organic-shadow: rgba(139,160,110,.16);
}

/* =========== TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--earth-green);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: 2.2rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; }

@media (min-width: 538px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

p {
  margin-bottom: 12px;
  color: #243016;
  font-size: 1rem;
}

ul, ol {
  margin-bottom: 16px;
  margin-left: 22px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: var(--earth-green);
}
.section ul li,
.text-section ul li {
  list-style: disc inside;
}

.subheadline {
  color: var(--clay-brown);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .02em;
}

/* ========== CONTAINER LAYOUTS ========== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: transparent;
  border-radius: 28px;
  box-shadow: none;
}
section:first-of-type {
  margin-top: 32px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .content-wrapper {
    gap: 32px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container, .feature-grid, .testimonial-grid, .gadgets-grid, .blog-cards-grid, .service-list, .workshop-timetable, .blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}

.card {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  margin-right: 0;
  border: 1px solid #e9edd8;
  box-shadow: 0 1px 6px var(--organic-shadow);
  transition: box-shadow 0.2s;
  max-width: 620px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 4px 18px var(--organic-shadow);
}
.testimonial-author {
  color: var(--olive);
  font-style: italic;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
}

/* Feature grid (startseite) */
.feature-grid > div {
  flex: 1 1 210px;
  background: var(--moss);
  border-radius: 22px 40px 30px 34px/30px 32px 22px 38px;
  box-shadow: 0 1px 5px var(--organic-shadow);
  min-width: 220px;
  padding: 36px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  border: 1px solid #dbe8b5;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 3px 18px var(--organic-shadow);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img {
  height: 42px;
  width: 42px;
  margin-bottom: 10px;
  filter: grayscale(0.25) contrast(1.1) sepia(0.13);
}
.feature-grid h3 {
  margin-bottom: 7px;
}

/* Service cards */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 230px;
  background: var(--cream);
  border-radius: 22px 32px 30px 24px/24px 34px 22px 40px;
  box-shadow: 0 1px 7px var(--organic-shadow);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  border: 1px solid #f7eedc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card img {
  height: 38px;
  width: 38px;
  filter: grayscale(0.25) contrast(1.1) sepia(0.13);
}
.service-card .price {
  font-weight: bold;
  color: var(--earth-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 3px 16px var(--organic-shadow);
  transform: translateY(-2px) scale(1.022);
}

/* Gadget highlights */
.gadgets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.gadget-highlights {
  flex: 1 1 220px;
  background: var(--moss);
  border-radius: 26px 38px 26px 38px/40px 28px 36px 22px;
  box-shadow: 0 1px 7px var(--organic-shadow);
  padding: 28px 18px 20px 18px;
  margin-bottom: 16px;
  border: 1px solid #dbe8b5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.gadget-highlights .quick-specs {
  color: var(--olive);
  font-size: .94rem;
  margin-top: 4px;
}
.gadget-highlights:hover {
  box-shadow: 0 3px 15px var(--organic-shadow);
  transform: scale(1.017);
}

/* Blog post/article cards */
.blog-post-grid, .blog-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.blog-post-grid article,
.blog-cards-grid article {
  flex: 1 1 290px;
  background: var(--cream);
  border-radius: 20px 30px 24px 26px/30px 26px 18px 30px;
  box-shadow: 0 1px 7px var(--organic-shadow);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  border: 1px solid #f7eedc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-post-grid article:hover,
.blog-cards-grid article:hover {
  box-shadow: 0 4px 14px var(--organic-shadow);
  transform: translateY(-2px) scale(1.013);
}

/* Price Table */
.price-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 1rem;
  background: var(--cream);
  box-shadow: 0 1px 7px var(--organic-shadow);
  border-radius: 18px;
  padding: 8px;
}
.price-table th, .price-table td {
  padding: 12px 14px;
  text-align: left;
  color: #2b380f;
}
.price-table th {
  color: var(--earth-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-bottom: 1.5px solid #dee8c2;
}
.price-table tr:not(:first-child):hover {
  background: var(--moss);
}

/* Category filters and search bar (blog) */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 10px 0;
}
.category-filters a {
  background: var(--moss);
  border-radius: 16px;
  padding: 4px 16px;
  font-size: .97rem;
  color: var(--earth-green);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.category-filters a:hover,
.category-filters a:focus {
  background: var(--earth-green);
  color: var(--cream);
}
.search-bar {
  margin: 12px 0 0 0;
  display: flex;
  gap: 10px;
}
.search-bar input[type="text"] {
  border: 1px solid #dbe8b5;
  border-radius: 16px;
  padding: 6px 14px;
  background: var(--cream);
  color: #243016;
  font-size: 1rem;
  transition: border-color .2s;
}
.search-bar input[type="text"]:focus {
  border-color: var(--earth-green);
  outline: 2px solid var(--outline-focus);
}

/* Faq (kontakt, workshops, etc.) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.faq-list h3 {
  font-size: 1.05rem;
  color: var(--clay-brown);
}

/* ========== CTA BUTTONS ========== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px 38px 24px 34px/32px 24px 30px 28px;
  padding: 13px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--organic-shadow);
  border: 2px solid var(--earth-green);
}
.cta.primary {
  background: linear-gradient(87deg, var(--moss) 80%, var(--cream) 100%);
  color: var(--earth-green);
}
.cta.secondary {
  background: transparent;
  color: var(--earth-green);
  border: 2px solid var(--olive);
  box-shadow: none;
}
.cta:hover,
.cta:focus-visible {
  background: var(--earth-green);
  color: var(--cream);
  box-shadow: 0 8px 24px var(--organic-shadow);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.cta:active {
  transform: scale(0.98);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--cream);
  box-shadow: 0 2px 10px var(--organic-shadow);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 42px;
  position: relative;
  z-index: 51;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 18px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  margin-right: 8px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  align-items: center;
}
.main-nav li {
  margin: 0;
}
.main-nav a:not(.logo):not(.cta) {
  color: var(--earth-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: none;
  border-radius: 16px;
  padding: 6px 14px;
  text-decoration: none;
  transition: background-color .18s, color .18s;
  outline: none;
}
.main-nav a:not(.logo):not(.cta):hover,
.main-nav a:not(.logo):not(.cta):focus {
  background-color: var(--moss);
  color: var(--earth-green);
}

/* Responsive nav (mobile hamburger) */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--earth-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  margin-left: 6px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .15s;
  box-shadow: 0 1px 7px var(--organic-shadow);
  z-index: 111;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--olive);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--cream);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  max-width: 480px;
  padding: 36px 24px 24px 24px;
  box-shadow: 8px 0 24px var(--organic-shadow);
  transform: translateX(-110%);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.52,.16,.24,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: var(--earth-green);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  transition: background .15s;
}
.mobile-menu-close:focus {
  background: var(--moss);
  outline: 2px solid var(--olive);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: var(--earth-green);
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 14px 8px 12px 4px;
  text-decoration: none;
  border-left: 6px solid transparent;
  border-radius: 0 18px 18px 0;
  transition: background .14s, border-color .16s, color .16s;
  outline: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--moss);
  border-left: 6px solid var(--earth-green);
  color: var(--earth-green);
}

@media (max-width: 1024px) {
  .main-nav ul,
  .main-nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav ul,
  .main-nav .cta {
    display: flex !important;
  }
}

/* ========== FOOTER STYLES ========= */
footer {
  background: var(--moss);
  padding: 40px 0 16px 0;
  border-top-left-radius: 48px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px var(--organic-shadow);
  margin-top: 48px;
  font-size: 1rem;
}
footer .container {
  max-width: 1150px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-logo img {
  height: 46px;
  width: auto;
  margin-bottom: 4px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-nav a, .legal-nav a {
  color: var(--earth-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  padding: 0 8px;
  transition: color .18s;
}
.footer-nav a:hover,.footer-nav a:focus, .legal-nav a:hover, .legal-nav a:focus {
  color: var(--clay-brown);
}
.social-icons {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  align-items: center;
}
.social-icons img {
  height: 26px;
  width: 26px;
  filter: grayscale(25%) contrast(1.1) sepia(0.16);
  transition: filter 0.16s;
}
.social-icons img:hover, .social-icons img:focus {
  filter: none;
}
.footer-contact {
  color: var(--earth-green);
  font-size: .92rem;
}
.footer-contact a {
  color: var(--olive);
}

@media (min-width: 900px) {
  footer .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 44px 64px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-logo, .footer-nav, .legal-nav, .social-icons, .footer-contact {
    flex: 0 1 auto;
  }
}

/* ========== ADDRESS INFO ========== */
.address-info {
  background: var(--moss);
  border-radius: 22px 36px 16px 30px/24px 24px 30px 24px;
  padding: 22px 20px 14px 22px;
  margin-bottom: 18px;
  border: 1px solid #dbe8b5;
  color: var(--earth-green);
  font-size: 1.01rem;
}
.address-info strong {
  color: var(--olive);
}

/* ============ TABLETS & DESKTOPS ================ */
@media (min-width: 769px) {
  .feature-grid > div, .service-card, .gadget-highlights, .blog-post-grid article, .blog-cards-grid article {
    min-width: 270px;
    max-width: 340px;
  }
  .service-list {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .gadgets-grid, .blog-post-grid, .blog-cards-grid, .testimonial-grid, .workshop-timetable {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .service-card, .gadget-highlights, .blog-post-grid article, .blog-cards-grid article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* ============= MICRO-INTERACTIONS & TRANSITIONS ============ */
button, .cta, .main-nav a, .mobile-nav a {
  transition: background 0.16s, color 0.18s, border-color 0.18s, box-shadow 0.2s, transform 0.15s;
}

/* ============= COOKIE BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cream);
  box-shadow: 0 -2px 16px var(--organic-shadow), 0 1px 9px #e7e6d3;
  border-top-left-radius: 38px;
  border-top-right-radius: 22px;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1200;
  align-items: flex-start;
  font-size: 1rem;
  animation: cookieBannerIn 0.36s cubic-bezier(.2,.7,.38,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #232946;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 8px 28px;
  border-radius: 20px 30px 28px 22px/22px 20px 32px 24px;
  background: var(--earth-green);
  color: var(--cream);
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 1px 7px var(--organic-shadow);
  transition: background 0.17s, color 0.15s;
}
.cookie-banner button.reject {
  background: var(--clay-brown);
  color: var(--cream);
}
.cookie-banner button.settings {
  background: transparent;
  color: var(--earth-green);
  border: 2px solid var(--earth-green);
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: var(--olive);
  color: var(--cream);
  outline: none;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: rgba(23,32,15, .34);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--cream);
  border-radius: 32px 36px 28px 20px/26px 34px 26px 34px;
  box-shadow: 0 10px 36px var(--organic-shadow), 0 3px 11px #e7e6d3;
  width: 98vw; max-width: 430px;
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popIn .28s cubic-bezier(.18,.74,.30,1.11) 1;
}
@keyframes popIn {
  from { transform: scale(0.9); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--earth-green);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .category-row input[type="checkbox"] {
  accent-color: var(--earth-green);
  width: 18px;
  height: 18px;
}
.cookie-modal .always-on {
  color: var(--olive);
  font-size: .97rem;
  margin-left: 2px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 9px 28px;
  border-radius: 20px 30px 20px 26px/18px 32px 22px 32px;
  background: var(--earth-green);
  color: var(--cream);
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 1px 7px var(--organic-shadow);
}
.cookie-modal button.cancel {
  background: var(--clay-brown);
}
.cookie-modal button:focus,
.cookie-modal button:hover {
  background: var(--olive);
  color: var(--cream);
  outline: none;
}

/* ===== Scrollbars, Selection ===== */
::-webkit-scrollbar { width: 9px; background: var(--moss); }
::-webkit-scrollbar-thumb { background: var(--earth-green); border-radius: 14px; }
::selection { background: #b7ecc6; color: #243016; }

/* ========== ACCESSIBILITY ========= */
:focus { outline: 2px solid var(--olive); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* Hide visually only (for a11y skip links, etc.) */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0px !important;
  border: 0px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ========== MISC ============ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-snippet {
  background: var(--moss);
  border-radius: 28px 36px 28px 32px/36px 28px 36px 30px;
  padding: 22px 18px 16px 20px;
  margin-bottom: 18px;
  border: 1px solid #dbe8b5;
  color: var(--earth-green);
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Blog slider (featured, single) */
.featured-blog-slider {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.featured-blog-slider article {
  min-width: 270px;
  background: var(--cream);
  border-radius: 26px 32px 24px 22px/30px 20px 18px 34px;
  box-shadow: 0 1px 7px var(--organic-shadow);
  padding: 24px 16px 18px 18px;
  border: 1px solid #f7eedc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.featured-blog-slider article:hover {
  box-shadow: 0 4px 14px var(--organic-shadow);
  transform: translateY(-2px) scale(1.013);
}

/* Workshop timetable */
.workshop-timetable {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.workshop-details {
  flex: 1 1 240px;
  background: var(--cream);
  border-radius: 22px 28px 30px 36px/30px 28px 18px 34px;
  box-shadow: 0 1px 7px var(--organic-shadow);
  padding: 22px 18px 16px 18px;
  border: 1px solid #f7eedc;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.workshop-details:hover {
  box-shadow: 0 3px 13px var(--organic-shadow);
  transform: scale(1.017);
}

/* ================== RESPONSIVE SPACING ================== */
@media (max-width: 600px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, section {
    margin-bottom: 32px;
    padding: 28px 10px;
    border-radius: 18px;
  }
  footer {
    padding: 30px 0 12px 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 18px;
  }
  .main-nav {
    padding: 10px 0;
  }
}

/* Prevent overlapping and ensure spacing */
.card:not(:last-child),
.testimonial-card:not(:last-child),
.service-card:not(:last-child),
.gadget-highlights:not(:last-child),
.blog-post-grid article:not(:last-child),
.blog-cards-grid article:not(:last-child),
.feature-grid > div:not(:last-child) {
  margin-right: 0;
}

/* =============== PRINT, ETC ============ */
@media print {
  body, .container, .section, main, header, footer {
    background: #fff !important;
    box-shadow: none !important;
  }
}
