/* โครงสร้างหลัก */
.today-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.today-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Prompt", sans-serif;
    color: #f0f0f0;
}

/* หัวข้อใหญ่ */
.today-section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 35px;
    color: #d4af37;
    letter-spacing: 1px;
}

/* การ์ดวันนี้ */
.today-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(212,175,55,0.18);
}

/* ภาพประกอบ */
.today-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* เนื้อหา */
.today-content {
    padding: 20px 25px;
}

.today-title {
    font-size: 24px;
    color: #ffd86b;
    margin-bottom: 10px;
}

.today-detail {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ข้อมูลเหตุการณ์ */
.today-info p {
    font-size: 16px;
    margin: 4px 0;
}

.today-info p strong {
    color: #ffd86b;
}

/* แผนงานประจำวัน / เป้าหมาย */
.today-plan, .today-goal {
    margin-top: 20px;
    background: rgba(255,255,255,0.04);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
}

.today-plan h4,
.today-goal h4 {
    font-size: 20px;
    color: #ffd86b;
    margin-bottom: 8px;
}

.today-plan ul li,
.today-goal ul li {
    font-size: 16px;
    margin: 5px 0;
}

/* -------------------------------------------------- */
/* 📱 มือถือ (ต่ำกว่า 600px) */
/* -------------------------------------------------- */
@media (max-width: 600px) {

    .today-section {
        padding: 15px;
        margin: 20px auto;
    }

    .today-section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .today-photo img {
        height: 200px;
    }

    .today-content {
        padding: 15px 18px;
    }

    .today-title {
        font-size: 20px;
    }

    .today-detail {
        font-size: 16px;
        line-height: 1.8;
    }

    .today-info p {
        font-size: 15px;
    }

    .today-plan h4,
    .today-goal h4 {
        font-size: 18px;
    }

    .today-plan ul li,
    .today-goal ul li {
        font-size: 15px;
    }
}

/* -------------------------------------------------- */
/* 📱💻 แท็บเล็ต (601px – 900px) */
/* -------------------------------------------------- */
@media (min-width: 601px) and (max-width: 900px) {

    .today-section {
        padding: 20px 25px;
    }

    .today-section-title {
        font-size: 30px;
    }

    .today-photo img {
        height: 230px;
    }

    .today-title {
        font-size: 22px;
    }

    .today-detail {
        font-size: 17px;
    }

    .today-info p {
        font-size: 16px;
    }

    .today-plan h4,
    .today-goal h4 {
        font-size: 19px;
    }
}
/*--แก้จอเอียง--*/
/* ===============================
   ⭐ Mobile Landscape (เอียงจอ)
   ความสูงน้อย → ลด padding + ลด font + ลดภาพ
================================ */
@media (max-height: 500px) and (max-width: 1024px) {

    .today-section {
        padding: 15px;
        margin: 15px auto;
    }

    .today-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .today-photo img {
        height: 160px;
    }

    .today-content {
        padding: 14px 16px;
    }

    .today-title {
        font-size: 18px;
    }

    .today-detail {
        font-size: 15px;
        line-height: 1.6;
    }

    .today-info p {
        font-size: 14px;
    }

    .today-plan h4,
    .today-goal h4 {
        font-size: 17px;
    }

    .today-plan ul li,
    .today-goal ul li {
        font-size: 14px;
    }
}



