/*
Theme Name: Hello Elementor Child
Theme URI: https://resultniti.com/
Description: Child theme for Hello Elementor, optimized for Resultniti automated job articles and Elementor page building.
Author: Resultniti
Author URI: https://resultniti.com/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, flexible-header, custom-colors, translation-ready, rtl-language-support
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   RESULTNITI PREMIUM DESIGN SYSTEM (rn-article)
   ========================================================================== */

/* Article Wrapper & Global Text Style */
.rn-article {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2D3748;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 auto;
    padding: 10px 0;
}

.rn-article h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A365D;
    margin-top: 35px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #E2E8F0;
}

.rn-article h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3182CE, #319795);
    border-radius: 2px;
}

.rn-article h3 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2C5282;
    margin-top: 25px;
    margin-bottom: 10px;
}

.rn-article p {
    margin-bottom: 20px;
}

/* Key Highlights Box */
.rn-highlights-box {
    background: linear-gradient(135deg, rgba(239, 244, 255, 0.7), rgba(224, 243, 255, 0.7));
    border-left: 5px solid #3182CE;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.rn-highlights-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2B6CB0;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rn-highlights-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.rn-highlights-box ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #4A5568;
}

.rn-highlights-box ul li:last-child {
    margin-bottom: 0;
}

.rn-highlights-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: #319795;
    font-weight: bold;
    font-size: 14px;
}

/* Responsive Modern Tables */
.rn-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

.rn-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    font-size: 15px;
}

.rn-table th {
    background: linear-gradient(90deg, #1A365D, #2A4365);
    color: #FFFFFF;
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rn-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #E2E8F0;
    color: #4A5568;
}

.rn-table tr:nth-child(even) {
    background-color: #F7FAFC;
}

.rn-table tr:hover {
    background-color: #EDF2F7;
    transition: background-color 0.2s ease;
}

/* Important Link Buttons */
.rn-links-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px 0;
}

.rn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rn-btn-apply {
    background: linear-gradient(135deg, #3182CE, #2B6CB0);
    color: #FFFFFF !important;
}

.rn-btn-apply:hover {
    background: linear-gradient(135deg, #2B6CB0, #2C5282);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.rn-btn-pdf {
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #FFFFFF !important;
}

.rn-btn-pdf:hover {
    background: linear-gradient(135deg, #C53030, #9B2C2C);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.rn-btn-official {
    background: linear-gradient(135deg, #319795, #2C7A7B);
    color: #FFFFFF !important;
}

.rn-btn-official:hover {
    background: linear-gradient(135deg, #2C7A7B, #234E52);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 151, 149, 0.3);
}

/* FAQ Accordion Styling */
.rn-faq-container {
    margin: 30px 0;
}

.rn-faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s ease;
}

.rn-faq-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.rn-faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #2D3748;
    background-color: #F7FAFC;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rn-faq-question::after {
    content: '+';
    font-size: 20px;
    color: #718096;
    transition: transform 0.2s ease;
}

.rn-faq-item.active .rn-faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.rn-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #4A5568;
    font-size: 15px;
    line-height: 1.7;
}

.rn-faq-item.active .rn-faq-answer {
    padding: 16px 20px;
    max-height: 500px;
    border-top: 1px solid #E2E8F0;
}

/* Internal Linking Mesh */
.rn-internal-suggestions {
    background-color: #F8FAFC;
    border: 1px dashed #CBD5E0;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 25px 0;
}

.rn-internal-suggestions h5 {
    font-size: 15px;
    font-weight: 700;
    color: #4A5568;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rn-internal-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rn-internal-suggestions ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.rn-internal-suggestions ul li:last-child {
    margin-bottom: 0;
}

.rn-internal-suggestions ul li::before {
    content: "🔗";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 12px;
}

.rn-internal-suggestions ul li a {
    color: #3182CE;
    text-decoration: none;
    font-weight: 500;
}

.rn-internal-suggestions ul li a:hover {
    text-decoration: underline;
    color: #2B6CB0;
}

/* Application Steps & Timeline */
.rn-timeline {
    position: relative;
    margin: 25px 0;
    padding-left: 20px;
    border-left: 2px solid #E2E8F0;
}

.rn-timeline-step {
    position: relative;
    margin-bottom: 25px;
}

.rn-timeline-step:last-child {
    margin-bottom: 0;
}

.rn-timeline-badge {
    position: absolute;
    left: -31px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #3182CE;
    color: #FFFFFF;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rn-timeline-content {
    background-color: #FFFFFF;
}

/* Schema FAQ hidden helper markup for structural rendering */
.rn-schema-helper {
    display: none;
}

/* Disclaimer Section */
.rn-disclaimer {
    border-top: 1px solid #E2E8F0;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    color: #718096;
    line-height: 1.6;
}

/* ==========================================================================
   SCOPED STYLES FROM struture.html (SCOPED UNDER .rn-article)
   ========================================================================== */

.rn-article .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    padding: 20px;
    margin-bottom: 20px;
}

.rn-article .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.rn-article .hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.rn-article .badge {
    display: inline-block;
    background: #19b549;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}

.rn-article h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: #1A365D;
}

.rn-article .meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.rn-article .share {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.rn-article .share a {
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.rn-article .fb {
    background: #1877f2;
}

.rn-article .x {
    background: #111;
}

.rn-article .wa {
    background: #0dbb42;
}

.rn-article .tg {
    background: #229ED9;
}

.rn-article .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.rn-article .info {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #F8FAFC;
}

.rn-article .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eaf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.rn-article table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.rn-article table td,
.rn-article table th {
    padding: 14px;
    border: 1px solid #eee;
    text-align: left;
}

.rn-article table th {
    background: #f8f8f8;
    font-weight: bold;
}

.rn-article .section-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    color: #1A365D;
    border-bottom: none;
    padding-bottom: 0;
}

.rn-article .section-title::after {
    display: none;
}

.rn-article .button {
    display: block;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rn-article .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rn-article .green {
    background: #18b649;
}

.rn-article .blue {
    background: #1976d2;
}

.rn-article .orange {
    background: #ff9800;
}

.rn-article .red {
    background: #e53935;
}

.rn-article .steps {
    padding-left: 20px;
}

.rn-article .steps li {
    margin: 14px 0;
    line-height: 1.6;
}

.rn-article .salary {
    font-size: 38px;
    font-weight: bold;
    color: #18b649;
}

.rn-article .faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.rn-article .faq-question {
    padding: 18px;
    cursor: pointer;
    background: #fdfdfd;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.rn-article .faq-answer {
    display: none;
    padding: 18px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* Custom Global Styles matching Result Niti design */
body {
    background-color: #f8fafc !important;
}

/* Ensure Elementor section backgrounds respect body color if default */
.elementor-section {
    background-color: transparent !important;
}

/* Specific section overrides where white is needed */
.hero-search-section {
    background-color: #ffffff !important;
}

.quick-category-section {
    background-color: #ffffff !important;
}

.featured-categories-section {
    background-color: transparent !important;
}


