/*
Theme Name: RenPro Child
Theme URI: https://renpro.org
Description: Custom child theme for RenPro Real Estate - Property Management
Author: RenPro
Author URI: https://renpro.org
Template: generatepress
Version: 1.0.0
Text Domain: renpro-child
*/

/* ============================================
   RENPRO COLOR PALETTE
   ============================================ */
:root {
    --rp-navy: #1E3A5F;
    --rp-navy-dark: #152C49;
    --rp-navy-light: #2A4D7A;
    --rp-red: #C0392B;
    --rp-red-dark: #A93226;
    --rp-red-hover: #E74C3C;
    --rp-blue-accent: #5B7FB5;
    --rp-blue-light: #7A9BC7;
    --rp-white: #FFFFFF;
    --rp-gray-light: #F4F5F7;
    --rp-gray-mid: #E5E7EB;
    --rp-text-dark: #2D2D2D;
    --rp-text-gray: #6B7280;
    --rp-text-light: #9CA3AF;
}

/* ============================================
   GLOBAL RESETS & BASE
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--rp-text-dark);
    line-height: 1.6;
}

a {
    color: var(--rp-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--rp-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
    background-color: var(--rp-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-bar {
    background-color: var(--rp-navy);
    color: #fff;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.top-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__locations {
    font-weight: 500;
}

.top-bar__cta {
    color: var(--rp-red-hover);
    font-weight: 700;
}

.top-bar__social a {
    color: #fff;
    margin-left: 12px;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.top-bar__social a:hover {
    opacity: 1;
    color: #fff;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav__logo img {
    height: 50px;
    width: auto;
}

.main-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__links a {
    color: var(--rp-text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav__links a:hover,
.main-nav__links a.active {
    color: var(--rp-red);
}

.main-nav__links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rp-red);
}

.btn-cta {
    display: inline-block;
    background-color: var(--rp-red);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: var(--rp-red-dark);
    color: #fff !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rp-navy);
    margin: 5px 0;
    transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.92) 0%, rgba(30,58,95,0.7) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #fff;
}

.hero__content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 650px;
}

.hero__content p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 550px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-size: 36px;
    font-weight: 800;
    display: block;
    color: #fff;
}

.hero__stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--rp-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--rp-red-dark);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.btn-outline-navy {
    background: transparent;
    color: var(--rp-navy);
    border: 2px solid var(--rp-navy);
}

.btn-outline-navy:hover {
    background: var(--rp-navy);
    color: #fff;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section--gray {
    background-color: var(--rp-gray-light);
}

.section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--rp-navy);
    margin-bottom: 12px;
}

.section__header p {
    font-size: 18px;
    color: var(--rp-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section__header .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--rp-red);
    margin: 16px auto 0;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--rp-white);
    border-radius: 6px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-top-color: var(--rp-red);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--rp-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--rp-navy);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--rp-navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--rp-text-gray);
    line-height: 1.6;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: var(--rp-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    box-shadow: 0 8px 32px rgba(30,58,95,0.15);
    position: relative;
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--rp-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 0;
}

.pricing-card__header {
    background: var(--rp-navy);
    color: #fff;
    padding: 28px 20px;
}

.pricing-card.featured .pricing-card__header {
    padding-top: 42px;
}

.pricing-card__header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card__header span {
    font-size: 14px;
    opacity: 0.8;
}

.pricing-card__price {
    padding: 28px 20px;
}

.pricing-card__price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--rp-navy);
}

.pricing-card__price .period {
    font-size: 16px;
    color: var(--rp-text-gray);
    display: block;
    margin-top: 4px;
}

.pricing-card__features {
    padding: 0 28px 20px;
    list-style: none;
    margin: 0;
}

.pricing-card__features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--rp-gray-mid);
    font-size: 15px;
    color: var(--rp-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card__features li::before {
    content: '\2713';
    color: var(--rp-blue-accent);
    font-weight: 700;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card__cta {
    padding: 0 28px 28px;
}

.pricing-card__cta .btn {
    width: 100%;
}

/* ============================================
   ABOUT / WHY RENPRO
   ============================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-split__image img {
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    width: 100%;
}

.about-split__content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--rp-navy);
    margin-bottom: 16px;
}

.about-split__content p {
    font-size: 16px;
    color: var(--rp-text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-split__content .highlight {
    color: var(--rp-red);
    font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--rp-white);
    border-radius: 6px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 3px solid var(--rp-blue-accent);
}

.testimonial-card__quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--rp-text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--rp-navy);
    font-size: 14px;
}

.testimonial-card__role {
    font-size: 13px;
    color: var(--rp-text-gray);
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--rp-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card__image {
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 24px;
}

.blog-card__date {
    font-size: 13px;
    color: var(--rp-text-gray);
    margin-bottom: 8px;
}

.blog-card__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--rp-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card__content p {
    font-size: 14px;
    color: var(--rp-text-gray);
    line-height: 1.6;
}

.blog-card__link {
    display: inline-block;
    margin-top: 12px;
    color: var(--rp-red);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rp-text-dark);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--rp-gray-mid);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--rp-white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--rp-blue-accent);
    box-shadow: 0 0 0 3px rgba(91,127,181,0.15);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--rp-navy);
    color: #fff;
    padding: 60px 0 0;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer__col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer__col p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.footer__col ul li a:hover {
    color: var(--rp-blue-light);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer__contact-item i {
    color: var(--rp-blue-accent);
    margin-top: 3px;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}

.footer__social a:hover {
    background: var(--rp-blue-accent);
    color: #fff;
}

/* Footer Service Areas Row */
.footer__areas {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    margin-top: 36px;
}

.footer__areas h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__areas-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.footer__areas-links a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__areas-links a:hover {
    color: var(--rp-blue-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer__bottom a {
    color: rgba(255,255,255,0.5);
}

.footer__bottom a:hover {
    color: var(--rp-blue-light);
}

/* ============================================
   PAGE HERO (About, Services, Contact subpages)
   ============================================ */
.page-hero {
    background: var(--rp-navy);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero__content h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero__content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}

/* ============================================
   SERVICE DETAIL (Services page)
   ============================================ */
.service-detail {
    display: flex;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--rp-gray-mid);
    align-items: flex-start;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--rp-navy);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-detail__content h3 {
    color: var(--rp-navy);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-detail__content p {
    color: var(--rp-text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-detail__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.service-detail__content ul li {
    color: var(--rp-text-dark);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}

.service-detail__content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--rp-red);
    font-size: 13px;
}

/* ============================================
   TEAM GROUP PHOTO (About page)
   ============================================ */
.team-group-photo {
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--rp-navy);
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.15);
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TEAM GRID (About page)
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-card__image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 4px solid var(--rp-gray-mid);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    color: var(--rp-navy);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card span {
    color: var(--rp-text-gray);
    font-size: 14px;
}

/* ============================================
   SERVICE AREAS (About page)
   ============================================ */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.area-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.area-card i {
    font-size: 32px;
    color: var(--rp-red);
    margin-bottom: 16px;
}

.area-card h3 {
    color: var(--rp-navy);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.area-card p {
    color: var(--rp-text-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero__content h1 {
        font-size: 36px;
    }

    .hero__content p {
        font-size: 18px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail__content ul {
        grid-template-columns: 1fr;
    }

    .page-hero__content h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .main-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--rp-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .main-nav__links.active {
        display: flex;
    }

    .main-nav__links li {
        width: 100%;
    }

    .main-nav__links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--rp-gray-light);
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 400px;
    }

    .hero__content h1 {
        font-size: 28px;
    }

    .hero__content p {
        font-size: 16px;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 28px;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 48px 0;
    }

    .section__header h2 {
        font-size: 28px;
    }

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

    .top-bar__inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .team-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        flex-direction: column;
        gap: 20px;
    }

    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero__content h1 {
        font-size: 28px;
    }

    .page-hero__content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero__content h1 {
        font-size: 24px;
    }

    .pricing-card__price .amount {
        font-size: 36px;
    }
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
/* Override GeneratePress defaults for custom templates */
body.page-template-template-home,
body.page-template-template-about,
body.page-template-template-services,
body.page-template-template-contact {
    overflow-x: hidden;
}

body.page-template-template-home .site-content,
body.page-template-template-about .site-content,
body.page-template-template-services .site-content,
body.page-template-template-contact .site-content {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-home .grid-container,
body.page-template-template-about .grid-container,
body.page-template-template-services .grid-container,
body.page-template-template-contact .grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.page-template-template-home .site-main,
body.page-template-template-about .site-main,
body.page-template-template-services .site-main,
body.page-template-template-contact .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-home .inside-article,
body.page-template-template-about .inside-article,
body.page-template-template-services .inside-article,
body.page-template-template-contact .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-home .entry-content,
body.page-template-template-about .entry-content,
body.page-template-template-services .entry-content,
body.page-template-template-contact .entry-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-home .entry-header,
body.page-template-template-about .entry-header,
body.page-template-template-services .entry-header,
body.page-template-template-contact .entry-header {
    display: none !important;
}

/* Rentals page full-width */
body.page-slug-rentals .site-content,
body.page-id-623 .site-content {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

body.page-slug-rentals .grid-container,
body.page-id-623 .grid-container {
    max-width: 100% !important;
    padding: 0 20px !important;
}

body.page-slug-rentals .site-main,
body.page-id-623 .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 40px 0 !important;
}

/* General page overrides */
.site-content {
    padding: 0;
}

.inside-article {
    padding: 0;
}

.entry-content {
    max-width: none;
}

/* Keep blog posts contained */
body.single-post .site-main,
body.blog .site-main,
body.archive .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hide default GeneratePress header/footer (we use custom) */
.site-header.has-menu,
#site-navigation,
.main-navigation {
    display: none !important;
}

.site-info {
    display: none !important;
}

/* GeneratePress content area */
.no-sidebar .site-main {
    width: 100%;
}

/* ============================================
   CITY LANDING PAGES (SEO)
   ============================================ */

/* City Hero Badge */
.city-hero__badge {
    display: inline-block;
    background: rgba(192, 57, 43, 0.9);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.city-hero__badge i {
    margin-right: 6px;
}

.city-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* City Stats Bar */
.city-stats {
    background: var(--rp-navy-dark);
    padding: 28px 0;
}

.city-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.city-stats__number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.city-stats__label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* City Intro Section */
.city-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.city-intro__content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--rp-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.city-intro__content p {
    font-size: 16px;
    color: var(--rp-text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* City Neighborhoods Sidebar */
.city-neighborhoods {
    background: var(--rp-gray-light);
    border-radius: 8px;
    padding: 28px;
    border-left: 4px solid var(--rp-red);
}

.city-neighborhoods h3 {
    color: var(--rp-navy);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.city-neighborhoods h3 i {
    color: var(--rp-red);
    margin-right: 8px;
}

.city-neighborhoods__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-neighborhoods__tag {
    display: inline-block;
    background: #fff;
    color: var(--rp-text-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--rp-gray-mid);
    transition: all 0.2s;
}

.city-neighborhoods__tag:hover {
    background: var(--rp-navy);
    color: #fff;
    border-color: var(--rp-navy);
}

/* City Reasons / Why Choose Us */
.city-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.city-reason {
    display: flex;
    gap: 20px;
    background: var(--rp-gray-light);
    padding: 32px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.city-reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.city-reason__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--rp-navy);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.city-reason__content h3 {
    color: var(--rp-navy);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.city-reason__content p {
    color: var(--rp-text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Area Card as Link */
.area-card--link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.area-card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.area-card--link:hover h3 {
    color: var(--rp-red);
}

/* City Page WP Overrides */
body.page-template-template-city .site-content {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-city .grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.page-template-template-city .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-city .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-city .entry-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-city .entry-header {
    display: none !important;
}

body.page-template-template-city {
    overflow-x: hidden;
}

/* City Page Responsive */
@media (max-width: 992px) {
    .city-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .city-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-reasons {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .city-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .city-stats__number {
        font-size: 24px;
    }

    .city-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .city-hero__actions .btn {
        text-align: center;
    }

    .city-reason {
        flex-direction: column;
        gap: 16px;
    }

    .city-intro__content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .city-stats__grid {
        grid-template-columns: 1fr 1fr;
    }
}
