.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
}

.header--scrolled {
    background-color: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header--scrolled .nav__link {
    color: var(--black);
}

.header--scrolled .logo {
    color: var(--black);
}

.header--scrolled .nav__toggle span {
    background-color: var(--black);
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo,
.header .logo-wrap .custom-logo-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--white);
    transition: var(--transition-fast);
    text-decoration: none;
}

.header .logo-wrap .custom-logo-link {
    display: block;
}

.header .logo-wrap .custom-logo {
    max-height: 36px;
    width: auto;
    height: auto;
    vertical-align: middle;
    transition: filter var(--transition-fast);
}

.header--scrolled .logo-wrap .custom-logo {
    filter: brightness(0);
}

.nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    position: relative;
    text-decoration: none;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition-fast);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    margin-right: -10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
    display: block;
}

.site-main {
    flex: 1;
    width: 100%;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Footer (options: Lumea Beauty Options → Footer) */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-gray-800);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    margin-bottom: 24px;
}

.footer__logo-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.footer__logo-img {
    display: block;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer__desc {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    margin-bottom: 32px;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-black);
}

.footer__column-title {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

a.footer__link:hover {
    color: var(--color-white);
}

.footer__bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__copyright {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

.footer__legal {
    display: flex;
    gap: 32px;
}

.footer__legal-link {
    color: var(--color-gray-500);
    font-size: var(--text-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

a.footer__legal-link:hover {
    color: var(--color-white);
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 0 24px;
    }

    .entry-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .header .container {
        padding: 0 24px;
    }

    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--black);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav__list.active {
        right: 0;
    }

    .nav__list .nav__link {
        color: var(--white);
        font-size: 1.25rem;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}
