/* PI 99895: one static, full-width creative per campaign placement. */
.senac-ad-slot,
.senac-reader-slot {
  box-sizing: border-box;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.senac-ad-slot--top {
  padding: 8px 0 4px;
}

.commercial-footer-ad.senac-ad-slot--footer {
  width: min(430px, calc(100% - 32px));
  max-width: 430px;
  margin: 0 auto;
  padding: 0;
}

.commercial-footer-ad.senac-ad-slot--footer .senac-banner {
  pointer-events: auto;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(16, 24, 63, 0.28);
}

.commercial-footer-ad.senac-ad-slot--footer .commercial-footer-ad__close {
  right: 6px !important;
  top: 6px !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  transform: none !important;
  background: rgba(16, 24, 63, 0.82) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  z-index: 10;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
}

.commercial-footer-ad.senac-ad-slot--footer .commercial-footer-ad__close:hover {
  background: #ff7a1a !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.senac-ad-slot--general-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(16, 24, 63, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.22);
}

.senac-banner {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #0b3d7d;
  line-height: 0;
}

.senac-banner img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
  object-position: center;
}

.senac-banner:focus-visible {
  outline: 3px solid #ff8b1f;
  outline-offset: 3px;
}

.senac-banner--footer-general {
  border-radius: 16px;
}

.senac-reader-slot {
  margin: 0 0 20px;
}

.senac-reader-slot--inline {
  margin: 28px auto;
  width: 100%;
  clear: both;
}

.senac-reader-slot__sponsor-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
  margin-bottom: 6px;
  padding: 0 4px;
  font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.senac-banner--inline,
.senac-banner--after,
.senac-banner--reader {
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(16, 24, 63, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.senac-reader-slot--after {
  margin: 28px 0 20px;
}

.reader-commercial-square:has(+ .senac-reader-slot--after) {
  display: none;
}

@media (max-width: 700px) {
  .senac-ad-slot--top {
    padding: 6px 0 2px;
  }

  .commercial-footer-ad.senac-ad-slot--footer {
    width: min(390px, calc(100% - 28px));
    max-width: 390px;
  }

  .senac-ad-slot--general-footer {
    margin: 0 0 20px;
    border-radius: 12px;
  }

  .senac-banner--footer-general {
    border-radius: 12px;
  }

  .senac-reader-slot {
    margin-bottom: 16px;
  }

  .senac-reader-slot--inline {
    margin: 20px auto;
  }

  .senac-reader-slot--after {
    margin-top: 22px;
  }

  .senac-banner--inline,
  .senac-banner--after,
  .senac-banner--reader {
    border-radius: 10px;
  }
}

/* Senac Company Profile Campaigns & Full Banners in Guia */
.company-campaigns-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  grid-template-columns: none !important;
}

.senac-profile-campaign-card {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 26, 0.35);
  background: #0b3d7d;
  box-shadow: 0 4px 18px rgba(13, 23, 58, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.senac-profile-campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(13, 23, 58, 0.24);
  border-color: #ff7a1a;
}

.senac-profile-campaign-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.senac-profile-campaign-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: contain;
  background: #0b3d7d;
  border: 0;
}

.senac-profile-campaign-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #082d5d;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.senac-profile-campaign-card__bar strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.senac-profile-campaign-card__bar span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  line-height: 1.35;
}

.senac-profile-campaign-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 8px;
  background: #ff7a1a;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.senac-profile-campaign-card:hover .senac-profile-campaign-card__btn {
  background: #ea580c;
}

.company-campaign-links-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.company-campaign-link-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3d7d, #082d5d);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(255, 122, 26, 0.35);
  box-shadow: 0 4px 12px rgba(13, 23, 58, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.company-campaign-link-pill:hover {
  background: linear-gradient(135deg, #0e4b99, #0b3d7d);
  border-color: #ff7a1a;
  transform: translateY(-1px);
}

.company-campaign-link-pill strong {
  display: block;
  font-size: 0.78rem;
  color: #ffffff;
  line-height: 1.25;
}

.company-campaign-link-pill span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  line-height: 1.2;
}

.company-campaign-link-pill svg,
.company-campaign-link-pill i {
  width: 18px;
  height: 18px;
  color: #ff7a1a;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .company-campaign-links-row {
    grid-template-columns: 1fr;
  }
  .senac-profile-campaign-card__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .senac-profile-campaign-card__btn {
    align-self: flex-start;
  }
}

