/* ═══════════════════════════════════════════════════════
   Blog Article Styles — Consolidated from inline <style> blocks
   Source: blog/*.html (4 files, now deduplicated)
   ═══════════════════════════════════════════════════════ */

/* ── Pattern A: Dark gradient hero (hyderabad-investment-locations-2026, future-real-estate-trends-2026) ── */
.article-hero-a {
    position: relative;
    padding: 160px 40px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
}

.article-hero-a::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.23;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-hero-content-a {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.article-hero-a h1 {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 52px);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.article-hero-a h1 em {
    color: var(--primary);
}

/* Pattern A meta — inside .article-hero-content-a */
.article-hero-content-a .article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray2);
    margin-bottom: 24px;
    border-top: none;
    padding-top: 0;
}

.article-hero-content-a .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero-content-a .article-meta svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.article-hero-actions-a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 8px 0 28px;
}

.article-hero-share-a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-hero-share-a .share-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.article-hero-share-a a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .2s, background .2s, border-color .2s;
}

.article-hero-share-a a:hover {
    transform: translateY(-2px);
    background: var(--primary);
    border-color: var(--primary);
}

.article-hero-share-a svg {
    width: 16px;
    height: 16px;
}

/* ── Pattern B: Image hero with overlay (choosing-right-property, _TEMPLATE) ── */
.article-hero-b {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
}

.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .2) 100%);
}

.article-hero-content-b {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    max-width: 900px;
    margin: auto;
    z-index: 2;
}

/* ── Shared article elements ── */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, .1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all .2s;
}

.article-back:hover {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.article-back svg {
    width: 16px;
    height: 16px;
}

.article-cat {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 5px;
    margin-bottom: 14px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

/* ── Article meta (default: Pattern B) ── */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 16px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    width: 14px;
    height: 14px;
    color: var(--red);
}

/* ── Article body (default: Pattern B) ── */
.article-body {
    max-width: 800px;
    margin: auto;
    padding: 60px 20px 100px;
    font-size: 16.5px;
    color: var(--dark);
    line-height: 1.95;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--dark);
    margin: 48px 0 16px;
    line-height: 1.2;
    border-bottom: 1px solid var(--gray3);
    padding-bottom: 10px;
}

.article-body h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--red);
    margin: 32px 0 12px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body img {
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: var(--sh);
}

.article-body blockquote {
    border-left: 4px solid var(--red);
    padding: 10px 20px;
    margin: 32px 0;
    background: var(--red-pale);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--dark);
}

/* ── Pattern A body overrides ── */
.article-body-a {
    max-width: 1120px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    color: var(--dark);
}

.article-body-a p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.article-body-a h2 {
    font-family: var(--display);
    font-size: clamp(22px, 2.5vw, 32px);
    margin: 48px 0 16px;
    color: var(--dark);
    border-bottom: none;
}

.article-body-a h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--dark);
}

.article-body-a ul {
    margin: 16px 0 24px;
    padding-left: 24px;
    list-style: none;
}

.article-body-a ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

.article-body-a ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 10px;
    top: 5px;
}

.article-body-a ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-a ol li {
    margin-bottom: 10px;
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

.article-body-a .highlight-box {
    background: var(--off);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.article-body-a .highlight-box p:last-child {
    margin-bottom: 0;
}

.article-body-a strong {
    color: var(--dark);
}

.article-body-a img {
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: var(--sh);
}

.article-body-a blockquote {
    border-left: 4px solid var(--primary);
    padding: 10px 20px;
    margin: 32px 0;
    background: var(--off);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray);
}

/* ── Share section (default: Pattern B) ── */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--gray3);
    border-bottom: 1px solid var(--gray3);
    margin: 48px 0;
}

.article-share span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off);
    border: 1px solid var(--gray3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all .2s;
}

.share-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
}

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

/* ── Pattern A share overrides ── */
.article-share-a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--gray3);
    border-bottom: none;
    margin-bottom: 0;
}

.article-share-a span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.article-share-a a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray);
    text-decoration: none;
    transition: color .2s;
}

.article-share-a a:hover {
    color: var(--primary);
}

/* ── Related articles section ── */
.related-sec {
    background: var(--off);
    padding: 80px 40px;
}

.related-inner {
    max-width: 1300px;
    margin: auto;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    .article-hero-b {
        height: auto;
        padding-top: 80px;
    }

    .article-hero-content-b {
        position: relative;
        padding: 30px 20px;
    }

    .article-body,
    .article-body-a {
        padding: 40px 20px 60px;
        font-size: 15.5px;
    }

    .article-body h2,
    .article-body-a h2 {
        font-size: 26px;
        margin-top: 36px;
    }

    .article-body h3,
    .article-body-a h3 {
        font-size: 20px;
    }

    .related-sec {
        padding: 60px 20px;
    }
}
