:root {
    --therasana-navy: #0a3d62;
    --therasana-blue: #22577a;
    --therasana-sky: #2ea3f2;
    --therasana-ivory: #fcfbfe;
    --therasana-gold: #958e09;
    --therasana-ink: #102a3a;
    --therasana-muted: #647680;
    --therasana-line: rgba(16, 42, 58, 0.12);
    --therasana-shadow: 0 22px 55px rgba(16, 42, 58, 0.12);
}

.therasana-premium-site .site-branding,
.therasana-premium-site .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.therasana-premium-site .custom-logo {
    width: auto;
    max-width: 190px;
    max-height: 68px;
    object-fit: contain;
}

.premium-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7.5rem) 1.25rem clamp(3.5rem, 6vw, 5.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(46, 163, 242, 0.25), transparent 30%),
        linear-gradient(135deg, var(--therasana-navy), var(--therasana-blue));
}

.premium-page-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.premium-page-hero__inner,
.premium-content,
.premium-listing,
.member-profile,
.premium-not-found {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.premium-page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: max(1rem, calc((100vw - 1180px) / 2));
}

.premium-page-hero__eyebrow,
.member-profile__eyebrow,
.premium-card__eyebrow {
    margin: 0 0 0.9rem;
    color: #e8dc8e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.premium-page-hero h1,
.member-profile h1 {
    max-width: 18ch;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.premium-page-hero__intro {
    max-width: 700px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.premium-content {
    padding-block: clamp(3.5rem, 7vw, 7rem);
}

.premium-content__body {
    max-width: 860px;
    color: var(--therasana-ink);
    font-size: 1.05rem;
    line-height: 1.78;
}

.premium-content__body > * + * {
    margin-top: 1.25rem;
}

.premium-content__body h2,
.premium-content__body h3,
.member-profile__section h2,
.premium-listing h2 {
    color: var(--therasana-navy);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
}

.premium-content__body h2 {
    margin-top: 2.8rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.premium-content__body h3 {
    margin-top: 2.2rem;
    font-size: 1.45rem;
}

.premium-content__body a,
.member-profile a,
.premium-card a {
    text-underline-offset: 0.18em;
}

.premium-content__body img {
    height: auto;
    border-radius: 1.25rem;
    box-shadow: var(--therasana-shadow);
}

.premium-listing {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.premium-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--therasana-line);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 16px 45px rgba(16, 42, 58, 0.08);
}

.premium-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9eef1;
}

.premium-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.premium-card h2,
.premium-card h3 {
    margin: 0;
    color: var(--therasana-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1.15;
}

.premium-card h2 a,
.premium-card h3 a {
    color: inherit;
    text-decoration: none;
}

.premium-card__meta {
    margin: 0.8rem 0 0;
    color: var(--therasana-muted);
    font-size: 0.93rem;
}

.premium-card__excerpt {
    margin: 1rem 0 1.4rem;
    color: var(--therasana-ink);
    line-height: 1.65;
}

.premium-card__link {
    margin-top: auto;
    color: var(--therasana-blue);
    font-weight: 800;
    text-decoration: none;
}

.premium-card--member {
    position: relative;
}

.premium-card--member.is-premium {
    border-color: rgba(149, 142, 9, 0.45);
}

.premium-member-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    color: #625d00;
    background: #f3efc5;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.member-profile {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.member-profile__hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    overflow: hidden;
    border-radius: 2rem;
    color: #fff;
    background:
        radial-gradient(circle at 80% 10%, rgba(46, 163, 242, 0.28), transparent 32%),
        linear-gradient(145deg, var(--therasana-navy), var(--therasana-blue));
    box-shadow: var(--therasana-shadow);
}

.member-profile__media {
    min-height: 520px;
    background: rgba(255, 255, 255, 0.08);
}

.member-profile__photo {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.member-profile__photo-placeholder {
    display: grid;
    min-height: 520px;
    place-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
}

.member-profile__identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.8rem);
}

.member-profile__identity h1 {
    max-width: none;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.member-profile__activity {
    margin: 1.2rem 0 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 750;
}

.member-profile__location {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.member-profile__tagline {
    max-width: 660px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.7;
}

.member-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.member-profile__actions a {
    display: inline-flex;
    justify-content: center;
    padding: 0.82rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.member-profile__actions .is-primary {
    color: var(--therasana-navy);
    background: #fff;
}

.member-profile__actions .is-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.member-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.member-profile__main,
.member-profile__aside {
    display: grid;
    gap: 1.4rem;
}

.member-profile__section,
.member-profile__contact-card {
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border: 1px solid var(--therasana-line);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 14px 42px rgba(16, 42, 58, 0.07);
}

.member-profile__section h2,
.member-profile__contact-card h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.member-profile__section p,
.member-profile__section li,
.member-profile__contact-card p {
    color: var(--therasana-ink);
    line-height: 1.7;
}

.member-profile__list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-profile__list li {
    position: relative;
    padding-left: 1.35rem;
}

.member-profile__list li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--therasana-gold);
}

.member-profile__contact-card {
    position: sticky;
    top: 7rem;
    color: #fff;
    border: 0;
    background: var(--therasana-navy);
}

.member-profile__contact-card h2,
.member-profile__contact-card p {
    color: #fff;
}

.member-profile__contact-links {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.member-profile__contact-links a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    color: var(--therasana-navy);
    background: #fff;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.member-profile__status-note {
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    color: #715c00;
    background: #fff7d7;
    line-height: 1.55;
}

.premium-pagination {
    margin-top: 2.5rem;
}

.premium-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.premium-pagination a,
.premium-pagination span {
    display: inline-flex;
    min-width: 2.6rem;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--therasana-line);
    border-radius: 0.75rem;
    color: var(--therasana-navy);
    background: #fff;
    text-decoration: none;
}

.premium-pagination .current {
    color: #fff;
    border-color: var(--therasana-navy);
    background: var(--therasana-navy);
}

.premium-search-form {
    display: flex;
    max-width: 720px;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.premium-search-form input {
    flex: 1;
    min-width: 0;
    padding: 0.95rem 1rem;
    border: 1px solid var(--therasana-line);
    border-radius: 0.85rem;
    font: inherit;
}

.premium-search-form button {
    padding: 0.95rem 1.2rem;
    border: 0;
    border-radius: 0.85rem;
    color: #fff;
    background: var(--therasana-navy);
    font: inherit;
    font-weight: 800;
}

.premium-not-found {
    padding-block: clamp(5rem, 12vw, 10rem);
    text-align: center;
}

.premium-not-found strong {
    display: block;
    color: var(--therasana-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 18vw, 12rem);
    line-height: 0.8;
}

.premium-not-found h1 {
    margin: 1.5rem 0 0;
    color: var(--therasana-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 980px) {
    .premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-profile__hero,
    .member-profile__layout {
        grid-template-columns: 1fr;
    }

    .member-profile__media,
    .member-profile__photo,
    .member-profile__photo-placeholder {
        min-height: 430px;
        max-height: 620px;
    }

    .member-profile__contact-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .therasana-premium-site .custom-logo {
        max-width: 145px;
        max-height: 54px;
    }

    .premium-page-hero__inner {
        margin-left: auto;
    }

    .premium-grid {
        grid-template-columns: 1fr;
    }

    .premium-search-form {
        flex-direction: column;
    }

    .member-profile {
        width: min(100% - 1rem, 1180px);
    }

    .member-profile__hero {
        border-radius: 1.35rem;
    }

    .member-profile__media,
    .member-profile__photo,
    .member-profile__photo-placeholder {
        min-height: 360px;
    }

    .member-profile__identity {
        padding: 1.6rem;
    }
}
