/* ── MEDIA GRID ── */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* ── FEATURED LEFT ── */
.media-featured {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.media-featured:hover {
  border-color: #d0d8e8;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

/* featured thumbnail — iframe fills 16:9 */
.feat-thumb {
  width: 100%;
  aspect-ratio: 16 / 8;
  position: relative;
  background: #1a2a3a;
  overflow: hidden;
  flex-shrink: 0;
}

.feat-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  pointer-events: none;
}

.feat-tag {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
  padding: 3px 9px;
  border-radius: calc(var(--border-radius) / 2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* featured body */
.feat-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feat-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.12s;
}

.feat-title:hover {
  color: var(--primary-color);
}

.feat-date {
  font-size: 11px;
  color: #aaa;
}

/* featured footer */
.feat-footer {
  padding: 10px 1.25rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.feat-subscribe {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border: 1.5px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: background 0.15s, color 0.15s;
}

.feat-subscribe:hover {
  background: var(--primary-color);
  color: #fff !important;
}

.feat-arrow {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s;
}

.feat-arrow:hover {
  background: var(--primary-color);
}

.feat-arrow svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-color);
  transition: fill 0.15s;
}

.feat-arrow:hover svg {
  fill: #fff;
}

/* ── RIGHT ROWS ── */
.media-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: max-content;
}

/* ── SMALL ROW ── */
.media-row {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  flex: 1;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.media-row:hover {
  border-color: #d0d8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* row thumbnail */
.row-thumb {
  width: 150px;
  flex-shrink: 0;
  background: #1a2a3a;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 13;
}

.row-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  pointer-events: none;
}

/* row body */
.row-body {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  border-right: 1px solid #f0f0f0;
  text-align: left;
}

.row-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.row-title {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.12s;
}

.row-title:hover {
  color: var(--primary-color);
}

.row-date {
  font-size: 10px;
  color: #aaa;
}

/* row actions */
.row-right {
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.row-subscribe {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1.5px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.row-subscribe:hover {
  background: var(--primary-color);
  color: #fff !important;
}

.row-arrow {
  width: 28px;
  height: 28px;
  border-radius: var(--border-radius);
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s;
}

.row-arrow:hover {
  background: var(--primary-color);
}

.row-arrow svg {
  width: 12px;
  height: 12px;
  fill: var(--primary-color);
  transition: fill 0.15s;
}

.row-arrow:hover svg {
  fill: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .row-thumb {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .media-row {
    flex-direction: column;
    height: auto;
  }

  .row-thumb {
    width: 100%;
    height: 160px;
  }

  .row-thumb iframe {
    pointer-events: auto;
  }

  .feat-thumb iframe {
    pointer-events: auto;
  }

  .row-body {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .row-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .row-right {
    padding: 10px 14px;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .row-thumb { height: 140px; }
}