.author-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}

.author-header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.author-header .author-info {
    flex: 1 1 400px;
}

.author-header .author-avatar {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 10px;
}

.author-header .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 0;
}

.author-header .author-title {
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
}

.author-header .author-bio {
    color: #555;
    margin-bottom: 18px;
}

.author-header .author-socials a {
    display: inline-block;
    margin-right: 12px;
    font-size: 22px;
    color: #2563eb;
    text-decoration: none;
}

@media (max-width: 700px) {
    .author-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .author-header .author-info {
        align-items: center;
        justify-content: center;
    }

    .author-header .author-avatar {
        margin-bottom: 10px;
    }

    /*fixed blog */
    #search-filter-form-13976 ul {
        flex-direction: column !important;
    }
    div#main-content {
        padding: 0 10px;
    }


}

.articles-section {
    margin-top: 40px;
}

.articles-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 22px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    padding-bottom: 40px;
}

.article-card {
    background: #f7fafe;
    box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    cursor: pointer;
}

.article-card:hover {
    box-shadow: 0 6px 20px 0 rgba(25, 50, 90, 0.14);
}


.article-card .card-img {
    width: 100%;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.13rem;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.article-card .meta {
    color: #888;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 0.98rem;
    color: #444;
    margin-bottom: 0;
}

.article-content-div {
    padding: 16px;
}

.author-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}




.author-pagination {
    margin: 40px 0 0 0;
    text-align: center;
}

.author-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.author-pagination li {
    margin: 0;
}

.author-pagination a,
.author-pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #02214d;
    background: #f3f6fa;
    text-decoration: none;
    transition:
        color 0.16s,
        background 0.18s,
        box-shadow 0.17s;
    border: none;
    box-shadow: 0 1px 4px rgba(30, 64, 175, 0.08);
    vertical-align: middle;
    cursor: pointer;
}

.author-pagination a:hover,
.author-pagination a:focus {
    background: #02214d;
    color: #fff;
    outline: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.author-pagination .current {
    background: #02214d;
    color: #fff;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.19);
}

.author-pagination .prev,
.author-pagination .next {
    font-size: 1.15rem;
    font-weight: 700;
}

@media (max-width: 700px) {
    .author-pagination ul {
        gap: 2px;
    }

    .author-pagination a,
    .author-pagination span {
        min-width: 32px;
        height: 32px;
        font-size: 1rem;
        padding: 0 6px;
    }

    .author-page {
        padding: 0px 15px;
    }

    .author-header-inner {
        gap: 0px;
    }
}


/* wp-block-table table */
.wp-block-table table {
    border-collapse: collapse !important;
    border-radius: 2px;
    border: 1px solid #f6f8fa !important;
}

.wp-block-table table th,
.wp-block-table table thead td {
    background: #2a4365;
    color: #fff;
    font-weight: bold;
    padding: 14px 10px;
    border: 1px solid #e8eaef;
    text-align: left;
}

.wp-block-table table td {
    padding: 13px 10px;
    border: 1px solid #e8eaef;
    font-size: 1em;
}

/* Odd rows */
.wp-block-table table tr:nth-child(odd) td {
    background: #f6f8fa;
}

/* Even rows */
.wp-block-table table tr:nth-child(even) td {
    background: #fff;
}

/* Apply to first row only if table has more than 2 rows and does not have .no-header */
.wp-block-table table:not(.no-header):has(tr:nth-child(2)) tr:first-child th,
.wp-block-table table:not(.no-header):has(tr:nth-child(2)) tr:first-child td {
    background-color: #03214d !important;
    color: #fff !important;
    border: 1px solid #03214d !important;
    font-weight: bolder;
    font-size: 1.4em;
}



#postBody h1,
#postBody h2,
#postBody h3,
#postBody h4,
#postBody h5,
#postBody h6 {
    padding-bottom: 20px;
    padding-top: 10px;
}


/* Responsive tweaks */
@media (max-width: 600px) {

    .wp-block-table table th,
    .wp-block-table table td {
        padding: 10px 6px;
    }
}



/*TOC*/
#dynamic-toc {
    position: fixed;
    left: 20px;
    top: 80px;
    width: 290px;
    background: #f2f4f7;
    border-radius: 15px;
    padding: 10px 20px;
    max-height: 75vh;
    overflow-y: auto;
    z-index: 111;
    font-size: 14px;
    line-height: 1.6em;
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
    #dynamic-toc {
        width: 236px;
        /* example value, adjust as needed */
    }


    .et_pb_row.et_pb_row_0_tb_body {
        max-width: 673px;
    }
}


#dynamic-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#dynamic-toc li {
    margin: 0 0 4px 0;
}

#dynamic-toc .toc-link {
    display: block;
    padding: 3px 11px 6px 0;
    position: relative;
    text-decoration: none;
    font-weight: 500;
}

#dynamic-toc .toc-link span {
    display: block;
    height: 2px;
    background: #027dff;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 4px;
    transition: width 0.25s;
    z-index: 1;
}

#dynamic-toc .toc-h3.toc-link span {
    left: 15px !important;
}

#dynamic-toc .toc-link.toc-h3 {
    padding-left: 16px;
    font-size: 14px;
}

#dynamic-toc .toc-link.toc-h4 {
    padding-left: 32px;
    font-size: 13px;
}

#dynamic-toc li:not(.toc-open)>ul {
    display: none;
}

#dynamic-toc li.toc-open>ul {
    display: block;
}


h3.toc-heading {
    font-size: 20px;
    margin-top: 10px;
}


#dynamic-toc li.has-children>a:after {
    border-bottom: 1px solid #444644;
    border-right: 1px solid #444644;
    content: "";
    height: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: rotate(-45deg) translate(-50%, -50%);
    width: 8px;
}

#dynamic-toc li.has-children>a.active:after {
    transform: rotate(45deg) translate(-50%, -50%);
}




@media (max-width: 1200px) {
    #dynamic-toc {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 50px !important;
        margin: 0 auto;
    }

    #dynamic-toc.toc-nav-hidden {
        opacity: 1;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
    }

    #dynamic-toc.toc-nav-visible {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
    }
}

@media (min-width: 1200px) {

    #dynamic-toc.toc-nav-hidden {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
    }

    #dynamic-toc.toc-nav-visible {
        opacity: 1;
        pointer-events: auto;
        transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
    }
}


@media (max-width: 1200px) {
    .post-template-default .et_pb_section {
        padding: 0px 0;
    }

    #dynamic-toc .toc-link {
        text-align: left;
    }
}




/* FAQ Wrapper */
/* Accordion Item */
.schema-faq-section {
    margin-bottom: 1rem;
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Accordion Header (Question) */
.schema-faq-question {
    display: block;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.2rem;
    background: #f3f4f6;
    border: none;
    outline: none;
    transition: background 0.15s;
    position: relative;
}

.schema-faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.schema-faq-section.active .schema-faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

/* Accordion Content (Answer) */
.schema-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: #fff;
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s;
}

.schema-faq-section.active .schema-faq-answer {
    max-height: 300px;
    /* adjust for longer answers */
    padding: 1rem 1.5rem;
}





.side-float-cta {
    width: 210px;
    background: #012b68;
    height: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 30px;
    top: 80px;
    padding: 0px 20px;
    z-index: 111;
}

.side-float-cta .cta-title {
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 28px;

    color: #80beff;
}

.side-float-cta .cta-title span {
    color: #fff;
}

.side-float-cta .cta-description {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
}

.side-float-cta .cta-description span {
    display: block;
    color: #80beff;
}

.side-float-cta.side-float-cta-2 .cta-description span {
    display: inline-block;
    color: #80beff;
    font-size: 17px;
}

.side-float-cta.side-float-cta-2 .cta-description {
    font-size: 17px;
}

.side-float-cta .cta-btn-div a {
    padding: 16px 24px;
    width: 136px;
    height: 52px;
    background: #da3e9e;
    border-radius: 76px;
    color: #fff;
    text-decoration: none;
}

.side-float-cta .cta-btn-div a:hover {
    opacity: 0.8;
}


.side-float-cta.cta-nav-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
}

.side-float-cta.cta-nav-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
}





.side-float-cta-2 .cta-logo {
    margin-top: 43px;
}

.side-float-cta-2 .cta-title {
    text-align: center;
    margin-top: 28px;
    font-size: 21px;
    margin-bottom: 35px;
}

.side-float-cta-2 .cta-description {
    text-align: center;
    margin-top: 11px;
    margin-bottom: 38px;
}




.side-float-cta-1 .cta-logo {
    margin-top: 10px;
    margin-bottom: 7px;
}

.side-float-cta-1 .cta-title {
    text-align: center;
    margin-bottom: 35px;
}

.side-float-cta-1 .cta-description {
    text-align: center;
    margin-top: 18px;
    margin-bottom: 38px;
}


.side-float-cta-3 .cta-logo {
    margin-top: 27px;
    margin-bottom: 7px;
}

.side-float-cta-3 .cta-title {
    text-align: center;
    margin-bottom: 16px;
    margin-top: 21px;
}

.side-float-cta-3 .cta-description {
    text-align: center;
    margin-top: 17px;
    margin-bottom: 28px;
}

.side-float-cta-3 .cta-btn-div {
    margin-top: 38px;
}


@media (max-width: 1200px) {
    .side-float-cta {
        display: none !important;
    }
}


.blog-key-summary {
    background-color: #e6f2ff;
    padding: 20px 22px;
    border-radius: 8px;
    margin: 24px 0px 24px;
    font-size: 1rem;
    line-height: 1.6;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-key-summary > strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-key-summary p {
    margin: 0 0 10px;
}

.blog-key-summary ul,
.blog-key-summary ol {
    margin: 10px 0 0 1.2em;
    padding: 0;
}

.blog-key-summary li {
    margin: 6px 0;
}

/* Responsive polish */
@media (max-width: 600px) {
    .blog-key-summary {
        padding: 16px 16px;
        border-radius: 6px;
    }
}