.blog-container {
    max-width: 1560px;
    margin: 0 auto;

    @media screen and (max-width: 1600px) {
        padding: 0 16px;
    }
}

main {
    color: #101828;
    margin-top: 24px;

    @media screen and (min-width: 1201px) and (max-width:1600px) {
        margin-left: 16px !important;
    }

    @media screen and (max-width: 1300px) {
        margin-top: 32px;
    }
}

.hero {
    overflow: hidden;
    margin-top: 80px;
    color: white;
    background-color: #2F202D;

    @media screen and (max-width: 1100px){
        margin-top: 69px;
    }
    @media screen and (max-width: 996px){
        margin-top: 60px;
    }
    @media screen and (max-width: 374px){
        margin-top: 32px;
    }
}

.hero-inner-p-x {
    padding-left: 180px;
    z-index: 1;
    padding-right: 180px;

    @media screen and (max-width: 1600px){
        padding-left: 64px;
        padding-right: 64px;
    }
    @media screen and (max-width: 1000px){
        padding-left: 16px;
        padding-right: 16px;
    }
}

.hero-inner-p-y {
    padding-top: 64px;
    padding-bottom: 64px;

    @media screen and (max-width: 1000px){
        padding-bottom: 32px;
    }
}

.hero-title-padding-top {
    padding-top: 194px;

    @media screen and (max-width: 1600px){
        padding-top: 144px;
    }

    @media screen and (max-width: 1100px){
        padding-top: 120px;
    }

    @media screen and (max-width: 991px){
        padding-top: 96px;
    }

    @media screen and (max-width: 374px){
        padding-top: 60px;
    }
}

.hero > .hero-inner {
    padding-top: 0 !important;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-title h1 {
    margin: 0;
    font-weight: 700;
    color: white;

    @media screen and (max-width: 1700px){
        text-wrap: unset;
    }
    @media screen and (max-width: 1175px){
        text-wrap: balance;
    }
    @media screen and (max-width: 480px){
        text-wrap: unset;
    }

    font-size: 60px;
    @media screen and (max-width: 1300px) {
        font-size: 30px;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 40px;

    @media screen and (max-width: 1000px){
        gap: 24px;
    }
}

.hero-icon {
    position: absolute;
    top: 92px;
    right: 0;
    height: 390px;
}

.hero-overlay-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 24px;
    top: 0;
    right: 0;
    margin: 24px;
}

.hero-image-overlay {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 42px 32px;
    gap: 24px;
    background-color: white;
    backdrop-filter: blur(10px);
    max-height: max-content;
    max-width: 246px;
    opacity: 90%;
    min-width: 246px;


    @media screen and (max-width: 1300px) {
        padding: 1rem;
    }

    @media screen and (max-width: 999px) {
        display: none;
    }
}


.blog-content {
    width: 100%;
    margin-top: 48px;

    @media screen and (max-width: 1300px) {
        padding-bottom: 32px;
    }

    @media screen and (max-width: 1199px) {
        margin-left: unset;
        max-width: unset;
        width: 100%;
        margin-top: 32px;
    }
}

.blog-content img {
    /*width: 100% !important;*/
    /*height: auto !important;*/
}

.blog-content > h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 24px;
    scroll-margin: 100px !important;
    margin-top: 80px;

    @media screen and (max-width: 1480px) {
        font-size: 24px;
        margin-bottom: 12px;
        margin-top: 48px;
    }

    @media screen and (max-width: 1199px) {
        margin-top: 40px;
    }
}

.blog-content > p {
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 24px;

    @media screen and (max-width: 1480px) {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

.blog-content > p > a {
    color: #D4A773;
    text-decoration: underline;
}


.blog-hero {
    @media screen and (max-width: 1300px) {
        margin-left: -16px;
        margin-right: -16px;
    }
}

.blog-hero .hero-lightbox-link {
    display: inline;
}

.blog-hero .hero-lightbox-link > img {
    width: 100%;
    height: auto;
    max-width: 1600px;
    max-height: 700px;
    object-fit: cover;
}

.meta-info {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 6px;
    color: #667085;
    margin-top: 12px;

    @media screen and (max-width: 1300px) {
        padding-left: 16px;
        padding-right: 16px;
    }
}


.related-topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 32px;
    margin-top: 56px;

    @media screen and (max-width: 1600px) {
        /*padding: 0 16px;*/
    }

    @media screen and (max-width: 1199px) {
        margin-top: 0px;
        flex-wrap: wrap;
        gap: 16px;
    }

    @media screen and (max-width: 399px) {
        justify-content: center;
    }

}

.related-blogs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    align-items: stretch;

    @media screen and (max-width: 1600px) {
        /*padding: 0 16px;*/
    }

    @media screen and (max-width: 999px) {
        grid-template-columns: repeat(1, 1fr);
    }

    @media screen and (max-width: 700px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.related-blogs > a {
    display: flex;
    flex-direction: column;
    /*min-width: 280px;*/
    /*max-width: 504px;*/
    cursor: pointer;
    color: inherit !important;
    text-decoration: unset !important;
}

.related-blogs > a > img {
    width: 100%;
    height: auto;
    max-height: 275px;
    object-fit: cover;
}

.related-blog__body {
    flex: 1;
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #E4E7EC;
    border-top: 0;

    @media screen and (max-width: 999px) {
        padding: 16px;
    }
}

.related-blog__topbar {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    color: #667085;
    font-size: 12px;
    margin-bottom: 8px;
}

.aside-bottom-marker {}

.related-blog__text {
}

.related-blog__text > h5 {
    margin-top: 0;
    margin-bottom: 12px;
}

.related-blog__text > h6 {
}


.blog-btn {
    background-color: #D4A773 !important;
    color: #2F202D !important;
    text-decoration: unset !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

.blog-btn.related {
    @media screen and (max-width: 360px) {
        margin-left: unset;
        width: 100%;
        text-align: center;
    }
}

.blog-btn:focus {
    outline: none;
}

.blog-btn:hover {
    opacity: 0.8;
}

.related-blogs > a {
    border: 1px white solid;
    transition: border ease-in-out 0.2s;
}

.related-blogs > a:hover {
    border: 1px #22334d solid;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;

    @media screen and (max-width: 1300px) {
        margin-top: 24px;
    }
}

.thumbs .thumb-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.thumbs .thumb-link:only-child {
    width: min(100%, 400px);
    max-width: 400px;
}

.thumbs img {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.thumbs:not(:has(*)) {
    display: none;
    margin: 0;
}

.sl-overlay {
    background: #000 !important;
    opacity: 0.92 !important;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter,
.sl-wrapper .sl-caption {
    color: #fff !important;
}
