/* Blog Excerpt Blockquote */
.excerpt-blockquote {
  position: relative;
  background-color: #fafafa;
  border: none;
  padding: 2.5rem 2.5rem 2rem 1.7rem;
  font-family: 'Lato', sans-serif;
  font-size: 16px !important;
  color: #222222;
  line-height: 1.8;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 2.5rem 0;
  text-align: justify !important;
  font-style: normal !important;
}

/* Big opening quote (top left) */
.excerpt-blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 0.5rem;
  font-size: 90px;
  color: #c2c2c2;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  pointer-events: none;
}

/* Paragraphs inside the blockquote */
.excerpt-blockquote p {
  margin: 0 0 1rem 0;
  padding-left: 1.7rem;
}

/* Credit / Author — separate paragraph block */
p.excerpt-credit {
  font-style: italic;
  font-family: 'Lato', sans-serif;
  padding-left: 1.7rem;
  background-color: #fafafa;
  text-align: left !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

p.excerpt-blockquote span.excerpt-credit {
  font-size: 15px !important;
}

/* ----- All Contact Form 7 Forms ----- */

/* Padding between label text and input, and between field blocks */
.wpcf7-form label .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;    /* space between label text and input */
    margin-bottom: 10px; /* space after each field block */
}

/* Field widths */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    width: 50%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Textareas wider */
.wpcf7-form textarea {
    width: 90%;
}

/* Focus style – pastel green halo */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #e9fdc5;
    box-shadow: 0 0 0 2px rgba(160, 185, 170, 0.25);
}

/* Submit button styling */
.wpcf7-form .wpcf7-submit {
    background-color: #575760;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #2ac1f2;
    transform: scale(1.05);
}
/* Space between radio/checkbox button and its label text */
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    margin-right: 3px;      /* space between button and text */
    vertical-align: middle; /* aligns nicely with text */
}

/* Sidebar Map Styling */
.sidebar-map {
  width: 100%;               /* Full width of sidebar */
  max-width: 350px;          /* Optional max width */
  position: relative;        /* Needed for intrinsic ratio trick */
  padding-bottom: 75%;       /* 4:3 ratio -> 3/4 = 0.75 */
  border-radius: 8px;        /* Rounded corners */
  overflow: hidden;          /* Ensures iframe stays inside box */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow */
  margin: 1rem 0;            /* Optional spacing */
}

.sidebar-map iframe {
  position: absolute;        /* Position inside the container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;                 /* Remove default iframe border */
}

/* Hide this sidebar block only on the Contact page */
.page-id-160 #block-11 {
    display: none;
}
/* GLOBAL BUTTON STYLING */


/* Base button style */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.gb-button,
a.button,
a.wp-block-button__link {

    background-color: #575760 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 28px;
    border: none !important;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* Hover state */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.gb-button:hover,
a.button:hover,
a.wp-block-button__link:hover {

    background-color: #2ac1f2 !important;
    transform: scale(1.05);
}

/* Universal anchor offset fix for fixed/sticky header */
:target {
  scroll-margin-top: 80px;
}

/* English Imprint - Hide Practice Locations widget */
.page-id-118 #block-11 {
    display: none;
}

/* German Impressum - Hide Praxisstandorte widget */
.page-id-1601 #block-12 {
    display: none;
}

/* About page - fix portrait photo wrapping on mobile */
@media (max-width: 600px) {
  .page-id-95 .wp-block-image figure.alignleft,
  .page-id-95 .wp-block-image figure.alignright {
    float: none !important;
    margin: 0 0 1.5em 0 !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  .page-id-95 .wp-block-image figure.alignleft img,
  .page-id-95 .wp-block-image figure.alignright img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Über-Seite - Foto-Umbruch auf Mobilgeräten beheben */
@media (max-width: 600px) {
  .page-id-1333 .wp-block-image figure.alignleft,
  .page-id-1333 .wp-block-image figure.alignright {
    float: none !important;
    margin: 0 0 1.5em 0 !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  .page-id-1333 .wp-block-image figure.alignleft img,
  .page-id-1333 .wp-block-image figure.alignright img {
    width: 100% !important;
    height: auto !important;
  }
}