/* General Styles */
body {
    font-family: "Inter", sans-serif;
    color: #333;
    background-color: #ffffff;

    line-height: 1.6;
}
@media screen and (min-width: 800px) {
    .guidelines-container {
        padding: 40px;
    }
}
.guidelines-container {
    border-radius: 12px;
    background-color: #ffffff;
    margin: 0 60px;

    text-align: left;
}

/* Header Section */
.guidelines-header {
    text-align: left;
    margin-bottom: 40px;
}

.top-logo {
    margin-bottom: 20px;
    text-align: left;
}

.top-logo img {
    max-width: 200px;
    height: auto;
}

.back-link {
    display: inline-flex;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

.back-link svg {
    margin-right: 8px;
}

.guidelines-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.guidelines-intro {
    color: #333;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Section Styles */
.guidelines-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.subsection {
    margin-bottom: 24px;
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.subsection-content {
    color: #333;
    margin-bottom: 10px;
}

/* List Styles */
.guidelines-list {
    list-style-type: disc;
    padding-left: 20px;
    color: #333;
}

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

.guidelines-ordered-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin-top: 0;
}

.guidelines-ordered-list > li {
    padding-left: 10px;
}

.guidelines-ordered-list > li::marker {
    font-weight: bold;
    font-size: 1.2rem;
}

.guidelines-section p {
    font-size: 15px;
}

/* Utilities */
.mb-3 {
    margin-bottom: 1rem;
}
.mb-4 {
    margin-bottom: 1.5rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-4 {
    margin-top: 1.5rem;
}
.pt-3 {
    padding-top: 1rem;
}
.border-top {
    border-top: 1px solid #e9ecef;
}
.text-muted {
    color: #333 !important;
    opacity: 0.7;
}
.small {
    font-size: 0.875rem;
}

.guidelines-section {
    margin-top: 3vh;
}

@media screen and (max-width: 700px) {
    .guidelines-container {
        margin: 12px;
    }
}

/* Reset counter for Core Values section */
.guidelines-section.core-values {
    counter-reset: subsection;
}

/* Number each subsection automatically: 2.1, 2.2, 2.3 ... */
.guidelines-section.core-values .subsection-title::before {
    counter-increment: subsection;
    content: "2." counter(subsection) " ";
    font-weight: bold;
}
.warning_section {
    background-color: #388eff18;
    padding: 8px;
    color: #003882;
    border-radius: 10px;
    margin-bottom: 10px;
}
.warning_section ul {
    list-style-type: none;
}
.navigation button {
    padding: 5px 25px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    color: #003882;
    border: #003882 1px solid;
    transition: all 0.3s ease;
}

.navigation button:hover,
.navigation button:active,
.navigation button.active {
    background-color: #003882;
    color: white;
}

.tab-content {
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Table Styles */
.guidelines-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.guidelines-table th,
.guidelines-table td {
    border: 1px solid #e9ecef;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.guidelines-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.guidelines-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* Policy Content Styles */
.policy-content {
    font-size: 1rem;
    line-height: 1.7;
}

.policy-content h1,
.policy-content h2,
.policy-content h3 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content h1 {
    font-size: 1.5rem;
}

.policy-content h2 {
    font-size: 1.125rem;
}

.policy-content h3 {
    font-size: 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.policy-content table th,
.policy-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.policy-content table th {
    background-color: #f5f5f5;
}

.policy-content a {
    color: #007bff;
    text-decoration: underline;
}

.hidden {
    display: none;
}

/* Q&A Specific Styles */
.qa-section {
    margin-bottom: 3rem;
}

.qa-section-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 0.5rem;
}

.qa-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.qa-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.qa-question-text {
    flex: 1;
    padding-right: 1rem;
}

.qa-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.qa-arrow.open {
    transform: rotate(180deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.qa-answer.open {
    max-height: 2000px;
}

.qa-answer-content {
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

.qa-answer-content h3 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.qa-answer-content p {
    margin-bottom: 0.75rem;
}

.qa-answer-content p:last-child {
    margin-bottom: 0;
}

.qa-answer-content ul,
.qa-answer-content ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.qa-answer-content li {
    margin-bottom: 0.5rem;
}
