/*
Theme Name: Filme Documentare
Theme URI: https://www.filme-documentare.ro/
Author: Rădoi Ionela Violeta
Description: Temă modernă și simplă pentru filme-documentare.ro. Compatibilă cu conținutul din DooPlay (filme, seriale, sezoane, episoade, genuri), vot fără cont, surse video YouTube/Vimeo/iframe și spații pentru Google AdSense.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: fd
*/

:root {
	--fd-bg: #0E1014;
	--fd-bg-2: #0B0D10;
	--fd-surface: #161920;
	--fd-surface-2: #1C2028;
	--fd-line: #22262E;
	--fd-line-2: #2A2F38;
	--fd-line-3: #3A404B;
	--fd-text: #E6E8EC;
	--fd-text-2: #C9CDD4;
	--fd-muted: #B4BAC4;
	--fd-muted-2: #9AA1AC;
	--fd-white: #FFFFFF;
	--fd-accent: #F5B544;
	--fd-on-accent: #0E1014;
	--fd-radius: 12px;
	--fd-head: 'Space Grotesk', system-ui, sans-serif;
	--fd-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fd-bg); color: var(--fd-text); font-family: var(--fd-body); font-size: 16px; line-height: 1.5; }
img, iframe, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--fd-text); text-decoration: none; }
a:hover, a:focus-visible { color: var(--fd-accent); }
:focus-visible { outline: 2px solid var(--fd-accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--fd-head); color: var(--fd-white); line-height: 1.15; margin: 0; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--fd-accent); color: var(--fd-on-accent); border-radius: 8px; }

.fd-wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.fd-cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 24px; padding-bottom: 64px; }
.fd-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.fd-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.fd-box { background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 16px; padding: 24px; }
.fd-box h2 { font-size: 20px; margin-bottom: 16px; }
.fd-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.fd-section-title h2 { font-size: 28px; }
.fd-more { font-size: 14px; font-weight: 600; color: var(--fd-accent); }

/* Butoane și etichete */
.fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid var(--fd-line-3); background: transparent; color: var(--fd-text); font: inherit; font-weight: 600; cursor: pointer; }
.fd-btn:hover { border-color: var(--fd-accent); }
.fd-btn--accent { background: var(--fd-accent); border-color: var(--fd-accent); color: var(--fd-on-accent); }
.fd-btn--accent:hover { color: var(--fd-on-accent); filter: brightness(1.08); }
.fd-btn[disabled] { opacity: .45; cursor: default; }
.fd-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--fd-surface); border: 1px solid var(--fd-line); font-size: 14px; font-weight: 500; color: var(--fd-text); }
.fd-chip.is-active { background: var(--fd-accent); border-color: var(--fd-accent); color: var(--fd-on-accent); }
.fd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fd-pill { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--fd-line); font-size: 13px; font-weight: 500; color: var(--fd-text-2); }
.fd-pill--accent { background: var(--fd-accent); color: var(--fd-on-accent); font-weight: 700; }
.fd-badge { display: inline-flex; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--fd-line-2); color: var(--fd-text); }
.fd-badge--serial { background: var(--fd-accent); color: var(--fd-on-accent); }
.fd-star { color: var(--fd-accent); font-weight: 600; }
.fd-muted { color: var(--fd-muted-2); }
.fd-meta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Antet */
.fd-header { border-bottom: 1px solid var(--fd-line); background: var(--fd-bg); position: relative; z-index: 20; }
.fd-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.fd-logo { display: flex; align-items: center; gap: 10px; font-family: var(--fd-head); font-weight: 700; font-size: 22px; color: var(--fd-white); }
.fd-logo__mark { width: 34px; height: 34px; border-radius: 8px; background: var(--fd-accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fd-logo__tld { color: var(--fd-accent); }
.fd-logo img { max-height: 40px; width: auto; }
.fd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 500; }
.fd-nav .current-menu-item > a, .fd-nav .current-menu-ancestor > a { color: var(--fd-accent); }
.fd-nav .sub-menu { display: none; }
.fd-header__search { flex: 1 1 240px; display: flex; justify-content: flex-end; }
.fd-search-form { display: flex; flex: 0 1 300px; min-width: 0; }
.fd-search-form input[type=search] { width: 100%; min-width: 0; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--fd-line-2); background: var(--fd-surface); color: var(--fd-text); font: inherit; font-size: 14px; }
.fd-icon-btn { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--fd-surface); display: none; align-items: center; justify-content: center; cursor: pointer; color: var(--fd-text); }
.fd-mobile-menu { display: none; }

/* Erou */
.fd-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 20px; padding: 40px; }
.fd-hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.fd-hero__text h1 { font-size: 52px; line-height: 1.05; }
.fd-hero__text p { font-size: 17px; line-height: 1.6; color: var(--fd-muted); max-width: 560px; }
.fd-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--fd-muted); }
.fd-hero__media { flex: 1 1 420px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1F3A33; }
.fd-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Carduri */
.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.fd-grid--sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.fd-card { display: flex; flex-direction: column; gap: 10px; }
.fd-card__poster { aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--fd-surface-2); position: relative; }
.fd-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fd-card:hover .fd-card__poster img { transform: scale(1.04); }
.fd-card__rating { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 6px; background: var(--fd-bg); font-size: 12px; font-weight: 600; color: var(--fd-accent); }
.fd-card__type { position: absolute; top: 10px; right: 10px; }
.fd-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--fd-white); }
.fd-card__meta { font-size: 13px; color: var(--fd-muted-2); }
.fd-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--fd-muted-2); font-size: 13px; padding: 12px; text-align: center; }

/* Liste */
.fd-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fd-top li { display: flex; gap: 14px; align-items: center; }
.fd-top__n { width: 28px; font-family: var(--fd-head); font-size: 22px; font-weight: 700; color: #4A515C; }
.fd-top a { flex: 1; font-size: 14px; font-weight: 500; }
.fd-mini { display: flex; gap: 14px; align-items: center; }
.fd-mini__img { flex: 0 0 64px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--fd-surface-2); }
.fd-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-mini__t { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.fd-mini__t span { font-size: 13px; font-weight: 400; color: var(--fd-muted-2); }
.fd-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fd-result { display: flex; gap: 18px; padding: 14px; border-radius: 14px; background: var(--fd-surface); border: 1px solid var(--fd-line); }
.fd-result__img { flex: 0 0 80px; height: 120px; border-radius: 8px; overflow: hidden; background: var(--fd-surface-2); }
.fd-result__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-result__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fd-result__title { font-size: 17px; font-weight: 600; color: var(--fd-white); }
.fd-result__desc { font-size: 14px; line-height: 1.5; color: var(--fd-muted); }

/* Reclame */
.fd-ad { display: flex; align-items: center; justify-content: center; min-height: 90px; overflow: hidden; text-align: center; }
.fd-ad--placeholder { border: 1px dashed var(--fd-line-3); border-radius: 12px; color: #8A919C; font-size: 13px; padding: 16px; }
.fd-ad--box { min-height: 250px; }
.fd-ad--tall { min-height: 600px; }
.fd-ad-band { padding-bottom: 24px; }

/* Film / serial */
.fd-crumbs { font-size: 13px; color: var(--fd-muted-2); display: flex; gap: 8px; flex-wrap: wrap; }
.fd-crumbs a { color: var(--fd-muted-2); }
.fd-player { border-radius: 16px; overflow: hidden; border: 1px solid var(--fd-line); background: var(--fd-surface); }
.fd-player__screen { aspect-ratio: 16 / 9; background: #000; position: relative; }
.fd-player__screen iframe, .fd-player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fd-player__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--fd-muted-2); background-size: cover; background-position: center; }
.fd-player__empty span { background: rgba(14,16,20,.85); padding: 10px 16px; border-radius: 10px; }
.fd-player__bar { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.fd-sources { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-sources button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--fd-line-2); background: transparent; color: var(--fd-text); font: inherit; font-size: 14px; cursor: pointer; }
.fd-sources button.is-active { background: var(--fd-accent); border-color: var(--fd-accent); color: var(--fd-on-accent); font-weight: 600; }
.fd-epnav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--fd-line); padding: 14px 16px; }
.fd-epnav__now { text-align: center; display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; color: var(--fd-white); }
.fd-epnav__now small { font-size: 12px; font-weight: 400; color: var(--fd-muted-2); }
.fd-title-block { display: flex; flex-direction: column; gap: 14px; }
.fd-title-block h1 { font-size: 44px; }
.fd-rating { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 16px; padding: 20px 24px; }
.fd-rating__avg { display: flex; align-items: baseline; gap: 10px; }
.fd-rating__avg strong { font-family: var(--fd-head); font-size: 40px; color: var(--fd-accent); }
.fd-rating__avg span { font-size: 14px; color: var(--fd-muted-2); }
.fd-rating__vote { display: flex; flex-direction: column; gap: 6px; }
.fd-rating__label { font-size: 13px; color: var(--fd-muted); }
.fd-stars { display: flex; gap: 2px; }
.fd-stars button { width: 32px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; font-size: 26px; line-height: 1; color: var(--fd-line-3); }
.fd-stars button.is-on { color: var(--fd-accent); }
.fd-stars.is-done button { cursor: default; }
.fd-content { font-size: 16px; line-height: 1.7; color: var(--fd-muted); }
.fd-content p + p { margin-top: 1em; }
.fd-content a { color: var(--fd-accent); text-decoration: underline; }
.fd-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; font-size: 14px; }
.fd-facts dt { color: var(--fd-muted-2); }
.fd-facts dd { margin: 4px 0 0; color: var(--fd-text); }
.fd-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--fd-line-2); color: var(--fd-muted); }
.fd-show-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.fd-show-head__poster { flex: 0 0 140px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--fd-surface-2); }
.fd-show-head__poster img { width: 100%; height: 100%; object-fit: cover; }
.fd-show-head__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.fd-show-head__text h1 { font-size: 40px; }

/* Sezoane / episoade */
.fd-seasons { display: flex; gap: 6px; flex-wrap: wrap; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 12px; padding: 4px; }
.fd-seasons button { min-height: 44px; padding: 0 18px; border-radius: 9px; border: 0; background: transparent; color: var(--fd-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fd-seasons button[aria-selected=true] { background: var(--fd-accent); color: var(--fd-on-accent); }
.fd-eps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fd-ep { display: flex; gap: 16px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--fd-line); background: var(--fd-surface); }
.fd-ep.is-current { border-color: var(--fd-accent); background: var(--fd-surface-2); }
.fd-ep__img { flex: 0 0 160px; height: 90px; border-radius: 10px; overflow: hidden; background: var(--fd-surface-2); display: flex; align-items: center; justify-content: center; font-family: var(--fd-head); font-size: 28px; font-weight: 700; color: #5A616C; }
.fd-ep__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-ep__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fd-ep__title { font-size: 16px; font-weight: 600; color: var(--fd-white); }
.fd-ep__meta { font-size: 13px; color: var(--fd-muted-2); }
.fd-ep__desc { font-size: 14px; line-height: 1.5; color: var(--fd-muted); }
.fd-ep-panel[hidden] { display: none; }

/* Filtre categorie */
.fd-filters { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 16px; padding: 16px; }
.fd-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.fd-sort a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; color: var(--fd-muted); }
.fd-sort a.is-active { background: var(--fd-line-2); color: var(--fd-white); }
.fd-page-head { padding-top: 24px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 14px; }
.fd-page-head h1 { font-size: 44px; }
.fd-page-head .fd-content { max-width: 760px; }
.fd-pagination { display: flex; justify-content: center; margin-top: 40px; }
.fd-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fd-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--fd-line-2); display: inline-flex; align-items: center; justify-content: center; }
.fd-pagination .page-numbers.current { background: var(--fd-accent); border-color: var(--fd-accent); color: var(--fd-on-accent); font-weight: 600; }
.fd-pagination .page-numbers.dots { border: 0; }

/* Căutare */
.fd-bigsearch { display: flex; flex-direction: column; gap: 18px; padding-top: 40px; padding-bottom: 24px; }
.fd-bigsearch label { font-family: var(--fd-head); font-size: 32px; font-weight: 700; color: var(--fd-white); }
.fd-bigsearch__field { position: relative; display: flex; align-items: center; }
.fd-bigsearch__field svg { position: absolute; left: 18px; }
.fd-bigsearch__field input { width: 100%; height: 60px; padding: 0 20px 0 54px; border-radius: 14px; border: 2px solid var(--fd-accent); background: var(--fd-surface); color: var(--fd-white); font: inherit; font-size: 18px; }
.fd-tabs { display: flex; gap: 4px; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 12px; padding: 4px; }
.fd-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.fd-tabs a.is-active { background: var(--fd-accent); color: var(--fd-on-accent); }
.fd-empty { padding: 40px 24px; border-radius: 16px; border: 1px dashed var(--fd-line-3); text-align: center; display: flex; flex-direction: column; gap: 8px; }

/* Formulare și comentarii */
.fd-form { display: flex; flex-direction: column; gap: 14px; }
.fd-form label { font-size: 13px; color: var(--fd-muted); display: block; margin-bottom: 6px; }
.fd-form input[type=text], .fd-form input[type=email], .fd-form input[type=url], .fd-form select, .fd-form textarea,
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--fd-line-2); background: var(--fd-bg); color: var(--fd-text); font: inherit; font-size: 14px;
}
.fd-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.fd-form__row > div { flex: 1 1 180px; }
.fd-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--fd-muted); }
.fd-form__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--fd-accent); flex: 0 0 auto; }
.fd-hp { position: absolute !important; left: -9999px !important; }
.fd-notice { padding: 16px 20px; border-radius: 12px; font-size: 15px; line-height: 1.6; }
.fd-notice--ok { background: #1F3A33; color: #DDF1EA; }
.fd-notice--err { background: #3A2228; color: #F8D7DC; }
.fd-comments h2 { font-size: 24px; margin-bottom: 16px; }
.fd-comments ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fd-comments ol ol { margin: 16px 0 0 40px; }
.fd-comment { display: flex; gap: 14px; }
.fd-comment__avatar { flex: 0 0 40px; height: 40px; border-radius: 999px; background: var(--fd-line-2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--fd-text-2); }
.fd-comment__head { font-size: 14px; }
.fd-comment__head b { color: var(--fd-white); }
.fd-comment__text { font-size: 14px; line-height: 1.6; color: var(--fd-muted); margin-top: 4px; }
.fd-comment__text p + p { margin-top: .6em; }
.fd-comment .reply a { font-size: 13px; color: var(--fd-accent); }
.comment-respond { background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 16px; padding: 20px; }
.comment-respond h3 { font-size: 18px; margin-bottom: 10px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 13px; color: var(--fd-muted); margin-bottom: 6px; }
.comment-form .form-submit input { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--fd-accent); color: var(--fd-on-accent); font: inherit; font-weight: 600; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--fd-muted); }
.comment-form-cookies-consent label { margin: 0; }

/* Despre / 404 */
.fd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fd-stat { background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.fd-stat strong { font-family: var(--fd-head); font-size: 26px; color: var(--fd-accent); }
.fd-stat span { font-size: 13px; color: var(--fd-muted-2); }
.fd-404 { padding-top: 80px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.fd-404__code { font-family: var(--fd-head); font-size: 140px; font-weight: 700; line-height: 1; color: var(--fd-accent); }
.fd-404 h1 { font-size: 36px; }
.fd-404 p { max-width: 560px; color: var(--fd-muted); }

/* Subsol */
.fd-footer { border-top: 1px solid var(--fd-line); background: var(--fd-bg-2); }
.fd-footer__in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; font-size: 14px; color: var(--fd-muted-2); }
.fd-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.fd-footer__brand .fd-logo { font-size: 18px; }
.fd-footer__brand p { line-height: 1.6; max-width: 360px; }
.fd-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.fd-footer a { color: var(--fd-muted); }
.fd-copy { border-top: 1px solid var(--fd-line); padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: var(--fd-muted-2); }

.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; color: var(--fd-muted-2); }

/* Mobil */
@media (max-width: 760px) {
	.fd-wrap { padding-left: 16px; padding-right: 16px; }
	.fd-header__in { gap: 8px; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
	.fd-logo { flex: 1; font-size: 18px; min-width: 0; }
	.fd-logo__mark { width: 30px; height: 30px; }
	.fd-nav, .fd-header__search { display: none; }
	.fd-icon-btn { display: inline-flex; }
	.fd-mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--fd-bg); overflow-y: auto; padding: 0 16px 24px; flex-direction: column; gap: 24px; }
	.fd-mobile-menu.is-open { display: flex; }
	.fd-mobile-menu__top { height: 64px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--fd-line); margin: 0 -16px; padding: 0 16px; }
	.fd-mobile-menu .fd-search-form { flex: none; }
	.fd-mobile-menu .fd-search-form input[type=search] { height: 48px; font-size: 16px; }
	.fd-mobile-menu nav ul { list-style: none; margin: 0; padding: 0; }
	.fd-mobile-menu nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--fd-line); font-family: var(--fd-head); font-size: 22px; font-weight: 600; }
	.fd-mobile-menu nav .sub-menu a { font-size: 17px; padding-left: 16px; }
	.fd-mobile-menu__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--fd-muted-2); margin-bottom: 10px; display: block; }
	body.fd-menu-open { overflow: hidden; }

	.fd-hero { padding: 0; background: transparent; border: 0; gap: 14px; flex-direction: column-reverse; align-items: stretch; }
	.fd-hero__media, .fd-hero__text { flex: none; }
	.fd-hero__media { display: block; width: 100%; }
	.fd-hero__text h1 { font-size: 34px; }
	.fd-hero__text p { font-size: 15px; }
	.fd-hero__text .fd-btn { width: 100%; }
	.fd-scroll-x { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
	.fd-scroll-x > * { flex: 0 0 auto; }
	.fd-grid, .fd-grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.fd-card__title { font-size: 14px; }
	.fd-section-title h2 { font-size: 22px; }
	.fd-cols { gap: 28px; padding-top: 16px; padding-bottom: 32px; }
	.fd-main { gap: 24px; }
	.fd-player { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
	.fd-title-block h1, .fd-page-head h1 { font-size: 30px; }
	.fd-show-head__poster { display: none; }
	.fd-show-head__text h1 { font-size: 30px; }
	.fd-rating { padding: 16px; gap: 12px; flex-direction: column; align-items: stretch; }
	.fd-rating__avg strong { font-size: 32px; }
	.fd-stars button { width: 30px; font-size: 24px; }
	.fd-epnav .fd-btn { flex: 1; padding: 0 10px; }
	.fd-epnav__now { order: -1; flex-basis: 100%; text-align: left; }
	.fd-ep { gap: 12px; padding: 8px; }
	.fd-ep__img { flex-basis: 112px; height: 63px; font-size: 22px; }
	.fd-ep__desc { display: none; }
	.fd-ep__title { font-size: 14px; }
	.fd-seasons button { flex: 1; }
	.fd-filters { padding: 0; background: transparent; border: 0; }
	.fd-filters .fd-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
	.fd-filters .fd-chips > * { flex: 0 0 auto; }
	.fd-bigsearch { padding-top: 20px; }
	.fd-bigsearch label { font-size: 24px; }
	.fd-bigsearch__field input { height: 52px; font-size: 16px; }
	.fd-result { gap: 12px; padding: 10px; }
	.fd-result__img { flex-basis: 64px; height: 96px; }
	.fd-result__desc { display: none; }
	.fd-result__title { font-size: 15px; }
	.fd-tabs { width: 100%; }
	.fd-tabs a { flex: 1; justify-content: center; padding: 0 6px; font-size: 13px; }
	.fd-ad--tall { display: none; }
	.fd-404 { padding-top: 48px; }
	.fd-404__code { font-size: 96px; }
	.fd-404 h1 { font-size: 26px; }
	.fd-stats { gap: 8px; }
	.fd-stat { padding: 14px; }
	.fd-stat strong { font-size: 22px; }
	.fd-footer__in { padding-top: 28px; padding-bottom: 28px; gap: 14px; flex-direction: column; }
	.fd-footer ul { gap: 4px 20px; }
	.fd-footer ul a { min-height: 44px; display: inline-flex; align-items: center; }
}

.fd-404 .fd-search-form, .fd-box .fd-search-form { flex: none; }
.fd-post-card { display: flex; flex-direction: column; gap: 10px; }
.fd-post-card__img { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--fd-surface-2); }
.fd-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-article { max-width: 820px; }
.fd-article .fd-content { color: var(--fd-text-2); font-size: 17px; }
.fd-article .fd-content h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.fd-article .fd-content h3 { font-size: 21px; margin: 1.2em 0 .4em; }
.fd-article .fd-content ul, .fd-article .fd-content ol { padding-left: 1.3em; }
.fd-article .fd-content img { border-radius: 12px; }
.fd-article .fd-content blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--fd-accent); color: var(--fd-text); }
.fd-sm { display: none; }
.fd-seasons button, .fd-epnav .fd-btn { white-space: nowrap; }
@media (max-width: 760px) {
	.fd-lg { display: none; }
	.fd-sm { display: inline; }
	.fd-episodes .fd-seasons { width: 100%; }
	.fd-seasons { flex-wrap: nowrap; overflow-x: auto; }
	.fd-seasons button { flex: 1 0 auto; padding: 0 14px; }
}
