/**
 * Content Pages - Football IQ Score
 * Styles for legal pages, articles, and content indexes
 */

/* ===================================
   LEGAL/CONTENT PAGE LAYOUT
   =================================== */

body.content-page {
    background: url('/assets/images/bg-for-web.jpg') center center / cover no-repeat fixed;
}

/* Content Container */
.content-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 15px;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-card h1 {
    font-family: 'Roboto Slab', Georgia, serif;
    color: #5a2425;
    font-size: 36px;
    margin: 0 0 1.5rem;
    border-bottom: 3px solid #5a2425;
    padding-bottom: 0.5rem;
}

.content-card h2 {
    font-family: 'Roboto Slab', Georgia, serif;
    color: #5a2425;
    font-size: 28px;
    margin: 2rem 0 1rem;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    font-family: 'Roboto Slab', Georgia, serif;
    color: #5a2425;
    font-size: 22px;
    margin: 1.5rem 0 0.75rem;
}

.content-card p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.content-card ul,
.content-card ol {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin: 1rem 0 1rem 2rem;
    font-family: Georgia, serif;
}

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

.content-card a {
    color: #2d7a2d;
    text-decoration: underline;
}

.content-card a:hover {
    color: #fddc00;
}

.content-card strong {
    font-weight: bold;
    color: #5a2425;
}

.highlight-box {
    background: rgba(253, 220, 0, 0.1);
    border-left: 4px solid #fddc00;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-info {
    background: rgba(90, 36, 37, 0.05);
    border: 1px solid rgba(90, 36, 37, 0.2);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* ===================================
   CONTENT INDEX (ARTICLE LIST)
   =================================== */

.content-index-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-index-list li {
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    padding: 1.5rem 0;
}

.content-index-list li:last-child {
    border-bottom: none;
}

.content-index-list a {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 20px;
    color: #5a2425;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.content-index-list a:hover {
    color: #fddc00;
}

/* ===================================
   INLINE RELATED LINKS BOX
   =================================== */

.related-links-box {
    background: rgba(90, 36, 37, 0.05);
    border-left: 4px solid #5a2425;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.related-links-box h3 {
    font-size: 18px;
    color: #5a2425;
    margin: 0 0 1rem;
    font-weight: 600;
    font-family: 'Roboto Slab', Georgia, serif;
}

.related-links-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-links-box li {
    margin-bottom: 0.75rem;
}

.related-links-box li:last-child {
    margin-bottom: 0;
}

.related-links-box a {
    color: #2d7a2d;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.related-links-box a:before {
    content: "→";
    margin-right: 0.5rem;
    color: #2d7a2d;
    font-weight: normal;
}

.related-links-box a:hover {
    color: #5a2425;
}

.related-links-box a:hover:before {
    color: #5a2425;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1.5rem 2rem;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .content-container {
        margin: 2rem auto;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .content-card h1 {
        font-size: 28px;
    }

    .content-card h2 {
        font-size: 24px;
    }

    .content-card h3 {
        font-size: 20px;
    }

    .content-card p,
    .content-card ul,
    .content-card ol {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 1.5rem 1rem;
    }
}

/* ===================================
   FORM STYLES (Contact Page)
   =================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
}

.form-label .required {
    color: #e74c3c;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #fddc00;
}

.form-input.error,
.form-textarea.error {
    border-color: #e74c3c;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 0.5rem;
    font-family: Arial, sans-serif;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert ul {
    margin: 0.5rem 0 0 1.5rem;
    font-family: Arial, sans-serif;
}

.recaptcha-notice {
    font-size: 12px;
    color: #666;
    margin-top: 1rem;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

.recaptcha-notice a {
    color: #1E6BA8;
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
