.article__body {
    padding-top: 140px;
    padding-bottom: 60px;
}

.post__back-btn {
    color: var(--primary-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0;
    text-decoration: none;
    position: relative;
}

.article__hero {
    margin-top: 48px;
}

.article__hero img {
    max-height: 424px;
    width: 100%;
    border-radius: 8px;
}

@media screen and (min-width: 1024px) {
    .post__back-btn::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 1px;
        background: var(--primary-color);

        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }
}

.post__back-btn:hover::after {
    transform: scaleX(1);
}

.article__wrapper {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.article__info {
    margin-top: 33px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article__category,
.article__date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article__info p {
    font-size: 16px !important;
    line-height: 140% !important;
    letter-spacing: 0;
    color: var(--grey-600) !important;
}

.article__excerpt {
    margin-top: 17px;
}

.article__excerpt p {
    font-size: 20px !important;
    line-height: 150% !important;
    letter-spacing: 0;
}

.article__form .contact-us__field-group {
    margin-top: 32px;
}

/* ============================================
   General styles for content
   ============================================ */
.wp-block-image .aligncenter {
    margin: unset;
}

.article__content strong {
    font-weight: 700;
}

.article__content {
    width: 100%;
    grid-column: 2;
}

figure {
    margin: unset;
}

.wp-block-image img {
    width: 100% !important;
    border-radius: 8px;
}

.article__sidebar-description {
    margin-top: 16px;
}

.post__single .categoryLabel {
    min-height: 36px;
}

#page .site-main {
    overflow: visible;
}

.sidebar__banner-button {
    width: 100%;
    color: var(--black-color);
}

.sidebar__banner-button span {
    color: var(--black-color);
}

.sidebar__banner-button svg path {
    stroke: var(--black-color) !important;
}

/* ============================================
   Related Articles
   ============================================ */
.related-articles__cover {
    align-items: self-start;
    padding: 39px;
    min-height: fit-content;
    background: #f3f5fb;
    margin-top: 40px;
    border-radius: 16px;
    border-bottom: 1px solid var(--BlueGrey-100, #e4ebff);
    background: var(--BlueGreyBackground, #f3f5fb);
}

.related-articles__title {
    color: var(--black-color);
    font-size: 28px;
    font-weight: 500;
    line-height: 140%;
}

@media screen and (max-width: 1024px) {
    .related-articles__cover {
        padding: 23px;
    }

    .related-articles__title {
        font-size: 20px;
        font-weight: 700;
        line-height: 130%;
    }

    .article__excerpt p {
        font-size: 18px !important;
    }
}

/* ============================================
   Sidebar Right
   ============================================ */
.sidebar__banner {
    background: linear-gradient(90deg, #06063c 0%, #1010a2 100%);
    border-radius: 16px;
    padding: 24px;
    font-weight: 500;
    font-size: 28px;
    line-height: 140%;
    letter-spacing: 0;
    color: #fefefe;
}

.sidebar__banner-button-block {
    margin-top: 32px;
}

.sidebar__banner-title {
    color: #fefefe;
    font-size: 28px;
    line-height: 1.4;
}

/* Author Block */

.author__title {
    color: var(--additional-dark-background, #06063c);
    font-size: 28px;
    font-weight: 500;
    line-height: 140%;
}

.author .author__photo {
    margin-top: 24px;
}

.author .author__name {
    margin-top: 16px;
}

.author .author__rank {
    font-size: 18px;
}

/* Our Talent Block */
.our-talent {
    margin-top: 60px;
}

.our-talent__label {
    margin-top: 24px;
    padding-left: 32px;
    padding-right: 32px;
    height: 48px;
    font-size: 17px;
    line-height: 140%;
    border-radius: 40px;
}

.our-talent h5 {
    font-size: 20px;
}

/* Trending Articles */
.article__author-trending {
    display: flex;
    flex-direction: column;
    gap: 60px;
    grid-column: 3;
}

.trending-articles__title {
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 500;
    line-height: 140%;
}

.trending-articles__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-articles__cards .next-article__card {
    margin-top: unset;
    background: #fafafa;
    border: 1px solid #f3f5fb;
    box-shadow:
        0px 4px 4px 0px #2d60e20d,
        0px 4px 4px 0px #e2e2e21a inset;
}

/* Article Form */
.article__form {
    background: linear-gradient(90deg, #06063c 0%, #1010a2 100%);
    border-radius: 16px;
    color: #fefefe;
    padding: 24px;
}

.article__form h3 {
    color: #fefefe;
}

.article__form .contact-us__field {
    background-color: transparent;
}

.article__form .contact-us__field-group input {
    color: #fefefe;
    border: 1px solid #fefefe;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    transition: all 0.3s ease;
}

.article__form .contact-us__field-group label {
    color: #fefefe;
}

.article__sidebar-submit button {
    background-color: #fefefe !important;
    width: 100%;
    color: var(--additional-dark-background, #06063c);
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}

.article__sidebar-submit {
    margin-top: 24px;
}

.article__form .contact-us__field-group input::placeholder {
    color: #fefefe;
    opacity: 1;
}

.article__form .contact-us__field-group input:focus::placeholder,
.article__form .contact-us__field-group input:not(:placeholder-shown)::placeholder {
    color: transparent;
}

.article__form .wpcf7-spinner {
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Sidebar Media Queries */
@media screen and (max-width: 1024px) {
    .article__author-trending {
        order: 1;
    }

    .author {
        display: none;
    }

    .trending-articles {
        display: none;
    }

    .sidebar__banner-button-block {
        margin-top: 24px;
    }

    .article__form {
        padding: 24px;
    }
}

@media screen and (min-width: 521px) and (max-width: 1024px) {
    .article__form .submit-button-block button {
        width: unset;
    }

    .article__form .submit-button-block {
        display: flex;
        justify-content: end;
    }

    /* .sidebar__banner .standard__btn {
        width: unset;
    } */

    .sidebar__banner-button-block {
        display: flex;
        justify-content: end;
    }
}

/* ============================================
   Article Wrapper & Container
   ============================================ */

/* .article__container:has(.article__list-block) {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 40px;
    align-items: start;
} */

@media screen and (max-width: 1200px) {
    .article__wrapper {
        grid-template-columns: 220px 1fr 220px;
        gap: 24px;
    }

    .article__content .wp-block-list li {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 1024px) {
    .article__wrapper {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 20px;
    }
}

.article__list-title {
    color: var(--black-color);
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
}

.article__author-trending {
    flex-basis: 300px;
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .article__wrapper {
        gap: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .article__author-trending {
        flex-basis: 100%;
    }

    .sidebar__banner {
        display: none;
    }

    .article__list-title {
        font-size: 20px;
        font-weight: 700;
    }
}

/* ============================================
   Article Content & List
   ============================================ */
.article__content > *:first-child {
    margin-top: 0;
    margin-bottom: 48px;
}

.article__content h4.wp-block-heading {
    margin-bottom: 24px;
    color: var(--additional-dark-background, #06063c);
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
}

.article__content p {
    color: var(--black-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.wp-block-yoast-faq-block .schema-faq-section:not(:last-child),
.article__content p:not(:last-child) {
    margin-bottom: 16px;
}

.wp-block-yoast-faq-block .schema-faq-section .schema-faq-question {
    display: inline-block;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--black-color);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .wp-block-yoast-faq-block .schema-faq-section .schema-faq-question {
        font-size: 20px;
    }
}

.article__content figure.wp-block-image {
    margin-top: 24px;
    margin-bottom: 24px;
}

.article__content ul.wp-block-list {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* .article__list {
    padding: 23px;
    box-sizing: border-box;
    max-height: fit-content;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    border-radius: 16px;
    border-bottom: 1px solid var(--BlueGrey-100, #E4EBFF);
    background: var(--BlueGreyBackground, #F3F5FB);
} */

.article__list .standard-list li a {
    color: var(--grey-600);
}

.blog-swiper .post-readtime {
    color: var(--grey-600);
}

.post-tags {
    display: flex;
    gap: 5px;
}

.blog-date {
    color: var(--grey-600) !important;
}

@media screen and (max-width: 1200px) {
    .article__content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .article__content h4.wp-block-heading {
        font-size: 20px;
        line-height: 140%;
    }
}

/* ============================================
   Post Single - General styles
   ============================================ */
.post__single {
    display: flex;
    flex-direction: column;
}

.post__teg-date {
    display: flex;
    gap: 24px;
    width: 100%;
}

.post__head-category {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post__date {
    margin-left: 10px;
}

.post__time {
    margin-left: 16px;
}

.post__details-hero {
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.post__details-hero p {
    font-size: 16px;
    color: var(--grey-600);
}

.post__image,
.post__image-mobile {
    width: 100%;
}

.post__image img,
.post__image-mobile img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
}

.post__excerpt {
    margin-top: 8px;
}

.post__excerpt p {
    color: #0d1118;
}

/* ============================================
   Post Single Cover & Hero Section
   ============================================ */
.post__single-cover {
    background: linear-gradient(112deg, #fefefe -11.51%, #c0c2f6 237.75%);
}

.post__wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 56px;
    align-items: start;
}

.post__category {
    color: #0d1118;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    padding-left: 20px;
    position: relative;
}

.post__category::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #1629d6;
}

.post__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.post__head {
    display: flex;
    flex-direction: column;
}

.post__head-details {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1201px) {
    .post__head {
        flex-basis: calc(100% - 537px - 40px);
        max-width: 783px;
    }

    .post__head-details {
        flex-basis: 537px;
    }

    .post__single-cover {
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1200px) {
    .post__content {
        flex-direction: column;
    }

    .post__content,
    .post__wrapper {
        gap: 24px;
    }
}

@media screen and (min-width: 769px) {
    .post__single-cover {
        padding-top: 156px;
        padding-bottom: 60px;
    }

    .post__image-mobile {
        display: none;
    }

    .post__image img,
    .post__image-mobile img {
        max-height: 436px;
    }

    .post__excerpt p {
        font-size: 20px;
        line-height: 150%;
    }
}

@media screen and (max-width: 768px) {
    .post__image {
        display: none;
    }

    .categoryLabel {
        font-size: 18px;
    }

    .post__image img,
    .post__image-mobile img {
        max-height: 246px;
        min-height: 246px;
    }

    .post__excerpt p {
        font-size: 18px;
        line-height: 133.333%;
    }

    .post__single-cover {
        padding-top: 135px;
        padding-bottom: 40px;
    }

    .post__head-category {
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .post__head-category::-webkit-scrollbar {
        display: none;
    }

    .categoryLabel {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .blog-page-grid-card img {
        max-width: unset;
    }

    .article__hero img {
        max-height: 370px;
    }
}

/* ============================================
   Single Post Form
   ============================================ */
.single-post__form {
    min-width: 500px;
}

.single-post__wrapper {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.single-post__form h3 {
    color: #fefefe;
}

.single-post__form .contact-us__field {
    background-color: transparent;
}

.single-post__form .contact-us__field-group input {
    color: #fefefe;
    border-bottom: 1px solid #fefefe;
}

.single-post__form .contact-us__field-group input::placeholder {
    color: #fefefe;
    opacity: 1;
}

.single-post__form .contact-us__field-group input:focus::placeholder,
.single-post__form .contact-us__field-group input:not(:placeholder-shown)::placeholder {
    color: transparent;
}

.single-post__form .submit-button-block {
    margin-top: 24px;
    display: flex;
    justify-content: end;
}

.single-post__form .contact-us__field-group {
    margin-top: 32px;
}

.single-post__form .submit-button-block button {
    background-color: #fefefe !important;
    color: #06063c !important;
}

.single-post__form .contact-us__field-group label {
    color: #fefefe;
}

.single-post__title {
    color: #fefefe;
    font-size: 56px;
}

/* ============================================
   Article Content Blocks (Gutenberg Blocks)
   ============================================ */
.post__article h4 {
    color: #06063c;
}

/* Quote Block */
.wp-block-quote {
    padding: 24px;
    background: #f3f5fb;
    border-left: 1px solid #1629d6;
    color: #0d1118;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
}

.article__content .wp-block-quote {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Cover Block */
:root {
    --wp--preset--color--vivid-cyan-blue: #f3f5fb;
}

.wp-block-cover {
    border-radius: 16px;
    align-items: self-start;
    color: #0d1118;
    padding: 40px;
    min-height: fit-content;
}

.has-text-align-center {
    text-align: start;
}

.wp-block-cover__inner-container h1,
.wp-block-cover__inner-container h2,
.wp-block-cover__inner-container h3,
.wp-block-cover__inner-container h4,
.wp-block-cover__inner-container h5,
.wp-block-cover__inner-container h6 {
    margin-bottom: 24px;
}

.wp-block-cover__inner-container ul.wp-block-list {
    gap: 39px;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.wp-block-cover__inner-container .wp-block-list li {
    position: relative;
    padding-left: 28px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wp-block-cover__inner-container .wp-block-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: url("/wp-content/uploads/2025/08/blue-bullit.svg") no-repeat center;
    background-size: contain;
}

/* List Blocks */
.article__content .wp-block-list li {
    position: relative;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
}

/* Article Text */
.post__article p {
    color: #0d1118;
}

.post__article p em {
    font-size: 18px;
}

.post__article p strong {
    color: #0d1118;
}

.wp-block-heading em {
    font-size: unset;
}

.post__article h3 {
    font-size: 28px !important;
}

/* Code Block */
.wp-block-code code {
    font-size: 14px;
    line-height: 140%;
    background-color: #f3f5fb;
    padding: 24px;
    border-radius: 8px;
    display: block;
    max-height: 452px;
    overflow-y: auto;
    scrollbar-gutter: stable both-edges;
    position: relative;
    scrollbar-color: #cfcfcf transparent;
    scrollbar-width: thin;
}

.wp-block-code code::-webkit-scrollbar {
    width: 8px;
}

.wp-block-code code::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

.wp-block-code code::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 8px;
}

/* Figure/Image */
.post__article figure {
    margin: 0;
}

figure img {
    border-radius: 12px;
}

@media screen and (max-width: 520px) {
    .article__hero img {
        max-height: 246px;
        object-fit: cover;
    }
}
