/* Hero Section */
.hero {
    position: relative;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.1) 0%, rgba(254, 243, 199, 0.1) 100%);
    overflow: hidden;
    margin-bottom: 30px;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f1f5f9" opacity="0.1"/></svg>');
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay::before,
.hero-overlay::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-overlay::before {
    top: 0;
    left: 0;
    background: rgba(239, 68, 68, 0.1);
}

.hero-overlay::after {
    bottom: 0;
    right: 0;
    background: rgba(251, 146, 60, 0.1);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #111827;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    color: #111827;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 5rem 0 1.5rem 0;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #f59e0b;
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    font-size: 1.125rem;
}

.meta-item i {
    color: #d69e2e;
}

.hero-tags {
    margin-top: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #eab308;
    color: #111827;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

tag:hover {
    background: #ca8a04;
    transform: translateY(-1px);
}

/* Article Details Page Styles */
.article-details {
    padding: 0 0 60px 0;
    background-color: #f9f9f9;
    line-height: 1.7;
    color: #333;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #777;
}

.breadcrumb a {
    color: #d69e2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #b7791f;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-current {
    color: #777;
}

/* Article Header */
.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-category {
    margin-bottom: 20px;
}

.category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #d69e2e, #ed8936);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0 25px;
    line-height: 1.3;
    color: #1a202c;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #718096;
}

.article-meta i {
    margin-right: 6px;
    color: #d69e2e;
}

.article-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-image:hover img {
    transform: scale(1.03);
}

/* Article Body */
.article-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.article-content h2 {
    color: #2d3748;
    margin: 40px 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-content h3 {
    color: #2d3748;
    margin: 35px 0 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.article-content a {
    color: #d69e2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #b7791f;
    text-decoration: underline;
}

/* Tags */
.article-tags {
    margin: 50px 0 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f7fafc;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tag:hover {
    background: #e2e8f0;
    color: #2d3748;
}

/* Social Share */
.article-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-share span {
    font-weight: 600;
    color: #4a5568;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f7fafc;
    color: #4a5568;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #d69e2e;
    color: white;
    transform: translateY(-2px);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 1.4rem;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    color: #2d3748;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #d69e2e, #ed8936);
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-article:hover {
    transform: translateX(5px);
}

.related-article img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.related-article h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: #2d3748;
    line-height: 1.4;
}

.related-date {
    font-size: 0.85rem;
    color: #718096;
}

/* Newsletter Widget */
.newsletter-widget p {
    margin-bottom: 20px;
    color: #4a5568;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #d69e2e;
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.1);
}

.btn-subscribe {
    background: linear-gradient(135deg, #d69e2e, #ed8936);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 158, 46, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-body {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .newsletter-widget {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.7rem;
    }
    
    .article-content {
        padding: 25px 15px;
    }
    
    .article-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
}
