:root {
    --color-primary: #6b3a2a;
    --color-secondary: #b5835a;
    --color-bg: #fdf9f5;
    --color-surface: #f5ede3;
    --color-text: #261a12;
    --color-text-muted: #6e5a4a;
    --color-border: #ddd2c4;
    --color-header-bg: {{header_bg_color}};
    --font-heading: 'Bitter', 'Georgia', serif;
    --font-body: 'Cabin', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: #e8e4df;
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }

.page-wrapper {
    max-width: 960px;
    margin: 20px auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Top Bar */
.top-bar {
    background: var(--color-header-bg);
    padding: 16px 24px;
    border-bottom: 3px solid var(--color-primary);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-identity { display: flex; align-items: center; gap: 16px; }
.site-logo-img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }

.site-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.site-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}

.main-nav { display: flex; gap: 4px; }
.main-nav a {
    display: block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
}
.main-nav a:hover { background: rgba(255,255,255,0.25); }

/* Banner */
.banner-area {
    position: relative;
    max-height: 320px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 32px 24px 16px;
    color: white;
}

.banner-text h2 {
    font-family: var(--font-heading);
    font-size: 28px;
}

.banner-text p { font-size: 14px; opacity: 0.85; }

/* Content */
.content-area { padding: 24px; }

.content-box {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.content-box h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

.content-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.content-box p { font-size: 15px; margin-bottom: 12px; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.info-table th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.info-table tr:nth-child(even) { background: rgba(0,0,0,0.02); }

/* Photo Strip */
.photo-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.photo-strip img {
    height: 200px;
    width: auto;
    border-radius: 4px;
    border: 3px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* Map */
.map-box iframe { border-radius: 4px; }

/* Footer */
.page-footer {
    padding: 20px 24px;
    background: var(--color-header-bg);
    color: rgba(255,255,255,0.7);
    text-align: center;
    font-size: 13px;
}

.page-footer a { color: rgba(255,255,255,0.8); }
.footer-links-row { margin-top: 6px; }
.footer-links-row a { margin: 0 8px; }

/* Responsive */
@media (max-width: 768px) {
    .page-wrapper { margin: 0; }
    .top-bar-inner { flex-direction: column; gap: 12px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
    .two-col { grid-template-columns: 1fr; }
}
