/* base styles for changelog entries */
.changelog-row {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgb(0 0 0 / 5%);
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
    padding: 18px 36px;
}

.changelog-row:hover {
    box-shadow: 0px 5px 15px rgb(0 0 0 / 15%);
}

.changelog-row .date {
    border-right: 1px solid #d9d9d9;
    color: #7fb539;
    font-size: 18px;
    font-weight: bold;
    margin-right: 18px;
    padding-right: 18px;
    text-align: left;
    width: 110px;
}

.changelog-row .caption {
    font-size: 18px;
    font-weight: bold;
}

/* link styles */
body.changelog p a {
    color: #7fb539 !important;
}

body.changelog p a:hover,
#help-block p a:hover {
    text-decoration: underline;
}

body.changelog .site-info p a {
    color: #fff !important;
}

/* specific element etyles */
#next-section {
    background: linear-gradient(to bottom, transparent, #6ea70020, transparent) !important;
}

#shadowed img {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,.15) !important;
    transform: scale(.9);
}

#line {
    opacity: .3;
}

/* Media queries for responsive adjustments */
@media (max-width: 1100px) {
    body.cdx-next .h2, 
    body.cdx-next .h3 {
        font-size: 20px;
    }

    body.cdx-next img.arrow-to-left,
    body.cdx-next img.arrow-to-right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: rotate(-30deg) !important; /* Adjust as necessary */
    }

    body.cdx-next .heading-text .separator-break {
        display: none !important;
    }
}

@media (max-width: 960px) {
    body.cdx-next img.arrow-to-left,
    body.cdx-next img.arrow-to-right {
        display: none;
    }

    #cdx-next-info-line a span.text {
        text-align: left;
    }
}

@media (max-width: 569px) {
    .changelog-row {
        flex-direction: column;
    }

    .changelog-row .date {
        border: 0;
        font-size: 14px;
        margin-right: 0;
        padding-right: 0;
        width: unset;
    }

    #shadowed img,
    #shadowed .tmb {
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,.15) !important;
        transform: none;
    }

    #next-logo .uncode-single-media .single-wrapper,
    #floating-login-btn {
        display: block;
        margin-left: 0;
        max-width: 240px !important;
    }

    #floating-login-btn {
        bottom: 20px;
        left: 36px;
        right: 36px;
        top: unset;
    }

    #cdx-next-info-line a {
        flex-direction: column;
        font-size: 13px;
        line-height: 1.5;
        padding: 10px 18px;
    }

    #cdx-next-info-line a span.text {
        margin-bottom: 10px;
        text-align: center;
    }
}

/* End of changelog styles */