/* ------------------------------------------------------------ CLASSIC LAYOUT ------------------------------------------------------------ */

html{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* -- BASE -- */
.header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 500;
    position: relative;

    height: 75px;
    width: calc(100% - 80px);

    margin: 0;
    padding:  0 40px;

    box-shadow: 0 0 20px 0 lightgray;
}
.header .logoBin{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
    gap: 20px;
}
.header .logoBin .logo{
    max-width: 50px;
    max-height: 50px;
}
.header .navBin{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    gap: 20px;
}
.header .navList{
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 20px;
}
.header .navTab{
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    margin: 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 5px;
}

.mobile-menu{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 990;
    width: calc(100% - 40px);
    height: calc(100vh - 20px);
    padding: 10px 20px;
    background-color: white;
}
.mobile-menu .close-menu{
    display: none;
    font-size: 28px;
    text-align: right;
    width: 100%;
    padding: 0;
    margin: 0;
}
.mobile-menu-list{
    display: none;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding-left: 20px;
}
.mobile-menu-list .list-item{
    padding: 20px 0;
    margin-bottom: 10px;
}
.mobile-menu-list .nav-link{
    font-size: 24px;
    text-decoration: none;
    padding: 20px;
    color: black;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 80px);
    padding: 20px 40px 0;
}
.container .title-bin{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    padding: 60px 0;
}
.container .bin{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    padding: 20px 0;
}
.container .horizontal-bin{
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    padding: 20px 0;
}
.title-bin .callout{
    display: flex;
    width: 100%;
    gap: 20px;
}
.title-bin .callout .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}
.title-bin .callout .image-bin{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}
.title-bin .callout.noImage .content{
    width: 100%;
    max-width: 1000px;
}
.title-bin .callout.noImage .image-bin{
    display: none;
}
.title-bin .callout.hasImage .image{
    max-width: 500px;
    height: auto;
    max-height: 500px;
}

.newsletter-bin{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% + 80px);
    padding: 120px 0;
}
.newsletter-signup-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 80px - 4px);
    max-width: calc(1200px - 4px);
    padding: 40px 0 20px;
}
.signup-form-widget{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: calc(1000px - 40px - 2px);
    padding: 20px;
    margin: 10px 0;
    border-radius: 0;
    gap: 10px;
}
.signup-form-widget input{
    width: calc(50% - 100px);
}
.signup-form-widget button{
    width: 200px;
    height: 34px;
}
.errMsg{
    color: red;
}


.footer{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: calc(100% - 40px);
    height: fit-content; min-height: 100px;

    padding: 80px 20px 10px;

    /* border-top: 1px solid gray; */

    /* background-color: #fafafa; */

    /* border: 1px solid red; */
}
.footer .hr{
    width: 80%;
}
.footer .content{
    display: flex;
    justify-content: center;
    align-items: flex-start;

    width: 100%;
    max-width: 1000px;
    padding: 0 0 50px;

    /* border: 1px solid green; */
}
.footer .content .section{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: calc(150px - 20px);
    height: fit-content;
    padding: 0 10px;
    margin-top: 0;
    margin-right: 20px;

    /* border: 1px solid black; */
}
.footer .content .logo{
    max-width: 150px;
    max-height: 200px;
    padding: 0;
    margin: 0;
}
.footer .content .navList{
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .content .navList .navItem{
    width: calc(100%);
    height: fit-content;

    padding: 2px 0;
    margin-bottom: 10px;
}
.footer .content .navList .navItem .link{
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}
.footer .content .navList .navItem .link:hover{
    cursor: pointer;
}
.footer .content .socialList{
    display: flex;
    flex-direction: column;
    list-style: none;

    padding: 0;
    margin: 0;
}
.footer .content .socialList .icon{
    width: 25px;
    max-height: 25px;
    margin-bottom: 10px;
    border-radius: 50px;
}
.footer .legalBin{
    display: flex;
    justify-content: center;
    font-size: 15px;
    width: 100%;
    padding: 10px 0 50px;
    gap: 20px;
}
.footer .legalBin .link:hover{
    cursor: pointer;
    /* color: black; */
}
.footer .mykroBanner{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    gap: 20px;
}
.footer .mykroBanner .statement{
    display: flex;
    padding-right: 20px;
    border-right: 1px solid black;
    gap: 10px;
}
.footer .mykroBanner .statement .text{
    font-size: 14px;
}
.footer .mykroBanner .statement .icon{
    width: 20px;
    height: 20px;
    border-radius: 5px;
}
.footer .mykroBanner .icons8{
    display: flex;
    font-size: 14px;
    gap: 10px;
}

/* -- Homepage -- */
.featured-post-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-decoration: none;
    width: calc(100% - 40px);
    min-height: calc(500px - 40px);
    padding: 20px;
    box-shadow: 0 0 10px -2px gray;
    transition: 0.2s ease-in-out;
}
.featured-post-card:hover{
    cursor: pointer;
    box-shadow: 0 0 10px 0 gray;
}
.featured-post-card .details-bin{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    gap: 5px;
}
.featured-post-card .details-bin .detail-item{
    font-size: 17px;
}

.post-card-bin{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    padding: 60px 0;
    gap: 40px;
}
.post-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    width: 400px;
    height: 500px;
}

.post-card .card-img-bin{
    width: calc(100% - 2px);
    height: calc(300px - 2px);
}
.post-card .details-bin{
    width: calc(100% - 40px - 2px);
    height: calc(200px - 40px - 2px);
    padding: 20px;
}
.post-card .details-bin .headline{
    height: 70px;
    margin-bottom: 20px;
}
.post-card .details-bin .detail-item{
    font-size: 14px;
    margin: 0 0 5px;
}

.feature-bin{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(300px - 20px);
    padding: 60px 10px;
    height: inherit;
}

.paginator-bin{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 840px;
}
.paginator-bin .side{
    display: flex;
    align-items: center;
    width: 120px;
}
.paginator-bin .center{
    text-align: center;
    width: calc(100% - 240px);
}
.paginator-bin .paginate-btn{
    display: inline;
    text-decoration: none;
    text-align: center;
    width: calc(120px - 2px);
    padding: 10px 0;
    transition: 0.2s ease-in-out;
}


/* -- About Page -- */
.about-image{
    max-width: 1200px;
    max-height: 800px;
    object-fit: cover;
    margin-bottom: 60px;
}

.about-text-bin{
    font-size: 17px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 60px;
}
.about-text-bin p{
    font-size: 17px;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.author-card{
    display: flex;
    flex-direction: column;

    width: calc(100%);
    max-width: calc(800px - 40px - 4px);
    height: fit-content; 

    padding: 20px;
    margin: 20px 0;

    border: 2px solid lightgray;
    border-radius: 5px;

    box-shadow: 0 0 10px 2px gray;

    transition: 0.2s ease-in-out;
}
.author-card:hover{
    box-shadow: 0 0 5px -2px gray;
}
.authorAvatar{
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
    border: 1px solid lightgray;
    border-radius: 50%;
}
.authorBioStat{
    font-size: 14px;
    margin-right: 10px;
}
.authorBio{
    font-size: 12px;
    display: block;
    line-height: 1.5rem;
    margin-bottom: 10px;
}
.authorSocials{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 10px;;
    border-top: 1px solid lightgray;
}
.authorSocials .subtitle{
    font-size: 14px;
}
.authorSocials .link{
    display: flex;
    height: 20px;
    width: 20px;
    object-fit: contain;
    margin: 0 0 0 10px;
    border-radius: 20px;
    /* border: 1px solid red; */
}
.authorSocials .icon{
    width: 20px;
    height: 20px;

    padding: 0;
}

/* -- Contact Page -- */
.contactCard{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(33% - 80px);
    max-width: calc(1000px - 40px - 4px);
    min-height: calc(280px - 80px - 4px);
    padding: 40px;
    margin: 40px 0;
}
.contactCard .content{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.contactCard .content .icon{
    max-width: 48px;
    max-height: 48px;
    margin-right: 20px;
}
.contactCard .contact-detail{
    font-size: 17px;
    margin: 0 0 20px;
}
.contactCard .btn{
    font-size: 17px;
    padding: 15px 20px;
    border-radius: 0;
}
.contactCard .address p{
    font-size: 17px;
    line-height: 2.5em;
    margin: 0;
}

/* -- Post Detail Page -- */
.article{
    display: flex;
    flex-direction: column;

    /* position: relative;
    right: 100px; */

    align-items: center;
    width: 100%;

    height: fit-content;

    padding: 0;
    margin-bottom: 50px;

    /* border: 1px solid red; */
}
.article .heading{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    max-width: calc(1200px);
    min-height: calc(500px);
    padding: 0;
    margin: 20px 0;
}
.article .heading.noImage{
    min-height: fit-content;
}
.article .heading .titleBin{
    text-align: left;
    width: 100%;
}
.article .heading .headline_image{
    max-width: 1200px;
    max-height: 600px;
    width: auto;
    height: auto;
    margin: 20px 0;
}
.article .heading .subText{
    font-size: 16px;
    margin-bottom: 5px;
}
.article .metadata{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}
.article .metadata .detail{
    font-size: 17px;
}
.articleBodyContainer{
    display: flex;
    justify-content: flex-start;
    height: fit-content;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    margin: 0;
}
.article .body{
    width: 90%; max-width: 800px;
    height: fit-content;
    padding: 40px 0;
    margin: 0 20px;
}
.article .likes_and_shares{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 90%; max-width: 800px;
    height: fit-content;
    padding: 5px;
}
.article .likes_and_shares .top_row{
    display: flex;
    width: 100%;
    height: 20px;
    margin-bottom: 4px;
}
.article .likes_and_shares .post_like_icon{
    max-width: 20px;
    max-height: 20px;
}
.article .likes_and_shares .post_like_icon:hover{
    cursor: pointer;
}

.extra-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    margin: 40px 0;
}



@media only screen and (max-width: 1000px) {

    /* -- Base -- */
    .header{
        width: calc(100% - 30px);
        padding: 0 10px 0 20px;
    }

    .header .logoBin{
        justify-content: space-between;
        width: 100%;
    }

    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(100% - 40px);
        padding: 20px;
    }
    .container .title-bin{
        padding: 30px 0;
    }
    /* .container .horizontal-bin{
        flex-direction: column;
    } */

    .title-bin .callout{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .title-bin .callout .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    .title-bin .callout .image-bin{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .title-bin .callout .image{
        max-width: 100%;
        max-height: 200px;
    }

    .article .heading .headline_image{
        max-width: 100%;
        height: auto;
    }


    .newsletter-bin{
        width: calc(100% + 40px);
        padding: 120px 0;
    }
    .newsletter-signup-form{
        width: calc(100% - 40px - 4px);
        padding: 40px 0 20px;
    }

    .signup-form-widget{
        flex-direction: column;
        width: calc(100% - 40px - 2px);
        padding: 40px 20px;
        margin: 10px 0;
        gap: 20px;
    }
    .signup-form-widget input{
        width: calc(100% - 16px - 2px);
        padding: 10px 8px;
    }
    .signup-form-widget button{
        width: calc(100% - 2px);
        padding: 10px 0;
        border-radius: 0;
        margin-top: 10px;
    }

    .footer .content .section .logo{
        max-width: 75px;
        max-height: 75px;
    }
    .footer .footer-link{
        font-size: 14px;
    }
    .footer .mykroBanner{
        flex-direction: column;
        align-items: center;
        
    }
    .footer .mykroBanner .statement{
        flex-direction: column;
        align-items: center;
        font-size: 13px;
        border: none;
    }


    /* -- Homepage -- */

    #post_card_bin_wrapper{
        flex-direction: column-reverse;
    }

    .featured-post-card{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        text-decoration: none;
        width: calc(100% - 40px);
        min-height: calc(300px - 40px);
        padding: 20px;
        box-shadow: 0 0 10px -2px gray;
        transition: 0.2s ease-in-out;
    }
    .featured-post-card:hover{
        cursor: pointer;
        box-shadow: 0 0 10px 0 gray;
    }
    .featured-post-card .details-bin{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 5px;
    }
    .featured-post-card .details-bin .detail-item{
        font-size: 15px;
    }


    .feature-bin{
        width: calc(100%);
        padding: 20px 0;
    }

    .paginator-bin{
        width: 100%;
    }
    .paginator-bin .side{
        width: 100px;
    }
    .paginator-bin .center{
        font-size: 15px;
        width: calc(100% - 200px);
    }
    .paginator-bin .paginate-btn{
        font-size: 15px;
        width: calc(100px - 2px);
    }

    /* -- About Page -- */

    .about-image{
        max-width: 100%;
        max-height: 400px;
        margin-bottom: 20px;
    }
    .author-card{
        width: calc(100% - 20px - 4px);
        padding: 10px;
    }

    /* -- Contact Page -- */

    .contact-card-bin{
        flex-direction: column;
    }
    .contactCard{
        width: calc(100% - 80px - 4px);
    }


}


