/* Online Chat Safety page specific styles */
.learn-hero {
    background-color: var(--warm-red-dark);
    padding: calc(64px + var(--space-xxl)) 0 var(--space-xxl);
    text-align: center;
    color: var(--white);
}

.learn-hero h1 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.learn-hero p {
    color: var(--white);
    opacity: 0.9;
}

.learn-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-xxl);
}

.article-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xl);
}

.article-content h2 {
    margin-top: var(--space-xl);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: var(--space-lg) 0;
}

.article-content p {
    line-height: 1.6;
}

.article-content ul,
.article-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.article-content li {
    margin-bottom: var(--space-md);
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
}

.article-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--cool-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
}

.publish-date {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.article-share {
    margin-left: auto;
}

.share-btn {
    background: none;
    border: none;
    color: var(--cool-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.callout {
    background-color: var(--light-gray);
    border-left: 3px solid var(--warm-red);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.danger-callout {
    background-color: rgba(238, 39, 55, 0.1);
    border-left: 3px solid var(--warm-red);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Sidebar styles moved to article-sidebar-layout.css */

/* Table of contents styles moved to article-sidebar-layout.css */











/* Related articles styles moved to article-sidebar-layout.css */











.related-meta {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--space-xl) 0;
    width: 100%;
}

.video-wrapper {
    max-width: 315px;
    width: 100%;
    background: #f1f1f1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: none;
}

.video-caption {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
    max-width: 315px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.platform-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--warm-red);
}

.platform-name {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
}

.platform-title {
    margin: 0;
    font-size: 1.2rem;
}

.risk-scale {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.risk-label {
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: var(--space-sm);
}

.risk-meter {
    flex: 1;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.risk-level {
    height: 100%;
    background-color: var(--warm-red);
}

/* Risk levels */
.risk-level-90 {
    width: 90%;
}

.risk-level-95 {
    width: 95%;
}

.risk-level-75 {
    width: 75%;
}

.risk-level-85 {
    width: 85%;
}

.risk-level-70 {
    width: 70%;
}

.risk-level-80 {
    width: 80%;
}

.source-link {
    display: block;
    padding: var(--space-sm) 0;
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: var(--medium-gray);
}

.warning-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--warm-red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: var(--space-sm);
}

.warning-badge i {
    font-size: 14px;
    margin-right: 4px;
}

/* Icon alignment for warnings */
.urgent-concern i {
    vertical-align: middle;
    margin-right: 8px;
}

@media (max-width: 992px) {
    .learn-container {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar styles moved to article-sidebar-layout.css */
    
    /* Table of contents styles moved to article-sidebar-layout.css */
}