/* Article Detail Styles */

.article-content {
    margin-top: -80px;
    color: var(--dark);
    line-height: 1.7;
}

.article-content h2 {
    color: var(--darker);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Quote Box Styles */
.quote-box {
    background: rgba(94, 114, 228, 0.05);
    color: var(--dark);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}

.quote-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quote-box strong {
    color: var(--primary);
    font-size: 1.2rem;
}

.quote-box em {
    font-style: italic;
    color: var(--primary-dark);
}

/* Guidelines Container */
.guidelines-container {
    margin: 2.5rem 0;
}

/* Guideline Item */
.guideline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    position: relative;
    padding: 1.5rem;
    background: var(--lighter);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guideline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.guideline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    border-radius: 0 4px 4px 0;
}

/* Guideline Number */
.guideline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1), rgba(94, 114, 228, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid var(--lighter);
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.1);
}

/* Guideline Content */
.guideline-content {
    flex: 1;
}

.guideline-content h3 {
    font-size: 1.2rem;
    color: var(--darker);
    margin: 0 0 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.guideline-content h3 i {
    margin-right: 0.8rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.guideline-content p {
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* Final Note */
.final-note {
    background: linear-gradient(to right, rgba(94, 114, 228, 0.1), transparent);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border-left: 3px solid var(--primary);
    position: relative;
}

.final-note h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.final-note h3 i {
    margin-right: 0.8rem;
    font-size: 1.3rem;
}

.final-note p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .guideline-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .guideline-content h3 {
    color: var(--light);
}

[data-theme="dark"] .guideline-content p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .quote-box {
    background: rgba(94, 114, 228, 0.1);
    border-left-color: var(--primary-dark);
}

[data-theme="dark"] .final-note {
    background: linear-gradient(to right, rgba(94, 114, 228, 0.15), transparent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .guideline-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .guideline-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .article-content {
        margin-top: -60px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .quote-box {
        padding: 1.5rem;
    }
    
    .quote-box p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .guideline-content h3 {
        font-size: 1.1rem;
    }
    
    .guideline-content p {
        font-size: 0.95rem;
    }
    
    .final-note {
        padding: 1.2rem;
    }
    
    .final-note h3 {
        font-size: 1.1rem;
    }
    
    .final-note p {
        font-size: 1rem;
    }
}

/*inta boqolkiiba ee maskaxdaada ee xifdin karto macluumaad*\

/* Memory Retention Article Styles */

.intro-box {
    background: rgba(94, 114, 228, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.intro-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--dark);
}

.intro-box strong {
    color: var(--primary);
}

/* Retention Cards Container */
.retention-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Retention Card */
.retention-card {
    background: var(--lighter);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.retention-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Card Left Border Colors */
.retention-card.listening {
    border-left: 5px solid #ED64A6;
}

.retention-card.reading {
    border-left: 5px solid #9F7AEA;
}

.retention-card.visual {
    border-left: 5px solid #4299E1;
}

.retention-card.participation {
    border-left: 5px solid #48BB78;
}

.retention-card.discussion {
    border-left: 5px solid #ECC94B;
}

.retention-card.practice {
    border-left: 5px solid #ED8936;
}

.retention-card.teaching {
    border-left: 5px solid #F56565;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    position: relative;
}

/* Percentage Circle */
.percentage-circle {
    position: relative;
    width: 60px;
    height: 60px;
    margin-right: 1.25rem;
}

.percentage-circle svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 100, 100;
}

.circle-progress {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 5, 100; /* Default for listening */
    transition: all 0.5s ease;
}

/* Set progress values for each card */
.reading .circle-progress { stroke-dasharray: 10, 100; }
.visual .circle-progress { stroke-dasharray: 30, 100; }
.participation .circle-progress { stroke-dasharray: 50, 100; }
.discussion .circle-progress { stroke-dasharray: 60, 100; }
.practice .circle-progress { stroke-dasharray: 70, 100; }
.teaching .circle-progress { stroke-dasharray: 90, 100; }

/* Set circle colors */
.listening .circle-bg { stroke: rgba(237, 100, 166, 0.2); }
.listening .circle-progress { stroke: #ED64A6; }

.reading .circle-bg { stroke: rgba(159, 122, 234, 0.2); }
.reading .circle-progress { stroke: #9F7AEA; }

.visual .circle-bg { stroke: rgba(66, 153, 225, 0.2); }
.visual .circle-progress { stroke: #4299E1; }

.participation .circle-bg { stroke: rgba(72, 187, 120, 0.2); }
.participation .circle-progress { stroke: #48BB78; }

.discussion .circle-bg { stroke: rgba(236, 201, 75, 0.2); }
.discussion .circle-progress { stroke: #ECC94B; }

.practice .circle-bg { stroke: rgba(237, 137, 54, 0.2); }
.practice .circle-progress { stroke: #ED8936; }

.teaching .circle-bg { stroke: rgba(245, 101, 101, 0.2); }
.teaching .circle-progress { stroke: #F56565; }

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: bold;
}

.listening .percentage-text { color: #ED64A6; font-size: 1.25rem; }
.reading .percentage-text { color: #9F7AEA; font-size: 1.25rem; }
.visual .percentage-text { color: #4299E1; }
.participation .percentage-text { color: #48BB78; }
.discussion .percentage-text { color: #ECC94B; }
.practice .percentage-text { color: #ED8936; font-size: 1.25rem; }
.teaching .percentage-text { color: #F56565; }

/* Card Title */
.card-title {
    flex: 1;
}

.card-title h3 {
    margin: 0 0 0.25rem 0;
    color: var(--darker);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title h3 i {
    font-size: 1.1rem;
}

.listening .card-title h3 i { color: #ED64A6; }
.reading .card-title h3 i { color: #9F7AEA; }
.visual .card-title h3 i { color: #4299E1; }
.participation .card-title h3 i { color: #48BB78; }
.discussion .card-title h3 i { color: #ECC94B; }
.practice .card-title h3 i { color: #ED8936; }
.teaching .card-title h3 i { color: #F56565; }

.card-subtitle {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Card Content */
.retention-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
}

/* Key Takeaways */
.key-takeaways {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(245, 54, 92, 0.1) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.key-takeaways h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-takeaways h3 i {
    color: var(--secondary);
}

.key-takeaways ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.key-takeaways li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.key-takeaways li:last-child {
    margin-bottom: 0;
}

.key-takeaways li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
}

.key-takeaways li strong {
    color: var(--primary);
}

/* Decorative corner for cards */
.retention-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 0 16px 0 50%;
    opacity: 0.1;
}

.listening::before { background: rgba(237, 100, 166, 0.1); }
.reading::before { background: rgba(159, 122, 234, 0.1); }
.visual::before { background: rgba(66, 153, 225, 0.1); }
.participation::before { background: rgba(72, 187, 120, 0.1); }
.discussion::before { background: rgba(236, 201, 75, 0.1); }
.practice::before { background: rgba(237, 137, 54, 0.1); }
.teaching::before { background: rgba(245, 101, 101, 0.1); }

/* Dark Mode Adjustments */
[data-theme="dark"] .retention-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card-title h3 {
    color: var(--light);
}

[data-theme="dark"] .retention-card p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .intro-box {
    background: rgba(94, 114, 228, 0.15);
}

[data-theme="dark"] .key-takeaways {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.15) 0%, rgba(245, 54, 92, 0.15) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .retention-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .retention-card {
        padding: 1.5rem;
    }
    
    .percentage-circle {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
    }
    
    .card-title h3 {
        font-size: 1.1rem;
    }
    
    .key-takeaways {
        padding: 1.5rem;
    }
    
    .key-takeaways h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .retention-card {
        padding: 1.25rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .percentage-circle {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .key-takeaways li {
        padding-left: 1.75rem;
    }
}

/* Salafi Saying Article Styles */

/* Arabic Quote Parchment */
.quran-verse-parchment {
    background: linear-gradient(to bottom right, #f8f3e9, #f1e8d2);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #e6d9b8;
}

.parchment-texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(189, 158, 92, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(189, 158, 92, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(189, 158, 92, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.arabic-text {
    font-family: 'Amiri', 'Scheherazade', 'Traditional Arabic', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    direction: rtl;
}

.arabic-text i {
    font-size: 1.5rem;
    color: #b59e5c;
    margin-bottom: 1rem;
    display: block;
}

.parchment-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, #b59e5c, transparent);
    margin: 2rem auto;
}

.translation-text {
    font-size: 1.3rem;
    text-align: center;
    color: #34495e;
    line-height: 1.7;
    font-weight: 500;
}

.translation-text i {
    color: #b59e5c;
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

.translation-text strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Islamic Cards Container */
.islamic-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

/* Islamic Card */
.islamic-card {
    background: var(--lighter);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.islamic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.islamic-card.primary {
    border-top: 4px solid var(--primary);
}

.islamic-card.secondary {
    border-top: 4px solid var(--secondary);
}

/* Islamic Card Header */
.islamic-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.islamic-icon {
    width: 50px;
    height: 50px;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--primary);
    font-size: 1.3rem;
}

.islamic-card.secondary .islamic-icon {
    background: var(--secondary);
    color: white;
}

.islamic-card-title {
    font-size: 1.3rem;
    color: var(--darker);
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

.islamic-card-content {
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Important Notice */
.important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(245, 54, 92, 0.1) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.notice-subheader {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notice-subheader i {
    color: var(--secondary);
}

.notice-points {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.notice-point {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    color: var(--dark);
    line-height: 1.7;
}

.notice-point:last-child {
    margin-bottom: 0;
}

.notice-point::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.notice-point strong {
    color: var(--primary);
}

/* Highlighted Paragraph */
.highlighted-paragraph {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: rgba(94, 114, 228, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.highlighted-paragraph p {
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Example Paragraph */
.example-paragraph {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(245, 54, 92, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.example-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(245, 54, 92, 0.3);
}

.example-paragraph p {
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
    flex: 1;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .quran-verse-parchment {
    background: linear-gradient(to bottom right, #2c2c2c, #3a3a3a);
    border-color: #555;
}

[data-theme="dark"] .arabic-text {
    color: #e0e0e0;
}

[data-theme="dark"] .translation-text {
    color: #d0d0d0;
}

[data-theme="dark"] .translation-text strong {
    color: #ffffff;
}

[data-theme="dark"] .islamic-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .islamic-card-title {
    color: var(--light);
}

[data-theme="dark"] .islamic-card-content {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.15) 0%, rgba(245, 54, 92, 0.15) 100%);
}

[data-theme="dark"] .notice-point {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .highlighted-paragraph {
    background: rgba(94, 114, 228, 0.1);
}

[data-theme="dark"] .example-paragraph {
    background: rgba(245, 54, 92, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .arabic-text {
        font-size: 2rem;
    }
    
    .translation-text {
        font-size: 1.1rem;
    }
    
    .islamic-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .islamic-card {
        padding: 1.5rem;
    }
    
    .important-notice-extended {
        padding: 1.5rem;
    }
    
    .notice-point {
        padding-left: 1.5rem;
    }
    
    .example-paragraph {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .quran-verse-parchment {
        padding: 1.5rem;
    }
    
    .arabic-text {
        font-size: 1.8rem;
    }
    
    .islamic-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .islamic-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .highlighted-paragraph {
        padding: 1.25rem;
    }
    
    .example-paragraph {
        padding: 1.25rem;
    }
}
/* Somali Alphabet Article Styles */

/* Achievement Card */
.achievement-card {
    background: linear-gradient(135deg, var(--primary), #0724e5);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(94, 114, 228, 0.25);
    color: black;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-content p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    flex: 1;
}

.card-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Modern List Container */
.modern-list-container {
    margin: 1.5rem 0 2rem;
}

.enhanced-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--lighter);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.list-item:nth-child(2) .list-icon {
    background: rgba(245, 54, 92, 0.1);
}

.list-item:nth-child(3) .list-icon {
    background: rgba(230, 57, 70, 0.1);
}

.list-text {
    flex: 1;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Important Notice Extended */
.important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(245, 54, 92, 0.1) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.notice-subheader {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

.notice-points {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.notice-point {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    color: var(--dark);
    line-height: 1.7;
}

.notice-point:last-child {
    margin-bottom: 0;
}

.notice-point::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.point-text {
    font-size: 1.05rem;
}

.point-text strong {
    color: var(--primary);
}

/* Timeline Card */
.timeline-card {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--lighter);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
}

.timeline-marker {
    flex-shrink: 0;
    position: relative;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(94, 114, 228, 0.2);
}

.marker-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin-top: 10px;
}

.timeline-content {
    flex: 1;
}

.timeline-content p {
    margin: 0 0 1.5rem 0;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.timeline-date i {
    font-size: 0.9rem;
}

/* Heritage Paragraph */
.heritage-paragraph {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.heritage-paragraph p {
    margin: 0;
    color: var(--dark);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cultural-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.heritage-emphasis {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.community-highlight {
    background: linear-gradient(120deg, #a78bfa 0%, #f472b6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
    padding: 0 2px;
}

/* Emphasis Card */
.emphasis-card {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
    color: white;
}

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.card-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.card-body i {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-body p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    flex: 1;
}

.card-body strong {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .achievement-card {
    background: linear-gradient(135deg, var(--primary-dark), #7E8CE8);
}

[data-theme="dark"] .list-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .list-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.15) 0%, rgba(245, 54, 92, 0.15) 100%);
}

[data-theme="dark"] .timeline-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .timeline-content p {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .heritage-paragraph {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
}

[data-theme="dark"] .heritage-paragraph p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .achievement-card {
        padding: 1.5rem;
    }
    
    .card-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .list-item {
        padding: 1rem;
    }
    
    .important-notice-extended {
        padding: 1.5rem;
    }
    
    .timeline-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .timeline-marker {
        flex-direction: row;
        width: 100%;
        height: 40px;
        justify-content: center;
    }
    
    .marker-line {
        width: 100%;
        height: 2px;
        margin-top: 0;
        margin-left: 10px;
    }
    
    .heritage-paragraph {
        padding: 1.5rem;
    }
    
    .emphasis-card {
        padding: 1.5rem;
    }
    
    .card-body {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .list-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .list-text {
        font-size: 1rem;
    }
    
    .notice-point {
        padding-left: 1.5rem;
    }
    
    .timeline-date {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .heritage-paragraph p {
        font-size: 1rem;
    }
}

/* Memory Storage Article Styles */

/* Security Tip Card */
.security-tip-card {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(245, 54, 92, 0.1) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.security-tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(94, 114, 228, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.tip-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tip-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

.tip-text {
    flex: 1;
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

.tip-text em {
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
}

.tip-reference {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    padding-left: 4rem;
}

.tip-reference i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Modern List Container */
.modern-list-container {
    margin: 1.5rem 0 2rem;
}

.enhanced-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--lighter);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.list-item:nth-child(2) .list-icon {
    background: rgba(245, 54, 92, 0.1);
}

.list-item:nth-child(3) .list-icon {
    background: rgba(94, 114, 228, 0.1);
}

.list-text {
    flex: 1;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Science Fact Box */
.science-fact-box {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.fact-content {
    display: flex;
    gap: 1rem;
}

.fact-icon {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.fact-text {
    margin: 0;
    font-style: italic;
    color: var(--darker);
    line-height: 1.6;
    font-size: 1.05rem;
}

.fact-source {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fact-source i {
    font-size: 0.8rem;
}

/* Memory Process Grid */
.memory-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-card {
    background: var(--lighter);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.process-card.storage {
    border-top: 4px solid var(--primary);
}

.process-card.retrieval {
    border-top: 4px solid var(--secondary);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.process-card.retrieval .process-icon {
    background: rgba(245, 54, 92, 0.1);
    color: var(--secondary);
}

.process-title {
    font-size: 1.2rem;
    color: var(--darker);
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.process-desc {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Important Notice Extended */
.important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(245, 54, 92, 0.1) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.notice-subheader {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

.notice-points {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.notice-point {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    color: var(--dark);
    line-height: 1.7;
}

.notice-point:last-child {
    margin-bottom: 0;
}

.notice-point::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.point-text {
    font-size: 1.05rem;
}

/* Quote Section */
.quote-section {
    margin: 2.5rem 0;
}

.quote-section blockquote {
    margin: 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--darker);
    font-style: italic;
    position: relative;
}

.quote-section blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: serif;
}

.quote-section blockquote strong {
    color: var(--primary);
}

/* Modern Notice */
.modern-notice {
    background: var(--lighter);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid var(--light-gray);
}

.notice-body {
    margin: 0;
}

.notice-paragraph {
    margin: 0 0 1.5rem 0;
    color: var(--darker);
    font-size: 1.1rem;
    font-weight: 500;
}

.modern-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modern-point:last-child {
    margin-bottom: 0;
}

.point-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.modern-point span {
    flex: 1;
    color: var(--dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .security-tip-card {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.15) 0%, rgba(245, 54, 92, 0.15) 100%);
}

[data-theme="dark"] .tip-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .list-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .list-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .science-fact-box {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .fact-text {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .process-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .process-desc {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .important-notice-extended {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.15) 0%, rgba(245, 54, 92, 0.15) 100%);
}

[data-theme="dark"] .notice-point {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .quote-section blockquote {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .modern-notice {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .notice-paragraph {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .modern-point span {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-tip-card {
        padding: 1.5rem;
    }
    
    .tip-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tip-reference {
        padding-left: 0;
        justify-content: center;
    }
    
    .list-item {
        padding: 1rem;
    }
    
    .memory-process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-card {
        padding: 1.5rem;
    }
    
    .important-notice-extended {
        padding: 1.5rem;
    }
    
    .quote-section blockquote {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .modern-notice {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .list-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .list-text {
        font-size: 1rem;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .notice-point {
        padding-left: 1.5rem;
    }
    
    .modern-point {
        gap: 0.75rem;
    }
    
    .point-icon {
        width: 20px;
        height: 20px;
    }
}