/* Original DAV Homepage News Portal v6 styling (retained for Classic mode). */
.dav6-hero-section,
    .dav6-main-section,
    .dav6-sidebar-section {
        margin-bottom: 32px;
    }

    .dav6-label,
    .dav6-kicker,
    .dav6-offer-label {
        color: #e00000;
        text-transform: uppercase;
        font-weight: 750;
        text-decoration: none;
    }

    .dav6-label {
        font-size: 9px;
        line-height: 1.25;
    }

    .dav6-date {
        color: #929292;
        font-size: 9px;
        line-height: 1.35;
    }

    /* HERO */
    .dav6-hero-section {
        border-top: 4px solid #e00000;
        padding-top: 9px;
    }

    .dav6-hero-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 15px;
    }

    .dav6-kicker {
        display: block;
        margin-bottom: 2px;
        font-size: 9px;
        letter-spacing: .35px;
    }

    .dav6-hero-header h2 {
        margin: 0;
        color: #111;
        font-size: 30px;
        line-height: 1.08;
    }

    .dav6-hero-controls,
    .dav6-cat-controls {
        display: flex;
        gap: 6px;
    }

    .dav6-hero-controls button,
    .dav6-cat-controls button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        color: #111;
        cursor: pointer;
    }

    .dav6-hero-controls button {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .dav6-cat-controls button {
        width: 27px;
        height: 27px;
        font-size: 19px;
    }

    .dav6-hero-controls button:hover,
    .dav6-cat-controls button:hover {
        color: #e00000;
        border-color: #e00000;
    }

    .dav6-hero-page {
        display: none;
        grid-template-columns: minmax(190px, .82fr) minmax(0, 1.95fr) minmax(220px, .9fr);
        gap: 18px;
        align-items: start;
        animation: dav6Fade .35s ease;
    }

    .dav6-hero-page.is-active {
        display: grid;
    }

    @keyframes dav6Fade {
        from { opacity: .35; }
        to { opacity: 1; }
    }

    .dav6-hero-image {
        display: block;
        width: 100%;
        overflow: hidden;
        background: #eee;
    }

    .dav6-hero-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dav6-hero-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 110px;
        padding: 10px;
        background: #eee;
        color: #999;
        text-align: center;
        font-size: 10px;
    }

    .dav6-hero-left {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .dav6-hero-left .dav6-hero-story {
        padding-bottom: 14px;
        border-bottom: 1px solid #ddd;
    }

    .dav6-hero-left .dav6-hero-image {
        aspect-ratio: 16 / 9;
        margin-bottom: 7px;
        border-radius: 5px;
    }

    .dav6-hero-left h3 {
        margin: 4px 0 5px;
        font-size: 15px;
        line-height: 1.28;
    }

    .dav6-hero-left h3 a,
    .dav6-hero-right h3 a,
    .dav6-hero-bottom h3 a,
    .dav6-hero-lead h2 a {
        color: #111;
        text-decoration: none;
    }

    .dav6-hero-left p {
        margin: 4px 0 5px;
        color: #555;
        font-size: 11px;
        line-height: 1.4;
    }

    .dav6-hero-lead .dav6-hero-image {
        aspect-ratio: 16 / 8.4;
        border-radius: 5px;
    }

    .dav6-hero-lead .dav6-hero-content {
        padding-top: 9px;
    }

    .dav6-hero-lead h2 {
        margin: 5px 0 6px;
        color: #111;
        font-size: 27px;
        line-height: 1.16;
    }

    .dav6-hero-lead p {
        margin: 0 0 7px;
        color: #555;
        font-size: 13px;
        line-height: 1.48;
    }

    .dav6-hero-bottom-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 15px;
        padding-top: 14px;
        border-top: 1px solid #ddd;
    }

    .dav6-hero-bottom .dav6-hero-image {
        aspect-ratio: 16 / 9;
        margin-bottom: 6px;
        border-radius: 4px;
    }

    .dav6-hero-bottom h3 {
        margin: 3px 0 5px;
        font-size: 11px;
        line-height: 1.27;
    }

    .dav6-hero-right {
        display: flex;
        flex-direction: column;
    }

    .dav6-hero-right .dav6-hero-story {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 9px;
        padding: 0 0 11px;
        margin-bottom: 11px;
        border-bottom: 1px solid #ddd;
    }

    .dav6-hero-right .dav6-hero-image {
        width: 96px;
        height: 76px;
        border-radius: 4px;
    }

    .dav6-hero-right h3 {
        margin: 3px 0 5px;
        font-size: 12px;
        line-height: 1.27;
    }

    /* 3-COLUMN BODY */
    .dav6-layout {
        display: grid;
        grid-template-columns: minmax(220px, 21%) minmax(0, 58%) minmax(230px, 21%);
        gap: 18px;
        width: 100%;
        align-items: start;
    }

    .dav6-left,
    .dav6-center,
    .dav6-right {
        min-width: 0;
    }

    /* HEADINGS */
    .dav6-heading,
    .dav6-side-heading {
        border-top: 4px solid #e00000;
    }

    .dav6-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .dav6-heading h2 {
        margin: 0;
        padding: 9px 0;
        color: #111;
        font-size: 20px;
        line-height: 1.2;
    }

    .dav6-heading-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .dav6-heading-actions > a {
        color: #e00000;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
    }

    .dav6-side-heading h2 {
        margin: 0;
        padding: 9px 0 6px;
        color: #111;
        font-size: 17px;
        line-height: 1.2;
    }

    /* MAIN CATEGORY 4-CARD SLIDERS */
    .dav6-cat-page {
        display: none;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        animation: dav6Fade .28s ease;
    }

    .dav6-cat-page.is-active {
        display: grid;
    }

    .dav6-main-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e2e2e2;
        border-radius: 5px;
        box-shadow: 0 2px 6px rgba(0,0,0,.035);
    }

    .dav6-main-image {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: #eee;
    }

    .dav6-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dav6-image-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 90px;
        background: #eee;
        color: #999;
        font-size: 9px;
    }

    .dav6-main-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 8px;
    }

    .dav6-main-body h3 {
        margin: 4px 0;
        font-size: 11.5px;
        line-height: 1.3;
    }

    .dav6-main-body h3 a {
        color: #111;
        text-decoration: none;
    }

    .dav6-main-body h3 a:hover {
        color: #e00000;
    }

    .dav6-main-body p {
        margin: 5px 0 7px;
        color: #555;
        font-size: 9.3px;
        line-height: 1.4;
    }

    .dav6-read-more {
        margin-top: auto;
        color: #e00000;
        font-size: 9px;
        font-weight: 700;
        text-decoration: none;
    }

    /* SIDEBARS */
    .dav6-side-intro {
        margin: 0 0 8px;
        color: #555;
        font-size: 10.5px;
        line-height: 1.48;
    }

    .dav6-side-list {
        display: flex;
        flex-direction: column;
    }

    .dav6-side-post {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 9px;
        padding: 11px 0;
        border-bottom: 1px solid #ddd;
    }

    .dav6-side-image {
        display: block;
        width: 92px;
        height: 92px;
        overflow: hidden;
        border-radius: 4px;
        background: #eee;
    }

    .dav6-side-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dav6-side-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #999;
        background: #eee;
        font-size: 9px;
    }

    .dav6-side-content h3 {
        margin: 0 0 4px;
        font-size: 11.5px;
        line-height: 1.27;
    }

    .dav6-side-content h3 a {
        color: #111;
        text-decoration: none;
    }

    .dav6-side-content h3 a:hover {
        color: #e00000;
    }

    .dav6-side-content p {
        margin: 3px 0 5px;
        color: #666;
        font-size: 9.2px;
        line-height: 1.35;
    }

    .dav6-offer-label {
        display: block;
        margin-bottom: 3px;
        font-size: 8px;
        line-height: 1.2;
    }

    .dav6-side-all {
        display: inline-block;
        margin-top: 10px;
        color: #e00000;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
    }

    /* RESPONSIVE */
    @media (max-width: 1250px) {
        .dav6-layout {
            grid-template-columns: 200px minmax(0, 1fr) 215px;
            gap: 14px;
        }

        .dav6-cat-page {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .dav6-hero-page {
            grid-template-columns: 185px minmax(0, 1fr) 210px;
            gap: 14px;
        }
    }

    @media (max-width: 980px) {
        .dav6-hero-page.is-active {
            grid-template-columns: 1fr 1.55fr;
        }

        .dav6-hero-right {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 14px;
        }

        .dav6-layout {
            grid-template-columns: minmax(0, 1fr) 270px;
        }

        .dav6-center {
            grid-column: 1;
            grid-row: 1;
        }

        .dav6-right {
            grid-column: 2;
            grid-row: 1;
        }

        .dav6-left {
            grid-column: 1 / -1;
            grid-row: 2;
        }

        .dav6-cat-page {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .dav6-left .dav6-side-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 18px;
        }
    }

    @media (max-width: 680px) {
        .dav6-hero-header h2 {
            font-size: 24px;
        }

        .dav6-hero-page.is-active {
            display: flex;
            flex-direction: column;
        }

        .dav6-hero-center {
            order: 1;
        }

        .dav6-hero-left {
            order: 2;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .dav6-hero-right {
            order: 3;
            display: block;
        }

        .dav6-hero-lead h2 {
            font-size: 22px;
        }

        .dav6-hero-bottom-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .dav6-layout {
            display: flex;
            flex-direction: column;
        }

        .dav6-center {
            order: 1;
            width: 100%;
        }

        .dav6-right {
            order: 2;
            width: 100%;
        }

        .dav6-left {
            order: 3;
            width: 100%;
        }

        .dav6-cat-page {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 9px;
        }

        .dav6-main-body p {
            display: none;
        }

        .dav6-left .dav6-side-list {
            display: block;
        }
    }

    @media (max-width: 430px) {
        .dav6-cat-page,
        .dav6-hero-left,
        .dav6-hero-bottom-grid {
            grid-template-columns: 1fr;
        }

        .dav6-heading {
            align-items: flex-start;
        }

        .dav6-heading-actions {
            flex-direction: column;
            align-items: flex-end;
        }

        .dav6-hero-right .dav6-hero-story {
            grid-template-columns: 90px minmax(0, 1fr);
        }
    }
