/**
 * Layout Layer - Header, Footer & Sections
 * 
 * ============================================================================
 * ITCSS LAYER: LAYOUT (05)
 * ============================================================================
 * 
 * This layer contains structural components and layout elements including:
 * - Header styles and fixed positioning with admin bar compensation
 * - Navigation styles and dropdown menu behavior
 * - Main content area and section layout patterns
 * - Footer styles and structure including social links
 * - Section-specific layouts (banner, quote, marketing, etc.)
 * - Navigation components and carousel systems
 * - Layout responsive adjustments and grid systems
 * 
 * CONSOLIDATED FROM:
 * - assets/css/header.css (Complete header and navigation system)
 * - assets/css/footer.css (Footer layout, social links, subscription forms)
 * - assets/css/sections.css (Section layouts and structural components)
 * 
 * LOAD ORDER: Fifth (after Foundation, Utilities, Typography, Interactive)
 * DEPENDENCIES: Previous layers (uses variables and utilities)
 * DEPENDENTS: Component layers build upon these layout structures
 */

/* ============================================================================
 * HEADER STYLES & FIXED POSITIONING
 * ============================================================================ */

body.theme-pt .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    z-index: var(--z-index-header, 99) !important;
    background-color: var(--header-bg-color, rgba(255, 255, 255, .98)) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.admin-bar.theme-pt .header {
    top: var(--space-admin-bar-desktop, 32px) !important;
}

@media (max-width: 782px) {
    body.admin-bar.theme-pt .header {
        top: var(--space-admin-bar-mobile, 46px) !important;
    }
}

body.admin-bar.theme-pt .header:not([style*="top"]) {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar.theme-pt .header:not([style*="top"]) {
        top: 46px !important;
    }
}

body.theme-pt .header.navbar-expand-lg,
body.theme-pt .navbar-expand-lg.header,
body.theme-pt .navbar.header,
body.theme-pt .header.navbar,
body.theme-pt nav.header,
body.theme-pt header.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    z-index: var(--z-index-header, 99) !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--header-bg-color, rgba(255, 255, 255, .98)) !important;
    box-sizing: border-box !important;
}

body.theme-pt .navbar-expand-sm.header,
body.theme-pt .navbar-expand-md.header,
body.theme-pt .navbar-expand-lg.header,
body.theme-pt .navbar-expand-xl.header,
body.theme-pt .navbar-expand-xxl.header {
    position: fixed !important;
    display: block !important;
    flex-wrap: nowrap !important;
}

@media (max-width: var(--breakpoint-tablet-max, 991px)) {
    body.theme-pt .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        z-index: var(--z-index-header, 99) !important;
        background-color: var(--header-bg-color, rgba(255, 255, 255, .98)) !important;
        height: var(--space-header-height-mobile, 70px) !important;
        min-height: var(--space-header-height-mobile, 70px) !important;
        max-height: var(--space-header-height-mobile, 70px) !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    body.theme-pt .navbar-expand-lg.header,
    body.theme-pt .header.navbar-expand-lg,
    body.theme-pt .navbar.header,
    body.theme-pt .header.navbar {
        position: fixed !important;
        display: block !important;
        flex-wrap: nowrap !important;
        top: 0 !important;
        width: 100% !important;
    }
    
    @supports (-webkit-touch-callout: none) {
        body.theme-pt .header {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
    }
}

/* ============================================================================
 * MAIN NAVIGATION STYLES
 * ============================================================================ */

body.theme-pt .main-nav {
    position: relative;
    z-index: 2;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

body.theme-pt .main-nav .navbar {
    z-index: 2;
    position: unset;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

body.theme-pt .main-nav .navbar ul {
    margin-bottom: 0;
    list-style-type: none;
    padding-left: 0;
    justify-content: center;
    align-items: center;
    height: 100%;
    display: flex;
}

body.theme-pt .main-nav .navbar .navbar-nav.middle {
    padding-bottom: 0px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* ============================================================================
 * NAVIGATION LINKS & STATES
 * ============================================================================ */

body.theme-pt .main-nav .navbar .navbar-nav .nav-item {
    position: relative;
    padding: var(--space-nav-item-padding, 8px) 0;
    margin: 0 0 0 25px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

body.theme-pt .main-nav .navbar .navbar-nav .nav-item:first-child .nav-link {
    margin-left: 0;
}

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link {
    position: relative;
    border-bottom: 1px solid var(--color-text-primary);
    padding: 2px 0 2px;
    color: var(--link-navigation);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.111em;
    text-decoration: none;
}

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link i {
    font-size: 18px;
    line-height: 0;
    position: relative;
    top: 4px;
}

body.theme-pt .main-nav .navbar .navbar-nav.rt li a {
    color: var(--link-navigation);
    text-decoration: none;
    border-bottom: none;
}

body.theme-pt .main-nav .navbar .navbar-nav.rt li.nav-item {
    margin-left: 17px;
}

body.theme-pt .main-nav .navbar .navbar-nav.rt li:first-child {
    border-right: 1px solid var(--color-text-muted);
    margin-right: 0;
    padding-right: 1rem;
}

body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item > .nav-link {
    border-bottom: 1px solid transparent;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item {
    position: relative;
}

/* ============================================================================
 * NAVIGATION HOVER & ACTIVE STATES
 * ============================================================================ */

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link:hover,
body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link:focus,
body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link.active {
    color: var(--link-navigation-hover);
    text-underline-offset: .15em;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

body.theme-pt .main-nav .navbar .navbar-nav.rt li a:hover {
    color: var(--link-navigation-hover);
    text-underline-offset: .15em;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    border-bottom: none;
}

body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item:hover > .nav-link {
    border-color: var(--color-bg-primary);
    color: var(--link-navigation-hover);
    text-underline-offset: .15em;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item > .nav-link:focus,
body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item > .nav-link:active,
body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item > .nav-link:focus-visible {
    border-color: transparent !important;
    outline: none;
}

body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item.active > .nav-link,
body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item.active:hover > .nav-link {
    color: var(--link-navigation-hover);
}

body.theme-pt .header .main-nav .navbar .navbar-nav > .nav-item.current_page_item > .nav-link {
    color: var(--link-navigation-hover);
}

body.theme-pt .main-nav .navbar .navbar-nav ul.sub-menu .nav-item.current-menu-item > a {
    color: var(--link-navigation-hover);
}

body.theme-pt .nav-item.current-menu-item > .nav-link,
body.theme-pt .nav-link[aria-current="page"] {
    color: var(--link-navigation-hover);
}

/* ============================================================================
 * DROPDOWN NAVIGATION MENUS
 * ============================================================================ */

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link.dropdown-toggle {
    padding-right: 20px;
}

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link.dropdown-toggle::before {
    content: "";
    font-family: IcoFont;
    position: absolute;
    top: 50%;
    right: 0;
    line-height: 1;
    font-size: 17px;
    border: .3em solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
}

body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link.dropdown-toggle::after {
    display: none;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item .dropdown-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    opacity: 0;
    padding: 5px 0;
    display: block;
    box-shadow: var(--shadow-md);
    border: 1px solid #b7b7b7;
    border-radius: 1rem;
    background-color: var(--color-bg-primary);
    overflow: hidden;
    text-align: left;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item .dropdown-menu li {
    padding: 5px 20px;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item .dropdown-menu a.nav-link {
    display: block;
    width: 100%;
    white-space: nowrap;
    text-transform: inherit;
    letter-spacing: 0px;
    text-decoration: none;
    border: none;
    background: none;
    border-bottom: 1px solid transparent;
    padding: 2px 0 2px;
    color: var(--link-navigation);
    font-size: 18px;
    font-weight: 500;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item:hover .dropdown-menu {
    opacity: 1;
}

body.theme-pt .navbar-expand-lg .navbar-nav > .nav-item .dropdown-menu a.nav-link:hover {
    background: none;
    color: var(--link-navigation-hover);
    text-underline-offset: .15em;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

/* ============================================================================
 * LOGO & BRANDING
 * ============================================================================ */

body.theme-pt .main-nav .navbar .navbar-nav.middle .nav-item .nav-link:after {
    display: none !important;
}

body.theme-pt .main-nav .navbar .logo .nav-item img {
    object-fit: fill;
    width: 250px;
}

body.theme-pt .main-nav .navbar .logo .nav-item {
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

body.theme-pt .navbar-brand {
    display: inline-flex;
    align-items: center;
    height: auto;
}

body.theme-pt .navbar-brand:focus,
body.theme-pt .navbar-brand:active {
    outline: none !important;
    border: none !important;
}

body.theme-pt .navbar-brand:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

body.theme-pt .navbar-brand img {
    max-height: calc(var(--space-header-height-mobile, 70px) - 2*var(--space-header-padding-vertical, 8px) - 2*var(--space-nav-item-padding, 8px));
    width: auto;
    height: auto;
    object-fit: contain;
    aspect-ratio: auto;
}

/* ============================================================================
 * SEARCH & UTILITY ICONS
 * ============================================================================ */

body.theme-pt .filter-search-header-icon:hover {
    color: var(--color-accent);
}

body.theme-pt .filter-search-header-icon {
    font-family: Icons Realtor Template, sans-serif;
    font-size: 26px;
    line-height: 1em;
    display: flex;
}

body.theme-pt .searchbtn {
    cursor: pointer;
}

body.theme-pt .otgs-development-site-front-end {
    display: none;
}

/* ============================================================================
 * LANGUAGE & UTILITY NAVIGATION
 * ============================================================================ */

body.theme-pt .main-nav .navbar .navbar-nav.rt li.nav-item:first-child {
    border: 0;
    padding-right: 0;
}

body.theme-pt .main-nav .navbar .navbar-nav.rt li.nav-item {
    margin-left: var(--space-md);
}

body.theme-pt .wpml-ls-legacy-list-horizontal a,
body.theme-pt .wpml-ls-legacy-list-horizontal {
    padding: 0;
}

body.theme-pt .wpml-ls-legacy-list-horizontal a {
    font-size: var(--font-size-xl);
}

body.theme-pt .header .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0;
}

body.theme-pt .header .spr {
    padding: var(--space-header-padding-vertical, 8px) var(--space-md);
}

@media (max-width: var(--breakpoint-mobile-max, 767px)) {
    body.theme-pt .header .spr {
        padding: var(--space-header-padding-vertical-mobile, 6px) var(--space-md);
    }
}

/* ============================================================================
 * FOOTER LAYOUT & STRUCTURE
 * ============================================================================ */

.footer {
    background-color: #ffffff;
    padding: 50px 0px 20px 0px;
    border-top: 1px solid #e9e9e9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer p,
.footer span {
    color: #333333;
}

.footer .grw-google-name {
    font-weight: 600 !important;
    color: #000000 !important;
}

.footer .grw-google-rating {
    color: #fbbc04 !important;
}

.footer .row {
    align-items: flex-start;
}

.footer .col-lg-6:first-child {
    padding-right: 2rem;
}

.footer .col-lg-6:last-child {
    padding-left: 2rem;
}

/* ============================================================================
 * FOOTER LOGO & BRANDING
 * ============================================================================ */

.footer-logo {
    width: 100%;
    max-width: 15.625rem;
    margin-bottom: 1.25rem;
}

.footer-logo img {
    max-width: 15.625rem;
    height: auto;
}

/* ============================================================================
 * FOOTER SOCIAL LINKS
 * ============================================================================ */

.footer .social-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer .social-links li {
    margin: 0;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: var(--body-text-secondary);
}

.footer .social-links a:hover {
    background-color: #f85757;
}

.footer .social-links i {
    font-size: var(--body-text-secondary);
}

/* ============================================================================
 * FOOTER REVIEWS INTEGRATION
 * ============================================================================ */

.reviews-footer {
    margin-top: 0.75rem;
}

.reviews-footer .grw-container {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.reviews-footer .grw-reviews-wrap {
    background: transparent !important;
}

.reviews-footer .grw-google-badge {
    padding: 0 !important;
    margin: 0 !important;
}

.reviews-footer .grw-google-badge-score {
    font-size: var(--body-text-primary) !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

.reviews-footer .grw-google-powered {
    font-size: var(--body-text-small) !important;
    color: #666666 !important;
}

/* ============================================================================
 * FOOTER SUBSCRIPTION FORM
 * ============================================================================ */

.subscribe-form {
    padding-left: 2rem;
}

.subscribe-form h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--heading-color-primary);
    text-align: left;
}

.subscribe-form .mc4wp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form .mc4wp-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: var(--body-text-secondary);
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999999" stroke-width="2"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 5L2 7"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 20px;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #000000;
    background-color: #ffffff;
}

.subscribe-form input[type="email"]::placeholder {
    color: #999999;
}

.subscribe-form .mc4wp-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--body-text-small);
    color: #333333;
    line-height: 1.5;
}

.subscribe-form .mc4wp-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.subscribe-form .mc4wp-checkbox label {
    line-height: 1.5;
    cursor: pointer;
}

.subscribe-form .mc4wp-checkbox a {
    color: #000000;
    text-decoration: underline;
}

.subscribe-form .mc4wp-checkbox a:hover {
    color: #333333;
}

.subscribe-form button[type="submit"],
.subscribe-form input[type="submit"] {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: var(--btn-border-width) solid var(--btn-primary-border);
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
    font-size: var(--body-text-secondary);
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    letter-spacing: 0.5px;
}

.subscribe-form button[type="submit"]:hover,
.subscribe-form input[type="submit"]:hover {
    background-color: var(--btn-primary-bg-hover);
    border-color: var(--btn-primary-border-hover);
    box-shadow: var(--btn-shadow-hover);
}

/* ============================================================================
 * FOOTER LEGAL LINKS
 * ============================================================================ */

.legal-links {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    list-style: none;
}

.legal-links li {
    display: inline-block;
    padding: 0px 5px;
    margin: 0px;
    line-height: 1;
    border-right: 1px solid var(--color-text-primary);
}

.legal-links li:last-child {
    border: 0px;
}

.legal-links li a {
    color: var(--link-footer);
    text-decoration: none;
    line-height: 1;
}

.legal-links li:hover a {
    color: var(--link-footer-hover);
    text-decoration: none !important;
}

/* ============================================================================
 * SECTION LAYOUTS - BANNER STYLES
 * ============================================================================ */

.banner {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.banner .al {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.banner .scroll-btn {
    z-index: 5;
    padding: 0 var(--space-lg);
    cursor: pointer;
    justify-content: center;
    align-items: center;
    height: calc(var(--btn-padding-lg) * 2 + 2rem);
    display: flex;
    position: absolute;
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    overflow: hidden;
    color: var(--color-bg-primary);
    text-decoration: none;
}

.banner-new {
    background: #ffffff;
    overflow: hidden;
}

.banner-new h2 {
    font-size: var(--font-size-4xl);
    color: var(--heading-color-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--heading-line-height-tight);
    margin-bottom: var(--heading-margin-bottom);
    position: relative;
    right: 0%;
}

.banner-new p {
    color: var(--color-text-muted);
    font-size: 18px;
    opacity: 1;
    font-weight: 500;
    max-width: 75%;
}

.banner-new .btn {
    background-color: var(--btn-primary-bg, #000a4a);
    color: var(--btn-primary-text, #ffffff) !important;
    border-color: var(--btn-primary-bg, #000a4a);
    display: inline-block;
    padding: var(--btn-padding, 12px 24px);
    font-size: var(--btn-font-size, 16px);
    font-weight: var(--btn-font-weight, 500);
    line-height: var(--btn-line-height, 1.5);
    text-align: center;
    text-decoration: none !important;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: var(--btn-border-width, 2px) solid transparent;
    border-radius: var(--btn-border-radius, 8px);
}

.banner-new .btn:hover {
    background-color: var(--btn-primary-bg-hover, #001570);
    color: var(--btn-primary-text, #ffffff) !important;
    border-color: var(--btn-primary-bg-hover, #001570);
    box-shadow: var(--btn-shadow-hover, 0 4px 8px rgba(0, 0, 0, 0.15));
}

.banner-new .banner-imgs {
    padding-left: 60px;
    margin-right: -84px;
}

.banner-new .banner-imgs img {
    margin-bottom: 26px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.banner-new .banner-imgs>div:first-child {
    margin-top: 40px;
}

.banner-new .single-banner-image {
    min-height: 500px;
    max-height: 600px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

/* ============================================================================
 * SECTION LAYOUTS - FIGURE BACKGROUNDS
 * ============================================================================ */

figure.fig-background {
    width: 100%;
    height: 30rem;
    position: relative;
}

figure.fig-background img {
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

figure.fig-background::after {
    content: '';
    z-index: 1;
    border-radius: var(--radius-lg);
    background-color: var(--color-bg-tertiary);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2rem;
    bottom: 0%;
    left: 2rem;
    right: 0%;
}

/* Remove fig-background::after for specific sections */
.get-to-know figure.fig-background::after,
.informed-consumers figure.fig-background::after {
    display: none;
}

/* ============================================================================
 * SECTION LAYOUTS - CONTENT SECTIONS
 * ============================================================================ */

/* Experiences Section */
body.theme-pt .experiences.section-spacing h2 {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

/* Informed Consumers Section Grid Fix */
@media (min-width: 992px) {
    body.theme-pt .informed-consumers .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    body.theme-pt .informed-consumers .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
    
    body.theme-pt .informed-consumers .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Quote Sections */
.home-quote h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
    margin-top: 5px;
    text-align: center;
    padding: 120px 0px;
}

.home-quote p {
    font-size: 24px;
}

/* Marketing Sections */
.marketing-sells h2 {
    font-size: var(--font-size-4xl);
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-normal);
    margin-bottom: var(--heading-margin-bottom);
    text-align: center;
}

.marketing-sells p {
    font-size: 18px;
    opacity: 0.8;
}

.marketing-sells .btn {
    margin-top: 20px;
}

/* Informed Consumers Section */
.informed-consumers p {
    font-size: 18px;
}

.informed-consumers.ask-pete {
    padding-top: 200px;
    background: none;
}

.informed-consumers.ask-pete .container {
    padding-bottom: 24px !important; /* Accommodate featured card box shadow */
}

.informed-consumers.ask-pete .ins h2 {
    color: var(--heading-color-primary);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-2xl, 1rem);
}

.informed-consumers.ask-pete .ins p {
    color: var(--color-text-secondary);
    line-height: 1.5em;
    font-weight: 500;
    font-size: 16px;
}

/* ============================================================================
 * SECTION LAYOUTS - PROPERTIES & FEATURES
 * ============================================================================ */

/* Property Features */
.prop-feat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    margin-top: auto;
}

/* Override Bootstrap's .d-flex justify-content behavior for prop-feat */
.d-flex.prop-feat {
    justify-content: flex-start !important;
}

.prop-feat > div {
    color: var(--color-text-secondary);
    text-align: center;
    background-color: var(--color-bg-primary);
    border-radius: 40px;
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.143em;
    display: flex;
    box-shadow: 0 1px 6px rgba(20, 20, 43, .09);
    margin: 0px 12px 12px 0px;
}

.prop-feat > div img {
    margin-right: 6px;
}

/* MW Properties Plugin Fix */
.mix-container {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: var(--space-3xl) !important;
}

@media (max-width: 767px) {
    .mix-container {
        margin-top: var(--space-2xl) !important;
    }
}

@media (min-width: 768px) {
    .mix-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 992px) {
    .mix-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mix-container .col {
    margin-bottom: 32px;
    padding-bottom: 10px;
}

/* ============================================================================
 * SECTION LAYOUTS - HOME PAGE OPTIMIZATION
 * ============================================================================ */

.home .properties-section h2 {
    max-width: var(--layout-content-max-width);
    margin: 0 0 var(--heading-margin-bottom) 0;
    text-align: left;
    line-height: var(--heading-line-height-tight);
    font-size: var(--heading-size-h2);
}

.home .properties-section .btn {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .home .properties-section .d-flex {
        align-items: center;
        justify-content: space-between;
    }
}

/* Get to Know Section */
.get-to-know .btn {
    margin-top: 20px;
}

/* ============================================================================
 * SECTION LAYOUTS - FOOTER CTA
 * ============================================================================ */

.foot-cta .cta-wrapper {
    padding: var(--space-3xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background-color: var(--color-primary);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-bottom: 5em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.foot-cta .cta-wrapper h2 {
    color: var(--color-bg-primary);
    font-size: var(--heading-size-h2);
}

.foot-cta .btn {
    padding: var(--btn-padding-lg);
}

/* ============================================================================
 * NAVIGATION COMPONENTS
 * ============================================================================ */

/* Custom Navigation for Carousels */
.custom-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.custom-nav .owl-nav {
    display: flex;
    gap: 10px;
}

.custom-nav .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-border-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-nav .owl-nav button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-primary);
}

.custom-nav .owl-nav button.owl-prev::before {
    content: "←";
    font-size: 18px;
    font-weight: bold;
}

.custom-nav .owl-nav button.owl-next::before {
    content: "→";
    font-size: 18px;
    font-weight: bold;
}

/* ============================================================================
 * CAROUSEL & ARTICLE LAYOUTS
 * ============================================================================ */

/* Article Carousel Styling */
.article-carousel .owl-nav {
    display: none; /* Hide default nav, use custom-nav instead */
}

.article-carousel .owl-dots {
    display: none; /* Hide dots for cleaner look */
}

.article-carousel .item {
    padding: 0 10px;
}

.article-carousel .card {
    height: 100%;
    margin-bottom: 0;
}

/* Blog Section Styling */
.article,
.blog-section {
    background: var(--color-bg-secondary, #f9f9f9);
}

.article .section-title h2,
.blog-section .section-title h2 {
    margin-bottom: 40px;
}

.blog-section.articles-section {
    padding: var(--section-spacing, 80px) 0;
}

.blog-section .articles-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-section .article-item {
    height: 100%;
}

.blog-section .card-blog {
    height: 100%;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.blog-section .card-blog:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.blog-section .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-section .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm, 12px);
    font-size: var(--font-size-sm, 14px);
    color: var(--color-text-muted);
}

.blog-section .card-title {
    font-size: var(--font-size-lg, 18px);
    font-weight: var(--font-weight-bold, 700);
    line-height: var(--line-height-tight, 1.2);
    margin-bottom: var(--space-sm, 12px);
    color: var(--heading-color-primary);
}

.blog-section .card-excerpt {
    color: var(--color-text-secondary);
    line-height: var(--line-height-normal, 1.5);
    margin-bottom: var(--space-sm, 12px);
}

.blog-section .read-more-cta {
    font-weight: var(--font-weight-medium, 500);
    color: var(--color-primary);
    font-size: var(--font-size-sm, 14px);
}

/* ============================================================================
 * UTILITY STYLES & IMAGE HANDLING
 * ============================================================================ */

/* Button Link Styles */
.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: var(--bs-link-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var(--bs-link-hover-color);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--bs-link-hover-color);
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: 0 0 0 #000;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    text-decoration: underline;
}

.btn-link:focus-visible {
    color: var(--bs-btn-color);
}

.btn-link:hover {
    color: var(--bs-btn-hover-color);
    text-decoration: none;
}

.btn-link:hover img {
    margin-left: 0.5rem;
}

/* Image Styling */
.border-24 {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}

.banner-imgs {
    overflow: hidden;
    max-width: 100%;
}

.banner-imgs img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Overflow Prevention */
.carousel,
.slider,
.swiper-container {
    overflow: hidden !important;
}

.d-flex {
    flex-wrap: wrap;
    max-width: 100%;
}

[class*="col-"] {
    max-width: 100%;
}

/* ============================================================================
 * PROPERTY TAGS & OVERLAYS
 * ============================================================================ */

.property-tag {
    min-width: 120px;
    font-size: 19px;
    padding: 10px;
    border-radius: var(--radius-lg);
    margin: 0;
}

.open-house {
    background: var(--color-primary);
    color: var(--color-bg-primary);
    font-size: 19px;
    border-radius: var(--radius-lg);
    padding: 10px;
}

.sp-address {
    font-size: 40px;
}

.member--listings {
    background: var(--color-bg-secondary);
}

/* ============================================================================
 * SCROLL & ANIMATION UTILITIES
 * ============================================================================ */

.scroll-svg {
    width: 100%;
    max-width: .75rem;
    display: flex;
    margin-top: 10px;
    top: -30px;
    position: relative;
}

.scroll-svg:before, 
.scroll-svg:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.div-block-2 {
    overflow: hidden;
    height: 28px;
    padding-right: 7px;
}

/* ============================================================================
 * CARD LAYOUTS IN SECTIONS
 * ============================================================================ */

.newpage .card {
    margin-bottom: 40px;
}

.newpage .card-title {
    color: #000;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    min-height: inherit;
}

/* ============================================================================
 * RESPONSIVE LAYOUT ADJUSTMENTS
 * ============================================================================ */

@media (max-width: 1200px) {
    body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link {
        font-size: 16px;
    }
    
    body.theme-pt .main-nav .navbar .navbar-nav .nav-item {
        margin: 0 0 0 20px;
        padding: var(--space-nav-item-padding, 6px) 0;
    }
}

@media (max-width: 1024px) {
    body.theme-pt .main-nav .navbar .navbar-nav .nav-item .nav-link {
        font-size: 15px;
    }
    
    body.theme-pt .main-nav .navbar .navbar-nav .nav-item {
        margin: 0 0 0 15px;
        padding: var(--space-nav-item-padding, 4px) 0;
    }
}

@media screen and (max-width: 991px) {
    body.theme-pt,
    body.theme-pt.wp-theme-peter-thompson,
    body.theme-pt.home {
        padding-top: 78px !important;
    }
    
    body.theme-pt.admin-bar,
    body.theme-pt.admin-bar.wp-theme-peter-thompson {
        padding-top: calc(78px + 46px) !important;
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    @media screen and (max-width: 991px) {
        body.theme-pt,
        body.theme-pt.wp-theme-peter-thompson {
            padding-top: calc(78px + env(safe-area-inset-top)) !important;
        }
    }
}

/* ============================================================================
 * SYSTEM DOCUMENTATION
 * ============================================================================ */

/**
 * This layout system consolidates:
 * - header.css (Complete header and navigation system)
 * - footer.css (Footer layout, social links, subscription forms)
 * - sections.css (Section layouts and structural components)
 * 
 * Layout System Features:
 * 1. Fixed header with admin bar compensation and responsive behavior
 * 2. Comprehensive navigation system with dropdowns and hover states
 * 3. Footer structure with social links, reviews, and subscription integration
 * 4. Section layout patterns (banner, quote, marketing, properties)
 * 5. Carousel and navigation component systems
 * 6. Responsive layout adjustments across all breakpoints
 * 7. Property-specific layout components and overlays
 * 
 * The system provides the structural foundation for all page layouts while
 * maintaining consistent spacing, navigation behavior, and responsive design
 * patterns throughout the theme.
 */