/* Premium Separate Layout - Subtle Hover Effect */

:root {
    --primary-orange: #ff7300;
    --orange-hover: #e66700;
    --orange-soft: rgba(255, 115, 0, 0.08);
    --text-dark: #1e293b;
    --text-gray: #64748b;
}

/* --- 1. BCNC Online Library Section --- */
.bcnc-section-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.bcnc-card-horizontal {
    background: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bcnc-card-horizontal:hover {
    transform: translateY(-4px); /* ลดระยะลอยลง */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* เงาบางลง */
}

.bcnc-logo-box {
    flex-shrink: 0;
    width: 380px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bcnc-logo-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.06));
}

.bcnc-content {
    flex-grow: 1;
}

.bcnc-title {
    font-family: 'Kanit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.bcnc-title span {
    color: var(--primary-orange);
}

.bcnc-desc {
    font-family: 'Sarabun', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-bcnc {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--primary-orange);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 115, 0, 0.2);
}

.btn-bcnc:hover {
    background: var(--orange-hover);
    transform: translateX(5px);
    box-shadow: 0 12px 25px rgba(255, 115, 0, 0.3);
}

/* --- 2. CINAHL Package Section --- */
.cinahl-section-wrapper {
    max-width: 1100px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.cinahl-minimal-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cinahl-minimal-card:hover {
    transform: translateY(-4px); /* ลดระยะลอยลง */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* เงาบางลง */
}

.cinahl-head {
    margin-bottom: 30px;
    text-align: center;
}

.cinahl-title {
    font-family: 'Kanit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.cinahl-title span {
    color: var(--primary-orange);
}

.search-box-premium {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 24px;
    border: 2px solid #edf2f7;
    transition: all 0.3s ease;
}

.search-box-premium:focus-within {
    border-color: var(--primary-orange);
    background: #ffffff;
    box-shadow: 0 0 0 5px var(--orange-soft);
}

.cinahl-select {
    padding: 0 25px;
    border: none;
    background: transparent;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
}

.cinahl-input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-family: 'Sarabun', sans-serif;
    font-size: 1.15rem;
    outline: none;
}

.btn-cinahl-search {
    background: var(--primary-orange); /* เปลี่ยนเป็นสีส้ม */
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 14px;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cinahl-search:hover {
    background: #0088f7; /* เปลี่ยนเป็นสีฟ้าเมื่อ hover */
    transform: translateY(-2px);
}

.advanced-search-link {
    text-align: right;
    margin-top: 15px;
}

.advanced-search-link a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    transition: 0.2s;
}

.advanced-search-link a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .bcnc-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .bcnc-logo-box {
        width: 100%;
        max-width: 350px;
    }
    .btn-bcnc {
        margin: 0 auto;
    }
    .search-box-premium {
        flex-direction: column;
        border-radius: 20px;
    }
    .cinahl-select {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        height: 50px;
        width: 100%;
    }
    .btn-cinahl-search {
        padding: 16px;
    }
}
