/* Tenny Rentals — rentals.css
   Community branding: Montserrat font, terracotta #e05e30, warm cream #fff6f3
*/

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

/* Light — community brand (default) */
:root, [data-theme="light"] {
    color-scheme: light;
    --bg:        #fff6f3;
    --surface:   #ffffff;
    --surface-2: #fdf0eb;
    --border:    #f0d8ce;
    --border-2:  #e5c4b8;
    --text:      #1a0f0a;
    --text-2:    #6b4f47;
    --text-3:    #9c7b73;
    --accent:    #e05e30;
    --accent-h:  #c44f24;
    --accent-dim:#e05e3020;
    --danger:    #dc2626;
    --success:   #16a34a;
    --radius:    8px;
    --radius-lg: 12px;
}

/* Dark */
[data-theme="dark"] {
    color-scheme: dark;
    --bg:        #111111;
    --surface:   #1c1c1c;
    --surface-2: #242424;
    --border:    #2a2a2a;
    --border-2:  #383838;
    --text:      #e8e6e1;
    --text-2:    #9ca3af;
    --text-3:    #6b7280;
    --accent:    #e05e30;
    --accent-h:  #c44f24;
    --accent-dim:#e05e3025;
    --danger:    #ef4444;
    --success:   #22c55e;
    --radius:    8px;
    --radius-lg: 12px;
}

body {
    font-family: 'Montserrat', 'Open Sans', -apple-system, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ─────────────────────────────────────────────────────── */
.tr-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tr-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--text);
}

.tr-nav-logo {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.tr-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.tr-nav-links a {
    color: var(--text-2);
    transition: color 0.15s;
}

.tr-nav-links a:hover { color: var(--text); }

.tr-nav-cta {
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius);
    transition: background 0.15s;
}

.tr-nav-cta:hover { background: var(--accent-h) !important; }

/* ── HERO ─────────────────────────────────────────────────────── */
.tr-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tr-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1208 0%, #0d0d0d 50%, #111 100%);
}

/* Gradient overlay for image */
.tr-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.tr-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.tr-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.tr-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tr-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.tr-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tr-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

/* ── SEARCH WIDGET ─────────────────────────────────────────────── */
.tr-search-widget {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    max-width: 860px;
}

.tr-search-field {
    flex: 1;
    min-width: 150px;
}

.tr-search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 0.35rem;
}

.tr-search-field input,
.tr-search-field select {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s;
}

.tr-search-field input:focus,
.tr-search-field select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.75rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary:hover { background: var(--accent-h); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-2);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-family: inherit;
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

/* ── SECTION LAYOUT ─────────────────────────────────────────── */
.tr-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tr-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.tr-section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tr-section-body {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 680px;
    line-height: 1.75;
}

/* ── CARDS ─────────────────────────────────────────────────── */
.tr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.tr-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tr-card-img {
    aspect-ratio: 16/9;
    background: var(--surface-2);
    overflow: hidden;
    position: relative;
}

.tr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tr-card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #1a1208, #242424);
}

.tr-card-body {
    padding: 1.25rem;
}

.tr-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.tr-card-meta {
    font-size: 0.82rem;
    color: var(--text-2);
    margin-bottom: 0.75rem;
}

.tr-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.tr-card-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-3);
}

.tr-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 500;
}

.tr-stars { color: var(--accent); }

/* ── AMENITY GRID ────────────────────────────────────────── */
.tr-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.tr-amenity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--text-2);
    transition: border-color 0.15s;
}

.tr-amenity:hover { border-color: var(--border-2); }

.tr-amenity-icon {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* ── GALLERY ────────────────────────────────────────────── */
.tr-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 4px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tr-gallery-main {
    grid-row: span 2;
    background: var(--surface-2);
    position: relative;
}

.tr-gallery-thumb {
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.tr-gallery-main img,
.tr-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tr-gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a1208, #1c1c1c);
    color: var(--text-3);
}

/* ── BOOKING SIDEBAR ────────────────────────────────────── */
.tr-layout-2col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.tr-book-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.tr-sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.tr-sidebar-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.tr-sidebar-price em {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--text-3);
}

/* ── CALENDAR ───────────────────────────────────────────── */
.tr-cal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tr-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.tr-cal-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.tr-cal-nav {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-2);
    cursor: pointer;
    padding: 4px 10px;
    font-size: 1rem;
    transition: border-color 0.15s, color 0.15s;
}

.tr-cal-nav:hover { border-color: var(--accent); color: var(--accent); }

.tr-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.tr-cal-day-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-3);
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tr-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.83rem;
    cursor: pointer;
    border-radius: 50%;
    margin: 2px auto;
    width: 36px;
    height: 36px;
    transition: background 0.1s, color 0.1s;
    color: var(--text-2);
}

.tr-cal-day:hover:not(.unavailable):not(.empty) {
    background: var(--accent-dim);
    color: var(--accent);
}

.tr-cal-day.today {
    font-weight: 700;
    color: var(--text);
}

.tr-cal-day.selected {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.tr-cal-day.in-range {
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 0;
    width: 100%;
    margin: 2px 0;
}

.tr-cal-day.unavailable {
    color: var(--text-3);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.4;
}

.tr-cal-day.empty { cursor: default; }

/* ── BOOKING FORM ───────────────────────────────────────── */
.tr-form-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.tr-form-group {
    margin-bottom: 1.25rem;
}

.tr-form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.tr-form-group input,
.tr-form-group select,
.tr-form-group textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0.7rem 0.9rem;
    font-size: 0.93rem;
    font-family: inherit;
    color-scheme: dark;
    transition: border-color 0.15s;
}

.tr-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.tr-form-group input:focus,
.tr-form-group select:focus,
.tr-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.tr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── PRICE BREAKDOWN ────────────────────────────────────── */
.tr-price-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.tr-price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.tr-price-row:last-child {
    border-bottom: none;
    font-weight: 700;
    background: var(--surface-2);
}

.tr-price-row.total {
    font-size: 1rem;
    color: var(--text);
}

/* ── STRIPE ELEMENT ─────────────────────────────────────── */
#card-element {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 0.8rem 0.9rem;
    transition: border-color 0.15s;
}

#card-element.StripeElement--focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

#card-errors {
    color: var(--danger);
    font-size: 0.83rem;
    margin-top: 0.4rem;
    min-height: 1.2em;
}

/* ── CONFIRM PAGE ────────────────────────────────────────── */
.tr-confirm {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.tr-confirm-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.tr-confirm h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.tr-confirm-code {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 0.5rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin: 0.75rem 0 1.5rem;
}

.tr-next-steps {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.tr-next-steps h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 1rem;
}

.tr-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tr-step:last-child { margin-bottom: 0; }

.tr-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tr-step-text {
    font-size: 0.9rem;
    color: var(--text-2);
    padding-top: 3px;
    line-height: 1.5;
}

/* ── BOOKINGS LIST ───────────────────────────────────────── */
.tr-bookings {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.tr-booking-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.tr-booking-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    background: var(--surface-2);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.tr-booking-meta { flex: 1; }
.tr-booking-meta h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.tr-booking-dates {
    font-size: 0.83rem;
    color: var(--text-2);
    margin-bottom: 0.25rem;
}

.tr-status-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

.tr-status-confirmed { background: rgba(34,197,94,0.15); color: #22c55e; }
.tr-status-pending   { background: rgba(234,179,8,0.15);  color: #eab308; }
.tr-status-cancelled { background: rgba(107,114,128,0.15); color: #6b7280; }

/* ── FOOTER ─────────────────────────────────────────────── */
.tr-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-3);
}

.tr-footer a {
    color: var(--text-3);
    margin: 0 0.5rem;
}

.tr-footer a:hover { color: var(--accent); }

/* ── DIVIDERS / MISC ─────────────────────────────────────── */
.tr-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}


.tr-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tr-info-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.tr-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 0.25rem;
}

.tr-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* ── FLASH MESSAGES ─────────────────────────────────────── */
.tr-flash {
    max-width: 760px;
    margin: 1rem auto 0;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.tr-flash-error   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }
.tr-flash-success { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.3);  color: #86efac; }
.tr-flash-info    { background: var(--accent-dim); border: 1px solid rgba(224,94,48,0.3); color: var(--accent); }

/* ── NEIGHBORHOOD SECTION ───────────────────────────────── */
.tr-neighborhood {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.tr-neighborhood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.tr-place {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-2);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.tr-place:last-child { border-bottom: none; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .tr-layout-2col {
        grid-template-columns: 1fr;
    }

    .tr-book-sidebar {
        position: static;
        order: -1;
    }

    .tr-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .tr-gallery-main { grid-row: span 1; }

    .tr-form-row { grid-template-columns: 1fr; }

    .tr-neighborhood-grid { grid-template-columns: 1fr; }

    .tr-search-widget { flex-direction: column; }

    .tr-search-field { min-width: 100%; }

    .tr-nav-links { gap: 1rem; }
}

@media (max-width: 480px) {
    .tr-hero { min-height: 70vh; }
    .tr-section { padding: 2.5rem 1rem; }
    .tr-bookings { padding: 1.5rem 1rem; }
}

/* ── Public layout (base_public.html) ── */

.public-body { background: var(--bg); }

/* Header */
.pub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo */
.pub-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text);
}

.pub-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.pub-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text);
    text-transform: uppercase;
}

.pub-logo-thin {
    font-weight: 400;
    color: var(--text-2);
}

/* Nav */
.pub-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pub-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.15s;
}
.pub-nav a:hover { color: var(--accent); }

.pub-nav-signin {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.4rem 1rem;
    border-radius: var(--radius);
}
.pub-nav-signin:hover { background: var(--accent-h) !important; color: #fff !important; }

.pub-theme-toggle {
    background: transparent;
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--text-2);
    transition: border-color 0.15s;
}
.pub-theme-toggle:hover { border-color: var(--accent); }

/* Footer */
.pub-footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem 2rem;
    margin-top: 4rem;
    color: var(--text-3);
    font-size: 0.78rem;
}

.pub-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pub-footer-sep { color: var(--border-2); }

.pub-footer a { color: var(--text-3); text-decoration: none; }
.pub-footer a:hover { color: var(--accent); }

/* Highlight bar — use accent color */
.tr-highlight-bar {
    background: var(--accent-dim);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 1rem;
}
