/* ════════════════════════════════════════════════════════════════
   Public Pages Header (LinkPage Pro)
   Breadcrumb + Brand hero untuk /galeri, /produk, /artikel
   ════════════════════════════════════════════════════════════════ */

body.theme-homepage-linkpage .lpx-page-header {
    background: var(--lp-bg, #FFF9F5);
    padding: 1.2rem 1rem 1rem;
}

/* Breadcrumb */
body.theme-homepage-linkpage .lpx-breadcrumb {
    margin-bottom: 1.3rem;
}

body.theme-homepage-linkpage .lpx-breadcrumb-inner {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    flex-wrap: wrap;
}

body.theme-homepage-linkpage .lpx-breadcrumb-home {
    color: var(--lp-accent, #C17B3A);
    text-decoration: none;
    font-weight: 700;
    transition: opacity .2s;
}

body.theme-homepage-linkpage .lpx-breadcrumb-home:hover {
    opacity: .7;
}

body.theme-homepage-linkpage .lpx-breadcrumb-link {
    color: var(--lp-text, #2E2520);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

body.theme-homepage-linkpage .lpx-breadcrumb-link:hover {
    color: var(--lp-accent, #C17B3A);
}

body.theme-homepage-linkpage .lpx-breadcrumb-sep {
    color: var(--lp-muted, #8C7B6B);
    opacity: .4;
    margin: 0 .2rem;
}

body.theme-homepage-linkpage .lpx-breadcrumb-current {
    color: var(--lp-muted, #8C7B6B);
    font-weight: 500;
}

/* Brand section */
body.theme-homepage-linkpage .lpx-brand-section {
    background: var(--lp-link-bg, #fff);
    border: 1.5px solid var(--lp-border, rgba(0,0,0,.07));
    border-radius: 1.1rem;
    padding: 1rem;
}

body.theme-homepage-linkpage .lpx-brand-inner {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

body.theme-homepage-linkpage .lpx-brand-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: .7rem;
    overflow: hidden;
    background: var(--lp-bg, #FFF9F5);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-homepage-linkpage .lpx-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-homepage-linkpage .lpx-brand-text {
    flex: 1;
}

body.theme-homepage-linkpage .lpx-brand-name {
    margin: 0 0 .3rem;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-text, #2E2520);
    line-height: 1.3;
}

body.theme-homepage-linkpage .lpx-brand-name span {
    display: block;
}

body.theme-homepage-linkpage .lpx-brand-name em {
    font-style: normal;
    color: var(--lp-accent, #C17B3A);
}

body.theme-homepage-linkpage .lpx-brand-tagline {
    margin: 0;
    font-size: .72rem;
    color: var(--lp-muted, #8C7B6B);
    line-height: 1.5;
}

/* Desktop: expand brand section */
@media (min-width: 640px) {
    body.theme-homepage-linkpage .lpx-page-header {
        padding: 1.5rem 2rem 1.2rem;
    }

    body.theme-homepage-linkpage .lpx-brand-section {
        padding: 1.3rem 1.5rem;
    }

    body.theme-homepage-linkpage .lpx-brand-name {
        font-size: 1.2rem;
    }

    body.theme-homepage-linkpage .lpx-brand-tagline {
        font-size: .76rem;
    }
}

/* ════════════════════════════════════════════════════════════════
   Gallery Page Simplification (LinkPage Mobile)
   ════════════════════════════════════════════════════════════════ */

/* Hide verbose gallery header subtitle di mobile */
@media (max-width: 639px) {
    body.theme-homepage-linkpage .galeri-page-hero {
        padding: 1rem 1rem 0.8rem !important;
    }

    body.theme-homepage-linkpage .galeri-page-hero .section-tag {
        font-size: .65rem !important;
    }

    body.theme-homepage-linkpage .galeri-page-hero .section-title {
        font-size: 1.3rem !important;
        margin-bottom: .2rem !important;
    }

    /* Hide subtitle mobile */
    body.theme-homepage-linkpage .galeri-subtitle-soft {
        display: none !important;
    }

    /* SPA host flush ke content, minimal padding */
    body.theme-homepage-linkpage .galeri-spa-host {
        margin-top: .8rem !important;
    }
}
