/*********************
START: HERO INNER SINGLE
*********************/
.heroInnerSingle {
    position: relative;
    margin-block-start: 100px;
}

.heroInnerSingle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../img/bg-featured.jpg");
}

.heroInnerSingle--content {
    width: 90%;
    margin-inline: auto;
}

.heroInnerSingle--content .imageIndex img {
    width: 100%;
    height: auto;
    margin-inline: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1192 / 700;
    position: relative;
    border-radius: var(--border-radius10);
}

.heroInnerSingle--content h1 {
    margin-block: 3.75rem 1.5rem;
    color: var(--title-color-1);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.heroInnerSingle--content ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 2rem;
    justify-content: flex-start;
    width: 90%;
}

.heroInnerSingle--content ul li {
    display: flex;
    align-items: center;
    column-gap: 6px;
    position: relative;
}

.heroInnerSingle--content ul li:not(:first-child):before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #555658;
    border-radius: 50%;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);

}

.heroInnerSingle--content ul li span {
    color: #555658;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}


/*********************
END: HERO INNER SINGLE
*********************/

/*********************
START: SINGLE POST
*********************/
.singlePost {
    margin-block-start: 3.75rem;
}

.singlePost--content {
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
    width: 90%;
    margin-inline: auto;
}

/* aside */
.singlePost--content aside {
    width: 30%;
}

aside .content--category {
    background-color: var(--baseLight-color);
    border-radius: var(--border-radius10);
    padding: 1rem;
}

aside .content--category .lwptoc{
    margin: 0 !important;
}

aside .content--category .lwptoc-light .lwptoc_i {
    background-color: transparent !important;
    color: var(--baseDark-color) !important;
    display: flex;
    flex-direction: column;
}

aside .content--category .widgetBody .lwptoc_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

aside .content--category .widgetBody .lwptoc_items {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

aside .content--category .widgetBody .lwptoc_items .lwptoc_item:first-child {
    padding-block-start: 2rem;
}

aside .content--category .widgetBody .lwptoc_items .lwptoc_item {
    margin-block-end: 2rem;
}

aside .content--category .widgetBody .lwptoc_items .lwptoc_item a {
    line-height: 135%;
    font-weight: 400;
    color: var(--title-color-1);
}


/* article */
.singlePost--content article {
    width: 65%;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: var(--title-color-1);
    line-height: var(--line-height140);
    margin-block-end: 1.5rem;
}

article p {
    color: var(--title-color-1);
    font-weight: 400;
    line-height: 160%;
    margin-block-end: 3.75rem;
}

article ul,
article ol {
    background-color: var(--title-color-2);
    border-radius: var(--border-radius10);
    padding: 1.5rem;
}

article ul li,
article ol li {
    position: relative;
    color: var(--baseLight-color);
    line-height: var(--line-height150);
    font-weight: 500;
    margin-block-end: 1rem;
}

article img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

article img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

article .alignright {
    float: right;
}

article .alignleft {
    float: left;
}

article img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

article img {
    width: initial;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    display: block;
    margin-block-end: 3rem;
    border-radius: var(--border-radius10);
}

/*********************
END: SINGLE POST
*********************/


/*********************
START: BLOG
*********************/
.blog.relatedBlogs {
    padding-block: 5rem;
    margin-block-end: var(--space-section);
    background-color: var(--baseLight-color);
}

.blog--title {
    margin-block-end: 1.5rem;
}

.blog .swiper {
    width: 100%;
    height: 100%;
    padding-block-end: 2rem;
}

.blog .swiper-slide {
    margin: 12px;
    flex-basis: calc(33.33% - 24px);
    border-radius: var(--border-radius10);
    border: 1px solid #B1B1B1;
    background: #FFF;
}

.blog .swiper-slide picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 342 / 250;
    border-radius: 8px 8px 0px 0px;
}

.blog .swiper-slide div {
    display: flex;
    align-items: center;
    column-gap: 6px;
    padding: 1rem 1rem 0 1rem;
}

.blog .swiper-slide div span {
    color: #555658;
    font-family: var(--font-family-Nunito);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.blog .swiper-slide p {
    width: 90%;
    color: var(--baseDark-color);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    padding: 0.5rem 1rem 1rem 1rem;
}

.blog .swiper--navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.blog .swiper--navigation .swiper-pagination {
    position: relative;
    bottom: unset;
    left: unset;
    width: auto;
    margin-inline-end: 3rem;
}

.blog .swiper-pagination-bullet {
    width: 50px;
    height: 2px;
    margin-inline: 0 !important;
    background-color: #404040;
}

/*********************
END: BLOG
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
    .heroInnerSingle--content h1 {
        font-size: 55px;
    }

    .heroInnerSingle--content ul li span,
    aside .content--category .widgetBody .lwptoc_items .lwptoc_item a {
        font-size: var(--text-lg);
    }

    .singlePost--content aside .content--category .widgetBody .lwptoc_header {
        font-size: var(--text-xl);
    }

    .blog--title {
        font-size: 40px;
    }

    .blog .swiper-slide p {
        font-size: var(--text-xl);
    }

    article h2{
        font-size: 45px;
    }

    article p{
        font-size: 22px;
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .heroInnerSingle--content h1 {
        font-size: var(--text-5xl);
    }

    aside .content--category .widgetBody .lwptoc_header {
        font-size: var(--text-xl);
    }

    aside .content--category .widgetBody .lwptoc_items .lwptoc_item a {
        font-size: var(--text-lg);
    }

    .blog--title {
        font-size: var(--text-4xl);
    }

    .blog .swiper-slide p {
        font-size: var(--text-lg);
    }

    article h2{
        font-size: var(--text-4xl);
    }

    
    article p{
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 1319px) {
    .heroInnerSingle--content h1 {
        font-size: var(--text-4xl);
    }

    .blog--title {
        font-size: var(--text-4xl);
    }

    .blog .swiper-slide p {
        font-size: var(--text-base);
    }

    article h2{
        font-size: var(--text-3xl);
    }

    article p{
        font-size: var(--text-lg);
    }

    aside .content--category .widgetBody .lwptoc_header {
        font-size: var(--text-xl);
    }

    aside .content--category .widgetBody .lwptoc_items .lwptoc_item a {
        font-size: var(--text-lg);
    }
}

@media screen and (max-width: 1200px) {

    .heroInnerSingle--content,
    .singlePost--content {
        width: 100%;
    }

    .blog .swiper-slide p {
        width: 95%;
    }

    .blog .swiper-slide {
        margin: 8px;
        flex-basis: calc(33.33% - 16px);
    }
}

@media screen and (max-width: 992px) {
    .heroInnerSingle::before{
        height: 170px;
    }

    .heroInnerSingle--content h1 {
        font-size: var(--text-3xl);
    }

    .heroInnerSingle--content ul{
        margin-inline-start: 1rem;
    }

    .singlePost--content {
        flex-direction: column;
    }

    .singlePost--content :is(aside, article) {
        width: 100%;
    }

    .singlePost--content aside {
        margin-block-end: 2rem;
    }

    .blog--title {
        font-size: var(--text-3xl);
    }
}

@media screen and (max-width: 768px) {
    .heroInnerSingle::before{
        height: 200px;
    }

    .blog .swiper-slide {
        margin: 8px;
        flex-basis: calc(50% - 16px);
    }

    .blog .swiper-slide p {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .blog .swiper-slide {
        flex-basis: calc(100% - 16px);
    }
}

@media screen and (max-width: 425px) {
    .heroInnerSingle--content h1 {
        font-size: var(--text-2xl);
    }

    .heroInnerSingle--content ul li span {
        font-size: var(--text-sm);
    }

    .blog--title {
        font-size: var(--text-2xl);
    }

    .blog .swiper-slide p {
        font-size: var(--text-base);
    }

    article h2{
        font-size: var(--text-2xl);
    }

    article p{
        font-size: var(--text-base);
    }
}

@media screen and (max-width: 375px) {
    .heroInnerSingle--content h1 {
        font-size: var(--text-xl);
    }

    .blog--title {
        font-size: var(--text-xl);
    }
}

/*********************
END: MEDIA
*********************/