/* =========================================================
   DOOGER MAGAZINE
   v2.6.0
   ========================================================= */

body.blog,
body.category,
body.tag,
body.single-post {
    background: #f6f8fa;
}

.dooger-mag-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.dooger-mag-hero {
    padding: 125px 0 56px;
    border-bottom: 1px solid #d9dee5;
    background:
        radial-gradient(circle at 15% 20%, rgba(227,27,35,.06), transparent 30%),
        #f6f8fa;
}

.dooger-mag-eyebrow {
    margin: 0 0 9px;
    color: #c5161d;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 800;
}

.dooger-mag-hero h1 {
    margin: 0;
    color: #12161b;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.25;
}

.dooger-mag-hero p:last-child {
    max-width: 700px;
    margin: 17px 0 0;
    color: #71685f;
    font-size: 14px;
    line-height: 2;
}

.dooger-mag-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 0;
}

.dooger-mag-categories a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #ddd5cb;
    border-radius: 999px;
    background: #fff;
    color: #5d554d;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.dooger-mag-categories a:hover {
    border-color: #e31b23;
    color: #8b6a2f;
}

.dooger-mag-main {
    padding: 58px 0 85px;
}

.dooger-mag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.dooger-mag-card {
    overflow: hidden;
    border: 1px solid #e7dfd5;
    border-radius: 16px;
    background: #fff;
}

.dooger-mag-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee9e1;
}

.dooger-mag-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.dooger-mag-card:hover .dooger-mag-card-image img {
    transform: scale(1.035);
}

.dooger-mag-card-body {
    padding: 20px;
}

.dooger-mag-card-meta,
.dooger-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: center;
    color: #958b80;
    font-size: 9px;
}

.dooger-mag-card-meta a,
.dooger-article-meta a {
    color: #9a7441;
    text-decoration: none;
}

.dooger-mag-card h2 {
    margin: 10px 0 9px;
    color: #302a25;
    font-size: 18px;
    line-height: 1.75;
}

.dooger-mag-card h2 a {
    color: inherit;
    text-decoration: none;
}

.dooger-mag-card p {
    margin: 0;
    color: #756d64;
    font-size: 12px;
    line-height: 2;
}

.dooger-mag-card-more {
    display: inline-flex;
    margin-top: 15px;
    color: #8b6a2f;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

/* Article */
.dooger-article {
    padding: 115px 0 90px;
}

.dooger-article-header {
    max-width: 880px;
    margin: 0 auto 35px;
    text-align: center;
}

.dooger-article-breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 25px;
    color: #958b80;
    font-size: 10px;
}

.dooger-article-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.dooger-article-header h1 {
    margin: 12px auto 16px;
    color: #27221d;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.45;
}

.dooger-article-header .dooger-article-meta {
    justify-content: center;
}

.dooger-article-cover {
    max-width: 1050px;
    margin: 0 auto 36px;
    overflow: hidden;
    border-radius: 18px;
    background: #eee9e1;
}

.dooger-article-cover img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.dooger-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 240px;
    gap: 48px;
    justify-content: center;
    align-items: start;
}

.dooger-article-content {
    min-width: 0;
    color: #514a43;
    font-size: 15px;
    line-height: 2.2;
}

.dooger-article-content > *:first-child {
    margin-top: 0;
}

.dooger-article-content h2,
.dooger-article-content h3 {
    scroll-margin-top: 110px;
    color: #151a20;
    line-height: 1.65;
}

.dooger-article-content h2 {
    margin: 48px 0 16px;
    font-size: 26px;
}

.dooger-article-content h3 {
    margin: 34px 0 13px;
    font-size: 20px;
}

.dooger-article-content p {
    margin: 0 0 19px;
}

.dooger-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 13px;
}

.dooger-article-content a {
    color: #8b6a2f;
    text-underline-offset: 3px;
}

.dooger-article-content blockquote {
    margin: 28px 0;
    padding: 17px 20px;
    border-right: 3px solid #e31b23;
    background: #f4f0ea;
    color: #5e554d;
}

.dooger-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 12px;
}

.dooger-article-content th,
.dooger-article-content td {
    padding: 11px;
    border: 1px solid #e1d8ce;
    text-align: right;
}

.dooger-article-sidebar {
    position: sticky;
    top: 100px;
}

.dooger-article-toc {
    padding: 17px;
    border: 1px solid #e4dcd2;
    border-radius: 13px;
    background: #fff;
}

.dooger-article-toc h3 {
    margin: 0 0 12px;
    color: #37312c;
    font-size: 12px;
}

.dooger-article-toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dooger-article-toc a {
    color: #746b62;
    text-decoration: none;
    font-size: 10px;
    line-height: 1.8;
}

.dooger-article-toc li.is-h3 {
    padding-right: 13px;
}

.dooger-article-toc a:hover {
    color: #c5161d;
}

/* Related products */
.dooger-article-products,
.dooger-related-articles {
    max-width: 1050px;
    margin: 60px auto 0;
    padding-top: 34px;
    border-top: 1px solid #e3dbd1;
}

.dooger-article-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.dooger-article-section-head h2 {
    margin: 0;
    color: #312b26;
    font-size: 24px;
}

.dooger-article-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.dooger-article-product-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dooger-article-product-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 9px;
    border-radius: 11px;
    background: #eee9e1;
}

.dooger-article-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.dooger-article-product-card strong {
    display: block;
    color: #39322d;
    font-size: 11px;
}

.dooger-article-product-card span {
    display: block;
    margin-top: 4px;
    color: #8b6a2f;
    font-size: 10px;
}

.dooger-inline-product-card {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    gap: 15px;
    align-items: center;
    margin: 28px 0;
    padding: 12px;
    border: 1px solid #e2dad0;
    border-radius: 13px;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
}

.dooger-inline-product-image {
    width: 100px;
    height: 76px;
    overflow: hidden;
    border-radius: 9px;
    background: #eee9e1;
}

.dooger-inline-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.dooger-inline-product-card small {
    display: block;
    color: #9a7441;
    font-size: 9px;
}

.dooger-inline-product-card strong {
    display: block;
    margin: 4px 0;
    color: #342e29;
    font-size: 13px;
}

.dooger-inline-product-card span {
    color: #8b6a2f;
    font-size: 11px;
}

.dooger-mag-pagination {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.dooger-mag-pagination .page-numbers {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #ddd5cb;
    border-radius: 9px;
    background: #fff;
    color: #625a52;
    text-decoration: none;
    font-size: 10px;
}

.dooger-mag-pagination .current {
    border-color: #e31b23;
    background: #e31b23;
    color: #fff;
}

@media(max-width:950px) {
    .dooger-mag-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .dooger-article-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .dooger-article-sidebar {
        position: static;
        order: -1;
    }

    .dooger-article-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:580px) {
    .dooger-mag-shell {
        width: min(100% - 28px, 720px);
    }

    .dooger-mag-hero {
        padding: 92px 0 45px;
    }

    .dooger-mag-grid {
        grid-template-columns: 1fr;
    }

    .dooger-article {
        padding-top: 90px;
    }

    .dooger-article-header {
        text-align: right;
    }

    .dooger-article-breadcrumb,
    .dooger-article-header .dooger-article-meta {
        justify-content: flex-start;
    }

    .dooger-article-product-grid {
        grid-template-columns: 1fr 1fr;
    }
}
