* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #faf9f6;
    color: #333333;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #eae6df;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #4a3e3d;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo span {
    color: #b58d3d;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-links a:hover {
    color: #b58d3d;
}

/* Main Content Layout */
.main-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.category-tag {
    display: inline-block;
    background-color: #f0e6d2;
    color: #8c6239;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

h1 {
    font-size: 36px;
    color: #2c2523;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eae6df;
    font-size: 14px;
    color: #888888;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a373, #faedcd);
}

.featured-image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212,163,115,0.15) 0%, rgba(250,237,205,0.05) 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.featured-image-icon {
    font-size: 80px;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
}

.article-content p {
    font-size: 17px;
    color: #444444;
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h2 {
    font-size: 24px;
    color: #2c2523;
    margin: 35px 0 15px;
    font-weight: 700;
}

.article-content blockquote {
    border-left: 4px solid #b58d3d;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555555;
    font-size: 18px;
}

.tips-box {
    background-color: #f7f4ed;
    border-left: 4px solid #d4a373;
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.tips-box h3 {
    margin-bottom: 12px;
    color: #4a3e3d;
}

.tips-box ul {
    list-style-position: inside;
    margin-left: 10px;
}

.tips-box li {
    margin-bottom: 8px;
    color: #555555;
}

/* Newsletter Box */
.newsletter-section {
    background-color: #ffffff;
    border: 1px solid #eae6df;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.newsletter-section h3 {
    font-size: 22px;
    color: #2c2523;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dcd8d0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background-color: #faf9f6;
}

.newsletter-form input:focus {
    border-color: #b58d3d;
}

.newsletter-form button {
    background-color: #4a3e3d;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-form button:hover {
    background-color: #b58d3d;
}

/* Footer & Disclaimers */
footer {
    background-color: #f2ede4;
    border-top: 1px solid #eae6df;
    padding: 40px 20px;
    margin-top: 80px;
    font-size: 13px;
    color: #666666;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-links a {
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.footer-links a:hover {
    color: #b58d3d;
}

.disclaimer-box {
    max-width: 900px;
    margin: 0 auto 25px;
    color: #888888;
    line-height: 1.5;
    padding: 15px;
    border-top: 1px solid #e1dacb;
}

.copyright {
    color: #999999;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #ffffff;
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 30px;
    position: relative;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888888;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #333333;
}

.modal-content h2 {
    font-size: 24px;
    color: #2c2523;
    margin-bottom: 20px;
    border-bottom: 1px solid #eae6df;
    padding-bottom: 10px;
}

.modal-content p {
    font-size: 15px;
    color: #444444;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-size: 18px;
    color: #2c2523;
    margin: 20px 0 10px;
}

.modal-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #555555;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #4a3e3d;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcd8d0;
    border-radius: 6px;
    background-color: #faf9f6;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #b58d3d;
}

.submit-btn {
    background-color: #4a3e3d;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #b58d3d;
}
