/*
Theme Name: ZMK Chirurgie Custom
Theme URI: https://mkg-berlinkreuzberg.de
Description: Custom theme for Dr. Branko Šiniković – MKG Chirurgie Berlin
Author: Adam Kahirov
Version: 3.0
License: All Rights Reserved
Text Domain: zmkg-custom
*/

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
  --color-primary: #c8d6e5;
  --color-primary-light: #a0b4c8;
  --color-accent: #5b9aab;
  --color-accent-hover: #6db3c4;
  --color-gold: #c9a84c;
  --color-text: rgba(255,255,255,0.90);
  --color-text-light: rgba(255,255,255,0.65);
  --color-bg: #0e2a33;
  --color-bg-alt: #123640;
  --color-bg-card: #163040;
  --color-bg-dark: #0b2028;
  --color-border: rgba(255,255,255,0.08);

  --font-heading: 'Arial', Helvetica, sans-serif;
  --font-body: 'Arial', Helvetica, sans-serif;

  --section-padding: clamp(3.5rem, 6vw, 6rem) 0;
  --container-max: 1560px;
  --radius: 6px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

/* ============================================
   CONTAINER
   ============================================ */
.zmkg-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 42, 51, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.site-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6rem;
  text-decoration: none !important;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
}

.site-logo img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}

.site-logo-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.header-phone {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-accent);
}

/* Header CTA (Doctolib) */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.header-nav a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .header-nav,
  body .header-nav,
  .site-header .header-nav,
  body .site-header .header-nav {
    display: none !important;
  }

  .header-phone,
  body .header-phone {
    display: none !important;
  }

  .header-right,
  body .header-right {
    gap: 0.5rem !important;
  }

  .site-logo img {
    height: 60px;
  }

  .site-logo-name {
    font-size: 0.95rem;
  }
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}

.lang-dropdown-trigger:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.lang-dropdown-trigger img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-chevron {
  transition: transform var(--transition);
  margin-left: 0.1rem;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 100px;
  z-index: 1001;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.lang-dropdown.open .lang-dropdown-menu {
  display: flex;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lang-btn:last-child {
  border-bottom: none;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.lang-btn.active {
  background: rgba(91, 154, 171, 0.2);
  color: #fff;
}

.lang-btn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: blur(0.5px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 42, 51, 0.78) 0%,
    rgba(14, 42, 51, 0.62) 50%,
    rgba(14, 42, 51, 0.75) 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(91, 154, 171, 0.08) 0%,
    transparent 70%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 154, 171, 0.3),
    transparent
  );
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0 3rem;
  width: 100%;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
  overflow: visible;
}

.hero-content h1 span {
  display: block;
  font-size: 0.5em;
  font-weight: 400;
  color: var(--color-accent);
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.9;
  margin-top: 1.2rem;
}

.hero-divider {
  width: 50px;
  height: 2px;
  background: var(--color-accent);
  margin: 1.5rem 0;
}

.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-portrait img {
  max-height: 500px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  object-fit: cover;
  position: relative;
  z-index: 5;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-with-bg {
  position: relative;
  overflow: hidden;
}

.section-with-bg > .zmkg-container {
  position: relative;
  z-index: 2;
}

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

.section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(0.5px);
}

.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 54, 64, 0.88);
}

.section-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

/* ============================================
   WELCOME / ABOUT
   ============================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.welcome-text p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
  font-size: 1.2rem;
}

.welcome-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91, 154, 171, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ============================================
   INTERPLAST / INDIA GALLERY
   ============================================ */
.interplast-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 2rem;
}

.interplast-gallery figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.interplast-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.interplast-gallery figure:hover img {
  transform: scale(1.03);
}

.interplast-credit {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   SURGERY IMAGE SECTION
   ============================================ */
.surgery-image-section {
  position: relative;
  overflow: hidden;
}

.surgery-image-section img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.surgery-image-section .overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 25, 35, 0.1),
    rgba(15, 25, 35, 0.5)
  );
}

/* ============================================
   MEMBERSHIPS
   ============================================ */
.memberships-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.memberships-logos figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

.memberships-logos img {
  height: 80px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
  filter: brightness(0) invert(1);
}

.memberships-logos img:hover {
  opacity: 1;
}

/* ============================================
   CONTACT TABS
   ============================================ */
.contact-tabs {
  margin-top: 2rem;
}

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

.tab-nav-btn {
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tab-nav-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.tab-nav-btn.active {
  color: var(--color-accent);
}

.tab-nav-btn.active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  padding: 2rem 0;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.tab-panel .btn {
  display: inline-block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* CF7 Form */
.zmkg-form {
  max-width: 100%;
  margin: 0 auto;
}

.zmkg-form .wpcf7-form {
  max-width: 100%;
}

.zmkg-form .wpcf7-form p {
  text-align: left !important;
  margin-bottom: 1.2rem;
}

.zmkg-form .wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
}

.zmkg-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.zmkg-form .wpcf7-form input[type="text"],
.zmkg-form .wpcf7-form input[type="email"],
.zmkg-form .wpcf7-form input[type="tel"],
.zmkg-form .wpcf7-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--color-bg-card);
  color: var(--color-text);
}

.zmkg-form .wpcf7-form input:focus,
.zmkg-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(91, 154, 171, 0.15);
}

.zmkg-form .wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.zmkg-form .wpcf7-form input[type="submit"] {
  display: block !important;
  margin: 1.5rem auto 0 !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.8rem 2.5rem !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
}

.zmkg-form .wpcf7-form input[type="submit"]:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.ssl-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 2rem;
}

/* ============================================
   ACCORDION
   ============================================ */
.zmkg-accordion {
  max-width: 100%;
  margin: 2rem auto 0;
  text-align: left;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--color-bg-card);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: background var(--transition);
}

.accordion-trigger:hover {
  background: rgba(255,255,255,0.06);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  transition: max-height 0.25s ease;
}

.accordion-item.open > .accordion-body {
  padding: 0 1.5rem 1.2rem;
}

.accordion-body p {
  margin-bottom: 0.8rem;
}

.accordion-nested {
  margin-top: 0.8rem;
}

.accordion-nested .accordion-item {
  border-color: rgba(255,255,255,0.05);
}

.accordion-nested .accordion-trigger {
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
  border-top: 1px solid var(--color-border);
}

.site-footer .section-label {
  color: var(--color-accent);
}

.site-footer .section-title {
  color: #fff;
}

.footer-tabs {
  margin-top: 2rem;
}

.footer-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 2rem;
}

.footer-tab-btn {
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.footer-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.footer-tab-btn.active {
  color: #fff;
}

.footer-tab-btn.active::after {
  transform: scaleX(1);
}

.footer-panel {
  display: none;
}

.footer-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.practice-info {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.practice-hours,
.practice-address {
  flex: 1;
  min-width: 200px;
}

.practice-hours h4,
.practice-address h4 {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hours-table {
  border-collapse: collapse;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

.hours-table td {
  padding: 0.1rem 0;
}

.hours-table td:first-child {
  padding-right: 1.5rem;
  white-space: nowrap;
}

.practice-hours p,
.practice-address p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.8;
}

.practice-address a {
  color: rgba(255,255,255,0.75);
}

.practice-address a:hover {
  color: var(--color-accent);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: clamp(240px, 30vw, 360px);
  border: 0;
}

.footer-cta {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.clinic-info p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.clinic-details {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.clinic-details p {
  text-align: left;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.page-content {
  padding: 10rem 0 5rem;
}

.page-content h1 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: #fff;
}

.page-content .entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.page-content .entry-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 0.8rem;
  color: var(--color-primary);
}

.page-content .entry-content p {
  margin-bottom: 1rem;
}

.page-content .entry-content h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--color-primary);
}

.page-content .entry-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.page-content .entry-content ul li {
  margin-bottom: 0.3rem;
}

.page-content .entry-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content .entry-content a:hover {
  color: var(--color-accent-hover);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 2.5rem;
    padding-top: 7rem;
  }

  .welcome-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }

  .header-nav a {
    font-size: 0.8rem;
  }

  .header-right {
    gap: 0.6rem;
  }

  .header-phone {
    display: none;
  }

  .site-logo-name {
    font-size: 0.9rem;
  }

  .site-logo img {
    height: 55px;
  }

  .header-nav a {
    font-size: 0.75rem;
  }

  .header-cta {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 6.5rem 0 2rem;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-portrait {
    order: -1;
  }

  .hero-portrait img {
    max-height: 320px !important;
    border-radius: 12px !important;
    margin: 0 auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .welcome-image {
    order: -1;
  }

  .welcome-text {
    text-align: center;
  }

  .welcome-text .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .zmkg-form .form-grid {
    grid-template-columns: 1fr;
  }

  .tab-nav,
  .footer-tab-nav {
    flex-wrap: wrap;
  }

  .tab-nav-btn {
    text-align: left;
    border-bottom: 1px solid var(--color-border);
  }

  .tab-nav-btn::after { display: none; }

  .footer-tab-btn {
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .practice-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .memberships-logos {
    gap: 1.5rem;
  }

  .memberships-logos img {
    height: 55px;
  }

  .interplast-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .surgery-image-section img {
    height: 250px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .footer-bottom {
    padding: 1.5rem 0;
  }

  .header-cta {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }

}

/* Small phones */
@media (max-width: 480px) {
  .interplast-gallery {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h1 span {
    font-size: 0.5em;
  }

  .hero-portrait img {
    max-height: 260px;
  }

  .hero-content p {
    font-size: 0.88rem;
  }

  .site-logo-name {
    display: none;
  }

  .lang-dropdown-trigger span {
    display: none;
  }

  .accordion-trigger {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }

  .tab-nav-btn,
  .footer-tab-btn {
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
  }
}

/* ============================================
   WORDPRESS OVERRIDES
   Forces our styles over WP defaults
   ============================================ */
body .site-header .lang-btn img,
body .site-header .lang-dropdown-trigger img,
.lang-btn img,
.lang-dropdown-trigger img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important;
}

body .site-header .site-logo img,
.site-logo img {
  height: 80px !important;
  width: auto !important;
  max-height: 80px !important;
}

body .site-header .site-logo,
.site-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6rem !important;
  text-decoration: none !important;
  flex-wrap: nowrap !important;
}

body .memberships-logos img {
  height: 80px !important;
  width: auto !important;
  max-height: 80px !important;
}

body .hero-portrait {
  position: relative !important;
  z-index: 5 !important;
}

body .hero-portrait img {
  max-height: 500px !important;
  width: auto !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  position: relative !important;
  z-index: 5 !important;
}

body .hero-inner {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
}

@media (max-width: 1024px) {
  body .hero-inner {
    grid-template-columns: 1.2fr 0.8fr !important;
  }
}

@media (max-width: 768px) {
  body .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 5rem 0 2rem !important;
    gap: 2rem !important;
  }
  body .welcome-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  body .hero-portrait {
    order: -1;
  }
  body .welcome-image {
    order: -1;
  }
  body .site-header .header-nav,
  body .header-nav {
    display: none !important;
  }
  body .site-header .header-phone,
  body .header-phone {
    display: none !important;
  }
  body .header-right {
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }
}

body .welcome-image img {
  width: 100% !important;
  height: auto !important;
}

/* Kill WP default margins/paddings on our theme elements */
body .site-header,
body .hero,
body .section,
body .site-footer {
  margin: 0 !important;
}

/* Ensure WP admin bar doesn't break fixed header */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  body .site-header .site-logo img,
  .site-logo img {
    height: 60px !important;
    max-height: 60px !important;
  }

  body .memberships-logos img {
    height: 55px !important;
    max-height: 55px !important;
  }

  body .hero-portrait img {
    max-height: 300px !important;
    position: relative !important;
    z-index: 5 !important;
  }
}
