/* Sınıf Test Çöz Pillar Page - Ortak Stiller */
.sinif-pillar-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

/* Hero */
.s4p-hero {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    padding: 55px 20px;
    text-align: center;
    color: #fff;
}
.s4p-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.s4p-hero-emoji { margin-right: 8px; }
.s4p-hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 22px auto;
}
.s4p-hero-stats {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 20px;
}
.s4p-stat { text-align: center; }
.s4p-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}
.s4p-stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sections */
.s4p-section { padding: 45px 20px; }
.s4p-container { max-width: 1100px; margin: 0 auto; }
.s4p-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px 0;
    color: #2d3748;
}
.s4p-title-icon { margin-right: 8px; }
.s4p-section-desc {
    text-align: center;
    color: #718096;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* Ders Kartlari */
.s4p-dersler { background: #f0faf0; }
.s4p-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.s4p-ders-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #9c27b0;
    display: block;
}
.s4p-ders-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.s4p-card-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.s4p-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2d3748;
}
.s4p-card-desc {
    font-size: 0.9rem;
    color: #718096;
    margin: 0 0 12px 0;
    line-height: 1.5;
}
.s4p-card-count {
    display: inline-block;
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.s4p-view-all {
    text-align: center;
    margin-top: 30px;
}
.s4p-view-all-btn {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.s4p-view-all-btn:hover { background: #1b5e20; }

/* Latest Tests */
.s4p-latest { background: #f8f9fa; }
.s4p-tests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 25px;
}
.s4p-test-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.s4p-test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.s4p-test-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: stretch;
}
.s4p-test-thumb {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3e5f5;
}
.s4p-test-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.s4p-no-thumb { font-size: 2.5rem; }
.s4p-test-info {
    padding: 15px;
    display: flex;
    align-items: center;
}
.s4p-test-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

/* Guide / SEO Content */
.s4p-guide { background: #fff; }
.s4p-guide-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    line-height: 1.8;
}
.s4p-guide-box h2 {
    color: #7b1fa2;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3e5f5;
}
.s4p-guide-box h2:first-child { margin-top: 0; }
.s4p-guide-box h3 {
    color: #2d3748;
    font-size: 1.1rem;
    margin: 22px 0 10px 0;
}
.s4p-guide-box p {
    color: #4a5568;
    margin-bottom: 14px;
}
.s4p-guide-box a {
    color: #7b1fa2;
    font-weight: 600;
    text-decoration: none;
}
.s4p-guide-box a:hover { text-decoration: underline; }
.s4p-guide-box ul {
    margin: 12px 0 18px 0;
    padding-left: 20px;
}
.s4p-guide-box li {
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Konu Anlatimlari Hub */
.s4p-ka-hub { background: #f5f0fa; }
.s4p-ka-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.s4p-ka-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #7b1fa2;
}
.s4p-ka-card:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.s4p-ka-icon { font-size: 2.2rem; flex-shrink: 0; }
.s4p-ka-info { flex: 1; }
.s4p-ka-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}
.s4p-ka-desc {
    font-size: 0.88rem;
    color: #718096;
    margin: 0 0 8px 0;
}
.s4p-ka-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* FAQ */
.s4p-faq { background: #fff; }
.s4p-faq-list {
    max-width: 800px;
    margin: 25px auto 0 auto;
}
.s4p-faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 12px;
    border-left: 4px solid #7b1fa2;
}
.s4p-faq-q {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}
.s4p-faq-a {
    font-size: 0.92rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .s4p-hero { padding: 40px 15px; }
    .s4p-hero-title { font-size: 1.6rem; }
    .s4p-hero-stats { gap: 20px; flex-wrap: wrap; }
    .s4p-stat-num { font-size: 1.6rem; }
    .s4p-section { padding: 35px 15px; }
    .s4p-section-title { font-size: 1.3rem; }
    .s4p-card-grid { grid-template-columns: repeat(2, 1fr); }
    .s4p-tests-grid { grid-template-columns: 1fr; }
    .s4p-test-thumb { width: 100px; height: 100px; }
    .s4p-guide-box { padding: 20px; }
    .s4p-guide-box h2 { font-size: 1.2rem; }
    .s4p-ka-card { padding: 15px; gap: 15px; }
    .s4p-faq-item { padding: 15px 18px; }
}
@media (max-width: 480px) {
    .s4p-card-grid { grid-template-columns: 1fr; }
}
