/**
 * Transtoyou Doctor Profiles — Frontend Styles v2.1
 *
 * ALL selectors match the actual PHP template output exactly.
 * ALL design tokens from theme.css via --tty-* variables.
 *
 * @version 2.1.0
 */


/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-page,
.tty-dp-archive {
    --dp-accent: var(--tty-primary, #247772);
    --dp-accent-dark: var(--tty-primary-dark, #005f5f);
    --dp-accent-light: var(--tty-primary-bg, #edf7f5);
    --dp-container: 920px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-page {
    font-family: 'Figtree', sans-serif;
    color: var(--tty-text-primary, #2C2C2C);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.tty-dp-container {
    max-width: var(--dp-container);
    margin: 0 auto;
    padding: 0 24px;
}

.tty-dp-section {
    padding: var(--tty-spacing-xl, 80px) 0;
}

.tty-dp-section__heading {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 15px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tty-dp-container h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    font-weight: 700;
}

.tty-dp-container h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, var(--tty-primary), var(--tty-secondary));
    border-radius: 2px;
}

.tty-dp-prose {
    /* no max-width constraint */
}

.tty-dp-prose p {
    margin: 0 0 16px 0;
    color: var(--tty-text-primary, #2C2C2C);
    line-height: 1.7;
}

.tty-dp-prose p:last-child {
    margin-bottom: 0;
}

.tty-dp-prose ul,
.tty-dp-prose ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
    color: var(--tty-text-primary, #2C2C2C);
}

.tty-dp-prose li {
    margin-bottom: 8px;
}

.tty-dp-error {
    text-align: center;
    padding: var(--tty-spacing-xl, 80px) 24px;
    color: var(--tty-text-muted, #56778f);
    font-size: 18px;
}


/* ─── Heartbeat decoration (theme pattern) ──────────────────────────────── */

.tty-dp-heartbeat {
    margin: 15px 0;
    height: 40px;
    display: flex;
    align-items: center;
}

.tty-dp-heartbeat .tty-heartbeat-svg,
.tty-dp-heartbeat svg {
    width: 150px;
    height: 40px;
    fill: none;
}

.tty-dp-heartbeat .tty-heartbeat-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawHeartbeat 2s ease-out forwards, pulseHeartbeat 2s ease-in-out infinite 2s;
}

#dp-treatments-section {
  padding-top: 0px;
  margin-bottom: 80px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   Classes: .tty-dp-hero, __overlay, __container, __content, __badge,
            __name, __title, __registrations, __reg-badge, __flag,
            __photo, __image, __placeholder
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-hero {
    position: relative;
    padding: var(--tty-spacing-xl, 80px) 0 var(--tty-spacing-lg, 40px);
    background: var(--tty-bg-secondary, #edf4f6);
    overflow: hidden;
}

.tty-dp-hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.tty-dp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.85) 0%, rgba(36, 119, 114, 0.75) 100%);
    z-index: 1;
    display: none;
}

.tty-dp-hero[style*="background-image"] .tty-dp-hero__overlay {
    display: block;
}

.tty-dp-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--tty-spacing-lg, 40px);
    align-items: center;
}

.tty-dp-hero__content {
    /* text container */
}

.tty-dp-hero[style*="background-image"] .tty-dp-hero__name,
.tty-dp-hero[style*="background-image"] .tty-dp-hero__title {
    color: var(--tty-text-light, #ffffff);
}

.tty-dp-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--tty-radius-lg, 30px);
    font-size: 13px;
    font-weight: 600;
    color: var(--tty-text-light, #ffffff);
    background: var(--tty-primary, #247772);
    margin-bottom: var(--tty-spacing-sm, 10px);
}

.tty-dp-hero__name {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    color: var(--tty-header-primary, #247772);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
}

.tty-dp-hero__title {
    font-size: 22px;
    color: var(--tty-text-primary, #2C2C2C);
    font-weight: 500;
    margin-bottom: var(--tty-spacing-md, 20px);
}

.tty-dp-hero__registrations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--tty-spacing-sm, 10px);
}

.tty-dp-hero__reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--tty-bg-primary, #ffffff);
    border: 1px solid var(--tty-border-light, #eaeaea);
    border-radius: var(--tty-radius-lg, 30px);
    font-size: 13px;
    font-weight: 500;
    color: var(--tty-text-primary, #2C2C2C);
}

.tty-dp-hero__flag {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.tty-dp-hero__photo {
    text-align: center;
}

.tty-dp-hero__image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--tty-bg-primary, #ffffff);
    box-shadow: var(--tty-shadow-lg, 0px 6px 24px rgba(0, 0, 0, 0.16));
    overflow: hidden;
    display: block;
}

.tty-dp-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tty-dp-hero__placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--tty-bg-tertiary, #f9f9f9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 5px solid var(--tty-bg-primary, #ffffff);
    box-shadow: var(--tty-shadow-lg, 0px 6px 24px rgba(0, 0, 0, 0.16));
}

.tty-dp-hero__placeholder i {
    font-size: 80px;
    color: var(--tty-border-light, #eaeaea);
}


/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
   Classes: .tty-dp-about, .tty-dp-about__content
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-about {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-about__content {
    /* inherits from .tty-dp-prose */
}


/* ═══════════════════════════════════════════════════════════════════════════
   REGISTRATION
   Classes: __cards, __card, __flag (div), __details, __country,
            __status, __badge--active, __number, __note
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-registration {
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-registration__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tty-spacing-md, 20px);
    margin-top: var(--tty-spacing-lg, 40px);
}

.tty-dp-registration__card {
    background: var(--tty-bg-primary, #ffffff);
    border: 1px solid var(--tty-border-light, #eaeaea);
    border-radius: var(--tty-radius-md, 10px);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 45px;
    transition: var(--tty-transition-normal, all 0.3s ease);
}


.tty-dp-registration__flag {
    flex-shrink: 0;
}

.tty-dp-registration__flag img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--tty-shadow-sm, 0px 2px 4px rgba(0, 0, 0, 0.08));
}

.tty-dp-registration__details {
    flex: 1;
}

.tty-dp-registration__country {
    font-weight: 600;
    font-size: 14px;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.tty-dp-registration__status {
    margin-bottom: 8px;
    white-space: nowrap;
}

.tty-dp-registration__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 600;
}

.tty-dp-registration__badge--active {
    color: #46c642;
}

.tty-dp-registration__badge--active i {
    font-size: 16px;
}

.tty-dp-registration__number {
    font-size: 14px;
    color: var(--tty-text-muted, #56778f);
    font-family: 'Figtree', sans-serif;
    font-variant-numeric: tabular-nums;
}

.tty-dp-registration__note {
    margin-top: var(--tty-spacing-lg, 40px);
    padding: 20px 24px;
    background: var(--tty-bg-primary, #ffffff);
    border-left: 4px solid var(--tty-primary, #247772);
    border-radius: 0 var(--tty-radius-sm, 8px) var(--tty-radius-sm, 8px) 0;
    font-size: 14px;
    color: var(--tty-text-muted, #56778f);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tty-dp-registration__note i {
    color: var(--tty-primary, #247772);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT BLOCKS
   Classes: .tty-dp-content-block, .tty-dp-content-block__body
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-content-block {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-content-block + .tty-dp-content-block {
    padding-top: 0;
}

.tty-dp-content-block__body {
    /* inherits from .tty-dp-prose */
}


/* ═══════════════════════════════════════════════════════════════════════════
   EXPERIENCE AREAS
   Classes: __intro, __grid, __item, __icon (div), __name, __note
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-experience {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-experience__intro {
    font-size: 17px;
    color: var(--tty-text-primary, #2C2C2C);
    margin: var(--tty-spacing-md, 20px) 0 var(--tty-spacing-lg, 40px);
    max-width: 720px;
}

.tty-dp-experience__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tty-spacing-sm, 10px);
}

.tty-dp-experience__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--tty-bg-secondary, #edf4f6);
    border-radius: var(--tty-radius-sm, 8px);
    font-size: 15px;
    font-weight: 500;
    color: var(--tty-text-primary, #2C2C2C);
    transition: var(--tty-transition-normal, all 0.3s ease);
}

.tty-dp-experience__item:hover {
    background: var(--tty-primary-bg, #edf7f5);
    transform: translateY(-2px);
    box-shadow: var(--tty-shadow-sm, 0px 2px 4px rgba(0, 0, 0, 0.08));
}

.tty-dp-experience__icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.tty-dp-experience__icon i {
    color: var(--tty-primary, #247772);
    font-size: 16px;
}

.tty-dp-experience__name {
    /* inherits from .tty-dp-experience__item */
}

.tty-dp-experience__note {
    margin-top: var(--tty-spacing-lg, 40px);
    font-size: 13px;
    color: var(--tty-text-muted, #56778f);
    font-style: italic;
    max-width: 720px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONSULTATION FLOW
   Classes: __timeline, __step, __number, __content, __title, __description
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-flow {
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-flow__timeline {
    position: relative;
    margin-top: var(--tty-spacing-lg, 40px);
    padding-left: 40px;
}

.tty-dp-flow__timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--tty-border-light, #eaeaea);
}

.tty-dp-flow__step {
    position: relative;
    padding-bottom: var(--tty-spacing-lg, 40px);
}

.tty-dp-flow__step:last-child {
    padding-bottom: 0;
}

.tty-dp-flow__number {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tty-primary, #247772);
    color: var(--tty-text-light, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
}

.tty-dp-flow__content {
    /* wrapper for title + description */
}

.tty-dp-flow__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tty-dp-flow__description {
    font-size: 16px;
    color: var(--tty-text-primary, #2C2C2C);
    line-height: 1.6;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   TREATMENTS & PRODUCTS
   Classes: __subheading, __group, __group--products, __category, __count,
            __grid, __card, __card-image, __card-body, __card-title,
            __card-link, __placeholder, __placeholder--product
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-treatments {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-treatments__subheading {
    font-size: 17px;
    color: var(--tty-text-muted, #56778f);
    margin: 0 0 var(--tty-spacing-lg, 40px) 0;
}

.tty-dp-treatments__group {
    margin-bottom: var(--tty-spacing-lg, 40px);
}

.tty-dp-treatments__group:last-child {
    margin-bottom: 0;
}

.tty-dp-treatments__category {
    font-size: 22px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 var(--tty-spacing-md, 20px) 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.tty-dp-treatments__category i {
    color: var(--tty-primary, #247772);
    font-size: 18px;
}

.tty-dp-treatments__count {
    font-size: 14px;
    font-weight: 400;
    color: var(--tty-text-muted, #56778f);
}

.tty-dp-treatments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--tty-spacing-md, 20px);
}

.tty-dp-treatments__card {
    display: block;
    background: var(--tty-bg-primary, #ffffff);
    border: 1px solid var(--tty-border-light, #eaeaea);
    border-radius: var(--tty-radius-md, 10px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--tty-transition-normal, all 0.3s ease);
}

.tty-dp-treatments__card:hover {
    box-shadow: var(--tty-shadow-md, 0px 4px 11px rgba(0, 0, 0, 0.1));
    transform: translateY(-3px);
    border-color: var(--tty-primary, #247772);
}

.tty-dp-treatments__card-image {
    height: 180px;
    overflow: hidden;
    background: var(--tty-bg-secondary, #edf4f6);
}

/* Square ratio for product cards */
.tty-dp-treatments__group--products .tty-dp-treatments__card-image {
    height: auto;
    aspect-ratio: 1 / 1;
}

.tty-dp-treatments__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tty-transition-slow, all 0.5s ease);
}

.tty-dp-treatments__card:hover .tty-dp-treatments__card-image img {
    transform: scale(1.05);
}

.tty-dp-treatments__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tty-dp-treatments__placeholder i {
    font-size: 36px;
    color: var(--tty-border-light, #eaeaea);
}

.tty-dp-treatments__card-body {
    padding: 16px 20px;
}

.tty-dp-treatments__card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tty-dp-treatments__card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--tty-primary, #247772);
    transition: var(--tty-transition-fast, all 0.2s ease);
}

.tty-dp-treatments__card:hover .tty-dp-treatments__card-link {
    color: var(--tty-primary-dark, #005f5f);
}


/* ═══════════════════════════════════════════════════════════════════════════
   PERSONAL QUOTE
   Classes: __blockquote, __icon, __text, __cite
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-quote {
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-quote__blockquote {
    position: relative;
    margin: var(--tty-spacing-lg, 40px) 0 0;
    padding: 0;
    border: none;
    max-width: 720px;
}

.tty-dp-quote__icon {
    font-size: 36px;
    color: var(--tty-primary, #247772);
    opacity: 0.3;
    margin-bottom: var(--tty-spacing-sm, 10px);
    display: block;
}

.tty-dp-quote__text {
    font-size: 22px;
    font-weight: 500;
    color: var(--tty-text-primary, #2C2C2C);
    line-height: 1.6;
    margin: 0 0 var(--tty-spacing-md, 20px) 0;
}

.tty-dp-quote__cite {
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
}


/* ═══════════════════════════════════════════════════════════════════════════
   DISCLAIMER
   Classes: __box, __icon, __content, __heading
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-disclaimer {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-disclaimer__box {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--tty-bg-secondary, #edf4f6);
    border-radius: var(--tty-radius-md, 10px);
    border-left: 4px solid var(--tty-primary, #247772);
}

.tty-dp-disclaimer__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tty-primary, #247772);
    border-radius: 50%;
    color: var(--tty-text-light, #ffffff);
    font-size: 20px;
}

.tty-dp-disclaimer__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.tty-dp-disclaimer__content {
    flex: 1;
}

.tty-dp-disclaimer__content .tty-dp-prose p {
    font-size: 15px;
    color: var(--tty-text-muted, #56778f);
}


/* ═══════════════════════════════════════════════════════════════════════════
   ARCHIVE
   Classes: .tty-dp-archive, __header, __title, __subtitle, __grid, __empty
   Card classes: .tty-dp-card, __image, __placeholder, __body, __name,
                 __title, __registrations, __reg-badge, __flag, __stats, __link
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Archive wrapper (mirrors .tty-careers-wrapper) ────────────────────── */

.tty-dp-archive-wrapper {
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tty-dp-archive-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9%;
    width: 40%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v10m0 30v10m-20-25h10m30 0h10' stroke='%23005F5F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23005F5F'/%3E%3Ccircle cx='20' cy='30' r='2' fill='%23005F5F'/%3E%3Ccircle cx='40' cy='30' r='2' fill='%23005F5F'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.tty-dp-archive-wrapper > * {
    position: relative;
    z-index: 1;
}

/* ─── Banner ─────────────────────────────────────────────────────────────── */

.tty-dp-archive-banner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.tty-dp-archive-banner__content {
    flex: 1;
    position: relative;
}

#licensed-heading,
#decisions-heading,
#expectations-heading,
#transparency-heading,
#faq-heading,
#trust-heading {
  color: var(--tty-primary);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 34px;
  line-height: 1.2;
}

.tty-dp-archive-banner__intro {
    color: var(--tty-primary, #247772);
    font-weight: 600;
    margin: 0 0 16px;
    font-size: 18px;
}

.tty-dp-archive-banner__note {
    border-left: 3px solid var(--tty-primary, #247772);
    padding-left: 14px;
    margin: 0;
    color: var(--tty-text-muted, #56778f);
}

/* ─── Two-column layout ──────────────────────────────────────────────────── */

.tty-dp-archive-container {
    display: flex;
    gap: 40px;
}

/* ─── Sidebar ────────────────────────────────────────────────────────────── */

.tty-dp-archive-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.tty-dp-archive-nav-block {
    background-color: var(--tty-bg-secondary, #edf4f6);
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

.tty-dp-archive-nav-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.tty-dp-archive-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tty-dp-archive-nav-list li {
    margin-bottom: 10px;
}

.tty-dp-archive-nav-list a {
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    transition: var(--tty-transition-normal);
}

.tty-dp-archive-nav-list a:hover,
.tty-dp-archive-nav-list a.active {
    background: var(--tty-bg-linear-graniet);
    color: var(--tty-text-light, #ffffff);
}

/* ─── Main content ───────────────────────────────────────────────────────── */

.tty-dp-archive-content {
    flex: 1;
    min-width: 0;
}

.tty-dp-archive-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.tty-dp-archive-section:last-of-type {
    border-bottom: none;
    margin-bottom: 150px;
}

.tty-dp-archive-section__sub {
    margin-bottom: 24px;
}

/* ─── Content blocks ─────────────────────────────────────────────────────── */

.tty-dp-archive-block {
    background-color: var(--tty-bg-secondary, #edf4f6);
    padding: 30px;
    border-radius: 30px;
}

.tty-dp-archive-block--dark {
    background: var(--tty-bg-linear-graniet, linear-gradient(135deg, #247772 0%, #1E6E6A 100%));
    color: var(--tty-text-light, #ffffff);
}

.tty-dp-archive-block--dark p,
.tty-dp-archive-block--dark li {
    color: var(--tty-text-light, #ffffff);
}

.tty-dp-archive-block__icon {
    width: 48px;
    height: 48px;
    background: var(--tty-primary, #247772);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tty-text-light, #ffffff);
    font-size: 20px;
    margin-bottom: 16px;
}

.tty-dp-archive-block--dark .tty-dp-archive-block__icon {
    background: rgba(255, 255, 255, 0.2);
}

.tty-dp-archive-block ul:not(.tty-dp-archive-block__xlist):not(.tty-dp-archive-block__checklist) {
    list-style: disc;
    list-style-position: outside;
    padding-left: 24px;
    margin: 16px 0;
}

.tty-dp-archive-block ul:not(.tty-dp-archive-block__xlist):not(.tty-dp-archive-block__checklist) li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.tty-dp-archive-block__footer {
    border-top: 1px solid var(--tty-border-light, #eaeaea);
    padding-top: 16px;
    margin-top: 16px;
    font-style: italic;
}

.tty-dp-archive-block--dark .tty-dp-archive-block__footer {
    border-top-color: rgba(255, 255, 255, 0.25);
}

/* ─── Block: x-list (transparency) ──────────────────────────────────────── */

.tty-dp-archive-block__xlist {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tty-dp-archive-block__xlist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.tty-dp-archive-block__xlist li i {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

/* ─── Block: checklist (trust) ───────────────────────────────────────────── */

.tty-dp-archive-block__checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tty-dp-archive-block__checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.tty-dp-archive-block__checklist li i {
    color: var(--tty-primary, #247772);
    font-size: 20px;
    flex-shrink: 0;
}

/* ─── FAQ accordion ──────────────────────────────────────────────────────── */

.tty-dp-archive-faq__item {
    border-bottom: 1px solid var(--tty-border-light, #eaeaea);
}

.tty-dp-archive-faq__item:last-child {
  border-bottom: 0px;
}

.tty-dp-archive-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    margin: 0;
    font-weight: 600;
}

.tty-dp-archive-faq__question::-webkit-details-marker {
    display: none;
}

.tty-dp-archive-faq__question:hover {
    color: var(--tty-primary, #247772);
}

.tty-dp-archive-faq__icon {
    color: var(--tty-primary, #247772);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.tty-dp-archive-faq__item[open] .tty-dp-archive-faq__icon {
    transform: rotate(180deg);
}

.tty-dp-archive-faq__answer {
    padding: 0 0 18px;
}

.tty-dp-archive-faq__answer p {
    margin: 0;
}

/* ─── Doctor grid ────────────────────────────────────────────────────────── */

.tty-dp-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tty-spacing-md, 20px);
    margin: 24px 0;
}

.tty-dp-archive__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--tty-spacing-xl, 80px) 24px;
    color: var(--tty-text-muted, #56778f);
}

/* ─── Archive card (.tty-dp-card) ────────────────────────────────────────── */

.tty-dp-card {
    display: block;
    background: var(--tty-bg-primary, #ffffff);
    border: 1px solid var(--tty-border-light, #eaeaea);
    border-radius: 30px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--tty-transition-normal, all 0.3s ease);
}

.tty-dp-card:hover {
    box-shadow: var(--tty-shadow-md, 0px 4px 11px rgba(0, 0, 0, 0.1));
    transform: translateY(-3px);
    border-color: var(--tty-primary, #247772);
}

.tty-dp-card__image {
    margin-bottom: var(--tty-spacing-md, 20px);
}

.tty-dp-card__image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--tty-bg-secondary, #edf4f6);
    box-shadow: var(--tty-shadow-sm, 0px 2px 4px rgba(0, 0, 0, 0.08));
    margin: 0 auto;
    display: block;
}

.tty-dp-card__placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--tty-bg-tertiary, #f9f9f9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-card__placeholder i {
    font-size: 40px;
    color: var(--tty-border-light, #eaeaea);
}

.tty-dp-card__body {
    /* wrapper for text content */
}

.tty-dp-card__name {
    font-size: 22px;
    font-weight: 600;
    color: var(--tty-header-primary, #247772);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.tty-dp-card__title {
    font-size: 15px;
    color: var(--tty-text-muted, #56778f);
    margin: 0 0 var(--tty-spacing-sm, 10px) 0;
}

.tty-dp-card__registrations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: var(--tty-spacing-sm, 10px);
}

.tty-dp-card__reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--tty-bg-secondary, #edf4f6);
    border-radius: var(--tty-radius-lg, 30px);
    font-size: 12px;
    font-weight: 500;
    color: var(--tty-text-primary, #2C2C2C);
}

.tty-dp-card__flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.tty-dp-card__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 13px;
    color: var(--tty-text-muted, #56778f);
    margin: 0 0 var(--tty-spacing-sm, 10px) 0;
    justify-content: center;
}

.tty-dp-card__stats span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.tty-dp-card__stats span + span::before {
    content: '·';
    margin: 0 5px;
    color: var(--tty-text-muted, #56778f);
    opacity: 0.5;
}

.tty-dp-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--tty-primary, #247772);
    color: var(--tty-text-light, #ffffff);
    border-radius: var(--tty-radius-lg, 30px);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--tty-transition-normal, all 0.3s ease);
    position: relative;
    overflow: hidden;
}

.tty-dp-card__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.tty-dp-card:hover .tty-dp-card__link::before {
    left: 150%;
}

.tty-dp-card:hover .tty-dp-card__link {
    background: var(--tty-primary-dark, #005f5f);
}

/* Pagination */
.tty-dp-archive .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 24px var(--tty-spacing-xl, 80px);
}

.tty-dp-archive .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--tty-text-primary, #2C2C2C);
    border: 1px solid var(--tty-border-light, #eaeaea);
    transition: var(--tty-transition-fast, all 0.2s ease);
}

.tty-dp-archive .nav-links .page-numbers.current {
    background: var(--tty-primary, #247772);
    color: var(--tty-text-light, #ffffff);
    border-color: var(--tty-primary, #247772);
}

.tty-dp-archive .nav-links .page-numbers:hover:not(.current) {
    border-color: var(--tty-primary, #247772);
    color: var(--tty-primary, #247772);
}

.tty-dp-archive__transparency h2,
.tty-dp-archive__trust h2 {
  margin-bottom: 20px;
}


/* ─── Archive header subtitle variants ───────────────────────────────────── */

.tty-dp-archive__subtitle {
    max-width: 780px;
    margin: 0 auto 20px;
}

.tty-dp-archive__subtitle--note {
    max-width: 740px;
    margin: 0 auto 20px;
    border-left: 3px solid var(--tty-primary, #247772);
    padding-left: 14px;
    text-align: left;
}

.tty-dp-archive__subtitle--profiles {
    max-width: 640px;
    margin: 14px auto 0;
    font-style: italic;
}

/* ─── Info cards section ─────────────────────────────────────────────────── */

.tty-dp-archive__info-section {
    padding: var(--tty-spacing-xl, 80px) 24px;
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-archive__info-section .tty-dp-container {
    max-width: 1200px;
}

.tty-dp-archive__info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tty-dp-archive__info-card {
    background: var(--tty-bg-secondary, #edf4f6);
    border-radius: 30px;
    padding: 24px 20px;
    border: 1px solid var(--tty-border-light, #eaeaea);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--tty-transition-fast, all 0.2s ease);
}

.tty-dp-archive__info-card:hover {
    box-shadow: var(--tty-shadow-md, 0px 4px 11px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
    border-color: var(--tty-primary, #247772);
}

.tty-dp-archive__info-card-icon {
    width: 44px;
    height: 44px;
    background: var(--tty-primary, #247772);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tty-text-light, #ffffff);
    font-size: 18px;
    flex-shrink: 0;
}

.tty-dp-archive__info-card-heading {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.tty-dp-archive__info-card-body {
    margin: 0;
}

.tty-dp-archive__info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tty-dp-archive__info-list li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 0;
}

.tty-dp-archive__info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background: var(--tty-primary, #247772);
    border-radius: 50%;
}

.tty-dp-archive__info-card-footer {
    margin: 0;
    font-style: italic;
    color: var(--tty-text-muted, #56778f);
    border-top: 1px solid var(--tty-border-light, #eaeaea);
    padding-top: 10px;
    font-size: 14px;
}

/* ─── Section label above grid ───────────────────────────────────────────── */

.tty-dp-archive__section-label {
    padding: var(--tty-spacing-xl, 80px) 24px var(--tty-spacing-lg, 40px);
    text-align: center;
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-archive__section-label-sub {
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Transparency section ───────────────────────────────────────────────── */

.tty-dp-archive__transparency {
    background: var(--tty-bg-linear-graniet, linear-gradient(135deg, #247772 0%, #1E6E6A 100%));
    padding: var(--tty-spacing-xl, 80px) 24px;
}

.tty-dp-archive__transparency .tty-dp-container {
    max-width: 840px;
}

.tty-dp-archive__transparency h2,
.tty-dp-archive__transparency p,
.tty-dp-archive__transparency li {
    color: var(--tty-text-light, #ffffff);
}

.tty-dp-archive__transparency-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--tty-spacing-lg, 40px) 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tty-dp-archive__transparency-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.tty-dp-archive__transparency-list li i {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.tty-dp-archive__transparency-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ─── FAQ section ────────────────────────────────────────────────────────── */

.tty-dp-archive__faq {
    padding: var(--tty-spacing-xl, 80px) 24px;
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-archive__faq .tty-dp-container {
    max-width: 840px;
}

.tty-dp-archive__faq-list {
    margin-top: var(--tty-spacing-lg, 40px);
    border-top: 1px solid var(--tty-border-light, #eaeaea);
}

.tty-dp-archive__faq-item {
    border-bottom: 1px solid var(--tty-border-light, #eaeaea);
}

.tty-dp-archive__faq-item[open] .tty-dp-archive__faq-icon {
    transform: rotate(180deg);
}

.tty-dp-archive__faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    margin: 0;
}

.tty-dp-archive__faq-question::-webkit-details-marker {
    display: none;
}

.tty-dp-archive__faq-question:hover {
    color: var(--tty-primary, #247772);
}

.tty-dp-archive__faq-icon {
    color: var(--tty-primary, #247772);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.tty-dp-archive__faq-answer {
    padding: 0 0 20px 0;
}

.tty-dp-archive__faq-answer p {
    margin: 0;
}

/* ─── Trust CTA section ──────────────────────────────────────────────────── */

.tty-dp-archive__trust {
    padding: var(--tty-spacing-xl, 80px) 24px;
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-archive__trust .tty-dp-container {
    max-width: 840px;
}

.tty-dp-archive__trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--tty-spacing-lg, 40px) 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tty-dp-archive__trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.tty-dp-archive__trust-list li i {
    color: var(--tty-primary, #247772);
    font-size: 20px;
    flex-shrink: 0;
}

.tty-dp-archive__trust-footer {
    border-top: 1px solid var(--tty-border-light, #eaeaea);
    padding-top: 20px;
    font-style: italic;
}

/* ─── Archive responsive ─────────────────────────────────────────────────── */

@media screen and (max-width: 992px) {
    .tty-dp-archive-container {
        flex-direction: column;
    }

    .tty-dp-archive-sidebar {
        position: relative;
        top: 0;
    }

    .tty-dp-archive__grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .tty-dp-archive-wrapper::before {
        display: none;
    }

    .tty-dp-archive-banner {
        margin-top: 20px;
    }

    .tty-dp-archive-block {
        padding: 20px 16px;
    }
}

@media screen and (max-width: 576px) {
    .tty-dp-archive__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION BACKGROUND HELPERS (from tty_dp_get_section_bg_style())
   ═══════════════════════════════════════════════════════════════════════════ */

.tty-dp-section--bg-white {
    background: var(--tty-bg-primary, #ffffff);
}

.tty-dp-section--bg-light {
    background: var(--tty-bg-secondary, #edf4f6);
}

.tty-dp-section--bg-accent {
    background: var(--tty-primary-bg, #edf7f5);
}

.tty-dp-section--bg-grey {
    background: var(--tty-bg-tertiary, #f9f9f9);
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 1024px) {
    .tty-dp-hero__container {
        grid-template-columns: 1fr 240px;
        gap: var(--tty-spacing-md, 20px);
    }

    .tty-dp-hero__image,
    .tty-dp-hero__placeholder {
        width: 220px;
        height: 220px;
    }
}

@media screen and (max-width: 768px) {
    .tty-dp-section {
        padding: var(--tty-spacing-lg, 40px) 0;
    }

    .tty-dp-hero {
        padding: var(--tty-spacing-lg, 40px) 0;
    }

    .tty-dp-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tty-dp-hero__registrations {
        justify-content: center;
    }

    .tty-dp-hero__photo {
        order: -1;
    }

    .tty-dp-hero__image,
    .tty-dp-hero__placeholder {
        width: 180px;
        height: 180px;
    }

    .tty-dp-registration__cards {
        grid-template-columns: 1fr;
    }

    .tty-dp-experience__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .tty-dp-flow__timeline {
        padding-left: 32px;
    }

    .tty-dp-flow__number {
        left: -32px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .tty-dp-treatments__grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .tty-dp-treatments__card-image {
        height: 180px;
    }

    .tty-dp-treatments__group--products .tty-dp-treatments__card-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .tty-dp-disclaimer__box {
        flex-direction: column;
        padding: 24px;
    }

    .tty-dp-archive__grid {
        grid-template-columns: 1fr;
    }

    .tty-dp-quote__text {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .tty-dp-container {
        padding: 0 16px;
    }

    .tty-dp-hero__image,
    .tty-dp-hero__placeholder {
        width: 140px;
        height: 140px;
    }

    .tty-dp-experience__grid {
        grid-template-columns: 1fr;
    }

    .tty-dp-treatments__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMB NAV (top) + CTA SECTION (bottom)
   Classes: .tty-dp-breadcrumb, __inner, __list, __item, __sep, __link, __current
            .tty-dp-team-cta, __inner, __heading, __sub, __btn
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Top breadcrumb bar ── */
.tty-dp-breadcrumb {
    background: var(--tty-bg-primary, #ffffff);
    border-bottom: 1px solid var(--tty-border-light, #eaeaea);
}

.tty-dp-breadcrumb__inner {
    max-width: var(--dp-container, 920px);
    margin: 0 auto;
    padding: 13px var(--tty-spacing-md, 20px);
    display: flex;
    align-items: center;
}

.tty-dp-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.tty-dp-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.tty-dp-breadcrumb__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-accent, #247772);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tty-dp-breadcrumb__link:hover {
    color: var(--dp-accent-dark, #005f5f);
    text-decoration: none;
}

.tty-dp-breadcrumb__link i {
    font-size: 11px;
}

.tty-dp-breadcrumb__sep {
    font-size: 11px;
    color: var(--tty-border-light, #c5d4da);
    line-height: 1;
}

.tty-dp-breadcrumb__current {
    font-size: 13px;
    font-weight: 500;
    color: var(--tty-text-muted, #56778f);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

/* ── Bottom CTA section ── */
.tty-dp-team-cta {
  background: linear-gradient(135deg, var(--dp-accent, #244c77) 0%, var(--dp-accent-dark, #005f5f) 100%);
  padding: 64px var(--tty-spacing-md, 20px);
}

.tty-dp-team-cta__inner {
    max-width: var(--dp-container, 920px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.tty-dp-team-cta__heading {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.tty-dp-team-cta__sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 8px;
    line-height: 1.5;
}

.tty-dp-team-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #ffffff;
    color: var(--dp-accent, #247772);
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tty-dp-team-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    color: var(--dp-accent-dark, #005f5f);
}

.tty-dp-team-cta__btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.tty-dp-team-cta__btn:hover i {
    transform: translateX(-3px);
}

@media screen and (max-width: 600px) {
    .tty-dp-breadcrumb__current {
        max-width: 160px;
    }

    .tty-dp-team-cta__heading {
        font-size: 22px;
    }

    .tty-dp-team-cta__sub {
        font-size: 14px;
    }
}