: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;
    min-height: 80px;
}

.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;
}

.rtl-content {
    direction: rtl;
    text-align: right;
}

.rtl-content .summercamp-title {
    text-align: right;
}

.rtl-content .summercamp-description {
    text-align: right;
}

.rtl-content input,
.rtl-content textarea{
    text-align: right;
}

.rtl-content input::placeholder,
.rtl-content textarea::placeholder{
    text-align: right;
}

.rtl-date{
    direction: rtl;
    text-align: right;
}

.rtl-date::-webkit-calendar-picker-indicator{
    cursor: pointer;
}

.summercamp-wrapper{
    max-width:1400px;
    margin:40px auto;
    padding:0 20px;
}

.summercamp-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.summercamp{
    background:#fff;
    border:1px solid #d8d8d8;
    border-radius:20px;
    overflow:hidden;
    transition:all .3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.summercamp:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.summercamp-image{
    height:150px;
    overflow:hidden;
}

.summercamp-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


.summercamp-body{
    padding:20px;
    text-align:center;
}

.summercamp-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}


.summercamp-title{
    font-size:18px; 
    font-weight:700;
    color:#16233b;
    margin-bottom:12px;
}

.summercamp-actions{
    display:flex;
    justify-content:center;
    gap:10px;
}

.summercamp-btn-apply{
    background:#c6b13f;
    color:#fff;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
}

.summercamp-btn-details{
    background:#fff;
    color:#333;
    text-decoration:none;
    padding:10px 18px;
    border:1px solid #ccc;
    border-radius:8px;
}
.apply-modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    z-index:9999;
}

.apply-modal-content{
    background:#fff;
    max-width:500px;
    width:90%;
    margin:80px auto;
    padding:30px;
    border-radius:12px;
    position:relative;
}

.close-modal{
    position:absolute;
    right:15px;
    top:10px;
    font-size:28px;
    cursor:pointer;
}

.form-group{
    margin-bottom:15px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
}

.submit-btn{
    background:#c6b13f;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:6px;
    cursor:pointer;
}

.filter-modal {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

    display: flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    margin: 0 auto;
}

.filter-modal h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

#hubFilter {
    width: 400px;
    height: 40px;
    padding: 0 35px 0 12px;
    border: 1px solid #d4b23f;
    border-radius: 8px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

#hubFilter:focus {
    outline: none;
    border-color: #d4b23f;
    box-shadow: 0 0 0 2px rgba(212,178,63,0.15);
}

.submit-btn {
    background: #d4b23f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #c2a334;
}
.initiative-details .img-wrapper {

    margin-bottom: 40px;
}
.no-results {
    display: none;
    text-align: center;
    width: 100%;
    margin: 50px auto;
    font-size: 24px;
    font-weight: 600;
    color: #666;
}
.date-filter {
    width: 180px;
    height: 41px;
    padding: 0 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    border: 1px solid #d4af37; 
    border-radius: 16px; 

}