/* ===== GENERAL ===== */
.object-fit-cover { object-fit: cover; }
.no-decoration { text-decoration: none; color: inherit; }
.no-decoration:hover { color: inherit; }

.section-title {
    position: relative;
    margin-bottom: 20px;
}
.section-line {
    border-bottom: 2px solid #ffc107;
    width: 100px;
    margin-top: 10px;
}

.test-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== TEST HERO SLIDER (news-style) ===== */
.test-hero-section {
    margin-bottom: 2rem;
}
.test-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 420px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #1a1a2e;
}
.test-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.test-slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.test-slider-slide.active {
    opacity: 1;
    z-index: 2;
}
.test-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}
.test-slider-slide.active img {
    transform: scale(1.04);
}
.test-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.85) 100%);
    z-index: 3;
}
.test-slider-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Slider Controls */
.test-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.test-hero-slider:hover .test-slider-btn { opacity: 1; }
.test-slider-btn:hover { background: rgba(255,255,255,0.3); }
.test-slider-prev { left: 1rem; }
.test-slider-next { right: 1rem; }

/* Slider Dots */
.test-slider-dots {
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    z-index: 5;
    display: flex;
    gap: 6px;
}
.test-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.test-slider-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.3);
}
.test-slider-dot:hover { border-color: #fff; }

/* Slider Progress */
.test-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 5;
}
.test-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: #ffc107;
}

/* ===== HORIZONTAL TEST CARDS (one per row) ===== */
.test-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.test-row-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 165px;
}
.test-row-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.test-row-img {
    flex-shrink: 0;
    width: 240px;
    height: 100%;
}
.test-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.test-row-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.test-row-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.35;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.test-row-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SIDEBAR — Senin İçin Seçtiklerimiz (Nobel-class) ===== */
.test-sidebar-sticky {
    position: sticky;
    top: 90px;
}
.test-sidebar-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.test-sidebar-header {
    padding: 14px 18px;
    border-bottom: 2px solid #ffc107;
    background: #fff;
}
.test-sidebar-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #1a1a2e;
    margin: 0;
}
.test-sidebar-body {
    display: flex;
    flex-direction: column;
}
.test-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.15s;
}
.test-sidebar-item:last-child {
    border-bottom: none;
}
.test-sidebar-item:hover {
    background: #f8f9fa;
}
.test-sidebar-img {
    width: 72px;
    height: 52px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.test-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.test-sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== PAGINATION ===== */
.pagination .page-item.active .page-link {
    background-color: rgb(129, 151, 175);
    border-color: rgb(129, 151, 175);
}
.pagination .page-link {
    color: rgb(129, 151, 175);
}

/* ===== CATEGORY DROPDOWN ===== */
.category-dropdown-container {
    position: relative;
}
.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 180px;
    z-index: 1000;
    display: none;
    padding: 8px 0;
}
.category-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}
.category-dropdown a:hover {
    background-color: #f8f9fa;
}
.category-dropdown-container:hover .category-dropdown {
    display: block;
}

/* ===== BREADCRUMB FIX ===== */
.breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.15s;
}
.breadcrumb-item a:hover {
    color: #1a1a2e;
}
.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .test-hero-slider { height: 320px; }
    .test-slider-title { font-size: 1.3rem; }
    .test-slider-overlay { padding: 1.5rem; }
    .test-sidebar-sticky { position: static; margin-top: 2rem; }
}
@media (max-width: 767px) {
    .test-hero-slider { height: 260px; }
    .test-slider-overlay { padding: 1.2rem; }
    .test-slider-title { font-size: 1.1rem; }
    .test-row-card { flex-direction: column; height: auto; }
    .test-row-img { width: 100%; height: 160px; }
    .test-row-body { padding: 14px 16px; }
    .test-row-title { font-size: 1rem; }
}
