.banner-container {
    height: auto;
    padding-top: 150px;
}

.banner-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-weight: bold;
    z-index: 2;

    width: 90%; /* tránh tràn ra mép ảnh */
    display: -webkit-boxbox;
    -webkit-line-clamp: 2; /* tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1rem, 2vw, 1.5rem); /* chữ co dãn theo màn hình */
    line-height: 1.3;

    /* Optional: background mờ phía sau chữ để dễ đọc */
    padding: 0.2em 0.5em;
    border-radius: 5px;
}

.remind-box {
    min-height: 130vh;
    margin-bottom: 20px;
    position: relative;
}

.reminder-bg {
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

.reminder-title {
    font-family: "Corinthia"; /* Giống chữ viết tay */
    font-size: 100px;
    color: var(--primary-color);
    transform: rotate(-15deg);
    margin-bottom: 15px;
}

.reminder-quote {
    background: #ffffff66;
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    margin: 40px 120px;
    font-size: 24px;
    font-weight: 700;
}

.reminder-content {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.reminder-author {
    font-size: 32px;
    border-top: 1.5px solid #333;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .reminder-quote {
        max-width: unset;
        padding: 0;
        margin: auto;
    }

    .reminder-content {
        position: static;
        transform: none;
    }
}
