/* Guide-specific CSS styles */

/* Guide Header */
.guide-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.guide-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.guide-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Content Layout */
.guide-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 120px;
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.table-of-contents h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: block;
    padding: 0.25rem 0;
}

.table-of-contents a:hover {
    color: #667eea;
}

/* Article Content */
.guide-article {
    max-width: none;
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: #2d4a6b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.content-section h3 {
    color: #2d4a6b;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.content-section h4 {
    color: #2d4a6b;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.styled-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
}

.styled-list li::before {
    content: "▶";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Highlight Boxes */
.highlight-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.highlight-box.warning {
    background: #fef5e7;
    border-left-color: #ed8936;
}

.highlight-box.info {
    background: #ebf8ff;
    border-left-color: #3182ce;
}

.highlight-box.success {
    background: #f0fff4;
    border-left-color: #38a169;
}

.highlight-box h4 {
    color: #2d4a6b;
    margin-bottom: 0.5rem;
}

/* Card Components */
.provision-card, .enforcement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.provision-card h4, .enforcement-card h4 {
    color: #2d4a6b;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Grids */
.implications-grid, .enforcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.implication-card {
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.implication-card.positive {
    background: #f0fff4;
    border-left-color: #38a169;
}

.implication-card.negative {
    background: #fed7d7;
    border-left-color: #e53e3e;
}

.implication-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.implication-card ul {
    list-style: none;
    padding: 0;
}

.implication-card li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.implication-card.positive li::before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.implication-card.negative li::before {
    content: "⚠";
    color: #e53e3e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Quote Box */
.quote-box {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    font-style: italic;
}

.quote-box blockquote {
    font-size: 1.1rem;
    color: #2d4a6b;
    margin-bottom: 1rem;
}

.quote-box cite {
    font-size: 0.9rem;
    color: #718096;
}

/* Action Steps */
.action-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-step {
    background: #f0fff4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #38a169;
}

.action-step h4 {
    color: #2d4a6b;
    margin-bottom: 0.75rem;
}

/* Resources */
.resources-list h4 {
    color: #2d4a6b;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.resources-list ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.resources-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.resources-list a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.resources-list a:hover {
    color: #2d4a6b;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .guide-header h1 {
        font-size: 2rem;
    }
    
    .guide-meta {
        justify-content: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-of-contents {
        position: static;
        order: 2;
    }
    
    .implications-grid, .enforcement-grid, .action-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-header {
        padding: 2rem 0;
    }
    
    .guide-content {
        padding: 2rem 0;
    }
    
    .provision-card, .enforcement-card, .implication-card, .action-step {
        padding: 1rem;
    }
}
