/* ==========================================================================
   İSTANBUL AESTHETIC CENTER — REUSABLE UI COMPONENTS
   ========================================================================== */

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* --- Section Titles & Eyebrows --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent-dark);
  margin-bottom: 0.875rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #2563EB, #0EA5E9);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.125rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-title.light {
  color: var(--color-text-inverse);
}

.section-description {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-description.light {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #0284C7 100%);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.48);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border-dark);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-subtle);
  color: var(--color-primary);
}

.badge-gold {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-border-accent);
}

/* --- Service Cards & Universal Responsive Grids --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .card-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.service-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 164, 126, 0.4);
}

.service-card:hover::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.45rem;
  font-family: var(--font-serif);
  margin-bottom: 0.85rem;
  color: var(--color-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 0.75rem;
}

/* --- Doctor Cards --- */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.doctor-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.doctor-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #E2E8F0;
  overflow: hidden;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-image-wrapper img {
  transform: scale(1.03);
}

.doctor-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(13, 23, 39, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.doctor-info {
  padding: 1.75rem;
}

.doctor-name {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.doctor-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.doctor-spec {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Interactive Before & After Slider --- */
.ba-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.ba-slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  border-right: 2px solid #FFFFFF;
}

.ba-overlay .ba-img {
  width: 100%; /* Sized dynamically by slider.js to container width */
  max-width: none;
}

.ba-tag {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: rgba(13, 23, 39, 0.75);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.ba-tag-before {
  left: 1.25rem;
}

.ba-tag-after {
  right: 1.25rem;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  border: 2px solid var(--color-accent);
}

.ba-handle svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* --- VIP Steps Grid --- */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vip-grid {
    grid-template-columns: 1fr;
  }
}

.vip-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-smooth);
}

.vip-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.vip-step-num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.5;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.vip-step-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
}

.vip-step-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- Consultation Form (Wide Luxury 2-Column Layout) --- */
.consultation-box {
  background-color: var(--color-bg-surface);
  border-radius: 24px;
  padding: 3.5rem 4rem;
  box-shadow: 0 20px 50px rgba(13, 23, 39, 0.08);
  border: 1.5px solid var(--color-border);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.consultation-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
  align-items: start;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-col .form-textarea {
  min-height: 125px;
  resize: vertical;
}

.form-col-cta {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-col-cta .btn {
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
}

.form-col-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

@media (max-width: 991px) {
  .consultation-box {
    padding: 2.25rem 1.75rem;
  }
  .consultation-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .consultation-box {
    padding: 1.75rem 1.15rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .consultation-split-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .form-col-cta .btn {
    white-space: normal !important;
    word-break: normal !important;
    text-transform: none !important;
    height: auto !important;
    min-height: 52px !important;
    padding: 0.85rem 1rem !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.35 !important;
    font-size: 0.95rem !important;
  }
  .form-col-cta .btn .btn-submit-text {
    white-space: normal !important;
    display: block !important;
    text-align: center !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
  }
  .doctor-card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .doctor-card-actions .btn {
    width: 100% !important;
    flex: none !important;
    font-size: 0.88rem !important;
    padding: 0.75rem 1rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    justify-content: center !important;
    text-transform: none !important;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* 16px prevents iOS Safari from auto-zooming and overflowing the viewport */
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-disclaimer {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* --- VIP Communication Channel Selector --- */
.channel-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .channel-selector {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .channel-option {
    padding: 0.55rem 0.25rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    gap: 0.25rem !important;
    min-height: 44px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .channel-icon {
    font-size: 0.95rem !important;
  }
}

.channel-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  user-select: none;
}

.channel-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.channel-option:hover {
  border-color: #CBD5E1;
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

.channel-option.active {
  font-weight: 600;
  transform: translateY(-1px);
}

.channel-option.opt-whatsapp.active {
  background-color: #F0FDF4;
  border-color: #16A34A;
  color: #15803D;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.channel-option.opt-phone.active {
  background-color: #EFF6FF;
  border-color: #2563EB;
  color: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.channel-option.opt-email.active {
  background-color: #FFFBEB;
  border-color: #D97706;
  color: #B45309;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
}

.channel-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Email field dynamic status */
.email-field-highlight {
  border-color: #D97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

.form-select optgroup {
  font-weight: 700;
  color: #0D1727;
  background: #F8FAFC;
  padding: 0.5rem;
}

.form-select option {
  font-weight: 400;
  color: #334155;
  background: #FFFFFF;
  padding: 0.4rem 0.5rem;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 500;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   FLOATING VIP CONTACT BUTTONS (WhatsApp Right, Luxury Phone Left)
   ========================================================================== */
.floating-contact-bar {
  display: contents; /* Allows children to be fixed independently on left and right */
}

.floating-btn {
  position: fixed;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 1. WHATSAPP (SAĞ EN ALTA / BOTTOM RIGHT) */
.floating-btn-wa {
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: wa-pulse-ring 2.6s infinite cubic-bezier(0.25, 0, 0, 1);
}

.floating-btn-wa:hover {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 14px 32px -2px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-btn-wa .wa-icon-svg,
.floating-btn-wa svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.floating-btn-wa:hover .wa-icon-svg,
.floating-btn-wa:hover svg {
  transform: scale(1.08);
}

/* 2. TELEFON (SOL EN ALTA / BOTTOM LEFT) */
.floating-btn-phone {
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, #0A192F 0%, #1E3A8A 45%, #2563EB 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.5), 0 4px 12px rgba(13, 23, 39, 0.35);
  animation: phone-pulse-ring 2.6s infinite cubic-bezier(0.25, 0, 0, 1);
}

.floating-btn-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 32px -2px rgba(37, 99, 235, 0.7), 0 6px 16px rgba(13, 23, 39, 0.45);
  background: linear-gradient(135deg, #0D2147 0%, #1D4ED8 50%, #3B82F6 100%);
}

.floating-btn-phone .phone-icon-svg,
.floating-btn-phone svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.floating-btn-phone:hover .phone-icon-svg,
.floating-btn-phone:hover svg {
  animation: phone-ring-wiggle 0.6s ease-in-out infinite;
}

/* Phone wave animation */
.phone-wave {
  animation: phone-wave-pulse 2s infinite ease-in-out;
  transform-origin: center;
}
.phone-wave.wave-2 {
  animation-delay: 0.35s;
}

@keyframes phone-wave-pulse {
  0%, 100% { opacity: 0.35; stroke-width: 1.5; }
  50% { opacity: 1; stroke-width: 2.5; }
}

@keyframes phone-ring-wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(6deg); }
}

/* Pulse rings */
@keyframes wa-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 10px 25px -3px rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 25px -3px rgba(37, 211, 102, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px -3px rgba(37, 211, 102, 0.5);
  }
}

@keyframes phone-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.65), 0 10px 25px -3px rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 99, 235, 0), 0 10px 25px -3px rgba(37, 99, 235, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 10px 25px -3px rgba(37, 99, 235, 0.5);
  }
}

/* Tooltip Badges */
.floating-tooltip {
  position: absolute;
  top: 50%;
  background: rgba(13, 23, 39, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Phone tooltip on left slides to the right */
.floating-btn-phone .floating-tooltip {
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-8px);
}
.floating-btn-phone:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp tooltip on right slides to the left */
.floating-btn-wa .floating-tooltip {
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(8px);
}
.floating-btn-wa:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  .floating-btn-wa {
    bottom: 18px;
    right: 18px;
  }
  .floating-btn-wa .wa-icon-svg,
  .floating-btn-wa svg {
    width: 28px;
    height: 28px;
  }
  .floating-btn-phone {
    bottom: 18px;
    left: 18px;
  }
  .floating-btn-phone .phone-icon-svg,
  .floating-btn-phone svg {
    width: 24px;
    height: 24px;
  }
  .floating-tooltip {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .floating-btn {
    width: 44px;
    height: 44px;
  }
  .floating-btn-wa {
    bottom: 14px;
    right: 12px;
  }
  .floating-btn-wa .wa-icon-svg,
  .floating-btn-wa svg {
    width: 24px;
    height: 24px;
  }
  .floating-btn-phone {
    bottom: 14px;
    left: 12px;
  }
  .floating-btn-phone .phone-icon-svg,
  .floating-btn-phone svg {
    width: 20px;
    height: 20px;
  }
}

/* Gallery Filter Pills & Interactive Cards */
.gallery-filter-btn {
  background: #FAF8F5;
  border: 1px solid #E2D8CC;
  color: #334155;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  background: #FFFFFF;
  border-color: #2563EB;
  color: #2563EB;
}

.gallery-filter-btn.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.gallery-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 23, 39, 0.1) !important;
}

.gallery-item-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-item-card:hover .gallery-zoom-icon {
  background: #2563EB !important;
}

.gallery-item-card:hover .gallery-zoom-icon svg {
  stroke: #FFFFFF !important;
}


/* Doctor Filter Buttons & Cards — Ultra Luxury Spacious Layout */
.doctors-catalog-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.doctors-catalog-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 2.5rem !important;
  margin-top: 1rem;
}

.doctors-catalog-grid .doctor-card {
  flex: 0 1 calc(33.333% - 1.75rem);
  min-width: 380px;
  max-width: 440px;
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px -10px rgba(13, 23, 39, 0.07) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

@media (max-width: 1250px) and (min-width: 820px) {
  .doctors-catalog-grid .doctor-card {
    flex: 0 1 calc(50% - 1.5rem);
    min-width: 350px;
    max-width: 480px;
  }
}

@media (max-width: 819px) {
  .doctors-catalog-grid .doctor-card {
    flex: 0 1 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .doctors-catalog-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.doctors-catalog-grid .doctor-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 50px -12px rgba(13, 23, 39, 0.16) !important;
  border-color: rgba(197, 164, 126, 0.65) !important;
}

.doctor-filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  padding: 0.5rem;
}

.doctor-filter-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 23, 39, 0.04);
}

.doctor-filter-btn:hover {
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.doctor-filter-btn.active {
  background: #0D1727;
  border-color: #C5A47E;
  color: #F8FAFC;
  box-shadow: 0 6px 20px rgba(13, 23, 39, 0.2);
}

/* ==========================================================================
   COOKIE CONSENT BANNER (KVKK & GDPR COMPLIANT)
   ========================================================================== */
.cookie-consent-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 48px);
  max-width: 980px;
  background: rgba(13, 23, 39, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(37, 99, 235, 0.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.cookie-consent-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.cookie-icon {
  font-size: 2rem;
  line-height: 1;
}

.cookie-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.cookie-text p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: #60A5FA;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cookie-text a:hover {
  color: #93C5FD;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.65rem 1.25rem !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .cookie-consent-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
  }
  
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-actions button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 96px;
  right: 29px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0D1727;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(13, 23, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 76px;
    right: 22px;
    width: 38px;
    height: 38px;
  }
  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   LEGAL & PATIENT CHARTER STYLES
   ========================================================================== */
.legal-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 12px 36px rgba(13, 23, 39, 0.04);
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid rgba(37, 99, 235, 0.2);
}

.legal-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
}

.legal-list {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #334155;
  line-height: 1.8;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.925rem;
}

.legal-table th, .legal-table td {
  padding: 0.85rem 1rem;
  border: 1px solid #E2E8F0;
  text-align: left;
}

.legal-table th {
  background: #F8FAFC;
  color: #0F172A;
  font-weight: 700;
}

.legal-table tr:nth-child(even) {
  background: #FAFAFA;
}

@media (max-width: 768px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

/* 404 Hero Styles */
.error-404-wrapper {
  text-align: center;
  padding: 6rem 1.5rem;
}

.error-404-code {
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #0D1727 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
  }
  .error-404-code {
    font-size: 5rem;
  }
}

/* ==========================================================================
   EDITORIAL MASTER BLOG & AEO/GEO ARTICLE SYSTEM
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #0EA5E9, #38BDF8);
  z-index: 10005;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.7);
  transition: width 0.1s ease;
}

/* Article Hero Banner */
.article-hero {
  background: linear-gradient(145deg, #070D18 0%, #0D1727 60%, #132238 100%);
  color: #FFFFFF;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.article-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.meta-badge-aeo {
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(14, 165, 233, 0.4);
}

.meta-badge-medical {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.meta-badge-time {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.article-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.article-lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 860px;
}

/* Medical Editorial Author Strip */
.article-author-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-group {
  display: flex;
  align-items: center;
}

.author-avatar-group img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #0D1727;
  object-fit: cover;
  margin-left: -10px;
}

.author-avatar-group img:first-child {
  margin-left: 0;
}

.author-info-text strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.author-info-text span {
  font-size: 0.8rem;
  color: #94A3B8;
}

.article-update-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #38BDF8;
  background: rgba(14, 165, 233, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

/* 2-Column Article Layout */
.article-grid-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1080px) {
  .article-grid-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .article-sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 1.15rem 1rem !important;
    margin-bottom: 1.75rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sidebar-title {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0.75rem;
  }
  .article-sidebar.is-collapsed .sidebar-title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .article-sidebar.is-collapsed .toc-nav-list,
  .article-sidebar.is-collapsed .sidebar-cta-box {
    display: none;
  }
  .article-body-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* Sticky Sidebar Table of Contents (Desktop) */
.article-sidebar {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

.sidebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0F172A;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #0EA5E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-nav-list a {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
  border-left: 2px solid transparent;
}

.toc-nav-list a:hover {
  color: #0284C7;
  background: #F0F9FF;
  border-left-color: #0EA5E9;
  padding-left: 0.85rem;
}

.sidebar-cta-box {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #0D1727, #1E293B);
  color: #FFFFFF;
  border-radius: 12px;
  text-align: center;
}

.sidebar-cta-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #38BDF8;
}

.sidebar-cta-box p {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Article Body Content */
.article-body-content {
  color: #1E293B;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body-content p {
  margin-bottom: 1.4rem;
  color: #334155;
}

.article-body-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #0D1727;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  scroll-margin-top: 120px;
}

.article-body-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 120px;
}

.article-body-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563EB;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

/* AEO Direct Answer / Executive Summary Box */
.aeo-direct-answer {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1.5px solid #38BDF8;
  border-left: 6px solid #0284C7;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.aeo-answer-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  width: 100%;
}

.aeo-tag {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.aeo-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0C4A6E;
  margin: 0;
  border: none;
  padding: 0;
  line-height: 1.35;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.aeo-desc {
  color: #0F172A;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.aeo-bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #0369A1;
  font-size: 0.95rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.aeo-bullet-list li {
  line-height: 1.55;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Article Sections */
.article-section {
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.article-section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #0D1727;
  margin-bottom: 1rem;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.5rem;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-section-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0284C7;
  text-align: right;
  margin-bottom: 0.4rem;
}

/* Clinical Doctor Quote Box */
.clinical-quote-card {
  background: #FFFFFF;
  border-left: 4px solid #F59E0B;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-top: 1px solid #F1F5F9;
  border-right: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}

.clinical-quote-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #1E293B;
  margin: 0 0 0.85rem 0;
}

.quote-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #B45309;
}

.quote-author-title {
  font-size: 0.78rem;
  color: #64748B;
  margin-left: 0.5rem;
}

/* Master Comparison Table */
.master-table-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow-x: auto;
  margin: 2.5rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.master-comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.master-comp-table th {
  background: #0D1727;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1.1rem 1rem;
  border-bottom: 2px solid #0EA5E9;
}

.master-comp-table td {
  padding: 1rem 1rem;
  font-size: 0.9rem;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.master-comp-table tr:hover td {
  background: #F8FAFC;
}

.table-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.table-badge-primary { background: #EFF6FF; color: #1D4ED8; }
.table-badge-success { background: #ECFDF5; color: #047857; }
.table-badge-amber { background: #FFFBEB; color: #B45309; }

/* Timeline Step Cards */
.recovery-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-phase-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-phase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.step-phase-number {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0284C7;
  background: #E0F2FE;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.step-phase-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.step-phase-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* FAQ Accordion / Cards */
.article-faq-container {
  margin: 3rem 0;
}

.faq-rich-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.faq-rich-card:hover {
  border-color: #38BDF8;
}

.faq-rich-q {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.faq-q-icon {
  color: #0284C7;
  font-weight: 900;
}

.faq-rich-a {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

/* Medical Disclaimer Card */
.article-disclaimer-card {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 3rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #991B1B;
}

.article-disclaimer-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #7F1D1D;
}

/* ==========================================================================
   ULTRA-LUXURY AESTHETIC BLOG CARDS & CLINICAL MEDIA SHOWCASE
   Designed to international A++ surgical hospital standards
   ========================================================================== */

.blog-article-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04), 0 2px 6px -2px rgba(15, 23, 42, 0.02);
  position: relative;
  height: 100%;
}

.blog-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
}

/* --------------------------------------------------------------------------
   Bespoke Clinical Department & Procedure Showcase Header
   Replaces stock photos with dignified, specialty-tailored typographic banners
   -------------------------------------------------------------------------- */
.blog-card-banner {
  position: relative;
  width: 100%;
  min-height: 175px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: filter 0.3s ease;
}

.blog-article-card:hover .blog-card-banner {
  filter: brightness(1.05);
}

.blog-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.blog-banner-cat {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-banner-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: #E2E8F0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-banner-center {
  position: relative;
  z-index: 2;
  margin: 0.85rem 0 0.5rem 0;
}

.blog-banner-dept {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--banner-accent, #38BDF8);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-banner-proc {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.blog-banner-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-banner-trust {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Atmospheric Glyph Watermark in the background */
.blog-banner-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  line-height: 1;
  font-family: var(--font-sans);
}

/* Detail Page Hero Banner */
.blog-detail-featured-banner {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  margin: 2rem 0 2.5rem 0;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.blog-banner-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.blog-banner-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.blog-banner-center {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.blog-banner-dept {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--banner-accent, #38BDF8);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.blog-banner-proc {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.blog-banner-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-banner-time {
  background: rgba(0, 0, 0, 0.25);
  color: #E2E8F0;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-banner-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #F8FAFC;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-banner-trust-badge-sec {
  background: rgba(255, 255, 255, 0.1);
  color: #F1F5F9;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card Body */
.blog-card-body {
  padding: 1.6rem 1.75rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0F172A;
  margin: 0 0 0.75rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.blog-article-card:hover .blog-card-title {
  color: #0284C7;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Card Footer */
.blog-card-footer {
  padding: 1rem 1.75rem 1.4rem 1.75rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #FFFFFF;
}

.blog-card-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.blog-card-avatar,
.card-grid .blog-card-avatar,
.card-grid img.blog-card-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: block !important;
  border: 2px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.blog-card-author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.blog-card-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card-date {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
}

.blog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0284C7;
  background: #F0F9FF;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid #BAE6FD;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.blog-card-btn .btn-arrow {
  transition: transform 0.25s ease;
  font-size: 0.9rem;
}

.blog-article-card:hover .blog-card-btn {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.blog-article-card:hover .blog-card-btn .btn-arrow {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .blog-card-footer {
    padding: 0.85rem 1.1rem 1.1rem 1.1rem;
    gap: 0.6rem;
  }
  .blog-card-author-wrap {
    gap: 0.5rem;
  }
  .blog-card-avatar,
  .card-grid .blog-card-avatar,
  .card-grid img.blog-card-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .blog-card-author-name {
    font-size: 0.78rem;
  }
  .blog-card-date {
    font-size: 0.68rem;
  }
  .blog-card-btn {
    padding: 0.42rem 0.8rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
}

@media (max-width: 380px) {
  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .blog-card-author-wrap {
    width: 100%;
  }
  .blog-card-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Detail Page Hero Media Container */
.blog-detail-featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0 3rem 0;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

@media (max-width: 768px) {
  .blog-detail-featured-media {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    margin: 1.5rem 0 2rem 0;
  }
}

.blog-detail-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-detail-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   BLOG DETAIL COMPREHENSIVE RESPONSIVE SYSTEM
   ========================================================================== */
@media (max-width: 992px) {
  .article-hero {
    padding: 3rem 0 2.5rem;
  }
  .article-main-title {
    font-size: clamp(1.65rem, 4.5vw, 2.5rem);
    line-height: 1.24;
    margin-bottom: 1.25rem;
  }
  .article-lead-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 2.25rem 0 2rem;
  }
  .article-meta-badges {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }
  .meta-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.04em;
  }
  .article-main-title {
    font-size: 1.45rem !important;
    line-height: 1.26;
    margin-bottom: 1rem;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .article-lead-paragraph {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .article-author-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 1.15rem;
  }
  .author-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  .author-avatar-group {
    flex-shrink: 0;
  }
  .author-avatar-group img {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .author-info-text strong {
    font-size: 0.85rem;
    line-height: 1.35;
  }
  .author-info-text span {
    font-size: 0.74rem;
    line-height: 1.4;
    display: block;
    color: #94A3B8;
  }
  .article-update-status {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
    box-sizing: border-box;
  }
  
  /* Article Body Typography & Spacing */
  .article-body-content {
    font-size: 0.98rem;
    line-height: 1.75;
    padding-bottom: 4.5rem !important; /* Bottom clearance for floating buttons */
  }
  .article-body-content h2,
  .article-section-title {
    font-size: 1.35rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0.85rem !important;
    scroll-margin-top: 80px;
    flex-wrap: wrap;
    line-height: 1.3;
    word-wrap: break-word !important;
  }
  .article-body-content h3 {
    font-size: 1.15rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.65rem !important;
    scroll-margin-top: 80px;
    line-height: 1.35;
    word-wrap: break-word !important;
  }
  .article-body-content h4 {
    font-size: 1rem !important;
    margin-top: 1.25rem !important;
    line-height: 1.35;
    word-wrap: break-word !important;
  }
  .article-body-content p,
  .article-section-body {
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1.15rem;
    word-wrap: break-word !important;
  }

  /* Dynamic Featured Banner */
  .blog-detail-featured-banner {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
    margin: 1.25rem 0 1.5rem 0 !important;
    min-height: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .blog-banner-proc,
  .blog-banner-title,
  .blog-detail-featured-banner h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
  }
  .blog-banner-watermark {
    display: none !important;
  }
  .blog-banner-cat {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.7rem !important;
  }
  .blog-banner-time {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.65rem !important;
  }
  .blog-banner-top-row,
  .blog-banner-bottom-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .blog-banner-trust-badge-sec {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.72rem !important;
  }

  /* AEO Direct Answer */
  .aeo-direct-answer {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
    margin: 1.25rem 0 1.75rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .aeo-answer-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
  }
  .aeo-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    width: 100% !important;
    word-wrap: break-word !important;
  }
  .aeo-desc,
  .aeo-direct-answer p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.85rem !important;
    word-wrap: break-word !important;
  }
  .aeo-bullet-list {
    padding-left: 1.1rem !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    gap: 0.4rem !important;
    word-wrap: break-word !important;
  }

  /* Clinical Quote Card */
  .clinical-quote-card {
    padding: 1.15rem 1rem !important;
    margin: 1.5rem 0 !important;
    border-left-width: 3px;
    box-sizing: border-box !important;
  }
  .clinical-quote-card blockquote {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  /* Master Table Card */
  .table-scroll-hint {
    display: block !important;
  }
  .master-table-card {
    margin: 1.25rem 0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .master-comp-table {
    min-width: 520px !important;
  }
  .master-comp-table th,
  .master-comp-table td {
    padding: 0.7rem 0.6rem !important;
    font-size: 0.78rem !important;
  }

  /* Recovery Steps Timeline */
  .recovery-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .step-phase-card {
    padding: 1.15rem 1rem !important;
  }

  /* FAQ Rich Cards */
  .article-faq-container {
    margin: 2rem 0 !important;
  }
  .faq-rich-card {
    padding: 1.15rem 1rem !important;
    margin-bottom: 0.75rem !important;
    box-sizing: border-box !important;
  }
  .faq-rich-q {
    font-size: 0.98rem !important;
    line-height: 1.4;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .faq-rich-a {
    font-size: 0.9rem !important;
    line-height: 1.6;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Disclaimer Card */
  .article-disclaimer-card {
    padding: 1.15rem 1rem !important;
    margin-top: 2rem !important;
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Floating Buttons on Mobile */
  .floating-btn {
    width: 48px !important;
    height: 48px !important;
  }
  .floating-btn-wa {
    bottom: 16px !important;
    right: 16px !important;
    z-index: 997 !important;
  }
  .floating-btn-phone {
    bottom: 16px !important;
    left: 16px !important;
    z-index: 997 !important;
  }
  .floating-btn-wa svg,
  .floating-btn-wa .wa-icon-svg {
    width: 26px !important;
    height: 26px !important;
  }
  .floating-btn-phone svg,
  .floating-btn-phone .phone-icon-svg {
    width: 22px !important;
    height: 22px !important;
  }
  .scroll-top-btn {
    bottom: 74px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 998 !important;
  }
}

@media (max-width: 480px) {
  .article-main-title {
    font-size: 1.3rem !important;
    line-height: 1.28;
    word-wrap: break-word !important;
  }
  .author-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .article-hero {
    padding: 1.75rem 0 1.5rem;
  }
  .section-padding {
    padding-top: 2.5rem !important;
    padding-bottom: 5.5rem !important;
  }
  .blog-detail-featured-banner {
    padding: 1.1rem 0.85rem !important;
  }
  .blog-banner-proc {
    font-size: 1.22rem !important;
  }
  .aeo-direct-answer {
    padding: 1rem 0.85rem !important;
  }
  .aeo-title {
    font-size: 1.05rem !important;
  }
  .aeo-desc,
  .aeo-direct-answer p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 380px) {
  .blog-detail-featured-banner {
    padding: 0.95rem 0.75rem !important;
  }
  .blog-banner-proc {
    font-size: 1.12rem !important;
  }
  .aeo-direct-answer {
    padding: 0.9rem 0.75rem !important;
  }
  .aeo-title {
    font-size: 1rem !important;
  }
  .floating-btn {
    width: 44px !important;
    height: 44px !important;
  }
  .floating-btn-wa {
    bottom: 14px !important;
    right: 14px !important;
  }
  .floating-btn-phone {
    bottom: 14px !important;
    left: 14px !important;
  }
}

/* Contact Page Specific Components */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: #FFFFFF;
  border: 1px solid #EAE2D8;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(13, 23, 39, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 23, 39, 0.07);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-icon.icon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.contact-info-content h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #0D1727;
  margin-bottom: 0.35rem;
}

.contact-info-content p {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.contact-airport-card {
  background: linear-gradient(135deg, #070D18 0%, #0D1727 60%, #172554 100%);
  color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(197, 164, 126, 0.35);
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 40px rgba(13, 23, 39, 0.12);
  margin-bottom: 3.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .contact-info-card {
    padding: 1.15rem 1rem !important;
    border-radius: 14px !important;
    gap: 0.85rem !important;
  }
  .contact-info-icon {
    width: 42px !important;
    height: 42px !important;
  }
  .contact-info-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .contact-info-content h4 {
    font-size: 1.05rem !important;
  }
  .contact-info-content p {
    font-size: 0.88rem !important;
  }
  .contact-airport-card {
    padding: 1.35rem 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 2.25rem !important;
  }
  .contact-airport-card h4 {
    font-size: 1.15rem !important;
  }
  .contact-airport-card p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
  }
}

/* Contact Map Card */
.contact-map-card {
  background: #FFFFFF;
  border: 1px solid #EAE2D8;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13, 23, 39, 0.04);
  padding: 2.25rem 2rem;
  margin-top: 3rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .contact-map-card {
    padding: 1.35rem 1rem !important;
    margin-top: 2rem !important;
    border-radius: 14px !important;
  }
}

/* Legal Tables & Responsive Wrappers */
.legal-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}
