/* ============================================================
   Learning Center Styles
   Dedicated styles for the Help Center / Learning Center pages
   ============================================================ */

/* Hero Section */
.lc-hero {
    background: linear-gradient(135deg, #065D8F 0%, #043d5e 50%, #0f0d1d 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.lc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.lc-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.lc-hero-content {
    position: relative;
    z-index: 2;
}

.lc-hero-svg {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

/* Body */
.lc-body {
    background-color: #f7f7ff;
    min-height: 60vh;
}

/* Breadcrumb */
.lc-breadcrumb .breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.lc-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.lc-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.lc-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.lc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Cards */
.lc-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #ffffff;
    position: relative;
}

/* Sidebar */
.lc-sidebar-link {
    display: block;
    padding: 0.6rem 1rem;
    color: #333;
    border-left: 3px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
}

.lc-sidebar-link.active {
    background-color: rgba(6, 93, 143, 0.06);
    border-left-color: #065D8F;
    color: #065D8F;
}

.lc-sidebar-header {
    background-color: rgba(6, 93, 143, 0.04);
}

.lc-sticky {
    position: sticky;
    top: 8.5rem;
}

/* Article Content Typography */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.article-content li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

/* Utility */
.lc-icon-lg {
    font-size: 2rem;
}

.lc-icon-md {
    font-size: 1.25rem;
}

.lc-text-sm {
    font-size: 0.95rem;
}

/* WCAG Contrast Fix — override .text-muted to meet 4.5:1 ratio */
.lc-body .text-muted {
    color: #72707d !important;
}

/* WCAG Link Distinction — underline links within muted text */
.lc-body .text-muted a {
    text-decoration: underline;
}

/* Comment Avatar */
.lc-comment-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: rgba(6, 93, 143, 0.1);
    color: #065D8F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}