/* Shared interface for Nguyen Ngoc Anh Thu
   Palette: light blue, soft yellow, reddish brown.
   This file is additive: keep the site's existing style.css.
*/
:root {
    --site-blue: #dceef2;
    --site-blue-deep: #b9dce4;
    --site-yellow: #f6e8a8;
    --site-yellow-soft: #fff8df;
    --site-brown-red: #8c493d;
    --site-brown-dark: #60362f;
    --site-cream: #fffdf5;
    --site-ink: #493b35;
    --site-line: #e7ddc8;
    --site-shadow: 0 5px 18px rgba(80, 58, 42, .07);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--site-ink);
    background: var(--site-cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.site-header {
    position: relative;
    z-index: 20;
    background: linear-gradient(110deg, var(--site-cream), #f8f3df 72%, var(--site-yellow-soft));
    border-bottom: 1px solid var(--site-line);
}

.site-header__inner,
.site-nav__inner,
.site-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--site-brown-red);
    text-decoration: none;
    min-width: 0;
}

.site-brand__mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 14px;
    color: var(--site-brown-red);
    background: var(--site-blue);
    border: 1px solid var(--site-blue-deep);
    font-size: 25px;
}

.site-brand__text { display: grid; gap: 1px; }
.site-brand__text strong {
    color: var(--site-brown-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.2;
    letter-spacing: .1px;
}
.site-brand__text small {
    color: #80665b;
    font-size: 12px;
    letter-spacing: .35px;
}
.site-header__note {
    color: var(--site-brown-red);
    background: var(--site-yellow-soft);
    border: 1px solid #eadca8;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    white-space: nowrap;
}

.site-nav {
    background: var(--site-blue);
    border-top: 1px solid rgba(140, 73, 61, .08);
    border-bottom: 1px solid var(--site-blue-deep);
}
.site-nav__inner { display: flex; align-items: center; min-height: 50px; }
.site-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
}
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--site-brown-red);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-nav__link:hover {
    background: rgba(255, 253, 245, .8);
    color: var(--site-brown-dark);
    transform: translateY(-1px);
}
.site-nav__link.is-active {
    background: var(--site-yellow);
    color: var(--site-brown-dark);
    box-shadow: inset 0 0 0 1px rgba(140, 73, 61, .10);
}
.site-nav__icon { font-size: 15px; line-height: 1; }

.site-nav__toggle {
    display: none;
    border: 1px solid var(--site-blue-deep);
    background: var(--site-cream);
    color: var(--site-brown-red);
    border-radius: 10px;
    padding: 9px 13px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.site-main {
    width: min(1180px, calc(100% - 40px));
    min-height: 55vh;
    margin: 0 auto;
    padding: 28px 0 54px;
}

.site-footer {
    background: #e8f2e9;
    border-top: 3px solid var(--site-yellow);
    color: var(--site-brown-red);
}
.site-footer__inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}
.site-footer strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}
.site-footer p { margin: 3px 0 0; color: #80665b; font-size: 12px; }
.site-footer__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
}
.site-footer a { color: var(--site-brown-red); text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__copyright { color: #80665b; }

@media (max-width: 820px) {
    .site-header__inner,
    .site-nav__inner,
    .site-footer__inner,
    .site-main { width: min(100% - 28px, 1180px); }

    .site-nav__inner {
        display: block;
        padding: 8px 0;
    }
    .site-nav__toggle { display: inline-flex; align-items: center; gap: 8px; }
    .site-nav__links {
        display: none;
        align-items: stretch;
        padding: 9px 0 3px;
    }
    .site-nav__links.is-open { display: flex; flex-direction: column; }
    .site-nav__link { width: 100%; border-radius: 9px; padding: 10px 12px; }
    .site-header__note { display: none; }
}
@media (max-width: 520px) {
    .site-header__inner { min-height: 76px; }
    .site-brand__mark { width: 39px; height: 39px; flex-basis: 39px; }
    .site-brand__text strong { font-size: 18px; }
    .site-brand__text small { font-size: 10px; }
    .site-footer__inner { align-items: flex-start; flex-direction: column; }
    .site-main { padding-top: 20px; }
}
