.ndo-temas,
.ndo-temas * {
    box-sizing: border-box;
}

.ndo-temas {
    width: 100%;
    color: #0a2f5c;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ndo-temas__main-title {
    margin: 0 0 28px;
    color: #0a2f5c;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.ndo-temas__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 34px;
}

.ndo-tema__title {
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 3px solid #2563eb;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.ndo-tema__title a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.ndo-tema__arrow {
    color: #2563eb;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transition: transform .2s ease;
}

.ndo-tema__title a:hover .ndo-tema__arrow {
    transform: translateX(4px);
}

.ndo-tema__list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ndo-tema-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
}

.ndo-tema-card__image,
.ndo-tema-card__image img,
.ndo-tema-card__placeholder {
    display: block;
    width: 110px;
    height: 75px;
    flex: 0 0 110px;
}

.ndo-tema-card__image img,
.ndo-tema-card__placeholder {
    object-fit: cover;
    background: #eef2f7;
}

.ndo-tema-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    min-width: 0;
}

.ndo-tema-card__title {
    margin: 0;
    color: #0a2f5c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.ndo-tema-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.ndo-tema-card:hover .ndo-tema-card__title a,
.ndo-tema-card__title a:hover {
    color: #2563eb;
}

.ndo-tema-card__date {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
}

.ndo-tema__empty {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
}

.ndo-temas-nav,
.ndo-temas-nav * {
    box-sizing: border-box;
}

.ndo-temas-nav {
    position: relative;
    width: 100%;
    padding-top: 19px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ndo-temas-nav__hint {
    position: absolute;
    top: 0;
    right: 0;
    color: #8ba6ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ndo-temas-nav__track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 17px 14px;
    overflow-x: auto;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    background: #f8fafc;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.ndo-temas-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 9px 22px;
    flex: 0 0 auto;
    border: 1px solid #dce5ef;
    border-radius: 5px;
    background: #f8fafc;
    color: #08264f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.ndo-temas-nav__item:hover,
.ndo-temas-nav__item:focus-visible,
.ndo-temas-nav__item.is-active {
    border-color: #2f66f3;
    background: #2f66f3;
    color: #fff;
}

@media (max-width: 1024px) {
    .ndo-temas__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ndo-temas__main-title {
        margin-bottom: 22px;
        font-size: 21px;
    }

    .ndo-temas__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ndo-tema-card__image,
    .ndo-tema-card__image img,
    .ndo-tema-card__placeholder {
        width: 100px;
        height: 70px;
        flex-basis: 100px;
    }

    .ndo-temas-nav__track {
        padding: 13px 10px;
        gap: 8px;
    }

    .ndo-temas-nav__item {
        padding: 9px 17px;
    }
}
