:root {
  --afkf-dark: #06101b;
  --afkf-panel: #0d1c2b;
  --afkf-panel-soft: #132638;
  --afkf-line: rgba(255, 255, 255, 0.13);
  --afkf-text: #f7f9fc;
  --afkf-muted: #b8c4d0;
  --afkf-accent: #f15f6d;
  --afkf-accent-dark: #d94b59;
}

body.afkrs-films-page #main-content,
body.afkrs-films-page #main-content .et-l--post,
body.afkrs-films-page #main-content .entry-content,
body.afkrs-films-page #main-content .et_builder_inner_content,
body.afkrs-films-page #main-content .et_pb_section,
body.afkrs-films-page #main-content .et_pb_row,
body.afkrs-films-page #main-content .et_pb_column,
body.afkrs-films-page #main-content .et_pb_module {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.afkrs-films-page #main-content {
  background: var(--afkf-dark);
}

.afkf-page,
.afkf-page * {
  box-sizing: border-box;
}

.afkf-page {
  width: 100%;
  overflow-x: clip;
  background: var(--afkf-dark);
  color: var(--afkf-text);
  font-family: Nunito, Arial, sans-serif;
}

.afkf-page button,
.afkf-page input,
.afkf-page select {
  font-family: inherit;
}

.afkf-shell {
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
}

.afkf-hero {
  position: relative;
  display: grid;
  min-height: clamp(510px, 64vh, 720px);
  align-items: end;
  isolation: isolate;
  background: linear-gradient(135deg, #081521, #12283b);
}

.afkf-hero.has-image {
  background-image: var(--afkf-hero-image);
  background-position: center 38%;
  background-size: cover;
}

.afkf-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.97) 0%, rgba(3, 10, 18, 0.78) 46%, rgba(3, 10, 18, 0.28) 80%, rgba(3, 10, 18, 0.48) 100%),
    linear-gradient(0deg, rgba(6, 16, 27, 1) 0%, rgba(6, 16, 27, 0.04) 55%);
}

.afkf-hero-inner {
  padding: clamp(86px, 11vw, 158px) 0 clamp(60px, 7vw, 94px);
}

.afkf-kicker {
  margin: 0 0 16px;
  color: var(--afkf-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.afkf-hero h1,
.afkf-featured-head h2,
.afkf-section-head h2,
.afkf-dialog-info h2,
.afkf-detail-article h2,
.afkf-empty h3 {
  max-width: 100%;
  margin: 0;
  color: var(--afkf-text);
  font-family: Nunito, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.04;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-overflow: clip;
}

.afkf-hero h1 {
  max-width: 850px;
  font-size: clamp(45px, 5.8vw, 86px);
  letter-spacing: -0.042em;
}

.afkf-lead {
  max-width: 720px;
  margin: 25px 0 0;
  color: #d7dfe8;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
}

.afkf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.afkf-button,
.afkf-featured-head > a,
.afkf-filters button,
.afkf-reset,
.afkf-pagination a,
.afkf-pagination strong,
.afkf-detail-link,
.afkf-external-link,
.afkf-empty a,
.afkf-detail-back,
.afkf-source-copy a,
.afkf-source-copy button,
.afkf-detail-source a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
}

.afkf-button-primary,
.afkf-filters button {
  border: 1px solid var(--afkf-accent);
  background: var(--afkf-accent);
  color: #fff !important;
  opacity: 1;
  text-shadow: none;
}

.afkf-button-primary:visited,
.afkf-button-primary:hover,
.afkf-button-primary:focus,
.afkf-filters button:hover,
.afkf-filters button:focus {
  background: var(--afkf-accent-dark);
  color: #fff !important;
}

.afkf-button-youtube {
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(7, 17, 29, 0.74);
  color: #fff !important;
  backdrop-filter: blur(14px);
}

.afkf-button-youtube:visited,
.afkf-button-youtube:hover,
.afkf-button-youtube:focus {
  border-color: #fff;
  color: #fff !important;
}

.afkf-featured-section {
  padding: clamp(64px, 7vw, 98px) 0 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(241, 95, 109, 0.12), transparent 34%),
    var(--afkf-dark);
}

.afkf-featured-head,
.afkf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.afkf-featured-head h2,
.afkf-section-head h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  letter-spacing: -0.032em;
}

.afkf-featured-head > a {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--afkf-line);
  color: #fff;
  background: var(--afkf-panel);
}

.afkf-featured-head > a:hover {
  border-color: var(--afkf-accent);
  color: #fff;
}

.afkf-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.afkf-archive {
  padding: clamp(64px, 7vw, 105px) 0 110px;
  background:
    radial-gradient(circle at 0 0, rgba(241, 95, 109, 0.08), transparent 31%),
    var(--afkf-dark);
}

.afkf-section-head {
  margin-bottom: 26px;
}

.afkf-section-head p:last-child {
  margin: 13px 0 0;
  color: var(--afkf-muted);
  font-size: 16px;
}

.afkf-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
}

.afkf-type-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--afkf-line);
  border-radius: 999px;
  background: rgba(13, 28, 43, 0.78);
  color: var(--afkf-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.afkf-type-tabs a:hover,
.afkf-type-tabs a.is-active {
  border-color: var(--afkf-accent);
  background: rgba(241, 95, 109, 0.13);
  color: #fff;
}

.afkf-filters {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) repeat(6, minmax(130px, 0.72fr)) auto;
  gap: 11px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--afkf-line);
  border-radius: 24px;
  background: rgba(13, 28, 43, 0.9);
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.2);
}

.afkf-filters label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.afkf-filters label > span {
  color: var(--afkf-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.afkf-filters input,
.afkf-filters select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--afkf-line);
  border-radius: 14px;
  outline: none;
  background: #091725;
  color: var(--afkf-text);
  font-size: 14px;
}

.afkf-filters input:focus,
.afkf-filters select:focus {
  border-color: var(--afkf-accent);
  box-shadow: 0 0 0 3px rgba(241, 95, 109, 0.14);
}

.afkf-filters button {
  min-height: 50px;
  border-radius: 14px;
  cursor: pointer;
}

.afkf-reset {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: auto;
  padding: 5px 2px;
  border-radius: 0;
  color: var(--afkf-muted);
  font-size: 14px;
}

.afkf-reset:hover {
  color: #fff;
}

.afkf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.afkf-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--afkf-line);
  border-radius: 24px;
  background: var(--afkf-panel);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.afkf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 95, 109, 0.58);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
}

.afkf-card-open {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.afkf-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #03080e;
}

.afkf-card-media > img,
.afkf-card-fallback {
  width: 100%;
  height: 100%;
}

.afkf-card-media > img {
  display: block;
  object-fit: cover;
  transition: transform 400ms ease;
}

.afkf-card:hover .afkf-card-media > img {
  transform: scale(1.035);
}

.afkf-card-fallback {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 10%, #1e3850, #06101a 68%);
}

.afkf-card-fallback img {
  max-width: 42%;
  max-height: 30%;
  object-fit: contain;
  filter: grayscale(1) brightness(2.2);
}

.afkf-card-fallback b {
  color: #fff;
  font-size: 30px;
}

.afkf-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  margin: -33px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: rgba(241, 95, 109, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.afkf-play i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.afkf-card-media > small {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 13, 21, 0.78);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.afkf-card-copy {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  padding: 24px;
}

.afkf-card-brand {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 12px;
  color: var(--afkf-accent);
}

.afkf-card-brand img {
  width: auto;
  max-width: 78px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.25);
}

.afkf-card-brand b,
.afkf-card-brand em {
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.afkf-card-copy > strong {
  display: block;
  max-width: 100%;
  margin-top: 17px;
  color: var(--afkf-text);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 900;
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-overflow: clip;
}

.afkf-card-copy > span:not(.afkf-card-brand) {
  display: -webkit-box;
  margin-top: 13px;
  overflow: hidden;
  color: var(--afkf-muted);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.afkf-card-copy > i {
  margin-top: auto;
  padding-top: 20px;
  color: var(--afkf-accent);
  font-style: normal;
  font-weight: 900;
}

.afkf-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 48px;
}

.afkf-pagination a,
.afkf-pagination strong {
  min-width: 46px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--afkf-line);
  background: var(--afkf-panel);
  color: var(--afkf-text);
}

.afkf-pagination strong,
.afkf-pagination a:hover {
  border-color: var(--afkf-accent);
  background: var(--afkf-accent);
  color: #fff;
}

.afkf-pagination > span {
  align-self: center;
  color: var(--afkf-muted);
}

.afkf-empty {
  margin-top: 34px;
  padding: 58px 24px;
  border: 1px solid var(--afkf-line);
  border-radius: 24px;
  background: var(--afkf-panel);
  text-align: center;
}

.afkf-empty h3 {
  font-size: 32px;
}

.afkf-empty p {
  color: var(--afkf-muted);
}

.afkf-empty a {
  margin-top: 12px;
  border: 1px solid var(--afkf-accent);
  color: #fff;
}

.afkf-dialog {
  width: min(1560px, calc(100vw - 32px));
  max-width: none;
  height: min(920px, calc(100vh - 32px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: #07111d;
  color: var(--afkf-text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
}

.afkf-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(9px);
}

html.afkf-dialog-open {
  overflow: hidden;
}

.afkf-dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.afkf-dialog-bar,
.afkf-dialog-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-color: var(--afkf-line);
  background: #0b1927;
}

.afkf-dialog-bar {
  border-bottom: 1px solid var(--afkf-line);
}

.afkf-dialog-footer {
  border-top: 1px solid var(--afkf-line);
}

.afkf-dialog-bar > div {
  display: flex;
  gap: 10px;
}

.afkf-dialog-bar button,
.afkf-dialog-footer button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--afkf-line);
  border-radius: 999px;
  background: #112334;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.afkf-dialog-bar button:hover,
.afkf-dialog-footer button:hover {
  border-color: var(--afkf-accent);
}

.afkf-dialog-bar [data-afkf-close] {
  width: 46px;
  padding: 0;
  border-color: var(--afkf-accent);
  font-size: 30px;
  line-height: 1;
}

.afkf-dialog-scroll {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.afkf-dialog-scroll::-webkit-scrollbar {
  width: 8px;
}

.afkf-dialog-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.afkf-dialog-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.afkf-player-view {
  display: grid;
  min-width: 0;
  min-height: 100%;
  grid-template-columns: minmax(0, 1.7fr) minmax(370px, 0.82fr);
}

.afkf-player {
  display: grid;
  min-width: 0;
  min-height: 520px;
  place-items: center;
  padding: clamp(18px, 2.2vw, 34px);
  overflow: hidden;
  background: #02070c;
}

.afkf-player .afks-single-video,
.afkf-player .afkf-source-card {
  width: 100%;
  max-width: 1120px;
  margin: auto;
}

.afkf-player .afks-single-video--native video,
.afkf-player .afks-single-video--embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.afkf-dialog-info {
  min-width: 0;
  padding: clamp(28px, 3vw, 48px);
  overflow: visible;
  border-left: 1px solid var(--afkf-line);
  background: var(--afkf-panel);
}

.afkf-dialog-brand {
  display: flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--afkf-accent);
}

.afkf-dialog-brand img {
  width: auto;
  max-width: 104px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.3);
}

.afkf-dialog-brand strong,
.afkf-dialog-brand span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.afkf-dialog-year {
  margin: 23px 0 10px;
  color: var(--afkf-accent);
  font-size: 14px;
  font-weight: 900;
}

.afkf-dialog-info h2 {
  width: 100%;
  font-size: clamp(32px, 3.1vw, 54px);
  letter-spacing: -0.032em;
}

.afkf-dialog-info h2 + p {
  margin: 21px 0 0;
  color: var(--afkf-muted);
  font-size: 17px;
  line-height: 1.62;
}

.afkf-dialog-info dl,
.afkf-detail-facts {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.afkf-dialog-info dl div,
.afkf-detail-facts div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--afkf-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.afkf-dialog-info dt,
.afkf-detail-facts dt {
  color: var(--afkf-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.afkf-dialog-info dd,
.afkf-detail-facts dd {
  max-width: 100%;
  margin: 5px 0 0;
  color: #fff;
  font-weight: 800;
  word-break: normal;
  overflow-wrap: break-word;
}

.afkf-dialog-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.afkf-detail-link,
.afkf-external-link {
  width: 100%;
  border: 1px solid var(--afkf-accent);
  background: transparent;
  color: #fff !important;
  cursor: pointer;
}

.afkf-detail-link:hover,
.afkf-external-link:hover {
  background: var(--afkf-accent);
  color: #fff !important;
}

.afkf-external-link {
  border-color: var(--afkf-line);
}

.afkf-loading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--afkf-muted);
  font-weight: 900;
}

.afkf-loading::after {
  width: 22px;
  height: 22px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--afkf-accent);
  border-radius: 50%;
  animation: afkf-spin 800ms linear infinite;
}

@keyframes afkf-spin {
  to { transform: rotate(360deg); }
}

.afkf-source-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  border: 1px solid var(--afkf-line);
  border-radius: 20px;
  background: var(--afkf-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.afkf-source-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #08111b;
}

.afkf-source-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #02070c;
}

.afkf-source-media > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  margin: -34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(241, 95, 109, 0.92);
}

.afkf-source-media > span i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.afkf-source-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 42px);
}

.afkf-source-copy > img {
  width: auto;
  max-width: 110px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(2.3);
}

.afkf-source-copy > small {
  color: var(--afkf-accent);
  font-weight: 900;
}

.afkf-source-copy > strong {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.08;
}

.afkf-source-copy > p {
  margin: 16px 0 0;
  color: var(--afkf-muted);
  line-height: 1.6;
}

.afkf-source-copy a,
.afkf-source-copy button {
  width: 100%;
  margin-top: 22px;
  border: 1px solid var(--afkf-accent);
  background: var(--afkf-accent);
  color: #fff;
  cursor: pointer;
}

.afkf-detail-view {
  min-height: 100%;
  padding: clamp(24px, 4vw, 58px);
  background: #081420;
}

.afkf-detail-back {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--afkf-line);
  background: var(--afkf-panel);
  color: #fff;
  cursor: pointer;
}

.afkf-detail-content {
  width: min(1080px, 100%);
  margin: 28px auto 0;
}

.afkf-detail-article > header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--afkf-line);
}

.afkf-detail-article > header h2 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.035em;
}

.afkf-detail-article > header > p:last-child {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--afkf-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}

.afkf-detail-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.afkf-detail-richtext {
  margin-top: 34px;
  color: #d9e1e9;
  font-size: 17px;
  line-height: 1.75;
}

.afkf-detail-richtext h1,
.afkf-detail-richtext h2,
.afkf-detail-richtext h3,
.afkf-detail-richtext h4 {
  margin: 1.6em 0 0.6em;
  color: #fff;
  font-family: Nunito, Arial, sans-serif;
  line-height: 1.15;
}

.afkf-detail-richtext p,
.afkf-detail-richtext ul,
.afkf-detail-richtext ol,
.afkf-detail-richtext blockquote {
  max-width: 880px;
}

.afkf-detail-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.afkf-detail-richtext a {
  color: #ff8994;
}

.afkf-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.afkf-detail-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--afkf-line);
  border-radius: 16px;
  background: #02070c;
}

.afkf-detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.afkf-detail-source {
  margin: 34px 0 0;
}

.afkf-detail-source a {
  border: 1px solid var(--afkf-accent);
  background: var(--afkf-accent);
  color: #fff;
}

@media (max-width: 1380px) {
  .afkf-filters {
    grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(140px, 0.75fr));
  }

  .afkf-filters button {
    min-width: 140px;
  }
}

@media (max-width: 1120px) {
  .afkf-featured-grid,
  .afkf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afkf-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .afkf-search {
    grid-column: span 2;
  }

  .afkf-player-view {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.75fr);
  }

  .afkf-dialog-info h2 {
    font-size: clamp(31px, 3.5vw, 46px);
  }

  .afkf-source-card {
    grid-template-columns: 1fr;
  }

  .afkf-source-media {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .afkf-shell {
    width: min(100% - 34px, 1480px);
  }

  .afkf-hero {
    min-height: 610px;
  }

  .afkf-hero.has-image {
    background-position: 62% center;
  }

  .afkf-hero-overlay {
    background:
      linear-gradient(0deg, rgba(3, 10, 18, 0.99) 0%, rgba(3, 10, 18, 0.75) 62%, rgba(3, 10, 18, 0.28) 100%),
      linear-gradient(90deg, rgba(3, 10, 18, 0.58), rgba(3, 10, 18, 0.15));
  }

  .afkf-hero h1 {
    font-size: clamp(43px, 11vw, 66px);
  }

  .afkf-featured-head,
  .afkf-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .afkf-featured-grid,
  .afkf-grid {
    grid-template-columns: 1fr;
  }

  .afkf-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afkf-search {
    grid-column: 1 / -1;
  }

  .afkf-dialog {
    width: calc(100vw - 18px);
    height: calc(100vh - 18px);
    border-radius: 20px;
  }

  .afkf-player-view {
    display: block;
  }

  .afkf-player {
    min-height: 48vw;
    padding: 14px;
  }

  .afkf-dialog-info {
    border-top: 1px solid var(--afkf-line);
    border-left: 0;
  }

  .afkf-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .afkf-shell {
    width: min(100% - 24px, 1480px);
  }

  .afkf-hero {
    min-height: 590px;
  }

  .afkf-hero-inner {
    padding-bottom: 50px;
  }

  .afkf-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .afkf-lead {
    font-size: 18px;
  }

  .afkf-hero-actions,
  .afkf-button,
  .afkf-featured-head > a {
    width: 100%;
  }

  .afkf-type-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .afkf-type-tabs::-webkit-scrollbar {
    display: none;
  }

  .afkf-type-tabs a {
    flex: 0 0 auto;
  }

  .afkf-filters {
    grid-template-columns: 1fr;
  }

  .afkf-search {
    grid-column: auto;
  }

  .afkf-card-copy {
    min-height: 220px;
  }

  .afkf-dialog-bar,
  .afkf-dialog-footer {
    padding: 10px;
  }

  .afkf-dialog-bar button {
    min-height: 42px;
    padding: 0 13px;
  }

  .afkf-dialog-bar [data-afkf-fullscreen] {
    display: none;
  }

  .afkf-dialog-footer button {
    min-height: 42px;
    padding: 0 11px;
    font-size: 12px;
  }

  .afkf-dialog-footer span {
    font-size: 12px;
  }

  .afkf-player {
    min-height: 235px;
    padding: 9px;
  }

  .afkf-dialog-info {
    padding: 25px 19px;
  }

  .afkf-dialog-info h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .afkf-source-media {
    min-height: 220px;
  }

  .afkf-source-copy {
    padding: 24px 19px;
  }

  .afkf-detail-view {
    padding: 20px 15px 34px;
  }

  .afkf-detail-content {
    margin-top: 22px;
  }

  .afkf-detail-article > header h2 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .afkf-detail-facts,
  .afkf-detail-gallery {
    grid-template-columns: 1fr;
  }

  .afkf-detail-gallery img {
    min-height: 210px;
  }
}

.afkf-detail-richtext,
.afkf-detail-richtext * {
  max-width: 100%;
}

.afkf-detail-richtext table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.afkf-detail-richtext pre,
.afkf-detail-richtext code {
  white-space: pre-wrap;
  word-break: break-word;
}

/* 2.7.2: robuste Film Lightbox und vollständige Titel */
.afkf-dialog,
.afkf-dialog-shell,
.afkf-dialog-scroll,
.afkf-player-view,
.afkf-player,
.afkf-dialog-info,
.afkf-detail-view,
.afkf-detail-content,
.afkf-detail-article,
.afkf-detail-richtext {
  min-width: 0;
  max-width: 100%;
}

.afkf-player-view {
  grid-template-columns: minmax(0, 1.48fr) minmax(430px, 0.92fr);
}

.afkf-dialog-info {
  container-type: inline-size;
  overflow-x: hidden;
}

.afkf-dialog-info {
  padding: clamp(28px, 2.4vw, 40px);
}

.afkf-dialog-info h2,
.afkf-detail-article > header h2,
.afkf-card-copy > strong {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
  text-overflow: clip;
}

.afkf-dialog-info h2 {
  font-size: clamp(30px, 10cqi, 54px);
  line-height: 1.06;
}

.afkf-dialog-info h2 + p,
.afkf-dialog-info dd,
.afkf-detail-richtext,
.afkf-detail-richtext * {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.afkf-dialog-scroll,
.afkf-detail-view,
.afkf-detail-content,
.afkf-detail-richtext {
  overflow-x: hidden;
}

.afkf-source-card.is-archive {
  border-color: rgba(241, 95, 109, 0.32);
}

.afkf-source-card.is-archive .afkf-source-copy > strong {
  color: #fff;
}

.afkf-detail-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.afkf-detail-source-actions .afkf-detail-source {
  margin: 0;
}

.afkf-dialog button,
.afkf-dialog a,
.afkf-type-tabs a {
  min-height: 44px;
}

@media (max-width: 1250px) {
  .afkf-player-view {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.85fr);
  }

  .afkf-dialog-info h2 {
    font-size: clamp(29px, 9cqi, 46px);
  }
}

@media (max-width: 820px) {
  .afkf-player-view {
    display: block;
  }

  .afkf-dialog-info h2 {
    font-size: clamp(32px, 9vw, 48px);
  }
}

@media (max-width: 600px) {
  .afkf-dialog-bar button,
  .afkf-dialog-footer button,
  .afkf-type-tabs a {
    min-height: 44px;
  }

  .afkf-dialog-info h2 {
    font-size: clamp(30px, 9.6vw, 42px);
  }

  .afkf-detail-source-actions,
  .afkf-detail-source-actions .afkf-detail-source,
  .afkf-detail-source-actions a {
    width: 100%;
  }
}

/* 2.7.3: lesbare Senderlogos, saubere Detailansicht und eindeutige Bedienung */
.afkf-player-view {
  grid-template-columns: minmax(0, 1.35fr) minmax(560px, 1fr);
}

.afkf-dialog-info h2,
.afkf-detail-article > header h2,
.afkf-card-copy > strong {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.afkf-dialog-info.is-long-title h2 {
  font-size: clamp(28px, 7.4cqi, 40px);
  line-height: 1.07;
}

.afkf-dialog-info.is-very-long-title h2 {
  font-size: clamp(25px, 6.3cqi, 34px);
  line-height: 1.09;
  letter-spacing: -0.025em;
}

.afkf-logo-tile {
  display: inline-flex;
  min-width: 76px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  background: #f7f9fc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.afkf-dialog-brand .afkf-logo-tile img,
.afkf-detail-brand .afkf-logo-tile img {
  display: block;
  width: auto;
  max-width: 112px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75)) !important;
}

.afkf-dialog-brand > strong,
.afkf-detail-brand > strong {
  color: #fff;
}

.afkf-card-brand {
  min-height: 34px;
}

.afkf-card-brand img,
.afkf-source-copy > img {
  box-sizing: content-box;
  padding: 4px 7px;
  border-radius: 8px;
  background: #f7f9fc;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75)) !important;
}

.afkf-detail-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.afkf-detail-brand > strong,
.afkf-detail-brand > span:not(.afkf-logo-tile) {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.afkf-detail-brand > span:not(.afkf-logo-tile) {
  color: var(--afkf-accent);
}

.afkf-detail-richtext {
  background: transparent !important;
  color: #d9e1e9 !important;
}

.afkf-detail-richtext :where(div, section, article, main, header, footer, aside, p, span, ul, ol, li, blockquote, figure, figcaption, table, thead, tbody, tfoot, tr, td, th) {
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
}

.afkf-detail-richtext :where(h1, h2, h3, h4, h5, h6, strong, b) {
  background: transparent !important;
  color: #fff !important;
}

.afkf-detail-richtext a {
  background: transparent !important;
  color: #ff8994 !important;
}

.afkf-detail-richtext img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 18px 0;
  background: #02070c !important;
}

.afkf-detail-richtext > :first-child {
  margin-top: 0 !important;
}

@media (max-width: 1280px) {
  .afkf-player-view {
    display: block;
  }

  .afkf-dialog-info {
    border-top: 1px solid var(--afkf-line);
    border-left: 0;
  }

  .afkf-dialog-info h2,
  .afkf-dialog-info.is-long-title h2,
  .afkf-dialog-info.is-very-long-title h2 {
    font-size: clamp(31px, 5.2vw, 48px);
  }
}

@media (max-width: 600px) {
  .afkf-dialog-info h2,
  .afkf-dialog-info.is-long-title h2,
  .afkf-dialog-info.is-very-long-title h2 {
    font-size: clamp(29px, 8.8vw, 40px);
  }

  .afkf-logo-tile {
    min-width: 68px;
    min-height: 36px;
  }
}

/* 2.7.5: Ansichten und optionale Senderlinks eindeutig steuern */
[data-afkf-player-view][hidden],
[data-afkf-detail-view][hidden],
.afkf-external-link[hidden] {
  display: none !important;
}
