.nz-page-wrap {
    margin: 20px auto 40px;
}

:root {
    --c-1: #333333;
    --c-2: #ffffff;
    --c-3: #ffcb01;
    --c-4: #00ccff;
    --c-5: #a1d83b;
    --c-6: #fff4cf;
    --c-7: #e6f9ff;
    --c-8: #f0f9db;
    --c-9: #fff9e6;
}

.nz-hero {
    background: linear-gradient(180deg, #f7fbf9 0%, #eef6f2 100%);
    border: 1px solid #d5e7df;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(20, 74, 62, 0.06);
    overflow: hidden;
}

.nz-hero a {
    padding: 0;
}

.nz-hero-media {
    width: 100%;
    border: 1px solid #d5e7df;
}

.nz-hero-copy {
    max-width: 920px;
}

.nz-hero-kicker {
    margin: 0 0 8px;
    color: #49bbcc;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 15px;
}

.nz-hero h1 {
    font-size: 36px;
    color: #ffffff;
    margin: 0;
}

.nz-hero-lead {
    margin: 0;
    line-height: 1.9;
    color: #383838;
    font-size: 20px;
    font-weight: 600;
}

.nz-hero-desc {
    line-height: 1.9;
    color: #444444;
    font-size: 20px;
}

.nz-hero-overview .nz-hero-bottom {
    margin-top: 18px;
}

.nz-hero-topic .nz-hero-top {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    gap: 40px;
    padding: 50px 0;
}

.nz-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nz-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nz-hero-topic {
    background: var(--hero-bg);
    padding: 6px 14px;
}

.nz-hero-topic .nz-hero-slogan {
    color: var(--hero-text);
    font-weight: 700;
}

.nz-hero-topic .nz-hero-desc {
    color: var(--hero-desc);
}

.nz-hero-topic .nz-topic-title {
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    /* border: 2px solid var(--hero-badge-border); */
}

.nz-hero-slogan {
    margin: 0;
    margin-top: 10px;
    font-size: 26px;
    font-weight: 600;
    color: #383838;
}

.nz-hero-slogan strong {
    color: #49bbcc;
    font-weight: 800;
}

.nz-hero-topic .nz-hero-slogan strong {
    color: var(--hero-text-strong);
}

.nz-hero-icon {
    --size: 180px;
    width: var(--size);
    height: var(--size);
    object-fit: contain;
    flex: 0 0 auto;
}

.nz-core-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 20px;
}

.nz-core-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 10px;
    text-decoration: none;
    color: #444444;
    padding: 10px 12px;
}

.yellow,
.blue,
.green {
    --accent-dark: var(--accent);
    --accent-soft-hover: var(--accent-soft);
    --hero-bg: var(--accent);
    --hero-text: var(--c-2);
    --hero-desc: var(--c-2);
    --hero-text-strong: var(--c-2);
    --hero-badge-bg: var(--c-2);
    --hero-badge-text: var(--accent);
    --hero-badge-border: var(--c-2);
    --food-intro-bg: transparent;
    --food-intro-border: transparent;
    --food-intro-text: var(--c-1);
    --food-block-bg: transparent;
    --food-block-border: transparent;
    --food-title-highlight: var(--accent);
    --food-title-normal: var(--c-1);
    --food-underline: var(--accent);
    --food-description: var(--c-1);
    --food-tip-border: var(--accent);
    --food-tip-title: var(--accent);
    --food-tip-text: var(--c-1);
    --food-market-overlay: rgba(51, 51, 51, 0.52);
    --food-market-title: var(--c-2);
    --food-market-btn-bg: var(--c-2);
    --food-market-btn-text: var(--accent);
}

.yellow {
    --accent: var(--c-3);
    --accent-soft: var(--c-9);
    --food-tip-bg: var(--c-6);
}

.blue {
    --accent: var(--c-4);
    --accent-soft: var(--c-7);
    --food-tip-bg: var(--c-7);
}

.green {
    --accent: var(--c-5);
    --accent-soft: var(--c-8);
    --food-tip-bg: var(--c-8);
}

.food-intro-section {
    margin: 12px 0 22px;
}

.food-intro-text {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--food-intro-text);
    line-height: 1.9;
    font-size: 18px;
    padding: 0;
}

.food-block {
    margin: 0 0 18px;
}

.food-block-container-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 45px;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 18px;
}

.food-block-left-illust {
    width: 33%;
    min-width: 150px;
    max-width: 260px;
    flex: 0 1 33%;
}

.food-block-right-content {
    width: 100%;
    flex: 1 1 auto;
}

/* 偶數區塊反向：文字在左且較寬，圖片在右且較窄 */
.food-block-container-new:has(> .food-block-right-content:first-child) {
    flex-direction: row;
}

.food-block-left-illust img {
    width: 100%;
    height: auto;
    display: block;
}

.food-block-main-title {
    margin: 0;
    line-height: 1.25;
}

.title-highlight-text,
.title-normal-text {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.title-highlight-text {
    color: var(--food-title-highlight);
}

.title-normal-text {
    color: var(--food-title-normal);
}

.title-underline {
    width: 100%;
    max-width: 360px;
    border-bottom: none;
    margin: 10px 0 12px;
}

.food-block-description {
    margin: 0;
    color: var(--food-description);
    font-size: 20px;
    line-height: 1.7;
}

.food-tip-title {
    margin: 8px 0 10px;
    color: var(--food-tip-title);
    font-size: 20px;
    font-weight: 700;
    padding-left: 135px;
}

.food-tip-box {
    border: 1px solid var(--food-tip-border);
    border-radius: 10px;
    background: var(--food-tip-bg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 110px;
}

.food-tip-header {
    margin-bottom: 4px;
}

.food-tip-icon {
    width: 95px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1;
    transform: translate3d(0px, -80%, 0px);
    position: absolute;
}

.food-tip-text {
    margin: 0;
    color: var(--food-tip-text);
    font-size: 18px;
    line-height: 1.7;
}

.food-market-section {
    position: relative;
    margin: 12px 0 18px;
    border-radius: 14px;
    border-top: 1px solid var(--accent);
    border-bottom: 6px solid var(--accent);
    border-left: 6px solid var(--accent);
    border-right: 1px solid var(--accent);
    background: var(--accent-soft);
    overflow: hidden;
}

.food-market-bg-image {
    width: 100%;
    display: block;
    height: 325px;
    object-fit: cover;
}

.food-market-overlay {
    position: absolute;
    inset: 0;
    background: var(--food-market-overlay);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.food-market-section:hover .food-market-overlay,
.food-market-section:focus-within .food-market-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.food-market-title {
    margin: 0;
    color: var(--food-market-title);
    border: 1px solid var(--c-2);
    border-radius: 999px;
    padding: 15px 45px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.food-market-download-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    background: var(--c-3);
    border: 1px solid var(--c-3);
    color: var(--c-2);
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
}

.food-market-download-btn span {
    color: inherit;
}

.food-market-download-btn:hover,
.food-market-download-btn:focus {
    color: var(--c-2);
    opacity: 0.9;
}

.mobile-divider {
    display: none;
}

.nz-core-word {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

span.nz-core-word.two-word {
    font-size: 15px;
}

.nz-core-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-dark);
}

.nz-core-label.s {
    font-size: 14px;
}

.nz-core-link:hover {
    background: var(--accent-soft-hover);
    border-color: var(--accent-dark);
}

.nz-grid {
    margin: 0 -10px;
}

.nz-card-wrap {
    padding: 10px;
}

.nz-overview-grid .nz-card {
    display: grid;
    grid-template-columns: 1fr minmax(230px, 44%);
    gap: 14px;
    align-items: stretch;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 14px;
    box-shadow: none;
}

.nz-overview-grid > .nz-card-wrap {
    --accent: #ffcb01;
    --accent-dark: #b68e00;
    --accent-soft: #fff9e6;
}

.nz-overview-grid > .nz-card-wrap:nth-child(3n + 2) {
    --accent: #0cf;
    --accent-dark: #0093b8;
    --accent-soft: #e6fbff;
}

.nz-overview-grid > .nz-card-wrap:nth-child(3n) {
    --accent: #a1d83b;
    --accent-dark: #6f9f14;
    --accent-soft: #f4fae8;
}

.nz-overview-grid .nz-card-media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    aspect-ratio: 1.35;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 6%;
}

.nz-topic-side {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 4px 4px 2px;
}

.nz-topic-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.nz-topic-icon {
    display: none;
}

.nz-topic-title {
    margin: 0;
    --size: 100px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--accent);
    font-size: 45px;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 3px;
}

.nz-topic-title.two-word {
    font-size: 34px;
}

.nz-topic-subtitle {
    margin: 2px 0 8px;
    color: #333;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}

.nz-topic-desc {
    margin: 0;
    color: #444444;
    line-height: 1.5;
    font-size: 20px;
}

.nz-topic-btn {
    margin-top: 10px;
    margin-left: auto;
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.nz-topic-btn:hover,
.nz-topic-btn:focus {
    background: var(--accent-dark);
    color: #ffffff;
}

.nz-card {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(150px, 36%) 1fr;
    grid-template-areas:
        "media title"
        "media desc"
        "media tip";
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
    border: 1px solid #d7e3dd;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nz-card-media {
    grid-area: media;
    width: 100%;
    border-radius: 8px;
    margin: 0;
    aspect-ratio: 1.2;
    object-fit: contain;
    padding: 6% 10%;
}

.nz-grid > .nz-card-wrap:nth-child(-n + 4) .nz-card {
    border-color: #b8dee6;
    background: #fbfeff;
}

.nz-tip-box {
    grid-area: tip;
    margin-top: 12px;
    border: 1px solid #f2d18d;
    background: #fff7e8;
    border-radius: 8px;
    padding: 10px 12px;
}

.nz-tip-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a5a00;
    font-weight: 700;
    margin-bottom: 4px;
}

.nz-tip-head img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nz-tip-body {
    margin: 0;
    color: #6a4a1a;
    line-height: 1.5;
}

@media (max-width: 1199px) {
    .nz-core-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nz-core-label.s {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .nz-hero-topic .nz-hero-top{
        padding: 30px 20px;
    }
    .nz-hero-icon {
        --size: 160px;
    }
    .nz-overview-grid .nz-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nz-overview-grid .nz-card-media {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: 1.7;
        padding: 8% 16%;
    }

    .nz-topic-side {
        grid-column: 1;
        grid-row: 2;
    }

    .nz-core-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .nz-hero-topic .nz-hero-top {
        flex-direction: column;
        gap: 12px;
    }

    .nz-hero-topic .nz-hero-top{
        padding: 15px 20px 30px;
        gap: 0;
    }

    .nz-hero h1 {
        font-size: 28px;
    }

    .nz-hero-lead {
        font-size: 16px;
    }

    .nz-hero-desc {
        font-size: 15px;
    }

    .nz-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "title"
            "desc"
            "tip";
        row-gap: 10px;
    }

    .nz-card-media {
        aspect-ratio: 1.7;
        padding: 6% 16% 8%;
    }

    .nz-overview-grid .nz-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nz-overview-grid .nz-card-media {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: 1.7;
        padding: 5% 15%;
    }

    .nz-topic-side {
        grid-column: 1;
        grid-row: 2;
        padding-bottom: 6vw;
    }

    .nz-topic-title {
        --size: 76px;
        width: var(--size);
        height: var(--size);
        font-size: 30px;
        padding-bottom: 2px;
    }

    .nz-topic-subtitle {
        font-size: 24px;
    }

    .nz-topic-desc {
        font-size: 20px;
    }

    .nz-topic-btn {
        margin-top: 10px;
    }

    .nz-core-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nz-core-link {
        padding: 9px 10px;
    }

    .nz-core-word {
        --size: 50px;
        width: var(--size);
        height: var(--size);
        font-size: 28px;
    }

    span.nz-core-word.two-word {
        font-size: 20px;
    }

    .nz-core-label {
        font-size: 15px;
    }

    .food-intro-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .food-block-container-new {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }

    .food-block-left-illust {
        width: 100%;
        max-width: 260px;
        min-width: 0;
        align-self: center;
        flex: 0 1 auto;
    }

    .food-block-container-new:has(> .food-block-right-content:first-child) {
        flex-direction: column-reverse;
    }

    .title-highlight-text,
    .title-normal-text {
        font-size: 28px;
    }

    .food-block-description,
    .food-tip-text {
        font-size: 17px;
    }

    .food-market-bg-image {
        height: 200px;
    }

    .food-market-title {
        font-size: 24px;
    }

    .food-market-download-btn {
        font-size: 16px;
    }

    .food-market-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-divider {
        display: block;
        height: 10px;
    }
}

@media (hover: none), (pointer: coarse) {
    .food-market-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 395px) {
    .nz-core-label.s {
        font-size: 14px;
    }
}
