:root {
    --bg-stone: #FBFBF9;
    --bg-sand: #F4EFE6;
    --forest: #6C536D;
    --forest-mid: #5D465F;
    --ink: #31413a;
    --leaf: #4A7B72;
    --plum: #6C536D;
    --sand: #E8E2D6;
    --warm: #B89D81;
    --warm-text: #765D43;
    --warm-dark: #826952;
    --text: #333333;
    --text-muted: #5C635E;
    --white: #FFFFFF;
    --mist: #ECF1EE;
    --header-height: 104px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    --shadow-sm: 0 2px 8px rgba(45, 62, 51, 0.07);
    --shadow-md: 0 8px 32px rgba(45, 62, 51, 0.12);
    --shadow-lg: 0 24px 60px rgba(45, 62, 51, 0.18);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-stone);
    color: var(--text);
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a,
button,
input,
select,
textarea,
label,
[role="button"] {
    touch-action: manipulation;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

svg {
    display: block;
}

/* ========================
   FOCUS VISIBILITY
======================== */
:focus-visible {
    outline: 3px solid var(--forest);
    outline-offset: 3px;
    border-radius: 4px;
}

.fade-in,
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.fade-in-delay {
    transition-delay: 0.22s;
}

.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.reveal:nth-child(3) {
    transition-delay: 0.24s;
}

.fade-in.visible,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-pad {
    padding: 4.5rem 0 1.5rem 0;
}

.header-spacer {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-text);
    margin-bottom: 0.85rem;
}

.eyebrow.light {
    color: var(--leaf);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.centered {
    text-align: center;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3.4rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--forest);
    margin: 0.5rem 0 1.5rem;
}

h1 em {
    font-style: italic;
    opacity: 0.78;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--forest);
    margin-top: 0;
}

h2 em {
    font-style: italic;
    opacity: 0.82;
}

h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 0.65rem;
}

h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), -webkit-backdrop-filter 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.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(246, 244, 240, 0.96);
}

nav.scrolled {
    background-color: rgba(246, 244, 240, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 226, 214, 0.8);
    box-shadow: 0 4px 20px -4px rgba(45, 62, 51, 0.08);
    padding: 0.75rem 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.brand-lockup--nav {
    gap: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    transition: all var(--transition);
}

.brand-lockup--nav .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-title-img {
    height: 52px;
    width: auto;
    transition: height var(--transition);
    margin-bottom: 3px;
}

.brand-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.brand-stroke-primary {
    color: var(--forest);
    stroke: currentColor;
}

.brand-fill-primary {
    color: var(--forest);
    fill: currentColor;
}

.brand-stroke-secondary {
    color: var(--leaf);
    stroke: currentColor;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
}

.brand-line {
    font-family: 'DM Serif Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brand-line--primary {
    color: var(--forest);
    font-size: 1.25rem;
}

.brand-line--secondary {
    color: var(--leaf);
    font-size: 1.03rem;
    margin-top: 0.12rem;
}

.brand-wordmark--compact .brand-line--primary {
    font-size: 1rem;
}

.brand-wordmark--compact .brand-line--secondary {
    font-size: 0.86rem;
}

.brand-tagline {
    margin-top: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.brand-lockup--footer {
    align-items: flex-start;
    display: inline-flex;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
}

.brand-lockup--footer .brand-mark {
    width: auto;
    max-width: min(100%, 138px);
    height: auto;
}

.brand-lockup--footer .brand-logo {
    max-height: 108px;
    clip-path: circle(49% at 50% 50%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--ink);
}

.cta-pill,
.nav-links a.cta-pill,
a.cta-pill,
#nav-auth-btn {
    background: var(--forest);
    color: var(--white) !important;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-pill);
    opacity: 1;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.cta-pill:hover,
.nav-links a.cta-pill:hover,
a.cta-pill:hover,
#nav-auth-btn:hover {
    background: var(--forest-mid);
    color: var(--white) !important;
}

a.cta-pill[href="join.html"] {
    background-color: var(--plum, #6C536D);
    color: #FFFFFF !important;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 2100;
    touch-action: manipulation;
    pointer-events: auto;
}

.nav-burger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--forest);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-burger.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

footer {
    background: var(--forest);
    color: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    color: var(--white);
    display: block;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 260px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.socials a,
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-decoration: none;
    overflow: hidden;
    background-clip: padding-box;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
}

.socials a:hover,
.social-link:hover {
    transform: translateY(-3px) scale(1.08);
}

.socials a.social-instagram:hover,
.socials a[aria-label*="Instagram"]:hover,
.social-link.social-instagram:hover {
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.45) !important;
}

.socials a.social-facebook:hover,
.socials a[aria-label*="Facebook"]:hover,
.social-link.social-facebook:hover {
    background: #1877F2 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45) !important;
}

.socials a.social-tiktok:hover,
.socials a[aria-label*="TikTok"]:hover,
.social-link.social-tiktok:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #333333 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
}

.socials a.social-email:hover,
.socials a[aria-label*="Email"]:hover,
.social-link.social-email:hover {
    background: var(--forest, #6C536D) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(108, 83, 109, 0.45) !important;
}

.envelope-animated {
    overflow: visible;
    position: relative;
}

.envelope-animated .env-flap-closed {
    opacity: 1;
    transform-origin: 12px 7px;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope-animated .env-flap-open {
    opacity: 0;
    transform-origin: 12px 7px;
    transform: scaleY(-0.3) translateY(4px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope-animated .env-letter {
    opacity: 0;
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
    transform: translateY(3px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-email:hover .envelope-animated .env-flap-closed,
.social-card:hover .envelope-animated .env-flap-closed,
.social-link.social-email:hover .envelope-animated .env-flap-closed {
    opacity: 0;
    transform: scaleY(0);
}

.social-email:hover .envelope-animated .env-flap-open,
.social-card:hover .envelope-animated .env-flap-open,
.social-link.social-email:hover .envelope-animated .env-flap-open {
    opacity: 1;
    transform: scaleY(1) translateY(0);
}

.social-email:hover .envelope-animated .env-letter,
.social-card:hover .envelope-animated .env-letter,
.social-link.social-email:hover .envelope-animated .env-letter {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.footer-links a {
    display: inline-block;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.65rem;
    transition: color var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '→';
    position: absolute;
    right: -18px;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity var(--transition), transform var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.subpage-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(162, 181, 174, 0.16), transparent 30%), linear-gradient(180deg, var(--bg-sand), var(--bg-stone) 48%, var(--white));
}

.subpage-main,
.page-content-clearance {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-top: calc(var(--header-height, 104px) + 2rem) !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 5rem;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .subpage-main,
    .page-content-clearance {
        padding-top: calc(var(--header-height, 104px) + 1.75rem) !important;
    }
}

@media (max-width: 768px) {
    .subpage-main,
    .page-content-clearance {
        padding: calc(var(--header-height, 96px) + 1.5rem) 5% 4rem !important;
    }
}

/* ==========================================================================
   TOP SUB-NAV LINK / UTILITY BREADCRUMB COMPONENT
   Standardized benchmark component:
   padding-top: calc(var(--header-height, 104px) + 2rem) on container
   margin-top: 0.75rem, margin-bottom: 1.5rem on the back-link
   ========================================================================== */
.top-subnav-link,
.subpage-backlink,
.pricing-back-link,
.dynamic-back-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0;
    line-height: 1.4;
    position: relative;
    z-index: 10;
    transition: color var(--transition), transform var(--transition);
}

.top-subnav-link:hover,
.subpage-backlink:hover,
.pricing-back-link:hover {
    color: var(--plum);
    transform: translateX(-3px);
}

.subpage-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 3rem;
}

.subpage-copy p {
    max-width: 640px;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.subpage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.subpage-panel {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(108, 83, 109, 0.1);
    box-shadow: var(--shadow-sm);
}

.subpage-panel p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.subpage-section + .subpage-section {
    margin-top: 4rem;
}

.subpage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.subpage-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.08);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.subpage-card h3 {
    margin-bottom: 0.55rem;
}

.subpage-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.subpage-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(184, 157, 129, 0.16);
    color: var(--forest);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subpage-list {
    list-style: none;
    margin-top: 1rem;
}

.subpage-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-muted);
    margin-top: 0.65rem;
}

.subpage-list li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--leaf);
}

.subcategory-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.sub-pill {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(111, 148, 138, 0.06);
    border: 1px solid rgba(111, 148, 138, 0.2);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all var(--transition);
}

.luxury-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-radius: 8px;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.luxury-dropdown:focus {
    border-color: var(--forest);
    outline: 3px solid var(--forest);
    outline-offset: 2px;
}

.sub-pill:hover {
    background: var(--leaf-deep);
    color: var(--white);
    border-color: var(--leaf-deep);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .events-hub-card:hover,
    .socials a:hover,
    .footer-links a:hover {
        transform: none !important;
        transition: none !important;
    }
}

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

    .agenda-item-card {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .section-pad {
        padding: 3.5rem 0;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 14rem 5% 4rem;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .blob-wrapper {
        min-height: 322px;
        contain: layout style;
    }

    .organic-blob {
        width: 100%;
        max-width: 322px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .practitioner-cards {
        grid-template-columns: 1fr;
    }

    .practitioners-cta-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .practitioners-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .subpage-hero,
    .subpage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.85rem);
        left: 5%;
        right: 5%;
        max-height: calc(100vh - var(--header-height, 104px) - 1.5rem);
        max-height: calc(100dvh - var(--header-height, 104px) - 1.5rem);
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        padding: 1rem 1rem 3rem 1rem !important;
        border-radius: 16px;
        background: #FDFCF8;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 15px 40px rgba(45, 62, 51, 0.1);
        flex-direction: column;
        gap: 0.25rem;
        z-index: 120;
        box-sizing: border-box;
    }

    #nav-auth-container,
    #ad-nav-auth-container,
    .nav-links .ad-nav-action-container {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    body.user-logged-in .nav-links .user-avatar-container,
    html.user-logged-in .nav-links .user-avatar-container,
    .nav-links .user-avatar-container,
    .nav-links .ad-user-avatar-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links .user-dropdown,
    .nav-links .ad-user-dropdown {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 0.65rem;
        display: none !important;
        flex-direction: column;
        transform: none !important;
        box-sizing: border-box;
    }

    .nav-links .user-dropdown::before,
    .nav-links .ad-user-dropdown::before {
        display: none !important;
    }

    .nav-links .user-avatar-container.is-open .user-dropdown,
    .nav-links .ad-user-avatar-container.is-open .ad-user-dropdown {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .nav-burger {
        display: flex;
    }

    .nav-links.nav-links--open {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 1.2rem;
        border-radius: 8px;
        background: transparent;
        opacity: 1;
        color: var(--forest);
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

    .nav-links a:hover {
        background-color: var(--sand);
    }

    .nav-links .cta-pill {
        text-align: center;
        background: var(--forest) !important;
        color: var(--white) !important;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 15rem 5% 4rem;
    }

    .brand-wordmark--compact .brand-line--primary {
        font-size: 0.9rem;
    }

    .brand-wordmark--compact .brand-line--secondary {
        font-size: 0.78rem;
    }

    .brand-lockup--nav .brand-mark {
        max-width: min(72vw, 320px);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .newsletter-form input {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .newsletter-form button {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .subpage-main {
        padding: calc(var(--header-height, 96px) + 1.5rem) 5% 4rem !important;
    }

    .header-spacer {
        display: block;
        height: var(--header-height, 96px);
    }
}

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

.brand-lockup--nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 0.95;
    margin: 0;
    margin-top: 0.5rem;
    transition: all 0.4s ease;
}

.brand-tagline {
    max-height: 20px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.2s ease-out, max-height 0.3s var(--ease), margin-top 0.3s var(--ease);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.65rem;
    color: var(--text-muted);
}

nav.scrolled .brand-lockup--nav .brand-mark {
    width: 50px;
    height: 50px;
}

nav.scrolled .nav-title-img {
    height: 38px;
}

nav.scrolled .brand-tagline {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
}

.user-avatar-container {
    position: relative;
    cursor: pointer;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--leaf);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px var(--sand);
    transition: box-shadow var(--transition);
}

.user-avatar-container:hover .user-avatar {
    box-shadow: 0 0 0 2px var(--forest);
}

.user-avatar-initials {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--sand);
    min-width: 240px;
    padding: 0.5rem;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.user-avatar-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), color var(--transition);
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

.user-dropdown-link:hover {
    background-color: var(--bg-stone);
    color: var(--forest);
}

.user-dropdown-link.is-button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.user-dropdown-link.is-button:hover {
    background-color: #FBEBEA;
    color: #D9534F;
}

.events-page-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
}

.sticky-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
    padding-bottom: 20px;
}

.sticky-sidebar::-webkit-scrollbar {
    width: 6px;
    display: block;
}

.sticky-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(108, 83, 109, 0.2);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.sticky-sidebar:hover::-webkit-scrollbar-thumb {
    background-color: rgba(108, 83, 109, 0.5);
}

.sticky-sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 83, 109, 0.3) transparent;
}

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

    .sticky-sidebar {
        position: static;
    }
}

.sticky-sidebar .filter-search-wrapper {
    position: relative;
    width: 100%;
}

.sticky-sidebar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.sticky-sidebar .interests-search,
.sticky-sidebar .luxury-dropdown {
    width: 100%;
    box-sizing: border-box;
}

.sticky-sidebar .interests-search {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.sticky-sidebar .luxury-dropdown {
    padding: 0.4rem 0.8rem;
}

.sticky-sidebar .interests-search {
    padding-left: 2.75rem;
}

@media (min-width: 769px) {
    .sticky-sidebar {
        position: sticky;
        top: 120px;
        align-self: flex-start;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

.sticky-sidebar #clear-filters-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: #6B7280;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sticky-sidebar > *:last-child {
    margin-bottom: 0 !important;
}

.sticky-sidebar #clear-filters-btn:hover {
    color: var(--forest);
}

.scroll-reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .floating-back-to-top {
        transition: none !important;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--forest);
    color: var(--white);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--forest);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-weight: 500;
    border: 1.5px solid var(--forest);
    transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    color: var(--forest);
    padding: 0.65rem 1.4rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1.5px solid var(--sand);
    transition: border-color var(--transition);
}

.btn-outline:hover {
    border-color: var(--forest);
}

.btn-danger {
    border-color: #D9534F;
    color: #D9534F;
}

.btn-danger:hover {
    background-color: #D9534F;
    color: white;
    border-color: #D9534F;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--forest);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}

.btn-light:hover {
    background: var(--bg-sand);
    transform: translateY(-2px);
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: background var(--transition), transform var(--transition);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-badge {
    display: block;
    background: var(--forest);
    color: var(--white);
    text-align: center;
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1.75rem;
    transition: background var(--transition), transform var(--transition);
}

.btn-badge:hover {
    background: var(--forest-mid);
    transform: translateY(-2px);
}

.btn-primary.is-saved {
    background-color: var(--leaf);
    border-color: var(--leaf);
    cursor: default;
}

.social-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 1px solid #D1D5DB;
    background: white;
    color: #4B5563;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-toggle-btn.active {
    background-color: var(--plum, #5B4F5D);
    color: white;
    border-color: var(--plum, #5B4F5D);
}

.favourite-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.card-link,
.card-image-link,
.card-overlay {
    z-index: 1 !important;
}

.floating-back-to-top {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 251, 249, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(108, 83, 109, 0.18);
    box-shadow: 0 8px 24px -4px rgba(45, 62, 51, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    color: var(--forest, #6C536D);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.92);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    outline: none;
}

.floating-back-to-top:focus-visible {
    outline: 3px solid var(--forest);
    outline-offset: 3px;
}

.floating-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-back-to-top:hover {
    background: var(--forest, #6C536D);
    color: #ffffff;
    border-color: var(--forest, #6C536D);
    box-shadow: 0 14px 32px -4px rgba(108, 83, 109, 0.28), 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1.05);
}

.floating-back-to-top:active {
    transform: translateY(-1px) scale(0.96);
    box-shadow: 0 6px 16px -2px rgba(108, 83, 109, 0.2);
}

.floating-back-to-top svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }

    /* Reposition to Bottom-Centre strictly on Practitioner Profile views to avoid overlapping mobile sticky CTA */
    body.profile-page .floating-back-to-top,
    body:has(.profile-page-main) .floating-back-to-top {
        left: 50% !important;
        right: auto !important;
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
        transform: translate(-50%, 16px) scale(0.92);
    }

    body.profile-page .floating-back-to-top.visible,
    body:has(.profile-page-main) .floating-back-to-top.visible {
        transform: translate(-50%, 0) scale(1) !important;
    }

    body.profile-page .floating-back-to-top:hover,
    body:has(.profile-page-main) .floating-back-to-top:hover {
        transform: translate(-50%, -4px) scale(1.05) !important;
    }

    body.profile-page .floating-back-to-top:active,
    body:has(.profile-page-main) .floating-back-to-top:active {
        transform: translate(-50%, -1px) scale(0.96) !important;
    }
}

@keyframes bookmarkPop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.35) rotate(-6deg);
    }

    70% {
        transform: scale(0.92) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.favourite-btn.saved svg,
.favourite-btn.active svg,
.save-btn.saved svg {
    animation: bookmarkPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.categories {
    background: var(--bg-stone);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.cat-card {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 2.35;
    background: var(--sand);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.cat-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.cat-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 45, 37, 0.65) 0%, transparent 55%);
}

.cat-label {
    position: absolute;
    bottom: 1.1rem;
    left: 1.1rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1;
}

.cat-card--cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sand);
    border: 2px dashed var(--leaf);
    aspect-ratio: 4 / 2.35;
}

.cat-cta-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 500;
    transition: gap var(--transition);
}

.cat-card--cta:hover .cat-cta-inner {
    gap: 0.9rem;
}

.practitioners {
    background: var(--bg-stone);
}

.practitioners-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

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

.practitioner-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.practitioner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.practitioner-img {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center 20%;
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: transform var(--transition);
}

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

.practitioner-info {
    padding: 2rem;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.tag-plum {
    background: var(--plum);
}

.tag-gold {
    background: #d4af37;
}

.tag-gray {
    background: var(--text-muted);
}

.tag-sage {
    background: var(--leaf-deep);
}

.practitioner-info p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.practitioner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2.5rem;
    align-items: start;
    width: 100%;
}

.practitioner-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(111, 148, 138, 0.1);
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
}

.practitioner-grid.layout-multi {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.practitioner-grid.layout-pair {
    grid-template-columns: repeat(2, 1fr);
}

.practitioner-grid.layout-single {
    grid-template-columns: 1fr;
}

.practitioner-grid.layout-single .practitioner-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.practitioner-grid.layout-single .practitioner-card .practitioner-img {
    flex: 0 0 40%;
    aspect-ratio: unset;
    height: auto;
    min-height: 240px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
    z-index: 1;
}

.practitioner-grid.layout-single .practitioner-card .practitioner-info {
    flex: 1 1 60%;
    padding: 1.5rem 2rem;
}

@media (max-width: 768px) {
    .practitioner-grid.layout-pair,
    .practitioner-grid.layout-multi {
        grid-template-columns: 1fr;
    }

    .practitioner-grid.layout-single .practitioner-card {
        flex-direction: column;
        max-width: 100%;
    }

    .practitioner-grid.layout-single .practitioner-card .practitioner-img {
        flex: 0 0 auto;
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
}

.btn-pill-action {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-weight: 500;
}

@keyframes card-load-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.practitioner-card.is-loading {
    animation: card-load-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--card-index, 0) * 70ms);
}

.practitioner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.practitioner-img {
    height: 220px;
    background-size: cover;
    background-position: top center;
    position: relative;
    pointer-events: none;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    z-index: 10;
}

.tag-plum {
    background: var(--plum);
}

.tag-sage {
    background: var(--leaf-deep);
}

.practitioner-info {
    padding: 1.8rem;
}

.practitioner-info h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.specialty {
    color: var(--leaf-deep);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profile-link {
    text-decoration: none;
    color: var(--plum);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity var(--transition);
}

.profile-link:hover {
    opacity: 0.8;
}

.extra-pad {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

.events-preview {
    border-top: 1px solid rgba(111, 148, 138, 0.1);
}

.practitioner-info h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--ink);
    margin: 0.8rem 0 0.2rem 0;
    line-height: 1.1;
    font-weight: 400;
}

.practitioner-info .specialty {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #6E746F;
    margin-bottom: 1rem;
    font-weight: 400;
}

.practitioner-info .location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #E8E2D6;
    padding-bottom: 1rem;
}

.practitioner-info .profile-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--plum);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.practitioner-info .profile-link span {
    margin-left: 8px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.practitioner-info .profile-link:hover {
    color: var(--ink);
}

.practitioner-info .profile-link:hover span {
    transform: translateX(6px);
}

.practitioner-img {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.favourite-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.card-link,
.card-image-link,
.card-overlay {
    z-index: 1 !important;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h1 {
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Settings header group left-alignment override & clearance */
.settings-page-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding: 2.25rem 1rem 0;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .settings-page-wrapper {
        padding-top: 1.75rem;
    }
}

@media (max-width: 768px) {
    .settings-page-wrapper {
        padding-top: 1.5rem;
    }
}

.settings-header-group .form-header {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

.settings-header-group .form-header h1,
.settings-header-group .settings-page-title {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'DM Serif Display', 'Playfair Display', serif;
    color: var(--forest, #6C536D);
    font-size: 2.4rem;
    line-height: 1.2;
}

.settings-header-group .form-header p {
    text-align: left !important;
    margin: 0.35rem 0 0 0 !important;
    padding: 0 !important;
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.5;
}

.form-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    border: 1px solid rgba(108, 83, 109, 0.08);
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--transition);
    box-sizing: border-box;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid var(--forest);
    outline-offset: 2px;
    border-color: var(--forest);
}

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

.form-required {
    color: #D9534F;
}

.form-label-note {
    font-weight: normal;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.form-status {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    display: none;
    font-weight: 500;
}

.form-submit-btn {
    width: 100%;
    padding: 1.1rem;
    border-radius: 50px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 2.5rem !important;
}

.toggle-password-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color var(--transition);
}

.toggle-password-btn:hover {
    color: var(--forest);
}

.toggle-password-btn svg {
    width: 18px;
    height: 18px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    height: auto;
}

.checkbox-item label {
    font-weight: 400;
    margin-bottom: 0;
}

.input-prefix-wrapper {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 500;
}

.input-with-prefix {
    padding-left: 2.65rem !important;
}

.tag-input-wrapper {
    position: relative;
    width: 100%;
}

.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    min-height: 54px;
    box-sizing: border-box;
    transition: border-color var(--transition);
}

.tag-input-container:focus-within {
    border-color: var(--forest);
    outline: 3px solid var(--forest);
    outline-offset: 2px;
}

.tag-pill {
    background-color: rgba(108, 83, 109, 0.08);
    color: var(--forest);
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag-remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    color: var(--text-muted);
    transition: color 0.2s;
}

.tag-remove:hover {
    color: #D9534F;
}

.tag-input-container input {
    border: none;
    outline: none;
    padding: 0.35rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    flex-grow: 1;
    min-width: 150px;
    background: transparent;
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-md);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    margin-top: -2px;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: rgba(108, 83, 109, 0.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 65, 58, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    width: min(900px, 95%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.4s var(--ease);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.modal-text {
    padding: 3.5rem;
    text-align: left;
}

.modal-bio {
    margin: 1.5rem 0 2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.btn-plum {
    background: var(--plum);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--ink);
}

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

    .modal-image {
        height: 200px;
        min-height: auto;
    }

    .modal-text {
        padding: 2rem;
    }
}

.auth-gate-modal .modal-content {
    max-width: 480px;
    text-align: center;
    padding: 3rem 2.5rem;
}

.auth-gate-modal h3,
#auth-gate-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.auth-gate-modal p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-gate-modal .modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.auth-gate-modal .btn-primary {
    background: #4A7B72;
}

.auth-gate-modal .btn-primary:hover {
    background: #3A6860;
}

.auth-switch-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch-link a {
    color: var(--forest);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

.tag-plum {
    background-color: var(--forest);
}

.tag-sage {
    background-color: #4A7B72;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 24, 36, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--plum);
}

@media (max-width: 900px) {
    .seeker-dashboard .dashboard-container {
        grid-template-columns: 1fr !important;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-sand);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(45, 62, 51, 0.08);
    z-index: 9999;
    border-top: 1px solid var(--sand);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--forest);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-outline {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

@keyframes pulse-bg {
    0% {
        background-color: #f4f4f5;
    }

    50% {
        background-color: #e7e7e9;
    }

    100% {
        background-color: #f4f4f5;
    }
}

.is-loading-skeleton .skeleton-line {
    animation: pulse-bg 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    padding: 20rem 5% 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    min-height: auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(162, 181, 174, 0.12), transparent 26%), radial-gradient(circle at 82% 18%, rgba(108, 83, 109, 0.08), transparent 22%), linear-gradient(180deg, rgba(244, 239, 230, 0.48), rgba(251, 251, 249, 0));
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.15;
    min-height: 2.3em;
}

.hero-content > p {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stat strong {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    color: var(--forest);
    line-height: 1;
}

.stat span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 34px;
    background: var(--sand);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
}

.blob-wrapper {
    position: relative;
    padding: 2rem;
    min-height: 322px;
    contain: layout style;
}

.organic-blob {
    width: 100%;
    max-width: 322px;
    aspect-ratio: 1 / 1;
    background-image: url('assets/placeholder-body.webp');
    background-size: cover;
    background-position: center;
    border-radius: 60% 40% 70% 30% / 45% 55% 45% 55%;
    animation: morphBlob 12s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 901px) {
    .blob-wrapper {
        min-height: 520px;
    }
    .organic-blob {
        max-width: 520px;
    }
}

@keyframes morphBlob {
    0%,
    100% {
        transform: scale(1) rotate(-3deg);
    }

    50% {
        transform: scale(1.05) rotate(3deg);
    }
}

.floating-tag {
    position: absolute;
    background: var(--white);
    color: var(--forest);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    animation: floatTag 4s ease-in-out infinite;
    pointer-events: none;
}

.tag-1 {
    top: 10%;
    right: -4%;
}

.tag-2 {
    bottom: 16%;
    left: -4%;
    animation-delay: 1.8s;
}

@keyframes floatTag {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-9px);
    }
}

.how-it-works {
    background: var(--bg-sand);
}

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

.step {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.step:hover {
    border-bottom-color: var(--leaf);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--leaf);
    line-height: 1;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.5rem;
}

.for-practitioners {
    background: var(--forest);
    color: var(--white);
}

.for-practitioners .eyebrow.light,
#for-practitioners .eyebrow.light {
    color: #B5E2DB;
}

.for-practitioners h2 {
    color: var(--white);
}

.for-practitioners h2 em {
    color: var(--leaf);
    font-style: italic;
    opacity: 1;
}

.practitioners-cta-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 6rem;
    align-items: center;
}

.practitioners-cta-text p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 1.5rem 0 2rem;
    max-width: 480px;
}

.cta-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
}

.cta-benefits li {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}

.cta-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--leaf);
    font-weight: 600;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.founder-badge {
    background: rgba(251, 251, 249, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #FFF2E0;
    background: rgba(35, 20, 38, 0.55);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.badge-price {
    font-family: 'DM Serif Display', serif;
    font-size: 3.2rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 1rem;
}

.badge-price span {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.65;
}

.founder-badge > p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.badge-perks {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
}

.badge-perks li {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.3rem 0;
}

.newsletter {
    background: var(--bg-sand);
}

.newsletter-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-inner p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 1rem 0 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.newsletter-form:focus-within {
    outline: 3px solid var(--forest);
    outline-offset: -3px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.6rem;
    border: none;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
}

.newsletter-form button {
    background: var(--forest);
    color: var(--white);
    border: none;
    padding: 1rem 1.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

.newsletter-form button:hover {
    background: var(--forest-mid);
}

.newsletter-note {
    display: block;
    font-size: 0.76rem;
    color: #595C57;
    margin-top: 1rem;
    opacity: 1;
}

.meetup-strip {
    background: linear-gradient(90deg, #3D6B63 0%, #4A7B72 55%, #6D9A90 100%);
    color: var(--white);
    padding: 1.4rem 0;
}

.meetup-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meetup-strip-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.meetup-strip-text {
    flex: 1;
    min-width: 200px;
}

.meetup-strip-text strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.02rem;
    margin-bottom: 0.18rem;
}

.meetup-strip-text span {
    font-size: 0.84rem;
    opacity: 0.82;
}

.meetup-strip .btn-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition);
    white-space: nowrap;
}

.meetup-strip .btn-strip:hover {
    background: rgba(255, 255, 255, 0.3);
}

.homepage-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(162, 181, 174, 0.16), transparent 30%), linear-gradient(180deg, var(--bg-sand), var(--bg-stone) 48%, var(--white));
    background-color: var(--bg-stone);
}

.homepage-hero {
    min-height: 85vh;
    padding-top: 24rem;
}

.homepage-hero .eyebrow {
    color: var(--leaf-deep);
}

.homepage-hero h1 {
    color: var(--plum);
    font-size: clamp(2.8rem, 5vw, 4rem);
}

.homepage-hero .intro-p {
    color: #53615a;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 500px;
}

.homepage-hero .hero-btns {
    margin-top: 2rem;
}

.homepage-hero .floating-tag.tag-1 {
    color: var(--plum);
}

.homepage-hero .floating-tag.tag-2 {
    color: var(--leaf-deep);
}

.homepage-nav .brand-tagline {
    color: var(--leaf-deep);
    opacity: 0.8;
}

.homepage-nav .cta-pill {
    background: var(--leaf-deep) !important;
}

.homepage-magazine,
.hero + .magazine-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.audience-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.audience-panel {
    background: var(--white);
    border: 1px solid rgba(111, 148, 138, 0.12);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: 0 10px 35px rgba(43, 54, 49, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.3s ease;
}

.audience-panel:hover {
    transform: translateY(-2px);
}

.panel-head {
    font-family: 'DM Serif Display', serif;
    font-size: 1.65rem;
    color: var(--plum);
    margin-bottom: 0.5rem;
}

.panel-head.sage {
    color: var(--leaf-deep);
}

.panel-p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5c6b64;
    margin-bottom: 1.5rem;
    max-width: 380px;
}

.btn-plum,
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 40px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-plum {
    background: var(--plum);
}

.btn-plum:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 70, 93, 0.12);
}

.btn-primary-custom {
    background: var(--leaf-deep);
}

.btn-primary-custom:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 120, 111, 0.12);
}

.journal-section-head {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 3.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.journal-section-head .eyebrow {
    color: var(--leaf-deep);
}

.journal-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--plum);
}

.journal-magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.journal-magazine-grid .loading-message {
    grid-column: 1 / -1;
    color: var(--ink);
    opacity: 0.6;
    padding: 2rem 0;
    font-style: italic;
    font-size: 0.9rem;
}

.magazine-card {
    background: var(--white);
    border: 1px solid rgba(111, 148, 138, 0.12);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.01);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(43, 54, 49, 0.08);
}

.magazine-card-img {
    width: 100%;
    height: 165px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.magazine-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.magazine-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: rgba(111, 148, 138, 0.08);
    color: var(--leaf-deep);
    border-radius: 4px;
    font-weight: 600;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.magazine-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
    line-height: 1.25;
    font-weight: 500;
}

.magazine-card p {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #62726a;
    margin: 0;
}

.archive-trigger-wrap {
    text-align: center;
    margin-top: 0.5rem;
    padding-bottom: 4.5rem;
}

.archive-trigger {
    color: var(--leaf-deep);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(79, 120, 111, 0.25);
    padding-bottom: 2px;
    transition: all 0.2s ease;
    display: inline-block;
}

.archive-trigger:hover {
    color: var(--plum);
    border-bottom-color: var(--plum);
}

.holding-footer {
    text-align: center;
    background-color: var(--plum);
    padding: 4rem 1.5rem 3rem;
}

.holding-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.holding-footer-quote {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.holding-footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

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

    .audience-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .journal-magazine-grid {
        grid-template-columns: 1fr;
    }

    .audience-panel {
        padding: 2rem 1.5rem;
    }
}

.directory-filters-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.pillar-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.specialty-filter-container {
    display: none;
    width: 100%;
    transition: opacity var(--transition);
}

.specialty-dropdown {
    appearance: none;
    -webkit-appearance: none;
    width: fit-content;
    min-width: 240px;
    margin: 0 auto;
    display: block;
    padding: 0.6rem 2.5rem 0.6rem 1.5rem;
    border: 1px solid rgba(45, 62, 51, 0.15);
    border-radius: 50px;
    background-color: transparent;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%232d3e33%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M1.646%204.646a.5.5%200%200%201%20.708%200L8%2010.293l5.646-5.647a.5.5%200%200%201%20.708.708l-6%206a.5.5%200%200%201-.708%200l-6-6a.5.5%200%200%201%200-.708z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    color: var(--forest);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all var(--transition);
}

.directory-grid-section {
    padding-top: 1rem;
}

.venue-connector-section {
    margin-top: 6rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
    padding-top: 5rem;
}

.founding-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-text);
    background: rgba(184, 157, 129, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.editorial-card {
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    height: 100%;
    border: 1px solid rgba(108, 83, 109, 0.1);
}

.editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.events-hub-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(111, 148, 138, 0.1);
}

.events-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.events-hub-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 85px;
    height: 85px;
    background: var(--bg-sand);
    border-radius: 12px;
    margin-right: 2rem;
    flex-shrink: 0;
}

.events-hub-card__date .day {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--plum);
    line-height: 1;
}

.events-hub-card__date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--leaf-deep);
    font-weight: 600;
}

.events-hub-card__content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.event-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--leaf-deep);
    margin-bottom: 1rem;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .events-hub-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .events-hub-card__date {
        margin-bottom: 1.5rem;
    }

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

.events-page {
    background: radial-gradient(circle at top left, rgba(107, 163, 152, 0.16), transparent 32%), linear-gradient(180deg, #EBF3F0, var(--bg-stone) 48%, var(--white));
}

.events-page h1,
.events-page h2,
.events-page h3,
.events-page h4 {
    color: #3D6B63;
}

.events-page .eyebrow {
    color: #6D9A90;
}

.events-page .subpage-backlink {
    color: #4A7B72;
}

.events-page .subpage-tag {
    background: rgba(107, 163, 152, 0.18);
    color: #3D6B63;
}

.events-page .btn-primary {
    background: #4A7B72;
}

.events-page .btn-primary:hover {
    background: #3A6860;
}

.events-page .btn-ghost {
    color: #4A7B72;
    border-color: #4A7B72;
}

.events-page .btn-ghost:hover {
    background: #4A7B72;
    color: var(--white);
}

.events-page .subpage-nav .cta-pill {
    background: #4A7B72;
}

.events-page .subpage-nav .cta-pill:hover {
    background: #3A6860;
}

.meetup-pane {
    background: linear-gradient(135deg, #3D6B63 0%, #5E9088 100%);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.75rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.meetup-pane::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.meetup-pane-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1rem;
}

.meetup-pane h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.meetup-pane > p {
    font-size: 0.88rem;
    opacity: 0.82;
    margin-bottom: 1rem;
}

.meetup-detail {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.83rem;
    opacity: 0.88;
    margin-bottom: 0.45rem;
}

.meetup-detail svg {
    opacity: 0.72;
    flex-shrink: 0;
}

.meetup-pane .btn-meetup {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition);
}

.meetup-pane .btn-meetup:hover {
    background: rgba(255, 255, 255, 0.3);
}

.featured-spotlight {
    position: relative;
    background: linear-gradient(135deg, #3D6B63 0%, #6D9A90 100%);
    border-radius: var(--radius-lg);
    padding: 2.75rem 3rem;
    color: var(--white);
    overflow: hidden;
    margin-top: 2.5rem;
}

.featured-spotlight::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.featured-spotlight::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 55%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.featured-spotlight-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: start;
    position: relative;
}

.featured-spotlight h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin: 0;
}

.featured-spotlight > p,
.featured-spotlight-inner > .featured-copy > p {
    opacity: 0.82;
    max-width: 560px;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.2rem 0;
}

.featured-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    opacity: 0.88;
}

.featured-meta-item svg {
    opacity: 0.75;
}

.featured-cta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 175px;
    flex-shrink: 0;
}

.featured-practitioner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
    opacity: 0.82;
}

.featured-practitioner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.featured-practitioner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-spotlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: #3D6B63;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-spotlight:hover {
    background: var(--bg-sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.events-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 2.5rem 0 1.25rem;
    align-items: center;
}

.filter-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 0.3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(61, 107, 99, 0.22);
    background: none;
    color: #3d6b63;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    border-color: #4A7B72;
    background: rgba(74, 123, 114, 0.09);
}

.filter-btn.active {
    background: #4a7b72;
    color: var(--white);
    border-color: #4A7B72;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.event-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 107, 99, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.event-card[hidden] {
    display: none;
}

.event-card h3 {
    color: #3D6B63;
    margin-bottom: 0;
    font-size: 1.15rem;
}

.event-card p {
    color: var(--text-muted);
    font-size: 0.91rem;
    flex: 1;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.79rem;
    color: var(--text-muted);
}

.event-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-outline-sage {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(74, 123, 114, 0.3);
    color: #4A7B72;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    margin-top: auto;
    align-self: flex-start;
}

.btn-outline-sage:hover {
    background: #4A7B72;
    color: var(--white);
    border-color: #4A7B72;
}

.events-calendar-section {
    margin: 3.5rem 0 1rem;
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.75rem;
}

.mini-calendar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 107, 99, 0.1);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    background: #4A7B72;
    color: var(--white);
}

.calendar-nav-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#cal-title,
.calendar-header h3,
.calendar-header h4 {
    color: #FFFFFF !important;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.cal-nav-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.32rem 0.6rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: background var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.calendar-grid-area {
    padding: 0.9rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.35rem;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.3rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    font-family: inherit;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
}

.cal-day:not(:disabled):hover {
    background: rgba(74, 123, 114, 0.12);
}

.cal-day.today {
    background: rgba(74, 123, 114, 0.14);
    font-weight: 600;
    color: #3D6B63;
}

.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4A7B72;
}

.cal-day.selected {
    background: #4A7B72;
    color: var(--white);
}

.cal-day.selected::after {
    background: rgba(255, 255, 255, 0.8);
}

.cal-day.other-month {
    opacity: 0.25;
    cursor: default;
}

.cal-day {
    position: relative;
}

.cal-day.has-event:hover {
    z-index: 50;
}

.cal-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    background-color: var(--forest);
    color: var(--white);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
    word-break: break-word;
    width: max-content;
    max-width: 220px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.cal-tooltip span {
    display: block;
}

.cal-tooltip span + span {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Default / Center alignment (Columns 3-5: Wed, Thu, Fri) */
.cal-day .cal-tooltip,
.cal-day.align-center .cal-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.cal-day.has-event:hover .cal-tooltip,
.cal-day.align-center.has-event:hover .cal-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.cal-day .cal-tooltip::after,
.cal-day.align-center .cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--forest) transparent transparent transparent;
}

/* Left edge alignment (Columns 1-2: Mon, Tue) */
.cal-day.align-left .cal-tooltip {
    left: 0;
    right: auto;
    transform: translateX(0);
}

.cal-day.align-left.has-event:hover .cal-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-5px);
}

.cal-day.align-left .cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 18px;
    right: auto;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--forest) transparent transparent transparent;
}

/* Right edge alignment (Columns 6-7: Sat, Sun) */
.cal-day.align-right .cal-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.cal-day.align-right.has-event:hover .cal-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-5px);
}

.cal-day.align-right .cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: auto;
    right: 18px;
    transform: translateX(50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--forest) transparent transparent transparent;
}

@media (max-width: 768px), (hover: none) {
    .cal-tooltip {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.cal-day.multi-day {
    background-color: rgba(74, 123, 114, 0.15);
    color: #3D6B63;
    border-radius: 0;
}

.cal-day.multi-day.today {
    background-color: rgba(74, 123, 114, 0.3);
}

.cal-day.multi-day.selected {
    background: #4A7B72;
    color: var(--white);
}

.cal-day.event-start {
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
}

.cal-day.event-end {
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.cal-day.multi-day::after {
    display: none;
}

.calendar-legend {
    padding: 0.65rem 1rem;
    border-top: 1px solid rgba(61, 107, 99, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4A7B72;
    flex-shrink: 0;
}

.calendar-agenda {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 107, 99, 0.1);
    padding: 1.5rem;
}

.calendar-agenda #agenda-title {
    margin-bottom: 1.5rem;
}

.agenda-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(61, 107, 99, 0.07);
    align-items: flex-start;
}

.agenda-item:last-of-type {
    border-bottom: none;
}

.agenda-date-col {
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.agenda-day {
    font-size: 1.25rem;
    font-weight: 300;
    color: #4A7B72;
    line-height: 1;
    font-family: 'DM Serif Display', serif;
}

.agenda-month {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}

.agenda-info h5 {
    font-family: 'DM Serif Display', serif;
    font-size: 0.96rem;
    color: #3D6B63;
    margin: 0 0 0.22rem;
}

.agenda-info .agenda-time {
    font-size: 0.79rem;
    color: var(--text-muted);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.date-badge .day {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 2px;
}

.date-badge .month {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--plum);
}

.event-detail-back-link {
    color: var(--forest);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.event-detail-back-link:hover {
    color: var(--ink);
}

.hero-section-wrapper {
    position: relative;
    margin-top: 2.5rem;
    width: 100%;
}

.floating-back-btn {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.floating-back-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.event-header-titles {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.event-header-titles h1 {
    margin: 0;
    max-width: 800px;
}

.event-detail-image {
    width: 100% !important;
    height: 450px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
    background-color: var(--bg-stone);
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.event-detail-category {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.event-detail-title {
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
    font-size: 3rem;
    margin: 0.5rem 0 1.5rem 0;
}

.event-detail-description {
    line-height: 1.8;
    color: var(--ink);
    white-space: pre-wrap;
    font-size: 1.05rem;
}

.event-detail-tags-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.event-detail-tag {
    background-color: #F0EFEB;
    color: var(--forest);
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
}

.event-detail-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 83, 109, 0.1);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.event-detail-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: var(--text);
}

.event-detail-sidebar-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-muted);
}

.event-detail-sidebar-item + .event-detail-sidebar-item {
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.event-detail-booking-btn {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

#agenda-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hosted-by-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.hosted-by-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin: -0.5rem;
    padding: 0.5rem;
    transition: background-color var(--transition);
}

.hosted-by-link:hover {
    background-color: rgba(108, 83, 109, 0.04);
}

.hosted-by-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.hosted-by-info {
    display: flex;
    flex-direction: column;
}

.hosted-by-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
}

.hosted-by-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 800px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-detail-sidebar {
        order: -1;
    }

    .agenda-item-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-item-image {
        width: 100%;
        height: 220px;
    }
}

.agenda-item-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 107, 99, 0.1);
    box-shadow: var(--shadow-sm);
}

#featured-event-slot .event-item,
.featured-event-card {
    border: 2px solid #D4AF37;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    background: linear-gradient(to bottom right, #FFFFFF, #FDFCF8);
}

#featured-event-slot .event-item span[style*="color"],
.featured-event-card span[style*="color"] {
    color: #D4AF37 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

#featured-event-slot .event-item .btn-primary,
.featured-event-card .btn-primary {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

.agenda-item-card.featured-event {
    border: 2px solid #D4AF37;
    box-shadow: var(--shadow-md);
}

.practitioner-card.featured-venue {
    border: 2px solid #D4AF37;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    background: linear-gradient(to bottom right, #FFFFFF, #FDFCF8);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.featured-venue-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.featured-venue-header span {
    color: #D4AF37;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-venue-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.featured-venue-row .practitioner-info {
    flex: 1;
    min-width: 250px;
    padding: 0;
}

.featured-venue-row .practitioner-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.featured-venue-row .profile-link-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.featured-venue-actions {
    margin-left: auto;
    padding-left: 1rem;
}

.btn-primary-gold {
    background-color: #D4AF37;
    border-color: #D4AF37;
}

.agenda-item-image {
    width: 300px;
    height: 220px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
}

.agenda-item-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--forest);
    font-family: 'DM Serif Display', serif;
}

.agenda-item-title a {
    text-decoration: none;
    color: inherit;
}

.agenda-item-meta {
    color: var(--forest);
    font-weight: 500;
}

.agenda-item-location {
    margin-bottom: 1rem;
}

.agenda-item-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.agenda-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.agenda-empty-message {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 1rem 0;
}

.filter-bar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 107, 99, 0.1);
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-search-wrapper {
    flex: 1 1 100%;
    position: relative;
    min-width: 250px;
}

.filter-bar .interests-search {
    width: 100%;
    padding-left: 44px;
}

.filter-search-wrapper .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--forest);
    opacity: 0.6;
    pointer-events: none;
}

.filter-bar .luxury-dropdown {
    min-width: 180px;
}

.filter-bar .btn-text-link {
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.filter-bar .btn-text-link:hover {
    color: var(--forest);
}

@media (max-width: 900px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

#nav-auth-btn {
    color: #fbfbfa !important;
}

#nav-auth-btn:hover {
    color: #fbfbfa !important;
}

.search-highlight {
    background-color: var(--leaf);
    color: var(--white);
    padding: 1px 3px;
    border-radius: 3px;
    font-style: normal;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(162, 181, 174, 0.5);
}

.profile-page-main {
    padding-top: 8ch !important;
    margin-top: 0 !important;
}

.profile-page-main .profile-back-link {
    margin-top: 0 !important;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-container {
    padding-top: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.profile-header .profile-name {
    margin-bottom: 0;
}

.favourite-btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-pill);
    padding: 0.9rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.favourite-btn-profile svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

.favourite-btn-profile:hover {
    border-color: #A2B5AE;
    color: var(--ink);
}

.favourite-btn-profile.active {
    background: #4A7B72;
    border-color: #4A7B72;
    color: var(--white);
}

.favourite-btn-profile.active svg {
    fill: var(--white);
    stroke: var(--white);
}

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    transition: color var(--transition);
}

.profile-back-link:hover {
    color: var(--forest);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.profile-image-sticky-container {
    position: sticky;
    top: 140px;
}

.profile-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.profile-content-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.08);
}

.profile-pillar {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.profile-name {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--forest);
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.profile-title {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 2rem;
}

.profile-specialty-tags {
    margin-bottom: 2.5rem;
}

.profile-specialty-tag {
    display: inline-block;
    background: rgba(108, 83, 109, 0.06);
    color: var(--forest);
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 0.5rem 0.5rem 0;
}

.profile-specialty-tag:hover {
    background: var(--forest);
    color: var(--white);
    text-decoration: none;
}

.profile-meta-bar {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
    border-bottom: 1px solid rgba(108, 83, 109, 0.1);
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.profile-bio {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.profile-events-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.profile-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.practitioner-event-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-stone);
    border-radius: var(--radius-sm);
    border: 1px solid var(--sand);
}

.practitioner-event-info {
    flex-grow: 1;
}

.practitioner-event-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.practitioner-event-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--forest);
    margin: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text);
    width: 100%;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
}

.hours-list li strong {
    font-weight: 500;
}

.venue-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-image-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

@media (max-width: 800px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image-sticky-container {
        position: relative;
        top: 0;
    }
}

/* --- Profile Actions & Button Stack --- */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 440px;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

.profile-actions .profile-cta,
.profile-actions .btn-primary,
.profile-actions .btn-outline,
.profile-actions .btn-share {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0.75rem 1.4rem !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

/* Primary Button: Message [Name] */
.profile-actions .btn-primary.profile-cta,
.profile-actions .btn-primary {
    background: var(--plum, #6C536D) !important;
    color: #FFFFFF !important;
    border: 1.5px solid var(--plum, #6C536D) !important;
    box-shadow: 0 4px 14px rgba(108, 83, 109, 0.22) !important;
}

.profile-actions .btn-primary.profile-cta:hover,
.profile-actions .btn-primary:hover {
    background: var(--forest-mid, #5D465F) !important;
    border-color: var(--forest-mid, #5D465F) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(108, 83, 109, 0.3) !important;
}

/* Secondary & Tertiary Buttons: Book a Session & Share Profile */
.profile-actions .btn-outline.profile-cta,
.profile-actions .btn-outline,
.profile-actions .btn-share {
    background: #FAF8F5 !important;
    color: var(--forest, #6C536D) !important;
    border: 1.5px solid rgba(108, 83, 109, 0.24) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.profile-actions .btn-outline.profile-cta:hover,
.profile-actions .btn-outline:hover,
.profile-actions .btn-share:hover {
    background: #FFFFFF !important;
    border-color: var(--plum, #6C536D) !important;
    color: var(--plum, #6C536D) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.12) !important;
}

.profile-actions .btn-share.copied {
    background-color: var(--leaf, #4A7B72) !important;
    border-color: var(--leaf, #4A7B72) !important;
    color: #FFFFFF !important;
}

.profile-actions .btn-practitioner-disabled-msg {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    background: #F3F4F6 !important;
    color: #6B7280 !important;
    border-color: #E5E7EB !important;
}

.digital-presence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.digital-presence-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(108, 83, 109, 0.15);
    transition: all 0.3s ease;
}

.digital-presence-icon i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.digital-presence-icon {
    color: var(--text-muted);
}

.digital-presence-icon.icon-website:hover {
    color: var(--plum);
    border-color: var(--plum);
}

.digital-presence-icon.icon-linkedin:hover {
    color: #0077b5;
    border-color: #0077b5;
}

.digital-presence-icon.icon-facebook:hover {
    color: #1877F2;
    border-color: #1877F2;
}

.digital-presence-icon.icon-pinterest:hover {
    color: #E60023;
    border-color: #E60023;
}

.digital-presence-icon.icon-tiktok:hover {
    color: #000000;
    border-color: #000000;
}

.digital-presence-icon.icon-instagram:hover {
    border-color: #cc2366;
}

.digital-presence-icon.icon-instagram:hover i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-qualifications-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.timeline {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 2.5rem;
    margin-left: 5.5rem;
    border-left: 2px solid var(--sand);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.95rem;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--leaf);
    border: 2px solid var(--white);
}

.timeline-year {
    position: absolute;
    left: -8rem;
    top: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 4.5rem;
    text-align: right;
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}

.profile-services-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item-card {
    background: var(--bg-stone);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
}

.service-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.service-item-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--forest);
    font-weight: 500;
}

.service-item-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--forest);
    white-space: nowrap;
}

.service-item-format {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.manage-events-main,
.subpage-main.manage-events-main {
    padding: calc(var(--header-height, 195px) + 2.5rem) 4% 5rem !important;
    max-width: 850px;
    margin: 0 auto;
}

.manage-events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.manage-events-header h1 {
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
    font-size: 2.8rem;
    margin: 0;
}

.manage-events-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.manage-events-section {
    margin-top: 3rem;
}

.manage-events-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(108, 83, 109, 0.1);
    padding-bottom: 0.8rem;
}

.event-count {
    font-weight: normal;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 83, 109, 0.1);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: box-shadow var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-md);
}

.event-item-info {
    flex-grow: 1;
}

.event-item-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.event-item-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.event-item-actions {
    display: flex;
    gap: 0.75rem;
}

.event-item-actions .btn-small {
    padding: 0.8rem 1.2rem;
}

.empty-list-message {
    color: var(--text-muted);
}

.dashboard-body {
    background-color: #F6F4F0 !important;
}

.dashboard-main,
.subpage-main.dashboard-main,
.seeker-dashboard.subpage-main {
    max-width: 1150px;
    margin: 0 auto;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: calc(var(--header-height, 195px) + 2.5rem) 4% 5rem !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .dashboard-main,
    .subpage-main.dashboard-main,
    .seeker-dashboard.subpage-main {
        padding: calc(var(--header-height, 140px) + 1.5rem) 4% 4rem !important;
    }
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1,
.dashboard-header h2 {
    font-family: 'DM Serif Display', 'Playfair Display', serif;
    color: var(--forest, #6C536D);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin: 0 0 0.5rem 0;
    line-height: 1.15;
}

.dashboard-header p,
.dashboard-welcome {
    font-size: 1.1rem;
    color: #555555;
    margin: 0;
    line-height: 1.5;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: rgba(108, 83, 109, 0.03);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(108, 83, 109, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.dashboard-card.highlight {
    background: rgba(108, 83, 109, 0.06);
    border-color: rgba(108, 83, 109, 0.15);
}

.dashboard-card h3 {
    font-family: 'DM Serif Display', serif;
    margin-top: 0;
    color: var(--forest);
    font-size: 1.4rem;
}

.dashboard-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.dashboard-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--forest);
    padding-bottom: 2px;
    transition: opacity 0.3s;
    align-self: center;
}

.dashboard-card-link:hover {
    opacity: 0.7;
}

.seeker-dashboard.subpage-main {
    padding-top: 11rem;
}

.dashboard-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 3fr;
    gap: 3rem;
    align-items: flex-start;
}

.dashboard-sidebar {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: max-content;
    align-self: flex-start;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background-color: #E6DCD1;
    border-radius: 10px;
}

.seeker-dashboard .dashboard-header h2 {
    color: #4A7B72;
}

.seeker-dashboard .btn-primary {
    background: #4A7B72;
}

.seeker-dashboard .btn-primary:hover {
    background: #3A6860;
}

.dashboard-section + .dashboard-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.dashboard-section h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.chart-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.1);
}

.chart-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.interests-search-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.interests-search-wrapper .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0.6;
}

.interests-search {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border: 1px solid var(--sand);
    border-radius: var(--radius-pill);
    background: var(--bg-stone);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition);
}

.interests-search:focus {
    border-color: var(--leaf);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    outline: 3px solid var(--leaf);
    outline-offset: 2px;
}

.interests-subsection {
    margin-top: 1.5rem;
}

.interests-subsection h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.interest-tag {
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--sand);
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
}

.interest-tag:hover {
    border-color: #A2B5AE;
    color: var(--ink);
    transform: translateY(-2px);
}

.interest-tag.active {
    background: #4A7B72;
    color: var(--white);
    border-color: #4A7B72;
    box-shadow: 0 0 10px rgba(108, 83, 109, 0.4);
}

.placeholder-grid {
    background: var(--bg-stone);
    border: 1px dashed var(--sand);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin-top 0.5s ease-out;
}

.collapsible-content.expanded {
    max-height: 1000px;
    margin-top: 2.5rem;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--leaf-deep);
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.save-interests-container {
    text-align: center;
    margin-top: 2rem;
}

.saved-practitioners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.saved-practitioner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--sand);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.saved-practitioner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--leaf);
}

.saved-practitioner-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.saved-practitioner-info h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--ink);
    margin: 0 0 0.2rem 0;
}

.saved-practitioner-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.saved-card-content-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.btn-remove-saved {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
    padding-bottom: 2px;
}

.btn-remove-saved:hover {
    background: #D9534F;
    transform: scale(1.1);
}

.article-content {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.75;
    font-size: 1.1rem;
    max-width: 70ch;
    margin: 0 auto;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'DM Serif Display', serif;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 2.2rem;
    color: var(--plum);
}

.article-content h3 {
    font-size: 1.6rem;
    color: var(--forest);
}

.article-content p {
    margin-bottom: 1.6rem;
    color: #4f5f59;
}

.article-content blockquote,
.article-content .wp-block-quote {
    border-left: 3px solid var(--leaf);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--leaf-deep);
    background: transparent;
}

.article-content img,
.article-content figure,
.article-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.6rem;
    padding-left: 1.5rem;
    color: #4f5f59;
}

.article-content li {
    margin-bottom: 0.6rem;
}

.article-content a {
    color: var(--leaf-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: var(--plum);
}

.practitioner-card {
    position: relative !important;
}

.card-link,
.card-image-link,
.card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    outline: none !important;
    pointer-events: auto !important;
}

.card-link:focus-visible {
    border: 2px solid var(--forest);
    border-radius: inherit;
}

.practitioner-img {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.favourite-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(108, 83, 109, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

.favourite-btn:hover {
    background: var(--white) !important;
    transform: scale(1.1) !important;
}

.favourite-btn.active,
.favourite-btn.saved {
    background: rgba(255, 228, 233, 0.95) !important;
}

.favourite-btn svg,
.favourite-btn svg * {
    pointer-events: none !important;
}

.favourite-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    fill: none;
    transition: all 0.3s ease;
}

.favourite-btn.active svg,
.favourite-btn.saved svg {
    fill: #4A7B72 !important;
    stroke: #4A7B72 !important;
}

.practitioner-info .profile-link,
.practitioner-info .btn-primary,
.practitioner-info .btn-outline,
.practitioner-info a,
.practitioner-info button {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
}

.blog-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}

.blog-filter-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-pill {
    background: #FAF8F5;
    color: var(--text-muted, #6B7280);
    border: 1px solid rgba(108, 83, 109, 0.12);
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-pill:hover {
    background: #ffffff;
    color: var(--forest, #6C536D);
    border-color: var(--forest, #6C536D);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--forest, #6C536D);
    color: #ffffff;
    border-color: var(--forest, #6C536D);
    box-shadow: 0 4px 14px rgba(108, 83, 109, 0.25);
}

.filter-search-wrapper {
    position: relative;
    flex: 0 1 280px;
    min-width: 220px;
    display: flex;
    align-items: center;
}

.filter-search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    opacity: 0.6;
    pointer-events: none;
    line-height: 1;
}

.filter-search-wrapper .interests-search {
    width: 100%;
    padding: 0.65rem 1.25rem 0.65rem 2.75rem;
    background: #ffffff;
    border: 1px solid rgba(108, 83, 109, 0.18);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--ink, #212523);
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(108, 83, 109, 0.04);
    box-sizing: border-box;
}

.filter-search-wrapper .interests-search:focus {
    border-color: var(--forest, #6C536D);
    box-shadow: 0 0 0 3px rgba(108, 83, 109, 0.14);
    background: #ffffff;
    outline: 3px solid var(--forest, #6C536D);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .blog-filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .blog-filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .filter-search-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

#blog-grid.practitioner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    align-items: stretch;
}

#blog-grid .practitioner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(108, 83, 109, 0.08);
    box-shadow: 0 4px 16px rgba(45, 62, 51, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

#blog-grid .practitioner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(108, 83, 109, 0.12);
    border-color: rgba(108, 83, 109, 0.2);
}

#blog-grid .practitioner-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--bg-stone, #F9F8F6);
    flex-shrink: 0;
}

#blog-grid .practitioner-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#blog-grid .practitioner-card:hover .practitioner-img {
    transform: scale(1.05);
}

#blog-grid .practitioner-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.6rem 1.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
}

.card-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-meta-bar .category-tag {
    margin-bottom: 0;
}

.card-read-time {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted, #6B7280);
    letter-spacing: 0.02em;
}

#blog-grid .practitioner-info h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.28rem;
    line-height: 1.35;
    color: var(--ink, #1F2937);
    margin: 0 0 0.65rem 0;
    display: block;
    overflow: visible;
}

#blog-grid .practitioner-info p.location,
#blog-grid .practitioner-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #5F6F69;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(108, 83, 109, 0.08);
}

.card-date {
    font-size: 0.78rem;
    color: var(--text-muted, #6B7280);
    font-weight: 500;
}

#blog-grid .practitioner-info .profile-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--forest, #6C536D);
    letter-spacing: 0.02em;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.arrow-glide {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#blog-grid .practitioner-card:hover .arrow-glide {
    transform: translateX(4px);
}

.card-skeleton {
    background: #ffffff;
    pointer-events: none;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #EDE8E2;
}

.skeleton-pill {
    width: 70px;
    height: 20px;
    border-radius: 999px;
    background: #EDE8E2;
    margin-bottom: 0.75rem;
}

.skeleton-title {
    width: 85%;
    height: 22px;
    border-radius: 4px;
    background: #EDE8E2;
    margin-bottom: 0.75rem;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    border-radius: 4px;
    background: #EDE8E2;
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

.shimmer {
    background: linear-gradient(90deg, #EDE8E2 0%, #F5F2EE 50%, #EDE8E2 100%);
    background-size: 200% 100%;
    animation: shimmerPulse 1.6s infinite ease-in-out;
}

@keyframes shimmerPulse {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.sunday-edit-strip {
    margin: 4.5rem 0 3rem 0;
    background: radial-gradient(circle at top right, rgba(111, 148, 138, 0.1), transparent 50%), radial-gradient(circle at bottom left, rgba(108, 83, 109, 0.08), transparent 50%), #ffffff;
    border: 1px solid rgba(108, 83, 109, 0.12);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(108, 83, 109, 0.06);
}

.sunday-edit-content {
    max-width: 600px;
    margin: 0 auto;
}

.sunday-edit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(111, 148, 138, 0.12);
    color: var(--leaf-deep, #3A6860);
    border: 1px solid rgba(111, 148, 138, 0.3);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sunday-edit-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    color: var(--forest, #6C536D);
    margin: 0 0 0.85rem 0;
    line-height: 1.2;
}

.sunday-edit-content p {
    color: #4B5563;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
}

.btn-sunday-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--forest, #6C536D);
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(108, 83, 109, 0.2);
}

.btn-sunday-edit:hover {
    background: var(--forest-mid, #5B445C);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(108, 83, 109, 0.28);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--leaf-deep);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--plum);
}

.blog-hero-image {
    height: 100%;
    min-height: 220px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sm);
}

.blog-archive-section {
    margin-top: 3rem;
}

.blog-archive-title {
    margin-bottom: 2rem;
}

.blog-loading-message {
    text-align: center;
    color: var(--text-muted);
    width: 100%;
}

.blog-footer {
    text-align: center;
    background-color: #5c465d;
    padding: 3.5rem 1.5rem 2.5rem;
    color: #ffffff;
    margin-top: 4rem;
}

.blog-footer-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-footer-crest {
    width: 55px;
    height: 55px;
    display: block;
    margin: 0 auto 1.2rem auto;
    object-fit: contain;
    filter: grayscale(1) invert(1) brightness(1.2);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.article-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    color: var(--forest, #6C536D);
    margin-bottom: 1rem;
}

.article-meta-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.article-header .blog-back-link {
    color: var(--forest);
}

.article-body-loading {
    text-align: center;
}

.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 24px rgba(45, 62, 51, 0.08);
}

#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #6C536D, #3A6860);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

.article-author-signoff {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #FAF8F5;
    border: 1px solid rgba(108, 83, 109, 0.1);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 3.5rem 0 2rem;
}

.article-author-signoff .author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.15);
}

.article-author-signoff .author-info h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--forest, #6C536D);
    margin: 0 0 0.35rem;
}

.article-author-signoff .author-info p {
    font-size: 0.88rem;
    color: #5F6F69;
    line-height: 1.5;
    margin: 0;
}

.article-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
    border-bottom: 1px solid rgba(108, 83, 109, 0.1);
    margin-bottom: 3.5rem;
}

.article-share-bar .share-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-share-bar .share-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FAF8F5;
    color: #374151;
    border: 1px solid rgba(108, 83, 109, 0.15);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.15);
}

.share-btn--copy:hover {
    border-color: #6C536D;
    color: #6C536D;
}

.share-btn--whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.share-btn--email:hover {
    border-color: #6C536D;
    color: #6C536D;
}

.explore-more-section {
    margin: 4rem 0 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(108, 83, 109, 0.12);
}

.explore-more-section h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--forest, #6C536D);
    margin-bottom: 2rem;
    text-align: center;
}

#blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--sand);
    background: var(--white);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--leaf);
    color: var(--forest);
}

.pagination-btn.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.pagination-btn:disabled {
    background: var(--bg-sand);
    color: var(--text-muted);
    opacity: 0.7;
    cursor: not-allowed;
}

.join-hero {
    text-align: center;
    padding: 1rem 0 3rem;
    max-width: 680px;
    margin: 0 auto;
}

.join-hero-image {
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sm);
}

.join-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.join-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 1rem auto 0;
}

.join-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.join-tier {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(108, 83, 109, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.join-tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.join-tier.featured-tier {
    border-color: var(--forest);
    background: linear-gradient(160deg, #FAF7FC, var(--white));
}

.join-tier.pioneer-tier {
    border-color: #4A7B72;
    background: linear-gradient(160deg, #EBF3F0, var(--white));
}

.tier-top-badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--forest);
    color: var(--white);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.pioneer-tier .tier-top-badge {
    background: #4A7B72;
}

.tier-icon--pioneer {
    color: #3D6B63;
}

.tier-icon--practitioner {
    color: var(--forest);
}

.tier-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(108, 83, 109, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.pioneer-tier .tier-icon {
    background: rgba(74, 123, 114, 0.14);
}

.join-tier h2,
.join-tier h3,
.tier-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
    line-height: 1.2;
}

.tier-subtitle {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    line-height: 1.45;
}

.tier-price {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.tier-price .price-period {
    font-size: 1rem;
    opacity: 0.6;
}

.pioneer-tier .tier-price {
    color: #3D6B63;
}

.tier-price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.52rem 0;
    font-size: 0.87rem;
    color: var(--text);
    border-bottom: 1px solid rgba(108, 83, 109, 0.07);
}

.pioneer-tier .tier-features li {
    border-color: rgba(61, 107, 99, 0.07);
}

.tier-features li:last-child {
    border-bottom: none;
}

.feat-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(108, 83, 109, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.12rem;
    font-size: 0.6rem;
    color: var(--forest);
}

.pioneer-tier .feat-check {
    background: rgba(74, 123, 114, 0.15);
    color: #3D6B63;
}

.join-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm);
    background: rgba(108, 83, 109, 0.1);
    color: var(--forest);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    transition: all var(--transition);
    cursor: pointer;
    font-family: inherit;
}

.featured-tier .join-cta-btn {
    background: var(--forest);
    color: var(--white);
}

.pioneer-tier .join-cta-btn {
    background: #4A7B72;
    color: var(--white);
}

.join-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pioneer-explainer {
    background: linear-gradient(135deg, #EBF3F0, #D8EDE8);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.pioneer-explainer--secondary {
    margin-top: 1.5rem;
}

.pioneer-explainer-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pioneer-explainer strong {
    display: block;
    color: #3D6B63;
    font-family: 'DM Serif Display', serif;
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.pioneer-explainer p {
    color: #3D6B63;
    font-size: 0.89rem;
    opacity: 0.9;
}

.tier-application-form {
    margin-top: 1.5rem;
}

.tier-application-form .form-group {
    margin-bottom: 0.8rem;
}

.tier-application-form .form-group--last {
    margin-bottom: 1.2rem;
}

.tier-application-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E8E2D6;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: var(--bg-stone, #F9F8F6);
    box-sizing: border-box;
}

.tier-application-form .join-cta-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.tier-form-success {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-stone, #F9F8F6);
    border-radius: 8px;
    border: 1px solid #E8E2D6;
}

.tier-form-success h4 {
    font-family: 'DM Serif Display', serif;
    color: var(--forest, #2C4A44);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.tier-form-success p {
    font-size: 0.9rem;
    color: var(--ink, #212523);
    line-height: 1.5;
}

.policy-links-container {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.policy-link {
    color: var(--forest);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

@media (max-width: 900px) {
    .featured-spotlight-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-cta-col {
        align-items: flex-start;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
    }

    .join-tiers {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .featured-spotlight {
        padding: 1.75rem;
    }

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

    .meetup-strip-inner {
        gap: 1rem;
    }

    .meetup-strip-icon {
        display: none;
    }
}

.hero-mission-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text);
    margin: 1.25rem 0 1.5rem 0;
}

.hero-mission-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.hero-mission-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(111, 148, 138, 0.12);
    color: var(--leaf-deep, #3A6860);
    border: 1px solid rgba(111, 148, 138, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.founder-story-strip {
    margin: 4rem 0 3rem 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(108, 83, 109, 0.12);
    box-shadow: 0 12px 35px -5px rgba(108, 83, 109, 0.07);
}

.founder-story-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-portrait-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(108, 83, 109, 0.15);
}

.founder-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.founder-portrait-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 62, 51, 0.9), transparent);
    color: #ffffff;
    padding: 1.5rem 1rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.founder-quote-col h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--forest, #6C536D);
    line-height: 1.25;
    margin: 0.5rem 0 1.25rem 0;
}

.founder-quote-col p {
    color: var(--text, #4B5563);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.founder-signoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(108, 83, 109, 0.1);
}

.founder-author-info strong {
    display: block;
    font-size: 1.05rem;
    color: var(--forest, #6C536D);
    font-family: 'DM Serif Display', serif;
}

.founder-author-info span {
    font-size: 0.82rem;
    color: var(--text-muted, #6B7280);
}

.btn-read-letter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--forest, #6C536D);
    border: 1.5px solid rgba(108, 83, 109, 0.35);
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-read-letter:hover {
    border-color: var(--forest, #6C536D);
    background: rgba(108, 83, 109, 0.06);
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .founder-story-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .founder-portrait-wrap {
        max-width: 220px;
        margin: 0 auto;
    }

    .founder-signoff {
        justify-content: center;
        text-align: center;
    }

    .founder-story-strip {
        padding: 2.5rem 1.5rem;
    }
}

.dashboard-section .event-item-actions .btn-primary {
    color: #FFFFFF !important;
}

.dashboard-section .event-item-actions .btn-primary:hover {
    opacity: 0.9;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.metric-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
}

.metric-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
    color: var(--text-muted);
    opacity: 0.7;
}

.metric-card__number {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    color: var(--forest);
    font-weight: 400;
}

.btn-small {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    min-width: auto !important;
    line-height: 1.2 !important;
}

.table-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-filter {
    background: none;
    border: 1px solid rgba(108, 83, 109, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--forest);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-filter.active {
    background: var(--forest);
    color: white;
    border-color: var(--forest);
}

.action-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-start;
}

.action-button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
}

/* admin styles delegated to admin.css */
.practitioner-card.featured-venue {
    border: 2px solid #D4AF37 !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15) !important;
    background: linear-gradient(to bottom right, #FFFFFF, #FDFCF8);
    max-width: 100%;
    padding: 1.5rem;
}

.featured-venue-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.featured-venue-header span {
    color: #D4AF37;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-venue-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.featured-venue-actions {
    margin-left: auto;
}

.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    background-color: #D4AF37;
    border: 1px solid #D4AF37;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition);
}

.btn-primary-gold:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .event-item,
    .agenda-item-card {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .event-item img,
    .event-item-image-wrapper {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .event-item-info {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .event-item-actions {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        display: flex;
        justify-content: center;
    }
}

#approved-tags-grid .category-tag {
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease !important;
    position: relative;
    cursor: default;
}

#approved-tags-grid .category-tag:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.2) !important;
    background-color: var(--plum) !important;
    color: #ffffff !important;
    z-index: 10;
}

@media (max-width: 768px) {
    .profile-page-main .dynamic-back-btn {
        display: inline-flex !important;
    }

    .profile-content-card {
        padding: 1.5rem !important;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        margin-top: 2.5rem;
    }
}

#shortlist-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.shortlist-tab {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--forest);
    background: transparent;
    color: var(--forest);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.shortlist-tab:hover:not(.active) {
    background: rgba(108, 83, 109, 0.05);
}

.shortlist-tab.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.shortlist-panel {
    transition: opacity 0.3s ease;
}

.split-login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.login-media-side {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.login-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}

.login-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 74, 68, 0.3);
    z-index: 2;
}

.login-form-side {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--bg-stone);
    overflow-y: auto;
}

.login-form-wrapper {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 0;
}

.vogue-input-group {
    margin-bottom: 1.5rem;
}

.vogue-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vogue-input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--sand);
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}

.vogue-input-group input:focus {
    border-bottom-color: var(--forest);
    outline: 3px solid var(--forest);
    outline-offset: 2px;
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.forgot-link:hover {
    color: var(--forest);
    text-decoration: underline;
}

.btn-vogue-primary {
    width: 100%;
    background: var(--forest);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 1rem;
}

.btn-vogue-primary:hover {
    background: var(--forest-mid);
}

.divider-vogue {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--sand);
}

.divider-vogue::before,
.divider-vogue::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--sand);
}

.divider-vogue span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-vogue-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--sand);
    padding: 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-vogue-google:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.btn-vogue-google img {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .login-media-side {
        display: none;
    }

    .login-form-side {
        width: 100%;
    }
}

.login-form-wrapper--register .vogue-input-group {
    margin-bottom: 0.85rem;
}

.login-form-wrapper--register .vogue-input-group input {
    padding: 0.5rem 0;
}

.login-form-wrapper--register .btn-vogue-primary {
    margin-top: 0.5rem;
}

.login-form-wrapper--register .divider-vogue {
    margin: 0.75rem 0;
}

.join-tier-subtext {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
    color: var(--text-muted);
}

.join-tier-subtext a {
    color: var(--forest);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.join-tier-subtext a:hover {
    color: var(--leaf);
}

/* ==========================================================================
   TUNBRIDGE WELLNESS PORTAL SWITCHER (Daylight <-> Afterdark)
   ========================================================================== */
.portal-switch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.portal-switch-pill--afterdark,
.nav-links a.portal-switch-pill--afterdark,
a.portal-switch-pill--afterdark,
#navbar .portal-switch-pill--afterdark {
    background: #1C121E !important;
    background-color: #1C121E !important;
    color: #D48259 !important;
    border: 1px solid rgba(212, 130, 89, 0.4) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transform: none !important;
    -webkit-transform: none !important;
}

.portal-switch-pill--afterdark:hover,
.nav-links a.portal-switch-pill--afterdark:hover,
a.portal-switch-pill--afterdark:hover,
#navbar .portal-switch-pill--afterdark:hover {
    background: #241628 !important;
    background-color: #241628 !important;
    border-color: rgba(212, 130, 89, 0.75) !important;
    color: #F2BA9D !important;
    box-shadow: 0 0 14px rgba(212, 130, 89, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.portal-switch-pill--afterdark .portal-switch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D48259;
    font-size: 0.95rem;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(212, 130, 89, 0.65));
    transition: transform 0.3s ease;
}

.portal-switch-pill--afterdark:hover .portal-switch-icon {
    transform: rotate(-15deg) scale(1.15);
}

.portal-switch-pill--daylight {
    background: rgba(251, 251, 249, 0.12);
    color: #EDEAE5 !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portal-switch-pill--daylight:hover {
    background: #FBFBF9;
    color: #31413A !important;
    border-color: #FBFBF9;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.portal-switch-pill--daylight .portal-switch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-switch-pill--daylight .portal-switch-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.portal-switch-pill--daylight:hover .portal-switch-icon {
    transform: rotate(45deg) scale(1.1);
}

@media (max-width: 768px) {
    .portal-switch-pill {
        justify-content: center;
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        padding: 0.6rem 1rem;
    }
}

/* ==========================================================================
   HOMEPAGE SEARCH & DISCOVERY
   ========================================================================== */
.hero-search-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid rgba(108, 83, 109, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.45rem 0.35rem 1.4rem;
    box-shadow: var(--shadow-md);
    margin: 1.75rem 0 1rem;
    max-width: 560px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-search-form:focus-within {
    border-color: var(--forest);
    box-shadow: 0 10px 30px rgba(108, 83, 109, 0.18);
    outline: 3px solid var(--forest);
    outline-offset: 2px;
}

.hero-search-icon {
    font-size: 1.15rem;
    margin-right: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    color: var(--text);
    background: transparent;
    min-width: 0;
    padding-right: 0.75rem;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.92rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.hero-search-btn {
    background: var(--forest);
    color: var(--white);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--forest-mid);
    transform: translateY(-1px);
}

.hero-search-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.hero-search-tag-label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hero-search-tag-list {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.hero-search-tag {
    font-size: 0.78rem;
    color: var(--forest);
    background: rgba(108, 83, 109, 0.07);
    border: 1px solid rgba(108, 83, 109, 0.15);
    padding: 0.22rem 0.7rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
}

.hero-search-tag:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
    transform: translateY(-1px);
}

/* ==========================================================================
   AUTHENTICATED USER STATE: HIDE JOIN CTAS (EXCEPT PRICING & JOIN TIERS)
   ========================================================================== */
body.user-logged-in .hero-btns a[href*="join.html"],
body.user-logged-in .subpage-actions a[href*="join.html"],
body.user-logged-in .cta-actions a[href*="join.html"],
body.user-logged-in .practitioners-cta-offer a[href*="join.html"],
body.user-logged-in a[href="join.html"]:not([data-auth-keep]),
body.user-logged-in a[href^="join.html#"]:not([data-auth-keep]),
body.user-logged-in a[href*="seeker-register.html"]:not(.pricing-cta-btn):not(.join-cta-btn),
body.user-logged-in a[href*="practitioner-register.html"]:not(.pricing-cta-btn):not(.join-cta-btn),
body.user-logged-in .nav-auth-logged-out,
html.user-logged-in .nav-auth-logged-out,
body.user-logged-in #nav-auth-logged-out,
html.user-logged-in #nav-auth-logged-out,
body.user-logged-in #nav-auth-btn,
body.user-logged-in #nav-join-btn,
body.user-logged-in [data-auth="logged-out-only"],
body.user-logged-in .footer-col-join,
html.user-logged-in #nav-auth-btn,
html.user-logged-in #nav-join-btn,
html.user-logged-in [data-auth="logged-out-only"],
html.user-logged-in .footer-col-join {
    display: none !important;
}

body.user-logged-out .nav-auth-logged-in,
html.user-logged-out .nav-auth-logged-in,
body.user-logged-out #nav-auth-logged-in,
html.user-logged-out #nav-auth-logged-in {
    display: none !important;
}

body.user-logged-out .nav-auth-logged-out,
html.user-logged-out .nav-auth-logged-out,
body.user-logged-out #nav-auth-logged-out,
html.user-logged-out #nav-auth-logged-out {
    display: inline-flex !important;
}

body.user-logged-in .pricing-card a,
body.user-logged-in .pricing-cta-btn,
body.user-logged-in .join-tier a,
body.user-logged-in .join-cta-btn,
body.user-logged-in a[data-auth-keep],
body.user-logged-in .community-gate-actions a {
    display: inline-flex !important;
}

body.user-logged-in .nav-auth-logged-in,
html.user-logged-in .nav-auth-logged-in,
body.user-logged-in #nav-auth-logged-in,
html.user-logged-in #nav-auth-logged-in,
body.user-logged-in .user-avatar-container,
html.user-logged-in .user-avatar-container {
    display: inline-flex !important;
}

/* ==========================================================================
   AFTERDARK HOMEPAGE TEASER BANNER
   ========================================================================== */
.home-afterdark-spotlight {
    margin: 4.5rem auto 2rem;
    max-width: 1200px;
    padding: 0 5%;
}

.home-afterdark-card {
    background: radial-gradient(circle at top right, rgba(108, 83, 109, 0.45), transparent 60%), #0C0A0F;
    border: 1px solid rgba(255, 117, 58, 0.35);
    border-radius: var(--radius-lg);
    padding: 3rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    color: #FAF8F5;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.home-afterdark-copy h3 {
    font-family: 'Germania One', 'DM Serif Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: #FAF8F5;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.home-afterdark-copy p {
    color: #D8BCD8;
    font-size: 1.02rem;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

.home-afterdark-actions {
    flex-shrink: 0;
}

.home-afterdark-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #7A587B 0%, #543756 100%);
    color: #FAF7F5 !important;
    border: 1px solid rgba(212, 130, 89, 0.4);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(122, 88, 123, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.home-afterdark-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: linear-gradient(135deg, #8E6890 0%, #68466A 100%);
    border-color: #D48259;
    box-shadow: 0 8px 30px rgba(212, 130, 89, 0.35);
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 9.5rem 5% 3rem !important;
    }
    .home-afterdark-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    .home-afterdark-copy p {
        margin-bottom: 1.5rem;
    }
    .hero-search-form {
        flex-direction: row;
        border-radius: var(--radius-pill);
        padding: 0.35rem 0.45rem 0.35rem 1.1rem;
        gap: 0.4rem;
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0 0.85rem;
    }
    .hero-search-icon {
        margin-right: 0.4rem;
        font-size: 1rem;
    }
    .hero-search-input {
        font-size: 0.88rem;
        width: 100%;
        padding-right: 0.5rem;
    }
    .hero-search-btn {
        width: auto;
        padding: 0.65rem 1.15rem;
        font-size: 0.82rem;
        flex-shrink: 0;
    }
    .hero-search-tags {
        margin-bottom: 1.75rem;
        gap: 0.45rem;
    }
    .cookie-banner {
        padding: 0.75rem 1rem !important;
    }
    .cookie-content {
        flex-direction: column !important;
        gap: 0.6rem !important;
        text-align: center !important;
    }
    .cookie-content p {
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
    }
    .cookie-buttons {
        width: 100% !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    .cookie-buttons .btn-primary,
    .cookie-buttons .btn-outline {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.8rem !important;
        flex: 1 !important;
    }
}

/* ==========================================================================
   HOMEPAGE ECOSYSTEM POLISH (HERO, STEPS, GRIDS, CARDS, PRACTITIONERS, VENUES)
   ========================================================================== */

/* 1. Visibility Safeguard for Homepage Sections */
.step,
.practitioners-cta-text,
.practitioners-cta-offer,
.newsletter-inner {
    opacity: 1 !important;
    transform: none !important;
}

/* 2. Hero Refinements */
.hero-btns {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-btns .btn-primary,
.hero-btns .btn-ghost,
.hero-btns .btn-outline {
    padding: 0.75rem 1.4rem;
    font-size: 0.88rem;
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand);
    max-width: 520px;
}

.hero-stats .stat strong {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: var(--forest);
    line-height: 1;
}

.hero-stats .stat span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* 3. Community Meetup Strip */
.meetup-strip {
    background: linear-gradient(90deg, #2D4C44 0%, #3D6B63 50%, #54877D 100%) !important;
    color: var(--white);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-sm);
}

.meetup-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meetup-strip-text strong {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.2rem;
}

.meetup-strip-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.meetup-strip .btn-strip {
    background: #FFFFFF !important;
    color: #2D4C44 !important;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.meetup-strip .btn-strip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 4. Category Exploration Grid (Find your next experience) */
.categories-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
}

.cat-card {
    display: block !important;
    position: relative !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 155px !important;
    background: var(--sand) !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

.cat-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md) !important;
}

.cat-img {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.6s ease !important;
}

.cat-card:hover .cat-img {
    transform: scale(1.05) !important;
}

/* Rich readability scrim across the entire card */
.cat-img::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(20, 16, 22, 0.15) 0%, rgba(20, 16, 22, 0.45) 45%, rgba(20, 16, 22, 0.88) 100%) !important;
    transition: background 0.3s ease !important;
}

.cat-card:hover .cat-img::after {
    background: linear-gradient(180deg, rgba(20, 16, 22, 0.22) 0%, rgba(20, 16, 22, 0.55) 45%, rgba(20, 16, 22, 0.92) 100%) !important;
}

.cat-label {
    position: absolute !important;
    bottom: 1.15rem !important;
    left: 1.15rem !important;
    right: 1.15rem !important;
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75) !important;
    z-index: 2 !important;
}

.cat-card--explore-all {
    background: linear-gradient(135deg, #6C536D 0%, #4D394E 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 1.5rem 1.25rem !important;
    color: #FFFFFF !important;
    position: relative !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 155px !important;
    box-sizing: border-box !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.cat-card--explore-all:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md) !important;
    background: linear-gradient(135deg, #5A445B 0%, #3D2D3E 100%) !important;
}

.cat-explore-icon {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.cat-explore-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.cat-explore-subtitle {
    font-size: 0.8rem;
    color: #E8D8E8;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }

    .cat-card,
    .cat-card--explore-all {
        aspect-ratio: 16 / 10 !important;
        min-height: 105px !important;
        border-radius: 14px !important;
    }

    .cat-label {
        bottom: 0.85rem !important;
        left: 0.85rem !important;
        right: 0.85rem !important;
        font-size: 0.92rem !important;
        line-height: 1.2 !important;
    }

    .cat-card--explore-all {
        padding: 0.75rem 0.65rem !important;
    }

    .cat-explore-icon {
        font-size: 1.15rem !important;
        margin-bottom: 0.2rem !important;
    }

    .cat-explore-title {
        font-size: 0.98rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.2rem !important;
    }

    .cat-explore-subtitle {
        font-size: 0.72rem !important;
        gap: 0.25rem !important;
    }
}

/* 5. Steps Grid (How it works) */
.steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

@media (max-width: 850px) {
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.step {
    background: var(--white);
    padding: 2.75rem 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 83, 109, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--leaf);
}

.step-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--leaf);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.step h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* 6. Standardized 3-Column Grids (Practitioners, Events, Venues) */
#featured-practitioners,
#featured-events,
#home-venues-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    align-items: stretch !important;
}

@media (max-width: 960px) {
    #featured-practitioners,
    #featured-events,
    #home-venues-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    #featured-practitioners,
    #featured-events,
    #home-venues-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* 7. Standardized Card Heights, Flex Alignment, and Clamping */
#featured-practitioners .practitioner-card,
#featured-events .practitioner-card,
#home-venues-grid .practitioner-card {
    background: var(--white) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid rgba(108, 83, 109, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

#featured-practitioners .practitioner-card,
#featured-events .practitioner-card,
#home-venues-grid .practitioner-card,
#venues-grid .practitioner-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

#featured-practitioners .practitioner-card:hover,
#featured-events .practitioner-card:hover,
#home-venues-grid .practitioner-card:hover,
#venues-grid .practitioner-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-md) !important;
}

#featured-practitioners .practitioner-img,
#featured-events .practitioner-img,
#home-venues-grid .practitioner-img,
#venues-grid .practitioner-img {
    height: 220px !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
    background-position: center 25% !important;
    background-color: var(--sand) !important;
    position: relative !important;
    z-index: 2 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
}

#featured-practitioners .practitioner-info,
#featured-events .practitioner-info,
#home-venues-grid .practitioner-info,
#venues-grid .practitioner-info {
    padding: 1.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

#venues-grid .practitioner-info .profile-link {
    margin-top: auto !important;
}

#venues-grid .practitioner-info .specialty {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 4.2em !important;
}

#featured-practitioners .practitioner-info h3,
#featured-events .practitioner-info h3,
#home-venues-grid .practitioner-info h3,
#venues-grid .practitioner-info h3 {
    font-family: 'DM Serif Display', serif !important;
    font-size: 1.55rem !important;
    color: var(--forest) !important;
    margin: 0.5rem 0 0.35rem 0 !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

#featured-practitioners .practitioner-info .specialty,
#featured-events .practitioner-info .specialty,
#home-venues-grid .practitioner-info .specialty {
    font-size: 0.92rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0.85rem !important;
    line-height: 1.5 !important;
    min-height: 3em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

#featured-practitioners .practitioner-info .location,
#featured-events .practitioner-info .location,
#home-venues-grid .practitioner-info .location {
    font-size: 0.84rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 1.25rem !important;
    border-bottom: 1px solid rgba(108, 83, 109, 0.1) !important;
    padding-bottom: 0.85rem !important;
}

#featured-practitioners .practitioner-info .profile-link,
#featured-events .practitioner-info .profile-link,
#home-venues-grid .practitioner-info .profile-link {
    margin-top: auto !important;
    padding-top: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: var(--forest) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    text-decoration: none !important;
    transition: color var(--transition) !important;
}

#featured-practitioners .practitioner-info .profile-link span,
#featured-events .practitioner-info .profile-link span,
#home-venues-grid .practitioner-info .profile-link span {
    margin-left: 6px !important;
    font-size: 0.95rem !important;
    transition: transform var(--transition) !important;
}

#featured-practitioners .practitioner-card:hover .profile-link span,
#featured-events .practitioner-card:hover .profile-link span,
#home-venues-grid .practitioner-card:hover .profile-link span {
    transform: translateX(5px) !important;
}

/* 8. For Practitioners Section Styling Polish */
.for-practitioners {
    background: #513B52 !important;
    color: var(--white) !important;
    padding: 6rem 0 !important;
}

.for-practitioners .eyebrow.light,
#for-practitioners .eyebrow.light {
    color: #B5E2DB !important;
}

.practitioners-cta-inner {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 5rem !important;
    align-items: center !important;
}

@media (max-width: 900px) {
    .practitioners-cta-inner {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }
}

.practitioners-cta-text h2 {
    color: #FFFFFF !important;
    font-size: clamp(2.4rem, 4.5vw, 3.5rem) !important;
    margin: 0.5rem 0 1.25rem !important;
}

.practitioners-cta-text h2 em {
    color: #A9D4CC !important;
    font-style: italic !important;
    opacity: 1 !important;
}

.practitioners-cta-text p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    margin-bottom: 2rem !important;
    max-width: 520px !important;
}

.cta-benefits {
    list-style: none !important;
    margin-bottom: 2.5rem !important;
}

.cta-benefits li {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.45rem 0 0.45rem 1.75rem !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.cta-benefits li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #79C2B4 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.cta-actions {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.founder-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: var(--radius-lg) !important;
    padding: 3rem 2.5rem !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
}

.badge-label {
    display: inline-block !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #FFF2E0 !important;
    background: rgba(35, 20, 38, 0.55) !important;
    padding: 0.35rem 1rem !important;
    border-radius: var(--radius-pill) !important;
    margin-bottom: 1.25rem !important;
}

.badge-price {
    font-family: 'DM Serif Display', serif !important;
    font-size: 3.4rem !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
    margin-bottom: 1rem !important;
}

.badge-price span {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 300 !important;
    opacity: 0.75 !important;
}

.founder-badge > p {
    font-size: 0.92rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.75rem !important;
    line-height: 1.6 !important;
}

.badge-perks {
    list-style: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.badge-perks li {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 0.35rem 0 !important;
}

/* ==========================================================================
   STANDARDIZED HEADER CTA PILLS (Sign In = Purple, Join Now = Green)
   ========================================================================== */
#nav-auth-btn,
.cta-pill--signin,
a.cta-pill[href="login.html"],
a.cta-pill[href="/login"],
a.cta-pill[href="login"],
.nav-links a[href="login.html"].cta-pill,
.nav-links a[href="/login"].cta-pill,
.nav-links a[href="login"].cta-pill,
.nav-links #nav-auth-btn {
    background: var(--plum, #6C536D) !important;
    background-color: var(--plum, #6C536D) !important;
    color: #FFFFFF !important;
    border: none !important;
}
#nav-auth-btn:hover,
.cta-pill--signin:hover,
a.cta-pill[href="login.html"]:hover,
a.cta-pill[href="/login"]:hover,
a.cta-pill[href="login"]:hover,
.nav-links a[href="login.html"].cta-pill:hover,
.nav-links a[href="/login"].cta-pill:hover,
.nav-links a[href="login"].cta-pill:hover,
.nav-links #nav-auth-btn:hover {
    background: var(--forest-mid, #5D465F) !important;
    background-color: var(--forest-mid, #5D465F) !important;
    color: #FFFFFF !important;
}

#nav-join-btn,
.cta-pill--join,
a.cta-pill[href="join.html"],
a.cta-pill[href="/join"],
a.cta-pill[href="join"],
a.cta-pill[href*="join.html"],
a.cta-pill[href*="/join"],
.nav-links a[href="join.html"].cta-pill,
.nav-links a[href="/join"].cta-pill,
.nav-links a[href="join"].cta-pill,
.nav-links a[href*="join.html"].cta-pill,
.nav-links a[href*="/join"].cta-pill,
.nav-links #nav-join-btn {
    background: var(--leaf, #4A7B72) !important;
    background-color: var(--leaf, #4A7B72) !important;
    color: #FFFFFF !important;
    border: none !important;
}
#nav-join-btn:hover,
.cta-pill--join:hover,
a.cta-pill[href="join.html"]:hover,
a.cta-pill[href="/join"]:hover,
a.cta-pill[href="join"]:hover,
a.cta-pill[href*="join.html"]:hover,
a.cta-pill[href*="/join"]:hover,
.nav-links a[href="join.html"].cta-pill:hover,
.nav-links a[href="/join"].cta-pill:hover,
.nav-links a[href="join"].cta-pill:hover,
.nav-links a[href*="join.html"].cta-pill:hover,
.nav-links a[href*="/join"].cta-pill:hover,
.nav-links #nav-join-btn:hover {
    background: var(--leaf-deep, #3A6860) !important;
    background-color: var(--leaf-deep, #3A6860) !important;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .nav-links #nav-auth-btn,
    .nav-links .cta-pill--signin,
    .nav-links a[href="login.html"].cta-pill,
    .nav-links a[href="/login"].cta-pill,
    .nav-links a[href="login"].cta-pill {
        background: var(--plum, #6C536D) !important;
        background-color: var(--plum, #6C536D) !important;
        color: #FFFFFF !important;
    }
    .nav-links #nav-join-btn,
    .nav-links .cta-pill--join,
    .nav-links a[href="join.html"].cta-pill,
    .nav-links a[href="/join"].cta-pill,
    .nav-links a[href="join"].cta-pill,
    .nav-links a[href*="join.html"].cta-pill,
    .nav-links a[href*="/join"].cta-pill {
        background: var(--leaf, #4A7B72) !important;
        background-color: var(--leaf, #4A7B72) !important;
        color: #FFFFFF !important;
    }
    .nav-links a.portal-switch-pill--afterdark,
    .portal-switch-pill--afterdark {
        background: #1C121E !important;
        background-color: #1C121E !important;
        color: #D48259 !important;
        border: 1px solid rgba(212, 130, 89, 0.4) !important;
        justify-content: center;
        width: 100%;
        margin-top: 0.25rem;
    }
}

/* ==========================================================================
   FIND BY FEELING - INTERACTIVE DISCOVERY ENGINE
   ========================================================================== */
.feeling-discovery {
    background: radial-gradient(circle at 10% 20%, rgba(244, 239, 230, 0.6), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(108, 83, 109, 0.05), transparent 40%),
                var(--bg-stone);
    position: relative;
    overflow: hidden;
}

.feeling-discovery .container {
    max-width: 1320px;
}

.feeling-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    margin-top: 2.25rem;
}

.feeling-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.85rem 1.35rem;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.feeling-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(108, 83, 109, 0.14);
    border-color: rgba(108, 83, 109, 0.3);
}

.feeling-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.85;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.feeling-card:hover .feeling-card-glow {
    height: 6px;
    opacity: 1;
}

.feeling-glow-lavender { background: linear-gradient(90deg, #6C536D, #9D849E); }
.feeling-glow-sage     { background: linear-gradient(90deg, #4A7B72, #75A69D); }
.feeling-glow-sky      { background: linear-gradient(90deg, #4D7C8A, #7DA3AF); }
.feeling-glow-amber    { background: linear-gradient(90deg, #D48259, #E5A483); }
.feeling-glow-terracotta { background: linear-gradient(90deg, #9C5868, #C47989); }

.feeling-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feeling-card:hover .feeling-icon {
    transform: scale(1.15) rotate(4deg);
}

.feeling-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.22rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

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

.feeling-modalities {
    font-size: 0.72rem;
    font-weight: 500;
    color: #5F5260;
    line-height: 1.45;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(232, 226, 214, 0.9);
    margin-bottom: 1rem;
}

.feeling-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--plum);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.feeling-card:hover .feeling-action {
    color: var(--leaf);
    transform: translateX(3px);
}

/* Swipe hint pill */
.feeling-swipe-hint {
    display: none;
    justify-content: center;
    margin-top: 1.15rem;
    margin-bottom: -0.5rem;
}

.swipe-hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 83, 109, 0.08);
    border: 1px solid rgba(108, 83, 109, 0.2);
    color: var(--plum, #6C536D);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    animation: swipeHintPulse 2.8s ease-in-out infinite;
}

.swipe-hint-pill svg {
    opacity: 0.75;
    flex-shrink: 0;
}

@keyframes swipeHintPulse {
    0%, 100% { transform: translateX(0); opacity: 0.95; }
    30% { transform: translateX(-3px); }
    70% { transform: translateX(3px); }
}

/* Pagination indicator dots */
.feeling-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.feeling-dot {
    position: relative;
    box-sizing: content-box;
    width: 8px;
    height: 8px;
    padding: 10px;
    border-radius: 999px;
    background-color: rgba(108, 83, 109, 0.22);
    background-clip: content-box;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feeling-dot:hover {
    background-color: rgba(108, 83, 109, 0.45);
}

.feeling-dot.active {
    width: 24px;
    background-color: var(--plum, #6C536D);
}

@media (max-width: 1023px) {
    .feeling-swipe-hint {
        display: flex;
    }

    .feeling-dots {
        display: flex;
    }

    .feeling-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 0.5rem 1.5rem;
        margin-left: -5%;
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
        gap: 1rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(108, 83, 109, 0.25) transparent;
    }

    .feeling-grid::-webkit-scrollbar {
        height: 5px;
    }

    .feeling-grid::-webkit-scrollbar-track {
        background: rgba(232, 226, 214, 0.4);
        border-radius: 999px;
    }

    .feeling-grid::-webkit-scrollbar-thumb {
        background: rgba(108, 83, 109, 0.25);
        border-radius: 999px;
    }

    .feeling-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}

@media (max-width: 600px) {
    .feeling-card {
        flex: 0 0 78vw !important;
        max-width: 285px !important;
        scroll-snap-align: start !important;
    }
}

/* ==========================================================================
   DIRECTORY FEELING FILTER BAR
   ========================================================================== */
.feeling-filter-container {
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--sand);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feeling-filter-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.feeling-filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.feeling-pill {
    appearance: none;
    background: var(--white);
    border: 1px solid rgba(108, 83, 109, 0.2);
    color: var(--text);
    padding: 0.42rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.feeling-pill:hover {
    border-color: var(--plum);
    background: rgba(108, 83, 109, 0.05);
    color: var(--plum);
    transform: translateY(-1px);
}

.feeling-pill.active {
    background: var(--plum) !important;
    border-color: var(--plum) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.22);
}

.active-feeling-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #F4EFE6;
    border-left: 4px solid var(--plum);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--forest);
}

.active-feeling-banner .clear-feeling-btn {
    background: none;
    border: none;
    color: var(--plum);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.84rem;
}

/* ==========================================================================
   UNIFIED MASTER DIRECTORY CONSOLE CARD
   ========================================================================== */
.directory-console-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sand);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(45, 62, 51, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.directory-console-card:hover {
    box-shadow: 0 6px 24px rgba(45, 62, 51, 0.08);
}

/* --- TIER 1: Primary Search, Pillars & Dropdown Controls --- */
.console-primary-tier {
    padding: 1.25rem 1.4rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.console-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Row 1: Search Input + Pillar Filter Pills */
.console-search-row {
    justify-content: space-between;
    flex-wrap: wrap;
}

.console-search-row .filter-search-wrapper {
    flex: 1 1 280px;
    min-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
}

.console-search-row .filter-search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--forest);
    opacity: 0.55;
    pointer-events: none;
    font-size: 1.05rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.console-search-row .interests-search {
    width: 100%;
    height: 44px;
    padding: 0.65rem 1rem 0.65rem 2.8rem;
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
    transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.console-search-row .interests-search:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(108, 83, 109, 0.12);
    background: var(--white);
    outline: 3px solid var(--plum);
    outline-offset: 2px;
}

/* Pillar Pills Group */
.pillar-filters-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.pillar-filters-group .filter-btn {
    appearance: none;
    background: var(--white);
    border: 1.5px solid rgba(108, 83, 109, 0.2);
    color: var(--forest);
    padding: 0.52rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.2;
}

.pillar-filters-group .filter-btn:hover {
    border-color: var(--plum);
    background: rgba(108, 83, 109, 0.05);
    color: var(--plum);
    transform: translateY(-1px);
}

.pillar-filters-group .filter-btn.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(108, 83, 109, 0.2);
}

/* Row 2: Location, Availability & Sort Dropdowns + Action Links */
.console-dropdowns-row {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.console-dropdowns-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.console-dropdowns-group .luxury-dropdown {
    width: auto;
    min-width: 175px;
    flex: 1 1 180px;
    max-width: 250px;
    padding: 0.65rem 2.2rem 0.65rem 1rem;
    font-size: 0.86rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(108, 83, 109, 0.2);
    background-color: var(--white);
    color: var(--text);
    background-size: 10px;
    background-position: right 12px center;
    transition: all var(--transition);
}

.console-dropdowns-group .luxury-dropdown:hover {
    border-color: rgba(108, 83, 109, 0.4);
}

.console-dropdowns-group .luxury-dropdown:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(108, 83, 109, 0.1);
}

.console-actions-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}

.console-actions-group .btn-text-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    padding: 0.35rem 0.5rem;
}

.console-actions-group .btn-text-link:hover {
    color: var(--forest);
}

/* --- TIER 2: Modalities Discovery (Divided by subtle hairline) --- */
.console-modalities-tier,
.top-modalities-wrapper {
    border-top: 1px solid rgba(108, 83, 109, 0.12);
    background: rgba(244, 239, 230, 0.38);
    padding: 0.95rem 1.4rem 1.15rem;
    margin-bottom: 0;
}

.top-modalities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.top-modalities-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.advanced-modalities-toggle {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(108, 83, 109, 0.25);
    color: var(--plum);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.advanced-modalities-toggle:hover {
    border-color: var(--plum);
    background: rgba(108, 83, 109, 0.06);
    transform: translateY(-1px);
}

.advanced-modalities-toggle.is-open {
    background: var(--plum);
    color: var(--white);
    border-color: var(--plum);
    box-shadow: 0 2px 8px rgba(108, 83, 109, 0.2);
}

.advanced-modalities-toggle .toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.top-modalities-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.modality-chip {
    appearance: none;
    background: var(--white);
    border: 1px solid rgba(45, 59, 54, 0.15);
    color: var(--text);
    padding: 0.38rem 0.75rem 0.38rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

.modality-chip:hover {
    border-color: var(--plum);
    background: rgba(108, 83, 109, 0.04);
    color: var(--plum);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modality-chip:hover .modality-info-trigger {
    color: var(--plum);
}

.modality-chip.active {
    background: var(--plum) !important;
    border-color: var(--plum) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.22);
}

.modality-chip.active .modality-info-trigger {
    color: rgba(255, 255, 255, 0.85);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.modality-chip.active .modality-info-trigger:hover,
.modality-chip.active .modality-info-trigger:focus-visible {
    color: var(--white);
    transform: scale(1.15);
}

.modality-info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: -10px -12px -10px -6px !important;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    color: #8C7B8E;
    transition: color 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    vertical-align: middle;
}

.modality-info-trigger::before {
    content: '';
    position: absolute;
    inset: -10px;
}

.modality-info-trigger svg {
    width: 13px;
    height: 13px;
    display: block;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    pointer-events: none;
}

.modality-info-trigger:hover,
.modality-info-trigger:focus-visible {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--plum);
    transform: scale(1.15);
    outline: none;
}

/* Accordion Panel */
.advanced-modalities-accordion {
    background: #FAF8F5;
    border: 1px solid var(--sand);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    animation: fadeInAccordion 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInAccordion {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(45, 59, 54, 0.08);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.accordion-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    color: var(--forest);
    margin: 0 0 0.3rem 0;
}

.accordion-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.badge-info-sample {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--plum);
    background: rgba(108, 83, 109, 0.12);
    vertical-align: middle;
}

.accordion-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modalities-search-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.modalities-search-box input {
    padding: 0.45rem 1rem 0.45rem 2.2rem;
    border: 1px solid rgba(108, 83, 109, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    width: 210px;
    transition: all 0.2s ease;
    color: var(--text);
}

.modalities-search-box input:focus {
    border-color: var(--plum);
    outline: 3px solid var(--plum);
    outline-offset: 2px;
    width: 245px;
    box-shadow: 0 0 0 3px rgba(108, 83, 109, 0.1);
}

.modalities-search-box .mod-search-icon {
    position: absolute;
    left: 0.75rem;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0.6;
}

.close-accordion-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.close-accordion-btn:hover {
    color: var(--forest);
}

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

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

.pillar-modality-column {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid rgba(45, 59, 54, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.pillar-modality-column.pillar-mind {
    border-top: 3px solid var(--plum);
}

.pillar-modality-column.pillar-body {
    border-top: 3px solid var(--leaf);
}

.pillar-modality-column.pillar-spirit {
    border-top: 3px solid #C28B38;
}

.pillar-column-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

.pillar-col-title {
    margin: 0;
    font-size: 1.05rem;
    font-family: 'DM Serif Display', serif;
    color: var(--forest);
}

.pillar-col-count {
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

.pillar-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-content: flex-start;
}

.accordion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 59, 54, 0.08);
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Modality Definition Tooltip Bubble */
.modality-tooltip-bubble {
    position: absolute;
    z-index: 10500;
    width: 290px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    box-shadow: 0 14px 35px rgba(20, 16, 22, 0.16), 0 3px 10px rgba(20, 16, 22, 0.08);
    border: 1px solid rgba(108, 83, 109, 0.16);
    pointer-events: auto;
    animation: tooltipFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.tooltip-pillar-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.tooltip-pillar-badge.badge-mind {
    background: rgba(108, 83, 109, 0.12);
    color: var(--plum);
}

.tooltip-pillar-badge.badge-body {
    background: rgba(61, 107, 99, 0.12);
    color: var(--leaf);
}

.tooltip-pillar-badge.badge-spirit {
    background: rgba(194, 139, 56, 0.15);
    color: #9A6B22;
}

.tooltip-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--forest);
    margin: 0;
    flex: 1;
    line-height: 1.2;
}

.tooltip-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #9CA3AF;
    margin-left: auto;
    padding: 0 0.2rem;
    transition: color 0.15s ease;
}

.tooltip-close-btn:hover {
    color: var(--forest);
}

.tooltip-body {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #4B5563;
    margin: 0 0 0.65rem 0;
}

.tooltip-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.45rem;
}

.tooltip-hint {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--plum);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive adjustments for unified directory console card */
@media (max-width: 900px) {
    .console-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .console-search-row .filter-search-wrapper {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .pillar-filters-group {
        justify-content: flex-start;
        margin-top: 0;
    }

    .console-dropdowns-group {
        width: 100%;
    }

    .console-dropdowns-group .luxury-dropdown {
        max-width: none;
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (max-width: 600px) {
    .console-search-row {
        gap: 0.75rem;
    }

    .console-search-row .filter-search-wrapper {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
    }

    .console-primary-tier {
        padding: 1rem 1rem 0.85rem;
    }

    .console-modalities-tier,
    .top-modalities-wrapper {
        padding: 0.85rem 1rem 1rem;
    }

    .console-dropdowns-group {
        flex-direction: column;
        align-items: stretch;
    }

    .console-dropdowns-group .luxury-dropdown {
        width: 100%;
        min-width: 100%;
    }

    .console-actions-group {
        width: 100%;
        justify-content: flex-end;
    }

    .top-modalities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .advanced-modalities-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   HERO TAROT CELESTIAL CARD INTEGRATION
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height, 195px) + 2.5rem) !important;
    padding-bottom: 2.5rem !important;
    align-items: center !important;
    position: relative;
}

@media (max-width: 1023px) {
    .hero {
        padding-top: calc(var(--header-height, 195px) + 2.25rem) !important;
        padding-bottom: 2.5rem !important;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding-top: calc(var(--header-height, 195px) + 2rem) !important;
        padding-bottom: 2.25rem !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height, 140px) + 1.25rem) !important;
        padding-bottom: 2rem !important;
    }
    .floating-tag.tag-1 {
        top: 4% !important;
        right: 2% !important;
    }
}

/* ==========================================================================
   UNIVERSAL ACCOUNT SETTINGS MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 680px) {
    .subpage-main {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .settings-card,
    .subpage-main .container,
    .container[style*="max-width: 800px"] {
        padding: 1.5rem 1.15rem !important;
        border-radius: 14px !important;
        margin: 0.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

    .settings-header-group,
    div[style*="justify-content: space-between"][style*="margin-bottom: 2rem"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }

    .settings-page-title,
    .subpage-main h1 {
        font-size: 1.85rem !important;
        line-height: 1.15 !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .settings-header-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .form-grid,
    .form-grid-2col,
    .settings-grid-2col,
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr;"] {
        grid-template-columns: 1fr !important;
        gap: 1.15rem !important;
    }

    .form-group-half,
    .form-group[style*="max-width: 50%"],
    .form-group[style*="max-width:50%"] {
        max-width: 100% !important;
        width: 100% !important;
    }

    .settings-invite-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .settings-invite-row input,
    .settings-invite-row button,
    #invite-admin-email,
    #invite-admin-btn {
        max-width: 100% !important;
        width: 100% !important;
    }

    .settings-actions,
    div[style*="justify-content: space-between"][style*="margin-bottom: 3rem"] {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .settings-actions button,
    #save-profile-btn,
    #save-settings-btn,
    #change-password-btn,
    #export-data-btn,
    #delete-account-btn {
        width: 100% !important;
        padding: 0.95rem 1.5rem !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    #save-status-msg {
        text-align: center !important;
    }

    #pillar-ranking-list li {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .settings-email-row,
    div[style*="display: flex; gap: 1rem;"][style*="account-email"] {
        flex-direction: column !important;
        width: 100% !important;
    }

    .form-control,
    .luxury-dropdown,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   USER AVATAR & DROPDOWN NAVIGATION STACKING
   Ensures user dropdown flies out above weather notch and page content.
   ========================================================================== */
.nav-inner {
    position: relative;
    z-index: 1080 !important;
}

.user-avatar-container {
    position: relative;
    cursor: pointer;
    z-index: 1090 !important;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(45, 62, 51, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--sand);
    min-width: 240px;
    padding: 0.5rem;
    z-index: 1200 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    pointer-events: none;
}

.user-avatar-container:hover .user-dropdown,
.user-avatar-container.is-open .user-dropdown,
.user-avatar-container:focus-within .user-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* --- In-Practice Showcase & Story --- */
.profile-in-practice-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(108,83,109,0.1);
}

.profile-in-practice-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background-color: var(--sand);
}

.profile-in-practice-img-wrapper img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.profile-in-practice-img-wrapper:hover img {
    transform: scale(1.02);
}

.profile-story-why {
    background: #FDFCF8;
    border-left: 3px solid var(--forest);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

/* --- What to Expect Demystification Card --- */
.profile-expect-card {
    margin-top: 2rem;
    background: #F4F8F5;
    border: 1px solid rgba(74,123,114,0.25);
    border-radius: 12px;
    padding: 1.75rem;
    transition: box-shadow 0.3s ease;
}

.profile-expect-card:hover {
    box-shadow: 0 6px 18px rgba(74,123,114,0.1);
}

/* --- Client Kind Words / Testimonials --- */
.profile-testimonials-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(108,83,109,0.1);
}

.profile-testimonial-card {
    background: #FAF8F5;
    border: 1px solid #E8E2D6;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

/* --- Google Reviews Badge --- */
.profile-google-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1F2937;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.profile-google-reviews-badge:hover {
    border-color: #D1D5DB;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* --- Yearbook-Style Directory Portrait Cards --- */
#directory-grid .practitioner-card .practitioner-img,
.practitioner-grid .practitioner-card .practitioner-img {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    background-size: cover !important;
    background-position: center 20% !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: transform var(--transition);
}

#directory-grid .practitioner-card:hover .practitioner-img,
.practitioner-grid .practitioner-card:hover .practitioner-img {
    transform: scale(1.03);
}

/* ==========================================================================
   AUTHENTICATED USER AVATAR & DROPDOWN MENU (NAVBAR)
   Ensures seamless hover transitions and prevents collisions with weather notch.
   Strict British English standards maintained.
   ========================================================================== */
.nav-inner {
    position: relative !important;
    z-index: 2000 !important;
}

.user-avatar-container {
    position: relative !important;
    cursor: pointer;
    z-index: 2010 !important;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--leaf, #4A7B72);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px var(--sand, #E8E2D6);
    transition: box-shadow var(--transition, 0.3s cubic-bezier(0.4, 0, 0.2, 1));
}

.user-avatar-container:hover .user-avatar,
.user-avatar-container.is-open .user-avatar,
.user-avatar-container:focus-within .user-avatar {
    box-shadow: 0 0 0 2px var(--forest, #6C536D);
}

.user-avatar-initials {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1rem;
    color: var(--white, #FFFFFF);
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white, #FFFFFF);
    border-radius: var(--radius-md, 16px);
    box-shadow: 0 14px 40px rgba(45, 62, 51, 0.16), var(--shadow-md, 0 8px 32px rgba(45,62,51,0.12));
    border: 1px solid var(--sand, #E8E2D6);
    min-width: 230px;
    white-space: nowrap;
    padding: 0.5rem;
    z-index: 2020 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* Seamless hover bridge: connects avatar to dropdown so moving cursor down preserves hover */
.user-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
    pointer-events: none;
}

.user-avatar-container:hover .user-dropdown::before,
.user-avatar-container.is-open .user-dropdown::before,
.user-avatar-container:focus-within .user-dropdown::before {
    pointer-events: auto;
}

.user-avatar-container:hover .user-dropdown,
.user-avatar-container.is-open .user-dropdown,
.user-avatar-container:focus-within .user-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: var(--text, #333333);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm, 8px);
    transition: background-color var(--transition, 0.3s ease), color var(--transition, 0.3s ease);
    width: 100%;
    text-align: left;
    white-space: nowrap;
    box-sizing: border-box;
}

.user-dropdown-link > * {
    pointer-events: none;
}

.user-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--plum, #6C536D);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: color var(--transition, 0.3s ease);
}

.user-dropdown-label {
    flex: 1;
}

.user-dropdown-link:hover {
    background-color: var(--bg-stone, #FBFBF9);
    color: var(--forest, #6C536D);
}

.user-dropdown-link:hover .user-dropdown-icon {
    color: var(--forest, #6C536D);
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(108, 83, 109, 0.12);
    margin: 0.35rem 0.4rem;
    border: none;
}

.user-dropdown-link.is-button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    color: #a33e3e;
}

.user-dropdown-link.is-button .user-dropdown-icon {
    color: #a33e3e;
}

.user-dropdown-link.is-button:hover {
    background-color: #FBEBEA;
    color: #D9534F;
}

.user-dropdown-link.is-button:hover .user-dropdown-icon {
    color: #D9534F;
}

#dropdown-logout-btn:active,
#ad-dropdown-logout-btn:active,
.user-dropdown-link.is-button:active {
    transform: scale(0.97);
    opacity: 0.85;
    transition: transform 0.08s ease, opacity 0.08s ease;
}

.tag-warm {
    background-color: var(--warm, #B89D81) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   PERFORMANCE & CORE WEB VITALS OPTIMIZATIONS (CLS & LCP)
   ========================================================================== */

/* Pre-reserve header tab notch space so it never causes layout shifts */
nav#navbar,
nav.subpage-nav {
    overflow: visible !important;
}

.nav-weather-notch-wrapper,
#nav-weather-notch-wrapper {
    position: absolute;
    top: 100%;
    right: max(28px, calc((100% - 1200px) / 2 + 2%));
    left: auto;
    transform: none;
    z-index: 2100;
    pointer-events: none;
    overflow: visible;
}

.nav-weather-notch {
    position: relative;
    width: 120px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2101;
    overflow: visible;
}

.nav-notch-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.nav-notch-path {
    transition: stroke 0.25s ease;
}

/* Critical Anti-FOUC Rules for Notch Glide Card */
.nav-notch-glide-card {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    transform: translateY(-14px) scale(0.96);
    z-index: 1100;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform-origin: top right;
    transition: 
        opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.32s;
    filter: drop-shadow(0 24px 50px rgba(20, 15, 10, 0.28));
}

.nav-weather-notch-wrapper.is-open .nav-notch-glide-card,
.nav-weather-notch.is-open ~ .nav-notch-glide-card,
.nav-weather-notch.is-open .nav-notch-glide-card,
.nav-notch-glide-card.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.nav-weather-notch-wrapper:not(.is-open) .nav-notch-glide-card,
.nav-weather-notch.is-closed ~ .nav-notch-glide-card,
.nav-weather-notch.is-closed .nav-notch-glide-card {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(0.96) !important;
}

@media (max-width: 768px) {
    .nav-weather-notch-wrapper {
        right: 16px;
    }
    .nav-weather-notch {
        width: 108px;
        height: 24px;
    }
    .nav-notch-content {
        font-size: 0.72rem;
        gap: 0.3rem;
    }
    .nav-notch-glide-card {
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        transform: translateY(-10px) scale(0.96);
        transform-origin: top right;
    }
    .nav-weather-notch.is-open .nav-notch-glide-card {
        transform: translateY(0) scale(1) !important;
    }
}

/* Explicit aspect-ratio reservations on image containers to eliminate CLS */
.practitioner-card-img,
.practitioner-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.practitioner-img img,
.practitioner-card-img img {
    object-fit: cover;
    object-position: center 20%;
}

.event-card-img,
.cat-card {
    aspect-ratio: 16 / 9;
}

.event-card-img img {
    object-fit: cover;
    object-position: center 20%;
}

.agenda-item-image {
    background-position: center 20% !important;
}

.avatar-circle,
.practitioner-avatar,
.user-avatar {
    aspect-ratio: 1 / 1;
}

.ad-featured-hero-image,
.ad-featured-hero-inner {
    aspect-ratio: 21 / 9;
    min-height: 380px;
}

/* Discussion feed min-height to prevent footer shift on community.html */
.community-feed {
    min-height: 600px;
}

/* Skeleton intrinsic sizing */
.card-skeleton,
.is-loading-skeleton {
    contain-intrinsic-size: 320px 420px;
    content-visibility: auto;
}

/* ==========================================================================
   FEATURED VENUES & SPACES - ELEGANT GOLD BORDER
   ========================================================================== */
.practitioner-card.featured-space,
.practitioner-card.featured-venue {
    border: 2px solid #D4AF37 !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18) !important;
    transition: transform var(--transition, 0.3s ease), box-shadow var(--transition, 0.3s ease), border-color var(--transition, 0.3s ease) !important;
}

.practitioner-card.featured-space:hover,
.practitioner-card.featured-venue:hover {
    border-color: #B8972E !important;
    box-shadow: 0 14px 32px rgba(212, 175, 55, 0.28) !important;
    transform: translateY(-4px) !important;
}

.btn-primary-gold {
    background-color: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #FFFFFF !important;
    transition: background-color var(--transition, 0.2s ease), transform var(--transition, 0.2s ease) !important;
}

.btn-primary-gold:hover {
    background-color: #C5A059 !important;
    border-color: #C5A059 !important;
    opacity: 0.95;
}

/* ==========================================================================
   HOMEPAGE FULL-BLEED BACKGROUND HARMONISATION
   Spreads the subtle beige & stone gradient edge-to-edge across the entire page,
   eliminating white gutters on wide desktop displays to match .subpage-shell.
   ========================================================================== */
.homepage-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(162, 181, 174, 0.16), transparent 30%),
                linear-gradient(180deg, var(--bg-sand), var(--bg-stone) 48%, var(--white)) !important;
    background-color: var(--bg-stone) !important;
}

.hero::before {
    display: none !important;
}

/* ==========================================================================
   DIRECTORY PERSONAL ACTIVITY FOOT SHELF (AUTH-GATED HYBRID)
   ========================================================================== */
.directory-foot-shelf {
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sand);
}

.foot-shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--sand);
    padding-bottom: 0.85rem;
}

.foot-shelf-tabs {
    display: inline-flex;
    background: #F4F6F4;
    padding: 0.25rem;
    border-radius: var(--radius-pill, 9999px);
    gap: 0.35rem;
    border: 1px solid rgba(45, 74, 62, 0.08);
}

.foot-shelf-tab {
    border: none;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill, 9999px);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.foot-shelf-tab:hover {
    color: var(--forest);
}

.foot-shelf-tab.active {
    background: var(--white);
    color: var(--forest);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.foot-shelf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-pill, 9999px);
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(45, 74, 62, 0.1);
    color: var(--forest);
    transition: all 0.2s ease;
}

.foot-shelf-tab.active .foot-shelf-badge {
    background: var(--leaf);
    color: var(--white);
}

.foot-shelf-clear-btn {
    background: none;
    border: none;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    padding: 0.35rem 0.6rem;
    transition: color 0.2s;
}

.foot-shelf-clear-btn:hover {
    color: #B91C1C;
}

.foot-shelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.foot-shelf-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius-md, 12px);
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.foot-shelf-card:hover {
    border-color: var(--leaf);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 74, 62, 0.08);
}

.foot-shelf-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid #F4F6F4;
    background-color: var(--sand);
}

.foot-shelf-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.foot-shelf-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    color: var(--forest);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.foot-shelf-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.15rem 0 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.foot-shelf-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--leaf);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.foot-shelf-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #FAFBF9;
    border-radius: var(--radius-md, 12px);
    border: 1px dashed var(--sand);
}

/* ==========================================================================
   VENUE DASHBOARD - NETWORK & SHORTLISTS
   ========================================================================== */
.network-subtab-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill, 9999px);
    font-size: 0.84rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.network-subtab-btn:hover {
    color: var(--forest);
}

.network-subtab-btn.active {
    background: var(--white);
    color: var(--forest);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.network-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-pill, 9999px);
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(45, 74, 62, 0.1);
    color: var(--forest);
    transition: all 0.2s ease;
}

.network-subtab-btn.active .network-badge {
    background: var(--leaf);
    color: var(--white);
}

.network-card {
    background: #FAF8F5;
    border: 1px solid var(--sand);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.network-card:hover {
    border-color: var(--leaf);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 74, 62, 0.08);
}

.network-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--sand);
}

.network-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.network-card-actions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--sand);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.network-empty-state {
    grid-column: 1 / -1;
    background: #FAF8F5;
    border: 1px dashed var(--sand);
    border-radius: 14px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MOBILE STICKY CONVERSION BAR (<768px)
   ========================================================================== */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(253, 252, 248, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(108, 83, 109, 0.15);
        padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 20px rgba(45, 62, 51, 0.08);
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        transform: translateY(0);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-sticky-cta-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-width: 0;
    }

    .mobile-sticky-cta-title {
        font-family: 'DM Serif Display', serif;
        font-size: 1.05rem;
        color: var(--forest, #6C536D);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .mobile-sticky-cta-sub {
        font-size: 0.8rem;
        color: var(--text-muted, #6B7280);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-sticky-cta-btn {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--forest, #6C536D);
        color: #FFFFFF !important;
        font-weight: 600;
        font-size: 0.88rem;
        padding: 0.75rem 1.4rem;
        border-radius: var(--radius-pill, 999px);
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(108, 83, 109, 0.25);
        white-space: nowrap;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-sticky-cta-btn:hover,
    .mobile-sticky-cta-btn:active {
        background: var(--forest-mid, #5D465F);
        transform: scale(0.98);
    }
}

/* ================================================
   NATIVE LIGHTBOX DIALOG (<dialog>)
   ================================================ */
dialog.lightbox-dialog {
    border: none;
    background: transparent;
    padding: 0;
    margin: auto;
    max-width: 95vw;
    max-height: 95vh;
    overflow: visible;
    color: #ffffff;
}

dialog.lightbox-dialog:not([open]) {
    display: none;
}

dialog.lightbox-dialog[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

dialog.lightbox-dialog::backdrop {
    background: rgba(15, 12, 17, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lightbox-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85vw;
}

.lightbox-image-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm, 8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.lightbox-close-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
    flex-shrink: 0;
    margin: 0 1rem;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

@media (max-width: 640px) {
    .lightbox-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        margin: 0 0.4rem;
    }
    .lightbox-close-btn {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
    .lightbox-image-wrap {
        max-width: 90vw;
    }
    .lightbox-image-wrap img {
        max-height: 70vh;
    }
}

/* ================================================
   ZERO-CLS RESPONSIVE HERO BANNERS & AVATARS
   ================================================ */
.event-detail-image,
#detail-image-container,
#venue-hero-image {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: 480px !important;
    min-height: 220px !important;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg, 16px);
    margin-top: 1.5rem;
    background-color: var(--bg-sand, #F4EFE6) !important;
}

@media (max-width: 768px) {
    .event-detail-image,
    #detail-image-container,
    #venue-hero-image {
        aspect-ratio: 16 / 10 !important;
        border-radius: var(--radius-md, 12px);
        margin-top: 1rem;
        min-height: 180px !important;
        max-height: 280px !important;
    }
}

/* Practitioner Profile Photo Container & Avatar Stabilisation */
.profile-image-sticky-container {
    min-height: 320px;
}

.profile-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5 !important;
    background-size: cover !important;
    background-position: center 20% !important;
    background-color: var(--bg-sand, #F4EFE6) !important;
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-md, 0 8px 32px rgba(45,62,51,0.12));
}

.hosted-by-avatar {
    width: 50px !important;
    height: 50px !important;
    aspect-ratio: 1 / 1 !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: var(--sand, #E8E2D6) !important;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Hub & Cluster Location Filter Pills --- */
.location-filter-pills-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.35rem 0;
}
.location-filter-pills-container::-webkit-scrollbar {
    display: none;
}

.location-filter-pills {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    white-space: nowrap;
    width: max-content;
}

.location-pill {
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: #4B5563;
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.location-pill:hover {
    border-color: var(--forest, #6C536D);
    color: var(--forest, #6C536D);
    background: #FAF7F9;
}

.location-pill.active {
    background: var(--forest, #6C536D);
    border-color: var(--forest, #6C536D);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(108, 83, 109, 0.25);
}

/* --- Village Pill Chips (Profile Form) --- */
.village-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.village-chip-label {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}

.village-chip-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.village-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #4B5563;
    transition: all 0.15s ease;
}

.village-chip-label:hover .village-chip {
    border-color: var(--forest, #6C536D);
    color: var(--forest, #6C536D);
}

.village-chip-checkbox:checked + .village-chip {
    background: var(--forest, #6C536D);
    border-color: var(--forest, #6C536D);
    color: #FFFFFF;
    font-weight: 600;
}

/* ==========================================================================
   Header Unread Messages Indicator Utilities
   ========================================================================== */
.nav-messages-link.relative,
.relative {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.hidden {
    display: none !important;
}

.absolute {
    position: absolute !important;
}

.-top-1 {
    top: -0.25rem !important;
}

.-right-2 {
    right: -0.5rem !important;
}

.w-2 {
    width: 0.5rem !important;
}

.h-2 {
    height: 0.5rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.bg-red-500 {
    background-color: #ef4444 !important;
}

.bg-rose-500 {
    background-color: #f43f5e !important;
}

.ring-2 {
    box-shadow: 0 0 0 2px var(--tw-ring-color, #ffffff) !important;
}

.ring-white {
    --tw-ring-color: #ffffff !important;
}

#messages-unread-dot,
#unread-messages-dot,
.messages-unread-dot {
    position: absolute !important;
    top: -0.25rem !important;
    right: -0.5rem !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
    border-radius: 9999px !important;
    background-color: #f43f5e !important; /* bg-rose-500 */
    box-shadow: 0 0 0 2px #ffffff !important; /* ring-2 ring-white */
    pointer-events: none !important;
    z-index: 10 !important;
}

#messages-unread-dot.hidden,
#unread-messages-dot.hidden,
.messages-unread-dot.hidden {
    display: none !important;
}

/* Eliminate dual numeric badges */
.user-dropdown-badge,
#nav-dropdown-messages-badge,
#ad-dropdown-messages-badge {
    display: none !important;
    visibility: hidden !important;
}









/* Hero stats: keep all three metrics on one row on mobile */
@media (max-width: 640px) {
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        padding: 1.25rem 0.75rem !important;
        align-items: start;
        text-align: center;
    }

    .hero-stats .stat-divider {
        display: none !important;
    }

    .hero-stats .stat {
        align-items: center;
        min-width: 0;
    }

    .hero-stats .stat strong {
        font-size: clamp(1.25rem, 5vw, 1.6rem);
    }

    .hero-stats .stat span {
        font-size: 0.65rem;
        line-height: 1.3;
        letter-spacing: 0.05em;
    }
}
