.article-card {
    position: relative;
    border-radius: 12px;
    transition: .3s all ease-in-out;
}

.article-card:before {
    /*position: absolute;*/
    /*content: "";*/
    /*pointer-events: none;*/
    /*width: calc(100% + 20px);*/
    /*height: calc(100% + 20px);*/
    /*top: -10px;*/
    /*left: -10px;*/
    /*box-shadow: 3px 0 calc(10 / 1920 * 100rem) rgba(0, 0, 0, 0.25);*/
    /*transition: var(--transition-default);*/
    /*opacity: 0;*/
    /*border-radius: 12px;*/
}

.article-card:after {
    /*position: absolute;*/
    /*content: "";*/
    /*pointer-events: none;*/
    /*width: calc(100% + 20px);*/
    /*height: calc(100% + 20px);*/
    /*top: -10px;*/
    /*left: -10px;*/
    /*transition: var(--transition-default);*/
    /*opacity: 0;*/
    /*border-radius: 12px;*/
    /*border: 1px solid transparent;*/
}

.article-card:hover:after {
    border: 1px solid rgb(var(--secondary-color));
    opacity: 1;
}

.article-card .card-header {
    overflow: hidden;
    border-radius: 6px;
}

.article-card .card-body {
    display: flex;
    flex-direction: column;
}

.article-card .card-body .card-title {
    font-size: 1.3em;
    font-weight: 500;
    color: rgb(var(--primary-color));
    line-height: 1.3;
    --line: 2;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    /*-webkit-line-clamp: var(--line);*/
    /*line-clamp: var(--line);*/
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
    transition: .3s all ease-in-out;
}

.article-card .card-body .card-text {
    font-size: 1em;
    color: #29292c;
    --line: 3;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: var(--line);
    line-clamp: var(--line);
    -webkit-box-orient: vertical;
    line-height: 1.6;
    /*margin-top: auto;*/
    font-weight: 300;
}

.article-card:hover:before {
    opacity: 1;
}

.article-card:hover .card-header img {
    transform: scale(1.1);
}

.article-card .card-body .card-date {
    margin-bottom: 8px;
    color: rgb(var(--secondary-color));
    font-weight: 500;
    font-size: .925em;
}

.article-card:hover .card-body .card-title {
    color: rgb(var(--primary-color));
}

.ratio-5x3 {
    --bs-aspect-ratio: calc(3 / 5 * 100%);
}

.ratio > img {
    -o-object-fit: cover;
    object-fit: cover;
}

.transition-default {
    -o-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
}

.form-check-label {
    display: block; /* Ensure label wraps correctly */
}

.section-header-custom {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 5px solid var(--accent-color);
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.helper-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-style: italic;
}

.required-star {
    color: red;
}

.line-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* số dòng muốn hiển thị */
    overflow: hidden;
}

.line-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* số dòng muốn hiển thị */
    overflow: hidden;
}

.buy-tickets .ticket-form .form-group .select2-container--bootstrap-5 .select2-selection {
    padding: 12px 16px;
    height: 49px;
}
