/* Font */
@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Georama', sans-serif ;
    text-decoration: none;
    color: #707173;
    --code-blue: #0084D5;
    --code-green: #32BFAF;
    --code-green-base:#F0FAF9;
    --code-bg-grey: #F0F0F0;
}

a, button{
    cursor: pointer;
}

.breadbumb{
    min-height: 112px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    padding: 0 6.6%;
    background-color: #F0f0f0;
}

.breadbumb a{
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #0084D5;
}

.hero-section-deatils-title{
    background-color: var(--code-green);
    padding: 60px 12%;
    display: flex;
    color: #fff;
    justify-content: flex-end;
    min-height: 500px;
    width: 100%;
    flex-direction: column;
    gap: 24px;
}

.hero-section-deatils-title h1{
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    color: #fff;
}

.hero-section-deatils-title p{
    width: 65%;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    text-transform: capitalize;
}

.details-content-box-main{
    display: flex;
    gap: 10%;
    padding: 62px 12% 90px;
}

.details-content-left-box{
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.details-content-left-box h3{
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-transform: capitalize;
    margin-bottom: 24px;
}

.details-content-left-box p{
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    text-transform: capitalize;
}

.details-image-box img{
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 12px;
    display: block;
}

.details-image-box h4{
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-align: center;
}

.details-content-right-box{
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.published-date-box p, .share-social-box p{
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.date-icon-box{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.date-icon-box span{
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
}

.social-icon-box{
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}

.recommended-reads-box{
    border-radius: 20px;
    padding: 24px;
    background-color: var(--code-bg-grey);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.recommended-reads-box h3{
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-transform: capitalize;
}

.recommended-post-card-box{
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: solid 0.5px #707173;
    padding-bottom: 12px;
}

.recommended-reads-box .recommended-post-card-box:nth-last-child(1){
    border: none;
}

.recommended-post-card-box img{
    border: 0.5px solid #707173;
    border-radius: 20px;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-category{
    padding: 7.5px 12px;
    border-radius: 4px;
    background-color: var(--code-green-base);
    color: var(--code-green);
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
}

.recommended-post-card-box h3{
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-transform: capitalize;
    margin-top: 12px;
}

.read-more-btn{
    padding: 12px 0;
}

.read-more-btn a{
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    vertical-align: middle;
    color: var(--code-blue);
}

@media(max-width:1399px){
    .details-content-box-main{
        gap: 6%;
    }

    .details-content-right-box{
        width: 29%;
    }

    .details-image-box img{
        height: 480px;
    }

    .recommended-post-card-box img{
        height: 200px;
    }
}

@media(max-width:1199px){
    .hero-section-deatils-title{
        min-height: 420px;
        padding-inline: 6.6%;
    }

    .hero-section-deatils-title h1{
        font-size: 40px;
    }

    .hero-section-deatils-title p{
        width: 80%;
    }

    .details-content-box-main{
        gap: 5%;
        padding-inline: 6.6%;
    }

    .details-content-right-box{
        width: 30%;
        gap: 40px;
    }

    .details-image-box img{
        height: 420px;
    }

    .recommended-reads-box{
        padding: 20px;
    }

    .recommended-post-card-box img{
        height: 180px;
    }

    .recommended-reads-box h3, .recommended-post-card-box h3{
        font-size: 18px;
    }
}

@media(max-width:1024px){
    .hero-section-deatils-title{
        min-height: 360px;
        padding-block: 48px;
    }

    .hero-section-deatils-title p{
        width: 100%;
        font-size: 16px;
    }

    .details-content-box-main{
        flex-direction: column;
        gap: 48px;
        padding-block: 48px 60px;
    }

    .details-content-left-box, .details-content-right-box{
        width: 100%;
    }

    .details-content-left-box{
        gap: 32px;
    }

    .details-content-left-box p{
        font-size: 16px;
    }

    .details-image-box img{
        height: 400px;
    }

    .details-content-right-box{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px 60px;
    }

    .recommended-reads-box{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .recommended-reads-box > h3{
        grid-column: 1 / -1;
    }

    .recommended-reads-box .recommended-post-card-box:nth-last-child(2):nth-child(even){
        border: none;
    }

    .recommended-post-card-box img{
        height: 220px;
    }
}

@media(max-width:767px){
    .breadbumb{
        min-height: 80px;
        padding-block: 16px;
    }

    .hero-section-deatils-title{
        min-height: 300px;
        padding-block: 40px;
        gap: 16px;
    }

    .hero-section-deatils-title h1{
        font-size: 32px;
        line-height: 120%;
    }

    .hero-section-deatils-title p{
        font-size: 16px;
    }

    .details-content-box-main{
        gap: 40px;
        padding-block: 32px 44px;
    }

    .details-content-left-box{
        gap: 28px;
    }

    .details-content-left-box h3{
        font-size: 18px;
        line-height: 130%;
        margin-bottom: 16px;
    }

    .details-content-left-box p{
        font-size: 15px;
    }

    .details-image-box img{
        height: 220px;
        border-radius: 12px;
    }

    .details-image-box h4{
        font-size: 14px;
    }

    .details-content-right-box{
        flex-direction: column;
        gap: 32px;
    }

    .recommended-reads-box{
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
        border-radius: 16px;
        gap: 20px;
    }

    .recommended-reads-box .recommended-post-card-box:nth-last-child(2):nth-child(even){
        border-bottom: solid 0.5px #707173;
    }

    .recommended-post-card-box img{
        height: 200px;
        border-radius: 12px;
    }

    .recommended-post-card-box h3{
        font-size: 16px;
        line-height: 130%;
    }
}

/* self css: page background is white in the design (membership.css sets #f5f5f5 on body) */
html body{
    background-color: #fff;
}

/* self css: Bootstrap's "a" rule underlines links; the design has none */
.read-more-btn a{
    text-decoration: none;
}
