/* IFG CoreW — Arhivă video. Colours and spacing come from the active theme's presets. */
.ifg-ma-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.ifg-ma-player__poster { position: absolute; inset: 0; display: block; }
.ifg-ma-player__poster img, .ifg-ma-player__frame, .ifg-ma-player__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.ifg-ma-player__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0, 0, 0, .65); border: 2px solid #fff; transition: background-color .2s; }
.ifg-ma-player__play::before { content: ""; position: absolute; left: 29px; top: 21px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.ifg-ma-player__poster:hover .ifg-ma-player__play, .ifg-ma-player__poster:focus-visible .ifg-ma-player__play { background: var(--wp--preset--color--brand, #254d42); }
.ifg-ma-player__poster:focus-visible { outline: 3px solid var(--wp--preset--color--brand, #254d42); outline-offset: -3px; }
.ifg-ma-player__external { margin: 0; padding: 1rem; }
.ifg-ma-meta, .ifg-ma-people { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--wp--preset--color--muted, #5f6360); }
.ifg-ma-meta__sep { opacity: .6; }
.ifg-ma-people__label { font-weight: 600; }
.ifg-ma-sources { border: 1px solid var(--wp--preset--color--line, #e3e6e4); border-radius: 12px; padding: var(--wp--preset--spacing--md, 1.5rem); }
.ifg-ma-sources__title, .ifg-ma-section__title { margin: 0 0 .75rem; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.ifg-ma-sources__list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.ifg-ma-source { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.ifg-ma-source a { font-weight: 700; }
.ifg-ma-source span { color: var(--wp--preset--color--muted, #5f6360); font-size: .9rem; word-break: break-all; }
.ifg-ma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--wp--preset--spacing--md, 1.5rem); }
.ifg-ma-card, .ifg-ma-show { height: 100%; overflow: hidden; border: 1px solid var(--wp--preset--color--line, #e3e6e4); border-radius: 12px; background: var(--wp--preset--color--surface, transparent); }
.ifg-ma-card__link, .ifg-ma-show__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ifg-ma-card__media, .ifg-ma-show__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--line, #e3e6e4); background: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--brand, #254d42) 30%, var(--wp--preset--color--line, #e3e6e4)), var(--wp--preset--color--line, #e3e6e4) 70%); }
.ifg-ma-card__media img, .ifg-ma-show__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ifg-ma-card__title, .ifg-ma-show__title { margin: .75rem .9rem .25rem; font-size: 1rem; line-height: 1.35; }
.ifg-ma-card__meta, .ifg-ma-show__description { margin: 0 .9rem .9rem; color: var(--wp--preset--color--muted, #5f6360); font-size: .875rem; }
.ifg-ma-show__schedule { margin: .75rem .9rem 0; color: var(--wp--preset--color--brand, #254d42); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ifg-ma-card__link:hover .ifg-ma-card__title, .ifg-ma-show__link:hover .ifg-ma-show__title { color: var(--wp--preset--color--brand, #254d42); }
.ifg-ma-card__link:focus-visible, .ifg-ma-show__link:focus-visible { outline: 3px solid var(--wp--preset--color--brand, #254d42); outline-offset: 2px; }
.ifg-ma-badge { position: absolute; left: .6rem; top: .6rem; padding: .2rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ifg-ma-duration { position: absolute; right: .6rem; bottom: .6rem; padding: .1rem .4rem; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; font-size: .75rem; }
.ifg-ma-section { margin-block: var(--wp--preset--spacing--lg, 3rem); }
.ifg-ma-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ifg-ma-section__more { font-weight: 600; }
.ifg-ma-featured { display: grid; gap: var(--wp--preset--spacing--md, 1.5rem); align-items: center; margin-block: var(--wp--preset--spacing--md, 1.5rem); }
@media (min-width: 900px) { .ifg-ma-featured { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.ifg-ma-featured__kicker, .ifg-ma-show-header__schedule { margin: 0; color: var(--wp--preset--color--brand, #254d42); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ifg-ma-featured__title { margin: .4rem 0; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }
.ifg-ma-featured__title a { color: inherit; text-decoration: none; }
.ifg-ma-featured__people, .ifg-ma-show-header__host { color: var(--wp--preset--color--muted, #5f6360); }
.ifg-ma-show-header { margin-block: var(--wp--preset--spacing--md, 1.5rem); }
.ifg-ma-show-header__title { margin: .25rem 0; }
.ifg-ma-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; align-items: end; margin-block: var(--wp--preset--spacing--md, 1.5rem); }
.ifg-ma-filters p { margin: 0; }
.ifg-ma-filters label { display: block; margin-bottom: .3rem; color: var(--wp--preset--color--muted, #5f6360); font-size: .85rem; font-weight: 600; }
.ifg-ma-filters input, .ifg-ma-filters select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--wp--preset--color--line, #e3e6e4); border-radius: 10px; background: var(--wp--preset--color--paper, #fff); color: var(--wp--preset--color--ink, #202624); font: inherit; }
.ifg-ma-filters button { width: 100%; min-height: 44px; }
.ifg-ma-filters__field--search { grid-column: 1 / -1; }
@media (min-width: 900px) { .ifg-ma-filters { grid-template-columns: 2fr 1fr 1fr auto; } .ifg-ma-filters__field--search { grid-column: auto; } }
.ifg-ma-placeholder { padding: 1rem; border: 1px dashed currentColor; border-radius: 8px; opacity: .7; text-align: center; }
@media (prefers-reduced-motion: reduce) { .ifg-ma-player__play { transition: none; } }
