main {
    padding: 3rem 1rem;
    scroll-margin-top: 140px;
}
main .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}
.top h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #02275e;
    max-width: 28rem;
    line-height: 1.2;
}
.area-search label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.area-search label svg {
    width: 35px;
    height: 35px;
    fill: #022B68;
}
.area-search label select {
    height: 50px;
    cursor: pointer;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #022B68;
    border-color: #022B68;
    border-radius: 10px !important;
}
.area-search label select:focus-visible {
    border-color: var(--gold);
    outline: none;
}
h2.title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #02275e;
    margin-bottom: 2rem;
}
.item-video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin: 0 auto 2.5rem;
    position: relative;
}
.item-video iframe {
    aspect-ratio: 16/9;   
    max-width: 100%;
}
.item-video img {
    aspect-ratio: 16/9; 
    width: 100%;
    height: auto;
    max-width: 600px;
    display: flex;
    object-fit: cover;
    border-radius: 10px;
}
/*
.item-video::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--gold);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: -1;
    pointer-events: none;
}
*/
.img-principal {
    display: none;
    transition: all .3s ease;
}
.img-principal.active {
    display: flex;
}
.grid-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.item-image {
    aspect-ratio: 16 / 9;
    position: relative;
}
/*
.item-image::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--gold);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: -1;
    pointer-events: none;
}
*/
.grid-images img {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    border-radius: 10px;
}
@media (max-width: 1100px) {
    .grid-images {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .top h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}
@media (max-width: 700px) {
    main {
        padding: 2rem 1rem;
    }
    main .top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .area-search,
    .area-search label select,
    .item-video,
    .item-video iframe {
        width: 100%;
    }
    .item-video {
        margin-bottom: 2rem;
    }
    .grid-images {
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    main {
        scroll-margin-top: 90px;
    }
}