.hero_section-wrapper{
    min-height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    margin-top: 4.1rem;
}

.hero_section-wrapper .overlay{
    background-color: rgba(0,0,0,0.6);
    min-height: inherit;
}

.hero_section{
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    max-width: 1156px;
    margin: 0 auto;
}

.hero_section > h1{
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero_section > span{
  text-transform: uppercase;
    font-size: 1rem;
    margin: 0 5px 5px 0;
    padding: 3px 6px 4px 6px;
    line-height: 1;
    vertical-align: middle;
    font-weight: 300;
}

.hero_section > span:first-child{
    background-color: rgba(0,0,0,8);
    margin-bottom: 1rem;
}

.hero_section > span:last-child{
   margin-top: 1rem;
}

/*related articles section*/
.sidebar_section{
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.sidebar_section-title{
    border-bottom: 2px solid var(--black);
    margin-bottom: 1.25rem;
}

.sidebar_section-title h2{
    background-color: var(--black);
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
    max-width: fit-content;
}

.related_article-section{
    display: grid;
    gap: 10px;
}


.related_article-card{
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: start;
    gap: 15px;
    border-bottom: 1px solid #D0D0D0;
    padding-bottom: 10px;
}

.related_article-card div:first-child{
   flex: 0 0 30%;
    padding-bottom: 20%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.related_article-card p{
    color: var(--black);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    transition: 0.3s color linear;
}


.related_article-card span{
    color: var(--text);
    font-size: 11px;
    margin-top: 3px;
}

.related_article-card:hover p{
    color: var(--primary);
}

/*content section*/
.content_section{
    margin-top: 2rem;
}

.social-share-icons{
    display: flex;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.social-share-icons button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 5px;
    aspect-ratio: 1;
    border-radius: 10px;
    font-size: 12px;
}

.social-share-icons button:nth-child(1){
    background-color: #4267B2;
    color: white;
}

.social-share-icons button:nth-child(2){
    background-color: #1DA1F2;
    color: white;
}

.social-share-icons button:nth-child(3){
    background-color: #005E93;
    color: white;
}

.social-share-icons button svg{
    width: 30px !important;
    height: 30px !important;
}

@media (min-width: 600px) {
    .hero_section > h1{
        font-size: 32px;
    }
    .hero_section-wrapper {
        min-height: 600px;
    }
}


@media (min-width: 1024px) {
    .hero_section > h1{
        font-size: 38px;
    }

    .content_section{
        display: flex;
        align-items: start;
        gap: 4rem;
    }

    .sidebar_section{
        flex: 0 0 30%;
        margin-top: 0;
        position: sticky;
        top: 7rem;
    }
}
