


.btx-grouped-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 20px;
    margin-bottom: 5px;
}

.btx-grouped-list-item {
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2; 
    transition: background-color 0.3s ease;
}

.btx-grouped-list-item:last-child {
    border-bottom: none;
}

.btx-grouped-list-item a {
    text-decoration: none;
    color: #555; 
    font-weight: 500; 
    font-size: 13px;
    line-height: 1.5;
    display: block; 
    transition: color 0.2s ease, transform 0.2s ease;
}

.btx-grouped-list-item:hover a {
    color: #0073e6; 
    transform: translateX(5px);
}

.btx-text-content-inner ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 15px; 
}

.btx-text-content-inner ul li a {
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px; 
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease; 
}

.btx-text-content-inner ul li a:hover {
    color: #ffffff; 
    background-color: #007bff; 
}
.btx-slider-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adiciona uma sombra escura ao texto */
    color: #ffffff; /* Texto branco */
}

/* aplica blur só ao vídeo de fundo */
.btx-video-background-inner {
  filter: blur(4px);
  transform: scale(1.01);
  object-fit: cover;
}

/* força a altura do header/slider */
header.btx-slider.btx-content-header.btx-slider--fit-height {
  height: 450px !important;     /* define altura fixa */
  min-height: 300px !important;
  max-height: 600px !important;
  overflow: hidden;             /* evita scroll se algo “sair” */
}

/* garante que o fundo e o vídeo preenchem a nova altura */
header.btx-slider .btx-background,
header.btx-slider .btx-background-wrapper,
header.btx-slider .btx-background-wrapper-inner,
header.btx-slider .btx-video-background-inner {
  height: 100% !important;
  object-fit: cover;
}

/* altura fixa só na secção data-index="6" */
.btx-section[data-index="6"] {
  height: 400px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden; /* corta o que ultrapasse */
}

/* garante que o conteúdo interno preenche e não acrescenta espaço extra */
.btx-section[data-index="6"] .btx-section-wrapper {
  height: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* o fundo (imagem/overlay) também deve ocupar os 200px */
.btx-section[data-index="6"] .btx-background,
.btx-section[data-index="6"] .btx-background-wrapper,
.btx-section[data-index="6"] .btx-background-inner {
  height: 100% !important;
}

.btx-entry-inner{
  background:#fff !important; opacity:1 !important;
}


@media (max-width: 1700px){
  .btx-blog-content .btx-entry {
    display: flex;
    width: calc(33% - 13px) !important; 
    box-sizing: border-box;
    margin: 2px !important;
}
}
@media (max-width:800px){
  .btx-blog-content .btx-entry {
    display: flex;
    width: 90% !important; 
    box-sizing: border-box;
    margin: 30px !important;
}
}



.btx-blog-content {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch;
    gap: 20px;
    width: 100%;
    justify-content: center; 
}

.btx-blog-content .btx-entry {
    display: flex;
    width: calc(25% - 20px) !important; 
    box-sizing: border-box;
    margin: 0 !important; 
}

.btx-blog-content .btx-entry-inner {
    display: flex;
    flex-direction: column;
    height: 100%; 
    width: 100%;
    background-color: #ffffff !important; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.btx-blog-content .btx-entry-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btx-blog-content .btx-entry-body {
    background-color: #ffffff; 
    padding: 20px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.btx-blog-content img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border-radius: 8px;
    margin-bottom: 15px;
}

.btx-entry-category a {
    font-size: 13px !important; 
    font-weight: 700;
    color: #0077b5; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btx-entry-date {
    font-size: 11px !important;
    color: #999;
    margin-bottom: 10px;
}

.btx-entry-title {
    margin: 10px 0 !important;
    line-height: 1.3;
}

.btx-entry-title a {
    font-size: 17px !important;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.btx-entry-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
}

.btx-grouped-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.btx-grouped-list-item a {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

@media (max-width: 1200px) {
    .btx-blog-content .btx-entry {
        width: calc(33.33% - 20px) !important;
    }
}

@media (max-width: 850px) {
    .btx-blog-content .btx-entry {
        width: calc(50% - 20px) !important;
    }
}

@media (max-width: 550px) {
    .btx-blog-content .btx-entry {
        width: 100% !important;
    }
}
