/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom:0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 6px;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Main Content */
main {
    padding: 60px 0 80px;
    min-height: calc(100vh - 250px);
    background-color: #f8f9fc;
}

h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 18px;
    color: #2d3748;
    font-weight: 600;
}

h4 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #2d3748;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    color: #4a5568;
    font-size: 17px;
}

a {
    color: #E67E22;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D35400;
}

/* Sections */
section {
    margin-bottom: 50px;
}

.intro {
    background: linear-gradient(135deg, #E67E2215 0%, #D3540015 100%);
    border-left: 5px solid #E67E22;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.site-purpose {
    margin-bottom: 50px;
}

.category-intro {
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.placeholder {
    padding: 30px;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecf3 100%);
    border-left: 4px solid #cbd5e0;
    margin-top: 40px;
    border-radius: 8px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Article Cards */
.article-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #E67E22;
}

.article-card.featured {
    border: 2px solid #E67E22;
    background: linear-gradient(135deg, #E67E2210 0%, #D3540010 100%);
}

.article-category {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E67E22;
    margin-bottom: 12px;
}

.article-card h4 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.article-card h4 a {
    color: #2d3748;
    font-weight: 600;
}

.article-card h4 a:hover {
    color: #E67E22;
}

.article-card p {
    margin-bottom: 20px;
    color: #718096;
    font-size: 16px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #E67E22;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #D35400;
    transform: translateX(5px);
}

/* Featured Content - Legacy Support */
.featured-content {
    margin-top: 60px;
}

.article-preview {
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 2px solid #e2e8f0;
    margin-top: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #E67E22;
}

.article-preview h4 {
    margin-bottom: 12px;
}

.article-preview h4 a {
    color: #2d3748;
    font-weight: 600;
}

.article-preview h4 a:hover {
    color: #E67E22;
}

.article-preview p {
    margin-bottom: 0;
    color: #718096;
    font-size: 16px;
}

/* Article Styles */
article {
    max-width: 850px;
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.article-meta {
    color: #718096;
    font-size: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.disclaimer {
    padding: 25px;
    background: linear-gradient(135deg, #fef5e7 0%, #fdeaa8 100%);
    border-left: 5px solid #f59e0b;
    margin-top: 40px;
    font-size: 16px;
    border-radius: 8px;
}

.effective-date {
    color: #718096;
    font-size: 15px;
    margin-bottom: 35px;
    font-style: italic;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 40px 0;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E67E22;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.submit-button {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: #ffffff;
    padding: 14px 35px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(230,126,34,0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230,126,34,0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #cbd5e0;
    padding: 50px 0;
    margin-top: 80px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e2e8f0;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #a0aec0;
    font-size: 14px;
    margin-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        padding: 6px 12px;
        font-size: 14px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .intro {
        padding: 25px;
    }

    .category-intro {
        padding: 20px;
    }

    article {
        padding: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        padding: 25px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 20px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 13px;
        padding: 5px 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .intro {
        padding: 20px;
    }

    .category-intro {
        padding: 20px;
    }

    article {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .article-card {
        padding: 20px;
    }
}