/* =========================================================
   MAKKY CORE — ARTICLES / HOME BLOG
========================================================= */

.makky-articles {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 96px 0 88px;
    background: #fdf8f0;
    color: #173f36;
}

.makky-articles::after {
    content: '';
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -125px;
    height: 190px;
    border-radius: 50% 50% 0 0;
    background: rgba(255, 255, 255, 0.72);
    transform: rotate(-2deg);
    pointer-events: none;
}

.makky-articles__container {
    position: relative;
    z-index: 2;
    width: min(1340px, calc(100% - 72px));
    margin: 0 auto;
}

.makky-articles__header {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.makky-articles__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 20px;
    color: #b96d16;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.makky-articles__eyebrow span {
    width: 58px;
    height: 1px;
    background: #c99043;
}

.makky-articles__title {
    margin: 0;
    color: #173f36;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 4.3vw, 66px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.makky-articles__intro {
    max-width: 760px;
    margin: 24px auto 0;
    color: #6f6a63;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

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

.makky-articles__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(23, 63, 54, 0.06);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(71, 51, 31, 0.07);
}

.makky-articles__image-link {
    position: relative;
    display: block;
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    text-decoration: none;
    background: #eadfd1;
}

.makky-articles__image,
.makky-articles__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.makky-articles__image {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.makky-articles__image-placeholder {
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), transparent 28%),
        linear-gradient(135deg, #e8d8c6, #d2b998);
}

.makky-articles__image-link:hover .makky-articles__image {
    transform: scale(1.035);
}

.makky-articles__category {
    position: absolute;
    left: 20px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    color: #173f36;
    background: rgba(255, 250, 243, 0.94);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.makky-articles__card--1 .makky-articles__category {
    color: #a93f61;
}

.makky-articles__card--2 .makky-articles__category {
    color: #173f36;
}

.makky-articles__card--3 .makky-articles__category {
    color: #a96812;
}

.makky-articles__body {
    padding: 22px 24px 25px;
}

.makky-articles__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #8b857d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.makky-articles__date-icon {
    display: inline-flex;
    width: 17px;
    height: 17px;
    color: #c37a1c;
}

.makky-articles__date-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.makky-articles__card-title {
    margin: 0;
    color: #173f36;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -0.018em;
}

.makky-articles__card-title a {
    color: inherit;
    text-decoration: none;
}

.makky-articles__excerpt {
    margin: 16px 0 0;
    color: #6d6963;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

.makky-articles__read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: #b76c13;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.makky-articles__read-more span:last-child {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.makky-articles__read-more:hover span:last-child {
    transform: translateX(4px);
}

.makky-articles__footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.makky-articles__all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 300px;
    min-height: 56px;
    padding: 12px 26px;
    border: 1px solid #c99043;
    border-radius: 999px;
    color: #ffffff;
    background: #173f36;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.makky-articles__all-button:hover {
    color: #ffffff;
    background: #23564a;
    transform: translateY(-2px);
}

.makky-articles__all-button span:last-child {
    font-size: 20px;
}

.makky-articles__empty {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 42px 32px 40px;
    border: 1px solid rgba(23, 63, 54, 0.10);
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 50px rgba(62, 45, 29, 0.05);
}

.makky-articles__empty-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid rgba(181, 145, 99, 0.32);
    border-radius: 50%;
    background: #fffaf4;
    color: #b59163;
}

.makky-articles__empty-mark svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.makky-articles__empty-eyebrow {
    margin: 0 0 8px;
    color: #b59163;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.makky-articles__empty-title {
    margin: 0;
    color: #173f36;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.12;
}

.makky-articles__empty-text {
    max-width: 520px;
    margin: 13px auto 0;
    color: #6d6963;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.makky-articles__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.makky-articles__decor--left {
    top: 58px;
    left: 0;
    width: 220px;
    height: 300px;
    opacity: 0.55;
    transform: rotate(-12deg);
}

.makky-articles__decor--left::before,
.makky-articles__decor--left::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(205, 184, 155, 0.5);
    border-radius: 50%;
}

.makky-articles__decor--left::before {
    top: 8px;
    left: -30px;
    width: 205px;
    height: 125px;
}

.makky-articles__decor--left::after {
    top: 68px;
    left: 30px;
    width: 160px;
    height: 110px;
}

.makky-articles__decor-text {
    position: absolute;
    color: #c99043;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.2;
}

.makky-articles__decor--left .makky-articles__decor-text {
    top: 205px;
    left: 34px;
}

.makky-articles__decor--right {
    top: 70px;
    right: 35px;
    width: 200px;
    text-align: center;
    transform: rotate(-7deg);
}

.makky-articles__decor--right .makky-articles__decor-text {
    position: static;
    display: block;
    font-size: 28px;
}

.makky-articles__decor-heart {
    display: block;
    margin-top: 5px;
    color: #b76c13;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
}

.makky-articles__bottom-note {
    position: absolute;
    right: 52px;
    bottom: 46px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #c9a36e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.28em;
    text-align: center;
}

@media (max-width: 1100px) {
    .makky-articles__container {
        width: min(100% - 48px, 920px);
    }

    .makky-articles__grid {
        gap: 18px;
    }

    .makky-articles__body {
        padding: 20px;
    }

    .makky-articles__decor--right {
        right: 0;
        opacity: 0.5;
    }
}

@media (max-width: 767px) {
    .makky-articles {
        padding: 72px 0 76px;
    }

    .makky-articles__container {
        width: calc(100% - 32px);
    }

    .makky-articles__header {
        margin-bottom: 34px;
    }

    .makky-articles__eyebrow {
        gap: 10px;
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .makky-articles__eyebrow span {
        width: 34px;
    }

    .makky-articles__title {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.06;
    }

    .makky-articles__intro {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .makky-articles__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .makky-articles__image-link {
        aspect-ratio: 1.48 / 1;
    }

    .makky-articles__body {
        padding: 20px 20px 22px;
    }

    .makky-articles__card-title {
        font-size: 26px;
    }

    .makky-articles__excerpt {
        font-size: 14px;
    }

    .makky-articles__all-button {
        width: 100%;
        min-width: 0;
    }

    .makky-articles__empty {
        padding: 34px 22px 32px;
        border-radius: 22px;
    }

    .makky-articles__empty-title {
        font-size: 28px;
    }

    .makky-articles__empty-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .makky-articles__decor--left,
    .makky-articles__decor--right,
    .makky-articles__bottom-note {
        display: none;
    }

    .makky-articles::after {
        bottom: -105px;
    }
}

@media (max-width: 420px) {
    .makky-articles__container {
        width: calc(100% - 24px);
    }

    .makky-articles__title {
        font-size: 32px;
    }

    .makky-articles__card-title {
        font-size: 24px;
    }
}
