/* ═══════════════════════════════════════════════════════════════
   RENT LOCUST — Main Stylesheet
   Modern & Bold: high contrast, sharp lines, strong typography
   Palette: Near-black, white, sharp amber accent
   Font: Barlow Condensed (display) + Barlow (body)
═══════════════════════════════════════════════════════════════ */

:root {
    --rl-black:   #0d0d0d;
    --rl-dark:    #141414;
    --rl-grey:    #1e1e1e;
    --rl-mid:     #2a2a2a;
    --rl-rule:    #2e2e2e;
    --rl-muted:   #888888;
    --rl-light:   #f0ede8;
    --rl-white:   #ffffff;
    --rl-accent:  #c8a96e;
    --rl-accent2: #e8c98a;
    --rl-font-display: 'Barlow Condensed', sans-serif;
    --rl-font-body:    'Barlow', sans-serif;
    --rl-radius: 2px;
    --rl-transition: 0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body.rl-site {
    font-family: var(--rl-font-body);
    font-weight: 400;
    color: var(--rl-dark);
    background: var(--rl-white);
    -webkit-font-smoothing: antialiased;
}

/* ── Override Astra defaults ── */
.rl-site .ast-container { max-width: 1200px; }
.rl-site #masthead,
.rl-site .site-header { background: var(--rl-black) !important; border-bottom: 1px solid var(--rl-rule); }
.rl-site .ast-site-identity { padding: 0; }

/* ── Logo / Site Title ── */
.rl-site .site-title a,
.rl-site .ast-site-title a {
    font-family: var(--rl-font-display) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: var(--rl-white) !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}
.rl-site .site-title a span,
.rl-site .ast-site-title a span {
    color: var(--rl-accent) !important;
}

/* ── Navigation ── */
.rl-site #site-navigation,
.rl-site .main-navigation,
.rl-site .ast-main-header-bar-alignment {
    background: var(--rl-black) !important;
}
.rl-site .main-navigation a,
.rl-site .ast-builder-menu a,
.rl-site .nav-link {
    font-family: var(--rl-font-display) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--rl-muted) !important;
    transition: color var(--rl-transition) !important;
    padding: 8px 16px !important;
}
.rl-site .main-navigation a:hover,
.rl-site .ast-builder-menu a:hover,
.rl-site .current-menu-item > a {
    color: var(--rl-accent) !important;
}

/* ── Hero Section ── */
.rl-hero {
    background: var(--rl-black);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.rl-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(255,255,255,0.015) 60px,
            rgba(255,255,255,0.015) 61px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(255,255,255,0.015) 60px,
            rgba(255,255,255,0.015) 61px
        );
    pointer-events: none;
}
.rl-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}
.rl-hero-eyebrow {
    font-family: var(--rl-font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rl-accent);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.rl-hero-eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--rl-accent);
}
.rl-hero h1 {
    font-family: var(--rl-font-display) !important;
    font-size: clamp(52px, 8vw, 100px) !important;
    font-weight: 800 !important;
    line-height: 0.92 !important;
    letter-spacing: -0.01em !important;
    color: var(--rl-white) !important;
    margin: 0 0 32px !important;
    text-transform: uppercase !important;
}
.rl-hero h1 em {
    font-style: normal;
    color: var(--rl-accent);
    display: block;
}
.rl-hero-sub {
    font-family: var(--rl-font-body);
    font-size: 17px;
    font-weight: 300;
    color: var(--rl-muted);
    max-width: 480px;
    line-height: 1.65;
    margin: 0 0 40px;
}
.rl-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Buttons ── */
.rl-btn {
    display: inline-block;
    font-family: var(--rl-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 14px 32px;
    border-radius: var(--rl-radius);
    transition: all var(--rl-transition);
    cursor: pointer;
    border: none;
}
.rl-btn-primary {
    background: var(--rl-accent);
    color: var(--rl-black) !important;
}
.rl-btn-primary:hover {
    background: var(--rl-accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,169,110,0.25);
}
.rl-btn-outline {
    background: transparent;
    color: var(--rl-white) !important;
    border: 1px solid var(--rl-rule);
}
.rl-btn-outline:hover {
    border-color: var(--rl-accent);
    color: var(--rl-accent) !important;
}

/* ── Section Layout ── */
.rl-section {
    padding: 80px 0;
}
.rl-section-dark {
    background: var(--rl-dark);
}
.rl-section-light {
    background: var(--rl-light);
}
.rl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 768px) {
    .rl-container { padding: 0 20px; }
    .rl-section { padding: 60px 0; }
}

/* ── Section Header ── */
.rl-section-header {
    margin-bottom: 48px;
}
.rl-section-label {
    font-family: var(--rl-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rl-accent);
    margin: 0 0 12px;
}
.rl-section-title {
    font-family: var(--rl-font-display) !important;
    font-size: clamp(32px, 5vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: var(--rl-dark) !important;
    margin: 0 !important;
}
.rl-section-dark .rl-section-title { color: var(--rl-white) !important; }
.rl-section-rule {
    width: 48px;
    height: 3px;
    background: var(--rl-accent);
    margin: 16px 0 0;
    border: none;
}

/* ── Vacancy Cards ── */
.rl-vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2px;
}

.rl-vacancy-card {
    background: var(--rl-white);
    border: 1px solid #e8e5e0;
    position: relative;
    overflow: hidden;
    transition: transform var(--rl-transition), box-shadow var(--rl-transition);
}
.rl-vacancy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
    z-index: 2;
}

.rl-vacancy-img {
    height: 220px;
    background: var(--rl-mid) center/cover no-repeat;
    position: relative;
}
.rl-vacancy-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.rl-vacancy-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--rl-accent);
    color: var(--rl-black);
    font-family: var(--rl-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 1;
}

.rl-vacancy-body { padding: 24px; }

.rl-vacancy-rent {
    font-family: var(--rl-font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--rl-dark);
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 4px;
}
.rl-vacancy-rent span {
    font-size: 14px;
    font-weight: 400;
    color: var(--rl-muted);
    letter-spacing: 0;
}

.rl-vacancy-title {
    font-family: var(--rl-font-display) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--rl-dark) !important;
    margin: 8px 0 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
.rl-vacancy-address {
    font-size: 13px;
    color: var(--rl-muted);
    margin-bottom: 16px;
}

.rl-vacancy-specs {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #f0ede8;
    border-bottom: 1px solid #f0ede8;
    margin-bottom: 16px;
}
.rl-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rl-spec-val {
    font-family: var(--rl-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--rl-dark);
    line-height: 1;
}
.rl-spec-label {
    font-size: 11px;
    color: var(--rl-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rl-vacancy-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.rl-amenity {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rl-dark);
    background: var(--rl-light);
    padding: 3px 8px;
}

.rl-vacancy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.rl-avail-date {
    font-size: 12px;
    color: var(--rl-muted);
    font-weight: 500;
}
.rl-avail-date strong { color: var(--rl-dark); }

/* ── No vacancies ── */
.rl-no-vacancies {
    grid-column: 1 / -1;
    padding: 80px 40px;
    text-align: center;
    background: var(--rl-light);
}
.rl-no-vacancies h3 {
    font-family: var(--rl-font-display);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rl-dark);
    margin: 0 0 12px;
}
.rl-no-vacancies p { color: var(--rl-muted); margin: 0; }

/* ── Stats Bar ── */
.rl-stats-bar {
    background: var(--rl-black);
    border-top: 1px solid var(--rl-rule);
    border-bottom: 1px solid var(--rl-rule);
    padding: 0;
}
.rl-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid var(--rl-rule);
}
.rl-stat {
    padding: 32px 40px;
    border-right: 1px solid var(--rl-rule);
    text-align: center;
}
.rl-stat:last-child { border-right: none; }
.rl-stat-num {
    font-family: var(--rl-font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--rl-accent);
    line-height: 1;
    display: block;
}
.rl-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rl-muted);
    display: block;
    margin-top: 6px;
}
@media (max-width: 600px) {
    .rl-stats-inner { grid-template-columns: 1fr 1fr; }
    .rl-stat:nth-child(2) { border-right: none; }
}

/* ── Why Us ── */
.rl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
@media (max-width: 768px) { .rl-features-grid { grid-template-columns: 1fr; } }

.rl-feature {
    background: var(--rl-grey);
    padding: 40px 32px;
    border-top: 3px solid transparent;
    transition: border-color var(--rl-transition);
}
.rl-feature:hover { border-top-color: var(--rl-accent); }
.rl-feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
}
.rl-feature-title {
    font-family: var(--rl-font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rl-white);
    margin: 0 0 10px;
}
.rl-feature-desc {
    font-size: 14px;
    color: var(--rl-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── CTA Banner ── */
.rl-cta {
    background: var(--rl-accent);
    padding: 64px 40px;
    text-align: center;
}
.rl-cta h2 {
    font-family: var(--rl-font-display) !important;
    font-size: clamp(28px, 5vw, 48px) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: var(--rl-black) !important;
    margin: 0 0 8px !important;
}
.rl-cta p {
    font-size: 16px;
    color: rgba(0,0,0,0.6);
    margin: 0 0 28px;
}
.rl-btn-dark {
    background: var(--rl-black);
    color: var(--rl-white) !important;
}
.rl-btn-dark:hover {
    background: var(--rl-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ── Footer ── */
.rl-site #colophon,
.rl-site .site-footer {
    background: var(--rl-black) !important;
    border-top: 1px solid var(--rl-rule);
    padding: 48px 0 32px !important;
}
.rl-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) { .rl-footer-inner { grid-template-columns: 1fr; } }
.rl-footer-brand h3 {
    font-family: var(--rl-font-display);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rl-white);
    margin: 0 0 8px;
}
.rl-footer-brand h3 span { color: var(--rl-accent); }
.rl-footer-brand p { font-size: 13px; color: var(--rl-muted); margin: 0; line-height: 1.65; }
.rl-footer-col h4 {
    font-family: var(--rl-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rl-accent);
    margin: 0 0 16px;
}
.rl-footer-col p,
.rl-footer-col a {
    font-size: 13px;
    color: var(--rl-muted) !important;
    text-decoration: none !important;
    display: block;
    line-height: 2;
}
.rl-footer-col a:hover { color: var(--rl-white) !important; }
.rl-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px 0;
    border-top: 1px solid var(--rl-rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #444;
}

/* ── Application form overrides to match theme ── */
.rl-site .lpm-app-intro { background: var(--rl-black); }
.rl-site .lpm-btn-primary { background: var(--rl-accent); color: var(--rl-black) !important; }
.rl-site .lpm-btn-primary:hover { background: var(--rl-accent2); }
.rl-site .lpm-section-title { font-family: var(--rl-font-display) !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; }
.rl-site .lpm-step-active .lpm-step-num { background: var(--rl-accent); color: var(--rl-black); }
.rl-site .lpm-field input:focus,
.rl-site .lpm-field select:focus,
.rl-site .lpm-field textarea:focus { border-color: var(--rl-accent); box-shadow: 0 0 0 3px rgba(200,169,110,0.15); }

/* ── Page title area ── */
.rl-site .ast-archive-title,
.rl-site .entry-title,
.rl-site h1.page-title {
    font-family: var(--rl-font-display) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* ── Animations ── */
@keyframes rl-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rl-animate {
    animation: rl-fade-up 0.6s ease forwards;
    opacity: 0;
}
.rl-animate-delay-1 { animation-delay: 0.1s; }
.rl-animate-delay-2 { animation-delay: 0.2s; }
.rl-animate-delay-3 { animation-delay: 0.3s; }
.rl-animate-delay-4 { animation-delay: 0.4s; }

/* ── Force full width — remove sidebar everywhere ── */
.rl-site #secondary,
.rl-site .widget-area,
.rl-site .ast-sidebar-wrap,
.rl-site #sidebar,
.rl-site .sidebar { display: none !important; width: 0 !important; }

.rl-site #primary,
.rl-site .ast-article-post,
.rl-site .site-main,
.rl-site #content .ast-container,
.rl-site .entry-content { width: 100% !important; max-width: 100% !important; float: none !important; }

.rl-site #content .ast-container { display: block !important; }
.rl-site .ast-right-sidebar #primary,
.rl-site .ast-left-sidebar #primary { width: 100% !important; }

/* Fix checkbox label alignment */
.rl-site .lpm-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    text-align: left !important;
}
.rl-site .lpm-checkbox-label input[type="checkbox"] {
    display: inline-block !important;
    width: auto !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    margin: 3px 0 0 0 !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
}
.rl-site .lpm-field-full {
    text-align: left !important;
}
.rl-site .lpm-form-grid {
    text-align: left !important;
}
.rl-site .lpm-form-section {
    text-align: left !important;
}
/* Fix Astra centering inputs globally in forms */
.rl-site .lpm-form input[type="checkbox"],
.rl-site .lpm-form input[type="radio"] {
    width: auto !important;
    display: inline-block !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    transform: none !important;
    vertical-align: top !important;
}
