/* --- Vtouch Project Theme (Light Version) --- */
body {
    padding: 0px;
    padding-top: 80px; /* เพิ่มจาก 80px */
    background-color: #fcfcfc; /* Light gray background */
    color: #333333; /* Dark text color for readability */
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.container h1 {
    color: #111111; /* Dark heading color */
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 15px;
    margin-top: 0; /* เพิ่ม */
    margin-bottom: 30px;
}

.announce {
    background-color: #ffffff; /* White card background */
    padding: 20px 25px; /* เพิ่ม padding */
    border: 1px solid #e0e0e0; /* Subtle light border */
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.announce:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.announce h3 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #222222; /* Dark color for titles */
}

.announce small {
    color: #777777; /* Medium gray for dates */
    font-size: 0.9em;
}

.announce p {
    margin: 15px 0 0 0;
    white-space: pre-wrap; /* To respect newlines from the data */
    font-size: 1.05em; /* เพิ่มขนาดตัวอักษรเล็กน้อย */
    line-height: 1.7; /* เพิ่มระยะห่างบรรทัด */
}

/* --- Loading and Error States --- */
#announce p.status-message {
    text-align: center;
    font-size: 1.1em;
    padding: 40px 0;
    color: #888888;
}

#announce p.error-message {
    text-align: center;
    font-size: 1.1em;
    padding: 40px 0;
    color: #d9534f; /* A standard error red */
    font-weight: 600;
}
