.cc-search-hero {
    background: linear-gradient(135deg, #ff6725 0%, #ff8f5c 50%, #ffb88c 100%);
    padding: 32px 28px 22px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}
.cc-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.cc-search-hero-decoration::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.cc-search-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.cc-search-hero-badge i { margin-right: 5px; }
.cc-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.cc-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.cc-search-hero-desc a {
    color: #ffd4c2;
    text-decoration: underline;
    font-weight: 500;
}
.cc-search-hero-desc a:hover { color: #fff; text-decoration: none; }
.cc-search-hero + .cc-search-card { border-radius: 0 0 20px 20px !important; }
.cc-search-card { padding: 24px; }

/* Info sections */
.cc-info-section {
    margin-bottom: 24px;
}
.cc-info-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ff6725;
    margin-bottom: 14px;
}
.cc-info-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #ff6725;
    margin-bottom: 8px;
}
.cc-info-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
.cc-info-section ul, .cc-info-section ol {
    padding-left: 20px;
    margin-bottom: 12px;
}
.cc-info-section ul li, .cc-info-section ol li {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 6px;
}

/* Case type cards */
.cc-case-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.cc-case-card {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cc-case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.cc-case-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #ff6725;
    font-size: 16px;
}
.cc-case-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}
.cc-case-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Court hierarchy */
.cc-court-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.cc-court-level {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 16px;
}
.cc-court-level-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #ff6725;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.cc-court-level-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}
.cc-court-level-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Step-by-step guide */
.cc-step-list {
    counter-reset: cc-steps;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.cc-step-list li {
    counter-increment: cc-steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.cc-step-list li:last-child { border-bottom: none; }
.cc-step-list li::before {
    content: counter(cc-steps);
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #fff5f0;
    color: #ff6725;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Guidance result card */
.cc-guidance-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
}
.cc-guidance-header {
    background: linear-gradient(135deg, #fff5f0 0%, #ffede6 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.cc-guidance-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.cc-guidance-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 14px 16px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cc-guidance-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #333;
    text-decoration: none;
}
.cc-guidance-link i {
    font-size: 20px;
    color: #ff6725;
    width: 24px;
    text-align: center;
}
.cc-guidance-link span {
    font-size: 13px;
    font-weight: 600;
}

/* Warning / info banners */
.cc-warning-banner {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cc-warning-banner i {
    color: #e65100;
    font-size: 18px;
    margin-top: 2px;
}
.cc-warning-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}
.cc-important-banner {
    background: #fff5f0;
    border: 1px solid #ffd4c2;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cc-important-banner i {
    color: #ff6725;
    font-size: 18px;
    margin-top: 2px;
}
.cc-important-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

/* Results action buttons */
.cc-results-actions .btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
}

/* FAQ */
.cc-faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.cc-faq-item.open { border-color: #ff6725; }
.cc-faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    background: #fafafa;
}
.cc-faq-question i { transition: transform 0.3s; color: #ff6725; }
.cc-faq-item.open .cc-faq-question i { transform: rotate(180deg); }
.cc-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.cc-faq-item.open .cc-faq-answer {
    padding: 0 20px 16px;
    max-height: 500px;
}

/* Print styles */
@media print {
    .dashboard-side-menu, .dashboard-header, .cc-search-hero, .cc-search-card,
    .related-tool-card, #tool-article, .cc-faq-item, footer, nav, .breadcrumb,
    .cc-results-actions, .related-tools-heading { display: none !important; }
    .cc-guidance-card { box-shadow: none !important; border: 1px solid #ddd; }
    .cc-guidance-card::before {
        content: 'Court Case Search Guidance — Source: tg.verified.realestate — Printed: ' attr(data-date);
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }
    .cc-guidance-link { break-inside: avoid; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cc-search-hero { padding: 24px 18px 18px; }
    .cc-search-hero-title { font-size: 20px; }
    .cc-case-type-grid { grid-template-columns: 1fr; }
    .cc-guidance-link-grid { grid-template-columns: 1fr; }
    .cc-guidance-card { padding: 20px; }
}

@media (max-width: 576px) {
    .cc-search-hero-title { font-size: 18px; }
    .cc-search-hero-desc { font-size: 13px; }
    .cc-court-level { flex-direction: column; gap: 8px; }
    .cc-guidance-header .row > div { margin-bottom: 8px; }
}
