﻿.hero-help {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #ff6b35 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 40%, rgba(255,107,53,0.2) 0%, transparent 50%),
                            radial-gradient(circle at 75% 70%, rgba(255,107,53,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-help .container {
    position: relative;
    z-index: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-help h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-help .tagline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-left: 5px solid #ff6b35;
}

.article-card h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 25px 0 10px;
}

.article-card p {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-card ul {
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}

.article-card ul li {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    padding: 4px 0 4px 20px;
    position: relative;
}

.article-card ul li::before {
    content: '→';
    color: #ff6b35;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.res-bar {
    background: #2c3e50;
    border-bottom: 3px solid #ff6b35;
    padding: 0 20px;
    position: sticky;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 1;
    height: 52px;
    display: flex;
    align-items: center;
}

.res-bar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.res-bar-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.res-bar-label span {
    color: #ff6b35;
    font-size: 1.1rem;
}

.res-hamburger {
    background: none;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    padding: 6px 9px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.3s ease;
}

.res-hamburger:hover {
    background: #ff6b35;
}

.res-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X when open */
.res-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.res-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.res-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Slide-in panel */
.res-panel {
    position: fixed;
    top: 100px;
    left: 0;
    width: 310px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: #2c3e50;
    border-right: 3px solid #ff6b35;
    border-bottom: 3px solid #ff6b35;
    border-radius: 0 0 12px 0;
    z-index: 189;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.res-panel.open {
    transform: translateX(0);
}

.res-panel-section {
    padding: 0;
}

.res-panel-heading {
    background: #34495e;
    color: #ff6b35;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    margin-top: 8px;
}

.res-panel a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s ease;
}

.res-panel a:last-child {
    border-bottom: none;
}

.res-panel a:hover {
    background: #ff6b35;
    color: #fff;
    padding-left: 20px;
}




.res-panel::-webkit-scrollbar {
    width: 4px;
}

.res-panel::-webkit-scrollbar-track {
    background: #2c3e50;
}

.res-panel::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}










/* Backdrop */
.res-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 188;
}

.res-backdrop.open {
    display: block;
}

/* Spacer to push page content below fixed bar */
.res-bar-spacer {
    height: 52px;
}

.res-panel a {
    color: rgba(255,255,255,0.85) !important;
}

.res-panel a:hover {
    color: #fff !important;
}

.content-wrapper{
        max-width: 900px;
        margin: 20px auto;
        padding: 0 20px;
}


/* --- Tables --- */

.resource-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.resource-table th {
    background: #2c3e50;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
}

.resource-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: top;
}

.resource-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.resource-table tr:last-child td {
    border-bottom: none;
}

/* --- Highlight Box --- */

.highlight-box {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8db 100%);
    border-left: 5px solid #ff6b35;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.7;
}

/* --- Warning Box --- */

.warning-box {
    background: #fff9e6;
    border-left: 5px solid #ffc107;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
}

.warning-box p {
    margin: 0;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.7;
}

/* --- Steps List --- */

.steps-list {
    counter-reset: steps;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    padding: 10px 0 10px 45px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    counter-increment: steps;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 8px;
    width: 28px;
    height: 28px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 28px;
}

/* --- Media Queries --- */

@media (max-width: 768px) {
    .article-card {
        padding: 30px 25px;
    }

    .resource-table {
        font-size: 0.85rem;
    }

    .resource-table th,
    .resource-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .resources-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .resources-dropdown {
        width: 100%;
    }

    .resources-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .resources-dropdown-menu {
        width: 100%;
        position: static;
        border-radius: 8px;
        margin-top: 5px;
    }

    .article-card {
        padding: 25px 20px;
    }
}

.intro-card {
        background: white;
        border-radius: 16px;
        padding: 40px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        margin-bottom: 25px;
}

.intro-card h2 {
        font-size: clamp(1.5rem, 2.5vw, 1.8rem);
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
        text-align: center;
}

.intro-card p {
        font-size: 1.05rem;
        color: #495057;
        line-height: 1.7;
        max-width: 700px;
        margin: 0 auto;
        text-align: left;
}