.ef-root { --ef-blue: #1683c5; color: #242424; background: #fff; font-family: inherit; max-width: 100%; }
/* Hydrogen's article heading is redundant when the film detail provides its own. */
article.post-type-endre_film:has(.ef-detail) > .entry-header { display: none; }
.ef-root *, .ef-root *::before, .ef-root *::after { box-sizing: border-box; }
.ef-root [hidden] { display: none !important; }
.ef-root a { color: var(--ef-blue); }
.ef-root a:hover, .ef-root a:focus-visible { text-decoration: underline; }
.ef-root a:focus-visible, .ef-root button:focus-visible { outline: 2px solid var(--ef-blue); outline-offset: 3px; }
.ef-root .ef-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem 1rem; }
.ef-root .ef-film { margin: 0; padding: 0; min-width: 0; border: 0; background: none; box-shadow: none; }
.ef-root .ef-film-link { display: block; text-decoration: none; }
.ef-root .ef-film-title { display: block; margin-top: .4rem; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.ef-root .ef-poster { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: #f5f7f8; border: 1px solid var(--ef-blue); }
.ef-root .ef-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #5d6468; padding: .5rem; font-size: .85rem; text-align: center; }
.ef-root .ef-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ef-root .ef-filter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .15rem; margin-top: 1.2rem; padding-top: .65rem; border-top: 1px solid var(--ef-blue); }
.ef-root .ef-filter button { appearance: none; font: inherit; font-size: .85rem; padding: .25rem .4rem; min-height: 2rem; border: 1px solid transparent; border-radius: 0; background: #fff; color: var(--ef-blue); box-shadow: none; cursor: pointer; }
.ef-root .ef-filter button[aria-pressed="true"] { color: #fff; background: var(--ef-blue); }
.ef-root .ef-filter button:disabled { color: #858585; cursor: default; }
.ef-root .ef-filter button:not(:disabled):hover { border-color: var(--ef-blue); }
.ef-root .ef-back { display: inline-block; margin-bottom: 1rem; }
.ef-root .ef-heading, .ef-root .ef-subheading { color: var(--ef-blue); line-height: 1.35; }
.ef-root .ef-heading { margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ef-blue); font-size: 1.6rem; }
.ef-root .ef-subheading { font-size: 1.15rem; margin: 1.1rem 0 .6rem; }
.ef-root .ef-detail-top { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.ef-root .ef-info { min-width: 0; overflow-wrap: anywhere; }
.ef-root .ef-info dl { margin: 0; }
.ef-root .ef-info dt { font-weight: 600; margin-top: .6rem; }
.ef-root .ef-info dt:first-child { margin-top: 0; }
.ef-root .ef-info dd { margin: .1rem 0 .4rem; }
.ef-root .ef-stars { color: var(--ef-blue); letter-spacing: .08em; white-space: nowrap; }
.ef-root .ef-comment { line-height: 1.65; }
.ef-root .ef-section { margin-top: 1.4rem; padding-top: .1rem; border-top: 1px solid var(--ef-blue); }
.ef-root .ef-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.ef-root .ef-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ef-root .ef-spotify { width: 100%; max-width: 100%; }
.ef-root .ef-spotify iframe { display: block; width: 100%; max-width: 100%; height: 352px; border: 0; }
.ef-root .ef-credits { margin-top: 1.8rem; padding-top: .6rem; border-top: 1px solid var(--ef-blue); font-size: .75rem; color: #555; }
.ef-root .ef-credits img { display: inline-block; width: 90px; height: auto; vertical-align: middle; }
.ef-root .ef-credits p { margin: .35rem 0 0; }
.ef-root .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1023px) {
    .ef-root .ef-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ef-root .ef-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .65rem; }
    .ef-root .ef-detail-top { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .ef-root .ef-detail-poster { width: min(100%, 280px); }
    .ef-root .ef-heading { font-size: 1.35rem; }
}
