--- START OF FILE style.css ---

/* --- General Reset & Body Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f0f4f8;
    color: #747679;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    margin-top: 0;
    /* === MODIFIED: Base padding-top to clear smallest header height plus buffer === */
    /* This value gets overridden by media queries for larger screens */
    padding-top: 70px; /* Smallest mobile header (~50px) + buffer */
}

/* Add this class to body when a contact window is open */
body.contact-window-active {
    /* overflow-y: hidden; /* Optional: Prevent scrolling when a window is open */
}

/* Not needed anymore with position: fixed header and menu */
/* body.menu-active {
    transform: translateX(250px);
} */


/* --- Full-Width Site Header (Base Styles - Mobile First) --- */
#site-header {
    width: 100%;
    /* Use a gradient for visual appeal */
    background: linear-gradient(to right, #860994, #a8005c); /* Primary Purple to Deep Magenta */
    color: white; /* Text color for slogan and desktop nav */
    padding: 15px 0; /* Default padding (adjust in media queries) */
    /* === CHANGED: Make header fixed === */
    position: fixed;
    top: 0;
    left: 0;
    /* === CHANGED: Increase z-index === */
    z-index: 1000; /* Ensure header is above other elements */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow at the bottom */
    min-height: 80px; /* Ensure a minimum height */

    /* Default to mobile layout (centered content) */
     display: flex;
     flex-direction: column; /* Stack logo and slogan */
     align-items: center; /* Center content horizontally */
     justify-content: center; /* Center content vertically */
     text-align: center;
}

/* Mobile Header Container (Visible by default, hidden on desktop) */
.header-mobile {
     width: 100%;
     display: flex; /* Use flex for internal layout */
     position: relative; /* Needed for absolute positioning of hamburger */
     justify-content: center; /* Center the mobile-centered-content block */
     align-items: center; /* Vertically align items (the centered block) */
     padding: 0 15px; /* Add horizontal padding */
     min-height: 80px; /* Ensure minimum height for vertical centering */
}

/* Mobile Centered Content Wrapper (Logo and Slogan) */
.mobile-centered-content {
    display: flex;
    flex-direction: column; /* Stack logo and slogan vertically */
    align-items: center; /* Center children (logo and slogan) horizontally */
    text-align: center; /* Center text within the block */
    flex-grow: 1; /* Allow this block to take available space */
    /* margin-left handled by hamburger positioning causing offset */
    margin-left: 30px; /* Add left margin to make space for the hamburger icon */
}


/* Desktop Header Container (Hidden by default, visible on desktop) */
.header-desktop {
     width: 100%;
     max-width: 1200px; /* Limit width for desktop content */
     margin: 0 auto; /* Center the desktop content block */
     display: none; /* Hidden by default */
     align-items: center; /* Vertically align items */
     justify-content: space-between; /* Space out logo, nav, phone */
     padding: 0 20px; /* Add horizontal padding on desktop */
}

/* --- Header Logo Styles --- */
#site-header .logo {
     background-color: transparent; /* Remove the background */
     padding: 0; /* Remove padding */
     margin: 0; /* Remove default margin */
     flex-shrink: 0; /* Prevent logo from shrinking */
}

/* Style for Logo Links */
#site-header .logo a {
    text-decoration: none; /* Removes the default underline from links */
    display: block; /* Ensures the link behaves like a block, filling its container (the image size) */
    line-height: 0; /* Prevents extra space that browsers might add below an inline element like <img> within a link */
}

/* Mobile Logo Specific Style */
#site-header .mobile-logo img {
    width: 180px; /* Adjusted width */
    height: auto;
    display: block; /* Ensure no extra space below image */
    margin: 0 auto; /* Center the logo within its flex column container */
}

/* Desktop Logo Specific Style */
#site-header .desktop-logo img {
    width: 300px; /* Slightly larger desktop logo */
    height: auto;
    display: block;
}

.cars img{
    width: 100%; /* Responsive car image */
    height: auto; /* Maintain aspect ratio */
    max-width: 70%; /* Limit max width to 180px */
    display: block; /* Ensure no extra space below image */
    margin: 0 auto; /* Center the logo */
}
/* Site Slogan (within mobile-centered-content) */
.site-slogan {
    font-size: 16px;
    margin-top: 5px; /* Space below the logo */
    margin-bottom: 0; /* Remove default margin */
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    font-weight: 400;
     padding: 0; /* Remove horizontal padding here, handled by wrapper */
    /* flex-grow: 1; Removed flex-grow here, applied to wrapper */
    text-align: center; /* Center slogan text within its flex area */
}

/* Desktop Header Navigation (within header-desktop) */
.header-nav ul {
    list-style: none;
    display: flex;
    gap: 25px; /* Space between menu items */
    margin: 0;
    padding: 0;
}

.header-nav li {
    margin: 0;
    padding: 0;
    /* Remove border-bottom from mobile menu */
     border-bottom: none;
}

.header-nav a {
    display: block;
    padding: 10px 0; /* Padding above/below link text */
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
     position: relative; /* Needed for underline effect */
     overflow: hidden; /* Hide animated underline overflow */
}

.header-nav a:hover {
    color: #f0f4f8; /* Lighter color on hover */
}

/* Simple animated underline */
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.3s ease-out; /* Slide in animation */
}

.header-nav a:hover::after {
    transform: translateX(0); /* Slide in from the left */
}


/* Desktop Header Phone Number (within header-desktop) */
.header-phone {
    flex-shrink: 0; /* Prevent phone number from shrinking */
}

.header-phone a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-phone a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}


/* --- Hamburger Menu Styles (Mobile Only) --- */
/* This needs to be positioned relative to the mobile header container */
.hamburger-icon {
    position: absolute; /* Position absolute within the .header-mobile flex container */
    top: 50%; /* Center vertically */
    left: 15px; /* Distance from the left edge of .header-mobile */
    transform: translateY(-50%); /* Adjust vertical position to truly center */
    width: 30px;
    height: 20px;
    display: flex; /* Display Flex by default (mobile) */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    /* === CHANGED: Increase z-index === */
    z-index: 1001; /* Higher than fixed header (1000) to be clickable */
    transition: transform 0.3s ease;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white; /* White icon on the colored header */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Optional: Add hover effect */
.hamburger-icon:hover span {
    background-color: #ccc; /* Lighter grey on hover */
}

/* Animation for closing icon (optional) */
.hamburger-icon.is-active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-icon.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-icon.is-active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* --- Slide Menu Styles (Mobile Only) --- */
.slide-menu {
    /* === CHANGED: Ensure fixed positioning === */
    position: fixed;
    top: 0; /* Align with top of viewport */
    left: 0;
    width: 250px;
    height: 100%;
    background-color: #5c0f8b; /* Primary Purple background */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    /* === CHANGED: Adjust z-index - Ensure menu is above header === */
    z-index: 1001; /* Higher than fixed header (1000) */
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-250px);
    /* === MODIFIED: Padding-top to match body padding below header === */
    /* This will push menu content down below the header area */
    padding-top: 70px; /* Base value matching body padding */
    display: block; /* Hidden by default on desktop via media query */
}

.slide-menu.is-open {
    transform: translateX(0);
}

.slide-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-menu li:last-child {
    border-bottom: none;
}

.slide-menu a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.slide-menu a:hover {
    background-color: #4a0c70;
}

/* Optional: Add an overlay behind the menu when open */
body.menu-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998; /* Below slide menu (1001) and header (1000) */
    pointer-events: auto;
}

/* --- Utility Class --- */
.hidden {
    display: none !important;
}


/* --- Page Container --- */
.page-container {
    max-width: 1000px;
    margin: 0 auto 30px auto; /* Bottom margin for space before footer/contact */
    padding: 20px 15px 0 15px; /* Adds space above the *first element* inside the container, after body padding */
    position: relative;
    z-index: 1; /* Ensure page content is below the header/menu */
    /* The body padding-top pushes this container down below the header */
}

/* Page-Specific Title (inside page-container) */
.page-title {
     font-size: 24px; /* Larger font for page title */
     color: #333; /* Dark grey */
     /* === MODIFIED: Add top margin to the title within the container (mobile first). Adds space after page-container padding === */
     margin-top: 25px; /* Keep this margin for mobile */
     margin-bottom: 20px; /* Space above the main content */
     font-weight: 600;
     text-align: center; /* Center the page title */
}


/* --- Calculator Page Specific Styles --- */
.price-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.price-section label {
    display: block;
    font-size: 14px;
    color: #747679;
    margin-bottom: 5px;
}
.price-display {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: #5c0f8b;
    margin-bottom: 15px;
}

.slider-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 80%;
    margin: 0 auto;
}

.slider-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #5c0f8b;
    color: white;
    border: none;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 0;
    user-select: none;
    flex-shrink: 0;
}

.slider-button:hover {
    background-color: #4a0c70;
}

.slider-button:active {
    transform: scale(0.95);
}

/* Styles for the range input slider */
#vehicle-price-slider,
.slider-group input[type="range"] {
    flex: 1;
    margin-bottom: 5px;
    height: 6px;
    cursor: pointer;
    appearance: none;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

/* Slider Thumb (Chrome, Safari, Edge, Opera) */
.slider-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #a8005c;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
}
/* Slider Track (Chrome, Safari, Edge, Opera) */
.slider-group input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(to right, #5c0f8b, #5c0f8b var(--value-percent, 0%), #e0e0e0 var(--value-percent, 0%));
    border-radius: 3px;
}
/* Slider Thumb (Firefox) */
.slider-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #a8005c;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
/* Slider Track (Firefox) */
.slider-group input[type="range"]::-moz-range-track {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
}
/* Filled track for Firefox (needs separate rule) */
.slider-group input[type="range"]::-moz-range-progress {
    background-color: #5c0f8b;
    height: 6px;
    border-radius: 3px;
}


.slider-ticks {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    font-size: 12px;
    color: #747679;
}


/* Calculator Card */
.calculator-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    border-top: 4px solid #5c0f8b;
    position: relative;
    z-index: 2;
}
.calculator-body {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}
.inputs {
    flex: 1;
    min-width: 300px;
}
.outputs {
    flex-basis: 340px;
    text-align: right;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
    padding-left: 40px;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.input-group select,
.input-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}
.input-group select {
     appearance: none;
     background-color: #fff;
     background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235c0f8b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
     background-repeat: no-repeat;
     background-position: right 10px center;
     background-size: 10px auto;
     padding-right: 30px;
}
.input-group input[type="text"].input-linked,
#extra-payment {
    text-align: right;
    font-weight: 600;
}

/* Slider Group specific layout adjustments */
.slider-group {
    position: relative;
}

/* Helper text/display for sliders */
.balloon-note { display: block; font-size: 12px; color: #747679; margin-top: 8px; }
.slider-value-display { position: absolute; top: 0; right: 0; font-size: 12px; color: #747679; font-weight: normal; }


/* Calculator Outputs */
.output-item { margin-bottom: 20px; }
.output-item .label { display: block; font-size: 14px; color: #747679; margin-bottom: 5px; }
.main-repayment .value { font-size: 42px; font-weight: 600; color: #5c0f8b; line-height: 1.1; }
.main-repayment .cents { font-size: 0.5em; vertical-align: super; }
.output-summary { margin-top: 20px; margin-bottom: 20px; border-top: 1px solid #eee; padding-top: 20px; }
.summary-item {
    display: flex; /* This makes labels and values/inputs line up */
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    flex-wrap: nowrap;
    align-items: center; /* Vertically align items in summary rows */
}
.summary-item span {
    color: #747679;
    white-space: nowrap;
    margin-right: 10px;
    flex-shrink: 0;
    text-align: left; /* Ensure label text aligns left */
}
.summary-item strong {
    color: #333;
    font-weight: 600;
    text-align: right; /* Ensure strong value text aligns right */
    white-space: nowrap;
}
#interest-amount { color: #fa4d96; }
.interest-savings strong { color: #28a745; font-weight: 600; }


/* Additional expenses section styling */
.additional-expenses {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.additional-expenses h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: right; /* Align header right on large screens */
}

/* Styling for the expense input fields */
.expense-input {
    width: 100px; /* Default width on large screens */
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    text-align: right; /* Ensure text inside input is right-aligned */
    font-weight: 600;
    box-sizing: border-box;
    min-width: 0;
}

/* Total monthly cost section */
.total-monthly-cost {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 15px;
}

.total-cost-item strong {
    font-size: 16px;
    color: #5c0f8b !important;
}

.total-cost-note {
    display: block;
    font-size: 11px;
    color: #747679;
    text-align: right;
    margin-top: 5px;
}


.cta-button {
    background-color: #a8005c;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 20px; /* Increased margin to separate from summary */
    margin-bottom: 15px; /* Space below CTA before the new button */
}
.cta-button:hover { background-color: #8f004d; }
.cta-button .arrow { margin-left: 10px; font-weight: bold; }

/* Style for the Credit Report Button */
.credit-report-button {
    background-color: transparent; /* Transparent background */
    color: #5c0f8b; /* Text color: Primary Purple */
    border: 2px solid #5c0f8b; /* Border: Primary Purple */
    padding: 12px 20px; /* Same padding as CTA */
    border-radius: 25px; /* Same rounded corners as CTA */
    font-size: 16px; /* Same font size as CTA */
    font-weight: 600; /* Same font weight as CTA */
    cursor: pointer;
    transition: all 0.2s ease; /* Transition for hover */
    width: 100%; /* Full width like CTA */
    text-align: center; /* Center text */
    text-decoration: none; /* No underline */
    display: block; /* Block level element */
    margin-top: 15px; /* Space above it */
    margin-bottom: 15px; /* Space below it */
}

.credit-report-button:hover {
    background-color: #5c0f8b; /* Hover background: Primary Purple */
    color: white; /* Hover text color: White */
}
.credit-report-button:active {
     transform: scale(0.98); /* Subtle press effect */
}


.reset-link {
    background: none;
    border: none;
    color: #5c0f8b;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    margin-top: 15px; /* Space above it */
    text-align: right;
    display: block;
}
.reset-link:hover { color: #4a0c70; }


/* --- Amortisation Section Styles (Calculator Page) --- */
.amortisation-section {
    clear: both;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}

/* .toggle-button style defined below */

#amortisation-schedule h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

#amortisation-schedule table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
    min-width: 600px;
}

#amortisation-schedule th,
#amortisation-schedule td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: right;
    white-space: nowrap;
}

#amortisation-schedule th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #444;
    text-align: center;
}

#amortisation-schedule td:first-child {
    text-align: center;
}

#amortisation-schedule tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}


/* --- Summary Page Specific Styles --- */
.summary-content-area {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Corrected shadow */
    margin-top: 20px; /* Space below page title */
    position: relative;
    z-index: 2;
}

.summary-content-area h2 {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
}

.summary-content-area .pdf-section h3 {
    color: #5c0f8b;
    font-size: 12.5pt;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-weight: bold;
}
.summary-content-area .pdf-section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    line-height: 1.65;
}
.summary-content-area .pdf-section li {
    margin-bottom: 7px;
    border-bottom: 1px dotted #f0f0f0;
    padding-bottom: 7px;
    display: flex; /* Use flex */
    justify-content: space-between;
    align-items: baseline;
}
.summary-content-area .pdf-section li:last-child {
    border-bottom: none;
}
.summary-content-area .pdf-section li strong {
    color: #333;
    margin-right: 10px;
    flex-shrink: 0;
    font-weight: normal;
} /* Label */
.summary-content-area .pdf-section li span {
    text-align: right;
    color: #000;
    font-weight: bold;
    word-break: break-word;
} /* Value */
.summary-content-area .pdf-section li small {
    font-weight: normal;
    color: #666;
    font-size: 9pt;
    margin-left: 5px;
} /* Small notes */

/* Hide elements with class 'nophone' on mobile */
.nophone {
    /* Default: visible */
}


/* Footer styles within the summary content */
.summary-content-area .summary-footer {
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
    font-size: 9pt;
    color: #555;
    line-height: 1.5;
    text-align: justify;
}

.summary-content-area .summary-footer strong {
    color: #5c0f8b !important;
    text-decoration: none !important;
    cursor: text !important;
}

.summary-content-area .summary-footer strong a.mail {
    color: #5c0f8b !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
.summary-content-area .summary-footer strong a.mail:hover {
    text-decoration: underline !important;
}


div .summary-disclaimer {
    font-size: 8.5pt;
    color: #5c0f8b;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}
.summary-content-area .summary-copyright {
    font-size: 9pt;
    color: #777;
    text-align: center;
    margin-top: 25px;
}


/* --- Blog Page Specific Styles --- */
.blog-container {
    max-width: 1000px;
    margin: 0 auto 30px auto;
    padding: 0 15px;
}

.blog-header {
    text-align: center;
    margin-bottom: 30px;
}

.blog-header h2 {
    color: #5c0f8b;
    margin-bottom: 10px;
}


.blog-header p {
    color: #747679;
    font-size: 16px;
}

.blog-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button {
    background-color: #f0f4f8;
    border: 1px solid #ddd;
    color: #5c0f8b;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-button:hover, .filter-button.active {
    background-color: #5c0f8b;
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 180px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Container for blog tags */
.blog-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.blog-tag {
    display: inline-block;
    background-color: #f0f4f8;
    color: #5c0f8b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.blog-title {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
}

.blog-excerpt {
    color: #747679;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.read-more {
    color: #a8005c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.read-more:hover {
    text-decoration: underline;
}

.featured-article {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

.featured-article .blog-image {
    height: 300px;
}

.featured-article .blog-content {
    padding: 25px;
}

.featured-article .blog-title {
    font-size: 24px;
}

.featured-tag {
    background-color: #a8005c;
    color: white;
}

.newsletter-section {
    background-color: #f0f4f8;
    padding: 40px;
    border-radius: 8px;
    margin: 50px auto;
    text-align: center;
    max-width: 600px;
}

.newsletter-section h2 {
    color: #5c0f8b;
    margin-bottom: 15px;
}

.newsletter-section p {
    color: #747679;
    margin-bottom: 20px;
}

/* Adjustments for cta-button within the newsletter section */
.newsletter-section .cta-button {
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 400px;
    margin: 20px auto 0 auto;
}


/* --- Toggle Button --- */
.toggle-button {
    background-color: #a8005c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    display: block;
    width: auto;
    margin: 0 auto 20px auto;
    text-align: center;
}

.toggle-button:hover {
    background-color: #8f004d;
}


/* --- Full Article Display Styles (Blog Page) --- */
#full-article-display {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

#full-article-display .full-article-content-wrapper {
    padding: 20px;
}

#full-article-display #full-article-image {
    height: 350px;
    margin-bottom: 20px;
    border-radius: 4px;
}

#full-article-display .full-article-body {
    /* Contains title, meta, and content */
}

#full-article-display #full-article-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

#full-article-display .full-article-meta {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    border-top: none;
    padding-top: 0;
    margin-bottom: 20px;
    color: #747679;
    font-size: 14px;
}

#full-article-display .full-article-meta span {
     color: #747679;
}

#full-article-display #full-article-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 5px;
}

#full-article-display #full-article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

/* Basic styles for HTML content within #full-article-content */
#full-article-display #full-article-content p { margin-bottom: 1em; }
#full-article-display #full-article-content h3 {
    font-size: 1.3em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #5c0f8b;
    font-weight: 600;
}
#full-article-display #full-article-content ul,
#full-article-display #full-article-content ol {
    margin-bottom: 1em;
    padding-left: 20px;
}
#full-article-display #full-article-content li {
    margin-bottom: 0.5em;
}
#full-article-display #full-article-content a {
    color: #a8005c;
    text-decoration: underline;
}
#full-article-display #full-article-content a:hover {
     text-decoration: none;
}

/* Styles for the "Back to Blog" buttons */
#full-article-display .toggle-button {
    margin: 10px auto;
    width: auto;
    padding: 10px 20px;
}

#back-to-blog { margin-bottom: 20px; }
#back-to-blog-bottom { margin-top: 20px; }


/* --- Read Aloud Player Styles --- */
.read-aloud-player {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    justify-content: center;
    gap: 20px;
}

.read-aloud-player .player-button {
    background: none;
    border: none;
    color: #5c0f8b;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    outline: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-aloud-player .player-button:hover {
    color: #4a0c70;
}

.read-aloud-player .player-button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.read-aloud-player .player-icon {
    display: block;
}


/* --- Text Highlighting Style --- */
.highlighted-paragraph {
    background-color: #e0f7fa;
    padding: 5px 8px;
    margin: -5px -8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}


/* --- Contact Buttons & Windows Container --- */
#contact-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* === CHANGED: Adjust z-index === */
    z-index: 1000; /* Ensure its above content, align with header */
    font-family: inherit;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Container for the trigger buttons/icons */
#contact-triggers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Style for the WhatsApp trigger icon */
#whatsapp-trigger-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: block;
}

#whatsapp-trigger-icon:hover {
    transform: scale(1.05);
}


/* --- Chatbot Styles --- */
#chatbot-trigger {
    background-color: #4b2884;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    outline: none;
    transition: background-color 0.3s ease;
    display: block;
}

#chatbot-trigger:hover {
    background-color: #3a1f6b;
}

#chat-window,
#whatsapp-window {
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


#chat-header,
#whatsapp-header {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    position: relative;
    font-size: 15px;
}

#chat-close,
#whatsapp-close {
     position: absolute;
     right: 10px;
     top: 50%;
     transform: translateY(-50%);
     font-size: 18px;
     font-weight: bold;
     color: #555;
     cursor: pointer;
}

#chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f9f9f9;
    height: 100%;
}
#chat-messages::-webkit-scrollbar {
    width: 8px;
}
#chat-messages::-webkit-scrollbar-track {
    background: #f9f9f9;
}
#chat-messages::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
    border: 2px solid #f9f9f9;
}


.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 13px;
}

.bot-message {
    background-color: #e9e9eb;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: #4b2884;
    color: white;
    align-self: flex-end;
    text-align: left;
    border-bottom-right-radius: 0;
}

#chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
    flex-shrink: 0;
}

#user-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 14px;
    outline: none;
}

#send-button {
    padding: 8px 15px;
    background-color: #5c0f8b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

#send-button:hover {
    background-color: #c20ead;
}

/* Style for links inside bot messages */
.bot-message a {
    color: #5c0f8b;
    text-decoration: none;
    font-weight: bold;
}

.bot-message a:hover {
    text-decoration: underline;
}
/* Slowing down chatbot response */
.typing-indicator {
    display: inline-block;
    font-size: 14px;
    color: #888;
    animation: pulse 1.3s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}


/* --- WhatsApp Window Styles --- */

#whatsapp-window {
     flex-direction: column;
}

#whatsapp-window .whatsapp-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow-y: auto;
    height: 100%;
    background: url('https://theabbie.github.io/blog/assets/official-whatsapp-background-image.jpg') center center / cover;
}


#whatsapp-window form {
     display: flex;
     flex-direction: column;
     justify-content: center;
     width: 100%;
     max-width: 250px;
     padding: 10px;
     background-color: rgba(255, 255, 255, 0.8);
     border-radius: 8px;
}

/* Specific input styles */
#whatsapp-window form input,
#whatsapp-window form textarea {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: 0.3s;
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
}
#whatsapp-window form input[type="text"],
#whatsapp-window form input[type="email"] {
     border-color: green;
     background-color: lightgreen;
}
#whatsapp-window form textarea {
     border-color: cyan;
     background-color: lightcyan;
}


/* Focus styles */
#whatsapp-window form input:focus,
#whatsapp-window form textarea:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 100, 0, 0.5);
}
#whatsapp-window form textarea:focus {
     box-shadow: 0 0 5px rgba(0, 150, 150, 0.5);
}

/* Button container */
#whatsapp-window form #btn {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Button styles */
#whatsapp-window form #btn button {
    background-color: darkgreen;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
#whatsapp-window form #btn button:hover {
     background-color: #006400;
}


/* --- Footer --- */
footer {
    text-align: center;
    font-size: 12px;
    margin-top: 40px;
    padding: 20px 0;
    color: #999;
}

.mail:link, .mail:visited {
    text-decoration: none;
    color: #5c0f8b;
}
.mail:hover {
    text-decoration: underline;
}
/* Car Search Platforms Section */
.car-search-section {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.car-search-section h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.car-search-section p {
    font-size: 15px;
    color: #747679;
    margin-bottom: 25px;
    line-height: 1.5;
}

.search-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
}

.search-partners-grid a {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.search-partners-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-partners-grid img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 120px;

    filter: grayscale(100%);
    transition: filter 0.3s ease;
    opacity: 0.7;
}

.search-partners-grid a:hover img {
    filter: grayscale(0%);
    opacity: 1;
}


/* --- Responsive Adjustments --- */

/* --- Tablet and Desktop Styles (>= 768px) --- */
@media (min-width: 768px) {
     /* === MODIFIED: Adjust body padding for desktop header height + buffer === */
     body {
          padding-top: 90px; /* Desktop header height (~80px) + buffer */
     }

     /* Hide Mobile Header Content */
     .header-mobile { display: none; }
     /* Show Desktop Header Content */
     .header-desktop { display: flex; }

     /* Adjust Site Header Padding/Height for Desktop */
      #site-header {
          padding: 10px 0;
          min-height: 60px; /* This plus padding makes it ~80px tall */
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          /* Fixed position inherited */
      }

      /* Ensure header stretches full width */
      #site-header > .header-desktop {
          width: 100%;
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;
      }

     /* Desktop Logo alignment */
     #site-header .desktop-logo { margin-right: 30px; }
     #site-header .desktop-logo img { width: 350px; }

     /* Desktop Navigation Styling */
     .header-nav { flex-grow: 1; text-align: center; }
     .header-nav ul { justify-content: center; }

     /* Desktop Phone Number alignment */
     .header-phone { margin-left: 30px; }

     /* Hide Mobile-Specific Slide Menu */
     .slide-menu { display: none; }

     /* Hide Hamburger Icon on Desktop */
     .hamburger-icon { display: none; }

     /* Page container padding */
     .page-container { padding: 20px 15px 0 15px; } /* Keep consistent - provides space within container */

     /* === MODIFIED: Reduce top margin on page title for desktop === */
     /* Relies on page-container padding-top for space after body padding */
     .page-title {
         margin-top: 0; /* Reduce margin above title on desktop */
     }


     /* Calculator adjustments */
      .price-section { padding: 20px; margin-bottom: 25px; }
      .price-display { font-size: 28px; margin-bottom: 15px; }
      .slider-control { width: 80%; gap: 10px; }
      .slider-ticks { width: 80%; }
      .calculator-card { padding: 30px 40px; }
      .input-group { margin-bottom: 25px; }
      .output-item { margin-bottom: 20px; }
      .main-repayment .value { font-size: 42px; }
      .output-summary { margin-top: 20px; margin-bottom: 20px; padding-top: 20px; }
      .summary-item { font-size: 14px; margin-bottom: 10px; }
      .summary-item span { margin-right: 10px; }
      .expense-input { width: 100px; padding: 4px 8px; }
      .additional-expenses { margin-top: 20px; padding-top: 20px; }
      .additional-expenses h3 { text-align: right; }
      .total-monthly-cost { margin-top: 20px; padding-top: 15px; margin-bottom: 15px; }
      .cta-button { margin-top: 20px; padding: 12px 20px; font-size: 16px; }
      .credit-report-button { margin-top: 15px; margin-bottom: 15px; padding: 12px 20px; font-size: 16px; }
      .reset-link { margin-top: 15px; font-size: 12px; text-align: right; }
      .amortisation-section { padding-top: 30px; margin-top: 30px; }
      #amortisation-schedule table { font-size: 0.9em; }
      #amortisation-schedule th, #amortisation-schedule td { padding: 8px 10px; }

     /* Summary adjustments */
      .summary-content-area { padding: 40px; margin-top: 20px; }
      .summary-content-area h2 { font-size: 18pt; margin-bottom: 20px; padding-bottom: 8px; }
      .summary-content-area .pdf-section h3 { font-size: 12.5pt; margin-top: 20px; margin-bottom: 10px; padding-bottom: 5px; }
      .summary-content-area .pdf-section li { font-size: 14px; margin-bottom: 7px; padding-bottom: 7px; }
      .summary-content-area .summary-footer { margin-top: 35px; padding-top: 15px; font-size: 9pt; }
      .summary-content-area .summary-copyright { margin-top: 25px; }
      .nophone { display: inline; }

     /* Blog adjustments */
      .blog-container { margin: 0 auto 30px auto; padding: 0 15px; }
      .blog-filter { display: flex; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
      .filter-button { padding: 8px 15px; font-size: 14px; }
      .blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
      .blog-image { height: 180px; }
      .blog-content { padding: 20px; }
      .blog-tags-container { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
      .blog-tag { display: inline-block; background-color: #f0f4f8; color: #5c0f8b; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
      .blog-title { color: #333; font-size: 18px; margin-bottom: 10px; line-height: 1.3; font-weight: 600; }
      .blog-excerpt { color: #747679; font-size: 14px; margin-bottom: 15px; line-height: 1.5; flex-grow: 1; }
      .blog-meta { display: flex; justify-content: space-between; color: #999; font-size: 12px; border-top: 1px solid #eee; padding-top: 15px; margin-top: auto; }
      .read-more { color: #a8005c; text-decoration: none; font-weight: 600; font-size: 14px; display: inline-block; margin-top: 10px; cursor: pointer; }
      .read-more:hover { text-decoration: underline; }
      .featured-article { grid-column: 1 / -1; display: flex; flex-direction: column; }
      .featured-article .blog-image { height: 300px; }
      .featured-article .blog-content { padding: 25px; }
      .featured-article .blog-title { font-size: 24px; }
      .featured-tag { background-color: #a8005c; color: white; }
      .newsletter-section { background-color: #f0f4f8; padding: 40px; border-radius: 8px; margin: 50px auto; text-align: center; max-width: 600px; }
      .newsletter-section h2 { color: #5c0f8b; margin-bottom: 15px; }
      .newsletter-section p { color: #747679; margin-bottom: 20px; }
      .newsletter-section .cta-button { padding-top: 10px; padding-bottom: 10px; max-width: 400px; margin: 20px auto 0 auto; }
      .full-article-content-wrapper { padding: 20px; }
      #full-article-display { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); padding: 20px; margin-bottom: 30px; position: relative; z-index: 2; }
      #full-article-display #full-article-image { height: 350px; margin-bottom: 20px; border-radius: 4px; }
      #full-article-display #full-article-title { font-size: 28px; margin-bottom: 10px; color: #333; font-weight: 700; }
      #full-article-display .full-article-meta { display: flex; justify-content: flex-start; gap: 15px; border-top: none; padding-top: 0; margin-bottom: 20px; color: #747679; font-size: 14px; }
      #full-article-display .full-article-meta span { color: #747679; }
      #full-article-display #full-article-tags { display: flex; flex-wrap: wrap; gap: 5px; }
      #full-article-display #full-article-content { font-size: 16px; line-height: 1.7; color: #333; margin-bottom: 20px; }
      #full-article-display #full-article-content p { margin-bottom: 1em; }
      #full-article-display #full-article-content h3 { font-size: 1.3em; margin-top: 1.5em; margin-bottom: 0.8em; color: #5c0f8b; font-weight: 600; }
      #full-article-display #full-article-content ul, #full-article-display #full-article-content ol { margin-bottom: 1em; padding-left: 20px; }
      #full-article-display #full-article-content li { margin-bottom: 0.5em; }
      #full-article-display #full-article-content a { color: #a8005c; text-decoration: underline; }
      #full-article-display #full-article-content a:hover { text-decoration: none; }
      #full-article-display .toggle-button { margin: 10px auto; width: auto; padding: 10px 15px; }
      .read-aloud-player { display: flex; align-items: center; margin: 20px 0; padding: 10px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; justify-content: center; gap: 20px; }
      .read-aloud-player .player-button { background: none; border: none; color: #5c0f8b; cursor: pointer; font-size: 20px; padding: 0; outline: none; transition: color 0.2s ease; display: flex; align-items: center; justify-content: center; }
      .read-aloud-player .player-button:hover { color: #4a0c70; }
      .read-aloud-player .player-button:disabled { color: #ccc; cursor: not-allowed; }
      .read-aloud-player .player-icon { display: block; }
      .highlighted-paragraph { background-color: #e0f7fa; padding: 5px 8px; margin: -5px -8px; border-radius: 4px; transition: background-color 0.3s ease; }

     /* Contact Buttons & Windows - Position remains fixed */

     /* Car Search Section */
      .car-search-section { padding: 30px; margin-top: 30px; }
      .car-search-section h2 { font-size: 22px; }
      .car-search-section p { font-size: 15px; margin-bottom: 25px; }
      .search-partners-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 25px; justify-items: center; align-items: center; }
      .search-partners-grid a { display: block; width: 100%; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; padding: 10px; border-radius: 5px; text-align: center; }
      .search-partners-grid a:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
      .search-partners-grid img { display: block; width: 100%; height: auto; max-width: 120px; filter: grayscale(100%); transition: filter 0.3s ease; opacity: 0.7; }
      .search-partners-grid a:hover img { filter: grayscale(0%); opacity: 1; }

     /* Footer adjustments */
      footer { text-align: center; font-size: 12px; margin-top: 40px; padding: 20px 0; color: #999; }

} /* End @media (min-width: 768px) */


/* --- Mobile Styles (< 768px) --- */
@media (max-width: 767.98px) {
    /* === MODIFIED: Ensure mobile body padding matches header height + buffer === */
    body {
        padding-top: 110px; /* Header (~80px) + buffer */
    }
    /* === MODIFIED: Adjust slide menu padding-top to match new body padding === */
    .slide-menu {
        padding-top: 110px;
    }

    /* Show Mobile Header Content */
    .header-mobile {
         display: flex;
         flex-direction: row;
         justify-content: center;
         align-items: center;
         position: relative;
         padding: 15px;
         min-height: 80px;
         /* Fixed position inherited via #site-header */
    }

    /* Styles for the mobile-centered-content wrapper */
    .mobile-centered-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-grow: 1;
        /* margin-left handled by hamburger */
    }

    /* Hide Desktop Header Content */
    .header-desktop { display: none; }

    /* Adjust Site Header Padding/Height for Mobile */
    #site-header {
        padding: 0; /* Padding on header-mobile */
        min-height: 80px;
        /* Fixed position inherited */
    }

    /* Mobile Logo Specific Style */
    #site-header .mobile-logo img { width: 180px; }
    /* Mobile Slogan */
    .site-slogan { display: block; margin-top: 5px; padding: 0; }

    /* Hamburger Icon (Visible on mobile) */
     .hamburger-icon {
         display: flex;
         position: absolute;
         top: 50%;
         left: 15px;
         transform: translateY(-50%);
         width: 30px;
         height: 20px;
         /* z-index inherited */
     }

    /* Slide Menu (Visible on mobile) */
     .slide-menu {
         display: block;
         width: 250px;
         transform: translateX(-250px);
         /* padding-top adjusted above */
         /* z-index adjusted above */
     }
     .slide-menu.is-open { transform: translateX(0); }
     .slide-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
     .slide-menu a { padding: 15px 25px; }

    /* Hide Desktop Navigation and Phone */
     .header-nav, .header-phone { display: none; }

     /* Page container padding */
     .page-container { padding: 20px 15px 0 15px; } /* Keep consistent - provides space within container */

     /* page-title margin-top inherited from base rule (25px) */


     /* Calculator adjustments */
      .price-section { padding: 15px; margin-bottom: 20px; }
      .price-display { font-size: 24px; margin-bottom: 10px; }
      .slider-control { width: 95%; gap: 8px; }
      .slider-ticks { width: 95%; }
      .calculator-card { padding: 20px; }
      .input-group { margin-bottom: 20px; }
      .output-item { margin-bottom: 15px; }
      .main-repayment .value { font-size: 36px; }
      .output-summary { margin-top: 15px; margin-bottom: 15px; padding-top: 15px; }
      .summary-item { font-size: 13px; margin-bottom: 8px; flex-wrap: wrap; }
      .summary-item span { margin-right: 8px; flex-basis: auto; }
      .summary-item strong, .expense-input { text-align: right; margin-left: auto; flex-shrink: 0; white-space: nowrap; }
      .expense-input { width: auto; max-width: 100px; min-width: 60px; padding: 4px 4px 4px 8px; }
      .additional-expenses h3 { text-align: left; }
      .total-monthly-cost { margin-top: 15px; padding-top: 10px; margin-bottom: 10px; }
      .cta-button { margin-top: 15px; padding: 10px 15px; font-size: 14px; }
      .credit-report-button { margin-top: 15px; margin-bottom: 15px; padding: 10px 15px; font-size: 14px;}
      .reset-link { margin-top: 10px; font-size: 11px; text-align: left; }
      .amortisation-section { padding-top: 20px; margin-top: 20px; }
      #amortisation-schedule table { font-size: 0.85em; min-width: 500px; }
      #amortisation-schedule th, #amortisation-schedule td { padding: 6px 8px; }

     /* Summary adjustments */
      .summary-content-area { padding: 15px; margin-top: 15px; }
      .summary-content-area h2 { font-size: 16pt; margin-bottom: 15px; padding-bottom: 5px; }
      .summary-content-area .pdf-section h3 { font-size: 11pt; margin-top: 15px; margin-bottom: 8px; padding-bottom: 3px; }
      .summary-content-area .pdf-section li { font-size: 12px; margin-bottom: 5px; padding-bottom: 5px; }
      .summary-content-area .summary-footer { margin-top: 20px; padding-top: 10px; font-size: 8pt; }
      .summary-content-area .summary-copyright { margin-top: 25px; }
      .nophone { display: none; }

     /* Blog adjustments */
      .blog-container { margin: 0 auto 20px auto; padding: 0 10px; }
      .blog-filter { display: flex; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
      .filter-button { padding: 6px 12px; font-size: 13px; }
      .blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
      .blog-image { height: 160px; }
      .blog-content { padding: 15px; }
      .blog-tags-container { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
      .blog-tag { display: inline-block; background-color: #f0f4f8; color: #5c0f8b; padding: 3px 8px; border-radius: 20px; font-size: 11px; }
      .blog-title { color: #333; font-size: 16px; margin-bottom: 8px; line-height: 1.3; font-weight: 600; }
      .blog-excerpt { color: #747679; font-size: 13px; margin-bottom: 10px; line-height: 1.5; flex-grow: 1; }
      .blog-meta { display: flex; justify-content: space-between; color: #999; font-size: 11px; border-top: 1px solid #eee; padding-top: 10px; margin-top: auto; gap: 10px;}
      .read-more { color: #a8005c; text-decoration: none; font-weight: 600; font-size: 13px; display: inline-block; margin-top: 8px; cursor: pointer; }
      .read-more:hover { text-decoration: underline; }
      .featured-article { grid-column: 1 / -1; display: flex; flex-direction: column; }
      .featured-article .blog-image { height: 250px; }
      .featured-article .blog-content { padding: 20px; }
      .featured-article .blog-title { font-size: 20px; }
      .newsletter-section { background-color: #f0f4f8; padding: 30px 20px; border-radius: 8px; margin: 30px auto; text-align: center; max-width: 600px; }
      .newsletter-section h2 { color: #5c0f8b; margin-bottom: 15px; font-size: 20px; }
      .newsletter-section p { color: #747679; margin-bottom: 20px; font-size: 14px; }
      .newsletter-section .cta-button { padding-top: 8px; padding-bottom: 8px; max-width: 400px; margin: 15px auto 0 auto; font-size: 14px; }
      .full-article-content-wrapper { padding: 15px; }
      #full-article-display { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); padding: 15px; margin-bottom: 20px; position: relative; z-index: 2; }
      #full-article-display #full-article-image { height: 250px; margin-bottom: 15px; border-radius: 4px; }
      #full-article-display #full-article-title { font-size: 22px; margin-bottom: 8px; color: #333; font-weight: 700; }
      #full-article-display .full-article-meta { display: flex; justify-content: flex-start; gap: 10px; border-top: none; padding-top: 0; margin-bottom: 15px; color: #747679; font-size: 13px; }
      #full-article-display .full-article-meta span { color: #747679; }
      #full-article-display #full-article-tags { display: flex; flex-wrap: wrap; gap: 5px; }
      #full-article-display #full-article-content { font-size: 15px; line-height: 1.6; color: #333; margin-bottom: 15px; }
      #full-article-display #full-article-content p { margin-bottom: 1em; }
      #full-article-display #full-article-content h3 { font-size: 1.2em; margin-top: 1em; margin-bottom: 0.5em; color: #5c0f8b; font-weight: 600; }
      #full-article-display #full-article-content ul, #full-article-display #full-article-content ol { margin-bottom: 1em; padding-left: 20px; }
      #full-article-display #full-article-content li { margin-bottom: 0.5em; }
      #full-article-display #full-article-content a { color: #a8005c; text-decoration: underline; }
      #full-article-display #full-article-content a:hover { text-decoration: none; }
      #full-article-display .toggle-button { margin: 10px auto; width: auto; padding: 8px 15px; font-size: 13px; }
      .read-aloud-player { display: flex; align-items: center; margin: 15px 0; padding: 8px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; justify-content: center; gap: 15px; }
      .read-aloud-player .player-button { background: none; border: none; color: #5c0f8b; cursor: pointer; font-size: 18px; padding: 0; outline: none; transition: color 0.2s ease; display: flex; align-items: center; justify-content: center; }
      .read-aloud-player .player-button:hover { color: #4a0c70; }
      .read-aloud-player .player-button:disabled { color: #ccc; cursor: not-allowed; }
      .read-aloud-player .player-icon { display: block; }

     /* Contact Buttons & Windows */
      #contact-container { bottom: 15px; right: 15px; gap: 8px; /* z-index inherited */ }
      #contact-triggers { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: auto; }
      #chat-window, #whatsapp-window { width: 280px; height: 350px; }
      #chat-header, #whatsapp-header { font-size: 14px; padding: 8px 10px; }
      #chat-close, #whatsapp-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: bold; color: #555; cursor: pointer; }
      #chat-messages { flex-grow: 1; padding: 8px; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: #ccc #f9f9f9; height: 100%; }
      #chat-messages::-webkit-scrollbar { width: 8px; }
      #chat-messages::-webkit-scrollbar-track { background: #f9f9f9; }
      #chat-messages::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 4px; border: 2px solid #f9f9f9; }
      .message { margin-bottom: 10px; padding: 6px; border-radius: 5px; max-width: 85%; word-wrap: break-word; line-height: 1.5; font-size: 12px; }
      .bot-message { background-color: #e9e9eb; align-self: flex-start; border-bottom-left-radius: 0; }
      .user-message { background-color: #4b2884; color: white; align-self: flex-end; text-align: left; border-bottom-right-radius: 0; }
      #chat-input-area { display: flex; padding: 8px; border-top: 1px solid #eee; background-color: #f9f9f9; flex-shrink: 0; }
      #user-input { flex-grow: 1; padding: 6px; border: 1px solid #ccc; border-radius: 4px; margin-right: 5px; font-size: 13px; outline: none; }
      #send-button { padding: 6px 10px; background-color: #5c0f8b; color: white; border: none; border-radius: 4px; cursor: pointer; outline: none; transition: background-color 0.3s ease; font-size: 14px; }
      #send-button:hover { background-color: #c20ead; }
      .bot-message a { color: #5c0f8b; text-decoration: none; font-weight: bold; }
      .bot-message a:hover { text-decoration: underline; }
      .typing-indicator { display: inline-block; font-size: 14px; color: #888; animation: pulse 1.3s infinite; }
      /* @keyframes pulse inherited */
      #whatsapp-window { flex-direction: column; }
      #whatsapp-window .whatsapp-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; overflow-y: auto; height: 100%; background: url('https://theabbie.github.io/blog/assets/official-whatsapp-background-image.jpg') center center / cover; }
      #whatsapp-window form { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 240px; padding: 8px; background-color: rgba(255, 255, 255, 0.8); border-radius: 8px; }
      #whatsapp-window form input, #whatsapp-window form textarea { padding: 8px 10px; border-radius: 4px; border: 1px solid #ccc; transition: 0.3s; width: 100%; margin-top: 8px; background-color: #fff; font-size: 13px; box-sizing: border-box; }
      #whatsapp-window form input[type="text"], #whatsapp-window form input[type="email"] { border-color: green; background-color: lightgreen; }
      #whatsapp-window form textarea { border-color: cyan; background-color: lightcyan; }
      #whatsapp-window form input:focus, #whatsapp-window form textarea:focus { outline: none; box-shadow: 0 0 5px rgba(0, 100, 0, 0.5); }
      #whatsapp-window form textarea:focus { box-shadow: 0 0 5px rgba(0, 150, 150, 0.5); }
      #whatsapp-window form #btn { display: flex; justify-content: center; margin-top: 15px; }
      #whatsapp-window form #btn button { background-color: darkgreen; padding: 12px 20px; border-radius: 8px; border: none; color: white; cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease; }
      #whatsapp-window form #btn button:hover { background-color: #006400; }

     /* Car Search Section */
      .car-search-section { padding: 20px; margin-top: 20px; }
      .car-search-section h2 { font-size: 20px; }
      .car-search-section p { font-size: 14px; margin-bottom: 20px; }
      .search-partners-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 20px; }
      .search-partners-grid a { padding: 8px; }
      .search-partners-grid img { max-width: 100px; }

     /* Footer */
     footer { margin-top: 20px; padding: 15px 0; font-size: 11px; }

} /* End @media (max-width: 767.98px) */


/* Further smaller screen adjustments */
@media (max-width: 650px) {
     /* General */
     /* === MODIFIED: Adjust body padding for header height + buffer === */
      body {
          padding-top: 80px; /* Header (~60px) + buffer */
      }
      /* === MODIFIED: Adjust slide menu padding-top to match new body padding === */
      .slide-menu {
          padding-top: 80px;
      }

      #site-header {
          min-height: 60px;
          padding: 5px 0; /* Reduce padding further */
      }
      .header-mobile {
          padding: 10px;
          min-height: 60px;
      }
     #site-header .mobile-logo img { width: 120px; }
     .site-slogan { font-size: 13px; margin-top: 4px; }

     .hamburger-icon {
        width: 25px;
        height: 16px;
        left: 10px;
     }
     .hamburger-icon span { height: 2px; }
     .hamburger-icon.is-active span:nth-child(1) { transform: rotate(-45deg) translate(-4px, 5px); }
     .hamburger-icon.is-active span:nth-child(3) { transform: rotate(45deg) translate(-4px, -5px); }

     .slide-menu {
         width: 200px;
         transform: translateX(-200px);
         /* padding-top adjusted above */
         /* z-index inherited */
     }

     .page-container { padding: 15px 10px 0 10px; } /* Consistent with base */

     /* page-title margin-top inherited from base rule (25px) */
     .page-title { font-size: 18px; margin-top: 25px; margin-bottom: 15px; } /* Keep margin-top */
     .nophone { display: none; }

     /* Calculator */
     .calculator-body { flex-direction: column; gap: 20px; }
     .inputs { min-width: auto; flex: none; }
     .outputs {
         border-left: none;
         padding: 20px 15px 0 15px;
         text-align: left;
         border-top: 1px solid #eee;
         padding-top: 20px;
         flex-basis: 100%;
     }
     .output-item .label, .main-repayment .value, .summary-item span,
     .additional-expenses h3, .total-monthly-cost .total-cost-item span,
     .total-cost-note, .reset-link { text-align: left; }
     .summary-item strong { text-align: right; flex-shrink: 0; white-space: nowrap; flex-basis: auto; margin-left: auto; align-self: flex-end; }
     .expense-input { width: auto; max-width: 100%; flex-grow: 1; min-width: 60px; text-align: right; padding: 4px 4px 4px 8px; }
     .summary-item span { flex-shrink: 0; flex-basis: auto; margin-right: 8px; }
     .additional-expenses h3 { text-align: left; }
     .total-monthly-cost { margin-top: 15px; padding-top: 10px; margin-bottom: 10px; }
     .cta-button { margin-top: 15px; padding: 10px 15px; font-size: 14px; }
     .credit-report-button { margin-top: 15px; margin-bottom: 15px; padding: 10px 15px; font-size: 14px;}
     .toggle-button { width: 100%; font-size: 13px; margin-bottom: 15px; }

     /* Summary */
     .summary-content-area { padding: 15px; margin-top: 15px; }
     .summary-content-area h2 { font-size: 16pt; margin-bottom: 15px; padding-bottom: 5px; }
     .summary-content-area .pdf-section h3 { font-size: 11pt; margin-top: 15px; margin-bottom: 8px; padding-bottom: 3px; }
     .summary-content-area .pdf-section li { font-size: 12px; margin-bottom: 5px; padding-bottom: 5px; }
     .summary-content-area .summary-footer { margin-top: 20px; padding-top: 10px; font-size: 8pt; }

     /* Blog Grid */
     .blog-container { margin: 0 auto 20px auto; padding: 0 10px; }
     .blog-filter { display: flex; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
     .filter-button { padding: 6px 12px; font-size: 13px; }
     .blog-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
     .blog-image { height: 150px; }
     .blog-content { padding: 10px; }
     .featured-article .blog-image { height: 200px; }
     .featured-article .blog-content { padding: 15px; }
     .featured-article .blog-title { font-size: 18px; }
     .newsletter-section { padding: 20px 15px; margin: 20px auto; }
     .newsletter-section h2 { font-size: 20px; }
     .newsletter-section p { font-size: 14px; }
     .newsletter-section .cta-button { padding-top: 8px; padding-bottom: 8px; max-width: 250px; margin: 15px auto 0 auto; font-size: 14px; }

     /* Full Article */
     #full-article-display { padding: 15px; margin-bottom: 20px; }
     #full-article-display .full-article-content-wrapper { padding: 15px; }
     #full-article-display #full-article-image { height: 200px; margin-bottom: 10px; }
     #full-article-display #full-article-title { font-size: 20px; margin-bottom: 8px; }
     #full-article-display .full-article-meta { font-size: 12px; gap: 8px; margin-bottom: 10px; }
     #full-article-display #full-article-content { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
     #full-article-display #full-article-content p { margin-bottom: 1em; }
     #full-article-display #full-article-content h3 { font-size: 1.1em; margin-top: 1em; margin-bottom: 0.5em; }
     #full-article-display #full-article-content ul, #full-article-display #full-article-content ol { margin-bottom: 0.8em; padding-left: 15px; }
     #full-article-display #full-article-content li { margin-bottom: 0.4em; }
     #full-article-display #full-article-content a { color: #a8005c; text-decoration: underline; }
     #full-article-display #full-article-content a:hover { text-decoration: none; }
     #full-article-display .toggle-button { width: 100%; padding: 8px 15px; margin: 10px auto; }

    /* Read Aloud Player Responsive */
     .read-aloud-player { gap: 15px; margin: 15px 0; padding: 8px 0;}
     .read-aloud-player .player-button { font-size: 16px; }

     /* Chatbot & Whatsapp */
      #contact-container { bottom: 10px; right: 10px; left: auto; width: auto; align-items: flex-end; gap: 6px; /* z-index inherited */ }
      #contact-triggers { flex-direction: column; align-items: flex-end; gap: 8px; width: auto; }
      #chat-window, #whatsapp-window { width: 280px; height: 350px; }
      #chat-header, #whatsapp-header { font-size: 14px; padding: 8px 10px; }
      #chat-close, #whatsapp-close { right: 8px; font-size: 16px; }
      #chat-messages { padding: 8px; }
      .message { padding: 6px; font-size: 12px; }
      #chat-input-area { padding: 8px; }
      #user-input { padding: 6px; font-size: 13px; }
      #send-button { padding: 6px 10px; font-size: 14px; }
      .typing-indicator { font-size: 14px; }
      #whatsapp-window .whatsapp-body { padding: 10px; }
      #whatsapp-window form { max-width: 240px; padding: 8px; }
      #whatsapp-window form input, #whatsapp-window form textarea { padding: 8px 10px; margin-top: 8px; font-size: 13px; }
      #whatsapp-window form #btn { margin-top: 15px; }
      #whatsapp-window form #btn button { padding: 12px 20px; font-size: 1rem; }

     /* Car Search Section */
      .car-search-section { padding: 15px; margin-top: 15px; }
      .car-search-section h2 { font-size: 18px; }
      .car-search-section p { font-size: 13px; margin-bottom: 15px; }
      .search-partners-grid { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 15px; }
      .search-partners-grid a { padding: 5px; }
      .search-partners-grid img { max-width: 80px; }

     /* Footer */
     footer { margin-top: 20px; padding: 15px 0; font-size: 11px; }

} /* End @media (max-width: 650px) */

@media (max-width: 480px) {
    /* General */
    /* === MODIFIED: Adjust body padding for header height + buffer === */
     body {
         padding-top: 70px; /* Header (~50px) + buffer */
     }
     /* === MODIFIED: Adjust slide menu padding-top to match new body padding === */
     .slide-menu {
         padding-top: 70px;
     }

     #site-header {
         min-height: 50px;
         padding: 5px 0; /* Reduce padding */
         /* Fixed position inherited */
     }
      .header-mobile {
          padding: 8px;
          min-height: 50px;
      }
    #site-header .mobile-logo img { width: 100px; }
    .site-slogan { font-size: 12px; margin-top: 3px;}

     .hamburger-icon {
        width: 20px;
        height: 14px;
        left: 8px;
        /* z-index inherited */
     }
     .hamburger-icon span { height: 2px; }
     .hamburger-icon.is-active span:nth-child(1) { transform: rotate(-45deg) translate(-3px, 4px); }
     .hamburger-icon.is-active span:nth-child(3) { transform: rotate(45deg) translate(-3px, -4px); }

    .slide-menu {
        width: 180px;
        transform: translateX(-180px);
        /* padding-top adjusted above */
        /* z-index inherited */
    }

    .page-container { padding: 10px 8px 0 8px; } /* Consistent with base */

    /* page-title margin-top inherited from base rule (25px) */
    .page-title { font-size: 16px; margin-top: 25px; margin-bottom: 10px; } /* Keep margin-top */


     /* Calculator */
    .price-section { padding: 8px; margin-bottom: 10px; }
    .price-display { font-size: 20px; margin-bottom: 5px; }
    .calculator-card { padding: 10px; }
    .input-group { margin-bottom: 10px; }
    .main-repayment .value { font-size: 30px; }
    .output-summary { margin-top: 10px; margin-bottom: 10px; padding-top: 10px; }
    .summary-item { font-size: 12px; margin-bottom: 6px; }
    .additional-expenses { margin-top: 10px; padding-top: 10px; }
    .total-monthly-cost { margin-top: 10px; padding-top: 8px; margin-bottom: 8px; }
    .cta-button { margin-top: 10px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
    .credit-report-button { margin-top: 10px; margin-bottom: 10px; padding: 8px 12px; font-size: 13px; }
    .reset-link { margin-top: 10px; font-size: 10px; }

    /* Summary */
    .summary-content-area { padding: 10px; margin-top: 10px; }
    .summary-content-area h2 { font-size: 14pt; margin-bottom: 10px; }
    .summary-content-area .pdf-section h3 { font-size: 10pt; margin-top: 10px; margin-bottom: 5px; }
    .summary-content-area .pdf-section li { font-size: 11px; margin-bottom: 4px; padding-bottom: 4px; }
    .summary-content-area .summary-footer { margin-top: 15px; padding-top: 8px; font-size: 7pt; }
    .summary-content-area .summary-copyright { margin-top: 15px; }

    /* Blog Grid */
    .blog-container { margin: 0 auto 15px auto; padding: 0 8px; }
    .blog-filter { display: flex; justify-content: center; margin-bottom: 15px; flex-wrap: wrap; gap: 6px; }
    .filter-button { padding: 5px 10px; font-size: 12px; }
     .blog-grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
     .blog-image { height: 120px; }
     .blog-content { padding: 8px; }
     .blog-tags-container { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 5px; }
     .blog-tag { display: inline-block; background-color: #f0f4f8; color: #5c0f8b; padding: 2px 6px; border-radius: 20px; font-size: 10px; }
     .blog-title { color: #333; font-size: 14px; margin-bottom: 5px; line-height: 1.3; font-weight: 600; }
     .blog-excerpt { color: #747679; font-size: 12px; margin-bottom: 8px; line-height: 1.4; flex-grow: 1; }
     .blog-meta { display: flex; justify-content: space-between; color: #999; font-size: 10px; border-top: 1px solid #eee; padding-top: 8px; margin-top: auto; gap: 8px; }
     .read-more { color: #a8005c; text-decoration: none; font-weight: 600; font-size: 12px; display: inline-block; margin-top: 5px; cursor: pointer; }
     .read-more:hover { text-decoration: underline; }
     .featured-article .blog-image { height: 160px; }
     .featured-article .blog-content { padding: 10px; }
     .featured-article .blog-title { font-size: 16px; }

     /* Newsletter */
     .newsletter-section { padding: 15px 10px; margin: 15px auto; }
     .newsletter-section h2 { font-size: 18px; }
     .newsletter-section p { font-size: 13px; }
     .newsletter-section .cta-button { padding-top: 8px; padding-bottom: 8px; max-width: 200px; margin: 10px auto 0 auto; font-size: 13px; }

    /* Full Article */
    #full-article-display { padding: 8px; margin-bottom: 10px; }
    #full-article-display .full-article-content-wrapper { padding: 8px; }
    #full-article-display #full-article-image { height: 160px; margin-bottom: 8px; }
    #full-article-display #full-article-title { font-size: 18px; margin-bottom: 5px; }
    #full-article-display .full-article-meta { font-size: 11px; gap: 6px; margin-bottom: 8px; }
    #full-article-display #full-article-content { font-size: 13px; line-height: 1.4; margin-bottom: 8px; }
    #full-article-display #full-article-content p { margin-bottom: 1em; }
    #full-article-display #full-article-content h3 { font-size: 1em; margin-top: 0.6em; margin-bottom: 0.3em; }
    #full-article-display #full-article-content ul, #full-article-display #full-article-content ol { margin-bottom: 0.8em; padding-left: 15px; }
    #full-article-display #full-article-content li { margin-bottom: 0.4em; }
    #full-article-display #full-article-content a { color: #a8005c; text-decoration: underline; }
    #full-article-display #full-article-content a:hover { text-decoration: none; }
    #full-article-display .toggle-button { margin: 8px auto; width: auto; padding: 6px 12px; font-size: 12px; }

    /* Read Aloud Player Responsive */
     .read-aloud-player { gap: 10px; margin: 10px 0; padding: 6px 0;}
     .read-aloud-player .player-button { font-size: 14px; }

     /* Chatbot & Whatsapp */
    #contact-container {
        bottom: 8px; right: 8px; left: 8px; /* Position across bottom */
        width: calc(100% - 16px); /* Take full width minus padding */
        align-items: center; /* Center items horizontally */
        gap: 6px;
        /* z-index inherited */
    }
     #contact-triggers {
         flex-direction: row; /* Arrange triggers horizontally */
         gap: 8px; width: auto; /* Allow triggers to take needed width */
     }
    #chat-window, #whatsapp-window { width: 100%; height: 280px; }
     #chat-header, #whatsapp-header { font-size: 13px; padding: 6px 8px; }
     #chat-close, #whatsapp-close { right: 6px; font-size: 14px; }
     #chat-messages { padding: 6px; }
     .message { padding: 5px; font-size: 11px; }
     #chat-input-area { padding: 6px; }
     #user-input { padding: 5px; font-size: 12px; }
     #send-button { padding: 5px 8px; font-size: 13px; }
     .typing-indicator { font-size: 14px; }
     #whatsapp-window .whatsapp-body { padding: 10px; }
     #whatsapp-window form { max-width: 240px; padding: 4px; }
     #whatsapp-window form input, #whatsapp-window form textarea { padding: 6px 8px; margin-top: 4px; font-size: 13px; }
     #whatsapp-window form #btn { margin-top: 6px; }
     #whatsapp-window form #btn button { padding: 8px 15px; font-size: 1rem; }

     /* Car Search Section */
      .car-search-section { padding: 10px; margin-top: 10px; }
      .car-search-section h2 { font-size: 16px; }
      .car-search-section p { font-size: 12px; margin-bottom: 10px; }
      .search-partners-grid { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 10px; }
      .search-partners-grid a { padding: 3px; }
      .search-partners-grid img { max-width: 70px; }

     /* Footer */
     footer { margin-top: 15px; padding: 10px 0; font-size: 10px; }

} /* End @media (max-width: 480px) */