:root {
    --primary: #1a3e72;
    --secondary: #4a6fa5;
    --accent: #d32f2f;
    --light: #f5f7fa;
    --dark: #0d1b2a;
    --text: #333333;
    --text-light: #6c757d;
    --gold: #c8a97e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover:after {
    width: 100%;
}

.hero {
    background: linear-gradient(rgba(26, 62, 114, 0.8), rgba(26, 62, 114, 0.8)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.content {
    display: flex;
    margin: 30px 0 50px;
    gap: 40px;
}

main {
    flex: 2;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

aside {
    flex: 1;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

article h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.meta .author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.article-image {
    margin: 30px 0;
    position: relative;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin: 30px 0 20px;
    font-size: 1.8rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.highlight-box ul {
    padding-left: 20px;
}

.highlight-box ul li {
    margin-bottom: 10px;
}

blockquote {
    border-left: 4px solid var(--gold);
    padding: 20px 30px;
    margin: 30px 0;
    background: #faf6f0;
    font-style: italic;
    position: relative;
}

blockquote:before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 1;
    opacity: 0.3;
}

blockquote p {
    position: relative;
    z-index: 1;
    padding-left: 30px;
}

.profile-card {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.profile-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 5px;
}

.profile-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
}

.tag {
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.related-articles {
    margin-top: 50px;
}

.related-articles h2 {
    margin-bottom: 30px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.related-articles h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 25px;
}

.article-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.article-card a:after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.article-card a:hover:after {
    margin-left: 10px;
}

footer {
    background-color: var(--dark);
    color: white;
    margin-top: 60px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #b71c1c;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    main {
        padding: 25px;
    }
    
    article h1 {
        font-size: 2rem;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


/* Forms */
.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

button[type="submit"] {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #c0392b;
}