@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

body {
font-family: 'Bricolage Grotesque',sans-serif;
font-size: .8rem;
overflow-x: hidden;
color: #1e1e1e;
background: #fef5e3;
text-rendering: optimizeLegibility;
}

.header-dark #header:not(.scrolled) {
color: #681d21;
background: #976561;
}

.header-dark #header {
color: #681d21;
background: #976561;
}

#header a {
	color:rgba(255,255,255,.7)!important
}

#footer {
	display: none;
}


h1, h2, h3, h4, h5, h6 {
font-family: 'Bricolage Grotesque',sans-serif;
margin-top: 2rem;
color: #1e1e1e;
}


div.altBg:nth-of-type(even) {
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 30px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

div.altBg:nth-of-type(even):hover {
	 transform: translateY(-5px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

div.altBg {
        border-radius: 30px;
        padding: 1em;
}

.regBg {
        border-radius: 30px;
        padding: 1em;
}

a.active {
	color: #252525;

}

img.roundy {
	border-radius: 20px;
}

.video-responsive {
	border-radius:20px;
}

.quotes-grid-v0 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 1.5rem;                           /* Space between quote boxes */
    margin: 2.5rem 0;
}

.quotes-grid {
    column-count: 2;        /* Forces 2 vertical columns */
    column-gap: 1.5rem;     /* Horizontal gap between columns */
    margin: 2.5rem 0;
}

/* Individual Card */

.quote-card-v0 {
    background-color: #ffffff;
    border-left: 4px solid #3b82f6;       /* Accent bar */
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    /* Flexbox keeps author pinned to the bottom if cards vary in height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.quote-card {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;

    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 1.5rem; /* Vertical spacing between cards */

    background-color: #ffffff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Quote Text (First paragraph in card) */
.quote-card p:first-child {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Author Line (Last paragraph in card) */
.quote-card p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666666;
    text-align: right;                     /* Right-aligns author */
    font-style: italic;
}

/* Mobile Collapse */
@media (max-width: 768px) {
    .quotes-grid {
        /* Completely disable CSS columns on mobile */
        column-count: auto;
        column-gap: 0;
        display: block;
        width: 100%;
    }

    .quote-card {
        display: block;
        width: 100%;
        margin-bottom: 1.25rem;
        /* Ensures soft shadows aren't cut off on narrow screens */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
}


/* Horizontal Scroll Container */
.ig-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Snap slides into place when swiping */
    gap: 1.5rem;
    padding: 1rem 0 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Slim scrollbar for Firefox */
}

/* Individual Slide Card */
.ig-slide {
    flex: 0 0 320px; /* Locks each card to Instagram's standard mobile width */
    scroll-snap-align: center;
    box-sizing: border-box;
}

/* Strip Instagram's forced centering margins so cards pack tightly */
.ig-slide blockquote.instagram-media {
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
