/*@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');*/

body {
    margin: 0;
    /*font-family: 'Nunito Sans', Arial, sans-serif;*/
    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fafafa;
    color: #000000;
    line-height: 1.6;
    font-weight: 400;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main {
    /* width: min(100% - 2rem, 1100px); */
    margin-left: auto;
    margin-right: auto;
    background: #000000;
}

header.hero {
    background: linear-gradient(135deg, #111 0%, #000000 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 1rem;
    text-align: center;
}

header.hero .hero-inner {
    width: min(100% - 2rem, 780px);
    margin: 0 auto;
}

header.hero .hero-inner--wide {
    width: min(100% - 2rem, 1200px);
}

.hero-image-wrap {
    width: min(100%, 1020px);
    margin: 0 auto 1.5rem;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.slideshow {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    height: var(--slideshow-height, auto);
}

.slideshow-image {
    width: var(--slideshow-width, 100%);
    object-fit: cover;
    object-position: var(--slideshow-align, left);
    height: auto;
    display: block;
}

.slideshow.is-animating .slideshow-image {
    animation-duration: 650ms;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.slideshow[data-direction="next"].is-animating .slideshow-image {
    animation-name: slideshow-slide-in-right;
}

.slideshow[data-direction="prev"].is-animating .slideshow-image {
    animation-name: slideshow-slide-in-left;
}

@keyframes slideshow-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(14%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideshow-slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-14%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideshow-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 0%;
    padding: 0rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.0rem;
    background: rgba(17, 17, 17, 0.9);
    color: #fff;
    overflow: hidden;
}

.slideshow-caption-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.slideshow-caption-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.slideshow-next {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0.3;
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.slideshow-next:hover {
    background: #fff;
    transform: translateY(-1px);
}

.slideshow-prev {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0.3;
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.slideshow-prev:hover {
    background: #fff;
    transform: translateY(-1px);
}

.hero-panel {
    width: min(100%, 1020px);
    margin: 1.25rem auto 0;
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1.7rem;
    line-height: 1.45;
    opacity: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

header.hero .hero-panel {
    max-width: none;
    opacity: 1;
}

.hero-copy {
    margin: 0;
    font-weight: 400;
    color: #0e0e0eee;
}

.hero-name {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 1em;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-style: italic;
}

.hero-intro {
    margin: 1rem 0 0;
    font-size: 0.82em;
    line-height: 1.5;
}

.info-panel {
    width: min(100%, 1020px);
    margin: 0 auto 1.75rem;
    padding: 1.5rem 1.75rem;
    border-radius: 24px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    font-size: 1.35rem;
    line-height: 1.5;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.info-panel p {
    margin: 0;
}

.info-panel p + p {
    margin-top: 0.8rem;
}

.info-telegram {
    font-style: italic;
}

.slideshow-section {
    width: min(100%, 1020px);
    margin: 2rem auto 0;
}

.slideshow-section .slideshow {
    width: 100%;
}

@media (max-width: 700px) {
    .slideshow-prev,
    .slideshow-next {
        padding: 0.6rem 0.85rem;
        font-size: 0.9rem;
    }
}

h1,
h2,
h3,
h4,
.logo,
.nav-links,
.btn {
    font-family: 'Nunito Sans', Arial, sans-serif;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

header .tagline {
    max-width: 760px;
    margin: 1rem auto 0;
    font-size: 1.08rem;
    opacity: 0.9;
}

main {
    /* padding: 2rem 0 3rem; */
}

h2 {
    margin-top: 2rem;
    font-size: 1.2 rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery img {
    background: #ddd;
    padding: 1rem;
    border-radius: 6px;
    width: 100%;
}

.telegram-box {
    background: #eee;
    padding: 1rem;
    border-left: 4px solid #333;
    margin-top: 1rem;
}

.buttons {
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    margin-right: 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.02em;
}

.btn.fb { background: #3b5998; }
.btn.ig { background: #e1306c; }

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    background: #bba081;
    color: #000000;
}

.footer-right,
footer p {
    margin: 0;
    font-size: 1.1rem;
}

.footer-right {
    text-align: right;
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        align-self: flex-end;
    }
}

/* NAVIGATION BAR */
.navbar {
    background: #111;
    padding: 1rem 2rem;
    color: #fff;
    z-index: 9999;
}

.nav-inner {
    width: min(100% - 2rem, 1100px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a[aria-current="page"] {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE — activates earlier to prevent overflow */
@media (max-width: 1024px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #111;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem 1rem 50px;
        z-index: 9999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-links.open {
        display: flex;
        max-height: 500px;
    }
}

/*.page-note,*/
.section-note {
    color: #fffdfd;
    max-width: 70ch;
}

.gallery-page h1 {
    margin-bottom: 0.4rem;
}

.gallery-card {
    background: #fff;
    color: #000;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
}

.gallery-page .page-note {
    max-width: 1020px;
    margin: 0.75rem auto 0;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: #f3f1ee;
    border: 1px solid #e4e0db;
    color: #2a2a2a;
    font-size: 1.02rem;
    line-height: 1.55;
}

.gallery-page .art-card h3 {
    font-size: 1.2rem;
    line-height: 1.2;
}

.gallery-page .art-card .meta {
    color: #444;
    font-size: 0.98rem;
    line-height: 1.45;
}

.gallery-page .section-note {
    max-width: 1020px;
    margin: 0.55rem auto 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.55;
}

.gallery-page .section-note:first-of-type {
    margin-top: 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    align-items: stretch;
}
.card-grid-black {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    align-items: stretch;
    background: #000000;
    color: #ffffff;
}
.card {
    background: #fff;
    border: 1px solid #e4e0db;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-black {
    background: #000000;
    border: 1px solid #000000;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.writing-black-card {
     background: #000000;
    border: 1px solid #000000;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* keep content at the top */
    align-items: center;         /* center items horizontally */
    text-align: center;          /* center text inside items */
    color: #ffffff;
}
.writing-gold-card {
     background: #bba081;;
    border: 1px solid #bba081;;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* keep content at the top */
    align-items: center;         /* center items horizontally */
    text-align: center;          /* center text inside items */
    color: #000000;
}
.indian-card {
    background: #000000;
    border: 1px solid #000000;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.card h3,
.card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.media-frame {
    overflow: hidden;
    border-radius: 12px;
    background: #f3f1ee;
    border: 1px solid #e4e0db;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-frame-black {
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
    border: 1px solid #000000;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-frame {
    cursor: zoom-in;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.84);
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox__dialog {
    width: min(100%, 980px);
    max-height: calc(100vh - 2rem);
    background: #111;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.gallery-lightbox__close {
    justify-self: end;
    margin: 0.75rem 0.75rem 0;
    border: 0;
    border-radius: 999px;
    width: 2.25rem;
    height: 2.25rem;
    background: #f3f3f3;
    color: #111;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox__figure {
    margin: 0;
    padding: 0 1rem;
    min-height: 0;
}

.gallery-lightbox__image-wrap {
    height: min(68vh, 680px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2b2b2b;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-lightbox__caption {
    padding: 1rem 1.2rem 1.2rem;
    text-align: center;
    border-top: 1px solid #2b2b2b;
    background: #151515;
}

.gallery-lightbox__title {
    margin: 0;
    font-size: 1.18rem;
    color: #f4f4f4;
}

.gallery-lightbox__meta {
    margin: 0.35rem 0 0;
    color: #c8c8c8;
    line-height: 1.45;
}

body.lightbox-open {
    overflow: hidden;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    margin-left: 5.0rem;
    margin-right: 5.0rem;
    align-items: stretch;
}

.art-card {
    background: #fff;
    border: 1px solid #e4e0db;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.art-card .art-body {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.art-card .meta {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.35;
}

.art-card h3 {
    margin: 0 0 0.15rem;
}

.art-card .caption {
    margin-top: 0.75rem;
    color: #444;
}

.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.link-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}
.conceptual-art-card {
    background: #bba081;;
    color: #000;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
}

.conceptual-essay,
.conceptual-learn-more {
    max-width: 1020px;
    margin: 2rem auto 0;
    padding: 1.2rem 1.35rem;
    border-radius: 14px;
    border: 1px solid #e4e0db;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.conceptual-essay p,
.conceptual-learn-more p {
    margin: 0;
    line-height: 1.65;
    color: #2f2f2f;
}

.conceptual-essay p + p {
    margin-top: 1rem;
}

/*.writing-black-card {
    background: #000000;;
    color: #ffffff;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}*/
.writing-page .content-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.writing-page .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.writing-page .card-grid-black {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
    align-items: stretch;
    background: #000000;
}
.writing-page .card {
    padding: 1.2rem;
}

.writing-page .quote-card {
    text-align: center;
}

.home-gold-card {
    background: #bba081;;
    color: #000;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}
.home-black-card {
    background: #000000;;
    color: #ffffff;
    padding: 1rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}
.home-white-card {
    background: #ffffff;;
    color: #000;
    padding: 1rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 80%;
    margin: 0 auto; 
}
.home-media-frame {
    overflow: hidden;
    border-radius: 0px;
    background: #000000;;
    border: 0px solid #bba081;;
    /*aspect-ratio: 4 / 3;*/
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 60%;
    margin: 0 auto; 
}
.reflections-gold-card {
    background: #bba081;;
    color: #000;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}
.reflections-black-card {
    background: #000000;;
    color: #ffffff;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}
.reflections-white-card {
    background: #ffffff;;
    color: #000;
    padding: 2rem;
    margin: 0rem 0;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    text-align: center;
}
.reflections-media-frame {
    overflow: hidden;
    border-radius: 0px;
    background: #000000;;
    border: 0px solid #bba081;;
    /*aspect-ratio: 4 / 3;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.reflections-gold-media-frame {
    overflow: hidden;
    border-radius: 0px;
    background: #bba081;;
    border: 0px solid #bba081;;
    /*aspect-ratio: 4 / 3;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.reflections-black-media-frame {
    overflow: hidden;
    border-radius: 0px;
    background: #000000;;
    border: 1px solid #000000;;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reflections-page .card-grid,
.reflections-page .content-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.reflections-page .card {
    padding: 1.2rem;
}

.reflections-page .quote-card {
    text-align: center;
    padding: 1.5rem;
}

.reflections-page .indian-yellow-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.reflections-page .indian-yellow-strip .media-frame {
    height: clamp(180px, 24vw, 260px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.reflections-page .indian-yellow-strip .media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.reflections-page .mughal-label {
    margin-top: 1rem;
    margin-bottom: 0.65rem;
    color: #ffffff;
}

.reflections-page .indian-yellow-mughal-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.reflections-page .indian-yellow-mughal-strip .media-frame {
    height: auto;
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 0;
    background: transparent;
}

.reflections-page .indian-yellow-mughal-strip .media-frame img {
    width: 100%;
    height: clamp(420px, 52vw, 700px);
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
}

.reflections-page .mughal-note {
    margin-top: 0.7rem;
    text-align: center;
    color: #ffffff;
}

.reflections-page .image-caption {
    text-align: center;
}

.reflections-page .beijing-frame {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
}

.reflections-page .beijing-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.reflections-page .lapis-feature {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.reflections-page .lapis-feature .media-frame {
    margin: 0;
}

.reflections-page .lapis-feature-copy h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.reflections-page .lapis-feature-copy p {
    margin: 0;
}

.reflections-page .lapis-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.reflections-page .lapis-pair-item .media-frame {
    margin-bottom: 0.6rem;
    height: clamp(260px, 34vw, 430px);
    aspect-ratio: auto;
}

.reflections-page .lapis-pair-item .media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reflections-page .lapis-pair-item p {
    margin: 0;
}

.reflections-page .lapis-pair-item p + p {
    margin-top: 0.5rem;
}

.reflections-page .slideshow-caption {
    position: static;
    min-height: 0;
    padding: 0.85rem 1rem 1rem;
    background: transparent;
    overflow: visible;
}

.reflections-page .slideshow--plain .slideshow-caption {
    display: none;
}

.reflections-page .slideshow--plain {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.reflections-page .slideshow--plain .slideshow-image {
    width: auto;
    max-width: 100%;
    max-height: min(68vh, 640px);
    margin-left: auto;
    margin-right: auto;
}

.social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: #bba081;
    align-items: center;
    text-align: center;
    flex-direction: column;   /* stack items vertically */
    justify-content: center;  /* center vertically */
    align-items: center;      /* center horizontally */
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

.social-links .btn {
    margin-right: 0;
}

.video-wrap {
    margin-top: 1rem;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 700px) {
    .navbar {
        padding: 1rem;
    }
    /* KEEP nav-inner horizontal */
    .nav-inner {
        flex-direction: row;
        align-items: center;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    header.hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main {
        padding-top: 1.5rem;
    }

    .btn {
        margin-right: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .card,
    .art-card .art-body {
        padding: 0.9rem;
    }

    .reflections-page .indian-yellow-strip {
        grid-template-columns: 1fr;
    }

    .reflections-page .indian-yellow-mughal-strip {
        grid-template-columns: 1fr;
    }

    .reflections-page .lapis-feature {
        grid-template-columns: 1fr;
    }

    .reflections-page .lapis-pair {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox {
        padding: 0.5rem;
    }

    .gallery-lightbox__dialog {
        max-height: calc(100vh - 1rem);
    }

    .gallery-lightbox__image-wrap {
        height: min(60vh, 520px);
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        display: block;
        margin-right: 0;
    }

    .social-links {
        flex-direction: column;
    }
}

.paypalbuynow__button,
.paypalbuynow__button:hover {
    background: #ffc439;
    border-radius: 4px;
    color: #111;
    outline: none;
    text-transform: none;
}

.paypalbuynow__button {
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    min-height: 50px;
    min-width: 120px;
    padding: 6px 24px;
    transform: scale(0.75);
    transform-origin: left top;
    transition: opacity 0.25s ease-in-out;
}

.paypalbuynow__button:hover {
    box-shadow: inset 0 0 100px 100px rgba(0, 0, 0, 0.05);
}

.paypalbuynow__button:focus {
    outline: solid 2px Highlight;
    outline: auto 5px -webkit-focus-ring-color;
    outline-offset: -3px;
}

.paypalbuynow__logo {
    height: 20px;
    width: auto;
    margin: 0 0 4px 0;
}

.paypalbuynow__text {
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: pre-wrap;
}

.buyrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.buynow-extra {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.player-box {
    background: white;
    padding: 10px;
    max-width: 200px;
    max-height: 200px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 5px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #050505;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    background: #2e3031;
}

/* Hidden YouTube player */
#player {
    width: 1px;
    height: 1px;
    overflow: hidden;
}
