@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('/.css/aredel.css');

.hero {
    padding: 3rem 1rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #3d1f36 0%, #502542 45%, #2a7d6b 100%);
}

.hero a {
    color: #31b393;
}

.hero input.form-control {
    border: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.hero button.btn-light {
    color: #fff;
    font-weight: 700;
    background: #31b393;
    border-color: #31b393;
}

.hero button.btn-light:hover {
    color: #fff;
    background: #279e81;
    border-color: #279e81;
}

.hero .consult {
    margin: .4rem 0 1.4rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: .04rem;
}

.topic-card {
    margin-bottom: 1.2rem;
}

.topic-card .card-header a {
    color: #502542;
    font-weight: 700;
    text-decoration: none;
}

.topic-card .list-group-item:hover,
.topic-card .list-group-item:focus-visible {
    color: #fff;
    background: #502542;
    box-shadow: inset 4px 0 0 #31b393;
}

.topic-card .list-group-item:hover small,
.topic-card .list-group-item:focus-visible small {
    color: #31b393;
}

.topic-card:has(.list-group-item:is(:hover, :focus-visible)) .card-header {
    background: #502542;
}

.topic-card:has(.list-group-item:is(:hover, :focus-visible)) .card-header a {
    color: #fff;
}

.topic-card:has(.list-group-item:nth-child(1):is(:hover, :focus-visible)) .card-header {
    opacity: .5;
}

.topic-card:has(.list-group-item:nth-child(2):is(:hover, :focus-visible)) .card-header {
    opacity: .6;
}

.topic-card:has(.list-group-item:nth-child(3):is(:hover, :focus-visible)) .card-header {
    opacity: .68;
}

.topic-card:has(.list-group-item:nth-child(4):is(:hover, :focus-visible)) .card-header {
    opacity: .75;
}

.topic-card:has(.list-group-item:nth-child(5):is(:hover, :focus-visible)) .card-header {
    opacity: .8;
}

.topic-card:has(.list-group-item:nth-child(6):is(:hover, :focus-visible)) .card-header {
    opacity: .85;
}

.topic-card:has(.list-group-item:nth-child(7):is(:hover, :focus-visible)) .card-header {
    opacity: .9;
}

.topic-card:has(.list-group-item:nth-child(8):is(:hover, :focus-visible)) .card-header {
    opacity: .93;
}

.topic-card:has(.list-group-item:nth-child(9):is(:hover, :focus-visible)) .card-header {
    opacity: .96;
}

.topic-card:has(.list-group-item:last-child:is(:hover, :focus-visible)) .card-header {
    opacity: 1;
}

footer {
    padding: 1rem;
    margin-top: 2rem;
    color: #666;
    text-align: center;
    border-top: 1px solid #ddd;
}
