/* STST Radio - broadcaster quick policy footer + NG guide modal.
   This stylesheet intentionally does NOT modify the broadcast grid, cards,
   comment panel, waveform sizing, or any existing broadcaster layout. */

.radio-policy-footer {
  margin-top: 34px;
  background: #ffcf21;
  border-top: 1px solid rgba(37,37,37,.15);
  border-bottom: 1px solid rgba(37,37,37,.15);
  color: #252525;
}

.radio-policy-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.radio-policy-footer__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.radio-policy-footer__eyebrow {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  opacity: .66;
}

.radio-policy-footer__copy strong {
  font-size: 1rem;
  line-height: 1.45;
}

.radio-policy-footer__copy > span:last-child {
  font-size: .8rem;
  line-height: 1.5;
  opacity: .72;
}

.radio-policy-footer__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.radio-policy-footer__button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #252525;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.radio-policy-footer__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(37,37,37,.13);
}

.radio-policy-footer__button--dark {
  background: #252525;
  color: #fff;
}

.radio-policy-footer__button--light {
  background: rgba(255,255,255,.78);
  color: #252525;
}

.radio-ng-modal[hidden] { display: none !important; }

.radio-ng-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
}

.radio-ng-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20,20,20,.65);
  cursor: default;
}

.radio-ng-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100vw - 40px));
  max-height: min(84vh, 820px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d9d6cf;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  padding: 26px;
  color: #252525;
}

.radio-ng-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #dedbd4;
  border-radius: 50%;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.radio-ng-modal__eyebrow {
  margin: 0 48px 5px 0;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  color: #b57500;
}

.radio-ng-modal__dialog h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.radio-ng-modal__lead {
  margin: 8px 0 18px;
  color: #6a6863;
  line-height: 1.65;
  font-size: .86rem;
}

.radio-ng-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.radio-ng-item {
  min-width: 0;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  background: #f7f6f2;
  border: 1px solid #e4e1da;
  border-radius: 12px;
}

.radio-ng-item--danger {
  background: #fff6f2;
  border-color: #f2cabb;
}

.radio-ng-item__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 9px;
  font-size: 1rem;
}

.radio-ng-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: .85rem;
}

.radio-ng-item p {
  margin: 0;
  color: #686661;
  font-size: .76rem;
  line-height: 1.55;
}

.radio-ng-modal__bottom {
  margin-top: 16px;
  padding: 15px;
  background: #fff7d3;
  border: 1px solid #f0d45a;
  border-radius: 12px;
}

.radio-ng-modal__bottom p {
  margin: 0 0 12px;
  font-size: .8rem;
  line-height: 1.55;
}

.radio-ng-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-ng-modal__note {
  margin: 12px 2px 0;
  color: #77746e;
  font-size: .7rem;
  line-height: 1.55;
}

body.radio-ng-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  .radio-policy-footer__inner {
    width: min(100% - 24px, 1180px);
    padding: 18px 0;
    display: grid;
    gap: 14px;
  }
  .radio-policy-footer__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .radio-policy-footer__button { padding: 0 10px; }
  .radio-ng-modal { padding: 12px; }
  .radio-ng-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 20px 16px;
    border-radius: 14px;
  }
  .radio-ng-grid { grid-template-columns: 1fr; }
  .radio-ng-modal__actions { display: grid; grid-template-columns: 1fr; }
  .radio-ng-modal__actions .btn { width: 100%; }
}
