.dGmyr {
    --c-primary: #2563EB;
    --c-primary-hover: #1d4ed8;
    --c-text-main: #1f2937;
    --c-text-sub: #6b7280;
    --c-bg-light: #f9fafb;
    --c-bg-white: #ffffff;
    --c-border: #e5e7eb;

    font-family: 'Poppins', sans-serif;
    color: var(--c-text-main);
    background-color: var(--c-bg-white);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

main.dGmyr *,
main.dGmyr *::before,
main.dGmyr *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

.dGmyr p {
    margin-block: 1em;
    text-align: center;
}

.dGmyr div.dGmyr-hero-row-div p {
    margin: 0;
}

.dGmyr .dGmyr-contained {
    max-width: 1440px;
    margin: 0 auto;
}

/* --- HERO SECTION --- */
.dGmyr .dGmyr-hero-section {
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #000;
}

/* The actual image element styling */
.dGmyr .dGmyr-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers area without stretching */
    z-index: 1;
}

/* Gradient overlay (Pseudo-element) */
/* Sits on top of image (z-index 2) but below text */
.dGmyr .dGmyr-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 2;
    pointer-events: none;
    /* Allows clicking through if needed */
}

.dGmyr .dGmyr-hero-content {
    position: relative;
    z-index: 3;
    /* Above the overlay */
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.dGmyr .dGmyr-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dGmyr .dGmyr-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #f3f4f6;
}

/* Brand Logo Overlay Strip */
.dGmyr .dGmyr-brand-overlay {
    padding: 1.5rem 1rem;
    z-index: 4;
    /* Above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dGmyr .dGmyr-brand-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    object-fit: contain;
}

.dGmyr .dGmyr-brand-logo:hover {
    opacity: 1;
}

/* --- CONTENT SECTIONS --- */
.dGmyr .dGmyr-promo-section {
    padding: 4rem 2rem;
    background-color: var(--c-bg-light);
}

.dGmyr .dGmyr-promo-section:nth-of-type(odd) {
    background-color: var(--c-bg-white);
}

.dGmyr .dGmyr-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dGmyr .dGmyr-section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--c-text-main);
    margin-bottom: 0.5rem;
}

.dGmyr .dGmyr-section-subtitle {
    font-size: 1.1rem;
    color: var(--c-text-sub);
}

/* --- GRID SYSTEM --- */
.dGmyr .dGmyr-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dGmyr .dGmyr-car-grid.dGmyr-images {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* --- CAR CARD --- */
.dGmyr .dGmyr-car-card {
    background: var(--c-bg-white);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dGmyr .dGmyr-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.dGmyr .dGmyr-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px 8px 0px 0px;
    /* overflow: hidden; */
}

.dGmyr .dGmyr-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
    display: block;
}

.dGmyr .dGmyr-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dGmyr .dGmyr-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--c-text-main);
}

.dGmyr .dGmyr-card-desc {
    font-size: 0.95rem;
    color: var(--c-text-sub);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.dGmyr .dGmyr-card-btn {
    display: inline-block;
    text-align: center;
    background-color: var(--c-primary);
    color: white !important;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dGmyr .dGmyr-card-btn:hover {
    background-color: var(--c-primary-hover);
}

.dGmyr .swiper-container-wrapper {
    padding-bottom: 3rem;
    position: relative;
    padding-left: 50px;
    /* Make space for arrows */
    padding-right: 50px;
    /* Make space for arrows */
}

.dGmyr .swiper-slide {
    height: auto;
    display: flex;
}

/* Navigation Buttons Customization */
.dGmyr .swiper-button-next,
.dGmyr .swiper-button-prev {
    color: var(--c-primary);
    /* Arrow color */
    font-weight: 700;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hover effect for buttons */
.dGmyr .swiper-button-next:hover,
.dGmyr .swiper-button-prev:hover {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Icon Size */
.dGmyr .swiper-button-next::after,
.dGmyr .swiper-button-prev::after {
    font-size: 20px;
    /* Size of the arrow icon */
}

/* Pagination Dots */
.dGmyr .swiper-pagination-bullet-active {
    background: var(--c-primary) !important;
}

/* Mobile: Reduce padding so arrows don't squish content */
@media (max-width: 640px) {
    .dGmyr .swiper-container-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    /* Hide arrows on mobile (optional, but usually better UX) */
    .dGmyr .swiper-button-next,
    .dGmyr .swiper-button-prev {
        display: none;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .dGmyr .dGmyr-hero-title {
        font-size: 2rem;
    }

    .dGmyr .dGmyr-brand-overlay {
        gap: 1.5rem;
    }

    .dGmyr .dGmyr-brand-logo {
        height: 30px;
    }

    .dGmyr .dGmyr-promo-section {
        padding: 3rem 1rem;
    }
}