/* =============================================================================
   UBEC Platform - About Content Styles
   File: ubec_platform/static/css/about-content.css
   
   License: GNU General Public License version 3 (GPL-3.0)
   
   This project uses the services of Claude and Anthropic PBC to inform our
   decisions and recommendations.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   About Content Container - Standard Template
   ----------------------------------------------------------------------------- */

.about-content {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #3d3428;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto;
    padding: 1rem;
}

/* -----------------------------------------------------------------------------
   Mission & Values Sections (Card Style)
   ----------------------------------------------------------------------------- */

.about-content .about-mission,
.about-content .about-values {
    background: white;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(93, 78, 55, 0.12);
    margin-bottom: 1.5rem;
}

.about-content article h2,
.about-content .about-mission h2,
.about-content .about-values h2 {
    color: #4A7C23;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #7CB342;
    padding-bottom: 0.5rem;
    margin: 0 0 1.25rem 0;
}

.about-content p {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    text-align: justify;
}

/* Highlight / Blockquote */
.about-content blockquote,
.about-content .highlight {
    background: #f0f7e6;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0 0.5rem 0;
    border-left: 4px solid #4a7c23;
    font-style: normal;
}

.about-content blockquote p {
    margin: 0;
}

/* -----------------------------------------------------------------------------
   Values Grid
   ----------------------------------------------------------------------------- */

.about-content .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.about-content .value-item {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f2eb 100%);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #7CB342;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-content .value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.1);
}

.about-content .value-item h3 {
    color: #5D4E37;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.about-content .value-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

/* -----------------------------------------------------------------------------
   Quote Footer
   ----------------------------------------------------------------------------- */

.about-content .about-quote,
.about-content footer.about-quote {
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 0.5rem;
}

.about-content .about-quote q {
    display: block;
    font-style: italic;
    font-size: 1.1rem;
    color: #6B5B45;
    quotes: "„" """;
}

.about-content .about-quote q::before {
    content: open-quote;
}

.about-content .about-quote q::after {
    content: close-quote;
}

.about-content .about-quote cite {
    display: block;
    font-size: 0.9rem;
    color: #8B7355;
    margin-top: 0.5rem;
    font-style: normal;
}

/* -----------------------------------------------------------------------------
   Document Meta Bar (for API-loaded content)
   ----------------------------------------------------------------------------- */

.about-document {
    padding: 0;
    overflow: hidden;
}

.doc-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: #f0f7e6;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.85rem;
}

.doc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.doc-meta-item strong {
    color: #1a1a1a;
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.doc-tag-pill {
    background: #2d5016;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* -----------------------------------------------------------------------------
   Loading & Error States
   ----------------------------------------------------------------------------- */

.about-loading {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.about-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #4A7C23;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: about-spin 0.8s linear infinite;
}

@keyframes about-spin {
    to { transform: rotate(360deg); }
}

.about-error {
    text-align: center;
    padding: 2rem;
    background: #fff8f0;
    border-radius: 8px;
    border: 1px solid #f0e0d0;
}

.about-error p {
    margin: 0 0 1rem 0;
    color: #8B6914;
}

/* -----------------------------------------------------------------------------
   Responsive Design
   ----------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .about-content {
        padding: 0.5rem;
    }
    
    .about-content .about-mission,
    .about-content .about-values {
        padding: 1.5rem;
    }
    
    .about-content .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content article h2,
    .about-content h2 {
        font-size: 1.25rem;
    }
    
    .doc-meta-bar {
        gap: 1rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .about-content .about-mission,
    .about-content .about-values {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .about-content .value-item {
        padding: 1rem;
    }
}
