@import url('theme.css');

/* Info Section (Content Pages) - Light Theme */
.info-section {
    background-color: var(--bg-white);
    color: var(--color-text-muted);
    padding: 50px;
    line-height: 1.8;
    max-width: 1360px;
    margin: 0 20px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

@media (min-width: 1400px) {
    .info-section {
        margin-left: auto;
        margin-right: auto;
    }
}

.info-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-navy);
}

.info-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-navy);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.info-section p {
    font-size: 16px;
    margin: 15px 0;
    color: var(--color-text-muted);
}

/* Expandable Content */
.info-content.expanded {
    max-height: 100%;
}

.info-content .more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.info-content.expanded .more-content {
    max-height: 2500px;
}

.control {
    display: inline-block;
    position: relative;
    padding: 12px 24px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    transition: all 0.3s;
    background: transparent;
}

.control:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .info-section {
        padding: 25px 16px;
        margin: 15px 10px 30px;
        border-radius: var(--radius-md);
    }

    .info-section h1 {
        font-size: 22px;
    }

    .info-section h2 {
        font-size: 18px;
    }

    .info-section p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 20px 14px;
        margin: 10px 8px 25px;
    }

    .info-section h1 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .info-section h2 {
        font-size: 16px;
        margin-top: 20px;
    }

    .info-section p {
        font-size: 13px;
        line-height: 1.7;
    }
}
