/*
 * Mobo & Adobe - Production Core Layout CSS
 * Claude-inspired aesthetic: Typography-first, minimal, warm.
 */

:root {
    --color-paper: #fbfaf9;
    --color-ink: #1a1a1a;
    --color-brand: #d97706;
    --color-stone-warm: #f5f2ed;
    --font-serif: "Cormorant Garamond", serif;
    --font-sans: "Inter", sans-serif;
}

body {
    background-color: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
}

/* Enterprise-grade Components */
.btn-primary, .wp-block-button__link {
    background: var(--color-brand) !important;
    color: #fff !important;
    border-radius: 9999px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-block !important;
}

.btn-primary:hover, .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.15);
    background: #c2410c !important;
}

.ad-container {
    background: var(--color-stone-warm);
    padding: 3rem 1rem;
    margin: 3rem 0;
    border: 1px solid rgba(26,26,26,0.03);
    text-align: center;
    border-radius: 4px;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(26,26,26,0.4);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

/* Pinterest Pin Button */
.pin-btn {
    background: #E60023;
    color: #fff;
    border-radius: 99px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
    border: none;
    font-size: 14px;
}

.pin-btn:hover {
    transform: scale(1.05);
    background: #bd081c;
}

/* FSE Overlays Logic */
.mobo-search-overlay, .mobo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 250, 249, 0.99);
    z-index: 99999;
    display: none;
    padding: 10vh 5vw;
}

.mobo-search-overlay.active, .mobo-sidebar.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease forwards;
}

.mobo-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-ink);
    opacity: 0.5;
}

.mobo-close:hover {
    opacity: 1;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

/* Embla Functional Layout */
.embla { overflow: hidden; position: relative; }
.embla__container { display: flex; }
.embla__slide { flex: 0 0 100%; min-width: 0; padding: 0 10px; }
