/*
Theme Name: InfoPlus24
Theme URI: https://www.infoplus24.ro/
Author: InfoPlus24
Description: Temă WordPress responsive pentru publicația online InfoPlus24.ro, cu secțiuni de știri și podcasturi.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: infoplus24
*/

:root {
    --ink: #172033;
    --muted: #687386;
    --line: #e3e8ef;
    --paper: #fff;
    --soft: #f3f6fa;
    --accent: #c51f32;
    --accent-dark: #971628;
    --nav: #111827;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f7fa;
    color: var(--ink);
    font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

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

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

/* Bara superioară */
.topline {
    background: #0c1220;
    color: #cbd3df;
    font-size: 12px;
    padding: 7px 0;
}

.topline .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* Antet */
.masthead {
    background: #061a36;
    border-bottom: 1px solid #16345a;
    box-shadow: 0 5px 18px rgba(2, 12, 28, .18);
}

.masthead .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 76px !important;
    padding-right: 10px !important;
}

.brand-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 10px 10px 10px 32px !important;
    transform: none !important;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 220px;
    width: 220px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.brand .custom-logo-link {
    display: block;
    max-width: 100%;
    line-height: 0;
    position: relative !important;
    left: 0 !important;
}

.custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    position: relative !important;
    left: 0 !important;
}

.masthead .tagline {
    color: #dbe7f8;
}

.brand-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.brand-title span {
    color: var(--accent);
}

.tagline {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.header-note {
    font-size: 13px;
    color: var(--muted);
    text-align: right;
}

/* Banner AVA MED */
.masthead .header-ad {
    position: relative;
    isolation: isolate;
    display: block;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.masthead .header-ad::before {
    content: none;
}

.masthead .header-ad-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.masthead .header-ad-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
}

.masthead .header-ad strong,
.masthead .header-ad span:last-child {
    font-size: inherit;
}

/* Podcasturi în antet */
.masthead .header-podcasts {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Navigație */
.nav-bar {
    background: var(--nav);
    color: #fff;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 750;
    color: #f8fafc;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    background: var(--accent);
    color: #fff;
}

.nav-label {
    background: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    padding: 6px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Ultima oră */
.ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.ticker .wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.ticker-label {
    background: var(--accent);
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker a {
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Conținut principal */
.site-main {
    padding: 28px 0 48px;
}

/* Structura principală și bara laterală */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.right-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
    min-width: 0;
}

.sidebar-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 18px;
    min-width: 0;
}

.sidebar-box h3 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.35;
}

.sidebar-box p {
    margin: 10px 0 0;
}

.sidebar-search form {
    display: flex;
    gap: 6px;
}

.sidebar-search input {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    font: inherit;
    font-size: 13px;
}

.sidebar-search button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    padding: 8px 12px;
    font-weight: 750;
    cursor: pointer;
}

.sidebar-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-social-links a {
    display: inline-block;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 750;
}

.sidebar-podcast-links {
    display: grid;
    gap: 10px;
}

.podcast-header-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    min-width: 0;
}

.podcast-header-button:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.podcast-header-logo {
    width: 60px;
    height: 50px;
    flex: 0 0 60px;
    object-fit: contain;
}

.podcast-header-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.podcast-header-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.podcast-header-copy strong {
    font-size: 12px;
    line-height: 1.3;
}

.podcast-header-copy small {
    color: var(--muted);
    font-size: 11px;
}

.podcast-chevron {
    margin-left: auto;
    font-size: 22px;
    color: var(--muted);
}

.sidebar-latest-list {
    display: grid;
    gap: 13px;
}

.sidebar-latest-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.sidebar-latest-thumb {
    display: block;
    width: 86px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--soft);
}

.sidebar-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-latest-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.sidebar-latest-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.sidebar-latest-title {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.sidebar-latest-date {
    font-size: 11px;
    color: var(--muted);
}

.sidebar-ad-content,
.sidebar-poll-content {
    background: var(--soft);
    padding: 14px;
    border: 1px dashed #cbd5e1;
    text-align: center;
}

/* Titluri de secțiuni */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    margin: 0 0 18px;
}

.section-head h2 {
    margin: 0;
    background: var(--ink);
    color: #fff;
    padding: 8px 13px;
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.section-head a {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

/* Știrea principală și cele șase știri */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 32px;
    min-width: 0;
}

.hero-main,
.hero-side-card,
.news-card,
.podcast-card,
.content-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
}

.hero-main {
    position: relative;
    min-width: 0;
    min-height: 390px;
}

.hero-main > .thumb {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
}

.hero-main > .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: center;
}

.placeholder-art {
    min-height: 210px;
    background: linear-gradient(135deg, #182338, #45536a);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: .08em;
}

.hero-main .placeholder-art {
    height: 100%;
    min-height: 390px;
}

.hero-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 50px 25px 24px;
    background: linear-gradient(transparent, rgba(7, 12, 22, .92));
    color: #fff;
}

.category-label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    padding: 4px 7px;
    margin-bottom: 9px;
}

.hero-overlay h1 {
    font-size: clamp(25px, 3vw, 39px);
    line-height: 1.12;
    margin: 0 0 10px;
    letter-spacing: -.7px;
}

.meta {
    font-size: 12px;
    color: var(--muted);
}

.hero-overlay .meta {
    color: #d8deea;
}

/* Două coloane pentru cele șase știri */
.site-main .hero-grid > .hero-side-six {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 14px;
    align-content: start;
    min-width: 0;
    width: 100%;
}

.site-main .hero-side-six > .hero-side-card {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
}

.site-main .hero-side-six .hero-side-card > .thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--soft);
}

.site-main .hero-side-six .hero-side-card > .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.hero-side-card .placeholder-art {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    font-size: 12px;
}

.hero-side-six .card-copy {
    padding: 9px 10px 12px;
    min-width: 0;
}

.hero-side-six .card-copy .category-label {
    font-size: 9px;
    margin: 0 0 5px;
}

.hero-side-six .card-copy h3 {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 7px;
    overflow-wrap: anywhere;
}

.hero-side-six .card-copy .meta {
    font-size: 11px;
}

/* Carduri pentru ultimele știri și categorii */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-card .thumb {
    display: block;
    overflow: hidden;
    background: var(--soft);
}

.news-card .thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card .placeholder-art {
    height: 190px;
    min-height: 190px;
    font-size: 14px;
}

.card-copy {
    padding: 12px;
}

.card-copy h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 5px 0 8px;
    overflow-wrap: anywhere;
}

.card-copy .category-label {
    font-size: 9px;
    margin: 0;
}

.news-card .card-copy {
    padding: 15px;
}

.news-card h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 6px 0 10px;
}

.excerpt {
    color: var(--muted);
    font-size: 13px;
}

.category-section {
    margin-bottom: 34px;
}

/* Podcasturi */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.podcast-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
}

.podcast-mark {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 950;
    font-size: 21px;
}

.podcast-card h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.podcast-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 13px;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 9px 13px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 850;
}

.button:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* Pagini și articole */
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
}

.content-panel {
    padding: 25px;
}

.entry-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -.8px;
    margin: 0 0 12px;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
    line-height: 1.25;
}

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    margin-left: 0;
    padding-left: 18px;
    color: var(--muted);
}

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

.pagination {
    margin: 25px 0;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.page-numbers {
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px 12px;
}

.page-numbers.current {
    background: var(--accent);
    color: #fff;
}

/* Footer */
.site-footer {
    background: #0c1220;
    color: #cbd3df;
    padding: 35px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
}

.footer-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.site-footer p {
    font-size: 13px;
    color: #aab5c5;
}

.site-footer a {
    color: #e7ebf1;
}

.footer-bottom {
    border-top: 1px solid #293243;
    margin-top: 25px;
    padding-top: 14px;
    font-size: 12px;
    color: #9aa6b8;
}

/* Alte elemente */
.menu-fallback {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.menu-fallback a {
    display: block;
    padding: 14px 10px;
    font-size: 13px;
    font-weight: 750;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.alignwide {
    max-width: 1000px;
    margin-inline: auto;
}

.wp-block-image img {
    height: auto;
}

.widget-area {
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px;
}

.widget-area h2,
.widget-area h3 {
    font-size: 16px;
}

.widget-area ul {
    padding-left: 18px;
}

.not-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

/* Tabletă */
@media (max-width: 850px) {
    .masthead .brand-row {
        gap: 6px;
    }

    .masthead .brand {
        flex-basis: 190px;
        width: 190px;
    }

    .masthead .brand .custom-logo {
        max-height: 82px;
    }

    .masthead .header-ad-image {
        max-height: 82px;
    }

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

    .right-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-main,
    .hero-main > .thumb,
    .hero-main > .thumb img,
    .hero-main .placeholder-art {
        min-height: 330px;
    }

    .hero-main > .thumb {
        aspect-ratio: 16 / 9;
    }

    .hero-main > .thumb img {
        height: 100%;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-note {
        display: none;
    }
}

/* Telefon */
@media (max-width: 560px) {
    .wrap {
        width: min(calc(100% - 22px), var(--max));
    }

    .masthead .wrap {
        width: 100%;
        padding-left: 76px !important;
        padding-right: 10px !important;
    }

    .masthead .brand-row {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        padding: 10px 10px 10px 32px !important;
    }

    .masthead .brand {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
        align-self: flex-start;
    }

    .masthead .brand .custom-logo {
        max-height: 76px;
    }

    .masthead .header-podcasts {
        flex-wrap: wrap;
    }

    .masthead .header-ad {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
    }

    .masthead .header-ad-image {
        width: 100%;
        max-height: none;
        object-fit: contain;
        object-position: left center;
    }

    .masthead .header-ad strong {
        font-size: 19px;
    }

    .masthead .header-ad span:last-child {
        font-size: 12px;
    }

    .tagline {
        font-size: 11px;
    }

    .nav-inner {
        display: block;
    }

    .nav-label {
        display: block;
        text-align: center;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav a {
        padding: 10px;
        font-size: 12px;
        border-top: 1px solid #293243;
    }

    .ticker .wrap {
        gap: 8px;
    }

    .site-main {
        padding-top: 18px;
    }

    .hero-main,
    .hero-main > .thumb,
    .hero-main > .thumb img,
    .hero-main .placeholder-art {
        min-height: 300px;
    }

    .hero-main > .thumb {
        aspect-ratio: 16 / 9;
    }

    .hero-overlay {
        padding: 45px 16px 18px;
    }

    .hero-overlay h1 {
        font-size: 27px;
    }

    /* Pe telefon, cele șase știri rămân în două coloane */
    .site-main .hero-grid > .hero-side-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hero-side-six .card-copy {
        padding: 7px;
    }

    .hero-side-six .card-copy h3 {
        font-size: 12px;
        line-height: 1.3;
    }

    .news-grid,
    .archive-grid,
    .podcast-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-card .thumb img {
        height: 210px;
    }

    .podcast-card {
        align-items: flex-start;
        padding: 17px;
        gap: 13px;
    }

    .podcast-mark {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 17px;
    }

    .right-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .topline .wrap {
        font-size: 11px;
    }

    .content-panel {
        padding: 18px;
    }
}
/* FIX FINAL — Știrea principală + 6 știri în dreapta */

.site-main .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
}

.site-main .hero-grid > .hero-main {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.site-main .hero-grid > .hero-side-six {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, auto) !important;
    gap: 14px !important;
    align-items: start !important;
    min-width: 0 !important;
    width: 100% !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card .thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card .card-copy {
    padding: 8px !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card .card-copy h3 {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin: 5px 0 !important;
}

@media (max-width: 900px) {
    .site-main .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .site-main .hero-grid > .hero-main {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .site-main .hero-grid > .hero-side-six {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 560px) {
    .site-main .hero-grid > .hero-side-six {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* InfoPlus24 — corectare dimensiuni știri principale */
.site-main .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    gap: 20px !important;
}

.site-main .hero-grid > .hero-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important;
    overflow: hidden !important;
}

.site-main .hero-grid > .hero-main > .thumb {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.site-main .hero-grid > .hero-main > .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.site-main .hero-grid > .hero-main .hero-overlay {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    z-index: 2 !important;
    padding: 24px !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92),
        rgba(0, 0, 0, 0.45) 65%,
        transparent
    ) !important;
}

.site-main .hero-grid > .hero-main .hero-overlay h1 {
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.2 !important;
    margin: 10px 0 !important;
}

.site-main .hero-grid > .hero-side-six {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, auto) !important;
    align-content: start !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.site-main .hero-grid > .hero-side-six > .hero-side-card {
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.site-main .hero-grid > .hero-side-six .thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.site-main .hero-grid > .hero-side-six .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 900px) {
    .site-main .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .site-main .hero-grid > .hero-main {
        grid-column: 1 !important;
        grid-row: auto !important;
        min-height: 380px !important;
    }

    .site-main .hero-grid > .hero-side-six {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* INFOPLUS24 — ARHIVĂ PE MAI MULTE COLOANE */
.site-main .main-content .archive-news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    align-items: start !important;
}

.site-main .main-content .archive-news-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.site-main .main-content .archive-news-thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
}

.site-main .main-content .archive-news-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.site-main .main-content .archive-news-copy {
    padding: 10px !important;
}

.site-main .main-content .archive-news-copy h3 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 7px 0 !important;
}

@media (max-width: 1000px) {
    .site-main .main-content .archive-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 650px) {
    .site-main .main-content .archive-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* FIX BANNER PUBLICITAR INFOPLUS24 */
.home-ad-banner {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    min-height: 240px !important;
    padding: 32px !important;
    margin: 28px 0 34px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    background: linear-gradient(120deg, #101b46 0%, #2456a6 55%, #7438a5 100%) !important;
    color: #fff !important;
    align-items: center !important;
}

.home-ad-banner .home-ad-art {
    display: block !important;
    position: absolute !important;
    inset: 0 0 0 auto !important;
    width: 48% !important;
    height: 100% !important;
    background:
        radial-gradient(circle at 75% 25%, rgba(120,210,255,.65), transparent 28%),
        radial-gradient(circle at 65% 85%, rgba(205,130,255,.55), transparent 35%) !important;
    pointer-events: none !important;
}

.home-ad-banner .home-ad-orb {
    position: absolute !important;
    display: block !important;
    border: 2px solid rgba(255,255,255,.25) !important;
    border-radius: 50% !important;
}

.home-ad-banner .home-ad-orb-one {
    width: 230px !important;
    height: 230px !important;
    top: -65px !important;
    right: 20px !important;
}

.home-ad-banner .home-ad-orb-two {
    width: 160px !important;
    height: 160px !important;
    right: 120px !important;
    bottom: -90px !important;
}

.home-ad-banner .home-ad-line {
    position: absolute !important;
    display: block !important;
    width: 2px !important;
    height: 150% !important;
    right: 130px !important;
    top: -20% !important;
    background: rgba(255,255,255,.25) !important;
    transform: rotate(35deg) !important;
}

.home-ad-banner .home-ad-content {
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    width: 75% !important;
}

.home-ad-banner .home-ad-tag {
    display: inline-block !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    padding: 5px 9px !important;
    margin-bottom: 12px !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
}

.home-ad-banner .home-ad-content h2 {
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
}

.home-ad-banner .home-ad-content p {
    color: #f0f4ff !important;
    margin: 0 0 20px !important;
    font-size: 15px !important;
}

.home-ad-banner .home-ad-button {
    display: inline-flex !important;
    position: relative !important;
    z-index: 4 !important;
    background: #fff !important;
    color: #182957 !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.home-ad-banner .home-ad-number {
    position: absolute !important;
    display: block !important;
    top: 15px !important;
    right: 22px !important;
    color: rgba(255,255,255,.16) !important;
    font-size: 100px !important;
    font-weight: 900 !important;
}

.home-ad-banner .home-ad-small-label {
    position: absolute !important;
    right: 15px !important;
    bottom: 12px !important;
    color: rgba(255,255,255,.7) !important;
    font-size: 9px !important;
}

@media (max-width: 600px) {
    .home-ad-banner {
        min-height: 230px !important;
        padding: 24px 18px !important;
    }

    .home-ad-banner .home-ad-content {
        width: 100% !important;
    }

    .home-ad-banner .home-ad-content h2 {
        font-size: 25px !important;
        max-width: 290px !important;
    }

    .home-ad-banner .home-ad-content p {
        max-width: 280px !important;
        font-size: 14px !important;
    }

    .home-ad-banner .home-ad-art {
        width: 70% !important;
        opacity: .7 !important;
    }
}
