/* สไตล์เพิ่มเติมสำหรับการ์ดทำเนียบศิษย์เก่า */
.alumni-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f2f5 !important;
}

.alumni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}


  /* เอฟเฟกต์การ์ดศิษย์เก่าดีเด่น */
    .outstanding-card {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    .outstanding-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(13, 110, 253, 0.12) !important;
        border-color: rgba(13, 110, 253, 0.25) !important;
    }
    .outstanding-card .card-img-wrapper {
        overflow: hidden;
        height: 290px;
        background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    }
    .outstanding-card img {
        transition: transform 0.5s ease;
    }
    .outstanding-card:hover img {
        transform: scale(1.06);
    }
    /* ป้ายรางวัลประจำปีแบบไล่เฉดสีทอง */
    .badge-award-gold {
        background: linear-gradient(135deg, #ffd700 0%, #f5b014 100%);
        color: #212529;
        box-shadow: 0 4px 10px rgba(245, 176, 20, 0.35);
    }
    /* ตัดข้อความคำประกาศเกียรติคุณให้แสดงสูงสุด 2 บรรทัด */
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* เอฟเฟกต์การ์ดข่าวสารและกิจกรรม */
    .news-card {
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(13, 110, 253, 0.1) !important;
        border-color: rgba(13, 110, 253, 0.25) !important;
    }
    .news-card .news-img-wrapper {
        overflow: hidden;
        height: 200px;
        background-color: #f1f5f9;
    }
    .news-card img {
        transition: transform 0.5s ease;
    }
    .news-card:hover img {
        transform: scale(1.06);
    }
    .news-card:hover .news-title {
        color: #0d6efd !important;
    }
    /* ตัดข้อความให้แสดงสูงสุด 2 บรรทัดอย่างสวยงาม */
    .text-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

      /* กล่องอัปโหลดรูปภาพแบบ Modern Dropzone */
    .upload-dropzone {
        border: 2px dashed #cbd5e1;
        background-color: #f8fafc;
        transition: all 0.25s ease;
        cursor: pointer;
    }
    .upload-dropzone:hover, .upload-dropzone.dragover {
        border-color: #0d6efd;
        background-color: #eff6ff;
    }
    .form-card-accent {
        border-top: 4px solid #0d6efd !important;
    }
    .publish-card-accent {
        border-top: 4px solid #198754 !important;
    }

    
     /* แถบหัวข้อด้านบนไล่เฉดสีน้ำเงินเข้มตามภาพตัวอย่าง */
    .admin-header-banner {
        background: linear-gradient(135deg, #092c5c 0%, #115293 60%, #1976d2 100%);
        border-radius: 1rem;
    }
    .header-icon-box {
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        width: 52px;
        height: 52px;
    }
    .btn-back-outline {
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.45);
        color: #ffffff;
        transition: all 0.2s ease;
    }
    .btn-back-outline:hover {
        background-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }
    /* หัวข้อย่อยในการ์ดฝั่งขวา */
    .section-heading-blue {
        color: #1565c0;
        font-weight: 700;
        font-size: 0.95rem;
    }
    /* กล่องพรีวิวรูปภาพ */
    .cover-preview-box {
        background-color: #f8f9fa;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        height: 220px;
        overflow: hidden;
    }

     /* สไตล์แบนเนอร์ส่วนหัวถอดแบบจากภาพตัวอย่าง */
    .custom-banner-card {
        background: linear-gradient(90deg, #003087 0%, #0047AB 55%, #0056D2 100%);
        border-radius: 1rem;
        border-bottom: 5px solid #F5B014; /* เส้นขอบสีเหลืองทองด้านล่าง */
        position: relative;
        overflow: hidden;
    }
    .custom-banner-icon-box {
        background-color: #FFC107; /* สีเหลืองทองสด */
        color: #002255; /* สีน้ำเงินเข้มตัดกับพื้นเหลือง */
        width: 56px;
        height: 56px;
        border-radius: 0.75rem;
        flex-shrink: 0;
    }
    /* ลายน้ำไอคอนขนาดใหญ่ด้านขวา */
    .custom-banner-watermark {
        position: absolute;
        right: 3%;
        top: 50%;
        transform: translateY(-50%) rotate(-12deg);
        font-size: 8.5rem;
        color: rgba(255, 255, 255, 0.06);
        pointer-events: none;
        z-index: 0;
    }
    /* ปุ่มจัดการด้านขวาแบบโปร่งแสงขอบมน */
    .btn-banner-manage {
        background-color: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
        backdrop-filter: blur(4px);
        transition: all 0.2s ease;
    }
    .btn-banner-manage:hover {
        background-color: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.6);
        color: #ffffff;
    }
/*FOOTER*/
    .alumni-footer-navy {
        background: linear-gradient(90deg, #1c3a56 0%, #1c3a56 55%, #1c3a56 100%);
        border-top: 4px solid #F5B014; /* เส้นสีทองด้านบน */
    }
    .dev-pill-gold {
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 193, 7, 0.45);
        color: #FFD54F;
    }