/* ==========================================================
   RADIO ALBENA MUSIC NEWS
========================================================== */

.ra-news{
    max-width:1400px;
    margin:0 auto;
    padding:30px 20px;
    color:#fff;
}

.ra-news .container{
    width:100%;
}

.news-title{
    color:#ffffff;
    font-size:42px;
    margin:20px 0 10px;
}

.subtitle{
    color:#c8d2df;
    margin-bottom:30px;
    font-size:18px;
}

/* ==========================================================
   TICKER
========================================================== */

.news-ticker{
    display:flex;
    align-items:center;
    width:100%;
    background:#161c27;
    border:1px solid rgba(255,180,0,.25);
    border-radius:10px;
    overflow:hidden;
    margin:35px 0;
    box-shadow:0 5px 18px rgba(0,0,0,.25);
}

.ticker-label{
    flex:none;
    background:#ffb400;
    color:#111;
    font-size:14px;
    font-weight:bold;
    padding:14px 22px;
    white-space:nowrap;
}

.ticker-wrap{
    width:100%;
    overflow:hidden;
}

.ticker-content{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    padding-left:100%;
}

.home-news-ticker .ticker-content{
    animation:newsTicker 60s linear infinite;
}

.ra-news .ticker-content{
    animation:newsTicker 200s linear infinite;
}

.ticker-content:hover{
    animation-play-state:paused;
}

.ticker-link{
    color:#ffffff;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
}

.ticker-link:hover{
    color:#ffb400;
}

.ticker-separator{
    color:#ffb400;
    margin:0 35px;
    font-size:18px;
}

@keyframes newsTicker{
    from{transform:translateX(0);}
    to{transform:translateX(-100%);}
}

/* ==========================================================
   FEATURED
========================================================== */

.featured{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:35px;
    margin-bottom:50px;
    align-items:center;
}

.featured img{
    width:100%;
    border-radius:12px;
    display:block;
}

.featured-content h2{
    margin:10px 0 20px;
    font-size:42px;
    line-height:1.2;
}

.featured-content h2 a{
    color:#4f8dff;
    text-decoration:none;
}

.featured-content h2 a:hover{
    color:#ffb400;
}

.featured-content p{
    color:#d8d8d8;
    line-height:1.7;
}

.source{
    color:#ffffff;
    font-size:14px;
    opacity:.8;
}

.date{
    margin-top:20px;
    color:#d0d0d0;
    font-size:14px;
}

.button{
    display:inline-block;
    margin-top:20px;
    padding:12px 20px;
    background:#2d6cff;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

.button:hover{
    background:#ffb400;
    color:#111;
}

/* ==========================================================
   CARDS
========================================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:#152238;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,.35);
    transition:.25s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.card .content{
    padding:20px;
}

.card h3{
    margin:12px 0;
    font-size:24px;
    line-height:1.4;
}

.card h3 a{
    color:#4f8dff;
    text-decoration:none;
}

.card h3 a:hover{
    color:#ffb400;
}

.card p{
    color:#d7d7d7;
    line-height:1.6;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1100px){

    .featured{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:700px){

    .cards{
        grid-template-columns:1fr;
    }

    .featured-content h2{
        font-size:30px;
    }

}

/* Hero -> Ticker ohne Abstand */

.entry-content > .news-ticker{
    margin-top:0 !important;
}

.entry-content.is-layout-constrained > .news-ticker{
    margin-block-start:0 !important;
}

.entry-content > .wp-block-shortcode{
    margin-block-start:0 !important;
    margin-top:0 !important;
}