.radiohy-news {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 10px 28px;
    color: #fff;
}

.radiohy-news-header {
    text-align: center;
    margin-bottom: 14px;
}

.radiohy-news-header h1 {
    margin: 0 0 6px;
    color: #00e5ff;
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.radiohy-news-header p {
    margin: 0;
    color: #888;
    font-size: 0.82rem;
}

.radiohy-news-empty {
    text-align: center;
    color: #666;
    padding: 28px 16px;
    background: #121212;
    border: 1px dashed #333;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* Asztal: min. 3 oszlop, kisebb kártyák */
.radiohy-news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

@media (min-width: 900px) {
    .radiohy-news-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .radiohy-news {
        max-width: 1080px;
    }

    .radiohy-news-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.radiohy-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: linear-gradient(160deg, #121218 0%, #0d0d12 100%);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 12px;
    padding: 10px 8px 9px;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.06);
    min-width: 0;
}

.radiohy-news-card.is-featured {
    border-color: rgba(255, 204, 0, 0.45);
    box-shadow: 0 0 16px rgba(255, 204, 0, 0.08);
}

.radiohy-news-badge {
    display: inline-block;
    align-self: center;
    background: rgba(255, 204, 0, 0.15);
    color: #ffcc00;
    font-size: 0.58rem;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 204, 0, 0.35);
    margin-bottom: 6px;
}

.radiohy-news-card-head {
    width: 100%;
}

.radiohy-news-date {
    display: block;
    color: #777;
    font-size: 0.62rem;
    margin-bottom: 3px;
}

.radiohy-news-title {
    margin: 0 0 4px;
    color: #00e5ff;
    font-size: 0.78rem;
    font-weight: bold;
    line-height: 1.25;
}

.radiohy-news-lead {
    margin: 0 0 6px;
    color: #bbb;
    font-size: 0.68rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.radiohy-news-snippet {
    margin: 0 0 6px;
    color: #999;
    font-size: 0.65rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.radiohy-news-card-preview {
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.radiohy-news-card-preview:hover {
    background: rgba(0, 229, 255, 0.04);
}

.radiohy-news-open {
    margin-top: 6px;
    align-self: center;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.35);
    color: #ffcc00;
    font-size: 0.62rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.radiohy-news-open:hover {
    background: rgba(255, 204, 0, 0.18);
    border-color: rgba(255, 204, 0, 0.55);
}

.radiohy-news-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.radiohy-news-image-wrap {
    width: 100%;
    min-height: 58px;
    max-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 6px;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.radiohy-news-image {
    display: block;
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.radiohy-news-body {
    display: none;
}

.radiohy-news-toggle {
    display: none;
}

.radiohy-news-reactions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.radiohy-news-react {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ccc;
    font-size: 0.62rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.radiohy-news-react:not(.is-locked):hover {
    border-color: rgba(0, 229, 255, 0.4);
}

.radiohy-news-react.is-active {
    border-color: rgba(255, 204, 0, 0.55);
    background: rgba(255, 204, 0, 0.1);
}

.radiohy-news-react.is-locked {
    opacity: 0.85;
    cursor: default;
}

.radiohy-news-react-emoji {
    font-size: 0.78rem;
    line-height: 1;
}

.radiohy-news-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.radiohy-news-share-label {
    color: #777;
    font-size: 0.58rem;
}

.radiohy-news-share-btn {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.15s, color 0.15s;
}

.radiohy-news-share-fb {
    color: #6ea8ff;
}

.radiohy-news-share-fb:hover {
    border-color: #6ea8ff;
    color: #9ec5ff;
}

.radiohy-news-share-x {
    color: #ddd;
}

.radiohy-news-share-x:hover {
    border-color: #fff;
    color: #fff;
}

.radiohy-news-login-hint {
    margin: 6px 0 0;
    font-size: 0.58rem;
    color: #666;
    line-height: 1.3;
}

.radiohy-news-login-hint a {
    color: #00e5ff;
    text-decoration: none;
}

.radiohy-news-login-hint a:hover {
    text-decoration: underline;
}

.radiohy-news-card.is-highlight {
    animation: radiohy-news-pulse 1.2s ease;
}

@keyframes radiohy-news-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 229, 255, 0.06); }
    50% { box-shadow: 0 0 22px rgba(255, 204, 0, 0.35); }
}

/* Popup — teljes hír nagyban */
.radiohy-news-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.radiohy-news-modal-overlay[hidden] {
    display: none !important;
}

.radiohy-news-modal-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: min(90vh, 820px);
    overflow: auto;
    background: linear-gradient(160deg, #14141c 0%, #0d0d12 100%);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.15);
    padding: 22px 18px 18px;
    color: #fff;
}

.radiohy-news-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 2;
}

.radiohy-news-modal-close:hover {
    color: #00e5ff;
}

.radiohy-news-popup-inner {
    text-align: center;
}

.radiohy-news-badge-popup {
    margin-bottom: 10px;
    font-size: 0.68rem;
}

.radiohy-news-popup-image-wrap {
    width: 100%;
    min-height: 120px;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.radiohy-news-popup-image {
    display: block;
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.radiohy-news-popup-date {
    display: block;
    color: #888;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.radiohy-news-popup-title {
    margin: 0 0 8px;
    color: #00e5ff;
    font-size: 1.25rem;
    line-height: 1.3;
}

.radiohy-news-popup-lead {
    margin: 0 0 10px;
    color: #ccc;
    font-size: 0.92rem;
    line-height: 1.45;
}

.radiohy-news-popup-content {
    text-align: left;
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.radiohy-news-popup-content p {
    margin: 0 0 10px;
}

.radiohy-news-actions-popup {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 8px;
}

.radiohy-news-actions-popup .radiohy-news-react {
    font-size: 0.78rem;
    padding: 4px 8px;
}

.radiohy-news-actions-popup .radiohy-news-share-label,
.radiohy-news-actions-popup .radiohy-news-share-btn {
    font-size: 0.72rem;
}

@media (max-width: 640px) {
    .radiohy-news-modal-content {
        max-width: 100%;
        padding: 18px 14px 14px;
        border-radius: 14px;
    }

    .radiohy-news-popup-title {
        font-size: 1.05rem;
    }

    .radiohy-news-popup-image-wrap {
        min-height: 90px;
        max-height: 220px;
    }

    .radiohy-news-popup-image {
        max-height: 200px;
    }
}

/* Mobil: 2 egymás mellett */
@media (max-width: 767px) {
    .radiohy-news {
        padding: 8px 8px 22px;
    }

    .radiohy-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .radiohy-news-card {
        padding: 8px 6px 7px;
        border-radius: 10px;
    }

    .radiohy-news-image-wrap {
        min-height: 48px;
        max-height: 72px;
        margin-bottom: 5px;
        padding: 3px 4px;
    }

    .radiohy-news-image {
        max-height: 64px;
    }

    .radiohy-news-title {
        font-size: 0.72rem;
    }

    .radiohy-news-lead,
    .radiohy-news-content {
        font-size: 0.62rem;
    }
}

/* Nagyon keskeny: 1 oszlop */
@media (max-width: 340px) {
    .radiohy-news-list {
        grid-template-columns: 1fr;
    }

    .radiohy-news-card {
        max-width: 240px;
        margin: 0 auto;
        width: 100%;
    }
}
