.maksimer-tabs-block {
    max-width: 1535px;
    margin: 0 auto;
    padding-top: 40px;
}

.maksimer-tabs-block .tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.maksimer-tabs-block .tabs .tab-button {
    background: transparent;
    color: #263E4D;
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #263E4D;
    transition: background 0.3s ease;
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    font-family: "DMSans", sans-serif;
}

.maksimer-tabs-block .tabs .tab-button:hover,
.maksimer-tabs-block .tabs .tab-button.active {
    background: #263E4D;
    color: #fff;
}

.maksimer-tabs-block .tabs .tab-button:focus {
    outline: none;
}

.maksimer-tabs-block .posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.maksimer-tabs-block .posts .post {
    max-width: 480px;
    height: 747px;
    margin-bottom: 25px;
}

.maksimer-tabs-block .posts .post .image-holder {
    height: 545px;
    overflow: hidden;
    position: relative;
}

.maksimer-tabs-block .posts .post .post-intro {
    padding-top: 25px;
    height: 190px;
    position: relative;
}

@media screen and (max-width: 450px) {
    .maksimer-tabs-block .posts .post .post-intro {
        height: 220px;
    }
}

.post-intro a {
    font-size: 15px;
    font-family: "DMSans", sans-serif;
    font-weight: 300;
    padding-bottom: 4px;
    border-bottom: 1px solid #263E4D;
    color: #263E4D;
    position: absolute;
    bottom: 0;
}

.maksimer-tabs-block .posts .post .post-intro .post-category {
    padding: 10px 20px;
    border-radius: 99px;
    background: #D2DCE3;
    color: #263E4D;
    font-size: 15px;
    font-family: 'DMSans', sans-serif;
}

.maksimer-tabs-block .posts .post img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.maksimer-tabs-block .posts .post h3 {
    font-size: 26px;
    font-weight: 400;
    font-family: "DMSans", sans-serif;
    line-height: 33px;
    color: #263E4D;
    margin-top: 35px;
    margin-bottom: 25px;
}

.maksimer-tabs-block .posts .post h3 a {
    color: #007cba;
    text-decoration: none;
}

.maksimer-tabs-block .posts .post h3 a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    border: none!important;
}

.pagination-button {
    font-size: 18px;
    font-weight: 300;
    font-family: "DMSans", sans-serif;
    border: 1px solid black;
    border-radius: 50%;
    padding: 0;
    width: 2.5em;
    height: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    line-height: 1;
    margin-right: 10px;
}

.pagination-button.active,
.pagination-button:hover {
    border: 1px solid #03B7A7;
    background: #03B7A7;
}

.pagination-button.link,
.pagination-button.link:hover,
.pagination-button.link:active,
.pagination-button.link:focus {
    border: none;
    width: auto;
    margin-left: 10px;
    text-decoration: underline;
    font-size: 16px;
    font-family: "DMSans", sans-serif;
    font-weight: 300;
    background: transparent;
}

.pagination-dots {
    margin: 0 10px 0 0;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.placeholder {
    max-width: 480px;
    height: 747px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-placeholder {
    width: 480px;
    height: 545px;
    background: #e0e0e0;
}

.text-placeholder {
    padding-top: 30px;
}

.text-placeholder .line {
    height: 20px;
    margin-bottom: 10px;
    background: #d0d0d0;
    border-radius: 5px;
}

.text-placeholder .line.short {
    width: 50%;
}
