/*
 Theme Name: astra-child
 Theme URI: https://ljn.fef.myftpupload.com/
 Description: Child theme for the Astra theme
 Author: cedcommerce
 Author URI: https://ljn.fef.myftpupload.com/
 Template: astra
 Version: 1.0.0
*/

/* Add your custom CSS below */

/* Custom CSS for TrueSell - Works with Bootstrap 5 */

/* Custom Variables */
:root {
    --vanilla-bg: #F5F0E8;
    --coffee-brown: #5C4033;
    --dark-brown: #4A3229;
    --light-brown-overlay: rgba(139, 90, 43, 0.85);
    --white: #FFFFFF;
    --accent-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    /* Unified font stack */
    --ts-font-sans: 'Arial', sans-serif;
    --input-border: #D4C4B0;
    /* How It Works section custom colors */
    --hiw-light-vanilla: #FDFBF7;
    /* box backgrounds */
    --hiw-border: #E8DCC8;
    /* box borders */
    --success-card-bg: #E8F4F8;
    /* light blue background for success stories card */
}

/* Override Bootstrap Defaults */
body {
    font-family: var(--ts-font-sans);
    background-color: var(--vanilla-bg);
    color: var(--coffee-brown);
}

/* Ensure all headings & common UI elements use the same font family */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-nav .nav-link,
.offer-text,
.cta-button,
.submit-button,
.property-card,
.benefit,
.situation-card-compact {
    font-family: var(--ts-font-sans);
}


.sell-fast-section h2 {
    line-height: 1.15;
    margin-top: 0;
}

.sell-fast-section p,
.sell-fast-section ul.offer-points {
    margin-left: 0;
    /* explicit for clarity */
}

.sell-fast-section ul.offer-points li {
    list-style-position: outside;
}

/* Distressed Houses Section - Same styling as sell-fast-section */
.distressed-houses-section h2 {
    line-height: 1.15;
    margin-top: 0;
}

.distressed-houses-section p,
.distressed-houses-section ul.offer-points {
    margin-left: 0;
    /* explicit for clarity */
}

.distressed-houses-section ul.offer-points li {
    list-style-position: outside;
}

/* Sticky Offer Bar */
.offer-bar {
    position: sticky;
    top: 0;
    z-index: 1050;
    /* above nav */
    background-color: #3b2415;
    color: var(--white);
    padding: 0.35rem 0;
    /* slim */
    box-shadow: var(--accent-shadow);
    overflow: visible;
}

.offer-bar .container {
    overflow: visible;
}

.offer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    position: relative;
    overflow: visible;
}

.offer-bar-inner.contact-form {
    overflow: visible;
}

.offer-text {
    font-weight: 600;
    font-size: 1.05rem;
    /* base mobile size enlarged */
    white-space: nowrap;
}

.offer-input {
    flex: 0 1 20%;
    /* 20% of available width */
    min-width: 140px;
    /* ensure usable minimum */
    max-width: 260px;
    /* prevent over-expansion on huge screens */
    background-color: var(--white);
    color: var(--coffee-brown);
    border: 1px solid #D4C4B0;
    height: 40px;
    font-size: 0.9rem;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1051;
}

/* Google Places Autocomplete Dropdown */
.pac-container {
    z-index: 1052 !important;
    margin-top: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 420px) {
    .offer-bar-inner {
        position: relative;
    }
    
    .offer-input {
        position: relative;
        z-index: 1051;
    }
    
    .pac-container {
        z-index: 1052 !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.offer-input:focus {
    border-color: var(--coffee-brown);
    box-shadow: 0 0 0 0.15rem rgba(92, 64, 51, 0.25);
}

.offer-button {
    background-color: var(--vanilla-bg);
    color: var(--coffee-brown);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--vanilla-bg);
    height: 40px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0 1rem;
    transition: background-color .25s, color .25s, transform .15s;
}

.offer-button:hover {
    background-color: var(--white);
    color: var(--coffee-brown);
}

.offer-button:active {
    transform: translateY(1px);
}

@media (max-width: 767px) {
    .offer-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.75rem;
        position: relative;
        overflow: visible;
    }

    .offer-text {
        flex: 1 1 100%;
        text-align: center;
    }

    .offer-input {
        flex: 1 1 140px;
        /* take available space nicely */
        height: 38px;
        position: relative;
        z-index: 1051;
    }

    .offer-button {
        height: 38px;
        font-size: 0.7rem;
        padding: 0 0.85rem;
    }
}

/* Progressive font sizing for offer text */
@media (min-width: 576px) {
    .offer-text {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .offer-text {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    .offer-text {
        font-size: 1.2rem;
    }
}

/* Header Styles */
header {
    background-color: var(--vanilla-bg);
}

/* Tighter header spacing now that we removed py-3 class */
.site-header {
    padding: 0.6rem 0;
    /* reduce vertical space */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--coffee-brown);
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0;
    /* remove anchor inner padding */
    margin: 0;
    /* flush with nav */
    line-height: 1;
    /* prevent extra vertical space */
}

.logo:hover {
    color: var(--coffee-brown);
    opacity: 0.8;
}

/* Logo image constraints */
.logo img.logo-img {
    max-height: 35px;
    /* slightly larger logo visual presence */
    width: auto;
    height: auto;
    display: block;
}

@media (max-width: 575px) {
    .logo img.logo-img {
        max-height: 32px;
        /* proportionally larger on mobile */
    }
}

/* Custom Navbar Toggler */
.custom-toggler {
    border-color: var(--coffee-brown);
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235C4033' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--coffee-brown);
    font-size: 14px;
    font-weight: 700;
    /* made bold */
    padding: 0.5rem 0;
    transition: opacity 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--coffee-brown);
    opacity: 0.7;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown-menu {
    background-color: var(--white);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    box-shadow: var(--accent-shadow);
    margin-top: 0;
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Desktop: Add small overlap to prevent gap */
@media (hover: hover) and (pointer: fine) {
    .navbar-nav .dropdown-menu {
        margin-top: -0.25rem;
        padding-top: 0.75rem;
    }
}

/* Desktop: Show dropdown on hover (only for devices that support hover) */
@media (hover: hover) and (pointer: fine) {

    /* Show dropdown when hovering over parent dropdown container */
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    /* Keep dropdown visible when hovering over the dropdown menu itself */
    /* This prevents the menu from disappearing when moving mouse from parent to submenu */
    .navbar-nav .dropdown-menu:hover {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure parent stays "hovered" when mouse is over dropdown menu */
    /* This creates a continuous hover area from parent to menu */
    .navbar-nav .dropdown:has(.dropdown-menu:hover)>.dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Mobile/Touch devices: Use Bootstrap's .show class for click behavior */
/* Disable hover on touch devices to prevent sticky menus */
@media (hover: none) or (pointer: coarse) {

    /* Prevent hover from keeping menu open on touch devices */
    .navbar-nav .dropdown:hover>.dropdown-menu:not(.show) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Show menu only when Bootstrap adds .show class (click behavior) */
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.navbar-nav .dropdown-item {
    color: var(--coffee-brown);
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: var(--vanilla-bg);
    color: var(--coffee-brown);
}

.navbar-nav .dropdown-item.active {
    background-color: var(--vanilla-bg);
    color: var(--coffee-brown);
}

/* Dropdown toggle arrow */
.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
}

.ast-menu-toggle {
    display: none !important;
}

/* Hero Section */
.hero {
    background-color: var(--vanilla-bg);
    /* padding: 40px 0; */
    padding-top: 30px;
    padding-bottom: 0;
}


@media (max-width: 767.98px) {
    .hero.ts-section {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.hero h1 {
    color: var(--coffee-brown);
    line-height: 0.9;
}

/* Dynamic hero heading sizes based on word count */
.hero-heading-dynamic.hero-heading-short {
    /* Short headings (5 words or less) - default display-4 size */
    font-size: 3.5rem;
}

.hero-heading-dynamic.hero-heading-medium {
    /* Medium headings (6-8 words) - slightly smaller */
    font-size: 3rem;
}

.hero-heading-dynamic.hero-heading-long {
    /* Long headings (9-12 words) - smaller */
    font-size: 2.5rem;
}

.hero-heading-dynamic.hero-heading-very-long {
    /* Very long headings (13+ words) - smallest */
    font-size: 2rem;
}

/* Responsive adjustments for dynamic headings */
@media (max-width: 991px) {
    .hero-heading-dynamic.hero-heading-short {
        font-size: 3rem;
    }
    
    .hero-heading-dynamic.hero-heading-medium {
        font-size: 2.5rem;
    }
    
    .hero-heading-dynamic.hero-heading-long {
        font-size: 2rem;
    }
    
    .hero-heading-dynamic.hero-heading-very-long {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .hero-heading-dynamic.hero-heading-short {
        font-size: 2.5rem;
    }
    
    .hero-heading-dynamic.hero-heading-medium {
        font-size: 2rem;
    }
    
    .hero-heading-dynamic.hero-heading-long {
        font-size: 1.75rem;
    }
    
    .hero-heading-dynamic.hero-heading-very-long {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-heading-dynamic.hero-heading-short {
        font-size: 2rem;
    }
    
    .hero-heading-dynamic.hero-heading-medium {
        font-size: 1.75rem;
    }
    
    .hero-heading-dynamic.hero-heading-long {
        font-size: 1.5rem;
    }
    
    .hero-heading-dynamic.hero-heading-very-long {
        font-size: 1.25rem;
    }
}

.hero p {
    color: var(--coffee-brown);
}

.hero-description-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--coffee-brown);
}

/* Hero subheading (below main H1) smaller & constrained to exactly two lines via manual <br> */
.hero-subheading {
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    /* further reduced to fit single line per phrase */
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1.3rem;
    max-width: 100%;
    /* allow full width so phrases can sit on one line */
}

/* Dynamic hero subheading sizes based on word count */
.hero-subheading-dynamic.hero-subheading-short {
    /* Short subheadings (10 words or less) - default size */
    font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.hero-subheading-dynamic.hero-subheading-medium {
    /* Medium subheadings (11-20 words) - slightly smaller */
    font-size: clamp(1.1rem, 2.2vw, 1.75rem);
}

.hero-subheading-dynamic.hero-subheading-long {
    /* Long subheadings (21-30 words) - smaller */
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.hero-subheading-dynamic.hero-subheading-very-long {
    /* Very long subheadings (31+ words) - smallest */
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
}

.hero-subheading-line {
    display: block;
}

.hero-subheading-line+.hero-subheading-line {
    margin-top: 0.45rem;
}

/* Hero subheading grid layout - 2 rows, 3 columns */
.hero-subheading-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    max-width: 100%;
}

.hero-subheading-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-subheading-item {
    color: var(--coffee-brown);
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    line-height: 1.2;
    padding-right: 0.5rem;
    /* spacing after full stop */
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .hero-subheading {
        font-size: clamp(1.2rem, 4vw, 1.85rem);
    }
    
    /* Dynamic subheading responsive sizes */
    .hero-subheading-dynamic.hero-subheading-short {
        font-size: clamp(1.2rem, 4vw, 1.85rem);
    }
    
    .hero-subheading-dynamic.hero-subheading-medium {
        font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    }
    
    .hero-subheading-dynamic.hero-subheading-long {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }
    
    .hero-subheading-dynamic.hero-subheading-very-long {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }

    .hero-subheading-grid {
        gap: 1.25rem 0.75rem;
    }

    .hero-subheading-item {
        font-size: clamp(0.95rem, 2.5vw, 1.3rem);
    }
}

@media (max-width: 575.98px) {
    .hero-subheading {
        font-size: 1.45rem;
        line-height: 1.15;
    }
    
    /* Dynamic subheading mobile sizes */
    .hero-subheading-dynamic.hero-subheading-short {
        font-size: 1.45rem;
        line-height: 1.15;
    }
    
    .hero-subheading-dynamic.hero-subheading-medium {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .hero-subheading-dynamic.hero-subheading-long {
        font-size: 1.15rem;
        line-height: 1.25;
    }
    
    .hero-subheading-dynamic.hero-subheading-very-long {
        font-size: 1rem;
        line-height: 1.3;
    }

    .hero-subheading-line+.hero-subheading-line {
        margin-top: 0.5rem;
    }

    .hero-subheading-grid {
        gap: 1rem 0.75rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-subheading-item {
        font-size: clamp(0.85rem, 3vw, 1.1rem);
    }
}

/* Custom Buttons */
.cta-button,
.submit-button {
    background-color: var(--coffee-brown);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.cta-button:hover,
.submit-button:hover {
    background-color: var(--dark-brown);
    color: var(--white);
}

/* Featured Properties Section */
.featured-properties {
    background-color: var(--vanilla-bg);
}

.featured-properties h2 {
    color: var(--coffee-brown);
    font-weight: 500;
}

/* Property Cards with Bootstrap */
.property-card {
    background-color: var(--white);
    border: none;
    border-radius: 8px;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    overflow: hidden;
    background-color: #E8E0D5;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body h3 {
    color: var(--coffee-brown);
    font-weight: 600;
}

.card-body .price {
    color: var(--coffee-brown);
}

/* Bottom Sections */
.bottom-sections {
    background-color: var(--vanilla-bg);
}

.investment-section h2,
.contact-section h2 {
    color: var(--coffee-brown);
    font-weight: 500;
}

.investment-section p,
.contact-section p {
    color: var(--coffee-brown);
}

/* Contact Form with Bootstrap */
/* .contact-form {
    max-width: 400px;
} */

.contact-form .form-control {
    border: 1px solid #D4C4B0;
    background-color: var(--white);
    color: var(--coffee-brown);
}

.contact-form .form-control:focus {
    border-color: var(--coffee-brown);
    box-shadow: 0 0 0 0.2rem rgba(92, 64, 51, 0.25);
    background-color: var(--white);
    color: var(--coffee-brown);
}

.contact-form .form-control::placeholder {
    color: #9B8B7A;
}

/* Contact and Message Section - Equal Height Layout */
.contact-message-row {
    align-items: stretch;
}

.contact-col,
.message-col {
    display: flex;
}

.contact-inner,
.message-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.message-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-height: 0;
}

.message-content p {
    color: var(--coffee-brown);
    line-height: 1.45;
    font-size: 0.875rem;
}

.message-content strong {
    color: var(--coffee-brown);
    font-weight: 600;
    font-size: 0.8rem;
}

.message-quote {
    font-style: italic;
    color: var(--coffee-brown);
    border: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.message-quote p {
    font-style: italic;
    color: var(--coffee-brown);
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.message-quote p:last-child {
    margin-bottom: 0;
}

.message-verses {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0.5rem;
}

/* Contact form adjustments for better alignment */
.contact-inner form {
    min-height: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-col,
    .message-col {
        margin-bottom: 2rem;
    }
    
    .contact-col:last-child,
    .message-col:last-child {
        margin-bottom: 0;
    }
}

/* Footer - Compact and Minimal */
footer.footer-compact {
    background-color: #3b2415;
    color: #F5F0E8;
    font-size: 0.875rem;
    padding: 2rem 0 1rem;
}

/* Footer Links Row */
.footer-links-row {
    /* border removed per client request */
}

.footer-links-row > div {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-links-row > div:first-child {
    padding-left: 0;
}

.footer-links-row > div:last-child {
    padding-right: 0;
}

.footer-info-row > div {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-info-row > div:first-child {
    padding-left: 0;
}

.footer-info-row > div:last-child {
    padding-right: 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.4rem;
}

.footer-links-list li:last-child {
    margin-bottom: 0;
}

.footer-links-list a {
    color: #F5F0E8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}

.footer-links-list a:hover {
    color: #F5F0E8;
    opacity: 0.8;
    text-decoration: none;
}

/* Footer Social Icons */
.footer-social-row {
    /* No borders */
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b2415;
    border: 2px solid #F5F0E8;
    border-radius: 50%;
    color: #F5F0E8;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background-color: #F5F0E8;
    color: #3b2415;
    border-color: #F5F0E8;
}

/* Footer Description */
.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: #F5F0E8;
}

/* Footer Info Row */
.footer-info-row {
    align-items: flex-start;
}

.footer-contact-info {
    color: #F5F0E8;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #F5F0E8;
}

.footer-brand-name sup {
    font-size: 0.75rem;
    vertical-align: super;
}

.footer-address-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: #F5F0E8;
}

.footer-address-text a {
    color: #F5F0E8;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-address-text a:hover {
    color: #F5F0E8;
    opacity: 0.8;
    text-decoration: none;
}

.footer-logo {
    max-width: 150px;
    max-height: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Footer Divider */
.footer-divider {
    border-color: rgba(245, 240, 232, 0.2);
    margin: 1rem 0;
    opacity: 1;
}

/* Footer Copyright */
.footer-copyright-row {
    padding-top: 0.5rem !important;
}

.footer-copyright {
    font-size: 0.75rem;
    margin: 0;
    color: #F5F0E8;
    opacity: 0.9;
}

.footer-copyright sup {
    font-size: 0.6rem;
    vertical-align: super;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .footer-info-row {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        margin: 1rem auto 0;
    }
}

@media (max-width: 767.98px) {
    footer.footer-compact {
        padding: 1.5rem 0 1rem;
    }

    .footer-links-row,
    .footer-social-row,
    .footer-info-row {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .footer-links-row > div {
        text-align: center;
    }
    
    .footer-links-list {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-links-list li {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        max-width: 120px;
        max-height: 150px;
        margin: 1rem auto 0;
    }
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-image {
    /* Balanced layout now handled via .ts-content wrapper */
    position: relative;
    right: auto;
    top: 0;
    transform: none;
    width: 100%;
    /* allow full column utilization; column width handles overall balance */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 720px;
    /* further enlarged house image */
    object-fit: contain;
    object-position: top;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0;
}

/* Tablet responsiveness */
/* Remove desktop offset sizing tweaks now that image is inline */
@media (max-width: 1199px) {
    .hero-image {
        width: 100%;
    }
}

/* Slight tweak: give text column a bit more flex dominance so image doesn't wrap prematurely */
@media (min-width: 992px) {

    /* Shift balance: enlarge image column further */
    /* .hero .row.align-items-start>.hero-content {
        flex: 0 0 42%;
        max-width: 42%;
    }

    .hero .row.align-items-start>.hero-image {
        flex: 0 0 58%;
        max-width: 58%;
    } */

    .hero-content {
        max-width: 500px;
        flex: 0 0 42%;
        max-width: 42%;
    }

    .hero h1:not(.hero-heading-dynamic) {
        font-size: 3.75rem;
        line-height: 1.0;
    }
    
    /* Dynamic heading sizes override on desktop */
    .hero-heading-dynamic.hero-heading-short {
        font-size: 3.5rem;
        line-height: 1.0;
    }
    
    .hero-heading-dynamic.hero-heading-medium {
        font-size: 3rem;
        line-height: 1.0;
    }
    
    .hero-heading-dynamic.hero-heading-long {
        font-size: 2.5rem;
        line-height: 1.0;
    }
    
    .hero-heading-dynamic.hero-heading-very-long {
        font-size: 2rem;
        line-height: 1.0;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-description-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

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

    .hero-image {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 0;
        flex: 0 0 58%;
        max-width: 58%;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 720px;
        object-fit: contain;
        object-position: top;
    }

    /* Make content and image columns align properly */
    .hero .row.align-items-start {
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-image {
        padding-top: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 720px;
        object-fit: contain;
        margin-top: 0;
    }
}

/* Tablet and below - Background image with overlay */
@media (max-width: 991px) {
    .hero {
        min-height: 500px;
        padding: 30px 0;
    }

    /* Keep mobile design with background conversion */
    .hero-image {
        position: absolute;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
        transform: none;
        z-index: 1;
        padding-left: 0;
        opacity: 1;
        /* Restored full opacity after removing brown overlay */
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Removed brown overlay - no longer needed */
    /* .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-brown-overlay);
        z-index: 2;
    } */

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero-content {
        padding: 2rem 0;
        text-align: center;
    }

    /* White text for better contrast */
    .hero h1 {
        color: var(--white) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero p {
        color: var(--white) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* White button with better contrast */
    .hero .cta-button {
        background-color: var(--white);
        color: var(--coffee-brown);
        font-weight: 700;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .hero .cta-button:hover {
        background-color: var(--vanilla-bg);
        color: var(--coffee-brown);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Responsive Design with Bootstrap */
@media (max-width: 991px) {

    /* Hero section with overlay effect for tablet and mobile */
    .hero {
        position: relative;
        background-image: url('distressed-house.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 30px 0;
    }

    /* Removed brown overlay - no longer needed */
    /* .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-brown-overlay);
        z-index: 1;
    } */

    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero-content {
        text-align: center;
    }

    /* White text in responsive mode */
    .hero h1 {
        color: var(--white);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero h1:not(.hero-heading-dynamic) {
        font-size: 3.5rem;
    }

    .hero p {
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Adjust button for better contrast in mobile */
    .hero .cta-button {
        background-color: var(--white);
        color: var(--coffee-brown);
        font-weight: 700;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .hero .cta-button:hover {
        background-color: var(--vanilla-bg);
        color: var(--coffee-brown);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .featured-properties h2 {
        font-size: 2rem;
    }

    .investment-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-subheading-item {
        color: var(--white) !important
    }
}

/* Utility Classes */
.text-coffee {
    color: var(--coffee-brown) !important;
}

.bg-vanilla {
    background-color: var(--vanilla-bg) !important;
}

.bg-coffee {
    background-color: var(--coffee-brown) !important;
}

/* Sell Fast / Info Section */
.sell-fast-section h2 {
    color: var(--coffee-brown);
}

/* Equal height video/text columns */
.sell-fast-equal-row {
    align-items: stretch;
}

.sell-fast-video-col,
.sell-fast-text-col {
    display: flex;
}

.sell-fast-video-inner,
.sell-fast-text-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Distressed Houses Section - Equal height video/text columns */
.distressed-houses-equal-row {
    align-items: stretch;
}

.distressed-houses-video-col,
.distressed-houses-text-col {
    display: flex;
}

.distressed-houses-video-inner,
.distressed-houses-text-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Make video iframe fill available vertical space without breaking aspect excessively on large screens */
@media (min-width: 992px) {
    .sell-fast-video-inner .ratio {
        flex: 1 1 auto;
        display: flex;
    }

    .sell-fast-video-inner .ratio iframe {
        width: 100%;
        height: 100%;
    }

    .distressed-houses-video-inner .ratio {
        flex: 1 1 auto;
        display: flex;
    }

    .distressed-houses-video-inner .ratio iframe {
        width: 100%;
        height: 100%;
    }
}

.offer-points {
    list-style: none;
    /* remove default bullets */
    padding-left: 0;
    margin: 0;
}

.offer-points li {
    line-height: 1.4;
    margin-left: 0;
}

.benefits-row .benefit {
    background-color: white;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--coffee-brown);
}

/* Spacing for relocated Sell Fast video */
.sell-fast-video-row {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
    .sell-fast-video-row {
        margin-top: 0.75rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .sell-fast-section h2 {
        font-size: 2rem;
    }

    .distressed-houses-section h2 {
        font-size: 2rem;
    }
}

/* Success Stories Section */
.success-stories-section {
    background-color: var(--vanilla-bg);
}

.success-stories-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-stories-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.success-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.success-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--coffee-brown);
}

.success-benefit-item {
    padding-left: 0.5rem;
}

.success-benefit-item h3 {
    color: var(--coffee-brown);
    line-height: 1.3;
}

.success-benefit-item p {
    color: var(--coffee-brown);
    line-height: 1.6;
}

/* Responsive adjustments for success stories */
@media (max-width: 991.98px) {
    .success-stories-card {
        padding: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .success-stories-card {
        padding: 2rem;
    }

    .success-stories-card h2 {
        font-size: 2rem;
    }

    .success-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .success-icon-wrapper i {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .success-stories-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .success-benefit-item {
        padding-left: 0;
    }
}

/* Compact Grid Section */
.situations-compact {
    background-color: var(--vanilla-bg);
    padding: 2.5rem 0;
    border-radius: 12px;
}

.situations-compact h2 {
    color: var(--coffee-brown);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.situations-compact .lead {
    color: var(--coffee-brown);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Compact Situation Cards */
.situation-card-compact {
    background-color: #FFFFFF;
    border: 2px solid var(--coffee-brown);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.situation-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.icon-wrapper-compact {
    width: 45px;
    height: 45px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper-compact i {
    font-size: 1.75rem;
    color: #3b2415;
}

.situation-card-compact h4 {
    color: var(--coffee-brown);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.situation-card-compact p {
    color: var(--coffee-brown);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.badge-label {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--coffee-brown);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
}

@media (max-width: 767px) {
    .situations-compact h2 {
        font-size: 1.75rem;
    }
}


@media (max-width: 991.98px) {
    .offer-points {
        padding-left: 0 !important;
    }
}


.video-link {
    color: var(--coffee-brown);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.video-link:hover {
    color: var(--coffee-brown);
    opacity: 0.7;
    text-decoration: none;
}

.video-link:active,
.video-link:visited,
.video-link:focus {
    color: #3b2415 !important;
    text-decoration: none;
}

.video-link:visited:hover,
.video-link:active:hover {
    color: #3b2415 !important;
    opacity: 0.7;
    text-decoration: none;
}

.video-modal-content {
    border: 3px solid var(--dark-brown);
    border-radius: 8px;
}

.video-modal-header {
    border-bottom: 2px solid var(--dark-brown);
}

.video-modal-close {
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.video-modal-close:hover {
    background-color: var(--dark-brown) !important;
}

.video-modal-close:focus {
    background-color: var(--coffee-brown) !important;
    box-shadow: 0 0 0 0.25rem rgba(92, 64, 51, 0.25) !important;
}

/* =========================================================
   Global Standardization Utilities
   --------------------------------------------------------- */
/* Constrained content wrapper for consistent line starts & horizontal rhythm */
.ts-content {
    max-width: min(90vw, 1400px);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Optional wider variant for future hero/banner sections */
.ts-content.wide {
    max-width: min(92vw, 1600px);
}

@media (max-width: 991.98px) {
    .ts-content {
        padding: 0 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .ts-content {
        padding: 0 1.25rem;
    }
}

/* Standardized headings inside content blocks */
.ts-content h2,
.ts-content h1 {
    margin-left: 0;
    padding-left: 0;
}

/* Optional unified spacing for section top/bottom if needed */
/* .ts-section {
    padding-top: 80px;
} */

@media (max-width: 767.98px) {
    .ts-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Lists inside standardized content */
.ts-content ul {
    padding-left: 1.15rem;
}

.ts-content ul.offer-points {
    padding-left: 0;
}

.ts-content ul li {
    margin-bottom: 0.4rem;
}

/* Process Steps Section */
.process-steps-section {
    background: var(--white);
    /* changed from light blue gradient to white */
    border-top: 4px solid var(--coffee-brown);
    border-bottom: 4px solid var(--coffee-brown);
}

.process-steps-section .process-header h2 {
    color: var(--coffee-brown);
}

.process-steps-section .process-header p {
    color: var(--coffee-brown);
}

.process-cards-row .process-card {
    background: var(--vanilla-bg);
    /* changed card inner background to vanilla */
    border: 2px solid var(--coffee-brown);
    border-radius: 12px;
    padding: 1.5rem 1.25rem 1.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

.process-cards-row .process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.process-card .process-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coffee-brown);
    border-radius: 12px;
    font-size: 1.55rem;
    color: var(--coffee-brown);
    background: var(--vanilla-bg);
    box-shadow: inset 0 0 0 2px #fff;
}

.process-card h3 {
    color: var(--coffee-brown);
}

.process-card p {
    color: var(--coffee-brown);
}

.process-number-icon {
    font-size: 1.8rem !important;
    font-weight: 900;
}

.process-number-icon span {
    display: block;
    line-height: 1;
}

.process-cta-btn {
    background-color: var(--coffee-brown);
    /* coffee brown base */
    color: var(--white);
    font-weight: 700;
    letter-spacing: .5px;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.process-cta-btn:hover {
    background-color: #3b2415;
    /* darker coffee hover */
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.process-cta-btn:active {
    background-color: #3b2415;
    color: var(--white);
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .process-cards-row .process-card {
        height: 100%;
    }
}

@media (max-width: 575.98px) {
    .process-steps-section .process-header h2 {
        font-size: 2rem;
    }
}

/* Contact Page Layout */
.contact-page-section {
    background-color: var(--vanilla-bg);
    min-height: 80vh;
}

.contact-page-row {
    align-items: flex-start;
}

/* Left Column: Contact Information (Sticky) */
.contact-info-col {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--coffee-brown);
    margin-bottom: 2rem;
}

.contact-info-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--coffee-brown);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--coffee-brown);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info-note {
    color: var(--coffee-brown);
    opacity: 0.8;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--coffee-brown);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-link:hover {
    color: var(--coffee-brown);
    opacity: 0.7;
    text-decoration: underline;
}

/* Vertical Divider */
.contact-divider-col {
    display: flex;
    justify-content: center;
    padding: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
}

.contact-divider {
    width: 1px;
    background-color: var(--input-border);
    height: 100%;
    /* Height will be set dynamically to match contact-info-card */
}

/* Right Column: Contact Form */
.contact-form-col {
    padding-left: 2rem;
}

.form-container-right {
    background-color: var(--white);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Original form-container for backward compatibility */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .contact-info-col {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .contact-info-card {
        position: relative;
        top: 0;
    }
    
    .contact-divider-col {
        display: none;
        position: relative;
        top: 0;
    }
    
    .contact-form-col {
        padding-left: 0;
    }
    
    .contact-divider {
        display: none;
    }
    
    .contact-page-row {
        flex-direction: column;
    }
}

.form-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coffee-brown);
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--coffee-brown);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    background-color: var(--vanilla-bg);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text h3 {
    color: var(--coffee-brown);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.intro-text p {
    color: var(--coffee-brown);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.phone-link {
    color: var(--coffee-brown);
    font-weight: 700;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.form-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
}

.form-control,
.form-select {
    border: 2px solid var(--input-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #666;
    background-color: var(--white);
    transition: border-color 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--coffee-brown);
    box-shadow: 0 0 0 0.2rem rgba(92, 64, 51, 0.15);
    background-color: var(--white);
}

.form-control::placeholder {
    color: #999;
}

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

.submit-button {
    width: 100%;
    background-color: var(--coffee-brown);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.submit-button:hover {
    background-color: var(--dark-brown);
}

.help-text {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .form-heading {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .intro-text h3 {
        font-size: 1.25rem;
    }

    .intro-text p {
        font-size: 0.95rem;
    }
}

#back2Top {
    width: 45px;
    line-height: 45px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 90px;
    right: 30px;
    background-color: var(--ced-grey-20);
    color: var(--ced-heading-color);
    text-align: center;
    font-size: 24px;
    border-radius: 24px;
    height: 45px;
    box-shadow: 0 3px 6px 0 rgba(23, 28, 33, .15)
}

#back2Top:hover {
    background-color: var(--ced-blue-30)
}

#back2Top img {
    transition: all 0.5s
}

#back2Top:hover img {
    filter: brightness(0) invert(1)
}

/* =========================================================
   How It Works Section
   --------------------------------------------------------- */
.how-it-works-section {
    background: var(--white);
    color: var(--coffee-brown);
}

.how-it-works-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-section h2,
.how-it-works-section h3,
.how-it-works-section p {
    color: var(--coffee-brown);
}

/* Step Cards */
.hiw-steps-row .hiw-step-card {
    background: var(--hiw-light-vanilla);
    border: 1px solid var(--hiw-border);
    border-radius: 15px;
    padding: 2rem 1.75rem 2.1rem;
    height: 100%;
    transition: box-shadow .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
}

.hiw-step-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.hiw-step-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.1rem;
    text-align: center;
    color: var(--coffee-brown);
}

.hiw-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.hiw-step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Damage Cards Section */
.hiw-damage-row .damage-card {
    background: var(--hiw-light-vanilla);
    border: 1px solid var(--hiw-border);
    border-radius: 15px;
    padding: 1.5rem 1.4rem 1.7rem;
    height: 100%;
    transition: box-shadow .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
}

.damage-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.damage-image-wrapper {
    border: 3px solid var(--coffee-brown);
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #ddd;
}

.damage-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.damage-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.damage-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991.98px) {

    .hiw-step-card,
    .damage-card {
        padding: 1.75rem 1.5rem 1.9rem;
    }
}

@media (max-width: 575.98px) {

    .hiw-step-title,
    .damage-card-title {
        font-size: 1.15rem;
    }

    .hiw-step-icon {
        font-size: 2.6rem;
    }
}

.faqs {
    background: var(--white);
    padding-top : 0.1px;
    padding-bottom : 0.1px;
}

/* FAQ Page Styles */
.faq-page-section {
    background-color: var(--vanilla-bg);
    min-height: 60vh;
}

.faq-page-section h1 {
    color: var(--coffee-brown);
    margin-bottom: 2rem;
}

.faq-content {
    color: var(--coffee-brown);
    line-height: 1.8;
}

.faq-content h2,
.faq-content h3,
.faq-content h4 {
    color: var(--coffee-brown);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.faq-content h2:first-child,
.faq-content h3:first-child,
.faq-content h4:first-child {
    margin-top: 0;
}

.faq-content p {
    color: var(--coffee-brown);
    margin-bottom: 1rem;
}

.faq-content ul,
.faq-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.faq-content li {
    margin-bottom: 0.5rem;
    color: var(--coffee-brown);
}

/* FAQ Q&A Format Styling */
.faq-content h2,
.faq-content h3 {
    border-bottom: 2px solid var(--coffee-brown);
    padding-bottom: 0.5rem;
}

.faq-content h2 + p,
.faq-content h3 + p {
    margin-top: 1rem;
    font-size: 1.05rem;
}

@media (max-width: 767.98px) {
    .faq-page-section h1 {
        font-size: 2rem;
    }
    
    .faq-content h2,
    .faq-content h3 {
        font-size: 1.5rem;
    }
}

/* Get A Cash Offer Today Page Styles */
.cash-offer-hero-section {
    position: relative;
    background-color: #ffffff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    overflow: hidden;
}

.cash-offer-hero-content {
    position: relative;
    z-index: 2;
    color: var(--coffee-brown);
}

.cash-offer-hero-title {
    color: var(--coffee-brown);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
    white-space: nowrap;
}

.cash-offer-hero-subtitle {
    color: var(--coffee-brown);
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    line-height: 1.2;
    white-space: nowrap;
}

.cash-offer-hero-description {
    color: var(--coffee-brown);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.4;
    white-space: nowrap;
}

.resources-hero-section .cash-offer-hero-content .cash-offer-hero-title,
.resources-hero-section .cash-offer-hero-content .cash-offer-hero-subtitle {
    white-space: normal !important;
}

.resources-hero-section .cash-offer-hero-content .cash-offer-hero-description {
    white-space: normal !important;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Resources Page Specific Styles */
.resources-hero-section {
    background-color: var(--vanilla-bg) !important;
}

.resources-hero-section .cash-offer-hero-title {
    color: var(--coffee-brown) !important;
}

.resources-hero-section .cash-offer-hero-content p.cash-offer-hero-description:first-of-type {
    color: var(--coffee-brown) !important;
}

/* Resources Page Header - White Menu */
body.resources-page .site-header {
    background-color: var(--white) !important;
}

body.resources-page .navbar-nav .nav-link {
    color: var(--coffee-brown) !important;
}

body.resources-page .navbar-nav .nav-link:hover,
body.resources-page .navbar-nav .nav-link.active {
    color: var(--coffee-brown) !important;
    opacity: 0.7;
}

body.resources-page .custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235C4033' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

body.resources-page .custom-toggler {
    border-color: var(--coffee-brown) !important;
}

.cash-offer-hero-subtext {
    color: var(--coffee-brown);
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    font-weight: 600;
    white-space: nowrap;
}

/* Cash Offer Features Section */
.cash-offer-features-section {
    background-color: var(--vanilla-bg);
}

.cash-offer-features-row {
    align-items: center;
}

.cash-offer-image-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cash-offer-feature-image {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

.cash-offer-features-content {
    color: var(--coffee-brown);
    justify-content: flex-start;
    padding-top: 0;
}

.cash-offer-feature-text {
    color: var(--coffee-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cash-offer-check-item {
    color: var(--coffee-brown);
}

.cash-offer-check-icon {
    font-size: 1.5rem;
    color: var(--coffee-brown);
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0;
}

.cash-offer-check-text {
    color: var(--coffee-brown);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Cash Offer CTA Section */
.cash-offer-cta-section {
    background-color: var(--vanilla-bg);
}

.cash-offer-cta-content {
    color: var(--coffee-brown);
}

.cash-offer-cta-heading {
    color: var(--coffee-brown);
    font-size: 2rem;
    line-height: 1.3;
}

.cash-offer-cta-text {
    color: var(--coffee-brown);
    font-size: 1.15rem;
    line-height: 1.6;
}

.cash-offer-phone-link {
    color: var(--coffee-brown);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cash-offer-phone-link:hover {
    opacity: 0.8;
    color: var(--coffee-brown);
}

.cash-offer-content-section {
    background-color: var(--vanilla-bg);
}

.cash-offer-page-content {
    color: var(--coffee-brown);
    line-height: 1.8;
}

.cash-offer-page-content h2,
.cash-offer-page-content h3,
.cash-offer-page-content h4 {
    color: var(--coffee-brown);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cash-offer-page-content p {
    color: var(--coffee-brown);
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .cash-offer-hero-section {
        min-height: 350px;
        padding: 80px 0;
    }
    
    .cash-offer-hero-title {
        white-space: normal;
        line-height: 1.3;
    }
    
    .cash-offer-hero-subtitle {
        white-space: normal;
        line-height: 1.3;
    }
    
    .cash-offer-hero-description {
        white-space: normal;
    }
    
    .cash-offer-hero-subtext {
        white-space: normal;
    }
    
    .cash-offer-features-section h2 {
        font-size: 2rem;
    }
    
    .cash-offer-feature-text {
        font-size: 1rem;
    }
    
    .cash-offer-check-text {
        font-size: 1rem;
    }
    
    .cash-offer-check-icon {
        font-size: 1.25rem;
    }
    
    .cash-offer-cta-heading {
        font-size: 1.5rem;
    }
    
    .cash-offer-cta-text {
        font-size: 1rem;
    }
}

/* =========================================================
   About Us Page Styles
   --------------------------------------------------------- */
/* About Us Hero Section */
.about-hero-section {
    position: relative;
    background-color: #ffffff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    display: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--coffee-brown);
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-content h1 {
    color: var(--coffee-brown);
}

.about-hero-description {
    color: var(--coffee-brown);
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-hero-cta {
    color: var(--white);
    font-size: 1rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section Divider */
.about-section-divider {
    border-color: rgba(92, 64, 51, 0.2);
    margin: 2rem 0;
    opacity: 1;
}

/* About CTA Section */
.about-cta-section h3 {
    color: var(--coffee-brown);
    font-size: 1.75rem;
}

.about-cta-section h5 {
    color: var(--coffee-brown);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .about-hero-section {
        min-height: 250px;
        padding: 60px 0;
    }
    
    .about-hero-content {
        text-align: center;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .about-hero-cta {
        font-size: 0.95rem;
    }
    
    .about-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .about-cta-section h5 {
        font-size: 1rem;
    }
    
    .about-cta-section .d-grid {
        grid-template-columns: 1fr !important;
    }
}

.about-us-section {
    background-color: var(--vanilla-bg);
}

.about-us-section h2 {
    color: var(--coffee-brown);
}

.about-us-section p {
    color: var(--coffee-brown);
}

/* Top Section: Video and Mission Statement - Equal Height */
.about-top-row {
    align-items: stretch;
}

.about-video-col,
.about-mission-col {
    display: flex;
}

.about-video-inner,
.about-mission-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.about-mission-inner {
    padding-left: 2rem;
}

/* Make video iframe fill available vertical space */
@media (min-width: 992px) {
    .about-video-inner .ratio {
        flex: 1 1 auto;
        display: flex;
    }

    .about-video-inner .ratio iframe {
        width: 100%;
        height: 100%;
    }
}

/* What Makes TrueSell Different Cards */
.difference-card {
    background-color: var(--white);
    border: 2px solid var(--coffee-brown);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.difference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.difference-icon {
    font-size: 2.5rem;
    color: var(--coffee-brown);
    margin-bottom: 1rem;
}

.difference-card h3 {
    color: var(--coffee-brown);
    margin-bottom: 0.75rem;
}

.difference-card p {
    color: var(--coffee-brown);
    line-height: 1.6;
}

/* Local and Proud Section - Equal Height */
.about-local-row {
    align-items: stretch;
}

.about-team-col,
.about-local-col {
    display: flex;
}

.about-team-inner,
.about-local-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.about-local-inner {
    padding-left: 2rem;
}

.about-team-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .about-mission-inner {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .about-local-inner {
        padding-left: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-us-section h2 {
        font-size: 2rem;
    }
    
    .about-us-section .fs-5 {
        font-size: 1rem !important;
    }
}

/* Testimonials Grid Styles - Google Review Style */
.testimonials-section {
    background-color: var(--vanilla-bg);
}

/* More Reviews Section */
.more-reviews-section {
    background-color: var(--white);
}

.review-image-inner {
    max-width: 100%;
}

.review-image-inner img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.review-text-inner {
    padding-left: 2rem;
}

.review-text-inner a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.review-text-inner a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.review-separator {
    border: 0;
    border-top: 1px solid #dee2e6 !important;
    width: 100%;
    opacity: 1 !important;
    display: block;
    height: 1px;
    background-color: #dee2e6;
}

@media (max-width: 991.98px) {
    .review-text-inner {
        padding-left: 0;
        padding-top: 1rem;
    }
}

/* How It Works Page - Process Steps */
.how-process-works-section {
    background: var(--white);
    border-top: 4px solid var(--coffee-brown);
    border-bottom: 4px solid var(--coffee-brown);
}

.process-step-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--coffee-brown);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step-card h3 {
    color: var(--coffee-brown);
    margin-bottom: 0.75rem;
}

.process-step-card p {
    color: var(--coffee-brown);
    font-size: 1rem;
}

.timeframe-section {
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeframe-section p {
    color: var(--coffee-brown);
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .process-step-number {
        font-size: 3rem;
    }
    
    .process-step-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Selling Marietta Section */
.selling-marietta-section {
    background-color: var(--white);
}

.selling-marietta-section h2,
.selling-marietta-section h3 {
    color: var(--coffee-brown);
}

.selling-marietta-section p {
    color: var(--coffee-brown);
    line-height: 1.7;
}

.selling-marietta-section strong {
    font-weight: 700;
}

/* Resources Section */
.resources-section {
    background-color: var(--white);
}

.resource-book-item {
    padding: 2rem 0;
}

.resource-book-item .row.align-items-stretch {
    align-items: stretch;
}

.resource-book-item .col-lg-6 {
    display: flex;
    flex-direction: column;
}

/* Thick Brown Divider Between Books */
.resource-book-divider {
    height: 4px;
    background-color: var(--coffee-brown);
    width: 100%;
    margin: 3rem 0;
}

.book-cover-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 0;
}

.book-cover-image {
    max-width: 80%;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.book-cover-placeholder {
    width: 100%;
    min-height: 400px;
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.book-description {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0;
}

.book-description h2 {
    color: var(--coffee-brown);
    text-align: left;
}

.book-description p {
    color: var(--coffee-brown);
    line-height: 1.7;
    text-align: left;
}

.resources-section .ts-content .row {
    align-items: stretch;
}

.resources-section .ts-content .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

.download-btn {
    background-color: var(--coffee-brown);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.download-btn:hover {
    background-color: #3b2415;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.resource-book-item .row:last-child {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .book-description {
        padding-left: 0;
        padding-top: 1rem;
        justify-content: flex-start;
    }
    
    .book-cover-wrapper {
        min-height: 300px;
        height: auto;
        align-items: center;
    }
    
    .book-cover-image {
        height: auto;
        max-height: 400px;
    }
    
    .book-cover-placeholder {
        min-height: 300px;
    }
    
    .resource-book-divider {
        margin: 2rem 0;
    }
}

/* Questions/FAQ Section */
.questions-section {
    background-color: var(--vanilla-bg);
}

.questions-nav {
    border-bottom: 2px solid var(--coffee-brown);
    padding-bottom: 1.5rem;
}

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

.question-link {
    color: var(--coffee-brown);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    opacity: 0.6;
    position: relative;
}

.question-link:hover,
.question-link.active {
    opacity: 1;
    background-color: rgba(92, 64, 51, 0.1);
    color: var(--coffee-brown);
}

.question-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--coffee-brown);
}

.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--white);
    border: 2px solid var(--coffee-brown);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(92, 64, 51, 0.15);
    transform: translateY(-2px);
}

.faq-question-btn {
    background-color: var(--white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question-btn:hover {
    background-color: rgba(92, 64, 51, 0.05);
}

.faq-question-btn::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 300;
    color: var(--coffee-brown);
    transition: transform 0.3s ease;
}

.faq-question-btn[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    background-color: rgba(92, 64, 51, 0.03);
    border-top: 1px solid rgba(92, 64, 51, 0.1);
}

.faq-answer p {
    color: var(--coffee-brown);
    margin: 0;
}

@media (max-width: 767.98px) {
    .questions-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .question-link {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .question-link.active::after {
        display: none;
    }
    
    .faq-question-btn {
        padding: 1rem !important;
    }
    
    .faq-question-btn h3 {
        font-size: 1.1rem;
        padding-right: 2rem;
    }
    
    .faq-answer {
        padding: 1rem !important;
    }
    
    .faq-answer p {
        font-size: 1rem !important;
    }
}

.mbc-testimonials-grid {
    padding: 0;
}

.mbc-testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    border: none;
}

.mbc-testimonial-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.mbc-testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-right: 100px; /* Space for platform indicator */
    position: relative;
}

.mbc-testimonial-platform {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    align-self: flex-start;
}

.mbc-platform-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--coffee-brown);
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    line-height: 1.3;
    margin: 0;
    padding-top: 0;
}

.mbc-testimonial-platform-rating {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: flex-end;
}

.mbc-testimonial-platform-rating .mbc-star {
    font-size: 1.5rem;
}

.mbc-testimonial-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--hiw-light-vanilla);
    border: none;
}

.mbc-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mbc-testimonial-author-info {
    flex: 1;
    min-width: 0;
}

.mbc-testimonial-author-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--coffee-brown);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    font-family: var(--ts-font-sans);
}

.mbc-testimonial-rating {
    margin-top: 0.5rem;
}

.mbc-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.mbc-star {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    color: #FFC107; /* Yellow/gold color for stars */
}

.mbc-star-filled {
    color: #FFC107; /* Yellow/gold color matching Google reviews */
}

.mbc-star-empty {
    color: #E0E0E0;
}

.mbc-testimonial-content {
    flex: 1;
    color: var(--coffee-brown);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
    font-family: var(--ts-font-sans);
}

.mbc-testimonial-content p {
    margin-bottom: 0.75rem;
    color: var(--coffee-brown);
}

.mbc-testimonial-content p:last-child {
    margin-bottom: 0;
}

.mbc-testimonial-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hiw-border);
}

.mbc-testimonial-link a {
    color: var(--coffee-brown);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
    font-family: var(--ts-font-sans);
}

.mbc-testimonial-link a:hover {
    color: var(--dark-brown);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .mbc-testimonial-card {
        padding: 1.5rem;
    }
    
    .mbc-testimonial-header {
        padding-right: 80px;
    }
}

@media (max-width: 767.98px) {
    .mbc-testimonial-card {
        padding: 1.25rem;
    }
    
    .mbc-testimonial-header {
        padding-right: 70px;
        gap: 0.75rem;
    }
    
    .mbc-testimonial-avatar {
        width: 48px;
        height: 48px;
    }
    
    .mbc-testimonial-author-name {
        font-size: 1rem;
    }
    
    .mbc-platform-name {
        font-size: 1rem;
    }
    
    .mbc-testimonial-content {
        font-size: 0.875rem;
    }
    
    .mbc-testimonial-platform-rating .mbc-star {
        font-size: 1.25rem;
    }
    
    .mbc-star {
        font-size: 1.125rem;
    }
}

/* =========================================================
   Blog Page Styles
   --------------------------------------------------------- */

/* Blog Hero Section */
.blog-hero-section {
    background-color: var(--vanilla-bg);
    padding: 60px 0;
}

/* Blog Posts Section */
.blog-posts-section {
    background-color: var(--white);
}

/* Blog Card */
.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--vanilla-bg);
    position: relative;
}

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

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

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vanilla-bg) 0%, #E8E0D5 100%);
}

.placeholder-content {
    color: var(--coffee-brown);
    opacity: 0.3;
    font-size: 4rem;
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--coffee-brown);
    opacity: 0.7;
}

.blog-card-meta i {
    font-size: 0.875rem;
}

.blog-date,
.blog-category {
    display: flex;
    align-items: center;
}

.blog-category a {
    color: var(--coffee-brown);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-category a:hover {
    opacity: 0.8;
    color: var(--coffee-brown);
}

.blog-card-title {
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: var(--coffee-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--coffee-brown);
    opacity: 0.8;
}

.blog-card-excerpt {
    color: var(--coffee-brown);
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--vanilla-bg);
}

.blog-read-more {
    color: var(--coffee-brown);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--coffee-brown);
    transform: translateX(5px);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* Blog Pagination */
.blog-pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.blog-pagination-wrapper .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination-wrapper .page-numbers li {
    margin: 0;
}

.blog-pagination-wrapper .page-numbers a,
.blog-pagination-wrapper .page-numbers span {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--coffee-brown);
    background-color: var(--white);
    border: 2px solid var(--vanilla-bg);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination-wrapper .page-numbers a:hover {
    background-color: var(--coffee-brown);
    color: var(--white);
    border-color: var(--coffee-brown);
}

.blog-pagination-wrapper .page-numbers .current {
    background-color: var(--coffee-brown);
    color: var(--white);
    border-color: var(--coffee-brown);
}

.blog-pagination-wrapper .page-numbers .prev,
.blog-pagination-wrapper .page-numbers .next {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Blog CTA Section */
.blog-cta-section {
    background-color: var(--vanilla-bg);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .blog-hero-section {
        padding: 40px 0;
    }
    
    .blog-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .blog-hero-section h1 {
        font-size: 2rem;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-body {
        padding: 1.25rem;
    }
    
    .blog-pagination-wrapper .page-numbers {
        gap: 0.25rem;
    }
    
    .blog-pagination-wrapper .page-numbers a,
    .blog-pagination-wrapper .page-numbers span {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .blog-card-image {
        height: 160px;
    }
    
    .blog-card-body {
        padding: 1rem;
    }
    
    .blog-card-meta {
        font-size: 0.8rem;
        gap: 0.75rem;
    }
}

/* =========================================================
   Single Post Page Styles
   --------------------------------------------------------- */

/* Single Post Hero Section */
.single-post-hero-section {
    background-color: var(--vanilla-bg);
    padding: 40px 0;
}

.single-post-header {
    text-align: center;
}

.single-post-category {
    display: inline-block;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--coffee-brown);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.category-badge:hover {
    opacity: 0.9;
    color: var(--white);
}

.single-post-title {
    line-height: 1.2;
    margin-bottom: 1rem;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--coffee-brown);
    opacity: 0.8;
    font-size: 0.95rem;
}

.single-post-meta span {
    display: flex;
    align-items: center;
}

.single-post-meta i {
    font-size: 1rem;
}

/* Single Post Content Section */
.single-post-content-section {
    background-color: var(--white);
}

.single-post-article {
    background-color: var(--white);
}

.single-post-featured-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    color: var(--coffee-brown);
    line-height: 1.8;
    font-size: 1.1rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
    color: var(--coffee-brown);
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: var(--coffee-brown);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-post-content h2 {
    font-size: 2rem;
}

.single-post-content h3 {
    font-size: 1.75rem;
}

.single-post-content h4 {
    font-size: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--coffee-brown);
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content a {
    color: var(--coffee-brown);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.single-post-content a:hover {
    opacity: 0.8;
    color: var(--coffee-brown);
}

.single-post-content blockquote {
    border-left: 4px solid var(--coffee-brown);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--coffee-brown);
    opacity: 0.9;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.single-post-content code {
    background-color: var(--vanilla-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--coffee-brown);
}

.single-post-content pre {
    background-color: var(--vanilla-bg);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.single-post-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Single Post Tags */
.single-post-tags {
    border-top: 2px solid var(--vanilla-bg);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--vanilla-bg);
    color: var(--coffee-brown);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--coffee-brown);
    color: var(--white);
}

/* Single Post Navigation */
.single-post-navigation {
    border-top: 2px solid var(--vanilla-bg);
}

.post-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--vanilla-bg);
    border-radius: 4px;
    text-decoration: none;
    color: var(--coffee-brown);
    transition: all 0.3s ease;
    min-height: 80px;
}

.post-nav-link:hover {
    background-color: var(--coffee-brown);
    color: var(--white);
    transform: translateX(5px);
}

.post-nav-next:hover {
    transform: translateX(-5px);
}

.post-nav-content {
    display: flex;
    flex-direction: column;
}

.post-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.post-nav-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.post-nav-link i {
    font-size: 1.25rem;
}

/* Back to Blog Link */
.back-to-blog {
    text-align: center;
}

.back-to-blog-link {
    display: inline-flex;
    align-items: center;
    color: var(--coffee-brown);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog-link:hover {
    color: var(--coffee-brown);
    transform: translateX(-5px);
}

/* Related Posts */
.related-posts-section {
    background-color: var(--vanilla-bg);
}

.related-post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--vanilla-bg);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-post-body h3 {
    margin-bottom: 0.75rem;
}

.related-post-body a {
    color: var(--coffee-brown);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.related-post-body a:hover {
    opacity: 0.8;
    color: var(--coffee-brown);
}

.related-post-body p {
    color: var(--coffee-brown);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles for Single Post */
@media (max-width: 991.98px) {
    .single-post-title {
        font-size: 2rem;
    }
    
    .single-post-content {
        font-size: 1rem;
    }
    
    .single-post-content h2 {
        font-size: 1.75rem;
    }
    
    .single-post-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .single-post-hero-section {
        padding: 30px 0;
    }
    
    .single-post-title {
        font-size: 1.75rem;
    }
    
    .single-post-meta {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .single-post-content {
        font-size: 0.95rem;
    }
    
    .post-nav-link {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    
    .post-nav-next {
        flex-direction: column;
    }
    
    .post-nav-link:hover {
        transform: translateY(5px);
    }
    
    .post-nav-next:hover {
        transform: translateY(5px);
    }
    
    .related-post-image {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .single-post-title {
        font-size: 1.5rem;
    }
    
    .single-post-content h2 {
        font-size: 1.5rem;
    }
    
    .single-post-content h3 {
        font-size: 1.25rem;
    }
    
    .related-post-image {
        height: 160px;
    }
}