/*
Theme Name: SBCBM
Theme URI: https://sbcbm.org.br
Author: SBCBM
Description: Tema clássico da SBCBM, com o CSS compilado do layout atual e suporte ao editor de blocos.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: MIT
Text Domain: sbcbm
*/

/*
All style editing is done via /assets/scss/_itarget_theme_custom.scss
*/

/* Contraste AA sem alterar tamanho, espaçamento ou posição. */
#nav-main {
  background: #006ea8;
}

.top-menu-button:first-child,
.localize2 button:first-child,
.localize button:first-child {
  background-color: #006ea8;
}

.top-menu-button:nth-child(2),
.localize2 button:nth-child(2),
.localize button:nth-child(2) {
  color: #1a1a1a;
}

.asl_w_container .probox input::placeholder {
  color: #006ea8;
  opacity: 1;
}

.social-icon a,
.social-icon a .dashicons,
.social-icon a .dashicons:before {
  color: #006ea8;
}

.sbcbm-login-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(640px, calc(100% - 32px));
  margin: 24px auto 8px;
  padding: 14px 16px;
  border: 1px solid #f3c3c0;
  border-radius: 14px;
  background: #fff6f5;
  color: #7a1f1a;
  box-shadow: 0 8px 24px rgba(122, 31, 26, 0.08);
  text-align: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sbcbm-login-alert.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.sbcbm-login-alert__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.sbcbm-login-alert p {
  margin: 4px 0 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #7a1f1a;
}

/* Títulos de notícia passam de h5 para h3 e mantêm o tamanho anterior. */
.box-news div a aside div h3 {
  font-family: "Roboto", system-ui;
  font-size: 1.25rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1 !important;
  height: auto !important;
  margin: 0 0 0.5rem;
  padding: 0 !important;
  hyphens: auto;
  text-wrap: balance;
  word-wrap: break-word !important;
  word-break: break-word !important;
}

.itarget-theme-footer-columns h3.wp-block-heading {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
