/* ==========================================================================
   vcard50 - Political Leader / Public Representative (also used for village sarpanch profiles)
   "Campaign poster" for mobile: deep green, gold accent and cream paper, with a thin gold rule.
   Party-neutral by design, and it deliberately avoids the national flag colours.
   Fonts: Playfair Display (headings) + Hind (body, Latin + Devanagari).
   ========================================================================== */

:root {
    --p50-ink: #0b3d2a;
    --p50-ink-2: #0f5a3b;
    --p50-ink-3: #17784a;
    --p50-saffron: #e0a526;
    --p50-saffron-dk: #8f6407;
    /* saffron used for text on ivory (AA) */
    --p50-saffron-lt: #f2d07a;
    --p50-green: #1d8a4a;
    --p50-ivory: #fbf7ec;
    --p50-paper: #ffffff;
    --p50-tint: #f2ecd8;
    --p50-line: #e6dcc0;
    --p50-line-2: #d2c39a;
    --p50-text: #16281f;
    --p50-muted: #4d5b52;
    --p50-serif: "Playfair Display", "Noto Serif Devanagari", "Tiro Devanagari Hindi", Georgia, "Times New Roman", serif;
    --p50-sans: "Hind", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --p50-radius: 16px;
}

.p50-body {
    margin: 0;
    background: #e4dfc9;
    color: var(--p50-text);
    font-family: var(--p50-sans);
    -webkit-font-smoothing: antialiased;
}

.p50,
.p50 *,
.p50 *::before,
.p50 *::after {
    box-sizing: border-box;
}

.p50 {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--p50-ivory);
    color: var(--p50-text);
    font-family: var(--p50-sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: clip;
    box-shadow: 0 0 0 1px rgba(11, 61, 42, .06), 0 20px 60px -30px rgba(11, 61, 42, .4);
}

.p50.has-dock {
    padding-bottom: 92px;
}

.p50 h1,
.p50 h2,
.p50 h3,
.p50 h4,
.p50 p,
.p50 ul,
.p50 ol,
.p50 figure,
.p50 blockquote {
    margin: 0;
    padding: 0;
}

.p50 ul,
.p50 ol {
    list-style: none;
}

.p50 a {
    color: inherit;
    text-decoration: none;
}

.p50 img {
    max-width: 100%;
    height: auto;
}

.p50 button {
    font-family: inherit;
}

.p50 :focus-visible {
    outline: 2px solid var(--p50-saffron);
    outline-offset: 2px;
}

.p50 .visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* tricolour hairline used in hero and footer */
.p50 .p50-tricolor {
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--p50-saffron) 0%, var(--p50-saffron-lt) 50%, var(--p50-saffron) 100%);
}

/* ---------------------------------------------------------------- buttons */
.p50 .p50-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.p50 .p50-btn-outline {
    border-color: var(--p50-ink);
    color: var(--p50-ink);
    background: transparent;
}

.p50 .p50-btn-outline:hover {
    background: var(--p50-ink);
    color: #fff;
}

.p50 .p50-btn-saffron {
    background: var(--p50-saffron);
    color: #fff;
}

.p50 .p50-btn-saffron:hover {
    background: var(--p50-saffron-dk);
    color: #fff;
}

.p50 .p50-btn-ghost-light {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    background: transparent;
}

.p50 .p50-btn-block {
    display: flex;
    width: 100%;
    margin-top: 16px;
}

.p50 .p50-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: var(--p50-saffron);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(224, 165, 38, .9);
    transition: background .2s, transform .15s;
}

.p50 .p50-cta:hover {
    background: var(--p50-saffron-dk);
    color: #fff;
}

.p50 .p50-cta:active {
    transform: translateY(1px);
}

.p50 .p50-cta.d-none {
    display: none !important;
}

.p50 .p50-cta-save {
    margin-top: 16px;
    background: var(--p50-ink);
    box-shadow: none;
}

.p50 .p50-cta-save:hover {
    background: var(--p50-ink-2);
}

.p50 .p50-note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    color: var(--p50-muted);
}

.p50 .p50-note i {
    margin-inline-end: 4px;
    color: var(--p50-saffron-dk);
}

.p50 .p50-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--p50-ink-3);
}

.p50 .p50-link:hover {
    color: var(--p50-saffron-dk);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.p50 [dir="rtl"] .fa-arrow-right-long,
.p50.rtl .fa-arrow-right-long {
    transform: scaleX(-1);
}

.p50 .p50-link-center {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* ------------------------------------------------------------------- hero */
.p50 .p50-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 24px 44px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(130% 70% at 50% 0%, rgba(23, 120, 74, .75), transparent 62%),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, var(--p50-ink-2) 0%, var(--p50-ink) 100%);
}

.p50 .p50-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.p50 .p50-hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 61, 42, .25) 0%, rgba(11, 61, 42, .72) 42%, var(--p50-ink) 100%);
}

.p50 .p50-hero:not(.has-cover) .p50-hero-shade {
    background: none;
}

.p50 .p50-hero>.p50-tricolor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.p50 .p50-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p50 .p50-portrait {
    position: relative;
    width: 148px;
    height: 148px;
    margin-bottom: 18px;
    border-radius: 50%;
    padding: 5px;
    background: conic-gradient(from 210deg, var(--p50-saffron), var(--p50-saffron-lt), var(--p50-green), var(--p50-saffron));
    box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .7);
    animation: p50-rise .7s ease both;
}

.p50 .p50-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--p50-ink);
    background: var(--p50-ink-2);
}

.p50 .p50-verified {
    position: absolute;
    right: 4px;
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1d9bf0;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 0 3px var(--p50-ink);
}

.p50.rtl .p50-verified {
    right: auto;
    left: 4px;
}

.p50 .p50-party {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(242, 208, 122, .55);
    background: rgba(224, 165, 38, .14);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p50-saffron-lt);
    animation: p50-rise .7s .04s ease both;
}

.p50 .p50-name {
    font-family: var(--p50-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
    animation: p50-rise .7s .08s ease both;
}

.p50 .p50-position {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    animation: p50-rise .7s .12s ease both;
}

.p50 .p50-constituency {
    margin-top: 4px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .8);
}

.p50 .p50-constituency i {
    margin-inline-end: 4px;
    color: var(--p50-saffron-lt);
}

.p50 .p50-slogan {
    position: relative;
    max-width: 340px;
    margin-top: 22px;
    padding: 14px 18px 14px 44px;
    border-inline-start: 3px solid var(--p50-saffron);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, .07);
    font-family: var(--p50-serif);
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    text-align: start;
    color: #fff;
    animation: p50-rise .7s .16s ease both;
}

.p50.rtl .p50-slogan {
    padding: 14px 44px 14px 18px;
    border-radius: 12px 0 0 12px;
}

.p50 .p50-slogan i {
    position: absolute;
    top: 12px;
    inset-inline-start: 14px;
    font-size: 18px;
    color: var(--p50-saffron);
}

.p50 .p50-lang {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 3;
}

.p50 .p50-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(11, 61, 42, .45);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.p50 .p50-lang-btn::after {
    margin-inline-start: 2px;
}

.p50 .p50-lang-menu {
    min-width: 120px;
    border-radius: 12px;
    font-size: 13px;
}

.p50 .p50-lang-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.p50 .p50-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.p50 .p50-hero-share {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(11, 61, 42, .45);
    color: #fff;
    font-size: 15px;
    backdrop-filter: blur(6px);
}

@keyframes p50-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ----------------------------------------------------------- action panel */
.p50 .p50-actions {
    position: relative;
    z-index: 2;
    margin: -22px 16px 0;
    padding: 16px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
    box-shadow: 0 18px 40px -24px rgba(11, 61, 42, .45);
}

.p50 .p50-quick {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 14px;
}

.p50 .p50-actions .p50-cta+.p50-quick {
    padding-top: 14px;
    border-top: 1px dashed var(--p50-line-2);
}

.p50 .p50-quick-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 60px;
    padding: 8px 2px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--p50-ink);
    transition: background .15s;
}

.p50 .p50-quick-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--p50-tint);
    color: var(--p50-ink-3);
    font-size: 16px;
}

.p50 .p50-quick-item:hover {
    background: var(--p50-tint);
}

.p50 .p50-quick-item:hover i {
    background: var(--p50-ink);
    color: #fff;
}

/* ----------------------------------------------------------------- sections */
.p50 .p50-sec {
    padding: 34px 20px;
}

.p50 .p50-sec-tint {
    background: var(--p50-tint);
}

.p50 .p50-sec-dark {
    background: var(--p50-ink);
    color: #fff;
}

.p50 .p50-sec-head {
    margin-bottom: 18px;
}

.p50 .p50-sec-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.p50 .p50-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--p50-saffron-dk);
}

.p50 .p50-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--p50-saffron);
}

.p50 .p50-sec-dark .p50-eyebrow {
    color: var(--p50-saffron-lt);
}

.p50 .p50-sec-head h2 {
    font-family: var(--p50-serif);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--p50-ink);
}

.p50 .p50-sec-dark .p50-sec-head h2 {
    color: #fff;
}

.p50 .p50-lead {
    margin: -6px 0 16px;
    font-size: 14.5px;
    color: var(--p50-muted);
}

.p50 .p50-intro {
    padding-top: 26px;
    padding-bottom: 0;
}

.p50 .p50-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--p50-radius);
    background: #000;
    aspect-ratio: 16 / 9;
}

.p50 .p50-media .cover-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.p50 .p50-media .sound-toggle-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
}

/* about */
.p50 .p50-prose {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--p50-text);
}

.p50 .p50-prose p+p {
    margin-top: 12px;
}

.p50 .p50-prose p:first-child::first-letter {
    float: left;
    margin: 6px 8px 0 0;
    font-family: var(--p50-serif);
    font-size: 52px;
    line-height: .8;
    font-weight: 700;
    color: var(--p50-saffron-dk);
}

.p50.rtl .p50-prose p:first-child::first-letter {
    float: right;
    margin: 6px 0 0 8px;
}

/* ------------------------------------------------------------- priorities */
.p50 .p50-priorities {
    display: grid;
    gap: 12px;
    counter-reset: p50-priority;
}

.p50 .p50-priority {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
    border-inline-start: 4px solid var(--p50-saffron);
}

.p50 .p50-priority-badge {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--p50-ink);
    color: #fff;
    font-family: var(--p50-serif);
    font-size: 20px;
    font-weight: 700;
    overflow: hidden;
}

.p50 .p50-priority-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p50 .p50-priority-body h3 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--p50-ink);
}

.p50 .p50-priority-body p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--p50-muted);
}

.p50 .p50-priority-body .p50-link {
    min-height: 36px;
    margin-top: 2px;
}

/* ---------------------------------------------------------------- journey */
.p50 .p50-timeline {
    position: relative;
    padding-inline-start: 26px;
}

.p50 .p50-timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    inset-inline-start: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--p50-saffron), var(--p50-line-2));
}

.p50 .p50-timeline li {
    position: relative;
    padding: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--p50-text);
}

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

.p50 .p50-timeline li::before {
    content: "";
    position: absolute;
    top: 7px;
    inset-inline-start: -24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--p50-ivory);
    border: 3px solid var(--p50-ink-3);
}

.p50 .p50-timeline li.is-current::before {
    background: var(--p50-saffron);
    border-color: var(--p50-saffron);
    box-shadow: 0 0 0 4px rgba(224, 165, 38, .22);
}

.p50 .p50-tl-tag {
    display: inline-block;
    margin-inline-end: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--p50-saffron);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: 2px;
}

/* ----------------------------------------------------------- publications */
.p50 .p50-pubs {
    display: grid;
    gap: 12px;
}

.p50 .p50-pub {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-pub-img {
    flex: none;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--p50-tint);
}

.p50 .p50-pub-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--p50-ink-3);
}

.p50 .p50-pub-body {
    flex: 1;
    min-width: 0;
}

.p50 .p50-pub-body h3 {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--p50-ink);
}

.p50 .p50-pub-body p {
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--p50-muted);
}

.p50 .p50-pub-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.p50 .p50-pub-foot .p50-link {
    min-height: 36px;
    font-size: 13px;
}

.p50 .p50-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--p50-ink);
}

.p50 .p50-price-free {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(29, 138, 74, .12);
    color: var(--p50-green);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- hours */
.p50 .p50-status {
    flex: none;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.p50 .p50-status[hidden] {
    display: none;
}

.p50 .p50-status.is-open {
    background: rgba(29, 138, 74, .14);
    color: var(--p50-green);
}

.p50 .p50-status.is-shut {
    background: rgba(143, 100, 7, .14);
    color: var(--p50-saffron-dk);
}

.p50 .p50-hours {
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
    overflow: hidden;
}

.p50 .p50-hours li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--p50-line);
}

.p50 .p50-hours li:last-child {
    border-bottom: 0;
}

.p50 .p50-day {
    font-weight: 600;
    color: var(--p50-ink);
}

.p50 .p50-time {
    font-variant-numeric: tabular-nums;
    color: var(--p50-text);
}

.p50 .p50-hours li.is-closed .p50-time {
    color: var(--p50-muted);
    font-style: italic;
}

.p50 .p50-hours li.is-today {
    background: rgba(224, 165, 38, .1);
    box-shadow: inset 3px 0 0 var(--p50-saffron);
}

/* ----------------------------------------------------------- appointments */
.p50 .p50-meet {
    background:
        radial-gradient(90% 60% at 100% 0%, rgba(224, 165, 38, .16), transparent 60%),
        var(--p50-tint);
}

.p50 .p50-meet-card {
    padding: 18px 16px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p50-muted);
}

.p50 .p50-date {
    position: relative;
}

/* flatpickr injects a second input, so the icon is pinned to the first input's height */
.p50 .p50-meet-card .p50-date>i,
.p50 .p50-meet-card .p50-date>svg {
    position: absolute !important;
    z-index: 2;
    top: 24px !important;
    inset-inline-start: 14px;
    transform: translateY(-50%);
    color: var(--p50-ink-3);
    pointer-events: none;
}

.p50 .p50-date .form-control,
.p50 .p50-form .form-control,
.p50 .modal .form-control {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--p50-line-2);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: var(--p50-text);
    box-shadow: none;
}

.p50 .p50-date .form-control {
    padding-inline-start: 40px;
}

.p50 .form-control:focus {
    border-color: var(--p50-ink-3);
    box-shadow: 0 0 0 3px rgba(23, 120, 74, .15);
}

.p50 #slotData {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
}

.p50 #slotData>* {
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

.p50 .time-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 6px 8px;
    border: 1px solid var(--p50-line-2);
    border-radius: 12px;
    background: #fff;
    color: var(--p50-ink);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.p50 .time-slot:hover {
    background: var(--p50-tint);
}

.p50 .time-slot.activeSlot {
    background: var(--p50-ink);
    border-color: var(--p50-ink);
    color: #fff;
}

.p50 .appointmentAdd {
    margin-top: 16px;
}

.flatpickr-calendar {
    font-family: var(--p50-sans);
    border-radius: 12px;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--p50-ink);
    border-color: var(--p50-ink);
}

/* ------------------------------------------------------------- testimonials */
.p50 .p50-quotes {
    display: flex;
    gap: 12px;
    margin: 0 -20px;
    padding: 4px 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.p50 .p50-quotes::-webkit-scrollbar {
    display: none;
}

.p50 .p50-quote {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 20px 18px 16px;
    border-radius: var(--p50-radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
}

.p50 .p50-quote blockquote {
    position: relative;
    padding-top: 22px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .92);
}

.p50 .p50-quote blockquote::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    inset-inline-start: -2px;
    font-family: var(--p50-serif);
    font-size: 52px;
    line-height: 1;
    color: var(--p50-saffron);
}

.p50 .p50-quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13.5px;
    color: #fff;
}

.p50 .p50-quote figcaption img,
.p50 .p50-initial {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.p50 .p50-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--p50-saffron);
    color: #fff;
    font-family: var(--p50-serif);
    font-size: 20px;
    font-weight: 700;
}

.p50 .p50-quote figcaption b {
    display: block;
    font-weight: 700;
}

.p50 .p50-quote figcaption small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
}

.p50 .p50-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.p50 .p50-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transition: width .2s, background .2s;
}

.p50 .p50-dots i.on {
    width: 22px;
    border-radius: 4px;
    background: var(--p50-saffron);
}

/* ------------------------------------------------------------------- news */
.p50 .p50-posts {
    display: grid;
    gap: 12px;
}

.p50 .p50-post {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-post-img {
    flex: none;
}

.p50 .p50-post-img img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

.p50 .p50-post-body {
    min-width: 0;
}

.p50 .p50-post-date {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p50-saffron-dk);
}

.p50 .p50-post-body h3 {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--p50-ink);
}

.p50 .p50-post-body p {
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--p50-muted);
}

.p50 .p50-post-body .p50-link {
    min-height: 36px;
    font-size: 13px;
}

/* --------------------------------------------------- iframes / embeds / store */
.p50 .p50-iframes {
    display: grid;
    gap: 14px;
}

.p50 .p50-iframe {
    overflow: hidden;
    border-radius: var(--p50-radius);
    background: #000;
    aspect-ratio: 16 / 9;
}

.p50 .p50-iframe iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.p50 .p50-tabs .nav-tabs {
    gap: 8px;
    margin-bottom: 14px;
}

.p50 .instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--p50-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--p50-ink);
    font-size: 13px;
    font-weight: 600;
}

.p50 .instagram-btn.active {
    background: var(--p50-ink);
    border-color: var(--p50-ink);
    color: #fff;
}

.p50 .p50-embeds {
    display: grid;
    gap: 14px;
}

.p50 .p50-embeds iframe,
.p50 .p50-embeds blockquote {
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 12px;
}

.p50 .p50-stores {
    display: grid;
    gap: 12px;
}

.p50 .p50-store {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-store img {
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.p50 .p50-store span {
    font-size: 15px;
    font-weight: 700;
    color: var(--p50-ink);
}

.p50 .p50-store small {
    font-size: 13px;
    color: var(--p50-saffron-dk);
}

/* ---------------------------------------------------------------- gallery */
.p50 .p50-filters {
    display: flex;
    gap: 8px;
    margin: 0 -20px 14px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.p50 .p50-filters::-webkit-scrollbar {
    display: none;
}

.p50 .gallery-filter-btn {
    flex: none;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--p50-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--p50-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.p50 .gallery-filter-btn.active {
    background: var(--p50-ink);
    border-color: var(--p50-ink);
    color: #fff;
}

.p50 .p50-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 8px;
}

.p50 .p50-tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--p50-paper);
    aspect-ratio: 1 / 1;
}

.p50 .p50-tile[hidden] {
    display: none;
}

.p50 .p50-tile-feature,
.p50 .p50-tile-wide {
    grid-column: 1 / -1;
}

.p50 .p50-tile-feature {
    aspect-ratio: 16 / 10;
}

.p50 .p50-tile-wide {
    aspect-ratio: 16 / 9;
}

.p50 .p50-tile a {
    display: block;
    width: 100%;
    height: 100%;
}

.p50 .p50-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.p50 .p50-tile a:hover img {
    transform: scale(1.04);
}

.p50 .p50-tile figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(11, 61, 42, .8));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

.p50 .p50-video,
.p50 .p50-audio {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.p50 .p50-audio {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--p50-paper);
}

.p50 .p50-audio audio {
    width: 100%;
}

.p50 .p50-file {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    color: var(--p50-ink);
    border: 1px dashed var(--p50-line-2);
    border-radius: 12px;
}

/* -------------------------------------------------------------------- map */
.p50 .p50-address {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14.5px;
    color: var(--p50-text);
}

.p50 .p50-address i {
    margin-top: 4px;
    color: var(--p50-saffron-dk);
}

.p50 .p50-map {
    overflow: hidden;
    border-radius: var(--p50-radius);
    border: 1px solid var(--p50-line);
    background: var(--p50-paper);
    aspect-ratio: 4 / 3;
}

.p50 .p50-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------- contacts */
.p50 .p50-contacts {
    display: grid;
    gap: 10px;
}

.p50 .p50-contacts a,
.p50 .p50-static {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
    font-size: 14.5px;
    color: var(--p50-text);
    word-break: break-word;
}

.p50 .p50-contacts a:hover {
    border-color: var(--p50-ink-3);
}

.p50 .p50-contacts i {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--p50-ink);
    color: #fff;
    font-size: 15px;
}

.p50 .p50-contacts small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p50-muted);
}

/* ------------------------------------------------------------------- form */
.p50 .p50-form {
    padding: 18px 16px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-field {
    margin-bottom: 14px;
}

.p50 .p50-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p50-ink);
}

.p50 .p50-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.p50 .p50-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px dashed var(--p50-line-2);
    border-radius: 12px;
    background: var(--p50-ivory);
    font-size: 14px;
    font-weight: 600;
    color: var(--p50-ink-3);
    cursor: pointer;
}

.p50 .p50-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--p50-muted);
}

.p50 .p50-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--p50-muted);
}

.p50 .p50-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.p50 .p50-check a {
    color: var(--p50-ink-3);
    text-decoration: underline;
}

.p50 .alert {
    border-radius: 12px;
    font-size: 13.5px;
}

/* --------------------------------------------------------------- payments */
.p50 .p50-pays {
    display: grid;
    gap: 12px;
}

.p50 .p50-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-pay>img,
.p50 .p50-pay-ico {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.p50 .p50-pay-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 165, 38, .14);
    color: var(--p50-saffron-dk);
    font-size: 18px;
}

.p50 .p50-pay-body {
    flex: 1;
    min-width: 0;
}

.p50 .p50-pay-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--p50-ink);
}

.p50 .p50-pay-body p {
    margin-top: 2px;
    font-size: 13px;
    color: var(--p50-muted);
}

.p50 .p50-upi {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    word-break: break-all;
}

.p50 .p50-pay-act {
    flex: none;
}

.p50 .p50-pay-qr {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

/* -------------------------------------------------------------- social */
.p50 .p50-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.p50 .p50-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
    color: var(--p50-ink);
    font-size: 20px;
    transition: background .2s, color .2s, transform .15s;
}

.p50 .p50-social a img,
.p50 .p50-social a svg {
    width: 22px;
    height: 22px;
}

.p50 .p50-social a:hover {
    background: var(--p50-ink);
    color: #fff;
    transform: translateY(-2px);
}

.p50 .p50-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.p50 .p50-linkbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1.5px solid var(--p50-ink);
    background: var(--p50-ink);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
}

.p50 .p50-links .p50-link {
    justify-content: center;
}

/* ---------------------------------------------------------------- qr/save */
.p50 .p50-save {
    background: var(--p50-tint);
}

.p50 .p50-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--p50-radius);
    background: var(--p50-paper);
    border: 1px solid var(--p50-line);
}

.p50 .p50-qr-img {
    flex: none;
    width: 112px;
    height: 112px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--p50-line);
}

.p50 .p50-qr-img img,
.p50 .p50-qr-img svg {
    display: block;
    width: 100%;
    height: 100%;
}

.p50 .p50-qr-text h3 {
    font-family: var(--p50-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--p50-ink);
}

.p50 .p50-qr-text p {
    margin-top: 4px;
    font-size: 13px;
    color: var(--p50-muted);
}

.p50 .p50-qr-text .p50-link {
    min-height: 36px;
    font-size: 13px;
}

.p50 .p50-affiliate {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* ----------------------------------------------------------------- footer */
.p50 .p50-footer {
    position: relative;
    padding: 26px 20px 28px;
    text-align: center;
    background: var(--p50-ink);
    color: rgba(255, 255, 255, .78);
}

.p50 .p50-footer>.p50-tricolor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.p50 .p50-disclaimer {
    font-size: 12.5px;
    line-height: 1.5;
}

.p50 .p50-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin-top: 8px;
    font-size: 12.5px;
}

.p50 .p50-footer-links a,
.p50 .p50-footer-links span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
}

.p50 .p50-footer-links a:hover {
    color: var(--p50-saffron-lt);
}

/* ------------------------------------------------------------ sticky dock */
.p50 .p50-dock {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 50;
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    max-width: 480px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    background: rgba(11, 61, 42, .97);
    border-top: 3px solid var(--p50-saffron);
    backdrop-filter: blur(8px);
}

.p50 .p50-dock-item,
.p50 .p50-dock-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
}

.p50 .p50-dock-item {
    flex: 1;
}

.p50 .p50-dock-item i {
    font-size: 18px;
}

.p50 .p50-dock-item:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.p50 .p50-dock-primary {
    flex: 2;
    flex-direction: row;
    gap: 10px;
    background: var(--p50-saffron);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.p50 .p50-dock-primary:hover {
    background: var(--p50-saffron-dk);
    color: #fff;
}

/* ------------------------------------------------------ banner / pwa bars */
.p50 #pwa-container {
    display: none;
}

.p50 .p50-pwa {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: var(--p50-ink);
    color: #fff;
    font-size: 13px;
}

.p50 .p50-pwa-text strong,
.p50 .p50-pwa-text span {
    display: block;
}

.p50 .p50-pwa-actions {
    display: flex;
    gap: 8px;
    flex: none;
}

.p50 .p50-banner .support-banner {
    position: relative;
    padding: 16px 56px 16px 20px;
    background: var(--p50-tint);
    border-bottom: 1px solid var(--p50-line-2);
    color: var(--p50-ink);
}

.p50.rtl .p50-banner .support-banner {
    padding: 16px 20px 16px 56px;
}

.p50 .p50-banner .support_heading {
    font-family: var(--p50-serif);
    font-size: 20px;
    font-weight: 700;
}

.p50 .p50-banner .support_text {
    margin: 4px 0 10px;
    font-size: 13.5px;
    color: var(--p50-muted);
}

.p50 .p50-banner .banner-close {
    position: absolute;
    top: 4px;
    inset-inline-end: 4px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--p50-ink);
}

/* ------------------------------------------------------------------ modals */
.p50 .modal-content {
    border: 1px solid var(--p50-line);
    border-radius: 18px;
    background: var(--p50-ivory);
    color: var(--p50-text);
    font-family: var(--p50-sans);
}

.p50 .modal-header {
    border-bottom: 1px solid var(--p50-line);
}

.p50 .modal-title {
    font-family: var(--p50-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--p50-ink);
}

.p50 .modal .btn-close {
    width: 44px;
    height: 44px;
    margin: -8px;
}

.p50 .p50-share-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    border-bottom: 1px solid var(--p50-line);
    font-size: 15px;
    color: var(--p50-ink);
}

.p50 .p50-share-list li i {
    width: 24px;
    font-size: 20px;
    text-align: center;
}

.p50 .p50-wp-share {
    margin-top: 16px;
}

.p50 .p50-wp-share label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--p50-muted);
}

.p50 .p50-wp-row,
.p50 .p50-copy {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.p50 .p50-copy {
    margin-top: 16px;
}

.p50 #newsLatterForm {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.p50 .modal .btn-primary,
.p50 .modal .btn-secondary {
    min-height: 44px;
}

.p50 .modal-body .btn-primary {
    background: var(--p50-ink);
    border-color: var(--p50-ink);
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 520px) {
    .p50-body {
        padding: 0;
    }
}

@media (max-width: 360px) {
    .p50 .p50-name {
        font-size: 30px;
    }

    .p50 .p50-sec-head h2 {
        font-size: 24px;
    }

    .p50 .p50-quote {
        flex-basis: 90%;
    }

    .p50 .p50-quick-item {
        font-size: 10.5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .p50 *,
    .p50 *::before,
    .p50 *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Devanagari and other Indic scripts: a large drop cap splits the first conjunct from the word, so it is switched off */
:lang(hi) .p50 .p50-prose p:first-child::first-letter,
:lang(mr) .p50 .p50-prose p:first-child::first-letter,
:lang(gu) .p50 .p50-prose p:first-child::first-letter {
    float: none;
    margin: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
}

/* Gold is a light colour: text sitting on it must be dark green, not white */
.p50 .p50-btn-saffron,
.p50 .p50-cta,
.p50 .p50-dock-primary,
.p50 .p50-tl-tag,
.p50 .p50-initial {
    color: var(--p50-ink);
}

.p50 .p50-btn-saffron:hover,
.p50 .p50-cta:hover,
.p50 .p50-dock-primary:hover {
    background: var(--p50-saffron-lt);
    color: var(--p50-ink);
}

.p50 .p50-cta-save,
.p50 .p50-cta-save:hover {
    color: #fff;
}

.p50 .p50-cta-save:hover {
    background: var(--p50-ink-2);
}

.p50 .p50-price-free {
    background: rgba(29, 138, 74, .14);
}
