/* ==========================================================
   DAILYZOUR SINGLE POST PAGE
   Astra Child Theme
   ========================================================== */


/* ==========================================================
   MAIN PAGE
   ========================================================== */

.dz-single-post {
    background: #ffffff;
    color: #263238;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.dz-single-post .dz-container {
    width: min(1180px, 92%);
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.dz-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.dz-breadcrumb a {
    color: #1677c8;
    text-decoration: none;
    font-weight: 500;
}

.dz-breadcrumb a:hover {
    text-decoration: underline;
}

.dz-breadcrumb-separator {
    color: #9ca3af;
}

.dz-breadcrumb-current {
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================
   ARTICLE HEADER
   ========================================================== */

.dz-single-header {
    padding: 20px 0 32px;
}

.dz-single-category {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 30px;
    background: #eaf6ff;
    color: #0875bd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
}

.dz-single-category:hover {
    background: #dff1fc;
    color: #05679f;
}

.dz-single-title {
    max-width: 920px;
    margin: 0;
    color: #162b3a;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.dz-single-excerpt {
    max-width: 820px;
    margin-top: 22px;
    color: #5f6b73;
    font-size: 20px;
    line-height: 1.7;
}

.dz-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: #6b7280;
    font-size: 14px;
}

.dz-author strong {
    color: #263238;
}

.dz-meta-separator {
    color: #b8c0c5;
}


/* ==========================================================
   FEATURED IMAGE
   ========================================================== */

.dz-featured-image {
    width: 100%;
    margin: 0 0 55px;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f5f7;
}

.dz-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}


/* ==========================================================
   MAIN ARTICLE + SIDEBAR
   ========================================================== */

.dz-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 65px;
}


/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */

.dz-article-content {
    min-width: 0;
}

.dz-entry-content {
    max-width: 790px;
    color: #303b42;
    font-size: 18px;
    line-height: 1.85;
}

.dz-entry-content p {
    margin: 0 0 24px;
}

.dz-entry-content a {
    color: #0878c1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.dz-entry-content a:hover {
    color: #045b91;
}


/* ==========================================================
   ARTICLE HEADINGS
   ========================================================== */

.dz-entry-content h2 {
    margin: 52px 0 20px;
    color: #172f40;
    font-size: 32px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.5px;
}

.dz-entry-content h3 {
    margin: 38px 0 16px;
    color: #203b4d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.dz-entry-content h4 {
    margin: 30px 0 14px;
    color: #29485a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================================
   ARTICLE LISTS
   ========================================================== */

.dz-entry-content ul,
.dz-entry-content ol {
    margin: 0 0 28px 25px;
    padding: 0;
}

.dz-entry-content li {
    margin-bottom: 10px;
    padding-left: 5px;
}


/* ==========================================================
   ARTICLE IMAGES
   ========================================================== */

.dz-entry-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 34px 0;
    border-radius: 14px;
}

.dz-entry-content figure {
    width: 100%;
    max-width: 100%;
    margin: 35px 0;
}

.dz-entry-content figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 14px;
}

.dz-entry-content figcaption {
    margin-top: 10px;
    color: #707b82;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}


/* ==========================================================
   BLOCKQUOTES
   ========================================================== */

.dz-entry-content blockquote {
    margin: 34px 0;
    padding: 22px 26px;
    border-left: 4px solid #1594d0;
    border-radius: 0 10px 10px 0;
    background: #f4f9fc;
    color: #40515b;
    font-size: 19px;
    line-height: 1.7;
}

.dz-entry-content blockquote p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   TABLES
   ========================================================== */

.dz-entry-content table {
    width: 100%;
    margin: 32px 0;
    border-collapse: collapse;
    font-size: 16px;
}

.dz-entry-content th,
.dz-entry-content td {
    padding: 13px 15px;
    border: 1px solid #dfe6ea;
    text-align: left;
    vertical-align: top;
}

.dz-entry-content th {
    background: #f2f7fa;
    color: #1c394b;
    font-weight: 700;
}


/* ==========================================================
   ARTICLE CODE
   ========================================================== */

.dz-entry-content code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #f1f4f5;
    font-size: .9em;
}

.dz-entry-content pre {
    margin: 30px 0;
    padding: 20px;
    overflow-x: auto;
    border-radius: 10px;
    background: #17232c;
    color: #ffffff;
}


/* ==========================================================
   PAGE LINKS
   ========================================================== */

.dz-page-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e5eaed;
}

.dz-page-links-title {
    margin-right: 5px;
    font-weight: 700;
}

.dz-page-links a,
.dz-page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #eef5f8;
    text-decoration: none;
}


/* ==========================================================
   TAGS
   ========================================================== */

.dz-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #e5eaed;
}

.dz-tags-label {
    margin-right: 5px;
    color: #37474f;
    font-weight: 700;
}

.dz-post-tags a {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 20px;
    background: #f1f5f7;
    color: #53636c;
    font-size: 13px;
    text-decoration: none;
}

.dz-post-tags a:hover {
    background: #e5eef2;
    color: #126e9f;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.dz-single-sidebar {
    position: sticky;
    top: 25px;
}

.dz-sidebar-box {
    margin-bottom: 25px;
    padding: 23px;
    border: 1px solid #e3eaee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 25px rgba(25, 65, 85, .06);
}

.dz-sidebar-box h2 {
    margin: 0 0 16px;
    color: #1d3748;
    font-size: 20px;
    line-height: 1.3;
}

.dz-sidebar-box p {
    margin: 0;
    color: #68767e;
    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   TABLE OF CONTENTS
   ========================================================== */

.dz-toc-box {
    border-top: 4px solid #168ac7;
}

.dz-toc-placeholder {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background: #f4f8fa;
    color: #68767e;
    font-size: 14px;
}


/* ==========================================================
   SIDEBAR RELATED POSTS
   ========================================================== */

.dz-sidebar-related-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edef;
}

.dz-sidebar-related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.dz-sidebar-related-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dz-sidebar-related-item img {
    display: block;
    width: 100%;
    height: 145px;
    margin-bottom: 11px;
    border-radius: 9px;
    object-fit: cover;
}

.dz-sidebar-related-item h3 {
    margin: 0;
    color: #284455;
    font-size: 16px;
    line-height: 1.4;
}

.dz-sidebar-related-item a:hover h3 {
    color: #0878c1;
}


/* ==========================================================
   AUTHOR / DAILYZOUR BOX
   ========================================================== */

.dz-author-section {
    margin-top: 75px;
    padding: 60px 0;
    background: #f5f9fb;
}

.dz-author-box {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px;
    border: 1px solid #e0e9ed;
    border-radius: 18px;
    background: #ffffff;
}

/* ==========================================================
   DAILYZOUR LOGO CIRCLE
   ========================================================== */

.dz-author-avatar {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e0e9ed;
}

.dz-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    object-fit: cover;
}

.dz-author-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #0878c1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dz-author-content h2 {
    margin: 0 0 10px;
    color: #1d3545;
    font-size: 25px;
    line-height: 1.3;
}

.dz-author-content p {
    max-width: 800px;
    margin: 0;
    color: #66757d;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   RELATED ARTICLES
   ========================================================== */

.dz-related-section {
    padding: 75px 0;
    background: #ffffff;
}

.dz-section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.dz-section-heading .dz-badge {
    display: inline-block;
    margin-bottom: 10px;
    color: #0878c1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dz-section-heading h2 {
    margin: 0 0 12px;
    color: #1a3445;
    font-size: 34px;
    line-height: 1.2;
}

.dz-section-heading p {
    margin: 0;
    color: #69777e;
    font-size: 16px;
    line-height: 1.7;
}

.dz-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.dz-related-card {
    overflow: hidden;
    border: 1px solid #e2e9ed;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 65, 85, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dz-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(25, 65, 85, .10);
}

.dz-related-image {
    display: block;
    overflow: hidden;
}

.dz-related-image img {
    display: block;
    width: 100%;
    height: 215px;
    object-fit: cover;
    transition: transform .25s ease;
}

.dz-related-card:hover .dz-related-image img {
    transform: scale(1.03);
}

.dz-related-content {
    padding: 21px;
}

.dz-related-category {
    display: block;
    margin-bottom: 8px;
    color: #0878c1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dz-related-content h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

.dz-related-content h3 a {
    color: #203b4d;
    text-decoration: none;
}

.dz-related-content h3 a:hover {
    color: #0878c1;
}

.dz-related-content p {
    margin: 0 0 15px;
    color: #6b777e;
    font-size: 14px;
    line-height: 1.65;
}

.dz-related-readmore {
    color: #0878c1;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dz-related-readmore:hover {
    color: #045b91;
}

.dz-no-related {
    grid-column: 1 / -1;
    margin: 0;
    color: #6b777e;
    text-align: center;
}


/* ==========================================================
   DESKTOP ASTRA OVERRIDES
   ========================================================== */

.single-post .site-content,
.single-post .content-area {
    width: 100%;
}

.single-post .site-main {
    margin: 0;
}

.single-post .entry-header {
    display: none;
}

.single-post .entry-content {
    margin: 0;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .dz-single-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 35px;
    }

    .dz-single-title {
        font-size: 48px;
    }

    .dz-entry-content {
        font-size: 17px;
        line-height: 1.8;
    }

    .dz-entry-content h2 {
        font-size: 29px;
    }

    .dz-entry-content h3 {
        font-size: 22px;
    }

    .dz-related-grid {
        gap: 18px;
    }

    .dz-related-image img {
        height: 185px;
    }

}


/* ==========================================================
   MOBILE / TABLET
   ========================================================== */

@media (max-width: 768px) {

    .dz-single-post .dz-container {
        width: min(94%, 700px);
    }

    .dz-breadcrumb {
        padding-top: 18px;
        font-size: 13px;
    }

    .dz-single-header {
        padding-top: 15px;
        padding-bottom: 25px;
    }

    .dz-single-category {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .dz-single-title {
        font-size: 38px;
        line-height: 1.12;
        letter-spacing: -.7px;
    }

    .dz-single-excerpt {
        margin-top: 17px;
        font-size: 17px;
        line-height: 1.65;
    }

    .dz-post-meta {
        gap: 7px;
        font-size: 13px;
    }

    .dz-featured-image {
        margin-bottom: 38px;
        border-radius: 13px;
    }

    .dz-single-layout {
        display: block;
    }

    .dz-entry-content {
        max-width: none;
        font-size: 17px;
        line-height: 1.8;
    }

    .dz-entry-content h2 {
        margin-top: 42px;
        font-size: 28px;
    }

    .dz-entry-content h3 {
        margin-top: 32px;
        font-size: 22px;
    }

    .dz-entry-content h4 {
        font-size: 19px;
    }

    .dz-entry-content img {
        margin: 28px auto;
        border-radius: 11px;
    }

    .dz-single-sidebar {
        position: static;
        margin-top: 45px;
    }

    .dz-sidebar-box {
        padding: 20px;
    }

    .dz-author-section {
        margin-top: 55px;
        padding: 45px 0;
    }

    .dz-author-box {
        align-items: flex-start;
        gap: 18px;
        padding: 23px;
    }

    .dz-author-content h2 {
        font-size: 22px;
    }

    .dz-author-content p {
        font-size: 15px;
    }

    .dz-related-section {
        padding: 55px 0;
    }

    .dz-section-heading h2 {
        font-size: 29px;
    }

    .dz-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dz-related-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .dz-single-post .dz-container {
        width: 92%;
    }

    .dz-single-title {
        font-size: 32px;
    }

    .dz-single-excerpt {
        font-size: 16px;
    }

    .dz-post-meta {
        display: block;
        line-height: 1.9;
    }

    .dz-meta-separator {
        display: inline-block;
        margin: 0 4px;
    }

    .dz-entry-content {
        font-size: 16px;
        line-height: 1.78;
    }

    .dz-entry-content h2 {
        font-size: 25px;
    }

    .dz-entry-content h3 {
        font-size: 21px;
    }

    .dz-entry-content blockquote {
        padding: 18px;
        font-size: 17px;
    }

    .dz-author-box {
        display: block;
    }

    .dz-author-avatar {
        margin-bottom: 18px;
    }

    .dz-author-content h2 {
        font-size: 21px;
    }

    .dz-section-heading h2 {
        font-size: 26px;
    }

}
/* ==========================================================
   AUTOMATIC TABLE OF CONTENTS
   ========================================================== */

.dz-toc-placeholder {
    margin-top: 16px;
    padding: 0;
    background: transparent;
}

.dz-toc-placeholder > p {
    margin: 0;
    color: #68767e;
    font-size: 14px;
    line-height: 1.6;
}

.dz-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dz-toc-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f3;
}

.dz-toc-list li:last-child {
    border-bottom: 0;
}

.dz-toc-list a {
    display: block;
    padding: 9px 4px;
    color: #405762;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.dz-toc-list a:hover {
    padding-left: 8px;
    color: #0878c1;
}

.dz-toc-list .dz-toc-h3 a {
    padding-left: 17px;
    color: #69777e;
    font-size: 13px;
}

.dz-toc-list .dz-toc-h3 a:hover {
    padding-left: 22px;
    color: #0878c1;
}

.dz-toc-empty {
    margin: 0;
    color: #68767e;
    font-size: 14px;
}