  /**
 * General Section Component CSS
 * Full-width sections with customizable themes and layouts
 * Version: 1.0.0
 */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Default theme colors */
    --gs-bg-default: #f5f5f5;
    --gs-color-default: #333333;
    --gs-heading-color-default: #000000;
    --gs-link-color-default: #00857a;
    --gs-link-hover-default: #2b3990;
    --gs-button-bg-default: #00857a;
    --gs-button-color-default: #ffffff;
    --gs-button-hover-bg-default: #2b3990;
    
    /* HCCC Primary theme (teal) */
    --gs-bg-primary: #00857a;
    --gs-color-primary: #ffffff;
    --gs-heading-color-primary: #ffffff;
    --gs-link-color-primary: #fff200;
    --gs-link-hover-primary: #ffffff;
    --gs-button-bg-primary: #ffffff;
    --gs-button-color-primary: #00857a;
    --gs-button-hover-bg-primary: #fff200;
    --gs-button-hover-color-primary: #000000;
    
    /* HCCC Secondary theme (blue) */
    --gs-bg-secondary: #2b3990;
    --gs-color-secondary: #ffffff;
    --gs-heading-color-secondary: #ffffff;
    --gs-link-color-secondary: #fff200;
    --gs-link-hover-secondary: #ffffff;
    --gs-button-bg-secondary: #fff200;
    --gs-button-color-secondary: #2b3990;
    --gs-button-hover-bg-secondary: #ffffff;
    
    /* Anniversary theme (black) */
    --gs-bg-anniversary: #1a1a1a;
    --gs-color-anniversary: #ffffff;
    --gs-heading-color-anniversary: #d4af37;
    --gs-link-color-anniversary: #d4af37;
    --gs-link-hover-anniversary: #fff200;
    --gs-button-bg-anniversary: #d4af37;
    --gs-button-color-anniversary: #1a1a1a;
    --gs-button-hover-bg-anniversary: #fff200;
    
    /* Anniversary Gold theme */
    --gs-bg-anniversary-gold: #d4af37;
    --gs-color-anniversary-gold: #1a1a1a;
    --gs-heading-color-anniversary-gold: #1a1a1a;
    --gs-link-color-anniversary-gold: #2b3990;
    --gs-link-hover-anniversary-gold: #00857a;
    --gs-button-bg-anniversary-gold: #1a1a1a;
    --gs-button-color-anniversary-gold: #d4af37;
    --gs-button-hover-bg-anniversary-gold: #2b3990;
    --gs-button-hover-color-anniversary-gold: #ffffff;
    
    /* Layout properties */
    --gs-padding-compact: 30px 20px;
    --gs-padding-standard: 48px 30px;
    --gs-padding-spacious: 72px 40px;
    --gs-padding-hero: 96px 40px;
    
    /* Full-width negative margins for Modern Campus CMS */
    --gs-margin-full-width: 0 -55px 48px -52px;
    --gs-margin-full-width-tablet: -11px -15px 0px -15px;
    --gs-margin-full-width-mobile: 3px -35px 0px -15px;
    
    /* Margin bottom variations */
    --gs-margin-bottom-none: 0;
    --gs-margin-bottom-compact: 24px;
    --gs-margin-bottom-standard: 48px;
    --gs-margin-bottom-spacious: 72px;
    
    /* Typography */
    --gs-font-family: "Montserrat", Arial, Helvetica, sans-serif;
    --gs-heading-weight: 800;
    --gs-text-weight: 400;
    --gs-button-weight: 700;
    
    /* Shadows */
    --gs-shadow-none: none;
    --gs-shadow-subtle: 0px 4px 12px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.08);
    --gs-shadow-medium: 0px 8px 24px rgba(0, 0, 0, 0.15), 0px 4px 8px rgba(0, 0, 0, 0.1);
    --gs-shadow-strong: 0px 16px 48px rgba(0, 0, 0, 0.2), 0px 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --gs-transition: all 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
.general-section {
    position: relative;
    font-family: var(--gs-font-family);
    font-weight: var(--gs-text-weight);
    transition: var(--gs-transition);
}

.general-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Full-width modifier with negative margins */
.general-section--full-width {
    margin: var(--gs-margin-full-width);
}

/* ============================================
   Theme Variations
   ============================================ */

/* Default theme */
.general-section--default {
    background-color: var(--gs-bg-default);
    color: var(--gs-color-default);
}

.general-section--default .general-section__heading {
    color: var(--gs-heading-color-default);
}

.general-section--default a:not(.general-section__button) {
    color: var(--gs-link-color-default);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.general-section--default a:not(.general-section__button):hover {
    color: var(--gs-link-hover-default);
}

.general-section--default .general-section__button {
    background-color: var(--gs-button-bg-default);
    color: var(--gs-button-color-default);
}

.general-section--default .general-section__button:hover {
    background-color: var(--gs-button-hover-bg-default);
}

/* HCCC Primary theme */
.general-section--hccc-primary {
    background-color: var(--gs-bg-primary);
    color: var(--gs-color-primary);
}

.general-section--hccc-primary .general-section__heading {
    color: var(--gs-heading-color-primary);
}

.general-section--hccc-primary a:not(.general-section__button) {
    color: var(--gs-link-color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.general-section--hccc-primary a:not(.general-section__button):hover {
    color: var(--gs-link-hover-primary);
}

.general-section--hccc-primary .general-section__button {
    background-color: var(--gs-button-bg-primary);
    color: var(--gs-button-color-primary);
}

.general-section--hccc-primary .general-section__button:hover {
    background-color: var(--gs-button-hover-bg-primary);
    color: var(--gs-button-hover-color-primary);
}

/* HCCC Secondary theme */
.general-section--hccc-secondary {
    background-color: var(--gs-bg-secondary);
    color: var(--gs-color-secondary);
}

.general-section--hccc-secondary .general-section__heading {
    color: var(--gs-heading-color-secondary);
}

.general-section--hccc-secondary a:not(.general-section__button) {
    color: var(--gs-link-color-secondary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.general-section--hccc-secondary a:not(.general-section__button):hover {
    color: var(--gs-link-hover-secondary);
}

.general-section--hccc-secondary .general-section__button {
    background-color: var(--gs-button-bg-secondary);
    color: var(--gs-button-color-secondary);
}

.general-section--hccc-secondary .general-section__button:hover {
    background-color: var(--gs-button-hover-bg-secondary);
}

/* Anniversary theme */
.general-section--anniversary {
    background-color: var(--gs-bg-anniversary);
    color: var(--gs-color-anniversary);
}

.general-section--anniversary .general-section__heading {
    color: var(--gs-heading-color-anniversary);
}

.general-section--anniversary a:not(.general-section__button) {
    color: var(--gs-link-color-anniversary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.general-section--anniversary a:not(.general-section__button):hover {
    color: var(--gs-link-hover-anniversary);
}

.general-section--anniversary .general-section__button {
    background-color: var(--gs-button-bg-anniversary);
    color: var(--gs-button-color-anniversary);
}

.general-section--anniversary .general-section__button:hover {
    background-color: var(--gs-button-hover-bg-anniversary);
}

/* Anniversary Gold theme */
.general-section--anniversary-gold {
    background-color: var(--gs-bg-anniversary-gold);
    color: var(--gs-color-anniversary-gold);
}

.general-section--anniversary-gold .general-section__heading {
    color: var(--gs-heading-color-anniversary-gold);
}

.general-section--anniversary-gold a:not(.general-section__button) {
    color: var(--gs-link-color-anniversary-gold);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.general-section--anniversary-gold a:not(.general-section__button):hover {
    color: var(--gs-link-hover-anniversary-gold);
}

.general-section--anniversary-gold .general-section__button {
    background-color: var(--gs-button-bg-anniversary-gold);
    color: var(--gs-button-color-anniversary-gold);
}

.general-section--anniversary-gold .general-section__button:hover {
    background-color: var(--gs-button-hover-bg-anniversary-gold);
    color: var(--gs-button-hover-color-anniversary-gold);
}

/* ============================================
   Padding Variations
   ============================================ */
.general-section--padding-compact {
    padding: var(--gs-padding-compact);
}

.general-section--padding-standard {
    padding: var(--gs-padding-standard);
}

.general-section--padding-spacious {
    padding: var(--gs-padding-spacious);
}

.general-section--padding-hero {
    padding: var(--gs-padding-hero);
}

/* ============================================
   Text Alignment
   ============================================ */
.general-section--align-left {
    text-align: left;
}

.general-section--align-center {
    text-align: center;
}

.general-section--align-center .general-section__cta {
    justify-content: center;
}

.general-section--align-right {
    text-align: right;
}

.general-section--align-right .general-section__cta {
    justify-content: flex-end;
}

/* ============================================
   Shadow Variations
   ============================================ */
.general-section--shadow-none {
    box-shadow: var(--gs-shadow-none);
}

.general-section--shadow-subtle {
    box-shadow: var(--gs-shadow-subtle);
}

.general-section--shadow-medium {
    box-shadow: var(--gs-shadow-medium);
}

.general-section--shadow-strong {
    box-shadow: var(--gs-shadow-strong);
}

/* ============================================
   Margin Bottom Variations
   ============================================ */
.general-section--margin-none {
    margin-bottom: var(--gs-margin-bottom-none) !important;
}

.general-section--margin-compact {
    margin-bottom: var(--gs-margin-bottom-compact) !important;
}

.general-section--margin-standard {
    margin-bottom: var(--gs-margin-bottom-standard) !important;
}

.general-section--margin-spacious {
    margin-bottom: var(--gs-margin-bottom-spacious) !important;
}

/* ============================================
   Content Elements
   ============================================ */
.general-section__heading {
    margin: 0 0 20px 0;
    font-weight: var(--gs-heading-weight);
    line-height: 1.2;
}

/* Heading sizes */
h1.general-section__heading {
    font-size: 28px;
}

h2.general-section__heading {
    font-size: 24px;
}

h3.general-section__heading {
    font-size: 20px;
}

h4.general-section__heading {
    font-size: 20px;
    font-weight: 500;
}

.general-section__content {
    margin-bottom: 24px;
    line-height: 1.69;
}

.general-section__content:last-child {
    margin-bottom: 0;
}

/* Content typography */
.general-section__content p {
    margin: 0 0 16px 0;
}

.general-section__content p:last-child {
    margin-bottom: 0;
}

.general-section__content ul,
.general-section__content ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.general-section__content li {
    margin-bottom: 8px;
}

.general-section__content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 4px solid currentColor;
    opacity: 0.8;
}

/* ============================================
   CTA Button
   ============================================ */
.general-section__cta {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.general-section__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: var(--gs-button-weight);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--gs-transition);
    cursor: pointer;
}

.general-section__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.general-section__external-icon {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet breakpoint */
@media (min-width: 700px) {
    /* Heading sizes */
    h1.general-section__heading {
        font-size: 35px;
    }
    
    h2.general-section__heading {
        font-size: 30px;
    }
    
    h3.general-section__heading {
        font-size: 26px;
    }
    
    h4.general-section__heading {
        font-size: 24px;
    }
    
    .general-section__content {
        font-size: 18px;
    }
}

/* Desktop breakpoint */
@media (min-width: 1025px) {
    /* Heading sizes */
    h1.general-section__heading {
        font-size: 50px;
    }
    
    h2.general-section__heading {
        font-size: 36px;
    }
    
    h3.general-section__heading {
        font-size: 30px;
    }
    
    h4.general-section__heading {
        font-size: 28px;
    }
    
    .general-section__content {
        line-height: 1.67;
    }
}

/* Full-width responsive margins */
@media (max-width: 768px) {
    .general-section--full-width {
        margin: var(--gs-margin-full-width-tablet);
    }
    
    /* Adjust padding for smaller screens */
    .general-section--padding-standard {
        padding: 30px 20px;
    }
    
    .general-section--padding-spacious {
        padding: 48px 30px;
    }
    
    .general-section--padding-hero {
        padding: 60px 30px;
    }
}

@media (max-width: 480px) {
    .general-section--full-width {
        margin: var(--gs-margin-full-width-mobile);
    }
    
    /* Further reduce padding on mobile */
    .general-section--padding-compact {
        padding: 20px 15px;
    }
    
    .general-section--padding-standard {
        padding: 30px 15px;
    }
    
    .general-section--padding-spacious {
        padding: 40px 20px;
    }
    
    .general-section--padding-hero {
        padding: 48px 20px;
    }
    
    .general-section__button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   Accessibility
   ============================================ */

/* Focus states */
.general-section a:focus,
.general-section__button:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .general-section {
        border: 2px solid currentColor;
    }
    
    .general-section__button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .general-section,
    .general-section a,
    .general-section__button {
        transition: none;
    }
    
    .general-section__button:hover {
        transform: none;
    }
}

/* Screen reader only content */
.general-section .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .general-section {
        box-shadow: none !important;
        margin: 0 !important;
        page-break-inside: avoid;
    }
    
    .general-section--full-width {
        margin: 0 !important;
    }
    
    .general-section__button {
        border: 1px solid currentColor;
    }
}