/* HTML Section Plugin – ITSWEBER CMS */

.html-section {
    padding: 4rem 0;
}

.html-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.html-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.html-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.html-section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

.html-section-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.0625rem;
    color: #374151;
}

.html-section-content h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
}

.html-section-content h3 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.5rem;
}

.html-section-content p {
    margin: 0 0 1rem;
}

.html-section-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.html-section-content a {
    color: var(--theme-primary, #333);
}

.html-section-content ul,
.html-section-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.html-section-content blockquote {
    border-left: 4px solid var(--theme-primary, #333);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6b7280;
}

/* Max width variants */
.html-section.section--maxw-sm .html-section-content {
    max-width: 600px;
}

.html-section.section--maxw-md .html-section-content {
    max-width: 800px;
}

.html-section.section--maxw-lg .html-section-content {
    max-width: 1000px;
}

/* Color schemes */
.html-section.section--scheme-alt {
    background: #f8fafc;
}

.html-section.section--scheme-primary {
    background: var(--theme-primary, #333);
    color: #fff;
}

.html-section.section--scheme-primary .html-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.html-section.section--scheme-primary .html-section-content {
    color: rgba(255, 255, 255, 0.9);
}

.html-section.section--scheme-primary .html-section-content a {
    color: #fff;
    text-decoration: underline;
}

.html-section.section--scheme-dark {
    background: #1e293b;
    color: #f1f5f9;
}

.html-section.section--scheme-dark .html-section-subtitle {
    color: #94a3b8;
}

.html-section.section--scheme-dark .html-section-content {
    color: #cbd5e1;
}

/* Section text color overrides */

.html-section.section--text-black {
    color: #000;
}

.html-section.section--text-black .html-section-title {
    color: #000;
}

.html-section.section--text-black .html-section-subtitle {
    color: #333;
}

.html-section.section--text-black .html-section-content {
    color: #000;
}

.html-section.section--text-black .html-section-content a {
    color: #000;
}

.html-section.section--text-white {
    color: #fff;
}

.html-section.section--text-white .html-section-title {
    color: #fff;
}

.html-section.section--text-white .html-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.html-section.section--text-white .html-section-content {
    color: #fff;
}

.html-section.section--text-white .html-section-content a {
    color: #fff;
    text-decoration: underline;
}

.html-section.section--text-theme {
    color: var(--theme-primary, #333);
}

.html-section.section--text-theme .html-section-title {
    color: var(--theme-primary, #333);
}

.html-section.section--text-theme .html-section-subtitle {
    color: var(--theme-primary, #333);
}

.html-section.section--text-theme .html-section-content {
    color: var(--theme-primary, #333);
}

.html-section.section--text-theme .html-section-content a {
    color: var(--theme-primary, #333);
}

/* Text align */
.html-section.section--align-left .html-section-header {
    text-align: left;
}

.html-section.section--align-right .html-section-header {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .html-section {
        padding: 2.5rem 0;
    }

    .html-section-title {
        font-size: 1.5rem;
    }

    .html-section-subtitle {
        font-size: 1rem;
    }

    .html-section-content {
        font-size: 1rem;
    }
}
