/* =====================================================
   SECÇÃO RELATÓRIO E CONTAS
===================================================== */
.bs-relatorios{
  padding: 64px 0;
  background: #ffffff;
}

.bs-relatorios .container{
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

/* =====================================================
   BOX
===================================================== */
.bs-rel-box{
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 24px 22px 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* =====================================================
   GRID
===================================================== */
.bs-rel-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
}

/* =====================================================
   CARD
===================================================== */
.bs-rel-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  min-height:218px;
  padding:20px 18px 18px;
  text-align:center;
  background:#fff;
  border:1px solid #e8ebf0;
  border-radius:18px;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bs-rel-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,.10);
  border-color:rgba(255,210,0,.6);
}

.bs-rel-card:focus-visible{
  outline:3px solid rgba(255,210,0,.5);
  outline-offset:3px;
}

.bs-rel-top{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.bs-rel-year{
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  color:#8f6b00;
  background:#fff4c4;
  border:1px solid rgba(198,166,0,.25);
  padding:4px 11px;
  border-radius:999px;
}

.bs-rel-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#98a2b3;
}

.bs-rel-thumb-wrap{
  position:relative;
  margin:16px 0 12px;
}

.bs-rel-thumb{
  width:66px;
  height:66px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(150deg,#fff4c4,#ffe9a0);
  box-shadow:inset 0 0 0 1px rgba(198,166,0,.25), 0 6px 14px rgba(198,166,0,.16);
  color:#B89200;
}

.bs-rel-thumb svg{
  width:30px;
  height:30px;
  display:block;
}

.bs-rel-pdf-tag{
  position:absolute;
  right:-6px;
  bottom:-6px;
  background:#E5484D;
  color:#fff;
  font-size:9.5px;
  font-weight:900;
  letter-spacing:.06em;
  padding:3px 7px;
  border-radius:6px;
  box-shadow:0 4px 10px rgba(229,72,77,.35);
}

.bs-rel-title{
  font-size:15px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:uppercase;
  color:#111827;
  max-width:18ch;
  margin:0 auto;
}

.bs-rel-open{
  margin-top:14px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:800;
  color:#B89200;
}

.bs-rel-open-arrow{
  display:inline-block;
  transition:transform .22s ease;
}

.bs-rel-card:hover .bs-rel-open-arrow{
  transform:translate(2px,-2px);
}

/* =====================================================
   PAGINAÇÃO
===================================================== */
.bs-rel-pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.bs-rel-page-btn{
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: none;
  background: transparent;
  color: #7a7f87;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.bs-rel-page-btn:hover{
  color: #111827;
}

.bs-rel-page-btn.is-active{
  background: #FFD200;
  color: #ffffff;
}

.bs-rel-page-btn.is-disabled{
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

.bs-rel-page-icon{
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 991px){
  .bs-rel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .bs-relatorios{
    padding: 52px 0;
  }

  .bs-relatorios .container{
    width: min(100% - 20px, 1220px);
  }

  .bs-rel-box{
    padding: 16px 14px 24px;
    border-radius: 16px;
  }

  .bs-rel-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bs-rel-card{
    min-height: 200px;
    border-radius: 14px;
  }

  .bs-rel-title{
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .bs-rel-card,
  .bs-rel-card:hover,
  .bs-rel-open-arrow{
    transform:none;
    transition:none;
  }
}

.sol-publicacoes{
    padding:44px 0;
    background:#ffffff;
    overflow:hidden;
}

/* GROUP */

.sol-pub-group{
    background:#fcfcfd;
    border:1px solid #eef2f6;
    border-radius:24px;
    padding:22px;
    box-shadow:0 4px 18px rgba(16,24,40,.03);
    margin-bottom:18px;
}

.sol-pub-group:last-child{
    margin-bottom:0;
}

.sol-pub-group + .sol-pub-group{
    margin-top:22px;
}

/* HEADER */

.sol-pub-group-head{
    display:flex;
    align-items:center;
    gap:14px;
}

.sol-pub-group-head h3{
    font-size:17px;
    font-weight:800;
    color:#101828;
    margin:0;
}

.sol-pub-group-head::after{
    content:"";
    flex:1;
    height:1px;
    background:#E4E7EC;
}

/* BUTTON */

.sol-pub-toggle{
    height:38px;
    padding:0 16px;
    border:none;
    border-radius:999px;
    background:#FFD200;
    color:#101828;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
    transition:.3s ease;
}

.sol-pub-toggle:hover{
    transform:translateY(-2px);
}

.sol-pub-toggle i{
    transition:.3s ease;
}

.sol-pub-toggle.active i{
    transform:rotate(180deg);
}

/* COLLAPSE */

.sol-pub-collapse{
    display:none;
    margin-top:20px;
    animation:solPubFade .35s ease;
}

.sol-pub-collapse.active{
    display:block;
}

@keyframes solPubFade{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* GRID */

.sol-pub-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

/* CARD */

.sol-pub-grid a{
    min-height:136px;
    border:1px solid #edf1f5;
    border-radius:16px;
    background:#ffffff;
    text-decoration:none;
    padding:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    transition:.3s ease;
}

.sol-pub-grid a:hover{
    transform:translateY(-3px);
    border-color:rgba(255,210,0,.55);
    box-shadow:0 10px 24px rgba(16,24,40,.05);
}

.sol-pub-grid small{
    font-size:12px;
    color:#101828;
    margin-bottom:18px;
    font-weight:600;
}

.sol-pub-grid strong{
    font-size:13px;
    font-weight:800;
    color:#101828;
    text-transform:uppercase;
    margin-bottom:24px;
    line-height:1.4;
}

.sol-pub-grid i{
    font-size:20px;
    color:#101828;
}

/* RESPONSIVO */

@media(max-width:980px){

    .sol-pub-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:640px){

    .sol-publicacoes{
        padding:36px 0;
    }

    .sol-pub-group{
        padding:16px;
        border-radius:20px;
    }

    .sol-pub-group-head{
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .sol-pub-group-head::after{
        display:none;
    }

    .sol-pub-grid{
        grid-template-columns:1fr;
    }

}
