@charset "UTF-8";


/* =========================================================
   Blog Page
========================================================= */

.blog-page {
    background-color: var(--color-body);
}


/* =========================================================
   Blog Page
========================================================= */

.blog-page {
    background-color: var(--color-body);
}


/* =========================================================
   Hero
   Flower Shop Editorial Style
========================================================= */

.blog-page__hero {
    position: relative;

    width: calc(100% - 80px);
    max-width: 1280px;

    height: 330px;

    margin: 105px auto 40px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}


/* ---------------------------------------------------------
   Image Overlay
--------------------------------------------------------- */

.blog-page__hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            var(--color-primary) 0%,
            color-mix(
                in srgb,
                var(--color-primary) 55%,
                transparent
            ) 42%,
            transparent 100%
        );

    opacity: .82;

    pointer-events: none;
}


/* ---------------------------------------------------------
   Soft Image Layer
--------------------------------------------------------- */

.blog-page__hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(0,0,0,.10)
        );

    pointer-events: none;
}


/* =========================================================
   Frame
========================================================= */

.blog-page__hero-frame {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 42px 48px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Fine Border
--------------------------------------------------------- */

.blog-page__hero-frame::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(255,255,255,.42);

    pointer-events: none;
}


/* ---------------------------------------------------------
   Inner
--------------------------------------------------------- */

.blog-page__hero-inner {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    height: 100%;

    max-width: 700px;

    padding-left: 32px;

    box-sizing: border-box;
}


/* =========================================================
   Label
========================================================= */

.blog-page__hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: rgba(255,255,255,.88);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .32em;

    line-height: 1;
}


.blog-page__hero-line {
    display: block;

    width: 34px;
    height: 1px;

    background: rgba(255,255,255,.72);
}


/* =========================================================
   Title
========================================================= */

.blog-page__hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 500;

    letter-spacing: .08em;

    line-height: 1.35;
}


.blog-page__hero h1 span {
    display: inline-block;

    margin-top: 2px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: .92em;

    font-style: italic;

    font-weight: 400;

    letter-spacing: .04em;
}


/* =========================================================
   Copy
========================================================= */

.blog-page__hero-copy {
    margin: 17px 0 0;

    color: rgba(255,255,255,.84);

    font-size: 12px;

    font-weight: 400;

    letter-spacing: .12em;

    line-height: 1.9;
}


/* =========================================================
   Vertical Side Text
========================================================= */

.blog-page__hero-side {
    position: absolute;

    z-index: 2;

    right: 52px;
    bottom: 43px;

    color: rgba(255,255,255,.58);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .28em;

    line-height: 1.8;

    text-align: right;
}


/* =========================================================
   Content
========================================================= */

.blog-page__content {
    padding: 20px 20px 60px;
}


.blog-page__inner {
    width: 100%;

    max-width: 1060px;

    margin: 0 auto;
}


/* =========================================================
   Blog Filter
========================================================= */

.blog-filter {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 36px;

    padding-bottom: 24px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}


.blog-filter__item {
    display: flex;

    align-items: center;

    gap: 12px;
}


.blog-filter__label {
    color: var(--color-text-muted);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.08em;

    white-space: nowrap;
}


.blog-filter__select {
    min-width: 170px;

    padding: 11px 38px 11px 14px;

    color: var(--color-text);

    background-color: #fff;

    border: 1px solid rgba(0, 0, 0, 0.16);

    border-radius: 8px;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.4;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.blog-filter__select:hover {
    border-color: var(--color-primary);
}


.blog-filter__select:focus {
    outline: none;

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   Blog List
========================================================= */

.blog-page__list {
    display: grid;

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

    gap: 30px;
}


/* =========================================================
   Card
========================================================= */

.blog-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.blog-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   Card Link
========================================================= */

.blog-card__link {
    display: block;

    height: 100%;

    color: inherit;

    text-decoration: none;
}


/* =========================================================
   Image
========================================================= */

.blog-card__image {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #eee;
}


.blog-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}


/* =========================================================
   Card Content
========================================================= */

.blog-card__content {
    position: relative;

    min-height: 145px;

    padding: 22px 48px 24px 22px;
}


/* =========================================================
   Meta
========================================================= */

.blog-card__meta {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 13px;
}


.blog-card__date {
    color: var(--color-text-muted);

    font-family: Arial, sans-serif;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 0.06em;

    white-space: nowrap;
}


.blog-card__category {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    color: var(--color-primary);

    background: var(--color-primary-light-10);

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 999px;

    font-size: 10px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: 0.05em;

    white-space: nowrap;
}


/* =========================================================
   Title
========================================================= */

.blog-card__title {
    margin: 0;

    color: var(--color-text);

    font-size: 16px;

    font-weight: 600;

    line-height: 1.7;

    transition:
        color 0.25s ease;
}


.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}


/* =========================================================
   Arrow
========================================================= */

.blog-card__arrow {
    position: absolute;

    right: 18px;
    bottom: 24px;

    display: flex;

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

    width: 28px;
    height: 28px;

    color: var(--color-primary);

    font-size: 17px;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


.blog-card:hover .blog-card__arrow {
    transform: translateX(6px);

    color: var(--color-accent);
}


/* =========================================================
   Empty
========================================================= */

.blog-page__empty {
    padding: 60px 20px;

    border-top: 1px solid rgba(0, 0, 0, 0.14);

    border-bottom: 1px solid rgba(0, 0, 0, 0.14);

    text-align: center;

    color: var(--color-text-muted);

    font-size: 14px;
}


.blog-page__empty p {
    margin: 0;
}


/* =========================================================
   Pagination
========================================================= */

.blog-pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 24px;

    margin: 80px 0;
}


.blog-page-arrow {
    width: 52px;
    height: 52px;

    border: 1px solid var(--color-primary);

    border-radius: 50%;

    display: flex;

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

    text-decoration: none;

    color: var(--color-text-white);

    background: var(--color-primary);

    font-size: 20px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.blog-page-arrow:hover {
    background: var(--color-text-white);

    color: var(--color-primary);
}


.blog-page-arrow.disabled {
    opacity: 0.35;

    pointer-events: none;
}


.blog-page-count {
    min-width: 90px;

    text-align: center;

    color: #222;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.08em;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1000px) {

    .blog-page__inner {
        max-width: 900px;
    }


    .blog-page__list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {

    .blog-page__hero {
        width: calc(100% - 36px);

        height: 280px;

        margin: 90px auto 45px;
    }


    .blog-page__hero-frame {
        padding: 32px 24px;
    }


    .blog-page__hero-frame::before {
        inset: 12px;
    }


    .blog-page__hero-inner {
        padding-left: 16px;
    }


    .blog-page__hero h1 {
        font-size: 34px;

        letter-spacing: .06em;
    }


    .blog-page__hero-copy {
        margin-top: 14px;

        font-size: 10px;

        letter-spacing: .08em;
    }


    .blog-page__hero-side {
        right: 28px;
        bottom: 29px;

        font-size: 7px;

        letter-spacing: .2em;
    }


    .blog-page__content {
        padding: 20px 20px 80px;
    }


    /* Filter */

    .blog-filter {
        align-items: stretch;

        gap: 12px;

        margin-bottom: 28px;

        padding-bottom: 20px;
    }


    .blog-filter__item {
        flex: 1;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 7px;
    }


    .blog-filter__label {
        font-size: 10px;
    }


    .blog-filter__select {
        width: 100%;

        min-width: 0;

        padding: 10px 30px 10px 11px;

        font-size: 12px;

        border-radius: 7px;
    }


    /* List */

    .blog-page__list {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* Card */

    .blog-card {
        border-radius: 14px;
    }


    .blog-card__content {
        min-height: 135px;

        padding: 18px 44px 20px 18px;
    }


    .blog-card__title {
        font-size: 14px;

        line-height: 1.7;
    }


    .blog-card__meta {
        gap: 10px;

        margin-bottom: 10px;
    }


    .blog-card__date {
        font-size: 11px;
    }


    .blog-card__category {
        padding: 4px 9px;

        font-size: 9px;
    }


    .blog-card__arrow {
        right: 15px;

        bottom: 20px;
    }


    /* Pagination */

    .blog-pagination {
        gap: 18px;

        margin: 30px 0 60px;
    }


    .blog-page-arrow {
        width: 46px;
        height: 46px;

        font-size: 18px;
    }


    .blog-page-count {
        font-size: 15px;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 500px) {

    .blog-page__hero {
        width: calc(100% - 24px);

        height: 245px;

        margin: 85px auto 36px;
    }


    .blog-page__hero-frame {
        padding: 26px 18px;
    }


    .blog-page__hero-frame::before {
        inset: 9px;
    }


    .blog-page__hero-inner {
        padding-left: 12px;
    }


    .blog-page__hero-label {
        gap: 9px;

        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: .25em;
    }


    .blog-page__hero-line {
        width: 24px;
    }


    .blog-page__hero h1 {
        font-size: 28px;

        line-height: 1.35;
    }


    .blog-page__hero h1 span {
        font-size: .9em;
    }


    .blog-page__hero-copy {
        margin-top: 12px;

        font-size: 9px;

        line-height: 1.8;
    }


    .blog-page__hero-side {
        right: 21px;
        bottom: 23px;

        font-size: 6px;

        line-height: 1.7;
    }


    .blog-page__content {
        padding: 18px 18px 0;
    }


    /* Filter */

    .blog-filter {
        gap: 10px;

        margin-bottom: 24px;
    }


    .blog-filter__select {
        padding: 10px 8px;

        font-size: 11px;
    }


    .blog-filter__label {
        font-size: 9px;

        letter-spacing: 0.05em;
    }


    /* Card */

    .blog-page__list {
        gap: 16px;
    }


    .blog-card {
        border-radius: 12px;
    }


    .blog-card__content {
        min-height: 125px;

        padding: 16px 40px 18px 16px;
    }


    .blog-card__title {
        font-size: 13px;
    }


    .blog-card__arrow {
        right: 12px;

        bottom: 18px;
    }


    /* Pagination */

    .blog-pagination {
        gap: 8px;
    }


    .blog-page-arrow {
        width: 32px;
        height: 32px;

        font-size: 15px;
    }


    .blog-page-count {
        min-width: 70px;

        font-size: 14px;
    }

}
