body {
    background: #FDE2CF;
}

/* ====== HERO 区 ====== */
.hero-img-bg {
    background-image: url("../image/curry/curry-background.jpg");
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}


.deco {
    margin: 40px;
}

/* Hero Section 样式 */
.hero-img-title {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
}

.hero-img-title h1 {
    margin-top: 0 !important;
    font-weight: bold;
    margin-bottom: 20px;
    width: 51%;
}

.hero-img-desc p {
    font-size: 24px;
    margin: 0;
    color: #FDE2CF;
    font-weight: regular;
}

.hero-section {
    padding: 40px 0;
    margin: auto;
    max-width: 1440px;
}

/* 内部容器，左右排版 */
.hero-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* 左边图片 */
.hero-image {
    position: relative;
    width: 40%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0 200px 0 0;
    object-fit: cover;
}

/* 右边文字区 */
.hero-text {
    flex: 1;
    color: #ED6325;
}

.hero-img-title h1 {

    font-weight: bold;
    margin-bottom: 20px
}

.hero-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}



.background-yellow {
    background: #F8A720;
    border-radius: 12px;
}

/* wcm container */
.wcm-container {
    width: calc(100% - 100px);
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.wcm-container h2 {
    color: #FDE2CF;
}

.wcm-container .paragraph {
    padding: 20px 50px;
}

.wcm-container img#desktop {
    display: block;
}

.wcm-container img#mobile {
    display: none;
}

@media (max-width: 1240px) {
    .wcm-container {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .wcm-container img#desktop {
        display: none;
    }

    .wcm-container img#mobile {
        display: block;
        width: 60%;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .wcm-container .paragraph {
        padding: 20px;
    }

    .wcm-container img {
        width: 80%;
        height: auto;
    }
}






/* Info Cards Section 大容器左右排版 */
.info-cards-section {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 40px auto;
}

/* 左右两栏竖排 */
.info-cards-left,
.info-cards-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== 整个资讯卡片区 ===== */
.content-cards {
    position: relative;
    /* 大容器 relative */
    background-color: #F8A720;
    /* 浅米色背景 */
    width: 100%;
    padding: 60px 20px;
    border-radius: 15px;
    border-left: 2px solid #642714;
    /* 模拟层次感 */
    border-bottom: 2px solid #642714;
}

/* ===== 卡片容器（两列 flex-wrap） ===== */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    position: relative;
}

/* ===== 单张卡片 ===== */
.card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #f3c79f;
    /* 边框替代阴影 */
    flex: 1 1 calc(50% - 20px);
    /* 两列自适应 */
    display: flex;
    padding: 16px;
    box-sizing: border-box;
}

.card-vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.card-horizontal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* ===== 图片区 ===== */
.card-image {
    width: 50%;
    /* 图片默认占一半 */
    padding: 10px;
}

.card-vertical .card-image {
    width: 100%;
    /* 上下结构占满 */
}

.card-image img {
    width: 100%;

    border-radius: 10px;
    display: block;
    object-fit: cover;
}

/* ===== 文字区 ===== */
.card-text {
    flex: 1;
    padding: 10px;
}

.card-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ED6325;
}

.card-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}



/* ===== 新增卡片网格样式 ===== */
.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 单个卡片样式 */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 卡片图片样式 */
.card-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

/* 卡片主体样式 */
.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 卡片标题样式 */
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ED6325;
}

/* 卡片描述样式 */
.card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    flex-grow: 1;
}


.card-dots span {
    width: 8px;
    height: 8px;
    background-color: #ED6325;
    border-radius: 50%;
    opacity: 0.6;
    display: inline-block;
}

/* 卡片悬停效果 */
.card:hover .card-img img {
    transform: scale(1.1);
}

.custom-grid {
    width: calc(100% - 100px);
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    /* ✅ 关键：让左右等高 */
    gap: 20px;
}

.custom-grid .left,
.custom-grid .right {
    flex: 1;
}

.custom-grid .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #ED6325;
    border-radius: 12px;
    border-right: 3px solid #642714;
    border-bottom: 3px solid #642714;
}

.custom-grid .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.custom-grid .left .top,
.custom-grid .left .bottom {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #ED6325;
    border-radius: 12px;
    border-right: 3px solid #642714;
    border-bottom: 3px solid #642714;
}

.custom-grid .right .top,
.custom-grid .right .bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.custom-grid img {
    width: 30%;
    max-width: 30%;
    margin-right: 20px;
    margin-left: 20px;
    border-radius: 16px;
}

.custom-grid img#larger-img {
    width: 50%;
    max-width: 50%;
    margin: 0;
}

@media (max-width: 1040px) {
    .custom-grid {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .custom-grid .left,
    .custom-grid .right {
        flex: none;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .custom-grid .right {
        width: calc(100% - 40px);
    }

    .custom-grid img {
        width: 30%;
        max-width: 30%;
    }

    .custom-grid img#larger-img {
        width: 40%;
        max-width: 40%;
        margin: 0;
    }
}



/* Special Feature Section */
.special-feature {
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.special-feature-img img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.special-feature-content {
    background: #f47c20;
    text-align: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.special-feature-content h2 {
    color: #fff;
    margin: 0 0 20px 0 !important;
    font-weight: 600;
}


.see-more-btn {
    display: inline-block;
    background: #F8A720;
    color: #642714;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 28px;
    border-radius: 7px;
    text-decoration: none;
}

.four-images {
    width: calc(100% - 100px);
    margin: 50px auto;
}

/* 
.four-images .images4{
    background: red;
} */

@media (min-width: 940px) and (max-width: 1040px) {

    .four-images .images4 {
        width: 43%;
    }
}

/* 响应式 */
/* ===== 响应式：平板（≤1040px） ===== */
@media (max-width: 1040px) {
    .content-cards-grid {
        grid-template-columns: 1fr;
    }

    .four-images {
        flex-wrap: wrap !important;
    }

    .card {
        flex: 1 1 100%;
        /* 单列 */
    }

    .card-horizontal {
        flex-direction: column;
        /* 改为上下排列 */
        text-align: center;
    }

    .card-image {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-img-title {
        left: 16px;
        bottom: 16px;
        font-size: 1.2rem;
    }

    .hero-img-desc p {
        font-size: 1rem;
    }
}

@media (max-width: 800px) {
    .hero-container {
        flex-direction: column;
    }

    .deco-mobile {
        margin: 30px 50px;
    }
}

/* ===== 响应式：手机（≤415px） ===== */
@media (max-width: 415px) {
    .content-cards-grid {
        padding: 0 10px;
    }

    .card-body {
        padding: 10px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-desc {
        font-size: 12px;
    }

    .content-cards {
        padding: 40px 12px;
    }

    .card-text h3 {
        font-size: 18px;
    }

    .card-text p {
        font-size: 14px;
    }
}