:root {
    --lam-accent: #6d8f45;
    --lam-dark: black;
    --lam-bg: #f4f1eb;
    --lam-text: #1c1c1c;
    --lam-border: rgba(0, 0, 0, 0.1);
    --lam-sidebar-width: 280px;
    --lam-content-max: 1180px;
    --lam-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    --lam-footer-bg: #000000;
    --lam-footer-text: #ffffff;
}



* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: var(--lam-text);
    background: var(--lam-bg);
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
input, button, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6, .site-title-link {
    font-family: 'Lato', serif;
    font-weight:500;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

.site-shell { min-height: 100vh; }
.mobile-topbar, .mobile-logo-wrap, .mobile-drawer, .mobile-search-overlay { display: none; }

.desktop-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--lam-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--lam-border);
    z-index: 20;
}
.desktop-sidebar__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px;
}
.desktop-sidebar__top {
    flex: 0 0 auto;
}

.desktop-sidebar__middle {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-sidebar__bottom {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 20px;
}
.desktop-branding {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.desktop-branding .custom-logo-link img {
    max-height: 230px;
    width: auto;
}
.site-title-link {
    font-size: 2rem;
    text-align: center;
}
.primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
}
.desktop-navigation {
    width: 100%;
}

.desktop-navigation .menu {
    width: 100%;
}

.desktop-navigation .menu-item {
    text-align: center;
}

.sidebar-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--lam-text);
}

.sidebar-icon-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-icon-link:hover {
    color: var(--lam-accent);
}

.sidebar-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--lam-accent);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}
.primary-menu a {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 15px;
    font-weight: 600;
}
.primary-menu .current-menu-item > a,
.primary-menu a:hover { color: var(--lam-accent); }

.site-main-content {
    margin-left: var(--lam-sidebar-width);
    min-height: 100vh;
}

.content-area {
    max-width: var(--lam-content-max);
    padding: 48px;
}

.page-header { margin-bottom: 2rem; }
.page-title, .entry-title { font-size: clamp(2.2rem, 4vw, 4rem); }
.archive-intro { max-width: 700px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.archive-card {
    background: #fff;
    box-shadow: var(--lam-shadow);
}
.archive-card__thumb img,
.placeholder-thumb {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #ddd;
}
.archive-card__content { padding: 24px; }
.entry-meta {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(0,0,0,0.6);
    margin-bottom: 0.75rem;
}
.entry-excerpt p { margin: 0; }

.single-layout { max-width: 900px; }
.single-entry, .single-page {
    background: #fff;
    box-shadow: var(--lam-shadow);
    padding: 42px;
}
.featured-image { margin: 0 0 2rem; }
.featured-image img { width: 100%; object-fit: cover; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content a { color: var(--lam-accent); }
.tag-list a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
    border: 1px solid var(--lam-border);
    border-radius: 999px;
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}
.search-form label { flex: 1; }
.search-field {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--lam-border);
    background: #fff;
}
.search-submit {
    min-height: 54px;
    padding: 0 20px;
    background: var(--lam-accent);
    color: #fff;
    border: 0;
}

.site-footer {
    margin-left: var(--lam-sidebar-width);
    border-top: 0;
    background: var(--lam-footer-bg, #000);
    color: var(--lam-footer-text, #fff);
}

.site-footer__inner {
    padding: 36px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-navigation {
    width: 100%;
    text-align: center;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 28px;
    text-align: center;
}

.footer-menu li {
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-menu a {
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    text-align: center;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a {
    color: var(--lam-accent);
}

.footer-secondary-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
}

.footer-secondary-item {
    color: inherit;
}

.footer-secondary-item:hover {
    color: var(--lam-accent);
}

.footer-copyright {
    font-size: 0.78rem;
    opacity: 0.9;
    text-align: center;
}

.pagination-wrap,
.comments-wrap { margin-top: 2rem; }

.icon-button, .drawer-close, .search-overlay-close {
    border: 0;
    background: transparent;
    padding: 0;
}


.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--lam-accent);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .desktop-sidebar { display: none; }
    .site-main-content, .site-footer { margin-left: 0; }
.mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 20px;
    background: black;
}
    .mobile-logo-wrap {
        display: flex;
        justify-content: center;
        padding: 24px 20px 10px;
        background: white;
        padding-bottom:30px;
    }
    .mobile-branding .custom-logo-link img {
        max-height: 160px;
        width: auto;
    }
    .mobile-branding.text-logo a {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2rem;
    }
.icon-button {
    width: 36px;
    height: 36px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.icon-search::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    left: 7px;
    top: 6px;
}
.icon-search::after {
    content: '';
    width: 12px;
    height: 3px;
    background: currentColor;
    position: absolute;
    transform: rotate(45deg);
    right: 4px;
    bottom: 10px;
    border-radius: 999px;
}
.hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 18px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

li.menu-item {
    text-align: center;
    
}
    .content-area { padding: 22px 20px 36px; }
    .post-grid { grid-template-columns: 1fr; }
    .single-entry, .single-page { padding: 24px; }
    .mobile-drawer[hidden], .mobile-search-overlay[hidden] { display: none !important; }
 .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 60;
}

.mobile-drawer__panel {
    margin-left: auto;
    width: min(84vw, 360px);
    height: 100%;
    background: black;
    color: #fff;
    padding: 20px 24px 24px;
    overflow-y: auto;
    box-shadow: var(--lam-shadow);
    display: flex;
    flex-direction: column;
}

.mobile-drawer__panel > nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.drawer-close, .search-overlay-close {
    font-size: 2.2rem;
    font-weight: 100;
    line-height: 1;
    color: #fff;
    margin-left: auto;
    margin-top:-4px;
    display: block;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
}
.mobile-menu a:hover,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
    color: var(--lam-accent);
}
.mobile-menu-icons {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.mobile-menu-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
}

.mobile-menu-icon-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-menu-icon-link:hover {
    color: var(--lam-accent);
}

.mobile-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--lam-accent);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 600;
}
    .mobile-search-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.97);
        z-index: 70;
        overflow-y: auto;
        padding: 12px 20px 40px;
        flex-direction: column;
    }
    .mobile-search-overlay__content {
        max-width: 780px;
        width: 100%;
        margin: auto;
        text-align: center;
    }
    .mobile-search-overlay__content h2 { font-size: clamp(3rem, 10vw, 5rem); }
    .mobile-search-overlay .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .mobile-search-tags { margin-top: 20px; }
    .mobile-search-tags h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    .tag-cloud {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .tag-cloud a {
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid var(--lam-border);
        background: #fff;
    }
.site-footer__inner {
    padding: 28px 20px 32px;
}

.footer-menu {
    flex-direction: column;
    gap: 12px;
}

.footer-secondary-links {
    flex-direction: column;
    gap: 8px;
}

    .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}
}


body.lam-hide-featured-image .lam-featured-image-elementor {
    display: none !important;
}

/* POPUP */
.lam-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
}

.lam-popup-overlay.is-open {
    display: flex;
}

.lam-popup-box {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow: auto;
    background: #ffffff;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.lam-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.lam-popup-content {
    width: 100%;
}

body.lam-popup-open {
    overflow: hidden;
}
