/* =====================================================
   LocalAssam - Article Page Specific Styles (Premium Design)
   ===================================================== */

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: linear-gradient(135deg, var(--light-bg), rgba(26, 127, 78, 0.05));
    padding: 18px 0;
    border-bottom: 2px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== Article Hero ===== */
.article-hero {
    height: 600px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 48px rgba(26, 127, 78, 0.15);
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-hero:hover img {
    transform: scale(1.06);
}

/* ===== Article Container ===== */
.article-container {
    padding: 70px 0;
}

.article-container .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.article-main {
    max-width: 900px;
}

/* ===== Article Header ===== */
.article-header {
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 3px solid var(--border-color);
    animation: slideUp 0.6s ease;
}

.article-header .category-badge {
    display: inline-block;
    margin-bottom: 15px;
    animation: slideUp 0.6s ease 0.1s both;
}

.article-header h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
    animation: slideUp 0.6s ease 0.2s both;
}

.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-light);
    animation: slideUp 0.6s ease 0.3s both;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(26, 127, 78, 0.1);
    color: var(--primary-color);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(26, 127, 78, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(26, 127, 78, 0.15);
    transform: translateY(-2px);
}

/* ===== Article Body ===== */
.article-body {
    line-height: 2;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 1.8rem;
}

.article-body .lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2.8rem;
    line-height: 1.8;
    padding: 24px;
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.08), rgba(26, 127, 78, 0.03));
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 4px solid linear-gradient(90deg, var(--primary-color), transparent);
    position: relative;
}

.article-body h2::before {
    content: '';
    display: none;
}

.article-body h2::after {
    display: none;
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

/* ===== Blockquote ===== */
.article-body blockquote {
    border-left: 5px solid var(--primary-color);
    padding: 28px 35px;
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.1), rgba(26, 127, 78, 0.04));
    margin: 3rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-dark);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 6px 20px rgba(26, 127, 78, 0.12);
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    left: 15px;
    top: -20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.25;
    font-weight: 700;
}

/* ===== Lists ===== */
.article-body ul,
.article-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.process-list li,
.highlights li,
.experience-list li {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.process-list li strong {
    color: var(--primary-color);
}

/* ===== Figures & Images ===== */
.article-body figure {
    margin: 3rem 0;
    background: var(--white);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.article-body figure:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.article-body figure img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    display: block;
    transition: transform 0.5s ease;
}

.article-body figure:hover img {
    transform: scale(1.02);
}

.article-body figcaption {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
}

/* ===== Share Section ===== */
.share-section {
    margin: 3rem 0;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
}

.share-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.facebook:hover {
    background: #2d4373;
    transform: translateY(-3px);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
    transform: translateY(-3px);
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-3px);
}

.share-btn.email {
    background: var(--primary-color);
}

.share-btn.email:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Related Articles ===== */
.related-articles {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 3px solid var(--border-color);
}

.related-articles h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover img {
    transform: scale(1.08);
}

.related-card h4 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.related-card p {
    padding: 0 15px 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-card a {
    display: block;
    padding: 10px 15px 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-card a:hover {
    color: var(--primary-dark);
}

/* ===== Author Box ===== */
.author-box {
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.1), rgba(26, 127, 78, 0.04));
    padding: 45px;
    border-radius: 12px;
    margin-top: 4.5rem;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 35px;
    align-items: start;
    border: 2px solid rgba(26, 127, 78, 0.2);
    box-shadow: 0 8px 24px rgba(26, 127, 78, 0.12);
}

.author-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.author-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.author-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--primary-dark);
}

/* ===== Sidebar ===== */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.sidebar-widget h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 0.8rem;
}

.sidebar-widget a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget a:hover {
    color: var(--primary-color);
}

/* ===== Featured Listing Widget ===== */
.featured-listing {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.featured-listing:hover {
    box-shadow: var(--shadow-lg);
}

.featured-listing img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.featured-listing h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.featured-listing p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.view-btn {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.featured-listing:hover .view-btn {
    color: var(--primary-dark);
}

/* ===== CTA Widget ===== */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.cta-widget h4 {
    color: var(--white);
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cta-widget .btn-primary {
    width: 100%;
    display: block;
    text-align: center;
}

/* ===== Newsletter ===== */
.newsletter {
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.12), rgba(46, 160, 106, 0.08));
    padding: 70px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 127, 78, 0.15);
}

.newsletter-form button {
    padding: 15px 30px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .article-container .container {
        grid-template-columns: 1fr;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.6rem;
    }

    .article-body h3 {
        font-size: 1.2rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .author-box img {
        width: 80px;
        height: 80px;
    }

    .article-hero {
        height: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-tags {
        flex-wrap: wrap;
    }

    .article-body {
        font-size: 0.95rem;
    }

    .article-body blockquote {
        padding: 15px 20px;
        margin: 1.5rem 0;
    }

    .share-buttons {
        justify-content: center;
    }

    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-box img {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

/* ===== Animation Keyframes ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
