/* Moderator Guidelines Page - Figma Design Implementation */

/* Page Background */
.mod-guidelines-page {
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 60px;
}

@media screen and (max-width: 768px) {
    .mod-guidelines-page {
        padding: 24px;
    }
}

/* Container */
.mod-guidelines-container {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 62px;
    padding-bottom: 58px;
}

@media screen and (max-width: 768px) {
    .mod-guidelines-container {
        gap: 32px;
    }
}

/* Logo */
.mod-guidelines-logo {
    display: flex;
    align-items: center;
    gap: 8.97px;
}

.mod-guidelines-logo img {
    height: 48px;
    width: auto;
}

/* Page Title */
.mod-guidelines-title {
    font-family: 'Alexandria', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: normal;
    color: #01295f;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 768px) {
    .mod-guidelines-title {
        font-size: 22px;
    }
}

/* Go Back Link */
.mod-guidelines-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    text-decoration: none;
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    transition: opacity 0.2s ease;
}

.mod-guidelines-back:hover {
    opacity: 0.7;
    color: #000000;
    text-decoration: none;
}

.mod-guidelines-back svg {
    width: 12px;
    height: 24px;
    flex-shrink: 0;
}

/* Part Navigation Tabs */
.mod-guidelines-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.mod-guidelines-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 9px;
    font-family: 'Alexandria', sans-serif;
    font-size: 20px;
    line-height: normal;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mod-guidelines-tab.active {
    background-color: #01295f;
    color: #ffffff;
    font-weight: 400;
    cursor: default;
}

.mod-guidelines-tab:not(.active) {
    background-color: transparent;
    border: 1px solid #01295f;
    color: #01295f;
    font-weight: 300;
}

.mod-guidelines-tab:not(.active):hover {
    background-color: #01295f;
    color: #ffffff;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .mod-guidelines-tab {
        font-size: 16px;
        padding: 8px 16px;
    }
}

/* Content Area */
.mod-guidelines-content {
    display: flex;
    flex-direction: column;
    /*gap: 37px;*/
    width: 100%;
}

/* Section Styling */
.mod-guidelines-content .section {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
}

/* Section Title (h2) */
.mod-guidelines-content h2 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: normal;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* Section Content (paragraphs) */
.mod-guidelines-content p {
    font-family: 'Alexandria', sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    padding: 0;
}

.mod-guidelines-content p + p {
    margin-top: 1em;
}

/* Divider / Separator */
.mod-guidelines-content hr,
.mod-guidelines-content .divider {
    width: 100%;
    height: 0;
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0;
}

/* Subsection Groups */
.mod-guidelines-content .subsection-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

/* Subsection Item */
.mod-guidelines-content .subsection {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

/* Subsection Title (h3, h4) - Gray bold text */
.mod-guidelines-content h3,
.mod-guidelines-content h4 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    color: #797979;
    margin: 0;
    padding: 0;
}

/* Rich Editor Content Styling */
.mod-guidelines-content strong,
.mod-guidelines-content b {
    font-weight: 600;
}

.mod-guidelines-content em,
.mod-guidelines-content i {
    font-style: italic;
}

/* Lists */
.mod-guidelines-content ul,
.mod-guidelines-content ol {
    font-family: 'Alexandria', sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin: 0;
    padding-left: 24px;
}

.mod-guidelines-content li {
    margin-bottom: 8px;
}

.mod-guidelines-content li:last-child {
    margin-bottom: 0;
}

/* Blockquote */
.mod-guidelines-content blockquote {
    font-family: 'Alexandria', sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid #01295f;
    font-style: italic;
}

/* Links within content */
.mod-guidelines-content a {
    color: #01295f;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.mod-guidelines-content a:hover {
    opacity: 0.7;
}

/* Tables if used */
.mod-guidelines-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Alexandria', sans-serif;
    font-size: 16px;
    margin: 16px 0;
}

.mod-guidelines-content th,
.mod-guidelines-content td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.mod-guidelines-content th {
    background-color: #f0f4f8;
    font-weight: 600;
    color: #01295f;
}

.mod-guidelines-content td {
    font-weight: 200;
    color: #000000;
}

/* Policy Language Switcher */
.policy-language-switcher {
    display: flex;
    align-items: center;
}

.policy-language-switcher .language-switch-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: #5E5E5E;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
    font-family: 'Alexandria', sans-serif;
}

.policy-language-switcher .language-switch-link:hover {
    background-color: #e8e8e8;
    color: #333;
    text-decoration: none !important;
}

.policy-language-switcher .language-switch-link svg {
    flex-shrink: 0;
}

/* Header row with language switcher */
.mod-guidelines-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media screen and (max-width: 768px) {
    .mod-guidelines-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .mod-guidelines-content h2 {
        font-size: 18px;
    }

    .mod-guidelines-content p,
    .mod-guidelines-content ul,
    .mod-guidelines-content ol,
    .mod-guidelines-content blockquote {
        font-size: 16px;
    }

    .mod-guidelines-content h3,
    .mod-guidelines-content h4 {
        font-size: 14px;
    }
}
