/* Community Guidelines Page Styles */

.guidelines-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

.guidelines-intro {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #8b7355;
    background-image:
        linear-gradient(135deg, rgba(139, 115, 85, 0.6) 0%, rgba(160, 130, 90, 0.4) 50%, rgba(139, 115, 85, 0.6) 100%),
        var(--leather-seamless);
    background-size: 100% 100%, var(--leather-tile-size, 168px) var(--leather-tile-size, 168px);
    background-repeat: no-repeat, repeat;
    border-radius: 12px;
    border: 2px solid #6b5a45;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.guidelines-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e8d4b8;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.guideline-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #7a6a52;
    background-image:
        linear-gradient(135deg, rgba(122, 106, 82, 0.85) 0%, rgba(140, 120, 90, 0.6) 50%, rgba(122, 106, 82, 0.85) 100%),
        var(--leather-seamless);
    background-size: 100% 100%, var(--leather-tile-size, 168px) var(--leather-tile-size, 168px);
    background-repeat: no-repeat, repeat;
    border-radius: 12px;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 2px solid #5a4a38;
}

.guideline-section h2 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    color: #f0e6d2;
    border-bottom: 2px solid rgba(240, 230, 210, 0.3);
    padding-bottom: 10px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.guideline-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.guideline-section li {
    margin: 10px 0;
    line-height: 1.7;
    color: #d9c4a8;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.guideline-section li strong {
    color: #f0e6d2;
    font-weight: 600;
}

.guideline-section p {
    margin: 10px 0;
    line-height: 1.7;
    color: #d9c4a8;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.guideline-section a {
    color: #e8d4b8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(232, 212, 184, 0.5);
}

.guideline-section a:hover {
    color: #fff5e6;
    border-bottom: 2px solid rgba(255, 245, 230, 0.8);
}

.highlight-box {
    background-color: #8b7355;
    background-image:
        linear-gradient(135deg, rgba(139, 115, 85, 0.75) 0%, rgba(160, 130, 90, 0.55) 50%, rgba(139, 115, 85, 0.75) 100%),
        var(--leather-seamless);
    background-size: 100% 100%, var(--leather-tile-size, 168px) var(--leather-tile-size, 168px);
    background-repeat: no-repeat, repeat;
    border: 2px solid #6b5a45;
}

.highlight-box h2 {
    color: #f0e6d2;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.guideline-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background-color: #6a5a42;
    background-image:
        linear-gradient(135deg, rgba(106, 90, 66, 0.7) 0%, rgba(130, 110, 80, 0.5) 50%, rgba(106, 90, 66, 0.7) 100%),
        var(--leather-seamless);
    background-size: 100% 100%, var(--leather-tile-size, 168px) var(--leather-tile-size, 168px);
    background-repeat: no-repeat, repeat;
    border-radius: 12px;
    border: 2px solid #4a3a28;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.guideline-footer p {
    margin: 8px 0;
    color: #d9c4a8;
    font-size: 0.95rem;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.table-of-contents {
    margin: 25px 0;
    padding: 20px;
    background-color: #7a6a52;
    background-image:
        linear-gradient(135deg, rgba(122, 106, 82, 0.75) 0%, rgba(145, 125, 95, 0.55) 50%, rgba(122, 106, 82, 0.75) 100%),
        var(--leather-seamless);
    background-size: 100% 100%, var(--leather-tile-size, 168px) var(--leather-tile-size, 168px);
    background-repeat: no-repeat, repeat;
    border-radius: 12px;
    border: 2px solid #5a4a38;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.table-of-contents h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #f0e6d2;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.table-of-contents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 1;
}

.table-of-contents li {
    margin: 8px 0;
    padding-left: 24px;
}

.table-of-contents li:before {
    content: "→";
    position: absolute;
    margin-left: -20px;
    color: #e8d4b8;
    font-weight: bold;
}

.table-of-contents a {
    color: #e8d4b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(232, 212, 184, 0.4);
}

.table-of-contents a:hover {
    color: #fff5e6;
    border-bottom: 2px solid rgba(255, 245, 230, 0.7);
}

@media (min-width: 769px) {
    .table-of-contents ul {
        columns: 2;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .guidelines-container {
        padding: 15px;
    }
    
    .guideline-section {
        padding: 15px;
    }
    
    .guideline-section h2 {
        font-size: 1.3rem;
    }
    
    .guidelines-intro {
        padding: 15px;
    }
}





