/* ===== Ani Beseret homepage magazine layer ===== */
.mag-section {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background: var(--bg, #050d18);
}
.mag-breaking-section {
  padding-top: clamp(1rem, 3vw, 2rem);
}
.mag-section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
.mag-news-flash {
  width: min(1120px, calc(100% - 2rem));
  min-height: 52px;
  height: 52px;
  max-height: 52px;
  margin: clamp(.85rem, 1.8vw, 1.45rem) auto 0;
  border: 1px solid rgba(77,184,255,.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(26,143,255,.18), rgba(5,14,27,.92) 28%, rgba(5,14,27,.76)),
    radial-gradient(circle at 100% 50%, rgba(126,225,255,.12), transparent 28rem);
  box-shadow: 0 14px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055);
  direction: rtl;
  backdrop-filter: blur(12px);
}
.mag-news-flash-label {
  flex: 0 0 auto;
  height: 100%;
  padding: 0 1.15rem;
  color: #fff;
  font-weight: 950;
  font-size: .94rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, #1377df, #1dc8df);
  box-shadow: 0 0 28px rgba(26,143,255,.24);
}
.mag-news-flash-label::before {
  content: '✦';
  color: #ffd28a;
  font-size: .75rem;
}
.mag-news-flash-track-wrap {
  min-width: 0;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mag-news-flash-track {
  display: inline-flex;
  align-items: center;
  gap: 1.65rem;
  white-space: nowrap;
  padding: 0 1rem;
  height: 46px;
  line-height: 46px;
  animation: magNewsFlash 32s linear infinite;
}
.mag-news-flash:hover .mag-news-flash-track {
  animation-play-state: paused;
}
.mag-news-flash-item,
.mag-news-flash-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #d9ecfb;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1;
  text-decoration: none;
}
.mag-news-flash-link:hover {
  color: #7ee1ff;
}
.mag-news-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #ffa940;
  box-shadow: 0 0 18px rgba(255,169,64,.8);
}
.mag-news-flash-popup-bar {
  justify-content: flex-start;
}
.mag-news-flash-popup-bar .mag-news-flash-label {
  border: 0;
  cursor: pointer;
}
.mag-news-flash-list {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: .65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .42rem .8rem;
  scrollbar-width: thin;
}
.mag-news-flash-list::-webkit-scrollbar {
  height: 4px;
}
.mag-news-flash-list::-webkit-scrollbar-thumb {
  background: rgba(126,225,255,.35);
  border-radius: 999px;
}
.mag-news-flash-chip,
.mag-news-flash-more {
  border: 1px solid rgba(126,225,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: #d9ecfb;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
  height: 34px;
  padding: 0 .82rem;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
  transition: .18s ease;
}
.mag-news-flash-chip-img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.22);
  margin-inline-start: -.35rem;
}
.mag-news-flash-chip:hover,
.mag-news-flash-more:hover {
  color: #fff;
  border-color: rgba(126,225,255,.42);
  background: linear-gradient(135deg, rgba(26,143,255,.22), rgba(36,198,220,.13));
  transform: translateY(-1px);
}
.mag-news-flash-more {
  color: #7ee1ff;
  margin-inline-start: auto;
}
.mag-news-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 1.2rem;
  overflow: hidden;
  overscroll-behavior: contain;
}
.mag-news-modal.active {
  display: grid;
}
.mag-news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 17, .78);
  backdrop-filter: blur(9px);
}
.mag-news-modal-card {
  position: relative;
  width: min(680px, 100%);
  border: 1px solid rgba(77,184,255,.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(26,143,255,.28), transparent 20rem),
    radial-gradient(circle at 100% 100%, rgba(255,169,64,.10), transparent 18rem),
    linear-gradient(135deg, rgba(9,22,38,.98), rgba(4,11,22,.985));
  box-shadow: 0 28px 100px rgba(0,0,0,.55);
  color: #fff;
  padding: 1.5rem;
  direction: rtl;
  max-height: calc(100dvh - 2.4rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

body.mag-news-modal-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
}
.mag-news-modal-close {
  position: absolute;
  inset: 1rem auto auto 1rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.mag-news-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #7ee1ff;
  font-weight: 950;
  font-size: .86rem;
  margin-bottom: .55rem;
}
.mag-news-modal-kicker::before {
  content: '●';
  color: #ffa940;
  font-size: .7rem;
  filter: drop-shadow(0 0 8px rgba(255,169,64,.8));
}
.mag-news-modal-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(126,225,255,.18);
  margin-bottom: 1rem;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.mag-news-modal-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.mag-news-modal-card p {
  color: #8fb0c9;
  margin: .6rem 0 1rem;
}
.mag-news-modal-report {
  color: #d6e8f6;
  line-height: 1.9;
  font-size: 1.04rem;
  border: 1px solid rgba(126,225,255,.12);
  background: rgba(255,255,255,.052);
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  margin: 0 0 1.05rem;
  white-space: normal;
}
.mag-news-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a8fff, #24c6dc);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  margin-bottom: 1rem;
}
.mag-news-modal-all {
  display: grid;
  gap: .55rem;
  margin-top: .6rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mag-news-modal-row {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
  color: #d9ecfb;
  border-radius: 16px;
  padding: .78rem .9rem;
  text-align: right;
  cursor: pointer;
  display: grid;
  gap: .25rem;
}
.mag-news-modal-row.active,
.mag-news-modal-row:hover {
  border-color: rgba(126,225,255,.34);
  background: rgba(26,143,255,.13);
}
.mag-news-modal-row small {
  color: #8fb0c9;
}
@keyframes magNewsFlash {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.mag-breaking {
  border: 1px solid rgba(255, 169, 64, .3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,169,64,.16), transparent 20rem),
    linear-gradient(135deg, rgba(21,25,34,.96), rgba(9,17,29,.96));
  box-shadow: 0 22px 70px rgba(0,0,0,.32);
  overflow: hidden;
}
.mag-breaking-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mag-breaking-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  background: rgba(255, 169, 64, .16);
  color: #ffd28a;
  border: 1px solid rgba(255,169,64,.3);
  padding: .45rem .8rem;
  font-size: .82rem;
  font-weight: 900;
}
.mag-breaking-date { color: #8fb0c9; font-size: .82rem; }
.mag-breaking-body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.mag-breaking-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 32%);
  color: inherit;
  text-decoration: none;
  transition: background .2s ease;
}
.mag-breaking-content:not(:has(.mag-breaking-media)) { grid-template-columns: 1fr; }
.mag-breaking-content:hover { background: rgba(255,255,255,.025); }
.mag-breaking-media { min-height: 220px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.08); }
.mag-breaking-media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .4s ease; }
.mag-breaking-media.is-poster { background: #06111d; }
.mag-breaking-media.is-poster img { object-fit: contain; }
.mag-breaking-content:hover .mag-breaking-media img { transform: scale(1.025); }
.mag-breaking-title {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.mag-breaking-text {
  color: #c6d9e8;
  line-height: 1.8;
  margin: 0;
}
.mag-breaking-credit { margin:.8rem 0 0;color:#83a5bd;font-size:.82rem; }
.mag-breaking-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #7ee1ff;
  font-weight: 900;
  text-decoration: none;
}
.mag-breaking-actions { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; }
.mag-breaking-all { margin-top:1.2rem; padding:.7rem 1rem; border-radius:999px; background:rgba(75,184,255,.1); color:#9ee4ff; border:1px solid rgba(101,184,239,.28); }
.mag-breaking-all b { transition:transform .2s ease; }
.mag-breaking-content:hover .mag-breaking-all b { transform:translateX(-4px); }
@media (max-width: 720px) {
  .mag-breaking-content { grid-template-columns:1fr; }
  .mag-breaking-media { order:-1; min-height:180px; max-height:230px; border-right:0; border-bottom:1px solid rgba(255,255,255,.08); }
  .mag-breaking-media img { min-height:180px; max-height:230px; }
  .mag-breaking-head { padding:.85rem 1rem; }
  .mag-breaking-body { padding:1.15rem; }
}

.mag-flash-news-post-builder {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(83, 184, 255, .22);
  border-radius: 18px;
  background: rgba(6, 27, 45, .36);
}

.mag-admin-check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  cursor: pointer;
  color: #edf8ff;
}

.mag-admin-check input {
  width: 19px;
  height: 19px;
  margin-top: .18rem;
  accent-color: #28baf1;
  flex: 0 0 auto;
}

.mag-admin-check span {
  display: grid;
  gap: .25rem;
}

.mag-admin-check small,
.mag-admin-field-note {
  color: #91aec1;
  font-weight: 400;
  line-height: 1.55;
}

#mag-flash-news-post-fields,
#mag-breaking-post-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(83, 184, 255, .16);
}

.mag-flash-post-editor {
  min-height: 230px;
  line-height: 1.75;
  resize: vertical;
}
.mag-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.mag-kicker {
  color: #7ee1ff;
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .08em;
}
.mag-title {
  color: #fff;
  margin: .25rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}
.mag-more {
  color: #7ee1ff;
  text-decoration: none;
  font-weight: 900;
}
.mag-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.mag-section-head span {
  color: #7ee1ff;
  font-weight: 950;
  font-size: .82rem;
  letter-spacing: .08em;
}
.mag-section-head h2 {
  color: #fff;
  margin: .25rem 0 .35rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
}
.mag-section-head p {
  color: #b6c9d9;
  margin: 0;
  max-width: 640px;
  line-height: 1.7;
}
.mag-weekly-section {
  padding-top: clamp(1.35rem, 3vw, 2.6rem);
}
.mag-weekly-tabs {
  display: inline-flex;
  gap: .45rem;
  padding: .35rem;
  border-radius: 999px;
  border: 1px solid rgba(77,184,255,.18);
  background: rgba(255,255,255,.045);
}
.mag-weekly-tabs button {
  border: 0;
  border-radius: 999px;
  padding: .55rem .9rem;
  color: #9fc0d8;
  background: transparent;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}
.mag-weekly-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #1377df, #1dc8df);
  box-shadow: 0 10px 28px rgba(26,143,255,.22);
}
.mag-weekly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.mag-weekly-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(175px,20vw,215px) 1fr;
  align-items:start;
  gap: 1rem;
  min-height: 190px;
  border: 1px solid rgba(77,184,255,.18);
  border-radius: 26px;
  padding: .85rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(26,143,255,.22), transparent 16rem),
    linear-gradient(135deg, rgba(13,33,52,.92), rgba(5,14,26,.96));
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
  overflow: hidden;
}
.mag-weekly-poster {
  position: relative;
  width:100%;
  min-height:0;
  aspect-ratio:2 / 3;
  align-self:start;
  border-radius: 20px;
  overflow: hidden;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 50% 25%,rgba(64,177,235,.22),transparent 55%),linear-gradient(145deg,#0a2439,#06131f);
}
.mag-weekly-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: absolute;
  inset:0;
  z-index: 1;
  opacity: 0;
  transition: opacity .2s ease;
}
.mag-weekly-poster img.is-loaded { opacity: 1; }
.mag-weekly-poster > .mag-weekly-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  font-size: 3rem;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(62,197,255,.28), transparent 45%), linear-gradient(155deg,#0a2945,#071522);
}
.mag-weekly-poster small {
  position: absolute;
  inset: .65rem .65rem auto auto;
  border-radius: 999px;
  padding: .35rem .65rem;
  color: #07111d;
  background: #ffd166;
  font-weight: 950;
  font-size: .75rem;
}
.mag-weekly-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .55rem;
}
.mag-weekly-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: .35rem .75rem;
  color: #7ee1ff;
  border: 1px solid rgba(126,225,255,.18);
  background: rgba(126,225,255,.07);
  font-weight: 900;
  font-size: .78rem;
}
.mag-weekly-body h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.15;
}
.mag-weekly-body p {
  margin: 0;
  color: #c5d7e5;
  line-height: 1.7;
}
.mag-weekly-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .35rem;
}
.mag-weekly-actions button,
.mag-weekly-actions span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 .85rem;
  font-family: inherit;
  font-weight: 900;
  font-size: .82rem;
}
.mag-weekly-actions button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #1a8fff, #24c6dc);
  cursor: pointer;
}
.mag-weekly-actions span {
  color: #d9ecfb;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
}
.mag-trailers-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  scroll-padding-inline: 1px;
  padding-bottom: .6rem;
  scroll-snap-type: x mandatory;
}
.mag-trailer-card,
.mag-article-card {
  border: 1px solid rgba(77,184,255,.18);
  background: linear-gradient(135deg, rgba(12,30,48,.9), rgba(7,17,31,.96));
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  transition: .2s ease;
}
.mag-trailer-card {
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  contain: layout paint;
}
.mag-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,184,255,.38);
}

.mag-trailer-card:hover {
  transform: none;
  border-color: rgba(77,184,255,.38);
}
.mag-trailer-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: linear-gradient(135deg, #071827, #133a62);
  position: relative;
  overflow: hidden;
}
.mag-trailer-thumb img,
.mag-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mag-play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26,143,255,.92);
  box-shadow: 0 12px 35px rgba(26,143,255,.4);
}
.mag-card-body { padding: 1rem 1.1rem 1.15rem; }
.mag-card-title {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: .45rem;
}
.mag-card-meta {
  color: #8fb0c9;
  font-size: .82rem;
}
.mag-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mag-blog-section .mag-section-inner {
  display: grid;
  gap: 2.4rem;
}
.mag-blog-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(77,184,255,.18);
}
.mag-blog-intro p {
  max-width: 680px;
  margin: .65rem 0 0;
  color: #91adc1;
  line-height: 1.7;
}
.mag-blog-groups { display: grid; gap: 3rem; }
.mag-blog-group { display: grid; gap: 1.1rem; }
.mag-blog-group-head { margin: 0; }
.mag-blog-group-title {
  margin: .2rem 0 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}
.mag-article-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #10233b, #0b1728);
}
.mag-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.mag-admin-panel {
  border-color: rgba(77,184,255,.32) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(26,143,255,.14), transparent 22rem),
    rgba(255,255,255,.045) !important;
}
.mag-admin-card {
  border: 1px solid rgba(77,184,255,.18);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  padding: 1.2rem;
}
.mag-admin-card-wide {
  margin-bottom: 1rem;
}
.mag-admin-card h4 {
  margin: 0 0 1rem;
  color: #7ee1ff;
}
.mag-today-admin-card {
  grid-column: 1 / -1;
}
.mag-today-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.mag-today-slot {
  border: 1px solid rgba(117,218,255,.2);
  background:
    linear-gradient(145deg, rgba(6,18,31,.84), rgba(19,48,70,.5)),
    rgba(255,255,255,.035);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.mag-today-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.mag-today-slot-head strong {
  color: #eaf7ff;
  font-size: 1rem;
}
.mag-admin-check.compact {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem;
  border: 1px solid rgba(117,218,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.mag-admin-check.compact input {
  width: auto;
  min-width: 0;
}
.mag-admin-check.compact span {
  font-size: .82rem;
}
.mag-today-slot textarea {
  min-height: 86px;
}
.mag-admin-field-note {
  display: block;
  margin-top: .85rem;
  color: #90aebe;
  line-height: 1.6;
}
.mag-admin-help {
  color: #9fb8cc;
  font-size: .9rem;
  line-height: 1.6;
  margin: -.35rem 0 1rem;
}
.mag-admin-list {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}
.mag-admin-item {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  border-radius: 14px;
  padding: .75rem;
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
}
.mag-admin-actions {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}
.mag-edit-status {
  min-height: 1.2rem;
  color: #ffd28a;
  font-size: .88rem;
  font-weight: 800;
  margin: .25rem 0 .7rem;
}
@media (max-width: 820px) {
  .mag-today-control-grid {
    grid-template-columns: 1fr;
  }
  .mag-news-flash {
    width: calc(100% - 1rem);
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    border-radius: 14px;
    flex-direction: row;
  }
  .mag-news-flash-label {
    padding: 0 .75rem;
    font-size: .8rem;
  }
  .mag-news-flash-track {
    height: 44px;
    line-height: 44px;
    gap: 1.2rem;
  }
  .mag-news-flash-item,
  .mag-news-flash-link,
  .mag-news-flash-chip,
  .mag-news-flash-more {
    height: 32px;
    font-size: .82rem;
    border-radius: 12px;
  }
  .mag-news-modal-card {
    padding: 1.1rem;
    border-radius: 22px;
  }
  .mag-articles-grid,
  .mag-weekly-grid,
  .mag-admin-grid {
    grid-template-columns: 1fr;
  }
  .mag-blog-intro { align-items: flex-start; flex-direction: column; }
  .mag-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .mag-admin-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .mag-weekly-card { grid-template-columns: 142px 1fr; }
  .mag-weekly-poster {
    min-height:0;
    aspect-ratio:2 / 3;
  }
}

@media (max-width: 560px) {
  .mag-weekly-card { grid-template-columns: 1fr; gap: .8rem; padding: .7rem; border-radius: 22px; }
  .mag-weekly-poster { width:min(100%,240px);min-height:0;aspect-ratio:2 / 3;margin-inline:auto;border-radius:17px; }
  .mag-weekly-body { padding: .2rem .25rem .35rem; }
  .mag-weekly-body h3 { font-size: 1.42rem; }
  .mag-weekly-body p { font-size: .94rem; line-height: 1.65; }
  .mag-weekly-actions button,
  .mag-weekly-actions span { width: 100%; justify-content: center; }
}

/* ===== Final compact professional override ===== */
#mag-news-flash-host[hidden],
#mag-news-flash-host[style*="display: none"] {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#mag-news-flash-host {
  padding: .85rem 0 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#mag-news-flash-host .mag-news-flash {
  width: min(960px, calc(100% - 2rem)) !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border-radius: 999px !important;
  border: 1px solid rgba(132, 205, 255, .18) !important;
  background:
    linear-gradient(90deg, rgba(18, 69, 112, .82), rgba(5, 15, 29, .92) 32%, rgba(6, 17, 31, .78)) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.055) !important;
  overflow: hidden !important;
  font-family: "Assistant", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif !important;
}

#mag-news-flash-host .mag-news-flash-label {
  height: 100% !important;
  min-width: 92px !important;
  padding: 0 .95rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1684e8, #22c4da) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 0 22px rgba(26,143,255,.18) !important;
}

#mag-news-flash-host .mag-news-flash-label::before {
  content: '•' !important;
  color: #ffd28a !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

#mag-news-flash-host .mag-news-flash-list {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 .55rem !important;
  gap: .45rem !important;
  align-items: center !important;
}

#mag-news-flash-host .mag-news-flash-chip,
#mag-news-flash-host .mag-news-flash-more {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 .68rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(177, 222, 255, .13) !important;
  color: #e4eef6 !important;
  font-family: inherit !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

#mag-news-flash-host .mag-news-flash-chip:hover,
#mag-news-flash-host .mag-news-flash-more:hover {
  transform: translateY(-1px) !important;
  background: rgba(26,143,255,.16) !important;
  border-color: rgba(126,225,255,.30) !important;
}

#mag-news-flash-host .mag-news-flash-chip-img {
  width: 20px !important;
  height: 20px !important;
}

#mag-news-flash-host .mag-news-dot {
  width: 4px !important;
  height: 4px !important;
  box-shadow: 0 0 10px rgba(255,169,64,.8) !important;
}

.mag-news-modal-card {
  font-family: "Assistant", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif !important;
}

.mag-news-modal-card h3 {
  font-family: inherit !important;
  font-weight: 900 !important;
}

.mag-news-modal-report {
  font-family: inherit !important;
  font-weight: 500 !important;
}

@media (max-width: 820px) {
  #mag-news-flash-host {
    padding-top: .65rem !important;
  }

  #mag-news-flash-host .mag-news-flash {
    width: calc(100% - 1rem) !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }

  #mag-news-flash-host .mag-news-flash-label {
    min-width: 76px !important;
    padding: 0 .7rem !important;
    font-size: .76rem !important;
  }

  #mag-news-flash-host .mag-news-flash-list {
    height: 40px !important;
    min-height: 40px !important;
  }

  #mag-news-flash-host .mag-news-flash-chip,
  #mag-news-flash-host .mag-news-flash-more {
    height: 26px !important;
    font-size: .76rem !important;
  }
}

/* ===== Premium polish for homepage news flashes ===== */
#mag-news-flash-host {
  display: block;
  padding: clamp(.6rem, 1.5vw, 1rem) 0 0;
}

#mag-news-flash-host:empty {
  display: none;
}

#mag-news-flash-host .mag-news-flash {
  width: min(1040px, calc(100% - 2rem));
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(126,225,255,.18);
  background:
    linear-gradient(90deg, rgba(14,49,82,.74), rgba(4,13,26,.88) 34%, rgba(4,13,26,.72)),
    radial-gradient(circle at 95% 50%, rgba(255,169,64,.08), transparent 19rem);
  box-shadow: 0 14px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055);
  font-family: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
}

#mag-news-flash-host .mag-news-flash-label {
  min-width: 104px;
  justify-content: center;
  padding: 0 1rem;
  background: linear-gradient(135deg, #0f5fb9, #17bfd7);
  color: #fff;
  font-size: .88rem;
  letter-spacing: .01em;
  border-radius: 0;
}

#mag-news-flash-host .mag-news-flash-label::before {
  content: '✦';
  color: #ffd28a;
  font-size: .72rem;
  transform: translateY(-1px);
}

#mag-news-flash-host .mag-news-flash-list {
  padding: .38rem .72rem;
  gap: .55rem;
}

#mag-news-flash-host .mag-news-flash-chip,
#mag-news-flash-host .mag-news-flash-more {
  height: 31px;
  border-radius: 999px;
  padding: 0 .72rem;
  border-color: rgba(170,215,244,.14);
  background: rgba(255,255,255,.04);
  color: #dcebf6;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: 0;
}

#mag-news-flash-host .mag-news-flash-chip:hover,
#mag-news-flash-host .mag-news-flash-more:hover {
  background: rgba(27,151,255,.14);
  border-color: rgba(126,225,255,.32);
  box-shadow: 0 8px 22px rgba(26,143,255,.12);
}

#mag-news-flash-host .mag-news-flash-chip-img {
  width: 21px;
  height: 21px;
  margin-inline-start: -.32rem;
}

#mag-news-flash-host .mag-news-dot {
  width: 5px;
  height: 5px;
}

.mag-news-modal {
  font-family: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
}

.mag-news-modal-backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgba(26,143,255,.16), transparent 32rem),
    rgba(1, 8, 17, .82);
}

.mag-news-modal-card {
  width: min(720px, calc(100% - 1.2rem));
  border-radius: 26px;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  background:
    linear-gradient(180deg, rgba(9,26,45,.98), rgba(5,13,25,.985)),
    radial-gradient(circle at 18% 0%, rgba(26,143,255,.18), transparent 20rem);
  border: 1px solid rgba(126,225,255,.20);
  box-shadow: 0 32px 120px rgba(0,0,0,.62);
}

.mag-news-modal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(126,225,255,.14), transparent 28%, rgba(255,169,64,.08));
  opacity: .55;
}

.mag-news-modal-close {
  z-index: 2;
  width: 38px;
  height: 38px;
  border-color: rgba(255,255,255,.16);
  background: rgba(5,12,23,.66);
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}

.mag-news-modal-image {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  max-height: 310px;
  margin-bottom: 1.15rem;
}

.mag-news-modal-kicker,
.mag-news-modal-card h3,
.mag-news-modal-card p,
.mag-news-modal-report,
.mag-news-modal-link,
.mag-news-modal-all {
  position: relative;
  z-index: 1;
}

.mag-news-modal-kicker {
  margin-bottom: .45rem;
  color: #8fe6ff;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: none;
}

.mag-news-modal-card h3 {
  max-width: 92%;
  color: #f4f8fb;
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.mag-news-modal-card p {
  color: #91adc2;
  font-size: .92rem;
  margin: .7rem 0 1rem;
}

.mag-news-modal-report {
  color: #dbeaf4;
  background: rgba(255,255,255,.035);
  border-color: rgba(126,225,255,.13);
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  font-size: 1.02rem;
  line-height: 1.95;
  font-weight: 500;
}

.mag-news-modal-link {
  min-height: 40px;
  padding: 0 1rem;
  font-size: .92rem;
  box-shadow: 0 12px 28px rgba(26,143,255,.22);
}

.mag-news-modal-all {
  gap: .5rem;
}

.mag-news-modal-row {
  border-radius: 14px;
  padding: .7rem .85rem;
  background: rgba(255,255,255,.035);
}

.mag-news-modal-row span {
  font-weight: 800;
}

@media (max-width: 820px) {
  #mag-news-flash-host {
    padding-top: .7rem;
  }

  #mag-news-flash-host .mag-news-flash {
    width: calc(100% - 1rem);
    height: 46px;
    min-height: 46px;
    max-height: 46px;
  }

  #mag-news-flash-host .mag-news-flash-label {
    min-width: 86px;
    padding: 0 .7rem;
  }

  .mag-news-modal-card h3 {
    max-width: calc(100% - 2.3rem);
  }
}

.mag-trailer-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

.mag-trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.mag-trailer-modal.active {
  display: flex;
}

.mag-trailer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 12, .78);
  backdrop-filter: blur(10px);
}

.mag-trailer-modal-card {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(126, 225, 255, .24);
  border-radius: 24px;
  overflow: hidden;
  background: #020914;
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 70px rgba(27,151,255,.18);
}

.mag-trailer-modal-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mag-trailer-youtube-link {
  position: absolute;
  z-index: 3;
  inset-inline-end: 1rem;
  bottom: 1rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}

.mag-trailer-local-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  background-color: #07111f;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.mag-trailer-local-play {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-inline-start: 5px;
  border-radius: 50%;
  background: #ff0033;
  box-shadow: 0 14px 35px rgba(0,0,0,.4);
  font-size: 2rem;
}

.mag-trailer-local-fallback strong { font-size: clamp(1.1rem, 2vw, 1.55rem); }
.mag-trailer-local-fallback small { color: #c5d7e5; }

.mag-trailer-modal-close {
  position: absolute;
  top: .8rem;
  inset-inline-start: .8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.mag-cinema-home-section {
  padding-top: clamp(1.25rem, 3vw, 2.4rem);
}

.mag-cinema-home {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(260px, .48fr);
  grid-template-areas:
    "copy featured"
    "rail rail";
  gap: 1rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(126,225,255,.17);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 8%, rgba(35,161,255,.2), transparent 32%),
    radial-gradient(circle at 92% 74%, rgba(255,184,77,.11), transparent 28%),
    linear-gradient(145deg, rgba(7,24,42,.9), rgba(3,11,22,.74));
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}

.mag-cinema-home::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -10%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  border: 46px solid rgba(126,225,255,.04);
  pointer-events: none;
}

.mag-cinema-home-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .85rem;
  min-height: 265px;
}

.mag-cinema-kicker,
.mag-cinema-status {
  width: fit-content;
  color: #7ee1ff;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .06em;
  padding: .38rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(126,225,255,.2);
  background: rgba(126,225,255,.07);
}

.mag-cinema-home-copy h2 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 950;
}

.mag-cinema-home-copy p {
  max-width: 620px;
  margin: 0;
  color: #b8ccda;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.85;
}

.mag-cinema-home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.mag-cinema-home-stats span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .78rem;
  border-radius: 999px;
  color: #a9c2d3;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.mag-cinema-home-stats strong {
  color: #fff;
  font-size: 1.08rem;
}

.mag-cinema-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.mag-cinema-home-actions button,
.mag-cinema-home-actions a,
.mag-cinema-actions button,
.mag-cinema-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(126,225,255,.18);
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  background: linear-gradient(135deg, #1a8fff, #28d2ef);
  cursor: pointer;
}

.mag-cinema-home-actions a,
.mag-cinema-actions a:nth-last-child(1) {
  color: #9feaff;
  background: rgba(126,225,255,.07);
}

.mag-cinema-featured {
  grid-area: featured;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: .85rem;
  min-height: 265px;
  padding: .75rem;
  border: 1px solid rgba(126,225,255,.18);
  border-radius: 26px;
  color: #fff;
  text-align: inherit;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}

.mag-cinema-featured:hover,
.mag-cinema-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126,225,255,.38);
}

.mag-cinema-featured-poster {
  overflow: hidden;
  min-height: 210px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(27,151,255,.3), rgba(126,225,255,.08));
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 950;
}

.mag-cinema-featured-poster img,
.mag-cinema-mini-card img,
.mag-cinema-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-cinema-featured span {
  color: #7ee1ff;
  font-size: .82rem;
  font-weight: 900;
}

.mag-cinema-featured strong {
  display: block;
  margin-top: .2rem;
  font-size: 1.28rem;
  font-weight: 950;
}

.mag-cinema-featured small {
  color: #a9c2d3;
}

.mag-cinema-mini-rail {
  grid-area: rail;
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 1fr);
  gap: .75rem;
  overflow-x: auto;
  padding-top: .25rem;
}

.mag-cinema-mini-card {
  min-height: 210px;
  display: grid;
  grid-template-rows: 142px auto auto;
  gap: .38rem;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  color: #fff;
  text-align: inherit;
  background: rgba(2,10,20,.32);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}

.mag-cinema-mini-card img,
.mag-cinema-mini-card > span {
  overflow: hidden;
  border-radius: 15px;
  background: rgba(126,225,255,.08);
}

.mag-cinema-mini-card > span {
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 950;
}

.mag-cinema-mini-card strong {
  font-size: .95rem;
  line-height: 1.25;
}

.mag-cinema-mini-card small {
  color: #8fb0c9;
  font-size: .78rem;
}

.mag-cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.mag-cinema-modal.active {
  display: flex;
}

.mag-cinema-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 12, .78);
  backdrop-filter: blur(12px);
}

.mag-cinema-modal-card {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid rgba(126,225,255,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(27,151,255,.18), transparent 34%),
    linear-gradient(145deg, rgba(8,26,44,.98), rgba(2,9,18,.98));
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}

.mag-cinema-modal-close {
  position: sticky;
  top: .75rem;
  inset-inline-start: .75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: .75rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  cursor: pointer;
}

.mag-cinema-detail {
  display: grid;
  grid-template-columns: minmax(190px, 280px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
}

.mag-cinema-detail-poster {
  overflow: hidden;
  min-height: 390px;
  border-radius: 22px;
  background: rgba(126,225,255,.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 4rem;
  font-weight: 950;
}

.mag-cinema-detail-body {
  display: grid;
  align-content: start;
  gap: .8rem;
}

.mag-cinema-detail h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.mag-cinema-original {
  margin: 0;
  color: #8fb0c9;
  font-size: 1rem;
}

.mag-cinema-synopsis {
  margin: 0;
  color: #d8e7f0;
  font-size: 1.02rem;
  line-height: 1.9;
}

.mag-cinema-actions,
.mag-cinema-times {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.mag-cinema-times {
  margin-top: .4rem;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}

.mag-cinema-times > strong {
  flex-basis: 100%;
  color: #7ee1ff;
}

.mag-cinema-time-row {
  min-width: 150px;
  display: grid;
  gap: .12rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  color: #eef8ff;
  text-decoration: none;
  background: rgba(2,10,20,.42);
  border: 1px solid rgba(126,225,255,.12);
}

.mag-cinema-time-row span {
  font-size: 1.1rem;
  font-weight: 950;
}

.mag-cinema-time-row small,
.mag-cinema-empty-note {
  color: #9fb8cc;
}

.mag-cinema-empty-note {
  padding: .7rem 0;
}

/* === compact home cinema spotlight === */
.mag-cinema-home-section {
  padding-top: clamp(.9rem, 2vw, 1.6rem);
}

.mag-cinema-home {
  grid-template-columns: minmax(260px, .9fr) minmax(185px, 240px);
  grid-template-areas:
    "copy featured"
    "rail rail";
  gap: .85rem;
  padding: clamp(.95rem, 2vw, 1.35rem);
  border-radius: 24px;
}

.mag-cinema-home-copy {
  min-height: 190px;
  gap: .62rem;
}

.mag-cinema-kicker {
  font-size: .72rem;
  padding: .3rem .62rem;
}

.mag-cinema-home-copy h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.15rem);
  line-height: .98;
}

.mag-cinema-home-copy p {
  max-width: 560px;
  font-size: .98rem;
  line-height: 1.65;
}

.mag-cinema-home-stats span {
  min-height: 34px;
  padding: 0 .65rem;
  font-size: .86rem;
}

.mag-cinema-home-stats strong {
  font-size: 1rem;
}

.mag-cinema-home-actions button,
.mag-cinema-home-actions a {
  min-height: 38px;
  border-radius: 12px;
  font-size: .88rem;
}

.mag-cinema-featured {
  min-height: 190px;
  border-radius: 22px;
  gap: .55rem;
}

.mag-cinema-featured-poster {
  min-height: 132px;
  border-radius: 17px;
}

.mag-cinema-featured strong {
  font-size: 1rem;
}

.mag-cinema-mini-rail {
  grid-auto-columns: minmax(108px, 132px);
  gap: .6rem;
}

.mag-cinema-mini-card {
  min-height: 168px;
  grid-template-rows: 104px auto auto;
  border-radius: 17px;
  padding: .45rem;
}

.mag-cinema-mini-card strong {
  font-size: .82rem;
}

.mag-cinema-mini-card small {
  font-size: .72rem;
}

.mag-admin-status-line {
  margin-top: .2rem;
  color: #7ee1ff;
  font-size: .82rem;
  font-weight: 800;
}

/* === cinema typography + CTA polish === */
.mag-cinema-home,
.mag-cinema-modal-card {
  font-family: "Heebo", "Assistant", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
}

.mag-cinema-home-actions,
.mag-cinema-actions {
  align-items: center;
}

.mag-cinema-home-actions button,
.mag-cinema-home-actions a,
.mag-cinema-actions button,
.mag-cinema-actions a {
  font-family: "Heebo", "Assistant", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif !important;
  font-size: .92rem !important;
  font-weight: 950 !important;
  letter-spacing: -.01em !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-align: center;
  gap: .45rem;
  box-shadow: 0 12px 30px rgba(26,143,255,.18), inset 0 1px 0 rgba(255,255,255,.12);
}

.mag-cinema-home-actions button::before,
.mag-cinema-actions button::before {
  content: '▶';
  font-size: .72rem;
  opacity: .9;
}

.mag-cinema-home-actions a::before,
.mag-cinema-actions a::before {
  content: '↗';
  font-size: .82rem;
  opacity: .85;
}

.mag-cinema-home-note {
  width: fit-content;
  max-width: 560px;
  color: #9fb8cc;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.65;
  padding: .55rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(126,225,255,.12);
  background: rgba(126,225,255,.045);
}

@media (max-width: 1180px) {
  .mag-cinema-home {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "featured"
      "rail";
  }
}

@media (max-width: 760px) {
  .mag-cinema-detail {
    grid-template-columns: 1fr;
  }

  .mag-cinema-detail-poster {
    min-height: 260px;
  }

  .mag-trailer-modal-card {
    border-radius: 18px;
  }
}

/* === Editorial newswire: compact, calm and magazine-like === */
#mag-news-flash-host {
  padding-top: .7rem;
}

#mag-news-flash-host .mag-news-flash {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  width: min(1120px, calc(100% - 2rem));
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid rgba(126, 225, 255, .16);
  background: rgba(5, 18, 32, .94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
}

#mag-news-flash-host .mag-news-flash-label {
  min-width: 98px;
  height: 44px;
  padding: 0 1rem;
  gap: .5rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #128dce, #22b9d4);
  box-shadow: none;
  font-size: .82rem;
  font-weight: 900;
}

#mag-news-flash-host .mag-news-flash-label::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #ffd17a;
  box-shadow: 0 0 0 4px rgba(255, 209, 122, .1);
}

#mag-news-flash-host .mag-news-flash-list {
  min-width: 0;
  height: 44px;
  padding: 0 .35rem;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}

#mag-news-flash-host .mag-news-flash-list::-webkit-scrollbar {
  display: none;
}

#mag-news-flash-host .mag-news-flash-chip,
#mag-news-flash-host .mag-news-flash-more {
  position: relative;
  height: 44px;
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #d7e5ef;
  font-size: .81rem;
  font-weight: 750;
}

#mag-news-flash-host .mag-news-flash-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  height: 44px;
  padding: 0 .38rem;
  border-inline-start: 1px solid rgba(151, 191, 218, .14);
  background: rgba(255,255,255,.025);
  direction: ltr;
}

#mag-news-flash-host .mag-news-flash-nav button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid rgba(126,225,255,.18);
  border-radius: 50%;
  background: rgba(13,46,72,.74);
  color: #dff5ff;
  font: 900 1.05rem/1 Arial, sans-serif;
  cursor: pointer;
}

#mag-news-flash-host .mag-news-flash-nav button:hover:not(:disabled) {
  border-color: rgba(126,225,255,.48);
  background: rgba(23,132,196,.28);
}

#mag-news-flash-host .mag-news-flash-nav button:disabled {
  opacity: .3;
  cursor: default;
}

#mag-news-flash-host .mag-news-flash-nav span {
  min-width: 38px;
  color: #7fa7c0;
  font-size: .66rem;
  font-weight: 800;
  text-align: center;
}

#mag-news-flash-host .mag-news-flash-chip + .mag-news-flash-chip::before,
#mag-news-flash-host .mag-news-flash-more::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 1px;
  height: 20px;
  background: rgba(151, 191, 218, .16);
}

#mag-news-flash-host .mag-news-flash-chip:hover,
#mag-news-flash-host .mag-news-flash-more:hover {
  color: #fff;
  background: rgba(40, 151, 224, .09);
  border: 0;
  box-shadow: none;
  transform: none;
}

#mag-news-flash-host .mag-news-flash-chip-img {
  width: 23px;
  height: 23px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.12);
}

#mag-news-flash-host .mag-news-dot {
  width: 5px;
  height: 5px;
  background: #f3b44b;
  box-shadow: none;
}

#mag-news-flash-host .mag-news-flash-more {
  margin-inline-start: auto;
  color: #91ccea;
  white-space: nowrap;
}

@media (max-width: 700px) {
  #mag-news-flash-host .mag-news-flash {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    width: calc(100% - 1rem);
  }

  #mag-news-flash-host .mag-news-flash-label {
    min-width: 74px;
    padding: 0 .55rem;
    font-size: .76rem;
  }

  #mag-news-flash-host .mag-news-flash-nav {
    padding: 0 .25rem;
  }

  #mag-news-flash-host .mag-news-flash-nav span {
    display: none;
  }

  #mag-news-flash-host .mag-news-flash-chip,
  #mag-news-flash-host .mag-news-flash-more {
    padding: 0 .75rem;
    font-size: .76rem;
  }
}

/* === 2026 premium single-story newswire === */
#mag-news-flash-host{padding:1rem 0 .25rem}
#mag-news-flash-host .mag-news-flash{
  width:min(1240px,calc(100% - 2rem))!important;height:64px!important;min-height:64px!important;max-height:64px!important;
  display:grid!important;grid-template-columns:126px minmax(0,1fr) auto 132px!important;align-items:center!important;
  overflow:hidden!important;border:1px solid rgba(98,189,241,.2)!important;border-radius:18px!important;
  background:linear-gradient(100deg,rgba(12,47,73,.98),rgba(5,20,35,.985) 40%,rgba(4,16,29,.98));
  box-shadow:0 18px 46px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.055);
}
#mag-news-flash-host .mag-news-flash-label{
  position:relative;min-width:0!important;width:100%!important;height:64px!important;padding:0 1.25rem!important;border:0!important;border-radius:0!important;
  background:linear-gradient(135deg,#168fd0,#24c5dc);box-shadow:10px 0 35px rgba(25,174,222,.12);
  color:#fff;font-size:.9rem;font-weight:950;letter-spacing:.01em;justify-content:center;
}
#mag-news-flash-host .mag-news-flash-label::before{content:''!important;width:8px!important;height:8px!important;flex-basis:8px!important;background:#ffd06f!important;box-shadow:0 0 0 5px rgba(255,208,111,.12),0 0 18px rgba(255,208,111,.45)!important}
#mag-news-flash-host .mag-news-flash-list{position:relative!important;height:64px!important;min-height:64px!important;min-width:0!important;padding:0 1.25rem!important;display:block!important;overflow:hidden!important}
#mag-news-flash-host .mag-news-flash-chip{
  position:absolute!important;inset:0 1.25rem!important;display:flex!important;width:calc(100% - 2.5rem)!important;height:64px!important;min-height:64px!important;
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#eef8ff!important;
  opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s;
  font-size:.94rem;font-weight:820;text-align:right;
}
#mag-news-flash-host .mag-news-flash-chip.is-current{opacity:1;visibility:visible;transform:none;pointer-events:auto}
#mag-news-flash-host .mag-news-flash-chip:hover{background:transparent;color:#7ee1ff;transform:none}
#mag-news-flash-host .mag-news-flash-chip-img{width:34px;height:34px;flex:0 0 34px;margin:0;border-radius:10px;border:1px solid rgba(255,255,255,.16);box-shadow:0 6px 14px rgba(0,0,0,.22)}
#mag-news-flash-host .mag-news-dot{width:6px;height:6px;flex:0 0 6px;background:#ffb24a;box-shadow:0 0 12px rgba(255,178,74,.5)}
#mag-news-flash-host .mag-news-flash-more{
  position:relative!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0 1rem!important;border:1px solid rgba(126,225,255,.2)!important;border-radius:999px!important;
  background:rgba(255,255,255,.045);color:#a9dff6;font-size:.78rem;font-weight:900;white-space:nowrap;
}
#mag-news-flash-host .mag-news-flash-more::after{content:'←';margin-inline-start:.5rem;color:#45d4f3}
#mag-news-flash-host .mag-news-flash-more::before{display:none!important}
#mag-news-flash-host .mag-news-flash-more:hover{background:rgba(37,183,230,.11);border:1px solid rgba(126,225,255,.38);color:#fff}
#mag-news-flash-host .mag-news-flash-nav{height:64px!important;padding:0 .75rem!important;gap:.35rem!important;border-inline-start:1px solid rgba(151,191,218,.13)!important;background:rgba(255,255,255,.018)!important}
#mag-news-flash-host .mag-news-flash-nav button{width:32px;height:32px;border-color:rgba(126,225,255,.16);background:rgba(10,43,67,.86)}
#mag-news-flash-host .mag-news-flash-nav span{min-width:44px;color:#8eb1c5;font-size:.72rem;font-variant-numeric:tabular-nums}
@media(max-width:820px){
  #mag-news-flash-host .mag-news-flash{grid-template-columns:90px minmax(0,1fr) 84px!important;height:58px!important;min-height:58px!important;max-height:58px!important;border-radius:14px!important}
  #mag-news-flash-host .mag-news-flash-label,#mag-news-flash-host .mag-news-flash-list,#mag-news-flash-host .mag-news-flash-nav{height:58px!important;min-height:58px!important}
  #mag-news-flash-host .mag-news-flash-label{padding:0 .65rem;font-size:.78rem}
  #mag-news-flash-host .mag-news-flash-list{padding:0 .8rem}
  #mag-news-flash-host .mag-news-flash-chip{inset:0 .8rem;width:calc(100% - 1.6rem);height:58px;min-height:58px;font-size:.82rem}
  #mag-news-flash-host .mag-news-flash-chip span:last-child{overflow:hidden;text-overflow:ellipsis}
  #mag-news-flash-host .mag-news-flash-more{display:none!important}
  #mag-news-flash-host .mag-news-flash-nav{padding:0 .35rem;border-inline-start:1px solid rgba(151,191,218,.13)}
  #mag-news-flash-host .mag-news-flash-nav span{display:none}
  #mag-news-flash-host .mag-news-flash-nav button{width:30px;height:30px}
}
@media(max-width:480px){
  #mag-news-flash-host .mag-news-flash{width:calc(100% - 1rem)!important;grid-template-columns:72px minmax(0,1fr) 42px!important}
  #mag-news-flash-host .mag-news-flash-label{padding:0 .4rem;font-size:.72rem}.mag-news-flash-label::before{display:none}
  #mag-news-flash-host .mag-news-flash-chip-img{display:none}
  #mag-news-flash-host .mag-news-flash-nav button:first-child{display:none}
}

/* === Short-news popup gallery === */
.mag-news-modal-gallery {
  position: relative;
  z-index: 1;
  margin-bottom: 1.15rem;
}

.mag-news-modal-gallery .mag-news-modal-image {
  width: 100%;
  height: min(46vh, 390px);
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  background: #030a12;
  border: 1px solid rgba(126, 225, 255, .13);
  transition: opacity .18s ease;
}

.mag-news-modal-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: .5rem;
  margin-top: .65rem;
  padding: .15rem .05rem .35rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(80, 184, 245, .45) transparent;
}

.mag-news-modal-thumb {
  width: 76px;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #071421;
  opacity: .66;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.mag-news-modal-thumb:hover,
.mag-news-modal-thumb.active {
  opacity: 1;
  border-color: #45baff;
  transform: translateY(-1px);
}

.mag-news-modal-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-news-modal-gallery-count {
  position: absolute;
  inset-inline-end: .75rem;
  bottom: 4.7rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  color: #dcecf6;
  background: rgba(2, 9, 16, .78);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
  font-weight: 800;
  pointer-events: none;
}

.mag-news-modal-image-credit {
  margin: .55rem .25rem 0;
  color: #86a7be;
  font-size: .78rem;
  line-height: 1.55;
  text-align: start;
}

.mag-news-modal-image-credit::before {
  content: "קרדיט: ";
  color: #b7cede;
  font-weight: 700;
}

.mag-admin-field-note {
  display: block;
  margin-top: .4rem;
  color: #84a7bf;
  font-size: .78rem;
  line-height: 1.5;
}

/* === Ani Beseret hosted-video player === */
.ani-news-video {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(85, 195, 255, .24);
  border-radius: 18px;
  background: #02070d;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34);
  aspect-ratio: 16 / 9;
}

.ani-news-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #02070d;
}

.ani-news-video iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #02070d;
}

.ani-news-video-embed::after {
  display: none;
}

.ani-news-video::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(1, 7, 13, .94));
}

.ani-news-video-center {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  padding: 0 0 0 4px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #1b9be0, #0872bd);
  box-shadow: 0 10px 35px rgba(7, 147, 227, .35);
  font-size: 1.45rem;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.ani-news-video.is-playing .ani-news-video-center {
  opacity: 0;
  pointer-events: none;
}

.ani-news-video-controls {
  position: absolute;
  z-index: 4;
  inset: auto .8rem .7rem;
  display: grid;
  grid-template-columns: auto auto auto minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: .65rem;
  direction: ltr;
  color: #eaf7ff;
  font-size: .72rem;
}

.ani-news-video-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 35, 52, .84);
  cursor: pointer;
}

.ani-news-video-brand {
  direction: rtl;
  color: #60c8ff;
  font-weight: 900;
  letter-spacing: .01em;
  white-space: nowrap;
}

.ani-news-video-controls input[type="range"] {
  min-width: 0;
  accent-color: #24aef2;
  cursor: pointer;
}

.mag-video-upload-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.mag-video-upload-row input[type="file"] {
  flex: 1;
  min-width: 0;
}

.mag-video-upload-status {
  min-height: 1.2rem;
  margin-top: .45rem;
  color: #62d1ff;
  font-size: .8rem;
  font-weight: 700;
}

@media (max-width: 620px) {
  .ani-news-video {
    border-radius: 13px;
  }

  .ani-news-video-center {
    width: 52px;
    height: 52px;
  }

  .ani-news-video-controls {
    inset: auto .45rem .4rem;
    gap: .35rem;
    grid-template-columns: auto auto minmax(55px, 1fr) auto auto;
  }

  .ani-news-video-brand {
    display: none;
  }

  .ani-news-video-controls button {
    width: 30px;
    height: 30px;
  }

  .mag-video-upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .mag-news-modal-gallery .mag-news-modal-image {
    height: min(39vh, 300px);
    border-radius: 14px;
  }

  .mag-news-modal-thumbs {
    grid-auto-columns: 64px;
  }

  .mag-news-modal-thumb {
    width: 64px;
  }

  .mag-news-modal-gallery-count {
    bottom: 4.15rem;
  }
}

/* === Compact breaking-news feature card === */
.mag-breaking-section .mag-section-inner {
  max-width: 1080px;
}

.mag-breaking {
  max-width: 1040px;
  margin-inline: auto;
  border-radius: 20px;
}

.mag-breaking-head {
  min-height: 54px;
  padding: .65rem 1rem;
}

.mag-breaking-content {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  align-items: stretch;
}

.mag-breaking-media,
.mag-breaking-media img {
  height: clamp(280px, 28vw, 350px);
  min-height: 0;
}

.mag-breaking-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.35rem;
}

.mag-breaking-title {
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.18;
}

.mag-breaking-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  font-size: .97rem;
  line-height: 1.72;
}

.mag-breaking-all {
  margin-top: .9rem;
  padding: .58rem .9rem;
  font-size: .9rem;
}

@media (max-width: 720px) {
  .mag-breaking-section .mag-section-inner {
    padding-inline: .8rem;
  }

  .mag-breaking-content {
    grid-template-columns: 1fr;
  }

  .mag-breaking-media,
  .mag-breaking-media img {
    width: 100%;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .mag-breaking-body {
    padding: 1rem;
  }

  .mag-breaking-title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .mag-breaking-text {
    -webkit-line-clamp: 4;
    font-size: .92rem;
  }
}
