:root {
    --primary-color: #2c3e50;
    --accent-color: #c0392b;
    --accent-hover: #a93226;
    --light-bg: #f8f9fa;
    --border-color: #e5e7e9;
    --text-muted: #687078;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

#header-placeholder {
    display: contents;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    color: #fff;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
                url('banner.jpg') center / cover no-repeat;
    background-color: var(--primary-color);
    color: #fff;
    padding: 110px 0;
}

.hero-section h1,
.hero-section p {
    color: #fff !important;
}

.hero-section .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.badge-loi-light {
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #fff !important;
}

.about-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.founders-section {
    border-top: 1px solid var(--border-color);
}

.section-kicker,
.founder-role {
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.founders-intro {
    max-width: 620px;
    color: var(--text-muted);
}

.founder-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(44, 62, 80, 0.14);
}

.founder-image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.founder-content {
    padding: 1.25rem;
}

.founder-content h3 {
    margin-bottom: 0.65rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.founder-content p:last-child {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gallery-section {
    background-color: var(--light-bg);
}

.gallery-intro {
    max-width: 620px;
    color: var(--text-muted);
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    height: 260px;
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    content: "";
}

.gallery-item span {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1;
    font-weight: 600;
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.05);
    opacity: 0.88;
}

@media (max-width: 575.98px) {
    .gallery-item {
        height: 190px;
    }
}
:root {
    --brand-brown: #706152;
    --brand-terracotta: #9b7665;
    --brand-slate: #6f899a;
}

.navbar-logo {
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.badge-loi {
    display: inline-block;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.title-display {
    color: var(--brand-brown);
}

.photo-card {
    margin: 0;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    overflow: hidden;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.photo-card figcaption {
    padding: 1rem 1.1rem;
}

.photo-card figcaption strong {
    display: block;
    color: var(--primary-color);
}

.photo-card figcaption span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.territory-band {
    background: var(--primary-color);
    color: #fff;
}

.territory-band h2 {
    color: #fff;
}

.dept {
    display: inline-block;
    min-width: 3.2rem;
    margin: 0.25rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-weight: 700;
}

.founder-image {
    height: 260px;
    object-position: center 20%;
}

.press-item {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    transition: transform 0.2s ease-in-out;
}

.press-item:hover,
.press-item:focus {
    transform: translateY(-4px);
    color: inherit;
}

.press-item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.press-item div {
    padding: 0.9rem 1rem;
}

.news-nav a {
    color: var(--primary-color);
}

.news-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 90px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    color: var(--brand-terracotta);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-item ul.captions {
    color: var(--text-muted);
}

.commune-list li {
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.gallery-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--primary-color);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumb span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.4rem 0.5rem 0.4rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: left;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
    transform: scale(1.05);
    opacity: 0.9;
}

.viewer-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.viewer-prev { left: 0.5rem; }
.viewer-next { right: 0.5rem; }

.history-box {
    background: var(--light-bg);
    border-left: 4px solid var(--brand-terracotta);
    padding: 1.5rem;
}

.history-box h4 {
    color: var(--brand-brown);
    font-size: 1.05rem;
    margin-top: 1rem;
}
