.news-thematic-area {
    padding: 0 0 80px;
    margin: 0 auto;
    max-width: 1536px;
}

.news-thematic-area:not(.hero-spacing-ready) {
    padding: 48px 0;
    margin: 0 auto;
    max-width: 1536px;
}

.news-thematic-area .news-tabs-container {
    display: flex;
    justify-content: center;
    padding-bottom: 80px;
}

.news-thematic-area .news-tabs-container .news-tabs-list{
    display: flex;
    justify-content: center;
    list-style: none;
}

.news-thematic-area .news-tabs-container .news-tabs-list .news-tab-item{
    padding: 16px 54px;
    border-bottom: 4px solid var(--color-neutral-beige-dark);
    color: var(--color-neutral-beige-dark);
    cursor: pointer;
    text-align: center;
}

.news-thematic-area .news-tabs-container .news-tabs-list .news-tab-item.active{
    border-bottom: 4px solid var(--color-primary);
    color: var(--color-primary);
}

.news-thematic-area .filters-container {
    margin-bottom: 80px;
}

.news-thematic-area.is-searching-mobile .filters-container {
    margin-bottom: 40px;
}

.news-thematic-area .search-results-title-wrapper {
    margin-bottom: 40px;
}

.news-thematic-area .filters-container .filter-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-thematic-area #news-thematic-area-filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: end;
}

.news-thematic-area .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.news-thematic-area .search-wrapper input[type="text"] {
    width: 100%;
    padding: 10px 20px 10px 55px;
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    outline: none;
    background: transparent;
    color: var(--color-primary);
}

.news-thematic-area .search-wrapper input[type="text"]::placeholder {
    color: var(--color-primary);
    opacity: 0.6;
}

.news-thematic-area .search-wrapper .search-icon {
    position: absolute;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.news-thematic-area .search-wrapper .search-icon svg path {
    fill: var(--color-primary);
}

.news-thematic-area .custom-select-wrapper {
    position: relative;
    user-select: none;
    cursor: pointer;
}

.news-thematic-area .custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    transition: all 0.3s;
    justify-content: space-between;
}

.news-thematic-area .custom-select-wrapper.has-active-filter .custom-select-trigger {
    background: var(--color-primary);
    color: var(--color-background-white);
}

.news-thematic-area .custom-select-wrapper.has-active-filter .custom-select-trigger svg path {
    stroke: var(--color-background-white);
}

.news-thematic-area .custom-select-trigger svg {
    display: flex;
    rotate: 90deg;
    width: 16px;
    flex-shrink: 0;
}

.news-thematic-area .custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--color-background-white);
    border: 1px solid var(--color-neutral-beige-medium-light);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.news-thematic-area .custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-thematic-area .custom-option {
    border-bottom: 1px solid var(--color-neutral-beige-medium-light);
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
    list-style: none;
}

.news-thematic-area .custom-option:last-child {
    border-bottom: none;
}

.news-thematic-area .custom-option::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--color-neutral-beige-dark);
    background-color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.news-thematic-area .custom-option.selected::before {
    border-color: var(--color-primary);
    background: radial-gradient(circle, var(--color-primary) 40%, transparent 45%);
}

.news-thematic-area .news-thematic-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
}

.news-thematic-area .news-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: visible;
    margin-bottom: 26px;
}

.news-thematic-area .news-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.news-thematic-area .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-thematic-area .news-badge {
    display: inline-flex;
    align-self: flex-start;
    background-color: var(--color-neutral-beige-dark);
    color: var(--color-background-white);
    padding: 6px 16px;
    border-radius: 24px;
}

.news-thematic-area .news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 16px 33px 16px 16px;
    background: var(--color-neutral-beige-light);
    position: relative;
}

.news-thematic-area .news-title {
    margin: 0;
}

.news-thematic-area .news-title a {
    text-decoration: none;
    color: inherit;
}

.news-thematic-area .news-excerpt {
    margin: 0;
}

.news-thematic-area .news-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.news-thematic-area .news-card-cta {
    position: absolute;
    bottom: -27px;
    right: 25px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
    padding: 15px;
}

.news-thematic-area .news-card-cta span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    max-width: 0;
    overflow: hidden;
    margin-right: 0;
    transition: all 0.3s ease;
}

.news-thematic-area .news-card-cta:hover span {
    opacity: 1;
    transform: translateX(0);
    max-width: 300px;
    margin-right: 10px;
}

.news-thematic-area .news-card-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.news-thematic-area .news-card-cta svg path {
    fill: var(--color-background-white);
}

.news-thematic-area .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}

.news-thematic-area .news-thematic-area-pagination {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.news-thematic-area .news-thematic-area-pagination .container-pagination {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.news-thematic-area .news-thematic-area-pagination .page-numbers {
    display: inline-block;
    margin: 0;
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--typo-tag-regular-font);
    font-size: var(--typo-tag-size-regular);
    font-weight: var(--typo-tag-regular-fw);
    line-height: var(--typo-tag-regular-lh);
    letter-spacing: var(--typo-tag-regular-ls);
}

.news-thematic-area .news-thematic-area-pagination .page-numbers.current {
    color: var(--color-background-white);
    padding: 8px 15px;
    border-radius: 20px;
    background: var(--color-primary);
}

.news-thematic-area .news-thematic-area-pagination .next.page-numbers,
.news-thematic-area .news-thematic-area-pagination .prev.page-numbers {
    display: flex;
}

.news-thematic-area .news-thematic-area-pagination .next.page-numbers {
    position: absolute;
    right: -64px;
}

.news-thematic-area .news-thematic-area-pagination .prev.page-numbers {
    position: absolute;
    left: -64px;
    rotate: 180deg;
}

.news-thematic-area .news-thematic-area-pagination .next.page-numbers svg,
.news-thematic-area .news-thematic-area-pagination .prev.page-numbers svg {
    width: 16px;
}

@media (min-width: 993px) and (max-width: 1537px) {
  .news-thematic-area {
    padding: 0 20px 40px;
  }

  .news-thematic-area:not(.hero-spacing-ready) {
    padding: 24px 20px;
  }
}

@media (max-width: 1200px) {
    .news-thematic-area .news-thematic-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .news-thematic-area:not(.hero-spacing-ready) {
        padding: 40px 20px;
    }

    .news-thematic-area .news-tabs-container {
      padding-bottom: 40px;
    }

    .news-thematic-area .news-tabs-container .news-tabs-list{
        padding: 0;
        margin: 0;
    }

    .news-thematic-area {
        padding: 0 20px 40px 20px;
    }

    .news-thematic-area #news-thematic-area-filter-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-thematic-area .filters-container .filter-col{
        gap: 16px;
    }

    .news-thematic-area .news-thematic-area-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-thematic-area .filters-container{
        margin-bottom: 32px;
    }

    .news-thematic-area.is-searching-mobile .filters-container {
        margin-bottom: 16px;
    }

    .news-thematic-area .search-results-title-wrapper {
        margin-bottom: 16px;
    }

    .news-thematic-area .news-tabs-container .news-tabs-list .news-tab-item{
        padding: 16px 24px;
    }
}