/*
Theme Name: AnimeStream Child
Theme URI: https://themesia.com/animestream-wordpress-theme
Author: Themesia
Author URI: https://themesia.com
Description: child theme for animestream.
Template: animestream
Version: 1.0.2
Tags: black, yellow, blue, purple, light, two-columns, right-sidebar, custom-header, custom-menu, featured-images
Text Domain: animestream-child
*/
.bigcover img { width: 100%;
    height: 100%;
    object-fit: cover;   /* fills container, may crop */
    object-position: center;
    display: block;
}

.releases.epreleases {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.releases.epreleases .epsearch {
    margin-left: auto;
}

.releases.epreleases .epsearch-input {
    max-width: 280px;
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.releases.epreleases .epsearch-input:focus {
    outline: none;
}

.lastend .inepcx .epst {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.9;
}

/* Ensure First/New Episode cards stay visible even if JS sets inline display:none */
.epcheck .lastend {
    display: flex !important;
}

.asc-scroll-to-episodes {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;

    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.1;

    /* Theme color background when available (injected as --asc-theme-color) */
    background: var(--asc-theme-color, rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);

    transition: transform 180ms ease, border-color 180ms ease;

.asc-scroll-to-episodes:hover {
    transform: translateY(-1px);
    border-color: var(--asc-theme-color, rgba(255, 255, 255, 0.22));
}

.asc-scroll-to-episodes:focus-visible {
    outline: 2px solid var(--asc-theme-color, currentColor);
    outline-offset: 2px;
}