body {
  background-color: #F7F8F9;
}

.site-main.mpd-profile-page {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.mpd-profile-page__inner {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.mpd-profile-hero-banner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  min-height: 200px;
  display: flex;
  align-items: end;
  justify-content: center;
  background-color: #1B6079;
  background-image:
    linear-gradient(rgba(15, 80, 103, 0.85), rgba(15, 80, 103, 0.85)),
    var(--mpd-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mpd-profile-hero-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  margin-bottom: 1.5rem;
}

@keyframes mpd-banner-title-rise {
  from {
    opacity: 0;
    transform: translateY(48px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mpd-profile-hero-banner__title {
  font-family: "nexa", Sans-serif !important;
  font-size: 39px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  line-height: 1em !important;
  letter-spacing: 0.22em !important;
  color: #FFFFFF !important;
  margin: 0;
  opacity: 0;
  animation: mpd-banner-title-rise 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .mpd-profile-hero-banner__title {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

.mpd-profile {
  --mpd-teal: #0F5067
  ;
  --mpd-orange: #e67f25;
  --mpd-border: #e6e6e6;
  --mpd-muted: #6f7d89;
  --mpd-bg: #ffffff;
  font-family: "Inter Tight", system-ui, sans-serif;
  color: #294357;
  margin: 5rem;
}

.mpd-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.mpd-profile__main {
  padding: 0;
}

.mpd-profile__hero {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mpd-border);
}

.mpd-profile__image {
  width: 250px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  object-fit: cover;
  height: stretch;
}

.mpd-profile__name {
  margin: 0;
  color: var(--mpd-teal) !important;
  font-size: 41px !important;
  line-height: 1em !important;
  letter-spacing: -1.3px !important;

  font-family: "nexa", Sans-serif !important;
  font-weight: 800 !important;
  text-transform: capitalize !important;
}

.mpd-profile__credentials {
  margin: 4px 0 8px;

  font-family: "nexa", Sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--mpd-teal) !important;
  margin-bottom: 24px;
}

.mpd-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 16px;
  color: var(--mpd-muted);
  margin-bottom: 10px;
}

.mpd-profile__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.mpd-profile__meta-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  color: var(--mpd-orange);
}

.mpd-profile__meta-icon svg { width: 100%; height: 100%; fill: currentColor; }

.mpd-profile__bio, .mpd-profile__section p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #707c88;
}

.mpd-profile__section { margin-top: 32px; }
.mpd-profile__section h2, .mpd-profile__section h3 {
  margin: 0 0 16px;
  color: var(--mpd-teal) !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.mpd-profile__quote {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  border: 1px solid #dddddd;
  border-radius: 16px;
  padding: 16px 24px;
  background-color: #E67F250A;
  width: 60%;
}

.mpd-profile__quote-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 56px;
  color: var(--mpd-orange);
}

.mpd-profile__quote-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.mpd-profile__quote-text {
  margin: 0;
  font-family: "Baskervville", sans-serif;
  font-size: 23px;
  font-weight: 600;
  text-transform: capitalize;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.1px;
  color: #0F5067;
}

.mpd-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mpd-profile__card {
  border: 1px solid var(--mpd-border);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.mpd-profile__card-title {
  font-family: "nexa", Sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: capitalize !important;
  line-height: 1em !important;
  letter-spacing: -1.3px !important;
  color: var(--mpd-teal) !important;
}

.mpd-profile__card-value { font-size: 14px; color: var(--mpd-muted); }

.mpd-profile__grid--client-focus {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mpd-profile__card--icon {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #E67F250A;
  border-radius: 15px;
  border: 1px solid #dddddd;
}

.mpd-profile__card-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  color: var(--mpd-orange);
}

.mpd-profile__card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mpd-profile__card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
}

.mpd-profile__identity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mpd-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mpd-profile__tags-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mpd-profile__tags-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.mpd-profile__tag--overflow {
  display: none;
}

.mpd-profile__tags-group:has(.mpd-profile__tags-toggle:checked) .mpd-profile__tag--overflow {
  display: inline-flex;
}

.mpd-profile__tags-group:has(.mpd-profile__tags-toggle:checked) .mpd-profile__tags-more {
  display: none;
}

.mpd-profile__tags-more {
  color: var(--mpd-teal) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  font-family: "nexa", Sans-serif !important;
}

.mpd-profile__tags span {
  background: var(--mpd-teal);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mpd-profile__tags span.mpd-profile__tag--highlight {
  background: var(--mpd-orange);
}

.mpd-profile__fees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 15%));
  gap: 10px;
}

.mpd-profile__fee {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: center;
  border: 1px solid #dddddd;
  border-radius: 15px;
  padding: 16px;
  background: #fff;
}

.mpd-profile__fee-amount {
  font-family: "nexa", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--mpd-orange);
  margin-bottom: 8px;
}

.mpd-profile__fee-duration {
  font-size: 14px;
  line-height: 1.3;
  color: var(--mpd-muted);
}

.mpd-profile__sidebar {
  position: sticky;
  top: 14px;
}

.mpd-profile__booking {
  border: 1px solid #CFCFCF;
  border-radius: 25px;
  padding: 24px;
  background: #F3F3F3;
}

.mpd-profile__booking h3 {
  margin: 0 0 6px;
  font-size: 24px !important;
  line-height: 1.1 !important;
  color: #1e2f3f !important;
}

.mpd-profile__booking p {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--mpd-muted);
}

.mpd-profile__book-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 999px;
  background: var(--mpd-teal);
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
}

.mpd-profile__view-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #6f7d89;
}

.mpd-profile__view-link:hover {
  color: var(--mpd-teal) !important;
}

@media (max-width: 900px) {
  .mpd-profile__layout {
    grid-template-columns: 1fr;
  }

  .mpd-profile__sidebar {
    position: static;
  }

  .mpd-profile__name { font-size: 30px; }
  .mpd-profile__section h2, .mpd-profile__section h3 { font-size: 26px; }

  .mpd-profile-hero-banner {
    min-height: 200px;
    margin-bottom: 16px;
  }

  .mpd-profile-hero-banner__title {
    font-size: clamp(24px, 6vw, 36px);
    letter-spacing: 0.2em;
  }

  .mpd-profile__quote {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .mpd-profile__hero {
    grid-template-columns: 1fr;
  }

  .mpd-profile__image {
    width: 100%;
    max-width: 240px;
  }

  .mpd-profile__grid,
  .mpd-profile__identity,
  .mpd-profile__fees {
    grid-template-columns: 1fr;
  }

  .mpd-profile-hero-banner__title {
    font-size: 30px !important;
  }

  .mpd-profile-hero-banner {
    min-height: 200px;
  }

  .mpd-profile {
    margin: 2rem;
  }

  .mpd-profile__image {
    max-width: 100%;
  }

  .mpd-profile__quote {
    width: 100%;
  }

  .mpd-profile__quote-text {
    font-size: 18px !important;
  }
}
