/* filepath: e:\revo_todjango\static\css\index.css */
.cta {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    width: 100%;
}

.cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta .btn {
    background: #fff;
    color: #6e8efb;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.cta .btn:hover {
    background: #6e8efb;
    color: #fff;
}

@media (max-width: 600px) {
    .cta h3 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .cta .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
/* Blog Section */
.both-side {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.left-side {
    flex: 6;
    margin-right: 20px;
}

.left-side .latest-post{
    background: #fff;
    border-radius: 10px;
}
.left-side .latest-post .thumb-area{
    width: 100%;
    overflow: hidden;
    height: min-content;
    transition: all 0.5s;
}
.left-side .latest-post .thumb-area:hover{
    cursor: pointer;
    /* A dark in inner outer */
    filter: brightness(1.5);
}
.left-side .latest-post .thumb-area:hover img{
    transform: scale(1.1);
}
.left-side .latest-post .thumb-area img{
    width: 100%;
    border-radius: 10px 10px 0 0;
    aspect-ratio: 16/9;
    transition: all 0.5s;
}
.left-side .latest-post h2.article-title{
    font-size: 2rem;
    margin: 10px 0;
}
.left-side .latest-post h2.article-title a{
    color: #333;
    text-decoration: none;
    transition: all 0.5s;
    font-family: 'Hind Siliguri', sans-serif;
}
.left-side .latest-post .details{
    padding: 20px;
}
.left-side .latest-post .details h2.article-title a:hover{
    color: #3455c3;
    text-decoration: underline;
}
.left-side .latest-post .details p.short-content{
    font-size: 1.2rem;
    margin: 10px 0;
    font-family: 'Hind Siliguri', sans-serif;
}
.left-side .latest-post .details .meta{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.left-side .latest-post .details .meta .author{
    display: flex;
    align-items: center;
}
.left-side .latest-post .details .meta .author img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
.left-side .latest-post .details .meta .author span{
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Hind Siliguri', sans-serif;
}
.left-side .latest-post .details .meta .date{
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Hind Siliguri', sans-serif;
}

.right-side{
    flex: 4;
}
.right-side section{
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.right-side section .small-posts{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.right-side section .small-posts .small-post{
    display: flex;
    gap: 5px;
    max-width: 100%;
}
.right-side section .small-posts .small-post .thumb-area{
    width: 160px;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.right-side section .small-posts .small-post .thumb-area img{
    width: 100%;
    transition: all 0.5s;
}
.right-side section .small-posts .small-post .thumb-area img:hover{
    transform: scale(1.1);
}
.right-side section .small-posts .small-post .details{
    flex: 1;
    padding: 0px 2px;
}
.right-side section .small-posts .small-post .details h2.article-title{
    font-size: 1rem;
    margin: 1px 2px;
    font-weight: 400;
}
.right-side section .small-posts .small-post .details h2.article-title a{
    display: -webkit-box;
    font-family: 'Hind Siliguri', sans-serif;
    color: #333;
    text-decoration: none;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    transition: all 0.5s;
    -webkit-box-orient: vertical;
}
.right-side section .small-posts .small-post .details h2.article-title a:hover{
    color: #3455c3;
    text-decoration: underline;
}
.right-side section .small-posts .small-post .details .meta{
    display: flex;
    justify-content: space-between;
}
.right-side section .small-posts .small-post .details .meta .date{
    font-size: 1rem;
    margin: 0;
    color: #847b7bba;
    font-family: 'Hind Siliguri', sans-serif;
}

@media (max-width: 770px){
    .both-side{
        flex-direction: column;
    }
    .left-side{
        margin-right: 0;
    }
    .right-side{
        margin-top: 20px;
    }
    .right-side section .small-posts .small-post .thumb-area{
        width: 200px;
    }
    .right-side section .small-posts .small-post .details h2.article-title{
        font-size: 1.2rem;
    }
    .right-side section .small-posts .small-post .details .meta .date{
        font-size: 1.2rem;
    }
}