:root {
    --gold: #c2a84d;
    --gold-dark: #a88c38;
}
.ypl-row{
    
    display:flex;
    flex-wrap:wrap;
    margin:-15px;
}

.ypl-col{
    width:33.333%;
    flex:0 0 33.333%;
    max-width:33.333%;
    padding:15px;
    box-sizing:border-box;
}

@media (max-width:991px){
    .ypl-col{width:50%;flex:0 0 50%;max-width:50%;}
}

@media (max-width:767px){
    .ypl-col{width:100%;flex:0 0 100%;max-width:100%;}
}

.talent-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.btn-danger:hover{
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}
.talent-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .3s ease;
}

.talent-card .card-img-top {
    width: 100%;
    height: 180px; /* was 260px */
    object-fit: cover;
}

.talent-card .card-body {
    padding: 15px 15px 18px;
    text-align: center;
}

.card-title {
    font-size: 1.25rem; /* was 1.5rem */
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 8px; /* was 12px */
    margin-top: 8px; /* was auto */
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 8px 16px;
    font-size: 15px;
    
}

.btn-danger,
.btn-secondary:disabled {
    min-width: 150px; /* was 180px */
    padding: 10px 16px;
}
/* ===== Modal CSS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none;
    background: rgba(0,0,0,0.5);
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    max-width: 600px;
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
    display: flex;
    align-items: center;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.modal-body {
    padding: 25px;
}

.modal-body img {    
  max-height: 300px;
  object-fit: cover;
  width: 100%;

}

.btn-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.btn-close::before {
    content: "\00d7";
}

.modal-open {
    overflow: hidden;
}

@media(max-width:768px){
    .modal-dialog{
        margin:15px;
    }
}
.disabled-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.65;
}
.youth-cards-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

