/* =========================================================
   ANWAR & SONS
   SINGLE BLOG POST
========================================================= */

.anwar-single-post-page,
.anwar-single-post-page * {
    box-sizing: border-box;
}

.anwar-single-post-page {
    width: 100%;
    padding: 55px 20px 90px;

    background: #ffffff;
    color: #111111;
}

.anwar-single-post-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.anwar-single-breadcrumb {
    margin-bottom: 32px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #7b8798;

    font-size: 13px;
    line-height: 1.4;
}

.anwar-single-breadcrumb a {
    color: #2654b1 !important;

    text-decoration: none !important;
}

.anwar-single-breadcrumb > span:last-child {
    max-width: 500px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   POST HEADER
========================================================= */

.anwar-single-post-header {
    max-width: 1050px;

    margin-bottom: 38px;
}

.anwar-single-category {
    display: inline-flex;

    margin-bottom: 14px;

    padding: 7px 12px;

    border-radius: 999px;

    background: #eef4ff;

    color: #2654b1 !important;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .08em;

    text-decoration: none !important;
    text-transform: uppercase;
}

.anwar-single-post-title {
    margin: 0 0 16px;

    color: #0e1f3d;

    font-size: clamp(
        36px,
        4vw,
        58px
    );

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -.035em;
}

.anwar-single-post-meta {
    display: flex;
    align-items: center;

    gap: 15px;

    color: #7b8798;

    font-size: 13px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.anwar-single-post-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(290px, 360px);

    gap: 45px;

    align-items: start;
}


/* =========================================================
   ARTICLE
========================================================= */

.anwar-single-post-main {
    min-width: 0;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.anwar-single-featured-image {
    width: 100%;

    margin-bottom: 36px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    background: #f5f8ff;
}

.anwar-single-featured-image img {
    width: 100%;
    height: auto;

    max-height: 620px;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   POST CONTENT
========================================================= */

.anwar-single-post-content {
    color: #334155;

    font-size: 16px;

    line-height: 1.8;
}

.anwar-single-post-content > *:first-child {
    margin-top: 0;
}

.anwar-single-post-content > *:last-child {
    margin-bottom: 0;
}


/* Paragraph */

.anwar-single-post-content p {
    margin:
        0 0 22px;
}


/* Headings */

.anwar-single-post-content h2,
.anwar-single-post-content h3,
.anwar-single-post-content h4,
.anwar-single-post-content h5,
.anwar-single-post-content h6 {
    color: #0e1f3d;

    font-weight: 700;

    line-height: 1.25;
}

.anwar-single-post-content h2 {
    margin:
        42px 0 18px;

    font-size: 30px;
}

.anwar-single-post-content h3 {
    margin:
        34px 0 16px;

    font-size: 24px;
}

.anwar-single-post-content h4 {
    margin:
        28px 0 14px;

    font-size: 20px;
}


/* Links */

.anwar-single-post-content a {
    color: #2654b1;

    text-decoration:
        underline;

    text-underline-offset: 3px;
}


/* Lists */

.anwar-single-post-content ul,
.anwar-single-post-content ol {
    margin:
        0 0 24px;

    padding-left: 24px;
}

.anwar-single-post-content li {
    margin-bottom: 8px;
}


/* Images */

.anwar-single-post-content img {
    max-width: 100%;
    height: auto;

    border-radius: 8px;
}


/* Blockquote */

.anwar-single-post-content blockquote {
    margin:
        32px 0;

    padding:
        20px 24px;

    border-left:
        4px solid #2654b1;

    background:
        #f5f8ff;

    color:
        #334155;

    font-size: 17px;

    line-height: 1.7;
}


/* Tables */

.anwar-single-post-content table {
    width: 100%;

    margin:
        28px 0;

    border-collapse: collapse;

    font-size: 14px;
}

.anwar-single-post-content th,
.anwar-single-post-content td {
    padding:
        12px 14px;

    border:
        1px solid #dce4ef;

    text-align: left;
}

.anwar-single-post-content th {
    background:
        #f5f8ff;

    color:
        #0e1f3d;

    font-weight: 700;
}


/* =========================================================
   PAGE LINKS
========================================================= */

.anwar-single-page-links {
    margin-top: 30px;
}


/* =========================================================
   POST CATEGORIES
========================================================= */

.anwar-single-post-categories {
    margin-top: 42px;

    padding-top: 24px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    border-top:
        1px solid #e7ebf3;
}

.anwar-single-post-categories-label {
    color: #0e1f3d;

    font-size: 13px;
    font-weight: 700;
}

.anwar-single-post-category-list {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}

.anwar-single-post-category-list a {
    padding:
        7px 11px;

    border:
        1px solid #dce4ef;

    border-radius:
        999px;

    background:
        transparent;

    color:
        #2654b1 !important;

    font-size: 12px;
    font-weight: 600;

    text-decoration:
        none !important;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
}


/* =========================================================
   SIDEBAR
========================================================= */

.anwar-single-sidebar {
    min-width: 0;
}

.anwar-single-sidebar-inner {
    position: sticky;

    top: 110px;

    padding: 24px;

    border:
        1px solid #e1e7ef;

    border-radius:
        12px;

    background:
        #ffffff;

    box-shadow:
        0 8px 30px
        rgba(20, 48, 95, .05);
}


/* =========================================================
   SIDEBAR HEADING
========================================================= */

.anwar-single-sidebar-heading {
    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom:
        1px solid #e7ebf3;
}

.anwar-single-sidebar-heading span {
    display: block;

    margin-bottom: 7px;

    color: #2654b1;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.anwar-single-sidebar-heading h2 {
    margin: 0;

    color: #0e1f3d;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================================================
   RECENT POSTS
========================================================= */

.anwar-single-recent-posts {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

.anwar-single-recent-card {
    display: grid;

    grid-template-columns:
        92px
        minmax(0, 1fr);

    gap: 13px;

    align-items: center;
}


/* =========================================================
   RECENT IMAGE
========================================================= */

.anwar-single-recent-image {
    width: 92px;
    height: 76px;

    display: block;

    overflow: hidden;

    border-radius: 8px;

    background:
        #f5f8ff;

    text-decoration:
        none !important;
}

.anwar-single-recent-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform .3s ease;
}

.anwar-single-recent-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2654b1;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   RECENT CONTENT
========================================================= */

.anwar-single-recent-content {
    min-width: 0;
}

.anwar-single-recent-content h3 {
    margin:
        0 0 7px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;
}

.anwar-single-recent-content h3 a {
    color: #0e1f3d !important;

    text-decoration: none !important;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;

    transition:
        color .25s ease;
}

.anwar-single-recent-content time {
    color: #8b94a5;

    font-size: 11px;
}


/* =========================================================
   SIDEBAR BUTTON
========================================================= */

.anwar-single-sidebar-view-all {
    width: 100%;

    margin-top: 24px;

    min-height: 44px;

    padding:
        10px 16px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border:
        1px solid #2654b1;

    border-radius: 8px;

    background:
        transparent;

    color:
        #2654b1 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration:
        none !important;

    transition:
        background-color .25s ease,
        color .25s ease;
}


/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .anwar-single-category:hover {
        background:
            #2654b1;

        color:
            #ffffff !important;
    }


    .anwar-single-post-category-list a:hover {
        border-color:
            #2654b1;

        background:
            #2654b1;

        color:
            #ffffff !important;
    }


    .anwar-single-recent-card:hover
    .anwar-single-recent-image img {
        transform:
            scale(1.04);
    }


    .anwar-single-recent-content h3 a:hover {
        color:
            #2654b1 !important;
    }


    .anwar-single-sidebar-view-all:hover {
        background:
            #2654b1;

        color:
            #ffffff !important;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .anwar-single-post-page {
        padding:
            50px 18px 80px;
    }


    .anwar-single-post-layout {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap:
            30px;
    }


    .anwar-single-sidebar-inner {
        padding:
            20px;
    }


    .anwar-single-recent-card {
        grid-template-columns:
            78px
            minmax(0, 1fr);
    }


    .anwar-single-recent-image {
        width:
            78px;

        height:
            68px;
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .anwar-single-post-layout {
        grid-template-columns:
            1fr;

        gap:
            45px;
    }


    .anwar-single-sidebar-inner {
        position:
            static;

        top:
            auto;
    }


    .anwar-single-sidebar {
        width:
            100%;
    }


    .anwar-single-recent-posts {
        display:
            grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            16px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .anwar-single-post-page {
        padding:
            38px 12px 60px;
    }


    .anwar-single-breadcrumb {
        margin-bottom:
            24px;

        font-size:
            12px;
    }


    .anwar-single-post-header {
        margin-bottom:
            28px;
    }


    .anwar-single-post-title {
        font-size:
            34px;
    }


    .anwar-single-featured-image {
        margin-bottom:
            28px;

        border-radius:
            9px;
    }


    .anwar-single-post-content {
        font-size:
            15px;

        line-height:
            1.75;
    }


    .anwar-single-post-content h2 {
        font-size:
            26px;
    }


    .anwar-single-post-content h3 {
        font-size:
            22px;
    }


    .anwar-single-recent-posts {
        grid-template-columns:
            1fr;
    }


    .anwar-single-sidebar-inner {
        padding:
            18px;
    }


    .anwar-single-recent-card {
        grid-template-columns:
            90px
            minmax(0, 1fr);
    }


    .anwar-single-recent-image {
        width:
            90px;

        height:
            74px;
    }


    .anwar-single-post-categories {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .anwar-single-post-title {
        font-size:
            30px;
    }


    .anwar-single-recent-card {
        grid-template-columns:
            78px
            minmax(0, 1fr);
    }


    .anwar-single-recent-image {
        width:
            78px;

        height:
            68px;
    }

}

/* =========================================================
   NATIVE COMMENT COLORS
========================================================= */

/* Comment section links */
.comments-area a,
.comment-respond a,
.logged-in-as a,
.comment-metadata a,
.comment-author a,
.reply a {
    color: #2654b1 !important;
    text-decoration: none;
}

.comments-area a:hover,
.comment-respond a:hover,
.logged-in-as a:hover,
.comment-metadata a:hover,
.comment-author a:hover,
.reply a:hover {
    color: #1f4591 !important;
}


/* Post Comment button */
.form-submit .submit,
.comment-form .submit,
#submit {
    min-height: 46px;

    padding: 11px 20px;

    border: 1px solid #2654b1 !important;
    border-radius: 8px;

    background: #2654b1 !important;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
}


/* Button hover */
.form-submit .submit:hover,
.comment-form .submit:hover,
#submit:hover {
    border-color: #1f4591 !important;

    background: #1f4591 !important;

    color: #ffffff !important;
}


/* Comment form focus */
.comment-form textarea:focus,
.comment-form input:focus {
    border-color: #2654b1 !important;

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(38, 84, 177, .10);
}