/* Paths through India — /paths (Figma) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400&display=swap');

/* Experience card frame — fluid (Figma 848px max at 1440 reference) */
.ashrams-paths-page-main {
    --paths-card-max: min(53.0225rem, 100%);
    --paths-card-aspect: 848.36 / 477.2;
    --paths-card-radius: clamp(1.25rem, 2.2vw, 2rem);
    --paths-page-gutter: clamp(1rem, 4vw, 3rem);
    --paths-body-font: 'Plus Jakarta Sans', var(--ashrams-sans);
}

body.ashrams-paths-page {
    background: #ffffff;
}

body.ashrams-paths-page .ashrams-header {
    position: relative;
    background: #ffffff;
}

body.ashrams-paths-page .ashrams-footer {
    margin-top: 0;
    padding-top: 0;
    background: transparent;
}

/* Root wrapper — NOT .ashrams-paths (that class is the homepage 2-col grid) */
.ashrams-paths-page-main {
    padding-bottom: 0;
    background: #ffffff;
    display: block;
    width: 100%;
}

/* Never inherit homepage .ashrams-paths { display: grid } — paths page is single column */
body.ashrams-paths-page .ashrams-paths-page-main,
body.ashrams-paths-page .ashrams-paths__shell,
body.ashrams-paths-page .ashrams-section--paths-talk {
    display: block;
    grid-template-columns: unset;
}

/* Content column — width 100%, capped at Figma card width */
body.ashrams-paths-page .ashrams-paths__shell.container {
    width: 100% !important;
    max-width: var(--paths-card-max) !important;
    margin-left: auto;
    margin-right: auto;
}

.ashrams-paths__shell {
    padding-top: clamp(0.25rem, 1.5vw, 1rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* —— Hero —— Figma frame: 768 × 161 hug */
.ashrams-paths__hero {
    text-align: center;
    max-width: 48rem; /* 768px */
    margin: 0 auto clamp(4rem, 11vw, 6.5rem);
}

.ashrams-paths__kicker {
    font-family: var(--ashrams-sans);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 1.35rem;
}

.ashrams-paths__kicker-brand {
    color: var(--ashrams-terracotta);
    letter-spacing: 0.28em;
}

/* Figma: Cormorant Infant 500, 60px / 45px lh, -2.4px — all roman (no italic) */
.ashrams-paths__title {
    font-family: 'Cormorant Infant', var(--ashrams-serif);
    font-size: 3.75rem; /* 60px */
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;
    line-height: 45px;
    letter-spacing: -2.4px;
    text-align: center;
    margin: 0 0 1.35rem;
}

.ashrams-paths__title-accent,
.ashrams-paths__title-rest,
.ashrams-paths__title-through {
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    font-style: normal;
    line-height: inherit;
    letter-spacing: inherit;
}

.ashrams-paths__title-accent {
    color: var(--ashrams-terracotta);
}

.ashrams-paths__title-through,
.ashrams-paths__title-rest {
    color: var(--ashrams-text);
}

/* Figma: Plus Jakarta Sans 20 / 28, centered, ~435px wide */
.ashrams-paths__intro {
    font-family: var(--paths-body-font);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 400;
    font-style: normal;
    line-height: clamp(1.4rem, 3vw, 1.75rem);
    letter-spacing: 0;
    text-align: center;
    color: #55433d;
    margin: 0 auto;
    max-width: 27.2rem; /* 435.32px */
}

/* —— Picker —— Figma: left-aligned with cards in centered 848px column */
.ashrams-paths__picker-head {
    width: 100%;
    max-width: var(--paths-card-max);
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.25rem);
    text-align: left;
}

.ashrams-paths__picker-title {
    font-family: 'Cormorant Infant', var(--ashrams-serif);
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 400;
    font-style: normal;
    color: var(--ashrams-terracotta);
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.ashrams-paths__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--ashrams-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ashrams-paths__back:hover {
    color: var(--ashrams-terracotta);
}

/* —— Cards —— */
.ashrams-paths__cards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(3rem, 6vw, 4.25rem);
    width: 100%;
    max-width: var(--paths-card-max);
}

.ashrams-paths__card {
    scroll-margin-top: 6rem;
    width: 100%;
    max-width: var(--paths-card-max);
}

.ashrams-paths__card-link {
    display: block;
    width: 100%;
    margin: 0;
    text-decoration: none;
    color: inherit;
}

.ashrams-paths__card-link:hover .ashrams-paths__card-title {
    color: var(--ashrams-terracotta);
}

/* Figma: fixed 848.36 × 477.2 — same frame for every card; image object-fit: cover */
.ashrams-paths__card-media {
    position: relative;
    width: 100%;
    max-width: var(--paths-card-max);
    aspect-ratio: var(--paths-card-aspect);
    min-height: 12rem;
    border-radius: var(--paths-card-radius);
    overflow: hidden;
    background: #e5e0da;
    flex-shrink: 0;
}

/* Fill frame — absolute avoids Bootstrap img { height: auto } collapsing the box */
body.ashrams-paths-page .ashrams-paths__card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
}

.ashrams-paths__card-link:hover .ashrams-paths__card-media img {
    transform: scale(1.02);
}

.ashrams-paths__locations {
    position: absolute;
    top: clamp(0.85rem, 2vw, 1.15rem);
    left: clamp(1rem, 2.5vw, 1.35rem);
    margin: 0;
    max-width: calc(100% - 2rem);
    font-family: var(--ashrams-sans);
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.ashrams-paths__card-body {
    padding: clamp(1.1rem, 2.2vw, 1.5rem) 0 0;
    width: 100%;
    text-align: left;
}

.ashrams-paths__card-title {
    font-family: 'Cormorant Infant', var(--ashrams-serif);
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.12;
    color: var(--ashrams-text);
    margin: 0 0 0.55rem;
    transition: color 0.2s ease;
}

.ashrams-paths__card-desc {
    font-family: var(--paths-body-font);
    font-size: clamp(0.82rem, 1.05vw, 0.9rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    color: #7a7a7a;
    margin: 0;
    max-width: 34rem;
}

/* —— Explore all —— */
.ashrams-paths__explore-all {
    width: 100%;
    max-width: var(--paths-card-max);
    text-align: center;
    margin: clamp(3rem, 6vw, 4rem) auto 0;
    padding-bottom: 0.5rem;
}

.ashrams-paths__explore-all a {
    font-family: var(--ashrams-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ashrams-text);
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.ashrams-paths__explore-all a:hover {
    color: var(--ashrams-terracotta);
}

/* —— Talk banner — same shell as homepage .ashrams-magazine; content overrides only —— */
.ashrams-section--paths-talk {
    background-color: #ffffff;
    padding: 0;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.ashrams-section--paths-talk .ashrams-magazine--talk {
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    height: 305px;
}

.ashrams-magazine--talk .ashrams-magazine__title strong {
    font-weight: 600;
    color: var(--ashrams-text);
}

.ashrams-magazine--talk .ashrams-magazine__title-phrase {
    font-weight: 600;
    color: var(--ashrams-terracotta);
}

.ashrams-magazine--talk .ashrams-magazine__title {
    line-height: 1.35;
    padding-bottom: 0.05em;
}

@media (max-width: 480px) {
    .ashrams-magazine--talk .ashrams-magazine__title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    .ashrams-magazine--talk .ashrams-magazine__title strong,
    .ashrams-magazine--talk .ashrams-magazine__title-phrase {
        display: block;
        width: auto;
        max-width: 100%;
    }
}

.ashrams-magazine--talk .ashrams-magazine__tagline--talk {
    color: var(--ashrams-terracotta);
    white-space: normal;
    text-align: left;
    text-align-last: left;
}

.ashrams-magazine--talk .ashrams-magazine__actions--talk {
    align-items: center;
    justify-content: center;
}

a.ashrams-magazine__submit--talk {
    --mag-pill-h: 54px;
    height: var(--mag-pill-h);
    padding: 0 2rem;
    border: none;
    border-radius: 9999px !important;
    text-decoration: none;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    background: var(--ashrams-terracotta);
    color: #fff;
    font-family: var(--ashrams-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

a.ashrams-magazine__submit--talk:hover {
    background: var(--ashrams-terracotta-light);
    color: #fff;
}

@media (max-width: 767px) {
    .ashrams-section--paths-talk .ashrams-magazine--talk {
        height: auto;
        min-height: 230px;
        margin: 2rem 0 3rem;
    }

    a.ashrams-magazine__submit--talk {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .ashrams-paths__hero {
        margin-bottom: 2.25rem;
    }

    .ashrams-paths__title {
        font-size: clamp(2.375rem, 9vw, 3.75rem);
        line-height: 0.75;
        letter-spacing: -0.04em;
    }

    .ashrams-paths__intro {
        font-size: clamp(1rem, 4.2vw, 20px);
        line-height: 1.4;
        max-width: 22rem;
    }

    .ashrams-paths__intro br {
        display: none;
    }

    .ashrams-paths__card-media {
        border-radius: clamp(20px, 5vw, var(--paths-card-radius));
    }
}

