/* ==========================================================
   DealCraft Academy — Blog Archive
   FINAL CLEAN VERSION

   Typography:
   Spectral  — editorial headings / labels
   Poppins   — body / UI
========================================================== */

/* ----------------------------------------------------------
   Load required font weights
---------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Spectral:wght@400;500;600;700&display=swap');


/* ==========================================================
   BLOG PAGE BASE
========================================================== */

html body.dc-blog-body {
    background: #EFEAE8;
}

.site-main.dc-blog-page {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #EFEAE8;
}

.dc-blog-page {
    --dc-alabaster: #EFEAE8;
    --dc-dolphin: #8A9083;
    --dc-silver: #C2C3B5;
    --dc-beaver: #A67F68;
    --dc-taupe: #B99B86;
    --dc-frost: #D4C4B8;
    --dc-ink: #292A27;
    --dc-muted: #666860;
    --dc-white: #FFFFFF;
    --dc-line: rgba(41, 42, 39, .16);

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 88px;

    color: var(--dc-ink);
    background: var(--dc-alabaster);

    font-family: "Poppins", sans-serif;

    overflow: hidden;
}

.dc-blog-page *,
.dc-blog-page *::before,
.dc-blog-page *::after {
    box-sizing: border-box;
}


/* ==========================================================
   CONTAINER
========================================================== */

.dc-blog-shell {
    width: min(1180px, calc(100% - 64px));
    max-width: 1180px;
    margin: 0 auto;
}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

/* All editorial headings */
.dc-blog-page h1,
.dc-blog-page h2,
.dc-blog-page h3 {
    font-family: "Spectral", Georgia, serif;
}

/* All body/UI */
.dc-blog-page,
.dc-blog-page p,
.dc-blog-page a,
.dc-blog-page input,
.dc-blog-page button,
.dc-blog-page select {
    font-family: "Poppins", sans-serif;
}


/* ==========================================================
   EDITORIAL EYEBROWS / LABELS
   Requested: Spectral, 14px
========================================================== */

.dc-blog-page .dc-blog-eyebrow,
.dc-blog-page .dc-blog-meta-label {
    margin: 0 0 15px;

    color: var(--dc-beaver);

    font-family: "Spectral", Georgia, serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: .18em !important;

    text-transform: uppercase;
}


/* ==========================================================
   INTRO / PAGE HEADER
========================================================== */

.dc-blog-intro {
    padding: 74px 0 42px;
    border-bottom: 1px solid var(--dc-line);
}

.dc-blog-intro h1 {
    max-width: 1000px;
    margin: 0;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif !important;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;

    text-transform: none;
}

.dc-blog-intro-text {
    max-width: 780px;
    margin: 22px 0 0;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================
   FEATURED ARTICLE
========================================================== */

.dc-blog-featured {
    display: grid;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
    gap: 64px;
    align-items: stretch;

    padding: 38px 0 86px;
}

.dc-blog-featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px 0;
}

.dc-blog-date {
    display: block;
    margin: 0 0 38px;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.dc-blog-featured h2 {
    max-width: 500px;
    margin: 0 0 18px;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif !important;
    font-size: clamp(36px, 3.05vw, 46px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: 0;

    text-transform: none;
}

.dc-blog-featured h2 a {
    color: inherit;
    text-decoration: none;
}

.dc-blog-featured-copy > p {
    max-width: 510px;
    margin: 0 0 28px;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}


/* ==========================================================
   IMAGES
========================================================== */

.dc-blog-featured-image,
.dc-blog-card-image,
.dc-blog-cta-image {
    display: block;
    overflow: hidden;
    background: var(--dc-silver);
}

.dc-blog-featured-image {
    width: 100%;
    height: clamp(410px, 38vw, 520px);
}

.dc-blog-featured-image img,
.dc-blog-card-image img,
.dc-blog-cta-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.dc-blog-featured-image:hover img,
.dc-blog-card-image:hover img,
.dc-blog-cta-image:hover img {
    transform: scale(1.025);
}

.dc-blog-image-placeholder {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 220px;

    background: var(--dc-silver);
}


/* ==========================================================
   BUTTONS
========================================================== */

.dc-blog-button,
.dc-blog-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-width: 132px;
    min-height: 42px;

    padding: 10px 22px;

    border: 1px solid var(--dc-beaver);
    border-radius: 0;

    background: var(--dc-beaver);
    color: #fff !important;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;

    text-decoration: none !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.dc-blog-button:hover,
.dc-blog-button:focus,
.dc-blog-load-more:hover:not(:disabled),
.dc-blog-load-more:focus:not(:disabled) {
    background: var(--dc-taupe);
    border-color: var(--dc-taupe);
    color: #fff !important;

    transform: translateY(-1px);
}


/* ==========================================================
   CONTENT + SIDEBAR
========================================================== */

.dc-blog-content-layout {
    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);
    gap: 42px;

    align-items: start;
}


/* ==========================================================
   SIDEBAR
========================================================== */

.dc-blog-sidebar {
    font-family: "Poppins", sans-serif;
}

/* Search widget */
.dc-blog-sidebar .widget_search {
    margin-bottom: 30px !important;
}

.dc-blog-sidebar .widget_search .search-form {
    margin: 0 !important;
}

.dc-blog-sidebar .widget_search .search-field {
    min-height: 42px !important;

    padding: 9px 42px 9px 14px !important;

    font-family: "Poppins", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4;
}

.dc-blog-sidebar .widget_search .search-submit {
    min-height: 42px !important;
}


/* Sidebar headings */
.dc-blog-sidebar .widgettitle,
.dc-blog-sidebar .widget-title {
    margin: 0 0 18px !important;

    color: var(--dc-ink) !important;

    font-family: "Spectral", Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;

    text-transform: uppercase !important;
}


/* Categories */
.dc-blog-sidebar .widget_categories ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.dc-blog-sidebar .widget_categories ul li {
    margin: 0 0 7px !important;
    padding: 0 !important;
}

.dc-blog-sidebar .widget_categories ul li:last-child {
    margin-bottom: 0 !important;
}

.dc-blog-sidebar .widget_categories ul li a {
    font-family: "Poppins", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5;
}


/* ==========================================================
   ARTICLE GRID
========================================================== */

.dc-blog-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;
}

.dc-blog-card {
    display: grid;

    grid-template-columns: minmax(145px, .9fr) minmax(0, 1.1fr);

    min-height: 238px;

    background: var(--dc-white);

    box-shadow: 0 10px 26px rgba(41, 42, 39, .055);
}

.dc-blog-card-image {
    width: 100%;
    height: 238px;
}

.dc-blog-card-content {
    display: flex;
    min-width: 0;

    flex-direction: column;
    align-items: flex-start;

    padding: 21px 20px 19px;
}


/* Article tags */
.dc-blog-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin: 0 0 13px;
}

.dc-blog-tags span {
    padding: 4px 7px;

    border: 1px solid rgba(138, 144, 131, .42);

    background: var(--dc-alabaster);
    color: var(--dc-dolphin);

    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
}


/* Article title */
.dc-blog-card h2 {
    margin: 0 0 10px;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif !important;
    font-size: clamp(21px, 1.55vw, 25px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0;

    text-transform: none;
}

.dc-blog-card h2 a {
    color: inherit;
    text-decoration: none;
}


/* Article excerpt */
.dc-blog-card p {
    margin: 0 0 16px;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}


/* Small card button */
.dc-blog-button-small {
    width: 100%;
    min-width: 0;
    min-height: 38px;

    margin-top: auto;

    background: var(--dc-beaver);
    border-color: var(--dc-beaver);
}

.dc-blog-button-small:hover,
.dc-blog-button-small:focus {
    background: var(--dc-taupe);
    border-color: var(--dc-taupe);
}


/* ==========================================================
   LOAD MORE
========================================================== */

.dc-blog-load-more-wrap {
    display: flex;
    justify-content: center;

    margin-top: 48px;
}

.dc-blog-load-more {
    position: relative;

    min-width: 190px;
    min-height: 44px;

    padding: 11px 24px;

    cursor: pointer;
}

.dc-blog-load-more:disabled {
    cursor: wait;
    opacity: .75;
}

.dc-blog-load-more-spinner {
    display: none;

    width: 15px;
    height: 15px;

    margin-left: 9px;

    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;

    animation: dc-blog-spin .7s linear infinite;
}

.dc-blog-load-more.is-loading .dc-blog-load-more-spinner {
    display: inline-block;
}

@keyframes dc-blog-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================
   KEEP LEARNING CTA
========================================================== */

.dc-blog-cta {
    display: grid;

    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);

    gap: 62px;

    align-items: center;

    margin-top: 108px;
}

.dc-blog-cta-image {
    width: 100%;
    height: 365px;
}

.dc-blog-cta-copy {
    padding: 20px 0;
}

.dc-blog-cta-copy h2 {
    max-width: 560px;
    margin: 0 0 17px;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif !important;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;

    text-transform: uppercase;
}

.dc-blog-cta-copy > p:not(.dc-blog-eyebrow) {
    max-width: 520px;
    margin: 0 0 25px;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   CONTACT
========================================================== */

.dc-blog-contact {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 330px;

    margin-top: 92px;
    padding: 56px 30px;

    text-align: center;

    background: #fff;
}

.dc-blog-contact-copy {
    max-width: 760px;
}

.dc-blog-contact-copy .dc-blog-eyebrow {
    margin-bottom: 12px;
}

.dc-blog-contact-copy h2 {
    margin: 0 0 16px;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif !important;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
}

.dc-blog-contact-copy p:not(.dc-blog-eyebrow) {
    max-width: 620px;

    margin: 0 auto 26px;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.dc-blog-contact-copy .dc-blog-button {
    margin: 0 auto;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.dc-blog-empty {
    margin: 60px 0 100px;
    padding: 80px 30px;

    text-align: center;

    background: var(--dc-white);
}

.dc-blog-empty h2 {
    margin: 0 0 10px;

    color: var(--dc-ink);

    font-family: "Spectral", Georgia, serif;
    font-size: 38px;
    font-weight: 400;
}

.dc-blog-empty p {
    margin: 0;

    color: var(--dc-muted);

    font-family: "Poppins", sans-serif;
    font-size: 13px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .dc-blog-shell {
        width: min(1180px, calc(100% - 48px));
    }

    .dc-blog-featured {
        gap: 38px;
    }

    .dc-blog-content-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 26px;
    }

    .dc-blog-card {
        grid-template-columns:
            minmax(145px, .82fr)
            minmax(0, 1.18fr);
    }

    .dc-blog-card-image {
        height: 245px;
    }

    .dc-blog-card-content {
        padding: 18px;
    }
}


/* ==========================================================
   992–1200
========================================================== */

@media (max-width: 1200px) and (min-width: 992px) {

    .dc-blog-intro h1,
    .dc-blog-cta-copy h2,
    .dc-blog-contact-copy h2 {
        font-size: 46px;
        line-height: 1.08;
    }
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) and (min-width: 768px) {

    .dc-blog-intro h1,
    .dc-blog-cta-copy h2,
    .dc-blog-contact-copy h2 {
        font-size: 42px;
        line-height: 1.08;
    }

    .dc-blog-intro-text,
    .dc-blog-cta-copy > p:not(.dc-blog-eyebrow),
    .dc-blog-contact-copy p:not(.dc-blog-eyebrow) {
        font-size: 16px;
        line-height: 1.75;
    }
}


/* ==========================================================
   MOBILE / SMALL TABLET
========================================================== */

@media (max-width: 900px) {

    .dc-blog-shell {
        width: min(100% - 48px, 1180px);
    }

    .dc-blog-intro {
        padding-top: 64px;
    }

    .dc-blog-featured {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 64px;
    }

    .dc-blog-featured-image {
        height: 390px;
        grid-row: 1;
    }

    .dc-blog-featured-copy {
        grid-row: 2;
        padding: 0;
    }

    .dc-blog-content-layout {
        grid-template-columns: 1fr;
    }

    .dc-blog-category-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }

    .dc-blog-grid {
        grid-template-columns: 1fr;
    }

    .dc-blog-card {
        grid-template-columns:
            minmax(190px, .8fr)
            minmax(0, 1.2fr);
    }

    .dc-blog-card-image {
        height: 250px;
    }

    .dc-blog-cta {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 82px;
    }

    .dc-blog-cta-image {
        height: 340px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .dc-blog-intro h1,
    .dc-blog-cta-copy h2,
    .dc-blog-contact-copy h2 {
        font-size: 38px;
        line-height: 1.08;
    }

    .dc-blog-intro-text,
    .dc-blog-cta-copy > p:not(.dc-blog-eyebrow),
    .dc-blog-contact-copy p:not(.dc-blog-eyebrow) {
        font-size: 16px;
        line-height: 1.75;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 600px) {

    .dc-blog-page {
        padding-bottom: 54px;
    }

    .dc-blog-shell {
        width: calc(100% - 30px);
    }

    .dc-blog-intro {
        padding: 48px 0 30px;
    }

    .dc-blog-intro h1 {
        font-size: 36px;
        line-height: 1.08;
    }

    .dc-blog-intro-text {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.65;
    }

    .dc-blog-featured {
        padding: 26px 0 50px;
    }

    .dc-blog-featured-image {
        height: 270px;
    }

    .dc-blog-date {
        margin-bottom: 28px;
    }

    .dc-blog-featured h2 {
        font-size: 34px;
    }

    .dc-blog-featured-copy > p {
        font-size: 14px;
    }

    .dc-blog-category-list {
        grid-template-columns: 1fr;
    }

    .dc-blog-grid {
        gap: 22px;
    }

    .dc-blog-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .dc-blog-card-image {
        width: 100%;
        height: 235px;
    }

    .dc-blog-card-content {
        padding: 18px;
    }

    .dc-blog-card h2 {
        font-size: 24px;
    }

    .dc-blog-card p {
        font-size: 13px;
    }

    .dc-blog-load-more-wrap {
        margin-top: 34px;
    }

    .dc-blog-load-more {
        width: 100%;
    }

    .dc-blog-cta {
        margin-top: 62px;
        gap: 25px;
    }

    .dc-blog-cta-image {
        height: 250px;
    }

    .dc-blog-cta-copy h2,
    .dc-blog-contact-copy h2 {
        font-size: 38px;
    }

    .dc-blog-cta-copy > p:not(.dc-blog-eyebrow),
    .dc-blog-contact-copy p:not(.dc-blog-eyebrow) {
        font-size: 14px;
    }

    .dc-blog-sidebar .widgettitle,
    .dc-blog-sidebar .widget-title {
        font-size: 24px !important;
    }

    .dc-blog-page .dc-blog-eyebrow,
    .dc-blog-page .dc-blog-meta-label {
        font-size: 14px !important;
    }
}


/* ==========================================================
   FINAL FONT SAFETY OVERRIDES
========================================================== */

/*
 * Force the requested Spectral hierarchy.
 * These rules intentionally use !important because
 * Astra/theme styles may otherwise override them.
 */

.dc-blog-page .dc-blog-eyebrow,
.dc-blog-page .dc-blog-meta-label {
    font-family: "Spectral", Georgia, serif !important;
    font-weight: 500 !important;
}

.dc-blog-page .dc-blog-intro h1,
.dc-blog-page .dc-blog-featured h2,
.dc-blog-page .dc-blog-card h2,
.dc-blog-page .dc-blog-cta-copy h2,
.dc-blog-page .dc-blog-contact-copy h2,
.dc-blog-page .dc-blog-sidebar .widgettitle,
.dc-blog-page .dc-blog-sidebar .widget-title {
    font-family: "Spectral", Georgia, serif !important;
}


/* Keep body/UI in Poppins */

.dc-blog-page .dc-blog-intro-text,
.dc-blog-page .dc-blog-featured-copy > p,
.dc-blog-page .dc-blog-card p,
.dc-blog-page .dc-blog-cta-copy > p:not(.dc-blog-eyebrow),
.dc-blog-page .dc-blog-contact-copy p:not(.dc-blog-eyebrow),
.dc-blog-page .dc-blog-sidebar,
.dc-blog-page .dc-blog-sidebar a,
.dc-blog-page .dc-blog-sidebar input,
.dc-blog-page .dc-blog-sidebar button,
.dc-blog-page .dc-blog-sidebar select {
    font-family: "Poppins", sans-serif !important;
}