/* v4: 플라워24 에디토리얼 브랜드, 카테고리 배너와 반응형 밀도 개선. */
.flower24-body .container {
    width: min(1280px, calc(100% - 64px));
}

.flower24-body .section {
    padding: clamp(72px, 8vw, 120px) 0;
}

.flower-brand {
    gap: 11px;
}

.flower-brand__mark {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border-radius: 14px;
    place-items: center;
    box-shadow: 0 8px 22px rgb(31 77 59 / 16%);
}

.flower-brand__mark img {
    display: block;
    width: 100%;
    height: 100%;
}

.flower-brand__wordmark {
    font-size: 1.48rem;
    letter-spacing: -.065em;
}

.flower-brand__descriptor {
    font-size: .61rem;
}

.flower-hero,
.flower-hero__grid {
    min-height: min(700px, calc(100vh - 82px));
}

.flower-hero__art {
    min-height: 520px;
}

.flower-intent-grid {
    gap: 22px;
}

.flower-intent-card {
    isolation: isolate;
    min-width: 0;
    min-height: 420px;
    border-radius: 24px 24px 74px 24px;
    background-color: #eef2eb;
    box-shadow: 0 18px 44px rgb(36 49 42 / 8%);
}

.flower-intent-card::before,
.flower-intent-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
}

.flower-intent-card::before {
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(.76) contrast(.96);
    transform: scale(1.01);
    transition: transform .32s ease;
}

.flower-intent-card::after {
    background: linear-gradient(180deg, rgb(247 248 243 / 2%) 12%, rgb(247 248 243 / 36%) 48%, #f7f8f3 76%);
}

.flower-intent-card--condolence::before {
    background-image: url("../images/thumbnails-v2/condolence-wreath-types.webp");
}

.flower-intent-card--celebration::before {
    background-image: url("../images/thumbnails-v2/opening-wreath-guide.webp");
}

.flower-intent-card--visit::before {
    background-image: url("../images/thumbnails-v2/hospital-visit-flower.webp");
}

.flower-intent-card:hover::before {
    transform: scale(1.045);
}

.flower-intent-card > * {
    position: relative;
    z-index: 1;
}

.flower-intent-card__number {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid rgb(255 255 255 / 62%);
    border-radius: 999px;
    background: rgb(255 253 248 / 76%);
    backdrop-filter: blur(8px);
}

.flower-intent-card__mark {
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid rgb(255 255 255 / 62%);
    border-radius: 50%;
    background: rgb(255 253 248 / 76%);
    place-items: center;
    backdrop-filter: blur(8px);
}

.flower-intent-card__mark svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.flower-intent-card h3,
.flower-intent-card p,
.flower-intent-card .flower-card-link {
    text-shadow: 0 1px 0 rgb(255 255 255 / 70%);
}

.flower-intent-card h3 {
    font-size: 2.05rem;
}

.flower-intent-card p {
    color: #435048;
}

.flower-brand--footer .flower-brand__mark {
    box-shadow: 0 8px 22px rgb(0 0 0 / 18%);
}

@media (max-width: 900px) {
    .flower24-body .container {
        width: min(100% - 40px, 960px);
    }

    .flower-hero,
    .flower-hero__grid {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .flower24-body .container,
    .flower24-body .container--narrow {
        width: min(100% - 32px, 760px);
    }

    .flower-brand__mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .flower-brand__wordmark {
        font-size: 1.32rem;
    }

    .flower-intent-card {
        min-height: 330px;
        border-radius: 20px 20px 54px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flower-intent-card::before {
        transition: none;
    }
}
