.lp-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;
}
.lp-search-hero-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.lp-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);
}
.lp-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;
}
.lp-search-hero-badge i { margin-right: 5px; }
.lp-search-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.lp-search-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}
.lp-search-hero-desc a {
    color: #ffd4c2;
    text-decoration: underline;
    font-weight: 500;
}
.lp-search-hero-desc a:hover { color: #fff; text-decoration: none; }
.lp-search-hero + .lp-search-card { border-radius: 0 0 20px 20px !important; }
.lp-search-card { padding: 24px; }

.lp-result-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
}
.lp-result-header {
    background: linear-gradient(135deg, #fff3ed 0%, #ffd6c2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.lp-factor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.lp-factor-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 18px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.lp-factor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,103,37,0.12);
    border-color: #ffb88c;
}
.lp-factor-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff3ed 0%, #ffd6c2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #e55a1b;
    margin-bottom: 12px;
}
.lp-factor-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px;
}
.lp-factor-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.lp-corridor-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-corridor-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}
.lp-corridor-list li:last-child { border-bottom: none; }
.lp-corridor-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.lp-corridor-badge.high { background: #fff3ed; color: #ff6725; }
.lp-corridor-badge.medium { background: #fff3e0; color: #e65100; }
.lp-corridor-badge.emerging { background: #fff3ed; color: #ff6725; }

.lp-info-box {
    background: #fff3ed;
    border: 1px solid #ffd6c2;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #e55a1b;
    line-height: 1.6;
}
.lp-info-box i { margin-right: 6px; }

.lp-results-actions .btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
}

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

/* Section headings — prevent oversized defaults */
.lp-corridor-list + .card-box h3,
.card-box > h3.mb-20,
.card-box > h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.related-tools-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

/* SEO article section */
#tool-article h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ff6725;
    margin-bottom: 16px;
    line-height: 1.3;
}
#tool-article h3 {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 24px 0 10px;
    line-height: 1.4;
}
#tool-article p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}
#tool-article ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 16px;
}
#tool-article ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    padding: 4px 0;
}
#tool-article ul li::before {
    content: '\2713';
    color: #ff6725;
    font-weight: 700;
    margin-right: 8px;
}
#tool-article a {
    color: #ff6725;
    text-decoration: none;
    font-weight: 500;
}
#tool-article a:hover { text-decoration: underline; }

/* Corridor list — flex-wrap for long text */
.lp-corridor-list li {
    flex-wrap: wrap;
}
.lp-corridor-list li strong {
    color: #333;
}

/* Related tool cards */
.related-tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,103,37,0.12);
    border-color: #ffb88c;
    text-decoration: none;
    color: #333;
}
.related-tool-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff3ed 0%, #ffd6c2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #e55a1b;
}
.related-tool-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #333;
}
.related-tool-info p {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.4;
}
.related-tool-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 12px;
}

/* Result card heading */
#lp-result-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

@media (max-width: 576px) {
    .lp-factor-grid { grid-template-columns: 1fr; }
    .lp-search-hero-title { font-size: 20px; }
    .card-box > h3.mb-20,
    .card-box > h3 { font-size: 18px; }
    #tool-article h2 { font-size: 19px; }
    #tool-article h3 { font-size: 16px; }
    .related-tool-card { padding: 12px; }
}

@media print {
    .dashboard-side-menu, .dashboard-header, .lp-search-hero, .lp-search-card,
    .related-tool-card, #tool-article, .lp-faq-item, footer, nav, .breadcrumb { display: none !important; }
    .lp-result-card { box-shadow: none !important; border: 1px solid #ddd; }
}
