:root {
    --clr-primary: #17174D;
    --clr-lightgray: #5C5C5C;
    --clr-accent: #EF4883;
}

* {
    margin: 0;
    padding: 0;
    text-rendering: auto;
    box-sizing: border-box;
    font-optical-sizing: auto;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #F2F2FF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

a {
    text-decoration: none;
    color: var(--clr-primary);
}

li {
    list-style: none;
}

.header-container {
    max-width: 1340px;
    margin-inline: auto;
}

.container {
    max-width: 1240px;
    margin-inline: auto;
}

main {
    flex: 1;
}

/* HEADER */
header {
    background: linear-gradient(168deg, rgb(10, 10, 67) 0%, rgb(10, 10, 67) 41%, rgb(77, 35, 103) 100%);
    background-size: auto;
    background-size: cover;
    padding-block: 24px;
    display: flex;
    justify-content: space-between;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header .menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

header .menu a {
    color: white;
    position: relative;
    transition: .3s;
    letter-spacing: 0;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}

header .menu li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 1px;
    width: 0;
    background-color: #EF4883;
    transition: .3s;
}

header .menu li a:hover::after {
    width: 100%;
}

header .menu li a:hover {
    opacity: 1 !important;
}

/* HOME PAGE */
.home h1,
.category h1,
.single h1,
.page h1 {
    font-size: 50px;
    font-weight: 400;
    color: var(--clr-primary);
    margin-bottom: 30px;
}

.home main {
    padding-block: 70px 120px;
}

.home .home-blog-posts,
.category .home-blog-posts,
.related-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home .blog-post,
.related-posts .blog-post,
.category .blog-post {
    display: block;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    padding-block: 40px 26px;
    padding-inline: 40px;
    height: 100%;
}

.home .blog-post h2,
.category .blog-post h2,
.related-posts .blog-post h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 26px;
}

.home .blog-post img,
.category .blog-post img,
.related-posts .blog-post img {
    width: 100%;
    max-width: 530px;
    max-height: 248px;
    object-fit: cover;
    margin-bottom: 29px;
}

.home .blog-post p,
.category .blog-post p,
.related-posts .blog-post p {
    font-size: 16px;
    line-height: 26px;
    color: var(--clr-lightgray);
    margin-bottom: 13px;
}

.home .blog-post .post-date,
.category .blog-post .post-date,
.related-posts .blog-post .post-date {
    color: var(--clr-accent);
    font-size: 14px;
    line-height: 26px;
}

/* SINGLE POST */
.breadcrumbs-wrapper {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding-block: 13px;
    margin-bottom: 32px;
}

.breadcrumbs {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--clr-primary);
}

.breadcrumbs .current {
    color: var(--clr-lightgray);
}

.single .post-content-wrapper,
.page .post-content-wrapper {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    border-radius: 5px;
    padding: 60px 108px;
    display: grid;
    gap: 72px;
    grid-template-columns: 1fr 190px;
    margin-bottom: 78px;
}

.single .post-content-wrapper .wp-block-image img,
.page .post-content-wrapper .wp-block-image img {
    margin-bottom: 24px;
}

.single .post-content-wrapper p,
.page .post-content-wrapper p {
    font-size: 18px;
    line-height: 150%;
    color: var(--clr-lightgray);
    margin-bottom: 24px;
}

.single h2,
.page h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--clr-primary);
    margin-bottom: 12px;
}

.single h3,
.page h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--clr-primary);
    margin-bottom: 12px;
}

.single .post-meta,
.page .post-meta {
    height: fit-content;
    padding-bottom: 15px;
    border-bottom: 1px solid #C8C8C8;
}

.single .post-date,
.page .post-date,
.single .share-label,
.page .share-label {
    font-size: 14px;
    line-height: 26px;
    color: var(--clr-lightgray);
}

.share-post-block {
    margin-top: 28px;
}

.single .addtoany_list,
.page .addtoany_list {
    display: flex;
    gap: 12px;
}

.single .addtoany_list a:first-child,
.page .addtoany_list a:first-child {
    padding-left: 0;
}

.single .post-author,
.page .post-author {
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
    color: var(--clr-primary);
}

.single .related-posts,
.page .related-posts {
    margin-bottom: 78px;
}

.category main {
    margin-bottom: 78px;
}

.category-page-header h1 {
    margin-bottom: 4px;
}

.category-page-header {
    margin-bottom: 30px;
}

/* FOOTER */
footer {
    background: #0A0A43;
}

#footer #footer_bar {
    color: white;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
}

.flex_row_sp_b {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer #footer_bar ul {
    display: flex;
    gap: 44px;
}

#footer li a {
    color: white;
}

#footer #footer_bar #copyright {
    color: #C6C6E9;
}

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

    .container,
    .header-container {
        padding-inline: 15px;
    }
}


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

    .single .post-content-wrapper,
    .page .post-content-wrapper {
        padding: 40px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 767.5px) {
    .home main {
        padding-block: 32px;
    }

    .header_logo img {
        max-width: 132px !important;
    }

    .breadcrumbs .current,
    .breadcrumbs #last-sep {
        display: none;
    }

    .single h2,
    .page h2 {
        font-size: 28px;
    }

    .single h3,
    .page h3 {
        font-size: 24px;
    }

    .home .home-blog-posts,
    .category .home-blog-posts,
    .related-posts {
        grid-template-columns: 1fr;
    }

    .home .blog-post,
    .related-posts .blog-post,
    .category .blog-post {
        padding: 15px;
    }

    .home .blog-post img,
    .category .blog-post img,
    .related-posts .blog-post img {
        max-height: 200px;
        margin-bottom: 16px;
    }

    .home .blog-post h2,
    .category .blog-post h2,
    .related-posts .blog-post h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .home .blog-post p,
    .category .blog-post p,
    .related-posts .blog-post p {
        font-size: 14px;
    }

    .home h1,
    .category h1,
    .single h1,
    .page h1 {
        font-size: 32px;
    }

    .single .post-content-wrapper,
    .page .post-content-wrapper {
        padding: 15px;
        grid-template-columns: 1fr;
    }

    .single .post-content-wrapper p,
    .page .post-content-wrapper p {
        font-size: 16px;
    }

    #footer #footer_bar .flex_row_sp_b {
        flex-direction: column-reverse;
        gap: 15px;
    }

    #footer #footer_bar ul {
        justify-content: center;
        width: 100%;
        gap: 30px;
        flex-wrap: wrap;
        row-gap: 15px !important;
    }
}

@media screen and (max-width: 600px) {}