/*
Theme Name: Orlean 2026
Theme URI:
Description: Child theme of Lay Theme
Author:
Author URI:
Template: lay
Version: 1.0.0
Text Domain: orlean2026
*/

/* Add your custom styles below this line */

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root {
    --yellow: #D7BE00;
    --purple: #6E5A99;
    --green: #69865C;
    --light-green: #E7F3CA;
    --near-black: #2F2B36;

}


.sidebar {
    margin: 0 0;
}


.thumb .below-image {
    position: relative;
}

.thumb .descr{
    position: absolute;
    top:-20px;
    left: 0;
    display: block; 
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 5px;
    width: 100%;
    box-sizing: border-box;
}


@media screen and (min-width: 768px) {
    .sidebar {
        margin: 0 10%;
    }
}


/* Category color indicators for thumbnail grid */
.thumb-rel {
    position: relative;
    /* overflow: hidden; */
}

/* .thumb-rel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.indicator-curatorial .thumb-rel::after,
.indicator-management .thumb-rel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 3;
    pointer-events: none;
}

.indicator-curatorial .thumb-rel::after {
    background-color: var(--yellow);
}

.indicator-management .thumb-rel::after {
    background-color: var(--purple);
}

/* Category color top stroke on description overlay */
.indicator-curatorial .thumb .descr {
    border-top: 20px solid var(--yellow);
}

.indicator-management .thumb .descr {
    border-top: 20px solid var(--purple);
}


/* Category color underlines for filter anchors */
.lay-thumbnailgrid-filter-anchor[data-slug="curatorial-projects"] {
    border-bottom: 2px solid var(--yellow);
}

.lay-thumbnailgrid-filter-anchor[data-slug="management-projects"] {
    border-bottom: 2px solid var(--purple);
}


.thumb .below-image .title{
    margin-top: 20px;
}

/*Tag filter*/
.tag-bubble{
    border: 1px solid #000;
}

.management .thumb .title{
    color: #fff;
}

body.slug-curatorial-projects {
    background: var(--yellow);
}

body.slug-management-projects {
    background:var(--purple);
}

body.slug-about {
    background:var(--green);
}

body.slug-contact {
    background:var(--light-green);
}


/* Mobile menu style_3: top always 0, full-screen height when open */
body.mobile-menu-style_3 nav.mobile-nav {
    top: 0 !important;
}
body.mobile-menu-style_3 nav.mobile-nav.active {
    height: 100vh !important;
}

/* CTA Button - fixed bottom right */
.orlean-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--near-black);
    color: #fff;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--near-black);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.orlean-cta-button:hover {
    background-color: #fff;
    color: var(--near-black);
}

/* ===== Mobile overflow fix (<768px) ===== */
@media screen and (max-width: 767px) {
    /* Reset desktop inline margin-left on grid columns in phone APL mode */
    .lay-content.nocustomphonegrid #grid .col,
    .lay-content.footer-nocustomphonegrid #footer .col {
        margin-left: 0 !important;
    }

    /* Contain frame-overflow elements that intentionally exceed 100% width */
    .lay-content #grid,
    .lay-content #grid .grid-inner,
    .lay-content #footer,
    .lay-content #footer .grid-inner {
        overflow-x: hidden;
    }

    /* Prevent iOS Safari elastic scroll from revealing overflow */
    body {
        overflow-x: hidden;
    }
}