.main-hero {
    height: 100vh;
    padding: 32px 0px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.1);
}

.main-hero .hero-header {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    z-index: 2;
}

.main-hero .hero-blog-title {
    width: 70%;
    font-family: Urbanist, sans-serif;
    font-size: 3.14rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #ffffff;
    opacity: 1;
}

.main-hero .hero-blog-title a {
    display: inline-block;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

.main-hero .hero-header>p {
    width: 50%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
    text-align: left;
    color: #ffffff;
}

.main-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 0;
}

.main-hero .hero-header>span {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.main-hero .hero-header>p {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {

    .main-hero {
        padding: 0;
        align-items: center;
    }

    .main-hero .hero-header {
        width: 100%;
        padding: 40px;
        align-items: flex-start;
    }

    .main-hero .hero-blog-title {
        font-size: 2.617rem;
        width: 100%;
    }

    .main-hero .hero-header>p {
        width: 100%;
        font-size: 1rem;
    }
}

@media screen and (max-width: 430px) {
    .main-hero {
        padding: 0;
        height: 80vh;
        /* min-height: 60vh; */
        align-items: center;
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
    }

    .main-hero .hero-header {
        padding: 20px;
        gap: 8px;
    }

    .main-hero .hero-blog-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .main-hero .hero-header>p {
        font-size: 1rem;
    }

}

.post-main-content-section {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 64px;
}

.post-meta {
    margin: 16px 0;
}

.post-meta * {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content {
    --wp--style--block-gap: 1.5rem;
    color: #141E47;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content>*+* {
    margin-block-start: var(--wp--style--block-gap);
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, pre, table, figure) {
    margin: 0;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content :where(h1, h2, h3, h4, h5, h6) {
    font-family: Urbanist, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #141E47;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h1 {
    font-size: 3.14rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h2 {
    font-size: 2.617rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h3 {
    font-size: 1.618rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h4,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h5,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h6 {
    font-size: 1.2rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content :where(h1, h2, h3, h4, h5, h6)+ :where(p, ul, ol, blockquote, pre, table, figure) {
    margin-block-start: 0.75rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content p,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content li {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #000;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content a {
    color: #141E47;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content :where(h1, h2, h3, h4, h5, h6) a,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content :where(h1, h2, h3, h4, h5, h6) a:active {
    color: #141E47;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content ul,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content ol {
    margin-left: 20px;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content li+li {
    margin-top: 0.75rem;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content blockquote {
    padding: 64px;
    text-align: center;
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr td:nth-child(-n+3) {
    font-family: Urbanist, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    /* Optional */
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr td:nth-child(n+4) {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    /* Optional */
}

/* First row, first 3 cells individually */
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr:first-child td:nth-child(1) {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr:first-child td:nth-child(2) {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr:first-child td:nth-child(3) {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

/* All other rows */
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr:not(:first-child) td {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}

/* Table basic styling */
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table td,
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table th {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid #ccc;
}

/* Optional: alternate background for better readability */
.single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table tr:nth-child(even):not(:first-child) {
    background-color: #fafafa;
}

/* Responsive adjustment */
@media (max-width: 768px) {

    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table td,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content table th {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width:430px) {

    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content {
        --wp--style--block-gap: 1.25rem;
    }

    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h1,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h2,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h3,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h4,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h5,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content h6 {
        font-size: 1.618rem;
    }

    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content p,
    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content li {
        font-size: 1rem;
    }

    .single-blog-wrapper .post-main-content-section .main-content.entry-content.wp-block-post-content blockquote {
        padding: 32px;
    }

}

.more-posts-container {
    max-width: 1440px;
    margin: 0 auto;
}

.related-posts-list {
    margin: 3rem 0;
}

.related-heading {
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.related-posts-grid .blog-card {
    min-height: 100%;
    border: 1px solid rgba(16, 75, 136, 0.1);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(16, 75, 136, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.related-posts-grid .blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 75, 136, 0.22);
    box-shadow: 0 26px 56px rgba(16, 75, 136, 0.14);
}

.related-posts-grid .blog-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.related-posts-grid .blog-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce5eb;
}

.related-posts-grid .blog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 75, 136, 0) 0%, rgba(16, 75, 136, 0.06) 100%);
}

.related-posts-grid .blog-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-posts-grid .blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.related-posts-grid .blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.6rem;
    background:
        radial-gradient(circle at top left, rgba(16, 75, 136, 0.04), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #ffffff 100%);
}

.related-posts-grid .blog-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.related-posts-grid .blog-card-category {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 75, 136, 0.08);
    color: #104b88;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.related-posts-grid .blog-card-title {
    margin: 0;
    font-family: Urbanist, sans-serif;
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.14;
    color: #102742;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.related-posts-grid .blog-card-excerpt {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #5c6b7a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.related-posts-grid .blog-card-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 75, 136, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.related-posts-grid .blog-card-meta-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    color: #667688;
}

.related-posts-grid .blog-card-meta-item + .blog-card-meta-item::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 1rem 0 0.1rem;
    border-radius: 50%;
    vertical-align: middle;
    background: rgba(16, 75, 136, 0.35);
}

@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
