/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   HEADER STYLES (THE OLIVE PRESS)
   =================================== */

/* Top Bar */
.top-bar {
    background-color: #2d5a3d;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .date {
    font-weight: 400;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.btn-subscribe,
.btn-login {
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-subscribe:hover,
.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Main Header */
.main-header {
    background-color: #2d5a3d;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-icon {
    flex: 0 0 50px;
    cursor: pointer;
}

.search-icon svg {
    width: 24px;
    height: 24px;
}

.logo {
    flex: 1;
    text-align: center;
}

.logo img {
    max-height: 80px;
    margin: 0 auto;
}

.social-icons {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Navigation Menu */
.main-nav {
    background-color: #1a1a1a;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background-color: #8b6f47;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #8b6f47;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* ===================================
   ARTICLE CONTENT STYLES
   =================================== */

.article-container {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.article-content {
    background-color: white;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.whatsapp {
    background-color: #25D366;
}

.share-btn.facebook {
    background-color: #1877F2;
}

.share-btn.twitter {
    background-color: #1DA1F2;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* Featured Image */
.featured-image {
    margin: 30px 0;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Article Body */
.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.intro-text {
    font-size: 20px;
    margin-bottom: 30px;
}

.intro-text p {
    margin-bottom: 15px;
}

.main-content p {
    margin-bottom: 20px;
}

.main-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.main-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #1a1a1a;
}

.main-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #1a1a1a;
}

/* Highlight Box */
.highlight-box {
    background-color: #fffbf0;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-content h3,
.highlight-content h4 {
    margin-top: 0;
    color: #1a1a1a;
}

.highlight-content p {
    margin-bottom: 0;
}

/* Interview Section */
.interview-section {
    background-color: #f9f9f9;
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
}

.interview-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.interview-section blockquote {
    border-left: 4px solid #2d5a3d;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    font-size: 20px;
    color: #555;
}

/* Data Section */
.data-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.data-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.earnings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.earnings-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.earnings-item .rank {
    font-size: 24px;
    font-weight: 700;
    color: #666;
    width: 30px;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.participant-name {
    font-weight: 600;
    font-size: 16px;
}

.earnings-bar {
    flex: 1;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.earnings-progress {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 15px;
    transition: width 1s ease;
}

.earnings-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2d5a3d;
    min-width: 100px;
    text-align: right;
}

/* CTA Section */
.cta-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 8px;
    text-align: center;
}

.cta-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 15px;
}

.urgency-text {
    color: #d32f2f;
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
}

.cta-button-container {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

/* ===================================
   FOOTER STYLES (THE OLIVE PRESS)
   =================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #ccc;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input[type="email"] {
    padding: 12px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #2d5a3d;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: #2d5a3d;
    text-decoration: underline;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #2d5a3d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Footer Bottom */
.footer-bottom {
    background-color: #0d0d0d;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-bottom img {
    max-width: 150px;
}

.tagline {
    font-size: 12px;
    color: #888;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 11px;
    color: #888;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .article-title {
        font-size: 36px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .search-icon {
        order: 3;
    }

    .logo {
        order: 1;
    }

    .social-icons {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        text-align: center;
        padding: 12px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .earnings-item {
        flex-wrap: wrap;
    }

    .earnings-bar {
        width: 100%;
        order: 3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo-bottom {
        flex-direction: column;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .cta-section {
        padding: 20px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 24px;
    }

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

    .social-icons {
        flex-wrap: wrap;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

