/* FilmeSubtitrateHD — theme-styles.css
   Dark Gold Theme v3.0 */


/* ── CSS VARIABLES ── */
:root {
    --gold:        #c9a84c;
    --gold-light:  #e8c96a;
    --gold-dark:   #9a7230;
    --gold-glow:   rgba(201,168,76,0.14);
    --bg-deepest:  #080808;
    --bg-base:     #0d0d0d;
    --bg-card:     #111111;
    --bg-surface:  #161616;
    --bg-elevated: #1c1c1c;
    --border:      rgba(201,168,76,0.14);
    --border-mid:  rgba(201,168,76,0.28);
    --text-primary:#f0ead6;
    --text-mid:    #b8ad96;
    --text-muted:  #7a7060;
    --red-soft:    rgba(192,57,43,0.85);
    --sidebar-w:   230px;
    --radius:      6px;
    --radius-lg:   10px;
    --shadow-gold: 0 0 20px rgba(201,168,76,0.10);
    --transition:  0.22s ease;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0 !important;
    font-size: 14px;
    font-family:Arial, sans-serif;
    text-align: left;
    color: var(--text-mid);
    background: var(--bg-deepest);
    background-image: radial-gradient(ellipse 80% 40% at 50% -10%, rgba(201,168,76,0.05) 0%, transparent 70%);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
ul, ul li {
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-size: 17px;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

ul li { list-style: none; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }
a img { border: 0; }

:focus { outline: 0; }
.clear { clear: both; }
p { margin: 0 0 5px; }

.top { background: var(--bg-card); }
ifx { border: 0; }

/*  NAVBAR  */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-mid);
    border-top: 2px solid var(--gold);
    padding: 8px 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 18px rgba(0,0,0,0.6);
}

.navbar-container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
}

.menu a {
    color: var(--text-mid);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.menu a:hover {
    background: var(--gold-glow);
    color: var(--gold-light);
    border-color: var(--border);
}

.menu svg { width: 14px; height: 14px; }

/* Cautare */
.cautare-form {
    display: flex;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cautare-form:focus-within,
.cautare-form:hover {
    border: 1px solid var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
}

.cautare-form input {
    flex: 1;
    padding: 7px 18px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.cautare-form input::placeholder { color: var(--text-muted); }

.cautare-form button {
    background: var(--gold);
    border: none;
    padding: 0 14px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: background var(--transition);
}

.cautare-form button:hover { background: var(--gold-light); color: #000; }

/* PAGE WRAPPER + SIDEBAR */
.page-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: 12px;
    padding: 10px 8px;
    align-items: start;
}

/* ── SIDEBAR LEFT ── */
.sidebar-left {
    position: sticky;
    top: 62px;
    width: var(--sidebar-w);
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 8px;
    overflow: hidden;
}

.sidebar-widget-title {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--border-mid);
    padding: 8px 11px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-widget-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 12px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
}

.sidebar-widget-body { padding: 6px; }

.sidebar-genres {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sidebar-genres a {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.sidebar-genres a:hover {
    background: var(--gold-glow);
    color: var(--gold-light);
    border-color: var(--border);
    padding-left: 12px;
}

.sidebar-years {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.sidebar-years a {
    display: block;
    text-align: center;
    padding: 6px 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
    transition: all var(--transition);
    text-decoration: none;
}

.sidebar-years a:hover,
.sidebar-years a.active {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold-light);
}

.sidebar-links { display: flex; flex-direction: column; gap: 1px; }

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.sidebar-links a:hover {
    background: var(--gold-glow);
    color: var(--gold-light);
    border-color: var(--border);
}

.sidebar-links svg { width: 12px; height: 12px; opacity: 0.7; flex-shrink: 0; }

/* ── MAIN CONTENT ── */
.main-content { min-width: 0; width: 100%; }

/* SUBMENIU */
.submeniu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: min-content;
    gap: 4px;
    list-style: none;
    max-height: 140px;
    overflow-y: auto;
    padding: 0px;
    background: var(--bg-card);
    border-radius: 8px;
    scrollbar-width: thin;
    border: 1px solid var(--border);
    scrollbar-color: var(--gold-dark) var(--bg-surface);
    margin-bottom: 8px;
}

.submeniu::-webkit-scrollbar { width: 5px; }
.submeniu::-webkit-scrollbar-thumb { background-color: var(--gold-dark); border-radius: 3px; }

.submeniu li {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition);
}

.submeniu li:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}

.submeniu li a {
    display: block;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    white-space: nowrap;
}

.submeniu li:hover a { color: var(--gold-light); }

@media (max-width: 600px) {
    .submeniu {
        grid-template-columns: repeat(2, 1fr);
        max-height: 140px;
    }
    .submeniu::-webkit-scrollbar { display: none; }
    .submeniu li a { font-size: 14px; padding: 3px 6px; }
}

/* YEAR BOX */
.year-box {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-mid);
    border-top: 2px solid var(--gold);
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    margin: 0 0 10px;
    box-shadow: var(--shadow-gold);
}

.year-box h1 {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--text-primary);
}

.year-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* TITLU POST / TITLU */
.titlu-post {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-mid);
    border-left: 3px solid var(--gold);
    padding: 7px 12px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 5px 0 6px;
    box-shadow: var(--shadow-gold);
}

.titlu-post h1,
.titlu-post h2 {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.3;
}

.titlu-post p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 510px) {
    .titlu-post { padding: 5px 8px; }
    .titlu-post h1,
    .titlu-post h2 { font-size: 13px; line-height: 1.2; margin: 0; }
}

/* Slider seriale */
.slider-seriale {
    position: relative;
    overflow: hidden;
    margin: 8px 0;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--bg-surface);
}

.slider-track::-webkit-scrollbar { height: 3px; }
.slider-track::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

.slide-item {
    flex: 0 0 152px;
    height: 258px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.slide-item:hover {
    border-color: var(--gold-dark);
    transform: translateY(-3px);
}

.label-serial {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--red-soft);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 5;
    pointer-events: none;
    user-select: none;
}

.slide-thumb {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    width: 152px;
    height: 258px;
}

.slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-thumb .play-icon {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    transition: .3s;
}

.slide-thumb:hover .play-icon { opacity: 1; }

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px 7px 7px;
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    text-align: left;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.8);
    border: 1px solid var(--border-mid);
    color: var(--gold);
    font-size: 24px;
    width: 30px;
    height: 56px;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition);
}

.slider-btn:hover { background: var(--gold-glow); color: var(--gold-light); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* FOOTER */
.site-footer-wrap {
    max-width: 1500px;
    margin: auto;
    display: flex;
    gap: 40px;
}

.site-footer-hd {
    background: var(--bg-card);
    padding: 16px 20px 18px;
    color: var(--text-mid);
}

.site-footer-left { flex: 1.3; }

.site-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.site-footer-columns {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.site-footer-columns .site-footer-col h3 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer-columns .site-footer-col a {
    display: block !important;
    width: 100% !important;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
    transition: color var(--transition);
}

.site-footer-columns .site-footer-col a:hover { color: var(--gold-light); }

.site-footer-line {
    margin-top: 12px;
    border-top: 1px solid var(--border);
}

.site-footer-copy {
    text-align: center;
    color: var(--text-primary);
    font-size: 14px;
    margin-top: 12px;
    padding-bottom: 1px;
}

@media (max-width: 768px) {
    .site-footer-wrap { flex-direction: column; }
    .site-footer-columns { flex-direction: column; gap: 14px; }
}

/* MAIN / CONTENT / POSTS1 */
.main {
    width: 100%;
    margin: 0;
    text-align: left;
}

.content {
    width: 100%;
    float: left;
}

.posts1 {
    width: 100%;
    float: left;
}

.posts1 .post-date {
    margin: 6px 4px 4px 0;
    float: left;
}

.posts1 .post-title {
    padding: 1px 2px;
    font-size: 14px;
    color: var(--text-muted);
    height: 20px;
    width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 20px;
    margin: 0;
}

.posts1 a { color: var(--gold); }

.posts1 .titlu {
    width: 100%;
    margin: 5px 0 12px 2px;
    color: var(--text-primary);
    text-indent: 10px;
    line-height: 29px;
    background: 0 0;
    border-bottom: solid 1px var(--border);
    float: left;
}

.posts1 .titlu1 {
    width: 100%;
    margin: 5px 0 14px;
    color: var(--text-muted);
    text-transform: initial;
    text-indent: 10px;
    line-height: 29px;
    background: var(--bg-elevated);
    border: solid 1px var(--border-mid);
    border-left: 3px solid var(--gold);
    text-align: left;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.posts1 .titlu1 b { color: var(--gold); }

/* ── POST GRID — auto-fill cu coloane flexibile ── */
.posts1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    width: 100%;
    float: none;
}

/* Elementele care nu sunt carduri de post — ocupă toată lățimea */
.posts1 > .titlu-post,
.posts1 > .titlu,
.posts1 > .titlu1,
.posts1 > .paginator,
.posts1 > .clear,
.posts1 > .descriere,
.posts1 > .mesaj-categorie,
.posts1 > .search-tips-box,
.posts1 > div[style*="text-align:center"],
.posts1 > .slider-seriale {
    grid-column: 1 / -1;
}

/* ── POST CARDS ── */
.posts1 .post {
    width: 100%;
    float: none;
    margin: 0;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.posts1 .post:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.7), 0 0 0 1px var(--border-mid) !important;
    transform: translateY(-3px);
    z-index: 2;
}

.posts1 .post a,
.posts1 .post .film {
    width: 100%;
    color: var(--text-primary);
    float: none;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: var(--radius);
    display: block;
}

.posts1 .post .link a,
.posts1 .post .post-title a {
    width: 100%;
    border-radius: 0;
}

.posts1 .post a img,
.posts1 .post .film img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    min-height: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
    object-fit: cover;
    transition: filter var(--transition);
}

.posts1 .post:hover a img,
.posts1 .post:hover .film img { filter: brightness(1.06); }

.posts1 .post .link {
    width: 100%;
    height: 29px;
    display: block;
    overflow: hidden;
    padding: 1px 2px;
}

.posts1 .post a:hover,
.posts1 .post .film:hover { color: var(--gold-light); }

.posts1 a:hover { color: var(--gold-light); }

.post:hover { box-shadow: 0 0 8px var(--gold-dark) !important; }

/* ── THUMB WRAPPER ── */
.thumb-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s ease;
}

.thumb-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.7);
    border-color: var(--gold-dark);
}

.thumb-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 2/3;
}

/* ── BADGES ── */
.hd {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #000;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    z-index: 3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    display: inline-block;
    white-space: nowrap;
}

.film-cat {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0,0,0,0.75);
    color: var(--gold);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(201,168,76,0.4);
    line-height: 1;
    z-index: 3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    display: inline-block;
    white-space: nowrap;
}

.serial-cat {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(192,57,43,0.85);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    z-index: 3;
    display: inline-block;
    white-space: nowrap;
}

.dublate-cat {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hd { top: 3px; right: 3px; font-size: 10px; padding: 1px 4px; }
    .film-cat { top: 3px; left: 3px; font-size: 10px; padding: 1px 4px; }
    .serial-cat { top: 3px; left: 3px; font-size: 10px; padding: 1px 4px; }
}
/* Comentarii */
.uc-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uc-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 7px 9px;
    transition: border-color var(--transition), background var(--transition);
}
.uc-film {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}
.uc-text {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.45;
    margin: 0 0 5px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uc-meta {
    display: flex;
    align-items: center;
    gap: 5px;
}

.uc-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold-dark);
    flex-shrink: 0;
}

.uc-autor {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.uc-autor::before {
    content: '— ';
    color: var(--gold-dark);
}
/* PAGINARE */
.paginator {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 18px;
    margin-top: 10px !important;
}

.paginator span,
.paginator a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    float: none;
    margin: 0;
    padding: 0 8px;
    text-decoration: none;
    border: solid 1px var(--border);
    background: var(--bg-card);
    color: var(--text-mid);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.paginator a:hover {
    color: var(--gold-light);
    background: var(--gold-glow);
    border-color: var(--gold);
}

span.actual {
    border: solid 1px var(--gold) !important;
    background: var(--gold-glow) !important;
    color: var(--gold-light) !important;
}

.nextback {
    margin-right: 2px !important;
    margin-left: 2px !important;
    width: auto !important;
    padding: 0 14px !important;
    background: var(--bg-elevated) !important;
    color: var(--gold) !important;
    border-color: var(--border-mid) !important;
    white-space: nowrap;
}

.backinactiv {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border) !important;
    cursor: default;
}

@media only screen and (max-width: 350px) {
    .paginator span,
    .paginator a { padding: 0 8px !important; min-width: 30px; }
}

.scrollableContainer {
    overflow: hidden;
    overflow-x: auto;
    box-sizing: border-box;
    white-space: nowrap;
    flex: 1;
    display: inline-flex;
    gap: 3px;
    scrollbar-width: none;
}
.scrollableContainer::-webkit-scrollbar { display: none; }

/* SIDEBAR (WP old widget sidebar) */
.sidebar {
    border-top: solid 1px var(--border);
    margin-top: 10px;
    font-size: 14px;
    float: none;
    position: relative;
    margin: 0 auto;
    height: 100%;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.center { text-align: center !important; }

.sidebar p {
    margin: 5px !important;
    font-size: 14px !important;
    text-transform: initial !important;
    color: var(--text-primary) !important;
    text-align: center;
}

.sidebar .tagcloud {
    text-align: justify !important;
    line-height: 26px !important;
    font-size: 14px !important;
}

@media only screen and (max-width: 510px) {
    .sidebar .tagcloud { padding: 0 10px 15px !important; }
}

@media only screen and (max-width: 750px) {
    .tagcloud a { display: inline-block !important; }
}

.sidebar div p a { color: var(--gold); }

/* FOOTER (legacy) */
.footer {
    width: 100% !important;
    margin: 0 auto !important;
    background: var(--bg-card) !important;
    border-top: solid 1px var(--border-mid) !important;
    display: inline-block !important;
}

@media only screen and (max-width: 510px) {
    .footer,
    .footer .footer-links { margin: 0 auto !important; }
}

.footer .footer-links ul { text-align: center !important; }

@media only screen and (max-width: 750px) {
    .footer .footer-links ul li { display: grid !important; margin: 0 10px !important; }
    .footer p { margin: 12px 0 0 !important; }
}

.footer p { text-align: center !important; }
.footer b { color: var(--gold) !important; }

.footer .footer-links {
    width: 100%;
    text-align: right;
    margin: auto;
}

.footer .footer-links ul li {
    margin: 0 10px;
    display: inline-block;
}

.footer a {
    text-decoration: none;
    color: var(--gold);
    padding: 4px;
    margin: 2px;
    border-radius: 4px;
    background: var(--bg-elevated);
    display: inline-block;
    transition: color var(--transition);
}

.footer a:hover { color: var(--gold-light); }

/* SINGLE POST */
.sdescriere {
    color: var(--text-primary);
    padding: 5px;
    text-align: justify;
}

.sdescriere b { color: var(--text-muted); }

.single-post .video-category {
    width: 99%;
    float: left;
    margin-top: 3px;
    text-align: left;
}

.single-post .video-tags {
    width: 580px;
    float: left;
    margin-top: 8px;
    min-height: 50px;
}

.single-post .view {
    height: 19px;
    padding: 3px 0 1px 38px;
    margin: 5px 0;
    color: var(--gold);
    float: right;
}

.single-post h2 { margin: 10px 0; }

.single-post h1, .single-post h2, .single-post h3,
.single-post h4, .single-post h5, .single-post h6 {
    margin: 10px 0 !important;
    color: var(--text-primary);
}

.descriere {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    padding: 10px 12px;
    float: left;
    margin-bottom: 6px;
    line-height: 1.6;
    text-align: left;
    text-transform: initial;
    font-size: 14px;
    color: var(--text-mid);
}

.descriere,
.comment-respond,
.sdescriere b { color: var(--text-primary); }

article { background: var(--bg-card); }

.single-leftside {
    float: left;
    width: 240px;
    overflow: hidden;
    padding-right: 10px;
}

.singlethumb {
    font-size: 0;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-mid);
    box-shadow: var(--shadow-gold);
}

.singlethumb img {
    width: 260px;
    height: 320px;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.single-watch-moviee {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    float: center;
    width: 240px;
    text-align: center;
    margin-top: 3px;
    text-decoration: none;
    box-sizing: border-box;
}

.movie_link {
    width: 100%;
    float: left;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.2;
}

.titlu-single {
    color: var(--text-primary);
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-left: 3px solid var(--gold);
    overflow: auto;
    border-radius: 0 var(--radius) var(--radius) 0;
    display: inline-block;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    text-indent: 5px;
}
/* SERIALE / EPISOADE */
.episoade a {
    color: var(--gold);
    overflow: auto;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: inline-block;
    width: 33%;
    padding: 5px 4px;
    font-size: 14px;
    text-align: left;
    margin: 2px 0;
    font-weight: 600;
    transition: all var(--transition);
}

.episoade a:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold-light);
}

.episoade a:visited { color: var(--text-muted); }

.sezon b {
    color: var(--text-primary);
    width: 100%;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-left: 3px solid var(--gold);
    margin-left: 0px !important;
    overflow: auto;
    border-radius: 0 var(--radius) var(--radius) 0;
    display: inline-block;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 600;
}

.mesaj-categorie {
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-left: 3px solid var(--gold);
    padding: 7px 12px;
    color: var(--gold-light);
    font-size: 14px;
    margin: 6px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

#player { text-align: left; }

/* VIDEO / PLAYER */
.video-player,
.video-player ifx {
    display: inline-block !important;
    height: auto;
}

.video-fav {
    position: relative;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: block;
    float: left;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5px 0;
    background: var(--bg-elevated);
}

.bi-heart { vertical-align: middle; padding: 0 10px; }

.video_block .loading img { object-fit: contain; }
.video_block .loading a {
    position: relative;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
}

.loading {
    position: relative;
    top: 0; left: 0;
    width: 100%;
    height: auto !important;
}

.loading img { border: 0 !important; }

div#player { position: relative; }

.resp-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 28%;
    background: var(--bg-card);
}

.resp-ifx {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.resp-container2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 35%;
}

.resp-ifx2 {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

div#output {
    width: 100%;
    height: auto;
}

/* COMMENTS */
.entry-comments {
    margin: 0;
    text-align: left;
    clear: both;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-top: 8px;
}

.comment-list { margin: 10px 0 0 !important; padding: 0 !important; }

.comment-list li,
.ping-list li {
    margin: 1px 0 !important;
    padding: 5px 0 !important;
    list-style: none;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.comment-list li:last-child { border-bottom: 0; }
.comment-author { padding: 8px 5px 0; }

.comment-list li .avatar {
    background: var(--bg-surface);
    border: 1px solid var(--border) !important;
    float: left;
    margin: 0 10px 0 0;
    border-radius: 50%;
    -moz-border-radius: 50%;
}

.comment-list li .fn,
.comment-list li .cfn {
    text-transform: none;
    font-size: 14px;
    display: inline-block;
    margin: 0;
    font-weight: 600;
    color: var(--gold);
}

.comment-list cite,
.comment-list cite a,
.ping-list cite,
.ping-list cite a { font-weight: 700; font-style: normal; }

.comment-list li .says { display: none; }

.comment-content {
    padding: 6px 10px;
    margin: 0 0 2px;
    font-size: 14px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    border-radius: var(--radius);
    line-height: 1.5em;
    color: var(--text-mid);
}

.comment-content p { margin: 0; }

.comment-list p,
.ping-list p {
    font-weight: 400;
    text-transform: none;
    margin: 8px 5px 8px 0 !important;
    padding: 0;
    word-wrap: break-word;
    text-align: left !important;
    float: unset !important;
    color: var(--text-mid);
}

.comment-list li .reply {
    position: absolute;
    margin: -22px 0 0 10px;
    padding: 4px 8px;
}

#respond {
    clear: both;
    margin: 12px 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
    text-align: center;
    line-height: 25px;
    text-transform: none !important;
    font-size: 14px;
    background: transparent;
}

h3#reply-title {
    font-size: 14px;
    text-transform: none !important;
    line-height: 22px;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 400 !important;
    color: var(--text-primary);
}

#author, #email, #url {
    background: var(--bg-surface) !important;
    width: 90%;
    color: var(--text-mid);
    font-size: 14px;
    padding: 8px 10px;
    margin: 5px 0 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition);
}
#author:focus, #email:focus, #url:focus { border-color: var(--gold); }

#comment {
    background: var(--bg-surface) !important;
    width: 80%;
    height: 100px;
    color: var(--text-mid);
    font-size: 14px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    outline: none;
    resize: vertical;
    transition: border-color var(--transition);
}
#comment:focus { border-color: var(--gold); }

#author, #email, #url, #comment { width: 91%; }

#submit {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: 0;
    cursor: pointer;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 22px;
    display: inline-block;
    border-radius: var(--radius);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all var(--transition);
}

#submit:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 14px var(--gold-glow);
}

.multe a, #submit { color: #000; }

#respond:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/* MISC UI */
.vertical-line {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--gold);
    vertical-align: middle;
    border-radius: 1px;
    margin: 0 2px;
}

@media (max-width: 480px) { .vertical-line { width: 4px; margin: 0 4px; } }

.fb-share-button {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    height: 30px;
    display: block !important;
}

.film img, .posts1 .post-title { cursor: pointer; }

.top {
    background: var(--bg-card);
    position: relative;
    z-index: 90017;
}

.menumobile {
    height: auto;
    border-bottom: 0;
    border-top: 0;
}

.ani {
    font-size: 14px;
    font-weight: 700;
    margin: 8px;
}

.ani li {
    display: inline-block;
    font-weight: 700;
    margin: 4px;
    width: 50px;
    text-align: center;
    background: var(--bg-elevated);
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    color: var(--text-mid);
}

.ani li:hover {
    border-color: var(--gold);
    background: var(--gold-glow);
    color: var(--gold-light);
}

.txtcentru, .txtcentru a {
    text-align: center !important;
    line-height: 31px;
}

.rmobil3mic { display: none; }

.marginesus { right:0; position:absolute; top:0; width:60px; height:60px; }
.marginejos { float:right; right:0; position:absolute; bottom:0; width:44px; height:40px; }

.mgline-cover-link, mgbottom_media, image-with-text { z-index: 99999 !important; }
body ifx { position: relative; z-index: 90017 !important; }
html ifx { position: relative; z-index: 90019 !important; }
.video-category ifx, .video-player ifx { z-index: 90017 !important; }
.multe { position: relative; z-index: 1; }

.fil1 {
    width: 100%;
    height: auto;
    border: 0;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
    margin: 0 auto;
    justify-content: space-between;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.fil1 b {
    opacity: 1;
    background-color: var(--border);
    display: block;
    flex: 1;
    height: 1px;
}

.fil1a {
    border: 1px solid var(--border-mid);
    padding: .1em .8em;
    background: var(--bg-elevated);
    text-decoration: none;
    color: var(--gold);
    border-radius: var(--radius);
}

.fil1a a { vertical-align: middle; text-decoration: none; color: var(--gold); }

.fil3 {
    background-color: var(--bg-elevated);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto !important;
    height: auto;
    z-index: 1025;
    position: absolute;
    width: 300px;
    top: 47px;
    left: 0;
    right: 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
}

.fil3 li {
    position: relative;
    display: block;
    margin-bottom: 0;
    line-height: 30px;
    font-weight: 400;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}

.fil3 a { text-decoration: none; color: var(--gold); }

svg#search-icon { fill: var(--gold); width: 36px; height: 36px; left: 12px; top: 8px; position: relative; }
svg#icon-burger { fill: var(--gold); box-sizing: border-box; }
svg#fil-burger { fill: var(--text-primary); width: 30px; height: auto; vertical-align: middle; }

svg#play {
    display: block;
    cursor: pointer;
    transform-origin: 50% 50%;
    width: 80px !important;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
}

svg#play #triangle {
    fill: rgba(201,168,76,0.5);
    transition: 500ms;
    transform-origin: 50% 50%;
    stroke: var(--gold);
}

svg#play:hover #triangle { fill: rgba(201,168,76,0.7); }
svg #lineOne, svg #lineTwo { transform-origin: 50% 50%; transition: 1s; stroke: var(--text-primary); }
svg:hover #lineOne { transform: rotate(260deg); transform-origin: 50% 50%; }
svg:hover #lineTwo { transform: rotate(-450deg); transform-origin: 50% 50%; }

#labelx { text-align: left; display: block; }

.playersicommentt { display: inline-block; }

/* search-tips-box */
.search-tips-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin: 14px 0;
    color: var(--text-primary);
}
.search-tips-box h3 { font-size: 14px; margin-bottom: 10px; color: var(--gold); }
.search-tips-box ul { list-style: none; padding: 0; margin: 0; }
.search-tips-box li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-mid);
}
.search-tips-box li:last-child { border-bottom: none; }
.search-tips-box strong { color: var(--gold); }

/* RESPONSIVE — BREAKPOINTS */

/* ── 768px sidebar colapse ── */
@media (max-width: 1019px) {
    .page-wrapper {
        grid-template-columns: 1fr !important;
        padding: 6px;
    }
    .sidebar-left { display: none; }
    .submeniu {
        grid-template-columns: repeat(2, 1fr);
        max-height: 140px;
    }
    .submeniu li a {
        font-size: 16px;
        padding: 3px 6px;
    }
}

/* ── ≤768px navbar wrap ── */
@media (max-width: 768px) {
    .navbar-container { flex-wrap: wrap; gap: 8px; }
    .navbar { position: relative; top: auto; }
    .menu { order: 2; width: 100%; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
    .menu li { flex: 0 0 auto; }
    .menu a { font-size: 14px; padding: 5px 8px; background: var(--bg-elevated); border-radius: var(--radius); }
    .cautare-form { order: 3; width: 100%; }
    .cautare-form input { font-size: 14px; padding: 5px 12px; }
    .cautare-form button { padding: 0 12px; font-size: 14px; color: #000; }
    .menu { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .menu::-webkit-scrollbar { display: none; }
    .site-footer-wrap { flex-direction: column; }
    .site-footer-columns { flex-direction: column; gap: 14px; }
}

/* ── 1254–1020px ── */
@media (min-width: 1020px) and (max-width: 1254px) {
    .posts1 .titlu { width: 100%; }
}

/* ── 750–1020px ── */
@media (min-width: 750px) and (max-width: 1020px) {
    .populare { display: none; }
}

/* ── 510–750px ── */
@media (min-width: 510px) and (max-width: 750px) {
    .single-post .video-tags a,
    .single-post .video-category a { padding: 4px; margin: 2px; border-radius: 5px; background: var(--bg-elevated); display: inline-block; }
    .video_block { width: 100%; margin-left: 0; }
    .adde, .user-bar, .single-post .view { display: none; }
    .single-post .video-tags, .descriere { width: 100%; height: 100%; }
    .single-post .video-tags { width: 96%; height: 100%; margin-left: 5px; }
    .posts1 .titlu1 { width: 100%; }
    .posts1 { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
    .vizualizari { display: none; }
    .posts1 .titlu { margin: 5px 0 3px; }
    .video-player, .video-player ifx { width: 100%; height: 56.25vw; min-height: 280px !important; }
    /* Single post mobile */
    .single-leftside { width: 150px; }
    .singlethumb img { width: 150px; height: 224px; }
    .descriere { width: 100%; }
}

/* ── ≤510px ── */
@media only screen and (max-width: 510px) {
    .single-post .video-tags a { padding: 4px; margin: 2px; border-radius: 5px; background: var(--bg-elevated); display: inline-block; }
    .video_block { width: 100%; margin-left: 0; }
    .top { height: auto; display: block; top: 0; left: 0; z-index: 1001; background: 0 0; }
    .posts1 .titlu h1, .posts1 .titlu h2 { line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-indent: 1px; }
    .hed { position: absolute; }
    .posts1, .main, .posts1 .titlu, .content { width: 100%; }
    .posts1 { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 5px; }
    .posts1 .titlu1 { width: 100%; height: auto; border: 0; margin: 5px 0 3px; }
    .user-bar, .single-post .view { display: none; }
    .single-post .video-category { width: 100%; height: 100%; }
    .single-post .video-tags { width: 96%; height: 100%; margin-left: 5px; margin-top: 0 !important; margin-bottom: 0; text-align: center; font-size: 14px; }
    .video-tags h1, .video-tags h2 { border-bottom: solid 1px var(--border); font-size: 15px; margin: 5px 0; }
    .posts1 .titlu { margin: 5px 0 3px; }
    .vizualizari { display: none; }
    .thumb-wrapper img { aspect-ratio: 2/3; }
    .posts1 .post-title, .posts1 .post .post-title a { width: 100%; font-size: 14px; height: auto; text-align: left; }
    .menumobile { margin: 0 auto; width: 100%; }
    .content .sin { margin: 0; width: 100%; padding: 10px 0; height: auto; box-shadow: unset; border-bottom: 1px solid var(--border); float: left; }
    .single-post .video-tags { width: 96%; height: 100%; margin-left: 5px; }
    .vizionate, .populare, .filme, .categorii, .tags, .favorite { border-bottom: 1px solid var(--border); float: left; line-height: 30px; width: 100%; }
    .sidebar .tagcloud { padding: 0 0 15px; text-align: justify; line-height: 25px; font-size: 14px; }
    /* Single post — thumbnail stivuit pe mobil mic */
    .single-leftside { overflow: hidden; width: 100%; padding: 0; margin: 0 auto 10px; display: block; float: none; text-align: center; }
    .singlethumb { display: inline-block; }
    .singlethumb img { width: 160px; height: 240px; }
    .descriere { padding: 8px; line-height: 1.5; width: 100%; height: auto; float: none; clear: both; z-index: 1; text-transform: initial; font-size: 14px; }
    .posts1 .post-date { margin: 6px 4px 4px 5px; }
    .single-post .video-category { margin-left: 5px; width: 96%; }
    .video-player, .video-player ifx { width: 100%; height: 56.25vw !important; z-index: 1020; min-height: 56vw !important; display: block; padding-bottom: 1px; margin: 0; border: 0; }
    .paginator, .footer, .footer .footer-links, .sidebar { width: 100% !important; }
    .footer, .footer .footer-links { margin: 0 auto !important; }
    .playersicommentt { width: 100%; }
    .video-tags h1, .video-tags h2 { border-bottom: 0; }
    #author, #email, #comment { width: 95%; }
    .episoade a { width: 48%; }
    h1 { font-size: 14px !important; line-height: 1.25em !important; word-break: break-word; }
    h2 { font-size: 13px !important; }
    h3 { font-size: 13px !important; }
    div#output { width: 100%; height: 56.25vw !important; z-index: 1020; background: #000; }
    .loading { width: 100%; height: 56.25vw !important; }
    .loading img { width: 100%; height: 56.25vw !important; }
}

/* ── ≤750 misc ── */
@media only screen and (max-width: 750px) {
    .menumobile { background: var(--bg-card); border-bottom: solid 1px var(--border); border-top: solid 1px var(--border); }
    .top { height: auto; }
    .tagcloud a { display: inline-block !important; }
    .footer .footer-links ul li { display: grid !important; margin: 0 10px !important; }
    .footer p { margin: 12px 0 0 !important; }
}

@media (max-width: 750px) and (min-width: 510px) {
    .posts1, .main, .posts1 .titlu, .content { width: 100%; }
    .posts1 .post { width: 47%; float: left; margin: 0 2px 10px; position: relative; }
    .posts1 .post a, .posts1 .post .film { width: 100%; float: left; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
    .posts1 .post a img, .posts1 .post .film img { width: 100%; height: auto; min-height: 155px; border: 1px solid var(--border); }
    .menumobile { background: var(--bg-card); width: 100%; }
    .posts1 .post .post-title a { font-size: 14px !important; }
    .single-leftside { width: 200px; }
    .singlethumb img { width: 200px; height: 270px; }
}

/* ── ≥750px ── */
@media only screen and (min-width: 750px) {
    .top { background: var(--bg-card); }
    .main { margin-top: 8px; }
    .posts1 .titlu1 { border-left: 3px solid var(--gold); }
    .paginator, .footer .footer-links, .sidebar { width: 100%; }
}

/* ── ≥1020px ── */
@media (min-width: 1020px) {
    .mobiltitlu { display: none; }
    .video-tags h1, .video-tags h2 { line-height: 30px; }
}

/* ── ≤1019px ── */
@media (max-width: 1019px) and (min-width: 300px) {
    .menumobile { border: 0 !important; }
    .single-post { margin-top: 0 !important; }
    .video_block { margin-top: 0 !important; }
    .mobiltitlu { margin: 10px 0 3px !important; position: relative; display: table; float: left; }
    .rmobil, .rmobil2 { position: relative; display: table; margin: 0 auto; width: 100%; }
    .rmobil250 { height: 250px; display: block; }
}

/* single page descriere — min-height doar când e lângă thumbnail */
@media only screen and (min-width: 751px) {
    .single-leftside ~ .descriere { min-height: 285px !important; }
}

@media only screen and (min-width: 1021px) {
    .single-leftside ~ .descriere { min-height: 285px !important; }
}

/* video player heights */
@media only screen and (min-width: 1254px) {
    .top { height: 60px; }
    .video-player, .video-player ifx { min-height: 442px !important; }
    .playersicommentt, .video-player, .video-player ifx { width: 100%; }
    .video_block { width: 100%; }
    .film { width: 250px; }
}

@media (max-width: 1254px) and (min-width: 1021px) {
    .video-player, .video-player ifx { min-height: 558px !important; height: auto; }
    .video_block, .video-player, .video-player ifx { width: 100%; }
    .loading { width: 100%; }
    .loading img { width: 100%; height: auto; }
    div#output { width: 100%; }
    .single-post .video-tags, .single-post .video-category { width: 99%; margin-top: 0; }
}

@media (max-width: 1020px) and (min-width: 751px) {
    .video-player, .video-player ifx { min-height: 442px !important; }
}

@media (max-width: 750px) and (min-width: 510px) {
    .video-player, .video-player ifx { min-height: 289px !important; height: 56.25vw; width: 100%; }
    .loading { width: 100%; height: auto; }
    .loading img { width: 100%; height: auto; }
    div#output { width: 100%; height: 56.25vw; }
}

@media only screen and (max-width: 509px) {
    .video-player, .video-player ifx { min-height: 76vw !important; display: block; padding-bottom: 1px; margin: 0; border: 0; }
}

.video-category ifx, .video-player ifx { height: 439px; }

@media (max-width: 1024px) and (min-width: 750px) {
    .video-category ifx, .video-player ifx { height: 580px; }
}

@media (max-width: 750px) and (min-width: 510px) {
    .video-category ifx, .video-player ifx { height: 300px; }
}

@media only screen and (max-width: 509px) {
    .video-category ifx, .video-player ifx { height: 300px; }
}

.video-category.trailer { width: 100%; margin-left: 0; }
.single-post .video-etichetele { width: 100%; float: left; margin-top: 3px; text-align: left; }

/* ── resp-container2 legacy ── */
@media only screen and (min-width: 300px) { .resp-container2 { padding-bottom: 246%; } }
@media only screen and (min-width: 320px) { .resp-container2 { padding-bottom: 236%; } }
@media only screen and (min-width: 340px) { .resp-container2 { padding-bottom: 230%; } }
@media only screen and (min-width: 350px) { .resp-container2 { padding-bottom: 228%; } }
@media only screen and (min-width: 370px) { .resp-container2 { padding-bottom: 222%; } }
@media only screen and (min-width: 400px) { .resp-container2 { padding-bottom: 218%; } }
@media only screen and (min-width: 420px) { .resp-container2 { padding-bottom: 214%; } }
@media only screen and (min-width: 446px) { .resp-container2 { padding-bottom: 206%; } }
@media only screen and (min-width: 481px) { .resp-container2 { padding-bottom: 70%; } }
@media only screen and (min-width: 510px) { .resp-container2 { padding-bottom: 67%; } }
@media only screen and (min-width: 550px) { .resp-container2 { padding-bottom: 62%; } }
@media only screen and (min-width: 580px) { .resp-container2 { padding-bottom: 60%; } }
@media only screen and (min-width: 600px) { .resp-container2 { padding-bottom: 56%; } }
@media only screen and (min-width: 630px) { .resp-container2 { padding-bottom: 60%; } }
@media only screen and (min-width: 700px) { .resp-container2 { padding-bottom: 48%; } }
@media only screen and (min-width: 1020px) { .resp-container2 { padding-bottom: 40%; } }
@media only screen and (min-width: 1254px) { .resp-container2 { padding-bottom: 36%; } }

/* ── resp-container ── */
@media only screen and (max-width: 690px) { .resp-container { padding-bottom: 30%; } }
@media only screen and (max-width: 615px) { .resp-container { padding-bottom: 33%; } }
@media only screen and (max-width: 580px) { .resp-container { padding-bottom: 35%; } }
@media only screen and (max-width: 530px) { .resp-container { padding-bottom: 39%; } }
@media only screen and (max-width: 480px) { .resp-container { padding-bottom: 89%; } }
@media only screen and (max-width: 444px) { .resp-container { padding-bottom: 94%; } }
@media only screen and (max-width: 400px) { .resp-container { padding-bottom: 99%; } }
@media only screen and (max-width: 342px) { .resp-container { padding-bottom: 100%; } }
@media only screen and (max-width: 320px) { .resp-container { padding-bottom: 110%; } }

/* ── extra small phones ── grid se adaptează automat ── */
@media only screen and (max-width: 300px) {
    .posts1 { grid-template-columns: 1fr; }
    .rmobil2 img { width: 100%; height: 100%; border: 0 !important; }
    .textreclama { width: 95%; }
}

/* banner */
@media only screen and (max-width: 1019px) {
    div#banner1, div#banner2, .rmobil2 #banner1 ifx#frame, .rmobil2 #banner2 ifx#frame { width: 300px !important; height: 100px !important; display: initial; }
    div#banner3, .rmobil2 #banner3, ifx#frame { width: 300px !important; height: 250px !important; display: initial; }
}

@media (max-width: 1019px) and (min-width: 410px) {
    .rmobil2 #banner1 ifx#frame, .rmobil2 #banner2 ifx#frame { width: 100%; height: 100%; max-width: 400px; position: relative; display: block; margin: 0 auto; left: 0; }
    .rmobil2 #banner3 ifx#frame { width: 100%; height: 333.33px; max-width: 400px; position: relative; display: block; margin: 0 auto; left: 0; }
    .rmobil, .rmobil2 { max-width: 400px; height: 150px; }
    .rmobilmare { height: 333.33px; }
}

@media (max-width: 409px) and (min-width: 300px) {
    .rmobil, .rmobil2 { height: 100px; }
    .rmobilmare { height: 250px; }
}

@media only screen and (min-width: 361px) and (max-width: 510px) {
    .posts1 .post-title, .posts1 .post .post-title a {
        padding: 0 6px;
        max-width: 25ch;
        font-size: 11px !important;
        line-height: 1.3em !important;
        max-height: 2.6em !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* imdb mobile */
@media only screen and (max-width: 510px) {
    .imdb { left: 2px; padding: 2px 5px; width: 59px; font-size: 13px; top: 2px; background: linear-gradient(to right, var(--gold-dark) 5%, var(--gold) 27%, var(--gold-dark) 45%, var(--gold) 70%); position: absolute; color: #000; }
    .imdb b { font-size: 12px; color: #000; }
}

/* a global */
@media only screen and (min-width: 1px) {
    .descriere { text-transform: initial; }
    a { text-decoration: none; }
}

/* post hover size corrections */
@media (max-width: 1024px) and (min-width: 751px) {
    .posts1 .post { height: auto; }
    .posts1 .post-title { height: auto; text-align: left; }
    .derulare { height: 14px; top: 343px; }
}

@media (max-width: 750px) and (min-width: 510px) {
    .posts1 .post { height: auto; }
    .posts1 .post-title { height: auto; text-align: left; }
}

@media only screen and (max-width: 510px) {
    .posts1 .post-title, .posts1 .post .post-title a { height: auto; }
}

@media (max-width: 5019px) and (min-width: 751px) { .descriere { height: 100% !important; } }