.langla-site {
    --ink: #30291e;
    --forest: #2d4b38;
    --wine: #853332;
    color: var(--ink);
    background: radial-gradient(ellipse at top, #fbefd3, #eee2cb 75%);
    font-family: system-ui, sans-serif;
}
.langla-shell { max-width: 1180px; padding-bottom: 12px; }
.langla-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 17px 4px;
}
.langla-brand {
    color: #294b37;
    font: 800 1.7rem Georgia, serif;
    text-decoration: none;
}
.langla-brand span { color: #853332; }
.langla-nav-links, .langla-actions, .portal-tabs, .portal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.langla-nav-links a, .portal-tabs a {
    color: #314332;
    padding: 7px 10px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}
.langla-nav-links a:hover, .langla-nav-links a[aria-current], .portal-tabs a:hover, .portal-tabs a.active {
    color: #fffaf0;
    background: #36523c;
}
.langla-account.card { border: 1px solid #dfcfad; background: #fff8e9; border-radius: 13px; }
.langla-account > div:first-child { padding-top: 10px; }
.langla-account .card-footer { padding-bottom: 3px; }
.langla-hero {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    margin: 0 0 20px;
    border: 2px solid #ecd7a6;
    border-radius: 16px;
    background: #91704c url('/images/langla-village-banner.jpg') center/cover no-repeat;
    box-shadow: 0 8px 22px rgba(66,45,25,.16);
    display: flex;
    align-items: center;
}
.langla-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25,33,21,.90), rgba(30,37,24,.59) 50%, rgba(35,40,26,.08));
}
.langla-hero-content { position: relative; max-width: 620px; padding: 36px 42px; color: #fff8e8; }
.langla-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .15em; color: #f7dfa8; }
.langla-hero h1 { font: 800 clamp(2.25rem, 5.4vw, 3.85rem)/1.1 Georgia, serif; margin: 0 0 12px; color: #fff7e5; }
.langla-hero p { margin-bottom: 18px; line-height: 1.55; }
.langla-button {
    display: inline-block;
    padding: 9px 19px;
    border: 1px solid #d7bc7e;
    border-radius: 8px;
    background: #853332;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.langla-button:hover { color: #fff; background: #a23c3c; }
.langla-button-light { background: #f8edcf; color: #4c3a26; }
.langla-button-light:hover { background: #fff5dc; color: #4c3a26; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr); gap: 18px; }
.portal-stack { display: grid; align-content: start; gap: 18px; }
.portal-panel {
    min-width: 0;
    padding: clamp(14px, 2.5vw, 25px);
    margin-bottom: 16px;
    border: 1px solid #decca7;
    border-radius: 13px;
    background: #fffbf0;
    color: #30291e;
    box-shadow: 0 4px 15px rgba(67,49,26,.06);
}
.portal-stack .portal-panel { margin-bottom: 0; }
.langla-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 2px solid #d9c39c;
    color: #315239;
    padding-bottom: 11px;
    margin-bottom: 12px;
}
.langla-section-heading h1, .langla-section-heading h2 { font-size: clamp(1.15rem, 2vw, 1.48rem); font-weight: 800; margin: 0; }
.langla-section-heading a, .langla-section-heading small { font-size: .85rem; color: #775537; text-align: right; }
.portal-post-row { display: grid; grid-template-columns: clamp(68px, 18vw, 135px) minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid #eadfc8; }
.portal-post-row:last-child { border-bottom: 0; }
.portal-thumb { display: flex; align-items: center; min-height: 62px; background: #efe2c9; border-radius: 7px; overflow: hidden; }
.portal-thumb img { width: 100%; height: clamp(62px, 13vw, 88px); object-fit: cover; }
.portal-post-row h3 { margin: 5px 0; font-size: clamp(1rem, 2vw, 1.17rem); }
.portal-panel a:not(.langla-button):not(.btn):not(.active):not(.portal-tabs a) { color: #81332f; }
.portal-post-row a, .portal-side-link { text-decoration: none; }
.portal-post-row a:hover, .portal-side-link:hover strong { text-decoration: underline; }
.portal-post-row h3, .portal-copy, .portal-article-title, .portal-side-link strong { overflow-wrap: anywhere; }
.portal-post-row small, .portal-side-link small, .portal-meta, .portal-empty { color: #685c4d; }
.portal-side-link { display: block; padding: 11px 0; border-bottom: 1px solid #eadfc8; }
.portal-side-link:last-child { border-bottom: 0; }
.portal-side-link small { display: block; margin-top: 3px; }
.portal-tabs { margin: 8px 0 12px; }
.portal-tags span { padding: 3px 8px; background: #eee5ce; color: #514431; border-radius: 5px; font-size: .73rem; font-weight: 700; }
.portal-meta { font-size: .9rem; }
.portal-back { display: inline-block; margin-bottom: 16px; }
.portal-article { max-width: 870px; margin-inline: auto; }
.portal-article-title { margin: 8px 0; font-size: clamp(1.5rem, 4vw, 2.35rem); color: #763630; }
.portal-copy { font-size: 1.04rem; line-height: 1.75; }
.portal-copy img { display: block; width: auto; max-width: 100%; max-height: 900px; margin: 16px auto; border-radius: 8px; }
.portal-window { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 13px; background: #f6edd7; border-radius: 7px; }
.portal-reply { border-top: 1px solid #e2d6bf; padding-block: 12px; }
.langla-site :focus-visible, .portal-panel :focus-visible { outline: 3px solid #32684c; outline-offset: 3px; }
@media (max-width: 720px) {
    .portal-grid { grid-template-columns: 1fr; }
    .langla-nav { gap: 8px; }
    .langla-nav-links { gap: 4px; }
    .langla-nav-links a { padding: 5px 8px; }
    .langla-hero { min-height: 250px; background-position: 58% center; }
    .langla-hero-content { padding: 25px 20px; }
    .langla-hero::before { background: rgba(27,35,22,.63); }
}
