/*
 * LA36 – tema "modern" (redesign minimal peste assets/front/css/site.css)
 * Aceeasi ordine a modulelor si acelasi markup; se schimba tipografia, ritmul si cateva detalii.
 * Titluri / navigatie: Barlow Condensed (aer de "lower third" TV). Text: Public Sans.
 */

:root {
    --la-blue: #1D5489;
    --la-blue-ink: #133a61;
    --la-blue-deep: #0d2742;
    --la-teal: #1f7f96;
    --la-live: #e0352b;
    --la-ink: #17212b;
    --la-muted: #5b6774;
    --la-line: #e3e8ee;
    --la-surface: #f3f5f8;
    --la-radius: 8px;
    --la-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --la-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --la-ease: cubic-bezier(.2, .7, .2, 1);
}

/* tranzitia globala "all .1s linear" din tema veche anima si layout-ul */
* {
    transition: none;
}

body {
    font-family: var(--la-text);
    font-size: 15px;
    line-height: 1.6;
    color: var(--la-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--la-blue);
}

a:hover {
    color: var(--la-blue-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(29, 84, 137, .45);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--la-display);
    letter-spacing: .01em;
}

/* ---------- header ---------- */

.header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--la-line);
    -webkit-backdrop-filter: saturate(1.4) blur(8px);
    backdrop-filter: saturate(1.4) blur(8px);
}

.site-main-nav ul li > a {
    font-family: var(--la-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--la-ink);
    position: relative;
    transition: color .2s var(--la-ease);
}

.site-main-nav ul li > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 8px;
    height: 2px;
    background: var(--la-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--la-ease);
}

.site-main-nav ul li > a:hover::after,
.site-main-nav ul li > a.active::after {
    transform: scaleX(1);
}

.site-main-nav ul li > a.active,
.site-main-nav ul li:hover > a {
    color: var(--la-blue);
}

.searchbox input[type="search"] {
    font-family: var(--la-text);
}

.header-social-links a {
    transition: color .2s var(--la-ease);
}

/* ---------- titluri de sectiune ---------- */

.divider-box {
    padding: 28px 0 64px;
}

.divider-box.divider-grey {
    background: var(--la-surface);
}

.divider-box h2 {
    font-family: var(--la-display);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    color: var(--la-ink);
    margin: 18px 0 22px;
    padding-top: 14px;
    position: relative;
}

.divider-box h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--la-blue);
}

/* ---------- slider (pagini interioare) ---------- */

.slide-title {
    font-family: var(--la-display);
    font-size: 52px !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
}

.slide-line {
    font-family: var(--la-display);
    font-size: 17px !important;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .85;
}

/* ---------- player + "watching now" ---------- */

.home-schedule-wrapper {
    background: var(--la-blue-deep);
    border-radius: var(--la-radius);
    overflow: hidden;
}

.home-schedule-wrapper ul {
    margin: 0;
}

.home-schedule-wrapper ul li {
    font-family: var(--la-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.home-schedule-wrapper ul li:first-child {
    border-top: 0;
}

.home-schedule-wrapper ul li div {
    padding: 0;
}

.home-schedule-wrapper ul li span {
    font-family: var(--la-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .65);
}

.home-schedule-wrapper ul li.active div {
    border-left: 0;
    padding: 0;
}

/* punct "live" in fata eticheții WATCHING NOW */
.home-schedule-wrapper ul li.active span {
    color: #fff;
}

.home-schedule-wrapper ul li.active span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 7px 1px 0;
    border-radius: 50%;
    background: var(--la-live);
    box-shadow: 0 0 0 0 rgba(224, 53, 43, .6);
    animation: la-live 1.8s var(--la-ease) infinite;
    vertical-align: middle;
}

@keyframes la-live {
    0% { box-shadow: 0 0 0 0 rgba(224, 53, 43, .6); }
    70% { box-shadow: 0 0 0 8px rgba(224, 53, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 53, 43, 0); }
}

.home-schedule-wrapper ul li.view-schedule {
    padding: 12px 14px 14px;
}

.home-schedule-wrapper a.full-schedule {
    display: block;
    text-align: center;
    font-family: var(--la-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    padding: 9px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    transition: background .2s var(--la-ease);
}

.home-schedule-wrapper a.full-schedule:hover {
    background: rgba(255, 255, 255, .22);
}

#iFramePlayerNew,
.home-video-player-wrapper video {
    border-radius: var(--la-radius);
    background: #000;
    box-shadow: 0 20px 50px -24px rgba(13, 39, 66, .55);
}

/* ---------- liste de clipuri ---------- */

.videos-row .video-list .clip-box {
    padding: 0 0 12px;
}

.videos-row .video-list .clip-box.active {
    background: #eef3f8;
    border-radius: var(--la-radius);
}

.videos-row .video-list .video-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--la-radius);
    background: var(--la-surface) url("../images/play.svg") center / 44px no-repeat;
    transition: transform .3s var(--la-ease), box-shadow .3s var(--la-ease);
}

.videos-row .video-list .video-link:hover img {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(13, 39, 66, .6);
}

.videos-row .video-list .title {
    margin-top: 12px;
    font-size: 14px;
    color: var(--la-muted);
}

.videos-row .video-list .title a {
    text-decoration: none;
}

.videos-row .video-list .title .title-show {
    font-family: var(--la-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .01em;
    color: var(--la-ink);
    margin-bottom: 2px;
}

.videos-row .video-list .title a:hover .title-show {
    color: var(--la-blue);
}

.videos-row .video-list .title .title-clip {
    color: var(--la-teal);
}

.videos-row .video-list p {
    color: var(--la-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.videos-row .video-list .duration {
    display: inline-block;
    margin-top: 6px;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--la-surface);
    color: var(--la-muted);
    opacity: 1;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.videos-row .video-list .title-type {
    font-family: var(--la-display);
    letter-spacing: .06em;
    border-radius: 4px;
}

.next-title {
    font-family: var(--la-display);
    font-size: 20px;
    letter-spacing: .02em;
}

/* ---------- topicuri (Watch now) ---------- */

.topics-row .topics-list {
    padding: 4px;
}

.topics-row .topics-list .topic-list-image {
    border-radius: var(--la-radius);
    transition: filter .3s var(--la-ease), transform .3s var(--la-ease);
}

.topics-row .topics-list .topic-list-image:hover {
    filter: saturate(1.15) brightness(1.05);
    transform: translateY(-2px);
}

.topics-row .topics-list .topic-list-image:hover .topic-hover {
    display: none;
}

.topics-row .topics-list .title-topic {
    font-family: var(--la-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: .03em;
    padding: 28px 12px 10px;
    background: linear-gradient(180deg, rgba(13, 39, 66, 0) 0%, rgba(13, 39, 66, .88) 100%);
}

/* ---------- featured ---------- */

.featured-list-box {
    border-radius: var(--la-radius);
}

.featured-list-box img {
    transition: transform .4s var(--la-ease);
}

.featured-list-box:hover img {
    transform: scale(1.03);
}

.featured-list-box:hover .featured-hover {
    display: none;
}

.featured-list-box .text-info {
    background: linear-gradient(180deg, rgba(13, 39, 66, 0) 0%, rgba(13, 39, 66, .9) 100%);
}

.featured-list-box .text-info .text-info-wrapper .title {
    font-family: var(--la-text);
    font-size: 17px;
    font-weight: 400;
    opacity: .9;
}

.featured-list-box .text-info .text-info-wrapper .category {
    font-family: var(--la-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
    color: #fff;
}

/* ---------- program ---------- */

.schedule-days li a {
    font-family: var(--la-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--la-teal);
}

.schedule-days li a span {
    font-family: var(--la-text);
    font-size: 13px;
    font-weight: 400;
    color: var(--la-muted);
}

.schedule-days li.active a {
    color: var(--la-ink);
}

.schedule-list li {
    font-size: 16px;
    line-height: 1.5;
    padding: 9px 0;
    border-bottom: 1px solid var(--la-line);
}

.schedule-list li time {
    font-family: var(--la-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    color: var(--la-teal);
}

/* ---------- paginare ---------- */

.pagination > li > a,
.pagination > li > span {
    font-variant-numeric: tabular-nums;
    border-color: var(--la-line);
    color: var(--la-blue);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: var(--la-blue);
    border-color: var(--la-blue);
}

/* ---------- footer ---------- */

.footer {
    background: var(--la-blue-deep);
    padding: 48px 0 56px;
}

.footer h3,
.footer h4 {
    font-family: var(--la-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 14px;
}

ul.footer-links li a {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .88);
    transition: color .2s var(--la-ease);
}

ul.footer-links li a:hover,
ul.footer-social li a:hover {
    color: #fff;
}

ul.footer-social li a {
    color: rgba(255, 255, 255, .88);
    font-size: 22px;
}

.local-scroll a {
    background: var(--la-blue);
    opacity: .85;
}

@media (max-width: 767px) {
    .divider-box h2 {
        font-size: 34px;
    }

    .topics-row .topics-list .title-topic {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
