.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 1200px;
}

.banner>img {
    width: 100%;
    height: 485px;
    display: block;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 90%;
}

.text-overlay h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.image-container {
    display: block;
    margin: 0 auto;
}

.header {
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.header h1 {
    font-size: 24px;
    color: #4C4C4C;
    margin-bottom: 10px;
}

.header p {
    font-size: 14px;
    color: rgba(76, 76, 76, 0.6);
    line-height: normal;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.tab {
    background-color: transparent;
    padding: 16px 56px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 14px;
    color: #3E97F3;
    border: 1px solid #3E97F3;
    box-shadow: 0 22px 29px 0 rgba(0, 108, 186, 0.1);
    text-decoration: none;
    border-right: 0;
}

.tab:first-child {
    border-radius: 10px 0 0 10px;
}

.tab:last-child {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid #3E97F3;
}

.tab:hover:not(.active), .tab.active {
    background-color: #3E97F3;
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.item {
    text-align: left;
    margin-bottom: 35px;
    text-decoration: none;
}

.item img {
    width: 380px;
    height: 215px;
    border-radius: 5px;
    margin-bottom: 12px;
    object-fit: cover;
}

.item h3 {
    font-size: 14px;
    font-weight: 900;
    color: #545A62;
    margin: 0 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s;
    line-height: normal;
}

.item p {
    font-size: 14px;
    line-height: 25px;
    color: #5E646C;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color .3s;
}

.item:hover h3, .item:hover p {
    color: rgba(62, 151, 243, .85);
}