.banner-section {
    background-image: url(/static/image/bg.webp);
    background-position: center 76%;

    &::before {
        background-color: rgba(19, 19, 19, 0.6);
    }
}


/* 消暑知識 - 有關資源區塊（沿用首頁 plan-target-section 視覺） */
.plan-target-section {
    position: relative;
    padding: 120px 0;
    background-image: url(/static/image/design1.webp);
    background-size: cover;

    &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #f5f5f5;
        opacity: 0.9;
        z-index: 0;
    }

    .bg-icon {
        position: absolute;
        top: 0;
        right: 0;
        
    }
}

.my-section .section-sub-title {
    max-width: 1280px;
    padding-bottom: 8px;
}

.plan-target-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/static/image/testimonial-bg-3.webp) no-repeat;
    background-size: 120% auto;
    background-position: bottom center;
    opacity: 0.16;
    pointer-events: none;
}

.plan-target-section .bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.heat-resources-wrapper {
    position: relative;
    z-index: 2;
    margin-top: clamp(32px, 3vw, 56px);
}

.heat-resource-row {
    margin-bottom: 0;
}

.heat-resource-row + .heat-resource-block--maps {
    margin-top: clamp(48px, 4.5vw, 72px);
}

.heat-resource-grid.heat-resource-grid--flyers {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(14px, 1.4vw, 22px);
    align-items: stretch;
    grid-template-columns: none;
}

.heat-resource-grid.heat-resource-grid--flyers .heat-resource-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 20%;
}

.heat-resource-block--maps .heat-resource-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.heat-resource-block__head {
    margin-bottom: clamp(24px, 2.2vw, 36px);
    text-align: left;
}

.heat-resource-block__title {
    margin: 0 0 12px;
    color: var(--main-color);
    font-size: clamp(22px, 1.6vw, 28px);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.heat-resource-block__desc {
    margin: 0;
    color: var(--orange-color);
    font-size: clamp(15px, 0.95vw, 18px);
    line-height: 1.8;
    font-weight: 400;
    text-align: center;
}

.heat-resource-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(16px, 1.5vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.heat-resource-item {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.heat-resource-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(14px, 1.2vw, 18px);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.heat-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);

    .heat-resource-card__name {
        color: var(--orange-color);
    }

    .heat-resource-card__desc {
        color: var(--main-color);
    }
}

.heat-resource-card__thumb {
    position: relative;
    margin: 0 0 14px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 340 / 185;
    background: #eef2f7;
    cursor: pointer;
    border: none;
    padding: 0;
    width: 100%;
}

.heat-resource-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.heat-resource-card__name {
    margin: 0 0 10px;
    color: var(--deep-blue-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.heat-resource-card__desc {
    margin: 0 0 14px;
    flex: 1;
    color: #5a6478;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    text-align: left;
}

.heat-resource-block--maps .heat-resource-card__name {
    margin-bottom: 14px;
}

.heat-resource-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.heat-resource-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.heat-resource-btn--preview {
    color: #FFFFFF;
    background: var(--main-color);
    border-color: var(--main-color);
}

.heat-resource-btn--preview:hover {
    background: rgba(1, 92, 178, 0.8);
    border-color: rgba(1, 92, 178, 0.8);
    transform: translateY(2px);
}

.heat-resource-btn--download {
    color: #ffffff;
    background: var(--orange-color);
    border-color: var(--orange-color);
}

.heat-resource-btn--download:hover {
    background: rgba(255, 115, 0, 0.8);
    border-color: rgba(255, 115, 0, 0.8);
    transform: translateY(2px);
}

.plan-target-section .section-title .highlight {
    color: var(--orange-color);
}
