.media-showcase-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.media-showcase-section .indiv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces 3 columns on desktop */
  gap: 30px;
  align-items: start;
}

/* Responsive fallback for smaller screens / tablets */
@media (max-width: 1024px) {
  .media-showcase-section .indiv-card-grid {
    grid-template-columns: repeat(2, 1fr); /* Drops to 2 columns on tablets */
  }
}

@media (max-width: 640px) {
  .media-showcase-section .indiv-card-grid {
    grid-template-columns: 1fr; /* Single column on mobile phones */
  }
}

/* --- Modal Overlay & Full Display Layout --- */
.squiz-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 20, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.squiz-modal-overlay.is-active {
  display: flex;
}

.sa-popup-dialog {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 20, 56, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
}

.sa-popup-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.sa-popup-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.close-modal-btn {
  background: var(--paper-dim);
  border: none;
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.close-modal-btn:hover {
  background: var(--teal);
  color: var(--white);
}

.sa-popup-body {
  padding: 24px;
  background: var(--paper-dim);
  max-height: calc(90vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  box-sizing: border-box;
}


.sa-popup-body img {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

.sa-popup-body iframe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 8px;
  background: var(--white);
}

.sa-popup-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.sa-modal-id-text {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}

.sa-download-btn {
    background: var(--navy);
    color: var(--white);
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.sa-download-btn:hover {
    background: #2356a6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--white);
    text-decoration: none;
}