@media screen and (max-width: 840px) {
  #header { display: none; }
  /* tem que bater com a altura do #titleBar abaixo, senao o conteudo
     passa por baixo da barra fixa */
  #page-wrapper { padding-top: 64px; }
}

/* titleBar do mobile espelhando o #header do desktop:
   mesmo fundo branco, mesmos logos, mesma cor de texto.
   o #navPanel continua escuro porque o equivalente no desktop
   (#nav, a faixa de links) tambem e escuro. */
@media screen and (max-width: 840px) {
  #titleBar {
    height: 64px;
    background-color: #fff;
    background-image: none;
    align-items: center;
    padding: 0 0.5em;
  }

  #titleBar .sbc-title-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 100%;
    flex: 0 0 auto;
  }

  #titleBar .sbc-title-logo img {
    height: 38px;
    width: auto;
    margin: 0;
  }

  #titleBar .sbc-title-logo p {
    height: auto;
    margin: 0;
    font-size: 0.5em;
    font-weight: 800;
    line-height: 1.3;
    color: #505050;
  }

  #titleBar .eramia-title-logo {
    width: auto;
    max-width: 58%;
    flex: 0 1 auto;
    height: auto;
  }

  #titleBar .eramia-title-logo img {
    display: block;
    height: auto;
    width: auto;
    max-height: 52px;
    max-width: 100%;
    margin-bottom: 0;
    object-fit: contain;
  }

  #titleBar .toggle {
    flex: 0 0 auto;
    margin-top: 0;
  }

  #titleBar .toggle:before {
    color: #505050;
    opacity: 0.65;
  }

  #titleBar .toggle:active:before {
    opacity: 0.9;
  }
}

/* Drop-downs handled by jquery.dropotron */

.fade-enter-active, .fade-leave-active {
  transition: all 0.5s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
  transform: scale(0.95);
}

.fade-enter-to, .fade-leave-from {
  opacity: 1;
  transform: scale(1);
}

#contact-row .contact-info {
  align-items: flex-end;
}

#contact-row .contact-info p {
  margin: 0.25rem 0;
  width: 100%;
}

#contact-row .contact-info a {
  border: none;
  color: inherit;
}

#contact-row .contact-info .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

#contact-row .contact-info .social-link:before {
  font-size: 1.4em;
}

#contact-row .contact-info .social-link:hover {
  color: #d62976;
}

/* Destaques pós-hero */
.hero-highlights {
  padding-top: 3.5em;
  padding-bottom: 3em;
  background: #f4f6fb;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  align-items: stretch;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 1.5em 1.4em 1.25em;
  box-shadow: 0 4px 18px rgba(35, 56, 130, 0.08);
  border-top: 4px solid #233882;
  text-align: left;
}

.highlight-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85em;
  border-radius: 50%;
  background: #eef1f9;
  color: #233882;
}

.highlight-card-icon .icon {
  font-size: 1.25em;
  margin: 0;
  position: static;
}

.highlight-card h3 {
  margin: 0 0 0.5em;
  font-size: 1.15em;
  color: #233882;
}

.highlight-card p {
  margin: 0 0 0.85em;
  font-size: 0.95em;
  line-height: 1.5;
  color: #666;
}

.highlight-card-list {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 0;
  flex: 1;
}

.highlight-card-list li {
  padding: 0.45em 0;
  border-bottom: 1px solid #eef1f9;
  font-size: 0.92em;
  line-height: 1.45;
  color: #4c4c4c;
}

.highlight-card-list li:last-child {
  border-bottom: none;
}

.highlight-card-dates time {
  display: inline-block;
  min-width: 3.2em;
  margin-right: 0.35em;
  padding: 0.15em 0.45em;
  font-weight: 700;
  font-size: 0.9em;
  color: #233882;
  background: #eef1f9;
  border-radius: 4px;
}

.highlight-card footer {
  margin-top: auto;
  padding-top: 0.25em;
}

.highlight-card footer .button {
  margin: 0;
}

@media screen and (max-width: 980px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
  }
}

/* Tópicos de interesse */
.topics-section header.major p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.topics-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
  margin-bottom: 2em;
}

.topics-group {
  background: #f8f9fc;
  border-radius: 8px;
  padding: 1.35em 1.25em 1.15em;
  border: 1px solid #e8ecf4;
  text-align: left;
}

.topics-group h3 {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 0.85em;
  padding-bottom: 0.65em;
  font-size: 1em;
  line-height: 1.35;
  color: #233882;
  border-bottom: 1px solid #e0e6f2;
}

.topics-group h3 .icon {
  flex-shrink: 0;
  width: 1.25em;
  text-align: center;
  color: #233882;
}

.topics-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.topics-chips li {
  padding: 0.4em 0.75em;
  font-size: 0.85em;
  line-height: 1.35;
  font-weight: 600;
  color: #3d4f7a;
  background: #fff;
  border: 1px solid #d8e0f0;
  border-radius: 999px;
}

.topics-cta {
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 980px) {
  .topics-groups {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Sobre — foto + texto */
.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 38%) 1fr;
  gap: 2em;
  align-items: start;
  text-align: left;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(35, 56, 130, 0.14);
  object-fit: cover;
}

.about-photo figcaption {
  margin-top: 0.65em;
  font-size: 0.82em;
  color: #777;
  text-align: center;
}

.about-content p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 980px) {
  .about-layout {
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin: 0 auto;
  }

  .about-photo {
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
  }
}

.localizacao-info {
  margin-bottom: 1.25em;
  text-align: left;
}

#location .localizacao-info {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.localizacao-map {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.localizacao-maps-link {
  margin: 0.75em 0 0;
  text-align: center;
}

.localizacao-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  align-items: stretch;
}

.localizacao-media .map-embed {
  margin: 0;
  min-height: 100%;
}

.localizacao-media .map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(35, 56, 130, 0.1);
}

.localizacao-photo {
  margin: 0;
  height: 100%;
}

.localizacao-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

@media screen and (max-width: 980px) {
  .localizacao-media {
    grid-template-columns: 1fr;
  }

  .localizacao-photo {
    max-width: none;
  }
}

/* Datas importantes (home) */
#dates.section-dates {
  background: #ececec;
}

.important-dates {
  max-width: 42rem;
  margin: 0 auto;
}

.important-dates-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(35, 56, 130, 0.12);
  background: #fff;
  margin: 0;
}

.important-dates-table thead {
  background: linear-gradient(135deg, #233882 0%, #1a2d66 100%);
  color: #fff;
}

.important-dates-table th {
  padding: 0.85em 1.25em;
  text-align: left;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.important-dates-table th:last-child {
  text-align: right;
}

.important-dates-table td {
  padding: 0.9em 1.25em;
  border-bottom: 1px solid #e8ecf4;
  vertical-align: middle;
}

.important-dates-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #4c4c4c;
}

.important-dates-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.important-dates-table td:last-child time {
  display: inline-block;
  padding: 0.3em 0.85em;
  background: #eef1f9;
  color: #233882;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.4;
}

.important-dates-table tbody tr:last-child td {
  border-bottom: none;
}

.important-dates-table tbody tr:hover {
  background: #f8f9fc;
}

.important-dates-table tbody tr.highlight-row {
  background: #f4f6fb;
}

.important-dates-table tbody tr.highlight-row td:first-child {
  color: #233882;
}

.important-dates-table tbody tr.highlight-row td:last-child time {
  background: #233882;
  color: #fff;
}

@media screen and (max-width: 480px) {
  .important-dates-table thead {
    display: none;
  }

  .important-dates-table,
  .important-dates-table tbody,
  .important-dates-table tr,
  .important-dates-table td {
    display: block;
    width: 100%;
  }

  .important-dates-table tr {
    padding: 0.85em 1.1em;
    border-bottom: 1px solid #e8ecf4;
  }

  .important-dates-table tr:last-child {
    border-bottom: none;
  }

  .important-dates-table td {
    padding: 0.2em 0;
    border: none;
    text-align: left;
  }

  .important-dates-table td:last-child {
    margin-top: 0.35em;
    text-align: left;
    white-space: normal;
  }
}

/* Comissão organizadora (cards) */
.org-cards > div {
  display: flex;
}

.org-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 1.35em 1.4em 1.25em;
  box-shadow: 0 4px 18px rgba(35, 56, 130, 0.1);
  border-top: 4px solid #233882;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 56, 130, 0.16);
}

.org-card h3 {
  margin: 0 0 0.85em;
  font-size: 1.05em;
  line-height: 1.35;
  color: #233882;
  border-bottom: 1px solid #e8ecf4;
  padding-bottom: 0.65em;
}

.org-members {
  list-style: none;
  margin: 0;
  padding: 0;
}

.org-members li {
  padding: 0.45em 0;
  border-bottom: 1px solid #f0f2f7;
  line-height: 1.45;
  font-size: 0.95em;
}

.org-members li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.org-members a {
  border-bottom: none;
  font-weight: 600;
  color: #4c4c4c;
}

.org-members a:hover {
  color: #233882;
}

.org-affiliation {
  color: #777;
  font-weight: 400;
  font-size: 0.92em;
}

/* Página de submissões */
.submissoes-hero {
  padding-top: 3em;
  padding-bottom: 2em;
  background: #f4f6fb;
}

.submissoes-hero header.major {
  margin-bottom: 0;
}

.submissoes-body {
  padding-top: 2.5em;
}

.submissoes-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 2em;
  align-items: start;
  text-align: left;
}

.submissoes-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.submissoes-sidebar .highlight-card,
.submissoes-sidebar .org-card {
  margin: 0;
}

.submissoes-sidebar .highlight-card-list {
  margin-bottom: 0;
}

.submissoes-sidebar .highlight-card footer .button {
  width: 100%;
}

.submissoes-main {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.content-panel {
  background: #fff;
  border-radius: 8px;
  padding: 1.5em 1.6em;
  box-shadow: 0 4px 18px rgba(35, 56, 130, 0.08);
  border: 1px solid #e8ecf4;
  text-align: left;
}

.content-panel h3 {
  margin: 0 0 0.85em;
  font-size: 1.15em;
  color: #233882;
  border-bottom: 1px solid #e8ecf4;
  padding-bottom: 0.6em;
}

.content-panel p:last-child,
.content-panel ul:last-child {
  margin-bottom: 0;
}

.topics-chips-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.submission-tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.submission-track {
  margin: 0;
  padding: 1em 1.15em;
  background: #f8f9fc;
  border: 1px solid #e8ecf4;
  border-radius: 8px;
  border-left: 4px solid #233882;
  line-height: 1.55;
  font-size: 0.95em;
  color: #4c4c4c;
}

@media screen and (max-width: 980px) {
  .submissoes-layout {
    grid-template-columns: 1fr;
  }

  .submissoes-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
  }

  .topics-chips-row {
    grid-template-columns: 1fr;
  }
}

/* Chamada para patrocinadores */
#footer .sponsor-cta {
  padding: 3em 1.5em 2.5em;
  background: linear-gradient(135deg, #233882 0%, #1a2d66 100%);
  color: #fff;
  text-align: center;
}

#footer .sponsor-cta-inner {
  max-width: 52rem;
  margin: 0 auto;
}

#footer .sponsor-cta-eyebrow {
  display: inline-block;
  margin: 0 0 0.75em;
  padding: 0.35em 0.9em;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

#footer .sponsor-cta h2 {
  margin: 0 0 0.65em;
  font-size: 1.85em;
  line-height: 1.25;
  color: #fff;
  border-bottom: none;
}

#footer .sponsor-cta-lead {
  margin: 0 auto 1.75em;
  max-width: 40rem;
  font-size: 1.05em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

#footer .sponsor-cta-benefits {
  list-style: none;
  margin: 0 auto 2em;
  padding: 0;
  max-width: 36rem;
  text-align: left;
  display: grid;
  gap: 0.75em;
}

#footer .sponsor-cta-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  padding: 0.75em 1em;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

#footer .sponsor-cta-benefits .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: #a8c4ff;
}

#footer .sponsor-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
}

#footer .sponsor-cta-actions .button.sponsor-cta-button {
  margin: 0;
  padding: 0 1.5em;
  line-height: 2.75em;
  min-width: 9em;
  background-color: #fff;
  background-image: none;
  color: #233882 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#footer .sponsor-cta-actions .button.sponsor-cta-button:hover {
  background-color: #fff;
  color: #1a2d66 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

#footer .sponsor-cta-actions .button.sponsor-cta-button:active {
  background-color: #f4f6fb;
  color: #1a2d66 !important;
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

/* Botões brancos em fundos escuros (CTA, patrocínio, etc.) */
.wrapper.style3 .button {
  color: #233882 !important;
  background-image: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.wrapper.style3 .button:hover {
  background-color: #fff !important;
  color: #1a2d66 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.wrapper.style3 .button:active {
  background-color: #f4f6fb !important;
  color: #1a2d66 !important;
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

#footer .sponsor-cta-note {
  margin: 0;
  font-size: 0.88em;
  color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 736px) {
  #footer .sponsor-cta {
    padding: 2.25em 1.1em 2em;
  }

  #footer .sponsor-cta h2 {
    font-size: 1.45em;
  }

  #footer .sponsor-cta-lead {
    font-size: 1em;
  }
}

/* Footer — barra de créditos / copyright */
#footer .footer-credits-bar {
  width: 100%;
  padding: 0.9em 1.5em;
  background: #1a2d66;
  text-align: center;
}

#footer .footer-credits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35em 0;
}

#footer .footer-credits li {
  font-size: 0.85em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  padding: 0 0.85em;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  margin: 0;
}

#footer .footer-credits li:first-child {
  border-left: none;
  padding-left: 0;
}

#footer .footer-credits a {
  color: #fff;
  border-bottom: none;
  font-weight: 600;
}

#footer .footer-credits a:hover {
  color: #b8cff8;
}

@media screen and (max-width: 736px) {
  #footer .footer-credits {
    flex-direction: column;
    gap: 0.5em;
  }

  #footer .footer-credits li {
    border-left: none;
    padding: 0;
  }
}

/* Página Porto Alegre */
.porto-alegre-page .poa-intro {
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}

.porto-alegre-page .poa-intro p:last-child {
  margin-bottom: 0;
}

.porto-alegre-page .poa-section {
  padding-top: 2.75em;
  padding-bottom: 2.75em;
}

.porto-alegre-page .poa-section-lead {
  max-width: 48rem;
  margin: 0 auto 1.75em;
  text-align: center;
  line-height: 1.6;
}

.porto-alegre-page .localizacao-info {
  text-align: center;
  margin-bottom: 1.5em;
}

.porto-alegre-page .poa-hotels-grid,
.porto-alegre-page .poa-gastro-grid,
.porto-alegre-page .poa-links-grid {
  margin-bottom: 0;
}

.porto-alegre-page .poa-gastro-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.5em;
}

.porto-alegre-page .poa-links-grid {
  grid-template-columns: repeat(2, 1fr);
}

.porto-alegre-page .highlight-card .highlight-card-list {
  margin-bottom: 0;
}

.porto-alegre-page .poa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.porto-alegre-page .poa-list li {
  padding: 0.45em 0;
  border-bottom: 1px solid #eef1f9;
  line-height: 1.5;
  font-size: 0.94em;
}

.porto-alegre-page .poa-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.porto-alegre-page .poa-list a {
  border-bottom: none;
  font-weight: 600;
  color: #4c4c4c;
}

.porto-alegre-page .poa-list a:hover {
  color: #233882;
}

.porto-alegre-page .poa-tip {
  margin-top: 1.75em;
  text-align: center;
}

.porto-alegre-page .poa-tip p {
  margin: 0;
}

.porto-alegre-page .poa-transport-panel {
  max-width: 52rem;
  margin: 0 auto;
  text-align: left;
}

.porto-alegre-page .poa-transport-panel h3 {
  margin: 1.35em 0 0.75em;
  color: #233882;
  font-size: 1.05em;
}

.porto-alegre-page .poa-transport-panel h3:first-of-type {
  margin-top: 0.5em;
}

.porto-alegre-page #turismo .poa-section-lead {
  margin-bottom: 2.25em;
}

.porto-alegre-page .poa-tourism-grid,
#turismo .poa-tourism-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.porto-alegre-page .poa-tourism-card,
#turismo .poa-tourism-card {
  margin: 0;
}

.porto-alegre-page .poa-tourism-card h3,
#turismo .poa-tourism-card h3 {
  margin-top: 0;
  margin-bottom: 1em;
}

.porto-alegre-page #turismo .poa-list li,
#turismo .poa-list li {
  padding: 0.7em 0;
  line-height: 1.65;
}

@media screen and (max-width: 736px) {
  .porto-alegre-page .poa-gastro-grid,
  .porto-alegre-page .poa-links-grid {
    grid-template-columns: 1fr;
  }

  .porto-alegre-page .poa-tourism-grid,
  #turismo .poa-tourism-grid {
    grid-template-columns: 1fr;
  }
}

/* Data reagendada: valor antigo taxado, novo ao lado */
del.date-old {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0.55;
  text-decoration: line-through;
}

/* os <time> das listas/tabelas sao inline-block, e o line-through
   do <del> nao propaga pra dentro deles */
del.date-old time {
  text-decoration: line-through;
}

/* Patrocinadores (acima dos parceiros estruturantes) */
#footer .sponsors-section,
#footer .partners-section {
  padding: 5em 1.5em;
}

/* fundo claro separa a faixa de patrocinadores dos parceiros (branco) */
#footer .sponsors-section {
  background: #f4f6fb;
}

#footer .sponsors-section > h2,
#footer .partners-section > h2 {
  margin-bottom: 1.75em;
}

/* o espaco entre as secoes vem do padding acima */
#footer .partners-section .flex-container {
  margin-bottom: 0;
}

#footer .sponsors-tier {
  margin-bottom: 3em;
}

#footer .sponsors-tier:last-child {
  margin-bottom: 0;
}

/* h4 inline-block pro border-bottom colorido da faixa (main.css)
   acompanhar o texto em vez de atravessar a largura toda */
#footer .sponsors-tier h4 {
  display: inline-block;
  margin: 0 0 1.25em;
  padding-bottom: 0.35em;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#footer .sponsors-tier .sponsors-row {
  margin: 0;
  justify-content: center;
  gap: 1.5em 3em;
}

#footer .sponsors-tier .sponsors-logo {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

#footer .sponsors-tier .sponsors-logo img {
  max-width: 100%;
}

/* cada logo dentro de um card branco clicavel */
#footer .sponsors-tier .sponsors-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16rem;
  min-height: 7rem;
  padding: 1.5em 2.5em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(35, 56, 130, 0.08);
  -moz-transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-transition: transform 0.25s ease, box-shadow 0.25s ease;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#footer .sponsors-tier .sponsors-logo a:hover {
  -moz-transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(35, 56, 130, 0.14);
}

@media screen and (max-width: 736px) {
  #footer .sponsors-section,
  #footer .partners-section {
    padding: 3em 1.1em;
  }

  #footer .sponsors-tier {
    margin-bottom: 2em;
  }

  #footer .sponsors-tier .sponsors-logo a {
    min-width: 0;
    min-height: 7.5rem;
    padding: 1.5em 1.5em;
  }
}

/* telas estreitas: o logo passa a ser dimensionado pela largura.
   precisa de !important porque o dimensionamento por altura vem do
   atributo style inline definido em sponsors.json */
@media screen and (max-width: 520px) {
  #footer .sponsors-tier .sponsors-row {
    display: block;
  }

  #footer .sponsors-tier .sponsors-logo + .sponsors-logo {
    margin-top: 1.5em;
  }

  #footer .sponsors-tier .sponsors-logo a {
    width: 100%;
    min-height: 6.5rem;
    padding: 1.5em 1.25em;
  }

  #footer .sponsors-tier .sponsors-logo img {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}
