/* Screen reader only - visually hidden H1 for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Featured Videos Section */
.featured-videos {
    margin-bottom: 15px;
}

.featured-videos__header {
    background: none;
    display: block;
    font-family: Roboto Condensed, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 8px 0;
    padding: 3px 0;
}

.featured-videos__header-featured {
    color: #000;
}

.featured-videos__header-videos {
    color: #d2232a;
}

.featured-videos__grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.featured-videos__big {
    width: 100%;
}

.featured-videos__bottom-row {
    display: flex;
    gap: 3px;
}

.featured-videos__sub {
    flex: 1;
}

.featured-videos__card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    color: #fff;
}

.featured-videos__card:hover {
    text-decoration: none;
    color: #fff;
}

.featured-videos__card img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.featured-videos__big .featured-videos__card img {
    aspect-ratio: 16 / 9;
}

.featured-videos__sub .featured-videos__card img {
    aspect-ratio: 16 / 9;
}

.featured-videos__card:hover img {
    opacity: 0.8;
}

/* Play button overlay */
.featured-videos__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.featured-videos__play-btn svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.featured-videos__play-btn .play-circle {
    fill: rgba(0, 0, 0, 0.5);
    transition: fill 0.2s ease;
}

.featured-videos__play-btn .play-arrow {
    fill: #fff;
}

.featured-videos__card:hover .play-circle {
    fill: #d2232a;
}

.featured-videos__big .featured-videos__play-btn svg {
    width: 72px;
    height: 72px;
}

.featured-videos__sub .featured-videos__play-btn svg {
    width: 48px;
    height: 48px;
}

/* Title overlay - centered */
.featured-videos__title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 15px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    text-align: center;
}

.featured-videos__title {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-videos__subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.featured-videos__big .featured-videos__title {
    font-size: 22px;
}

.featured-videos__big .featured-videos__subtitle {
    font-size: 14px;
}

.featured-videos__sub .featured-videos__title {
    font-size: 16px;
}

.featured-videos__sub .featured-videos__subtitle {
    font-size: 11px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .featured-videos__bottom-row {
        flex-direction: row;
        gap: 3px;
    }

    .featured-videos__sub {
        flex: 1;
    }

    .featured-videos__sub .featured-videos__card img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .featured-videos__big .featured-videos__play-btn svg {
        width: 50px;
        height: 50px;
    }

    .featured-videos__sub .featured-videos__play-btn svg {
        width: 32px;
        height: 32px;
    }

    .featured-videos__big .featured-videos__title {
        font-size: 16px;
    }

    .featured-videos__sub .featured-videos__title {
        font-size: 12px;
    }

    .featured-videos__sub .featured-videos__subtitle {
        font-size: 9px;
    }

    .featured-videos__sub .featured-videos__title-overlay {
        padding: 25px 6px 6px;
    }
}

/* Mobile: play button on thumbnails */
.post_card_item-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.post_card_item-play-btn svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.post_card_item-play-btn .play-circle {
    fill: rgba(0, 0, 0, 0.5);
    transition: fill 0.2s ease;
}

.post_card_item-play-btn .play-arrow {
    fill: #fff;
}

/* Red highlight on hover/tap */
.post_card_item:hover .post_card_item-play-btn .play-circle,
.post_card_item:active .post_card_item-play-btn .play-circle,
.post_card_item.is-touched .post_card_item-play-btn .play-circle {
    fill: #d2232a;
}

.post_card_item:hover .post_card_item-body,
.post_card_item:active .post_card_item-body,
.post_card_item.is-touched .post_card_item-body {
    color: #d2232a;
}

/* Fix: floating banner overlapping content on mobile */
body.is-mobile .floating-banner-container {
    z-index: 9999;
}

body.is-mobile .main-wrapper {
    padding-bottom: 100px !important;
}

/* Fix: third-party ad scripts overlapping content */
body.is-mobile ins[class*="eas6a97888e"] {
    position: fixed !important;
    z-index: 9998;
}

/* Mobile: show post footer (views + date) */
body.is-mobile .post_card_item-information .post_card_item-footer {
    display: flex !important;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0 3px 5px;
    margin: 0;
}

body.is-mobile .post_card_item-footer .post_card_item-views,
body.is-mobile .post_card_item-footer .post_card_item-publication_date {
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.date-red {
    color: #d2232a;
    font-weight: 700;
}

/* Desktop Skin Banner */
.skin-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    text-decoration: none;
}

.skin-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

#app {
    position: relative;
    z-index: 1;
}

.skin-banner ~ #app .main {
    position: relative;
}

.skin-banner ~ #app .main .main-wrapper {
    background-color: #fff;
}

.skin-banner ~ #app .header {
    background-color: #000;
}

/* Separate left/right skin banners */
.skin-banner.skin-banner--left,
.skin-banner.skin-banner--right {
    width: auto;
    height: 100%;
}

.skin-banner.skin-banner--left {
    left: 0;
    right: auto;
}

.skin-banner.skin-banner--right {
    left: auto;
    right: 0;
}

.skin-banner.skin-banner--left img,
.skin-banner.skin-banner--right img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
