:root {
    --rupor-news-red: #fc042c;
    --rupor-news-red-dark: #d60023;
    --rupor-news-black: #000000;
    --rupor-news-white: #ffffff;
    --rupor-news-muted: #6b6b6b;
    --rupor-news-border: #ededed;
}

/* Existing Elementor header template 124705. */
.elementor-124705 .elementor-element.elementor-element-c05d58b > .elementor-widget-container {
    display: flex;
    align-items: center;
    gap: 18px;
}

.elementor-124705 .elementor-element.elementor-element-c05d58b .elementor-nav-menu--main {
    flex: 1 1 auto;
    min-width: 0;
}

.elementor-124705 .elementor-element.elementor-element-f0c1d9a > .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rupor-toate-stirile-trigger {
    appearance: none;
    border: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rupor-toate-stirile-trigger--desktop {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 15px;
    border-radius: 40px;
    background: var(--rupor-news-red);
    color: var(--rupor-news-white);
    font-size: 14px;
    white-space: nowrap;
}

.rupor-toate-stirile-trigger--desktop:hover,
.rupor-toate-stirile-trigger--desktop:focus-visible {
    background: var(--rupor-news-red-dark);
    color: var(--rupor-news-white);
    transform: translateY(-1px);
}

.rupor-toate-stirile-trigger--mobile {
    display: none;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--rupor-news-red);
    color: var(--rupor-news-white);
    font-size: 14px;
}

.rupor-toate-stirile-trigger--mobile:hover,
.rupor-toate-stirile-trigger--mobile:focus-visible {
    background: var(--rupor-news-red-dark);
    color: var(--rupor-news-white);
}

.rupor-toate-stirile-trigger__spark {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.rupor-toate-stirile-trigger:focus-visible,
.rupor-toate-stirile-panel a:focus-visible,
.rupor-toate-stirile-panel button:focus-visible,
.rupor-toate-stirile-panel__drawer:focus-visible {
    outline: 3px solid #fdd300;
    outline-offset: 3px;
}

.rupor-toate-stirile-panel {
    position: fixed;
    z-index: 100000;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    font-family: "Roboto", sans-serif;
    transition: opacity 280ms ease, visibility 0s linear 280ms;
}

.rupor-toate-stirile-panel.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.rupor-toate-stirile-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 280ms ease;
}

.rupor-toate-stirile-panel.active .rupor-toate-stirile-panel__overlay {
    opacity: 1;
}

.rupor-toate-stirile-panel__drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: 100%;
    overflow: hidden;
    background: var(--rupor-news-white);
    border-top: 5px solid var(--rupor-news-red);
    box-shadow: 6px 0 24px rgba(0, 0, 0, 0.24);
    color: var(--rupor-news-black);
    transform: translateX(-100%);
    transition: transform 280ms ease;
}

.rupor-toate-stirile-panel.active .rupor-toate-stirile-panel__drawer {
    transform: translateX(0);
}

.rupor-toate-stirile-panel__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--rupor-news-border);
    background: var(--rupor-news-white);
}

.rupor-toate-stirile-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--rupor-news-black);
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.rupor-toate-stirile-panel__title i {
    color: var(--rupor-news-red);
    font-size: 20px;
}

.rupor-toate-stirile-panel__close {
    appearance: none;
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--rupor-news-black);
    cursor: pointer;
    font-size: 18px;
    transition: background-color 180ms ease, color 180ms ease;
}

.rupor-toate-stirile-panel__close:hover {
    background: var(--rupor-news-red);
    color: var(--rupor-news-white);
}

.rupor-toate-stirile-panel__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px 20px;
}

.rupor-toate-stirile-panel__date {
    margin: 0;
    padding: 16px 0 14px;
    color: var(--rupor-news-muted);
    font-size: 14px;
    font-weight: 500;
}

.rupor-toate-stirile-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rupor-toate-stirile-panel__item {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--rupor-news-border);
}

.rupor-toate-stirile-panel__article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.rupor-toate-stirile-panel__article:hover {
    color: inherit;
}

.rupor-toate-stirile-panel__image {
    display: flex;
    flex: 0 0 82px;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 76px;
    overflow: hidden;
    border-radius: 10px;
    background: #e1e0e7;
    color: var(--rupor-news-red);
}

.rupor-toate-stirile-panel__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rupor-toate-stirile-panel__image i {
    font-size: 24px;
}

.rupor-toate-stirile-panel__text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.rupor-toate-stirile-panel__article-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--rupor-news-black);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: color 180ms ease;
}

.rupor-toate-stirile-panel__article:hover .rupor-toate-stirile-panel__article-title {
    color: var(--rupor-news-red);
}

.rupor-toate-stirile-panel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    color: var(--rupor-news-muted);
    font-size: 12px;
    line-height: 1.3;
}

.rupor-toate-stirile-panel__category {
    color: var(--rupor-news-red);
    font-weight: 600;
}

.rupor-toate-stirile-panel__category + time::before {
    margin-right: 5px;
    color: #b7b7b7;
    content: "|";
}

.rupor-toate-stirile-panel__empty {
    margin: 0;
    padding: 24px 0;
    color: var(--rupor-news-muted);
}

.rupor-toate-stirile-panel__footer {
    flex: 0 0 auto;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--rupor-news-border);
    background: var(--rupor-news-white);
}

.rupor-toate-stirile-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 40px;
    background: var(--rupor-news-red);
    color: var(--rupor-news-white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.rupor-toate-stirile-panel__cta:hover,
.rupor-toate-stirile-panel__cta:focus-visible {
    background: var(--rupor-news-red-dark);
    color: var(--rupor-news-white);
    transform: translateY(-1px);
}

body.rupor-toate-stirile-panel-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .elementor-124705 .elementor-element.elementor-element-9e8838d {
        width: 24%;
    }

    .elementor-124705 .elementor-element.elementor-element-2523f09 {
        width: 52%;
    }

    .elementor-124705 .elementor-element.elementor-element-7927aab {
        width: 24%;
    }

    .rupor-toate-stirile-trigger--mobile {
        display: inline-flex;
    }

    .rupor-toate-stirile-panel__drawer {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rupor-toate-stirile-trigger,
    .rupor-toate-stirile-panel,
    .rupor-toate-stirile-panel__overlay,
    .rupor-toate-stirile-panel__drawer,
    .rupor-toate-stirile-panel__close,
    .rupor-toate-stirile-panel__article-title,
    .rupor-toate-stirile-panel__cta {
        transition: none;
    }
}
