/* =========================================================
   BLOG LISTING PAGE
   ========================================================= */

.blog-listing-section {
    width: 100%;
    padding: 50px 0 70px;
    background: #f3f5f7;
    box-sizing: border-box;
}


/* =========================================================
   BLOG HEADER
   ========================================================= */

.blog-listing-header {
    width: 100%;
    max-width: 922px;
    padding: 24px 0;
    margin: 0 auto 20px;
    text-align: center;
}

.blog-listing-header h1 {
    margin: 0 0 12px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
    color: #172b4d;
}

.blog-listing-header p {
    max-width: 720px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #667085;
}


/* =========================================================
   POST LIST
   ========================================================= */

.blog-post-list {
    width: 100%;
    max-width: 922px;
    margin: 0 auto;
    padding: 24px 16px;
}


/* =========================================================
   SINGLE POST
   ========================================================= */

.blog-list-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
    margin-bottom: 16px;
}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.blog-list-image {
    display: block;
    flex: 0 0 250px;
    width: 250px;
    height: 140px;
    margin-right: 32px;
    overflow: hidden;
    background: #dfe5e9;
}

.blog-list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-list-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   POST CONTENT
   ========================================================= */

.blog-list-content {
    flex: 1;
    min-width: 0;
}


/* DATE */

.blog-list-date {
    margin: 0 0 7px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #7b8794;
}


/* TITLE */

.blog-list-title {
    margin: 0 0 12px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 23px;
    line-height: 1.4;
    font-weight: 600;
    color: #172b4d;
}

.blog-list-title a {
    color: #172b4d;
    text-decoration: none;
}

.blog-list-title a:hover {
    color: #1f6fb2;
}


/* EXCERPT */

.blog-list-excerpt {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #52606d;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* READ MORE */
.blog-list-footer {
    width: 100%;
    margin-top: 10px;
    text-align: right;
}
.blog-list-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #1f6fb2;
    text-decoration: none;
}

.blog-list-read-more:hover {
    color: #155a91;
    text-decoration: none;
}

.blog-list-read-more i {
    font-size: 11px;
}


/* =========================================================
   NO POSTS
   ========================================================= */

.blog-no-posts {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e1e6ea;
    box-sizing: border-box;
}

.blog-no-posts p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: #667085;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.blog-pagination {
    width: 100%;
    max-width: 1050px;
    margin: 35px auto 0;
    text-align: center;
}

.blog-pagination {
    width: 100%;
    text-align: center;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    line-height: 1;
}
.blog-pagination a {
    padding: 0 10px;
}
.blog-pagination span {
    padding: 0;
}

/* Pagination links */
.blog-pagination a {
    text-decoration: none;
    border: 1px solid #d5dde3;
    background: #ffffff;
    color: #52606d;
}

.blog-pagination a:hover {
    background: #eef3f7;
    border-color: #c5d0d8;
    color: #1f6fb2;
    text-decoration: none;
}

/* Current page */
.blog-pagination span.current {
    border: 1px solid #1f6fb2;
    background: #1f6fb2;
    color: #ffffff;
}

/* Normal page number wrapper */
.blog-pagination > span:not(.current) {
    padding: 0;
    border: 0;
    background: transparent;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

    .blog-listing-section {
        padding: 40px 0 60px;
    }

    .blog-listing-header {
        margin-bottom: 30px;
    }

    .blog-listing-header h1 {
        font-size: 30px;
    }

    .blog-listing-header p {
        font-size: 14px;
    }

    .blog-list-item {
        padding: 16px;
    }

    .blog-list-image {
        flex: 0 0 230px;
        width: 230px;
        height: 155px;
        margin-right: 22px;
    }

    .blog-list-title {
        font-size: 20px;
    }

    .blog-list-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .blog-listing-section {
        padding: 32px 0 50px;
    }

    .blog-listing-header {
        margin-bottom: 24px;
    }

    .blog-listing-header h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .blog-listing-header p {
        font-size: 13px;
        line-height: 1.6;
    }

    .blog-list-item {
        display: block;
        padding: 16px;
    }

    .blog-list-image {
        width: 100%;
        height: 190px;
        margin: 0 0 18px;
    }

    .blog-list-date {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .blog-list-title {
        margin-bottom: 10px;
        font-size: 19px;
        line-height: 1.4;
    }

    .blog-list-excerpt {
        margin-bottom: 13px;
        font-size: 13px;
        line-height: 1.6;
    }

    .blog-list-read-more {
        font-size: 12px;
    }

    .blog-list-divider {
        border-top-style: dashed;
    }

    .blog-pagination {
        margin-top: 28px;
    }

    .blog-pagination a,
    .blog-pagination strong {
        min-width: 34px;
        height: 34px;
        margin: 0 2px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* =========================================================
   SIILAP BLOG - SINGLE POST DESIGN
   Contempo Light inspired, independently styled
   ========================================================= */


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.blog-single-section {
    background: #eeeeee;
    color: #333333;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    padding: 30px 0 60px;
    min-height: 500px;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.blog-single-section .container {
    max-width: 980px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------- */

.blog-breadcrumb {
    color: #777777;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 0 5px;
}

.blog-breadcrumb a {
    color: #496f9f;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #1d2b4f;
    text-decoration: underline;
}

.blog-breadcrumb span {
    color: #888888;
}


/* ---------------------------------------------------------
   MAIN ARTICLE CARD
   --------------------------------------------------------- */

.blog-post-wrapper {
    width: 100%;
}

.blog-post {
    background: #ffffff;
    padding: 45px 60px 40px;
    border: 1px solid #e4e7ea;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}


/* ---------------------------------------------------------
   POST TITLE
   --------------------------------------------------------- */

.blog-post > h1 {
    margin: 0 0 12px;
    padding: 0;
    color: #202f4d;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.4px;
}


/* ---------------------------------------------------------
   POST DATE
   --------------------------------------------------------- */

.blog-post .blog-date {
    margin: 0 0 30px;
    padding: 0;
    color: #858585;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FEATURED IMAGE
   --------------------------------------------------------- */

.blog-featured-image {
    width: 100%;
    margin: 0 0 35px;
    padding: 0;
}

.blog-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 2px;
}


/* ---------------------------------------------------------
   ARTICLE CONTENT
   --------------------------------------------------------- */

.blog-content {
    color: #333333;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}


/* Paragraphs */

.blog-content p {
    margin: 0 0 20px;
    padding: 0;
}


/* Headings */

.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #202f4d;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

.blog-content h2 {
    margin: 38px 0 16px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e5e8eb;
    font-size: 29px;
}

.blog-content h3 {
    margin: 32px 0 13px;
    font-size: 24px;
}

.blog-content h4 {
    margin: 27px 0 11px;
    font-size: 20px;
}

.blog-content h5 {
    margin: 24px 0 10px;
    font-size: 18px;
}

.blog-content h6 {
    margin: 22px 0 10px;
    font-size: 16px;
}


/* Links */

.blog-content a {
    color: #2868a6;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.blog-content a:hover {
    color: #174d7f;
    text-decoration: none;
    border-bottom-color: #174d7f;
}


/* Bold */

.blog-content strong,
.blog-content b {
    color: #292929;
    font-weight: 700;
}


/* Italic */

.blog-content em,
.blog-content i {
    font-style: italic;
}


/* ---------------------------------------------------------
   LISTS
   --------------------------------------------------------- */

.blog-content ul,
.blog-content ol {
    margin: 0 0 22px;
    padding-left: 27px;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin: 0 0 8px;
    padding-left: 3px;
    line-height: 1.75;
}

.blog-content li:last-child {
    margin-bottom: 0;
}


/* Nested lists */

.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
    margin-top: 8px;
    margin-bottom: 8px;
}


/* ---------------------------------------------------------
   BLOCKQUOTE
   --------------------------------------------------------- */

.blog-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    background: #f5f7fa;
    border-left: 4px solid #547da8;
    color: #555555;
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.75;
}

.blog-content blockquote p {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   IMAGES INSIDE ARTICLE
   --------------------------------------------------------- */

.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
}

.blog-content figure {
    max-width: 100%;
    margin: 28px 0;
}

.blog-content figcaption {
    margin-top: -17px;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}


/* ---------------------------------------------------------
   TABLES
   --------------------------------------------------------- */

.blog-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 15px;
    line-height: 1.6;
}

.blog-content th,
.blog-content td {
    padding: 11px 14px;
    border: 1px solid #dfe3e7;
    text-align: left;
    vertical-align: top;
}

.blog-content th {
    background: #f2f5f8;
    color: #202f4d;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-weight: 700;
}

.blog-content tr:nth-child(even) td {
    background: #fafbfc;
}


/* ---------------------------------------------------------
   HORIZONTAL RULE
   --------------------------------------------------------- */

.blog-content hr {
    margin: 35px 0;
    border: 0;
    border-top: 1px solid #e1e4e7;
}


/* ---------------------------------------------------------
   VIDEOS / IFRAMES
   --------------------------------------------------------- */

.blog-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    margin: 28px auto;
    border: 0;
}

.blog-content video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
}


/* ---------------------------------------------------------
   LABELS / TOPICS
   --------------------------------------------------------- */

.blog-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 35px 0 25px;
    padding-top: 22px;
    border-top: 1px solid #e5e7e9;
}

.blog-label-title {
    margin-right: 3px;
    color: #555555;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.blog-label {
    display: inline-block;
    padding: 5px 13px;
    background: #edf3f8;
    border: 1px solid #d7e2eb;
    border-radius: 30px;
    color: #3f668c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   SOCIAL SHARE
   --------------------------------------------------------- */

.blog-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid #e5e7e9;
    border-bottom: 1px solid #e5e7e9;
}

.blog-share-title {
    color: #555555;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    border: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog-share-buttons a:hover {
    color: #ffffff;
    text-decoration: none;
    border: 0;
    opacity: 0.85;
    transform: translateY(-1px);
}

.share-facebook {
    background: #1877f2;
}

.share-linkedin {
    background: #0a66c2;
}

.share-whatsapp {
    background: #25d366;
}

.share-x {
    background: #222222;
}


/* ---------------------------------------------------------
   BACK TO BLOG
   --------------------------------------------------------- */

.blog-back {
    margin-top: 25px;
}

.blog-back a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2868a6;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
}

.blog-back a:hover {
    color: #174d7f;
    text-decoration: none;
    border: 0;
}


/* =========================================================
   RELATED POSTS SECTION
   ========================================================= */

.blog-related {
    width: 100%;
    margin-top: 36px;
    padding: 32px;
    background: #f2f2f2;
    border: 1px solid #dce5eb;
    box-sizing: border-box;
}

.blog-related-header {
    margin-bottom: 26px;
}

.blog-related-header h2 {
    margin: 0 0 6px;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;

    color: #172b4d;
}

.blog-related-header p {
    margin: 0;

    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;

    color: #667085;
}


/* =========================================================
   RELATED POST
   ========================================================= */

.related-post {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   ROW 1 - TITLE
   ========================================================= */

.related-post-title {
    margin: 0 0 6px;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;

    color: #172b4d;
}

.related-post-title a {
    color: #172b4d;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #1f6fb2;
}


/* =========================================================
   ROW 2 - DATE
   ========================================================= */

.related-post-date {
    margin: 0 0 14px;

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.5;

    color: #7b8794;
}


/* =========================================================
   ROW 3 - IMAGE + EXCERPT
   ========================================================= */

.related-post-main {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}


/* Image */

.related-post-image {
    display: block;

    flex: 0 0 120px;
    width: 120px;
    height: 80px;

    margin-right: 22px;

    overflow: hidden;

    background: #dfe6eb;
}

.related-post-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Excerpt */

.related-post-excerpt {
    flex: 1;

    display: -webkit-box;

    margin: 0;
    max-width: 100%;

    overflow: hidden;

    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.65;

    color: #52606d;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* =========================================================
   ROW 4 - READ MORE
   ========================================================= */

.related-post-footer {
    width: 100%;
    margin-top: 10px;

    text-align: right;
}

.related-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #1f6fb2;
    text-decoration: none;
}

.related-read-more:hover {
    color: #155a91;
    text-decoration: none;
}

.related-read-more i {
    font-size: 11px;
}


/* =========================================================
   DASHED SEPARATOR
   ========================================================= */

.related-post-divider {
    width: 100%;
    height: 0;

    margin: 24px 0;

    border: 0;
    border-top: 1px dashed #b9c6d0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

    .blog-related {
        padding: 26px 22px;
    }

    .related-post-title {
        font-size: 18px;
    }

    .related-post-image {
        flex: 0 0 120px;
        width: 120px;
        height: 70px;

        margin-right: 18px;
    }

    .related-post-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .blog-related {
        padding: 22px 16px;
    }

    .blog-related-header {
        margin-bottom: 22px;
    }

    .blog-related-header h2 {
        font-size: 23px;
    }

    .related-post-title {
        font-size: 17px;
        line-height: 1.4;
    }

    .related-post-date {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .related-post-main {
        display: flex;
    }

    .related-post-image {
        flex: 0 0 100px;
        width: 100px;
        height: 60px;

        margin-right: 14px;
    }

    .related-post-excerpt {
        font-size: 12px;
        line-height: 1.55;

        -webkit-line-clamp: 3;
    }

    .related-post-footer {
        margin-top: 8px;
    }

    .related-read-more {
        font-size: 12px;
    }

    .related-post-divider {
        margin: 20px 0;
    }

}
/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .blog-single-section .container {
        width: auto;
        max-width: 900px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .blog-post {
        padding: 35px 40px;
    }

    .blog-post > h1 {
        font-size: 34px;
    }
}


@media (max-width: 767px) {

    .blog-single-section {
        padding: 20px 0 40px;
        font-size: 15px;
        line-height: 1.75;
    }

    .blog-single-section .container {
        width: auto;
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 0;
        padding-right: 0;
    }

    /* Breadcrumb */

    .blog-breadcrumb {
        margin-bottom: 15px;
        padding: 0 2px;
        font-size: 12px;
        line-height: 1.7;
    }

    /* Article */

    .blog-post {
        padding: 28px 20px 30px;
    }

    .blog-post > h1 {
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .blog-post .blog-date {
        margin-bottom: 22px;
        font-size: 12px;
    }

    /* Featured image */

    .blog-featured-image {
        margin-bottom: 25px;
    }

    /* Content */

    .blog-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .blog-content h2 {
        margin-top: 30px;
        font-size: 24px;
    }

    .blog-content h3 {
        margin-top: 26px;
        font-size: 21px;
    }

    .blog-content h4 {
        font-size: 18px;
    }

    .blog-content blockquote {
        padding: 15px 17px;
        font-size: 16px;
    }

    /* Tables */

    .blog-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Video */

    .blog-content iframe {
        min-height: 220px;
    }

    /* Labels */

    .blog-labels {
        margin-top: 28px;
        padding-top: 18px;
    }

    /* Share */

    .blog-share {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}


/* ---------------------------------------------------------
   EXTRA SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .blog-post {
        padding: 24px 16px 26px;
    }

    .blog-post > h1 {
        font-size: 25px;
    }

    .blog-content h2 {
        font-size: 22px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-label {
        padding: 5px 11px;
        font-size: 11px;
    }

    .blog-share-buttons a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

}


/* ---------------------------------------------------------
   PREVENT HORIZONTAL OVERFLOW
   --------------------------------------------------------- */

.blog-single-section,
.blog-single-section * {
    box-sizing: border-box;
}

.blog-single-section img,
.blog-single-section iframe,
.blog-single-section video {
    max-width: 100%;
}