/* Styles for resources/crisis.html */
.crisis-page {
    padding-top: 60px;
}

.emergency-banner {
    background: #dc3545;
    color: white;
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.emergency-banner p {
    margin: 0;
    font-size: 1.1rem;
}

.crisis-header {
    background: #1e4d8b;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    --heading-color: currentColor;
}

.crisis-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.crisis-header .container > .lead {
    color: white;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 3rem 0;
}

section h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

section > .container > p {
    color: var(--text-muted, #555);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Hotlines */
.hotline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hotline-card {
    background: var(--card-bg, #fff);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.hotline-card:hover {
    transform: translateY(-3px);
}

.hotline-card.primary {
    border: 3px solid #52b788;
}

.hotline-icon {
    font-size: 2.5rem;
    color: var(--brand-text, #1e4d8b);
    margin-bottom: 1rem;
}

.hotline-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.hotline-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-text, #2e8059);
    margin-bottom: 1rem;
}

.hotline-card p {
    color: var(--text-muted, #666);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Warning Signs */
.warning-signs-section {
    background: #fff8f8;
}
[data-theme="dark"] .warning-signs-section { background: var(--bg-light); }

.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sign-category h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sign-category h3 i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.sign-category ul {
    list-style: none;
    padding: 0;
}

.sign-category li {
    padding: 0.5rem 0;
    color: var(--text-muted, #555);
    border-bottom: 1px solid var(--border-color, #eee);
}

/* Coping */
.coping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.coping-card {
    background: var(--card-bg, #fff);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.coping-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.coping-card p {
    color: var(--text-muted, #666);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Resources */
.resources-section {
    background: var(--bg-light, #f8f9fa);
}

.resource-list {
    display: grid;
    gap: 1rem;
}

.resource-item {
    background: var(--card-bg, #fff);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.resource-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.resource-item p {
    color: var(--text-muted, #666);
    margin: 0;
    flex: 1;
}

.resource-item a {
    background: #1e4d8b;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    --heading-color: currentColor;
}

.resource-item a:hover {
    background: #163a6b;
}

/* Help Steps */
.help-steps {
    display: grid;
    gap: 1.5rem;
}

.help-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card-bg, #fff);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1e4d8b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    --heading-color: currentColor;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted, #666);
    margin: 0;
}

/* Encouragement */
.encouragement-section {
    background: var(--panel-ink);
    color: white;
    text-align: center;
    --heading-color: currentColor;
}

.encouragement-section .container > p,
.encouragement-section .container > ul {
    color: white;
}

.encouragement-section h2 {
    color: white;
    font-size: 2rem;
}

.encouragement-section p {
    color: white;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

.encouragement-section ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.encouragement-section li {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.encouragement-section a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .crisis-header h1 {
        font-size: 1.8rem;
    }

    .resource-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-item a {
        width: 100%;
        text-align: center;
    }
}
