﻿:root {
    --color-primary: #0a0a0a;
    --color-accent: #dc2626;
    --color-accent-hover: #b91c1c;
    --color-text: #0a0a0a;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e5e7eb;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Segoe UI;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.custom-link{
    color:slateblue;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 8px 24px;
}

/* Hero */
.article-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

/* Main Layout */
.main-layout {
    display: flex;
    gap: 48px;
    padding: 48px 0;
}

.article-wrapper {
    flex: 1;
   /* max-width: 800px;*/
}

/* Breadcrumb */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: linear-gradient(90deg,#e8f0ff,#f7faff);
    border-radius: 12px;
    color: #555;
}

    .breadcrumb a {
        text-decoration: none;
        color: #0b5ed7;
        font-weight: 600;
    }

    .breadcrumb .sep {
        color: #9aa7c0;
    }

    .breadcrumb .current {
        color: #222;
        font-weight: 600;
        max-width: 380px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Sidebar */
.sidebar {
    width: 340px;
    flex-shrink: 0;
}

.sidebar-inner {
    position: sticky;
    top: 50px;
}

.sidebar-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

    .sidebar-form h3 {
        font-family: Segoe UI;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .sidebar-form p {
        font-size: 14px;
        color: var(--color-text-muted);
        margin-bottom: 24px;
    }

.form-group {
    margin-bottom: 13px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .form-group input, .form-select,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        font-size: 14px;
        font-family: inherit;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-accent);
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }


.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #0047ab;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

    .submit-btn:hover {
        background: #002252;
        transform: translateY(-1px);
    }

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
}

    .form-note a {
        text-decoration: underline;
    }

        .form-note a:hover {
            color: var(--color-accent);
        }

.form-row {
    display: flex;
    gap: 12px; /* space between the two inputs */
}

.country-group {
    flex: 1 1 47%; /* smaller width */
}

.phone-group {
    flex: 1 1 70%; /* larger width */
}

/* Optional: to keep consistent spacing at the bottom */
.form-row .form-group {
    margin-bottom: 13px;
}

/* Article Header */
.article-header {
    margin-bottom: 48px;
}

.article-category {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.article-title {
    font-family: Segoe UI;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.article-subtitle {
    font-size: 20px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: -10px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
}

.author-role {
    font-size: 13px;
    color: var(--color-text-muted);
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-text-muted);
}

    .share-btn:hover {
        background: var(--color-accent);
        border-color: var(--color-accent);
        color: white;
        transform: translateY(-2px);
    }

/* Article Body */
.article-body {
    font-size: 16px;
    line-height: 1.85;
}

    .article-body p {
        margin-bottom: 13px;
        color: rgba(10, 10, 10, 0.85);
    }

.lead-paragraph {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.article-body h2 {
    font-family: Segoe UI;
    font-size: 22px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.article-body h3 {
    font-family: Segoe UI;
    font-size: 18px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.article-body blockquote {
    margin: 40px 0;
    padding: 32px 40px;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 12px 12px 0;
}

    .article-body blockquote p {
        font-family: Segoe UI;
        font-size: 24px;
        font-style: italic;
        line-height: 1.5;
        margin-bottom: 16px;
        color: var(--color-primary);
    }

    .article-body blockquote cite {
        font-size: 14px;
        font-style: normal;
        color: var(--color-text-muted);
    }

.article-body ul {
    margin: 24px 0;
}

    .article-body ul li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 16px;
    }

        .article-body ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 6px;
            height: 6px;
            background: black;
            border-radius: 50%;
        }

        .article-body ul li strong {
            color: var(--color-primary);
        }

.article-figure {
    margin: 48px 0;
}

    .article-figure img {
        width: 100%;
        border-radius: 12px;
    }

    .article-figure figcaption {
        margin-top: 16px;
        font-size: 14px;
        color: var(--color-text-muted);
        text-align: center;
        font-style: italic;
    }

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.tag {
    padding: 10px 20px;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 24px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .tag:hover {
        background: var(--color-accent);
        color: white;
        transform: translateY(-2px);
    }

/* Related */
.related-section {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 3px solid var(--color-primary);
}

.related-title {
    font-family: Segoe UI;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    gap: 20px;
}

.related-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: block;
}

    .related-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

        .related-card:hover .related-image {
            transform: scale(1.05);
        }

.related-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.related-content {
    padding: 20px;
}

.related-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0047ab;
    margin-bottom: 8px;
    display: block;
}

.related-headline {
    font-family: Segoe UI;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.related-card:hover .related-headline {
    color: black;
}

.related-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

.related-meta-news {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: 15px;
}
/* Responsive */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-inner {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .article-hero {
        height: 40vh;
        min-height: 280px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-subtitle {
        font-size: 18px;
    }

    .article-meta {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .article-body {
        font-size: 16px;
    }

    .lead-paragraph {
        font-size: 18px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body blockquote {
        padding: 24px;
    }

        .article-body blockquote p {
            font-size: 20px;
        }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-desc {
        max-width: none;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

.error-message {
    font-size: 11px;
    color: red;
}


.share-btn {
    position: relative;
}

.copy-msg {
    position: absolute;
    bottom: -28px; /* icon ke neeche */
    right: 0;
    background: #000;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
