@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@300;400;500;600;700&display=swap');


:root {
    --bg: #faf7f5;
    --bg-alt: #f0ebe8;
    --accent: #d492ff;
    --accent-soft: #f3dfff;
    --text-main: #2e2724;
    --text-muted: #6b5b55;
    --border-subtle: #e0d5cf;
    --card-bg: #ffffff;
    --radius-lg: 14px;
    --radius-md: 9px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-family: 'Lora', serif;
    background-image: url("../img/tile1.jpg");
    background-repeat: repeat; /* This tiles it endlessly */
    background-size: 24rem 24rem; /* Scale to match your real image size */
    color: var(--text-main);
    line-height: 1.6;
}

p,
li,
small,
.tagline,
.event-meta,
.card p,
.gallery-item p,
.contact-form label,
.contact-form input,
.contact-form select,
.contact-form textarea,
.small-text,
.info-list,
.checklist li,
.main-nav a {
    font-family: 'Lora', serif;
}

a:hover {
    text-decoration: underline;
}

.page-wrapper {
    min-height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

/* Header & Nav */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(#63918b, #aa8a56);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
}

.logo-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;

}

.main-nav a {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.main-nav a.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--text-main);
    font-weight: 600;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.8);
}

/* Hero */

/* Side-by-side hero layout */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* left: photo — right: hero content */
    align-items: center;
    gap: 1.8rem;
}

.hero-side-image {
    width: 100%;
    max-width: 420px; 
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.12);
    display: block;
}

/* Keeps image aligned nicely */
    .hero-photo-container {
    display: flex;
    justify-content: center;
}




h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

.hero-text h1 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

h1 {
    letter-spacing: 0.5px;
}

h2 {
    letter-spacing: 0.3px;  
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 1.5rem;
    padding: 1.6rem 1.4rem;
    border-radius: 24px;
    background: #f8f7f5;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2.25rem;
    backdrop-filter: blur(12px);
}

.hero-text h1 {
    font-size: clamp(2rem, 3.1vw, 2.6rem);
    margin-bottom: 0.35rem;
}

.tagline {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-highlight {
    border-radius: 18px;
    padding: 1.1rem 1rem;

    background-image: url("../img/tile1.jpg");
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--border-subtle);

    position: relative;
    overflow: hidden;
    }

    .hero-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    pointer-events: none;
    }

.hero-highlight .hero-label,
.hero-highlight .hero-series-title,
.hero-highlight .hero-series-text {
    position: relative;
    z-index: 1;
    color: #2e2724; 
}

    .hero-highlight h2,
    .hero-highlight p,
    .hero-highlight .hero-label {
    color: #343530; /* soft dark brown/black */
    }
}


.hero-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.hero-series-title {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.hero-series-text {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Layout sections */


.section-accent a:hover,
.section a:hover {
color: #4a6c62 !important; /* darker hover color */
}

.section {
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    background: #f8f7f5;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.section-accent {
    background: #f8f7f5;
}

/* Grids & columns */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
    gap: 1.3rem;
}

.center-text {
    text-align: center;
}

/* Cards & elements */
.card {
    border-radius: var(--radius-md);
    background: var(--card-bg);
    padding: 1rem 0.95rem;
    border: 1px solid var(--border-subtle);
}

.card h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

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

/* Buttons */

/* NAV BUTTON 3D STYLE */
.main-nav a {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 14px;

background: #eeeae5;
border: 2px solid #63918b; /* Outline color */
font-family: 'Lora', serif; /* Subtext font */
font-size: 0.9rem;
text-align: center;
text-decoration: none;

/* THE MAGIC PART — offset shadow */
box-shadow: 6px 6px 0px #aa8a56; /* adjust shadow color */
transition: transform 0.1s ease,
box-shadow 0.1s ease;
}

/* On hover – slight lift */
.main-nav a:hover {
transform: translate(-2px, -2px);
box-shadow: 8px 8px 0px #b19d66;
}

/* When active (current page) */
.main-nav a.active {
background: #63918b; /* Soft highlight */
border-color: #63918b;
color: #f8f7f5 !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.1s ease;
    text-decoration: none;
}

.btn.primary {
    background: #63918b;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn.secondary {
    background: #fff;
    color: var(--text-main);
    border-color: var(--border-subtle);
}

.btn.full-width {
    width: 100%;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}







/* Page header */
.page-header {
    margin-bottom: 1rem;
    padding: 1rem 0.4rem;
}

.page-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

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

/* Info lists */
.info-list {
    list-style: none;
    margin-top: 0.3rem;
}

.info-list li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    color: var(--text-main);
}

.info-list li strong {
    font-weight: 600;
}

/* Checklist */
.checklist {
    list-style: none;
    margin-bottom: 0.8rem;
}

.checklist li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.checklist li::before {
    content: "✶";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.9rem;
    color: #aa8a56;
}

/* Gallery */

.gallery-placeholder {
overflow: hidden;
}

.gallery-img {
width: 100%;
height: 100%;
object-fit: cover; /* This is the key */
object-position: center top;
display: block;
}

.gallery-grid {
    margin-top: 0.5rem;
}

.gallery-item {
    padding: 0.8rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-subtle);
    background: rgba(255,255,255,0.7);
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: repeating-linear-gradient(
        135deg,
        #f8f3f0,
        #f8f3f0 8px,
        #f0e4de 8px,
        #f0e4de 16px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Gallery top banner */
.gallery-banner {
margin-bottom: 1.5rem;
border-radius: 24px;
overflow: hidden;
box-shadow: var(--shadow-soft);
background: #000; /* fallback while image loads */
}

.gallery-banner-img {
width: 100%;
height: auto; /* keeps proportions */
display: block;
object-fit: cover; /* crops a little nicely on small screens */
max-height: 320px; /* keeps it from being too tall on laptops */
}

/* Events */
.event-list {
    display: grid;
    gap: 0.9rem;
}

.event-card {
    padding: 0.9rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.9);
}

.event-card h3 {
    margin-bottom: 0.2rem;
}

.event-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Contact form */
.contact-form {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.3rem;
}

.contact-form label {
    display: grid;
    gap: 0.25rem;
    font-size: 0.88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border-radius: 9px;
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 0.55rem;
    font: inherit;
    background: rgba(255,255,255,0.95);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent);
}

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

.fake-email {
    font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* Footer */

.site-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.8rem;
    color: #343530;
    text-align: center;
}

/* Responsive */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }
.hero {
    grid-template-columns: 1fr;
}

.hero-photo-container {
    margin-bottom: 1.5rem;
}

}

@media (max-width: 540px) {
    .page-wrapper {
        padding: 1rem 0.85rem 2.3rem;
    }

    .hero {
        padding: 1.2rem 1rem;
    }

    .section {
        padding: 1.2rem 1rem;
    }

    .main-nav a {
        font-size: 0.8rem;
    }
}


/* Social Links — refined to match style tile */
.social-links {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    background-color: #f8f7f5; /* cream from palette */
    border: 1px solid #d5c9b7; /* soft beige */
    box-shadow: 0 2px 4px rgba(52, 53, 48, 0.08);
    transition: all 0.25s ease;
}

/* Remove blue */
.ig-link, .ig-link:visited {
    color: #343530; /* charcoal text */
}

.ig-link:hover {
    background-color: #eeeae5; 
    border-color: #aa8a56; /* gold accent */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 53, 48, 0.15);
}

.ig-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.ig-text {
    font-family: "Lora", serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #343530;
}

@media (max-width: 600px) {
    .ig-text {
        display: none;
    }
}
/* HEADER STRUCTURE */
.site-header {
    background-color: #f8f7f5; /* cream from palette */
    padding: 0.8rem 2rem 1.2rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;  /* logo left, nav+IG right */
    align-items: center;
    width: 100%;
}

/* Right side = nav + IG link */
.right-side {
    display: flex;
    align-items: center;
    gap: 2rem; /* spacing between nav and IG link */
}

/* NAV LINKS */
.main-nav {
    display: flex;
    gap: 1.4rem;
}

.main-nav a {
    font-family: "Lora", serif;
    font-size: 1rem;
    text-decoration: none;
    color: #343530; /* charcoal */
    padding-bottom: 0.2rem;
}

.main-nav a:hover {
    color: #63918b; /* teal accent */
}

.main-nav a.active {
    border-bottom: 2px solid #aa8a56; /* gold accent underline */
    color: #aa8a56;
}


.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* <-- ensures it spans the whole top */
}


    .site-header {
    background-color: #f8f7f5;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column; /* <-- THIS forces stacking */
    gap: 1rem;
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;          /* <-- forces full width */
    margin-top: 0.5rem;   /* spaced below the top row */
    flex-wrap: wrap;
}

/* Next Event block */
.next-event h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.next-event-card {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* Map area */
.map-frame iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: none;
}

/* Countdown overlay */
.countdown-box {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(248, 247, 245, 0.96); /* cream */
    border-radius: 16px;
    padding: 0.75rem 1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
    max-width: 260px;
    z-index: 2;
}

.countdown-box h3 {
    font-family: "DM Serif Display", serif;
    font-size: 1.15rem;
    margin: 0 0 0.15rem;
}

.event-datetime {
    font-size: 0.9rem;
    margin: 0 0 0.35rem;
    color: #555;
}

#countdown-timer {
    font-weight: 600;
    color: #63918b; /* teal accent */
}

/* Transparent overlay link */
.map-click-overlay {
    position: absolute;
    inset: 0;          /* covers entire card */
    z-index: 3;
    text-indent: -9999px; /* hide text */
}

/* Responsive adjust */
@media (max-width: 600px) {
    .map-frame iframe {
        height: 260px;
    }

    .countdown-box {
        top: 0.75rem;
        left: 0.75rem;
        max-width: 220px;
    }
}


.download-section {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}


/* Resources section on home page */
.resources-section {
    margin-top: 3rem;
    border-top: 1px solid #eeeae5;
    padding-top: 2rem;
}

.resources-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.resources-intro {
    max-width: 46rem;
    margin: 0 auto 2rem;
    text-align: center;
    color: #555;
}

/* Each resource block */
.resource-block {
    margin-bottom: 2.5rem;
}

.resource-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Layout: video + text side by side on desktop */
.resource-media {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.resource-video {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.resource-video iframe {
    width: 100%;
    height: 260px;
    border: none;
}

.resource-text p {
    margin-bottom: 0.75rem;
}

/* Link styling */
.resource-link {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background-color: #63918b;   /* teal accent */
    color: #f8f7f5;              /* cream text */
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #63918b;
    box-shadow: 3px 3px 0 #aa8a56; /* gold shadow, like your other buttons */
    transition: all 0.2s ease;
}

.resource-link:hover {
    background-color: #f8f7f5;
    color: #63918b;
    box-shadow: 3px 3px 0 #d5c9b7;
}

/* Stack nicely on smaller screens */
@media (max-width: 900px) {
    .resource-media {
        grid-template-columns: 1fr;
    }

    .resource-video iframe {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .resource-video iframe {
        height: 200px;
    }
}


/* About page layout */
.about-page {
    max-width: 980px;
    margin: 0 auto;
}

/* Top: portrait + intro */
.about-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-page-title {
    margin-bottom: 0.75rem;
}

.about-portrait {
    display: flex;
    justify-content: center;
}

.about-portrait-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* General sections */
.about-section {
    margin-bottom: 2.25rem;
}

/* Section title with artistic accent */
.about-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 0.9rem;
    padding-bottom: 0.2rem;
}

.about-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    border-radius: 999px;
    background: linear-gradient(90deg, #63918b, #aa8a56);
    opacity: 0.7;
}

/* Motif grid: small image + text */
.motif-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
}

.motif-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.motif-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.motif-text h3 {
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
}

/* CTA buttons */
.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 800px) {
    .about-header {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-portrait {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .motif-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .about-portrait-img {
        width: 130px;
        height: 130px;
    }
}


/* Events page overall */
.events-page {
    max-width: 980px;
    margin: 0 auto;
}

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

.events-header h1 {
    margin-bottom: 0.4rem;
}

.events-header p {
    max-width: 40rem;
    color: #555;
}

/* Section blocks */
.event-section {
    margin-bottom: 2.8rem;
}

.event-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    padding-bottom: 0.25rem;
}

.event-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 70px;
    border-radius: 999px;
    background: linear-gradient(90deg, #63918b, #aa8a56);
    opacity: 0.75;
}

/* Featured events slight emphasis */
.featured-events .event-card {
    border: 1px solid #e0d7c8;
}

/* Event grid & cards */
.event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.event-card {
    background-color: #f8f7f5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.event-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-card-body {
    padding: 1.2rem 1.4rem 1.5rem;
}

.event-name {
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.event-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.7rem;
}

.event-description {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

/* Bullet highlights under each event */
.event-highlights {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #555;
}

.event-highlights li {
    margin-bottom: 0.25rem;
}

/* Roles timeline */
.roles-section {
    margin-top: 1rem;
}

.roles-timeline {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    border-left: 2px solid #d5c9b7;
}

.roles-timeline li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.1rem;
}

.roles-timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #63918b;
    border: 2px solid #f8f7f5;
    box-shadow: 0 0 0 2px #d5c9b7;
}

.roles-year {
    font-weight: 600;
    margin-right: 0.4rem;
}

.roles-detail {
    color: #444;
}

/* Community impact paragraph spacing */
.community-impact p {
    margin-bottom: 0.7rem;
}

/* Responsive */
@media (max-width: 900px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-image-wrapper img {
        height: 230px;
    }
}

/* ===== Gallery: Film strip (scoped) ===== */
.gallery-page .film-strip{
  overflow:hidden;
  padding: 1.5rem 0;
}

.gallery-page .film-strip__track{
  display:flex;
  gap: 1.25rem;
  width: max-content;
  animation: galleryFilmScroll 60s linear infinite;
}

.gallery-page .film-strip:hover .film-strip__track{
  animation-play-state: paused;
}

.gallery-page .film-strip__img{
  width: 180px;
  height: 180px;
  object-fit: cover;
  flex: 0 0 auto;
  display:block;
}

@keyframes galleryFilmScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}


/* ===== Gallery: Featured hero (scoped) ===== */
/* Featured hero text "card" so background doesn't compete */
/* One unified box that contains BOTH text + image */
.gallery-page .featured-hero__card{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;

  background: rgba(248,247,245,0.92);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
}

/* Text no longer needs its own background */
.gallery-page .featured-hero__textBox{
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}



.gallery-page .featured-hero__meta{
  opacity: .7;
  margin: .25rem 0 1rem;
  font-size: .95rem;
}

.gallery-page .featured-hero__desc{
  max-width: 44ch;
}

.gallery-page .featured-hero__img{
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  display:block;
}

.gallery-page .featured-hero__controls{
  display:flex;
  gap: .75rem;
  margin-top: 1.25rem;
}



/* Portfolio-style outlined button (matches your download button vibe) */
.btn-oba{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  min-height: 44px;              /* forces vertical centering */

  border-radius: 18px;

  background-color: #f8f7f5;  /* cream */
  color: #63918b;             /* teal text */
  font-family: 'Lora', serif;
  font-size: 1rem;

  border: 1px solid #63918b;
  box-shadow: 4px 4px 0 #aa8a56; /* gold base */
  text-decoration: underline;

  transition: 0.2s ease;
  cursor: pointer;
}


.btn-oba:hover{
  background-color: #63918b; /* teal fill */
  color: #f8f7f5;            /* cream text */
  box-shadow: 4px 4px 0 #aa8a56;
  transform: translate(-2px, -2px);
  border-color: #63918b;
}




/*image gallery fixed non moving*/
/* ===== Gallery: Artwork cards (scoped) ===== */
.gallery-page .artwork{
  margin: 0;
  position: relative;
}

.gallery-page .artwork__link{
  display:block;
  position: relative;
  text-decoration:none;
  color: inherit;
}

.gallery-page .artwork__img{
  width: 100%;
  height: auto;
  display:block;
}

.gallery-page .artwork__cap{
  position:absolute;
  right: .75rem;
  bottom: .75rem;
  background: rgba(255,255,255,.85);
  padding: .5rem .75rem;
  font-size: .85rem;
}



/* ===== Gallery: Series blocks (scoped) ===== */
.gallery-page .series-block{
  padding: 4rem 0;
}

.gallery-page .series-block{
  margin-top: 1.5rem;   /* space above the card */
}

.gallery-page .series-block__header{
  position: sticky;
  top: 0;
  background: rgba(248,247,245,0.96);  /* cream backing while scrolling */
  padding: 1rem 0;
  z-index: 50;                         /* ensure it stays over the images */
  backdrop-filter: blur(4px);
}

.gallery-page .series-block__title{
  display: inline-block;
  padding: .6rem 1rem;
  background: #f8f7f5;
  border-radius: 14px;
}



.gallery-page .series-block__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}


/* ===== Gallery: PDFs (scoped) ===== */
.gallery-page .coloring-block__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.gallery-page .pdf-tile{
  display:block;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-page .pdf-tile:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.gallery-page .pdf-tile img{
  width: 100%;
  height: auto;
  display:block;
}
/* ===== Gallery: Museum spacing upgrade (scoped) ===== */
.gallery-page .section {
  padding: 2.2rem 2rem;
}

.gallery-page .gallery-grid {
  gap: 2rem;              /* more breathing room */
  margin-top: 1.25rem;
}

.gallery-page .gallery-item {
  background: rgba(248,247,245,0.88); /* matches your cream */
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 1.1rem 1.05rem;
}

.gallery-page .gallery-placeholder {
  border: none;                 /* remove the dashed “placeholder” feel */
  background: transparent;
  aspect-ratio: 1 / 1;          /* square crops like you wanted */
  border-radius: 14px;
  overflow: hidden;
}

.gallery-page .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* clean crop */
  display: block;
}

.gallery-page .gallery-item h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.35rem;
}

.gallery-page .gallery-item p {
  color: var(--text-muted);
}





/*gallery text heading images*/

.series-block__title .series-title-img{
  display: block;
  max-width: 100%;
  height: auto;
}
.series-block__title .series-title-img{
  height: 56px;     /* pick what looks right */
  width: auto;
}


/*PDF Download gallery*/
.gallery-page .coloring-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

/* centers the last row (when it only has 2 items) */
.gallery-page .coloring-card:nth-last-child(2){
  grid-column: 1 / span 1;
}
.gallery-page .coloring-card:nth-last-child(1){
  grid-column: 2 / span 1;
}

/* Gallery bottom CTA link */
.gallery-cta-link {
  color: #aa8a56;          /* standard OBA orange */
  font-weight: 600;
  text-decoration: underline;
}

.gallery-cta-link:hover {
  color: #aa8a56;          /* keep it orange on hover */
}


/* Center the Events page CTA button */
.events-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
