/* 
Reset CSS 
*/

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

.container {
  --container-gap: 90px;
  max-width: 100%;
  padding-inline: 10px;
}


@media (min-width: 768px) {
  .container {
    padding-inline: 22px;
  }
}





.container>*+* {
  margin-top: var(--container-gap);
}

.container.no-gap,
.no-gap {
  --container-gap: 0;
}

.container.s-gap,
.s-gap {
  --container-gap: 20px;
}


.wrap1 {
  width: 80%;
  margin-inline: auto;
}

.wrap2 {
  width: 70%;
  margin-inline: auto;
}

.wrap-marg {
  margin-top: 90px;
  margin-bottom: 90px;
}

.panel-line {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--wp--preset--color--border-2, #53504833);
}


input.hero {
  padding: 16px 20px;
  background-color: var(--wp--preset--color--surface-2);
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
}

input.hero::placeholder {
  font-family: Inter Tight;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: var(--wp--preset--color--black);
}

.brb {
  border-radius: var(--wp--preset--border-radius--base);
}

.brlg {
  border-radius: var(--wp--preset--border-radius--lg);
}

/* 
  NAVIGATION STYLING START
*/

.menu-list,
.menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 30px;
}


.menu-list>li {
  position: relative;
}


.menu-list>li>a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: black;
}


.menu-list.has_child {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 260px;
  background: var(--wp--preset--color--surface-1);
  /* Increased width for 2 columns */
  border-radius: var(--wp--preset--border-radius--lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  z-index: 9999;
}

/* SHOW SUBMENU */
.has_submenu:hover>.has_child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* SUBMENU LINKS */
.menu-list.has_child>li>a {
  display: block;
  color: var(--wp--preset--color--black);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0;
}

/* HOVER STATES */
.menu-list>li>a:hover {
  color: #c47d5e;
  background: transparent;
}

/* Submenu item hover */
.menu-list.has_child>li>a:hover {
  color: #c47d5e;
  background: transparent;
}


/* DROPDOWN ICON */
.menu-list>.has_submenu>a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-list>.has_submenu>a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.3s ease;
}

.has_submenu:hover>a::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.mlink {
  display: none;
}

.navbar .gspb_meta_value {
  width: 100%;
}

@media (max-width: 576px) {

  .menu-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

  }

  .menu-list>li>a {
    padding: 0 0 20px 0;
  }

  .menu-list>.has_submenu>a::after {
    width: 15px;
    height: 15px;
  }

  .menu-list:not(.has_child) {
    padding-top: 20px;
    border-top: 1px solid var(--wp--preset--color--border-1);
    border-bottom: 1px solid var(--wp--preset--color--border-1);
  }

  .menu-list:not(.has_child)>li:not(:last-child) {
    border-bottom: 1px solid var(--wp--preset--color--border-1);
  }

  .menu-list.has_child {
    position: static;
    display: none;
    background: transparent;
    padding-left: 0;
    border-radius: unset;
    box-shadow: none;
  }

  .menu-list>.has_submenu.open>.menu-list.has_child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 0;
    /* Optional: Ensure no unexpected gaps overrides margin */
  }

  .menu-list.has_child>li {
    width: 100%;
    /* Ensure they fill the grid cell */
  }

  .menu-list.has_child>li>a {
    font-family: var(--wp--preset--font-family--body-font);
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0 5px 0;
    color: var(--wp--preset--color--gray-10);
  }



  /* Specific color for open parent item */
  /* This requires JS to toggle 'open' class usually, but if we target specific active state: */
  .has_submenu.open>a {
    color: #c47d5e;
  }

  .has_submenu:hover>.has_child {
    display: none;
  }

  .mlink {
    display: block;
  }

  /* Full width list items on mobile */
  .menu-list>li {
    width: 100%;
  }


  /* Push dropdown icon to far right */
  .menu-list>.has_submenu>a {
    justify-content: space-between;
  }
}

/* 
  NAVIGATION STYLING END
*/



.is-style-heading-large {
  font-weight: 400;
  font-size: 60px;
  letter-spacing: -1%;
}

.is-style-surface-7 {
  font-size: var(--wp--preset--font-size--body-7);
  line-height: 130%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}


.is-style-surface-6 {
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
}

.is-style-surface-5 {
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
}

.is-style-surface-3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
}

.is-style-surface-4 {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}

.is-style-sub-base {
  font-weight: 600;
  font-size: 14px;
  line-height: -1.4px;
  letter-spacing: 10%;
  text-transform: uppercase;
}

.gs_button {
      background-color: transparent;
    border-radius: 8px;
    border-color: var(--wp--preset--color--black);
    border-width: 1.2px;
    border-style: solid;
    color: var(--wp--preset--color--black);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--body-7);
    font-style: inherit;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: inherit;
    text-decoration: none;
  padding: 13px 36px;

    text-transform: uppercase;
}

.gs_button_secondary, 
.wp-block-button__link.is-style-dark-btn,
.is-style-dark-btn>.wp-block-button__link {
  
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  font-weight: 500;
  font-size: 13px;
  line-height: 120%;
  letter-spacing: 10%;

}

input.s2 {
  background-color: var(--wp--preset--color--surface-2);
  color: var(--wp--preset--color--gray-500);
}

input.magic {
  color: black;
  line-height: var(--wp--custom--line-height--lg);
  font-weight: 500;
  font-size: 16px;
}

input {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
}

/* Placeholder styling */
input::placeholder {
  color: #9a9a9a;
  font-size: 14px;
}

.is-italic span {
  display: block;
  word-break: break-all;
  font-style: italic;
}

.is-italic-nobreak span {
  font-style: italic;
}

.mbox img {
  border-radius: var(--wp--preset--border-radius--base);
}

.mel-state {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mel-success-title {
  text-align: center;
}

.mel-success-helper {
  color: var(--wp--preset--color--gray-700);
  font-size: 12px;
}

.mel-success-content {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: var(--wp--preset--border-radius--base);
  background-color: var(--wp--preset--color--surface-2);
  color: var(--wp--preset--color--black);
  line-height: var(--wp--custom--line-height--mlg);
  font-size: 14px;
  align-items: center;
  gap: 5px;
}

.mel-success-content strong {
  color: var(--wp--preset--color--secondary-1);
  margin-top: auto;
  word-break: break-all;
  font-weight: 500;
  font-size: 16px;
  line-height: var(--wp--custom--line-height--lg);
}

.mel1 {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.mel2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mel-col {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.mel-input-msg {
  line-height: var(--wp--custom--line-height--xl);
  gap: 15px;
  display: flex;
  flex-direction: column;
}

.mel-footer {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

.mel-footer label {
  display: flex;
  gap: 5px;
  color: #0F172A;
  align-items: center;
  font-size: var(--wp--preset--font-size--body-7);
}

.mel-footer a,
.link-underline a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mel-checkbox {
  padding: 10px 10px;
  appearance: none;
  /* remove default checkbox */
  -webkit-appearance: none;
  border-radius: 4px;
  background-color: #f3f3f3;
  border: 2px solid #87744E;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.mel-checkbox:checked {
  background-color: #87744E;
  border-color: #87744E;
}

/* Checkmark */
.mel-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 3px;
  width: 5px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hover */
.mel-checkbox:hover {
  border-color: #87744E;
}

/* Focus (keyboard accessibility) */
.mel-checkbox:focus-visible {
  outline: 2px solid #87744E;
  outline-offset: 2px;
}



/* ---------------------------------------
   MAIN WRAPPER
--------------------------------------- */
.clinic-procedure-tabs {
  background: #f7f4ec;
  padding: 24px;
  border-radius: 4px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------------------------------
   TABS HEADER
--------------------------------------- */
.procedure-tabs-header {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #dcd8cf;
  margin-bottom: 20px;
}

.procedure-tab-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #6b6b6b;
  position: relative;
}

.procedure-tab-btn.active {
  color: #000;
}

.procedure-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #000;
}

/* ---------------------------------------
   CONTENT AREA
--------------------------------------- */
.procedure-tabs-content {
  background: #efece4;
  padding: 18px 22px;
  border-radius: 4px;
}

/* ---------------------------------------
   PANELS (IMPORTANT PART)
--------------------------------------- */
.procedure-tab-panel {
  display: none;
}


.procedure-tab-panel.active {
  display: block;
}

/* ---------------------------------------
   LIST STYLING
--------------------------------------- */
.procedure-tab-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.procedure-tab-panel li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.procedure-tab-panel li:last-child {
  border-bottom: none;
}

.procedure-tab-panel li span:first-child {
  font-weight: 500;
  color: #000;
}

.procedure-tab-panel li span:last-child {
  color: #d46a4a;
  font-weight: 500;
  white-space: nowrap;
}