/*
Theme Name: Silke Theme Custom
Description: Custom CSS for Silke Kloppenburg Theme
Version: 1.0.0
Author: ewtos.com
*/

/* 1. VARIABLES (Mirrors Customizer) */
:root {
  /* Colors */
  --silktheme-primary: #841d58;
  --silktheme-primary-light: #fcebf4;
  --silktheme-text: #4a4a4a;
  --silktheme-bg: #fdfbf7;
  --silktheme-footer-bg: #e6e2dd;
  --silktheme-white: #ffffff;

  /* Fonts */
  --silktheme-font-serif: "Cormorant Garamond", serif;
  --silktheme-font-body: "Montserrat", sans-serif;
  --silktheme-font-script: "Caveat", cursive;
}

/* 2. RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--silktheme-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--silktheme-text);
  background-color: var(--silktheme-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none; /* Elementor Reset */
  box-shadow: none; /* Elementor Reset */
}

/* Elementor Override Helper */
.elementor img.silktheme_hero_bg_img,
.elementor img.silktheme_hero_img,
.elementor img.silktheme_image_styled,
.elementor img.silktheme_cert_img,
img.silktheme_hero_bg_img,
img.silktheme_hero_img,
img.silktheme_image_styled {
  box-shadow: unset; /* Let my classes handle shadow */
  border-radius: unset; /* Let my classes handle radius */
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* 3. UTILITIES */
.silktheme_hidden {
  display: none !important;
}

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

.silktheme_container {
  width: 100%;
  max-width: 1280px; /* Equivalent to max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .silktheme_container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.silktheme_flex {
  display: flex;
}
.silktheme_items_center {
  align-items: center;
}
.silktheme_gap_2 {
  gap: 0.5rem;
}
.silktheme_gap_3 {
  gap: 0.75rem;
}

/* 4. TYPOGRAPHY HELPERS */
.silktheme_font_serif {
  font-family: var(--silktheme-font-serif);
}
.silktheme_font_script {
  font-family: var(--silktheme-font-script);
}
.silktheme_text_primary {
  color: var(--silktheme-primary);
}

/* 5. COMPONENTS */

/* Navigation Link */
.silktheme_nav_link {
  font-family: var(--silktheme-font-body);
  font-size: 0.75rem; /* text-xs */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silktheme-text);
  transition: color 0.3s ease;
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: block;
}
.silktheme_nav_link:hover {
  color: var(--silktheme-primary);
}
/* Underline effect */
.silktheme_nav_link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--silktheme-primary);
  transition: width 0.3s ease;
}
.silktheme_nav_link:hover::after,
.silktheme_nav_link.active::after {
  /* Support for active state if needed */
  width: 100%;
}

/* Mobile Menu Link */
.silktheme_mobile_link {
  display: block;
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* gray-50 equivalent */
  color: #4b5563; /* gray-600 */
  touch-action: manipulation;
}
.silktheme_mobile_link:hover {
  color: var(--silktheme-primary);
}

/* Button Component */
.silktheme_btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px; /* full */
  border: 1px solid var(--silktheme-primary);
  color: var(--silktheme-primary);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-family: var(--silktheme-font-body);
}
.silktheme_btn:hover {
  background: var(--silktheme-primary);
  color: var(--silktheme-white);
}
.silktheme_btn svg {
  /* Optional: Ensure icon is consistently visible and fits inside */
  fill: none;
  stroke: currentColor;
}

/* Primary Button Variation */
.silktheme_btn_primary {
  background: var(--silktheme-primary);
  color: var(--silktheme-white);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.silktheme_btn_primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background-color: #6b1747; /* Hover color from original */
  color: var(--silktheme-white);
  border: none;
}
.silktheme_btn_primary svg {
  color: inherit; /* Ensure icon uses button color */
}

/* 6. LAYOUTS */

/* Header */
.silktheme_header {
  position: fixed;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #ebdce6;
  transition: all 0.3s ease;
}

.silktheme_header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem; /* h-20 */
}
@media (min-width: 768px) {
  .silktheme_header_inner {
    height: 6rem;
  } /* h-24 */
}

/* Logo Area */
.silktheme_logo_container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.silktheme_logo_text {
  display: flex;
  flex-direction: column;
}
.silktheme_logo_img {
  height: 2.5rem; /* h-10 */
  width: auto;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .silktheme_logo_img {
    height: 3rem;
  } /* h-12 */
}

.silktheme_logo_title {
  font-family: var(--silktheme-font-script);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--silktheme-primary);
}
@media (min-width: 768px) {
  .silktheme_logo_title {
    font-size: 1.875rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_logo_title {
    font-size: 2.25rem;
  }
}

.silktheme_logo_subtitle {
  font-family: var(--silktheme-font-body);
  font-size: 0.6rem; /* slightly smaller than xs */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7280; /* gray-500 */
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .silktheme_logo_subtitle {
    font-size: 0.625rem;
  }
}

/* Navigation Desktop */
.silktheme_nav_desktop {
  display: none;
}
/* Custom breakpoint (approx xl) */
@media (min-width: 1100px) {
  .silktheme_nav_desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* space-x-6 */
  }
}
@media (min-width: 1280px) {
  .silktheme_nav_desktop {
    gap: 2rem;
  }
}

.silktheme_nav_list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1280px) {
  .silktheme_nav_list {
    gap: 2rem;
  }
}

/* Mobile Toggle */
.silktheme_mobile_toggle {
  display: block;
  padding: 0.5rem;
  color: var(--silktheme-primary);
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1100px) {
  .silktheme_mobile_toggle {
    display: none;
  }
}

/* Mobile Menu */
.silktheme_mobile_menu {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: white;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  padding-bottom: 5rem;
  z-index: 40;
}
.silktheme_mobile_menu_inner {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
  text-align: center;
  font-family: var(--silktheme-font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Main Padding */
.silktheme_main_padding {
  padding-top: 80px;
}
@media (min-width: 768px) {
  .silktheme_main_padding {
    padding-top: 96px;
  }
}

/* 7. FOOTER */
.silktheme_footer {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
  color: var(--silktheme-text);
  background-color: var(--silktheme-bg); /* bg-[#fdfbf7] matches vars */
}

.silktheme_footer_bg_container {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}

.silktheme_footer_bg_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.silktheme_footer_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(253, 251, 247, 0.95),
    rgba(253, 251, 247, 0.7),
    #fdfbf7
  );
}

.silktheme_footer_glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background-color: var(--silktheme-primary);
  opacity: 0.1;
  border-radius: 9999px;
  filter: blur(64px); /* 3xl ~ 64px */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.silktheme_footer_grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .silktheme_footer_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .silktheme_footer_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.silktheme_footer_col_wide {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .silktheme_footer_col_wide {
    grid-column: span 2;
  }
}

.silktheme_footer_title {
  font-family: var(--silktheme-font-script);
  font-size: 2.25rem;
  color: var(--silktheme-primary);
  display: block;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .silktheme_footer_title {
    font-size: 2.25rem;
  }
}

.silktheme_footer_text {
  font-family: var(--silktheme-font-body);
  font-weight: 300;
  color: #4b5563;
  max-width: 48rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.silktheme_footer_socials {
  display: flex;
  gap: 1rem;
}

.silktheme_social_link {
  width: 2rem; /* w-8 */
  height: 2rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silktheme-primary);
  transition: all 0.3s ease;
  cursor: pointer;
}
.silktheme_social_link:hover {
  background-color: var(--silktheme-primary);
  color: var(--silktheme-white);
}

.silktheme_footer_heading {
  font-family: var(--silktheme-font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #1f2937; /* gray-800 */
}

.silktheme_footer_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--silktheme-font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: #4b5563;
  list-style: none;
  padding: 0;
}

.silktheme_footer_list_item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.silktheme_footer_link:hover {
  color: var(--silktheme-primary);
  transition: color 0.3s ease;
}

/* Blog Sidebar Tab */
.silktheme_blog_tab {
  position: fixed;
  bottom: 2rem;
  right: -0.25rem;
  background-color: var(--silktheme-primary);
  color: var(--silktheme-white);
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-radius: 9999px 0 0 9999px;
  border: none;
  font-family: var(--silktheme-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 45;
  display: flex;
  align-items: center;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.silktheme_blog_tab:hover {
  transform: translateX(-0.25rem);
  background-color: #6b1747;
}

/* Blog Sidebar Panel */
.silktheme_blog_sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background-color: var(--silktheme-white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 55;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.translate-x-full {
  transform: translateX(100%);
}
.translate-x-0 {
  transform: translateX(0);
}

.silktheme_blog_sidebar_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background-color: #fcebf4;
}
.silktheme_blog_sidebar_title {
  font-family: var(--silktheme-font-serif);
  font-size: 1.25rem;
  color: var(--silktheme-primary);
  margin: 0;
}
.silktheme_popup_close_btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.silktheme_popup_close_btn:hover {
  color: #ef4444;
}

.silktheme_blog_sidebar_content {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
}
.silktheme_blog_sidebar_label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.silktheme_sidebar_post_title {
  font-family: var(--silktheme-font-serif);
  font-size: 1.125rem;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.silktheme_blog_archive_link {
  display: inline-block;
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: underline;
  transition: color 0.2s;
  text-align: center;
  width: 100%;
}
.silktheme_blog_archive_link:hover {
  color: var(--silktheme-primary);
}

/* 8. HOMEPAGE SECTIONS */

/* General Section Helpers */
.silktheme_section_py {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .silktheme_section_py {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.silktheme_grid_2 {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .silktheme_grid_2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.silktheme_heading_2 {
  font-family: var(--silktheme-font-serif);
  font-size: 1.875rem; /* 3xl */
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .silktheme_heading_2 {
    font-size: 2.25rem;
  }
}

.silktheme_text_content p {
  margin-bottom: 1rem;
}
.silktheme_text_content {
  max-width: 48rem; /* approx 768px for readability */
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.silktheme_hero_section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
  overflow: hidden;
  padding-top: 5rem; /* account for fixed header */
}

.silktheme_hero_bg_container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.silktheme_hero_bg_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-left-radius: 2rem !important;
  border-bottom-right-radius: 2rem !important;
}

.silktheme_hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253, 251, 247, 0.8),
    rgba(253, 251, 247, 0.5),
    #fdfbf7
  );
}

.silktheme_hero_content {
  display: flex;
  flex-direction: column-reverse; /* Text on bottom, img on top for better flow on mobile, wait no, let's make text first */
  flex-direction: column; 
  align-items: center;
  gap: 3rem; /* Reduced gap for mobile */
  position: relative;
  z-index: 10;
}
@media (min-width: 1024px) {
  .silktheme_hero_content {
    flex-direction: row;
    gap: 5rem;
  }
}

.silktheme_hero_text_col {
  text-align: center;
  flex: 1;
  order: 1; /* Text first on mobile */
}
@media (min-width: 1024px) {
  .silktheme_hero_text_col {
    text-align: left;
    order: 1;
  }
}

.silktheme_hero_img_col {
  order: 2; /* Image second on mobile */
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .silktheme_hero_img_col {
    order: 2;
    max-width: none;
  }
}

.silktheme_hero_tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(132, 29, 88, 0.3);
  border-radius: 9999px;
  color: var(--silktheme-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.6);
}

.silktheme_hero_headline {
  font-family: var(--silktheme-font-serif);
  font-size: 2.25rem;
  line-height: 1.1;
  color: #1f2937;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .silktheme_hero_headline {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_hero_headline {
    font-size: 3.75rem;
  }
}

.silktheme_hero_headline_script {
  font-family: var(--silktheme-font-script);
  color: var(--silktheme-primary);
  font-size: 3rem;
  font-weight: 400; /* Increased weight for better mobile contrast */
  display: block;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* Added shadow for readability on light bokeh */
}
@media (min-width: 640px) {
  .silktheme_hero_headline_script {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_hero_headline_script {
    font-size: 4.5rem;
  }
}

.silktheme_hero_desc {
  font-weight: 400; /* Slightly heavier for readability */
  font-size: 1rem;
  color: #374151; /* Darker gray for contrast */
  margin-bottom: 2rem;
  max-width: 48rem; /* Line length limit */
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .silktheme_hero_desc {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_hero_desc {
    margin-left: 0;
  }
}

.silktheme_hero_buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .silktheme_hero_buttons {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .silktheme_hero_buttons {
    justify-content: flex-start;
  }
}

.silktheme_hero_img_col {
  position: relative;
  flex: 1;
  order: 1;
  width: 100%;
  max-width: 28rem;
}
@media (min-width: 1024px) {
  .silktheme_hero_img_col {
    order: 2;
    max-width: none;
  }
}

.silktheme_portrait_frame {
  border-top-left-radius: 8rem;
  border-top-right-radius: 8rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.silktheme_hero_img_deco {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(132, 29, 88, 0.2);
  transform: translate(0.75rem, 0.75rem);
  pointer-events: none;
  border-top-left-radius: 2rem;
  border-top-right-radius: 4rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}
@media (min-width: 640px) {
  .silktheme_hero_img_deco {
    transform: translate(1rem, 1rem);
  }
}

.silktheme_hero_img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
  border-top-left-radius: 2rem !important;
  border-top-right-radius: 4rem !important;
  border-bottom-left-radius: 2rem !important;
  border-bottom-right-radius: 2rem !important;
}

.silktheme_hero_quote {
  display: none;
}
@media (min-width: 1024px) {
  .silktheme_hero_quote {
    display: block;
    position: absolute;
    bottom: -2%;
    left: -3rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    max-width: 20rem;
    z-index: 50;
  }
}
.silktheme_quote_text {
  font-family: var(--silktheme-font-serif);
  font-style: italic;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.375;
}

/* Uber Mich */
.silktheme_ubermich_icon {
  color: var(--silktheme-primary);
  margin-bottom: 1rem;
}
.silktheme_divider {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--silktheme-primary);
  margin-bottom: 2rem;
}
.silktheme_highlight_box {
  border-left: 4px solid var(--silktheme-primary);
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #f9fafb;
  border-radius: 0 0.25rem 0.25rem 0;
  font-style: italic;
  color: #6b7280;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.silktheme_stats_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.silktheme_stat_box {
  background-color: var(--silktheme-primary-light);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .silktheme_stat_box {
    text-align: left;
  }
}
.silktheme_stat_val {
  font-weight: 700;
  color: var(--silktheme-primary);
  font-size: 1.125rem;
}
.silktheme_stat_label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.silktheme_image_wrapper {
  position: relative;
  order: 1;
}
@media (min-width: 768px) {
  .silktheme_image_wrapper {
    order: 2;
  }
}

.silktheme_image_styled {
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 350px !important;
  object-fit: cover;
  object-position: top;
  filter: grayscale(10%);
  transition: filter 0.7s ease;
}
@media (min-width: 768px) {
  .silktheme_image_styled {
    height: 400px;
  }
}
.silktheme_image_styled:hover {
  filter: grayscale(0);
}

.silktheme_image_caption {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--silktheme-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 83%;
  text-align: center;
}
@media (min-width: 768px) {
  .silktheme_image_caption {
    left: -1.5rem;
    transform: none;
    width: auto;
    max-width: 20rem;
    text-align: left;
  }
}

/* Therapie */
.silktheme_section_bg_alt {
  background-color: #f8f5f2;
}
.silktheme_center_header {
  text-align: center;
  margin-bottom: 3rem;
}
.silktheme_icon_badge {
  display: inline-flex;
  padding: 0.375rem;
  border-radius: 9999px;
  background-color: var(--silktheme-primary-light);
  color: var(--silktheme-primary);
  margin-bottom: 0.75rem;
}
.silktheme_subheading {
  color: var(--silktheme-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

/* Certificate / Gallery Scroll */
.silktheme_cert_scroll_container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem; /* Space for scrollbar */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.silktheme_cert_scroll_container::-webkit-scrollbar {
  height: 6px;
}
.silktheme_cert_scroll_container::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 4px;
}

.silktheme_cert_img {
  height: 300px; /* Taller height */
  width: auto;
  max-width: none; /* Allow natural width based on height */
  border-radius: 0.5rem;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  object-fit: contain;
  background-color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.silktheme_cert_img:hover {
  transform: scale(1.02);
}

/* Lightbox Modal */
.silktheme_lightbox_modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex; /* Flex to center */
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.silktheme_lightbox_modal.active {
  opacity: 1;
  pointer-events: auto;
}
.silktheme_lightbox_img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.silktheme_lightbox_close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
}
.silktheme_lightbox_close svg {
  width: 100%;
  height: 100%;
}

.silktheme_grid_cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .silktheme_grid_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .silktheme_grid_cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.silktheme_card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--silktheme-primary);
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .silktheme_card {
    padding: 2rem;
  }
}
.silktheme_card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.silktheme_card_icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--silktheme-primary-light);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silktheme-primary);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}
.silktheme_card:hover .silktheme_card_icon {
  transform: scale(1.1);
}

.silktheme_card_title {
  font-family: var(--silktheme-font-serif);
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
.silktheme_card_text {
  font-weight: 300;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.625;
}

/* Methods */
.silktheme_methods_header {
  font-family: var(--silktheme-font-serif);
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 3rem;
}
.silktheme_method_row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .silktheme_method_row {
    flex-direction: row;
    gap: 3rem;
  }
}
.silktheme_method_row_reverse {
  flex-direction: column;
}
@media (min-width: 768px) {
  .silktheme_method_row_reverse {
    flex-direction: row-reverse;
  }
}

.silktheme_method_img_wrapper {
  width: 100%;
}
@media (min-width: 768px) {
  .silktheme_method_img_wrapper {
    width: 50%;
  }
}

.silktheme_method_img_inner {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: block;
  height: auto;  /* Fixed height for consistency */
}

.silktheme_method_img_inner.dr-hochkbild{
  max-height: 400px;
  width: fit-content;
}

@media (max-width: 700px) {
  .silktheme_method_img.dr-hochkbild {
    width: auto;
    height: auto !important;
}
	
	.silktheme_method_img_inner.dr-hochkbild {
    max-height: 100% !important;
    height: auto !important;
  }
}


.silktheme_method_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

.silktheme_method_img.dr-hochkbild {
  width: auto;
  max-height: 400px;
  object-fit: cover !important;
  object-position: center;
}

.drfloatright{
	float: right;
}

.drfloatleft{
	float: left;
}

/* Lightbox Modal Styles */
#silktheme-lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.silktheme-lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#silktheme-lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

#silktheme-lightbox-close:hover,
#silktheme-lightbox-close:focus {
  color: var(--silktheme-primary);
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .silktheme-lightbox-content {
    width: 100%;
  }
  .silktheme_method_img_inner {
    height: auto;
  }
}
.silktheme_method_img_inner:hover .silktheme_method_img {
  transform: scale(1.05);
}

.silktheme_method_txt {
  width: 100%;
}
@media (min-width: 768px) {
  .silktheme_method_txt {
    width: 50%;
  }
}

.silktheme_method_title {
  font-family: var(--silktheme-font-serif);
  font-size: 1.5rem;
  color: var(--silktheme-primary);
  margin-bottom: 1rem;
}
.silktheme_method_desc {
  font-weight: 300;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}
.silktheme_check_list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.silktheme_check_item {
  display: flex;
  align-items: flex-start; /* md:items-center */
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #374151;
}
@media (min-width: 768px) {
  .silktheme_check_item {
    align-items: center;
  }
}

/* Kinder */
.silktheme_section_border_y {
  border-top: 1px solid #ebdce6;
  border-bottom: 1px solid #ebdce6;
}
.silktheme_container_narrow {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.silktheme_kinder_text {
  max-width: 48rem;
  margin: 0 auto 2rem auto;
  font-weight: 300;
  color: #4b5563;
}
.silktheme_tag_cloud {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.silktheme_tag {
  padding: 0.375rem 0.75rem;
  background-color: #f9fafb;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .silktheme_tag {
    padding: 0.5rem 1rem;
  }
}

/* Ablauf (Organizer) */
.silktheme_organizer_card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #f3f4f6;
}
.silktheme_organizer_grid {
  display: grid;
}
@media (min-width: 768px) {
  .silktheme_organizer_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.silktheme_organizer_col {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .silktheme_organizer_col {
    padding: 2rem;
    border-right: 1px solid #f3f4f6;
  }
}
.silktheme_organizer_col:last-child {
  border-right: none;
  background-color: rgba(252, 235, 244, 0.3);
} /* primary-light/30 */

.silktheme_organizer_title {
  font-family: var(--silktheme-font-serif);
  font-size: 1.25rem;
  color: var(--silktheme-primary);
  margin-bottom: 1rem;
}
.silktheme_organizer_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #4b5563;
}
.silktheme_organizer_item {
  display: flex;
  gap: 0.75rem;
}
