/* ==========================================================================
   MH Car Lease — Modern Design System (2026 redesign)
   Style: clean / minimal, modern blue (Stripe · Linear · Notion inspired)
   Loaded LAST so it refines the existing Bootstrap 5 theme without changing
   any markup or JavaScript behaviour. Lightweight: CSS only, no extra JS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   The base theme consumes --primary / --secondary / --title in ~240 places,
   so re-defining them here re-colours the whole site in modern blue.
   -------------------------------------------------------------------------- */
:root {
    /* Brand — modern clean blue */
    --primary: #2563eb;
    --secondary: #0ea5e9;
    --primary-hover: #1d4ed8;
    --primary-dark: #1e40af;
    --title: #0f172a;

    --rgba-primary-1: rgba(37, 99, 235, 0.08);
    --rgba-primary-2: rgba(37, 99, 235, 0.16);
    --rgba-primary-3: rgba(37, 99, 235, 0.24);
    --rgba-primary-4: rgba(37, 99, 235, 0.32);
    --rgba-primary-5: rgba(37, 99, 235, 0.40);
    --rgba-primary-6: rgba(37, 99, 235, 0.50);
    --rgba-primary-7: rgba(37, 99, 235, 0.65);
    --rgba-primary-8: rgba(37, 99, 235, 0.80);
    --rgba-primary-9: rgba(37, 99, 235, 0.92);

    /* Neutrals (slate scale) */
    --rd-bg: #ffffff;
    --rd-bg-soft: #f8fafc;
    --rd-bg-muted: #f1f5f9;
    --rd-border: #e2e8f0;
    --rd-border-strong: #cbd5e1;
    --rd-text: #334155;
    --rd-text-strong: #0f172a;
    --rd-muted: #64748b;
    --rd-white: #ffffff;

    /* Radius */
    --rd-radius-sm: 10px;
    --rd-radius: 14px;
    --rd-radius-lg: 20px;
    --rd-radius-pill: 999px;

    /* Shadows — soft, layered */
    --rd-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --rd-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --rd-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --rd-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
    --rd-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
    --rd-ring: 0 0 0 4px rgba(37, 99, 235, 0.18);

    /* Motion */
    --rd-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --rd-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --rd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base & typography
   -------------------------------------------------------------------------- */
body {
    font-family: var(--rd-font) !important;
    color: var(--rd-text);
    background-color: var(--rd-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
    letter-spacing: -0.002em;
}

h1, h2, h3, h4, h5, h6,
.title, .dlab-title, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--rd-font) !important;
    color: var(--rd-text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1, .h1 { font-weight: 800; }

p { line-height: 1.7; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s var(--rd-ease);
}
a:hover { color: var(--primary-hover); }

button, input, select, textarea, optgroup {
    font-family: var(--rd-font) !important;
}

::selection {
    background: var(--rgba-primary-2);
    color: var(--primary-dark);
}

:focus-visible {
    outline: none;
    box-shadow: var(--rd-ring);
    border-radius: var(--rd-radius-sm);
}

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

hr { border-color: var(--rd-border); opacity: 1; }

/* Soft section rhythm — airy, minimal */
.content-inner,
.content-inner-1,
.content-inner-2 {
    padding-top: clamp(48px, 7vw, 96px);
    padding-bottom: clamp(48px, 7vw, 96px);
}

.bg-light, .bg-gray, .bg-gray-light {
    background-color: var(--rd-bg-soft) !important;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--rd-font) !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--rd-radius-sm);
    padding: 0.75rem 1.5rem;
    border-width: 1px;
    box-shadow: var(--rd-shadow-xs);
    transition: color 0.2s var(--rd-ease), background-color 0.2s var(--rd-ease), border-color 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease), transform 0.2s var(--rd-ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--rd-shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--rd-shadow-xs); }
.btn:focus-visible { box-shadow: var(--rd-ring); }

.btn-primary,
.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background-color: var(--rd-text-strong);
    border-color: var(--rd-text-strong);
    color: #fff;
}
.btn-secondary:hover {
    background-color: #1e293b;
    border-color: #1e293b;
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--rd-border-strong);
    background: transparent;
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn.light,
.btn-primary.light {
    background-color: var(--rgba-primary-1);
    border-color: transparent;
    color: var(--primary);
}
.btn.light:hover,
.btn-primary.light:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   4. Forms & inputs
   -------------------------------------------------------------------------- */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
textarea,
select {
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm);
    padding: 0.7rem 1rem;
    color: var(--rd-text-strong);
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.2s var(--rd-ease), box-shadow 0.2s var(--rd-ease);
}
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: var(--rd-ring);
    outline: none;
}
.form-control::placeholder,
textarea::placeholder { color: #94a3b8; }

label, .form-label {
    font-weight: 500;
    color: var(--rd-text-strong);
    margin-bottom: 0.4rem;
}

/* bootstrap-select styled trigger */
.bootstrap-select > .dropdown-toggle,
.bootstrap-select .btn {
    border: 1px solid var(--rd-border) !important;
    border-radius: var(--rd-radius-sm) !important;
    background-color: #fff !important;
    color: var(--rd-text-strong) !important;
    box-shadow: none !important;
    padding: 0.7rem 1rem !important;
    font-weight: 500;
}
.bootstrap-select > .dropdown-toggle:focus {
    box-shadow: var(--rd-ring) !important;
    border-color: var(--primary) !important;
}
.bootstrap-select .dropdown-menu {
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-md);
    padding: 0.4rem;
}
.bootstrap-select .dropdown-menu li a {
    border-radius: var(--rd-radius-sm);
    padding: 0.5rem 0.75rem;
}
.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a.active,
.bootstrap-select .dropdown-menu li.selected a {
    background-color: var(--rgba-primary-1);
    color: var(--primary);
}

/* range slider accent */
.rangeslider__fill { background: var(--primary) !important; }
.rangeslider__handle { border-color: var(--primary) !important; box-shadow: var(--rd-shadow-sm) !important; }

/* --------------------------------------------------------------------------
   5. Cards — car listing, widgets, generic
   -------------------------------------------------------------------------- */
.car-list-box,
.card,
.widget.style-1,
.dlab-card,
.icon-bx-wraper.style-1 {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-sm);
    overflow: hidden;
    transition: transform 0.3s var(--rd-ease), box-shadow 0.3s var(--rd-ease), border-color 0.3s var(--rd-ease);
}
.car-list-box:hover,
.card:hover,
.dlab-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rd-shadow-lg);
    border-color: var(--rd-border-strong);
}

.car-list-box .media-box,
.car-list-box .dlab-media {
    overflow: hidden;
    position: relative;
    background: var(--rd-bg-muted);
}
.car-list-box .media-box img,
.car-list-box .dlab-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s var(--rd-ease);
}
.car-list-box:hover .media-box img,
.car-list-box:hover .dlab-media img {
    transform: scale(1.06);
}

.car-list-box .list-info,
.car-list-box .info {
    padding: 1.25rem 1.35rem 1.4rem;
}
.car-list-box .title,
.car-list-box .list-info .title {
    font-weight: 600;
    color: var(--rd-text-strong);
}
.car-list-box .title a:hover { color: var(--primary); }
.car-list-box .price,
.car-list-box .text-primary {
    color: var(--primary) !important;
    font-weight: 700;
}

.card-body { padding: 1.5rem; }

/* feature / icon boxes */
.icon-bx-wraper {
    border-radius: var(--rd-radius-lg);
    transition: var(--rd-transition);
}
.icon-bx-sm.radius,
.icon-bx-md.radius { border-radius: var(--rd-radius) !important; }

/* --------------------------------------------------------------------------
   6. Header / navbar
   -------------------------------------------------------------------------- */
.site-header:not(.header-transparent) .main-bar {
    background-color: #ffffff;
    box-shadow: 0 1px 0 var(--rd-border), 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.3s var(--rd-ease);
}
.site-header.is-fixed:not(.header-transparent) .main-bar,
.is-fixed .sticky-header .main-bar {
    background-color: #ffffff;
    box-shadow: var(--rd-shadow);
}
/* keep transparent-over-hero headers transparent if a page opts in */
.site-header.header-transparent .main-bar {
    background-color: transparent;
    box-shadow: none;
}
.logo-header { display: flex; align-items: center; }

.navbar-nav > li > a,
.header-nav .nav > li > a {
    color: var(--rd-text-strong) !important;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    border-radius: var(--rd-radius-sm);
    transition: color 0.2s var(--rd-ease), background-color 0.2s var(--rd-ease);
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.header-nav .nav > li > a:hover {
    color: var(--primary) !important;
}

/* dropdown sub-menus */
.header-nav .nav > li .sub-menu,
.sub-menu {
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-md);
    padding: 0.5rem;
    background: #fff;
}
.header-nav .nav > li .sub-menu li a,
.sub-menu li a {
    border-radius: var(--rd-radius-sm);
    padding: 0.55rem 0.85rem !important;
    color: var(--rd-text) !important;
    font-weight: 500;
    transition: var(--rd-transition);
}
.header-nav .nav > li .sub-menu li a:hover,
.sub-menu li a:hover {
    background-color: var(--rgba-primary-1);
    color: var(--primary) !important;
    padding-left: 1.1rem !important;
}

/* phone CTA pill in header */
.extra-nav .btn.phone-no {
    border-radius: var(--rd-radius-pill);
    font-weight: 600;
}

/* mobile nav toggle — bars stay white on the primary-coloured button */
.navbar-toggler.navicon span { background: #fff; }

/* social icons in header */
.dlab-social-icon .social-icons li a {
    transition: var(--rd-transition);
    color: var(--rd-muted);
}
.dlab-social-icon .social-icons li a:hover { color: var(--primary); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   7. Footer — deep slate, premium
   -------------------------------------------------------------------------- */
/* high specificity to win over .site-footer.style-1 theme rules */
.site-footer,
.site-footer.style-1,
.site-footer.style-1 .footer-top {
    background-color: #0f172a !important;
    color: #94a3b8;
}
.site-footer.style-1 .footer-top { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 2rem; }
.site-footer.style-1 h1, .site-footer.style-1 h2, .site-footer.style-1 h3,
.site-footer.style-1 h4, .site-footer.style-1 h5, .site-footer.style-1 h6,
.site-footer.style-1 .widget-title .title,
.site-footer .widget-title .title { color: #fff !important; }
.site-footer.style-1 p, .site-footer.style-1 .icon-content p,
.site-footer p, .site-footer .icon-content p { color: #cbd5e1 !important; }
.site-footer.style-1 a,
.site-footer a { color: #cbd5e1 !important; transition: color 0.2s var(--rd-ease); }
.site-footer.style-1 a:hover,
.site-footer a:hover { color: #fff !important; }
.site-footer.style-1 .widget_categories ul li a,
.site-footer.style-1 .cat-item a,
.site-footer .cat-item a {
    transition: var(--rd-transition);
    display: inline-block;
}
.site-footer.style-1 .cat-item a:hover,
.site-footer .cat-item a:hover { color: #fff !important; transform: translateX(4px); }
.site-footer .icon-bx-sm { background-color: var(--primary) !important; border-radius: var(--rd-radius) !important; }
.site-footer .social-list li a,
.site-footer .dlab-social-icon li a {
    color: #cbd5e1 !important;
    transition: var(--rd-transition);
}
.site-footer .social-list li a:hover { color: #fff !important; transform: translateY(-2px); }
.site-footer.style-1 .footer-bottom,
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #0b1120 !important;
    padding: 1.25rem 0;
}
.site-footer .copyright-text { color: #94a3b8 !important; }
.site-footer .footer-bottom .text-primary { color: #60a5fa !important; }

/* --------------------------------------------------------------------------
   8. Badges, alerts, tables, pagination
   -------------------------------------------------------------------------- */
.badge {
    border-radius: var(--rd-radius-pill);
    font-weight: 600;
    padding: 0.4em 0.8em;
    letter-spacing: -0.01em;
}
.badge.bg-primary, .badge-primary { background-color: var(--primary) !important; color: #fff; }

.alert {
    border: 1px solid transparent;
    border-radius: var(--rd-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--rd-shadow-xs);
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-danger  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: var(--rgba-primary-1); border-color: var(--rgba-primary-3); color: var(--primary-dark); }

.table {
    border-radius: var(--rd-radius);
    overflow: hidden;
}
.table thead th {
    background-color: var(--rd-bg-soft);
    color: var(--rd-text-strong);
    font-weight: 600;
    border-bottom: 1px solid var(--rd-border);
    text-transform: none;
}
.table tbody td { border-color: var(--rd-border); color: var(--rd-text); vertical-align: middle; }
.table tbody tr { transition: background-color 0.15s var(--rd-ease); }
.table-hover tbody tr:hover { background-color: var(--rd-bg-soft); }

.pagination .page-link {
    color: var(--rd-text-strong);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm) !important;
    margin: 0 3px;
    transition: var(--rd-transition);
}
.pagination .page-link:hover { background: var(--rd-bg-soft); color: var(--primary); border-color: var(--rd-border-strong); }
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--rd-shadow-sm);
}

/* --------------------------------------------------------------------------
   9. Modals & popups (Bootstrap + magnific-popup)
   -------------------------------------------------------------------------- */
.modal-content {
    border: none;
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-lg);
    overflow: hidden;
}
.modal-header, .modal-footer { border-color: var(--rd-border); }
.modal-header { padding: 1.25rem 1.5rem; }
.modal-body { padding: 1.5rem; }
.btn-close:focus { box-shadow: var(--rd-ring); }

.mfp-content .white-popup,
.mfp-content > div {
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-lg);
    overflow: hidden;
}

/* dropdown menus (generic) */
.dropdown-menu {
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-md);
    padding: 0.4rem;
}
.dropdown-item { border-radius: var(--rd-radius-sm); padding: 0.5rem 0.75rem; transition: var(--rd-transition); }
.dropdown-item:hover { background-color: var(--rgba-primary-1); color: var(--primary); }
.dropdown-item.active, .dropdown-item:active { background-color: var(--primary); color: #fff; }

/* --------------------------------------------------------------------------
   10. Hero slider polish
   -------------------------------------------------------------------------- */
.main-silder-swiper .dlab-slide-item,
.main-slider .dlab-slide-item { position: relative; }
.main-silder-swiper .dlab-slide-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 55%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}
.main-silder-swiper .dlab-content,
.main-silder-swiper .slide-content { position: relative; z-index: 2; }
.swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.swiper-pagination-bullet-active { background: var(--primary); opacity: 1; width: 22px; border-radius: 6px; }
.swiper-button-next, .swiper-button-prev,
.btn-next, .btn-prev {
    background: rgba(255, 255, 255, 0.95);
    width: 46px; height: 46px;
    border-radius: 50%;
    box-shadow: var(--rd-shadow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--rd-transition);
}
.swiper-button-next:hover, .swiper-button-prev:hover,
.btn-next:hover, .btn-prev:hover {
    background: #fff;
    color: var(--primary-hover);
    transform: scale(1.08);
    box-shadow: var(--rd-shadow-md);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.05rem; font-weight: 700; }
.btn-next i, .btn-prev i { font-size: 1rem; line-height: 1; }

/* --------------------------------------------------------------------------
   11. Search / filter sidebar & search box
   -------------------------------------------------------------------------- */
.car-search-box,
.side-bar .widget,
.widget_search {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-lg);
    box-shadow: var(--rd-shadow-sm);
    padding: 1.5rem;
}
.side-bar.sticky-top { top: 96px; }
.widget-title .title,
.widget .widget-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.1rem;
}
.widget-title .title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--primary);
    border-radius: var(--rd-radius-pill);
}

/* --------------------------------------------------------------------------
   12. Effects, animations & loading states
   -------------------------------------------------------------------------- */
@keyframes rd-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rd-fade-up { animation: rd-fade-up 0.6s var(--rd-ease) both; }

@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd-spinner {
    display: inline-block;
    width: 1.25rem; height: 1.25rem;
    border: 2px solid var(--rgba-primary-3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: rd-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes rd-shimmer { 100% { background-position: -200% 0; } }
.rd-skeleton {
    background: linear-gradient(90deg, var(--rd-bg-muted) 25%, #e9eef5 37%, var(--rd-bg-muted) 63%);
    background-size: 200% 100%;
    animation: rd-shimmer 1.4s ease-in-out infinite;
    border-radius: var(--rd-radius-sm);
}

/* button busy state */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 1.1rem; height: 1.1rem;
    margin: -0.55rem 0 0 -0.55rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rd-spin 0.7s linear infinite;
}

/* gentle reveal for cards already on screen */
.car-list-box, .icon-bx-wraper, .widget { backface-visibility: hidden; }

/* --------------------------------------------------------------------------
   13. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .header-nav.navbar-collapse {
        background: #fff;
        box-shadow: var(--rd-shadow-lg);
        border-radius: 0 0 var(--rd-radius-lg) var(--rd-radius-lg);
    }
    .header-nav .nav > li > a { padding: 0.85rem 1rem !important; border-bottom: 1px solid var(--rd-border); }
    .header-nav .nav > li .sub-menu { box-shadow: none; border: none; background: var(--rd-bg-soft); }
    .side-bar.sticky-top { position: static; }
}

@media (max-width: 767.98px) {
    h1, .h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
    h2, .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .content-inner, .content-inner-1, .content-inner-2 {
        padding-top: clamp(36px, 9vw, 56px);
        padding-bottom: clamp(36px, 9vw, 56px);
    }
    .btn { padding: 0.7rem 1.25rem; }
    .car-search-box, .side-bar .widget, .widget_search { padding: 1.15rem; }
    .site-footer { text-align: center; }
    .site-footer .icon-bx-wraper { justify-content: center; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   12. Blog (listing cards + single article)
   -------------------------------------------------------------------------- */
.dlab-card.style-1 {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-sm, var(--rd-shadow-xs));
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s var(--rd-ease), box-shadow 0.3s var(--rd-ease);
}
.dlab-card.style-1:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-md); }
.dlab-card.style-1 .dlab-media { overflow: hidden; }
.dlab-card.style-1 .dlab-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s var(--rd-ease);
}
.dlab-card.style-1:hover .dlab-media img { transform: scale(1.05); }
.dlab-card.style-1 .dlab-info { padding: 1.4rem 1.5rem 1.6rem; }
.dlab-card.style-1 .dlab-meta ul { display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0 0 0.6rem; list-style: none; }
.dlab-card.style-1 .dlab-meta .post-date { color: #64748b; font-size: 0.85rem; font-weight: 500; }
.dlab-card.style-1 .dlab-title { font-size: 1.2rem; line-height: 1.4; margin-bottom: 1rem; }
.dlab-card.style-1 .dlab-title a { color: var(--title); transition: color 0.2s var(--rd-ease); }
.dlab-card.style-1 .dlab-title a:hover { color: var(--primary); }

/* single post */
.blog-single {
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow-sm, var(--rd-shadow-xs));
    overflow: hidden;
}
.blog-single .dlab-media img { width: 100%; max-height: 460px; object-fit: cover; }
.blog-single .dlab-info { padding: clamp(1.5rem, 4vw, 2.75rem); }
.blog-single .dlab-meta ul { display: flex; gap: 1rem; padding: 0; margin: 0 0 0.75rem; list-style: none; }
.blog-single .dlab-meta .post-date { color: #64748b; font-size: 0.9rem; font-weight: 500; }
.blog-single .dlab-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.2; margin-bottom: 1.25rem; }
.blog-single .blog-content { color: #334155; font-size: 1.05rem; line-height: 1.8; }
.blog-single .blog-content p { margin-bottom: 1.25rem; }
.blog-single .blog-content h2,
.blog-single .blog-content h3,
.blog-single .blog-content h4 { color: var(--title); margin: 2rem 0 1rem; font-weight: 700; line-height: 1.3; }
.blog-single .blog-content ul,
.blog-single .blog-content ol { margin: 0 0 1.25rem 1.25rem; }
.blog-single .blog-content li { margin-bottom: 0.5rem; }
.blog-single .blog-content img { max-width: 100%; height: auto; border-radius: var(--rd-radius); margin: 1rem 0; }
.blog-single .blog-content a { color: var(--primary); text-decoration: underline; }
.blog-single .blog-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--rd-radius) var(--rd-radius) 0;
    color: #475569;
}
.blog-single .dlab-share-post {
    padding: 1.25rem clamp(1.5rem, 4vw, 2.75rem);
    border-top: 1px solid var(--rd-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.blog-single .dlab-share-post .title { margin: 0; }
.blog-single .dlab-social-icon ul { display: flex; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.blog-single .dlab-social-icon ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary);
    transition: var(--rd-transition);
}
.blog-single .dlab-social-icon ul li a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
