/* =========================================================
   TASTY CRAZZ — ARTICLES / BLOG PAGE
========================================================= */

.makky-articles-page,
.makky-articles-page * {
    box-sizing: border-box;
}

.makky-articles-page {
    --tc-article-green: #073f37;
    --tc-article-green-dark: #032c27;
    --tc-article-cream: #f8f1e7;
    --tc-article-gold: #ddb35f;
    --tc-article-gold-soft: #f4dfad;
    --tc-article-ink: #183b36;
    --tc-article-muted: #6c746f;
    --tc-article-line: #ece6dc;
    width: 100%;
    overflow: hidden;
    background: #fffdf9;
    color: var(--tc-article-ink);
}

.makky-articles-page__hero {
    position: relative;
    background: var(--tc-article-cream);
}

.makky-articles-page__hero-inner {
    width: min(1500px, calc(100% - 96px));
    min-height: 430px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: stretch;
}

.makky-articles-page__hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 40px 72px 8px;
}

.makky-articles-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: #9d7b35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.2;
    text-transform: uppercase;
}

.makky-articles-page__eyebrow span {
    width: 34px;
    height: 1px;
    background: var(--tc-article-gold);
}

.makky-articles-page__hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--tc-article-green-dark);
    font-size: clamp(42px, 4.25vw, 68px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.makky-articles-page__hero-text {
    max-width: 600px;
    margin: 24px 0 0;
    color: #5f6763;
    font-size: 17px;
    line-height: 1.75;
}

.makky-articles-page__hero-image {
    min-height: 430px;
    overflow: hidden;
    border-radius: 0 0 0 90px;
}

.makky-articles-page__hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.makky-articles-page__hero-image--empty {
    background:
        radial-gradient(circle at 72% 30%, rgba(221,179,95,.22), transparent 32%),
        linear-gradient(135deg, #efe4d2, #d8c9b3);
}

.makky-articles-page__container {
    width: min(1400px, calc(100% - 96px));
    margin: 0 auto;
    padding: 54px 0 0;
}

.makky-articles-page__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.makky-articles-page__categories {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.makky-articles-page__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #e7e1d7;
    border-radius: 999px;
    background: #fff;
    color: #4d5752;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.makky-articles-page__filter:hover,
.makky-articles-page__filter.is-active {
    border-color: var(--tc-article-gold);
    background: #f5cf75;
    color: var(--tc-article-green-dark);
}

.makky-articles-page__search {
    position: relative;
    flex: 0 0 250px;
}

.makky-articles-page__search input {
    width: 100%;
    height: 42px;
    padding: 0 46px 0 18px;
    border: 1px solid #e7e1d7;
    border-radius: 999px;
    outline: none;
    background: #fff;
    color: var(--tc-article-ink);
    font: inherit;
    font-size: 12px;
}

.makky-articles-page__search input:focus {
    border-color: var(--tc-article-gold);
}

.makky-articles-page__search button {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--tc-article-green);
    cursor: pointer;
}

.makky-articles-page__search button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.makky-articles-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.makky-articles-page__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee8df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(40, 42, 34, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.makky-articles-page__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(40, 42, 34, .10);
}

.makky-articles-page__card-image {
    position: relative;
    display: block;
    height: 255px;
    overflow: hidden;
    background: #eee5d9;
    text-decoration: none;
}

.makky-articles-page__card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.makky-articles-page__card:hover .makky-articles-page__card-image img {
    transform: scale(1.035);
}

.makky-articles-page__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(221,179,95,.20), transparent 28%),
        linear-gradient(135deg, #eadfce, #cbbca7);
}

.makky-articles-page__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff9ec;
    color: #85662b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.makky-articles-page__card-body {
    padding: 24px 24px 25px;
}

.makky-articles-page__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #8a918d;
    font-size: 11px;
    font-weight: 600;
}

.makky-articles-page__date svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.makky-articles-page__card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.makky-articles-page__card-title a {
    color: var(--tc-article-green-dark);
    text-decoration: none;
}

.makky-articles-page__card-title a:hover {
    color: #9b762e;
}

.makky-articles-page__excerpt {
    min-height: 72px;
    margin: 14px 0 18px;
    color: #747b77;
    font-size: 13px;
    line-height: 1.75;
}

.makky-articles-page__read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d39f32;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.makky-articles-page__read:hover {
    color: var(--tc-article-green-dark);
}

.makky-articles-page__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 42px 0 0;
}

.makky-articles-page__pagination a,
.makky-articles-page__pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9e2d8;
    border-radius: 50%;
    background: #fff;
    color: #56615b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.makky-articles-page__pagination .current {
    border-color: var(--tc-article-gold);
    background: var(--tc-article-gold);
    color: var(--tc-article-green-dark);
}

.makky-articles-page__pagination .dots {
    border: 0;
    background: transparent;
}

.makky-articles-page__pagination a:hover {
    border-color: var(--tc-article-gold);
    color: var(--tc-article-green-dark);
}

.makky-articles-page__empty {
    padding: 90px 30px;
    border: 1px solid #ece6dc;
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.makky-articles-page__empty-eyebrow {
    color: #a07b32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.makky-articles-page__empty h2 {
    margin: 14px 0 8px;
    color: var(--tc-article-green-dark);
    font-size: 30px;
}

.makky-articles-page__empty p {
    margin: 0 0 22px;
    color: #777e79;
}

.makky-articles-page__empty a {
    display: inline-flex;
    gap: 8px;
    color: #a0782f;
    font-weight: 700;
    text-decoration: none;
}

.makky-articles-page__note {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 70px 0 84px;
    color: rgba(7,63,55,.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .34em;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1100px) {
    .makky-articles-page__hero-inner,
    .makky-articles-page__container {
        width: min(100% - 48px, 900px);
    }

    .makky-articles-page__hero-inner {
        grid-template-columns: 1fr;
    }

    .makky-articles-page__hero-copy {
        padding: 58px 0 36px;
    }

    .makky-articles-page__hero-image {
        min-height: 320px;
        border-radius: 0 0 0 54px;
    }

    .makky-articles-page__hero-image img {
        min-height: 320px;
    }

    .makky-articles-page__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .makky-articles-page__search {
        width: 100%;
        flex-basis: auto;
    }

    .makky-articles-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .makky-articles-page__hero-inner,
    .makky-articles-page__container {
        width: calc(100% - 32px);
    }

    .makky-articles-page__hero-copy {
        padding: 48px 0 30px;
    }

    .makky-articles-page__hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .makky-articles-page__hero-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .makky-articles-page__hero-image {
        min-height: 250px;
        border-radius: 0 0 0 34px;
    }

    .makky-articles-page__hero-image img {
        min-height: 250px;
    }

    .makky-articles-page__container {
        padding-top: 34px;
    }

    .makky-articles-page__categories {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .makky-articles-page__categories::-webkit-scrollbar {
        display: none;
    }

    .makky-articles-page__filter {
        flex: 0 0 auto;
    }

    .makky-articles-page__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .makky-articles-page__card-image {
        height: 230px;
    }

    .makky-articles-page__card-body {
        padding: 21px 20px 23px;
    }

    .makky-articles-page__card-title {
        font-size: 21px;
    }

    .makky-articles-page__excerpt {
        min-height: 0;
    }

    .makky-articles-page__note {
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 52px 0 64px;
        font-size: 10px;
    }
}
