/* ──────────────────────────────────────────────
   Legal Literacy Club — shared styles
   ────────────────────────────────────────────── */

:root {
    --llc-primary: #059669;
    --llc-primary-dark: #065f46;
    --llc-primary-light: #a7f3d0;
    --llc-bg-soft: #ecfdf5;
    --llc-text: #0f172a;
    --llc-text-muted: #475569;
    --llc-text-soft: #64748b;
    --llc-surface: #ffffff;
    --llc-border: #e2e8f0;
}

/* ──────────────────────────────────────────────
   Hub page
   ────────────────────────────────────────────── */
.llc-hero {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #065f46 100%);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.llc-hero::before {
    content: "⚖️";
    position: absolute;
    font-size: 22rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    pointer-events: none;
}
.llc-hero * { position: relative; }
.llc-hero .llc-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.llc-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 10px;
}
.llc-hero .llc-hindi { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin: 0 0 20px; }
.llc-hero p.tagline { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

.llc-section { padding: 56px 0; }
.llc-section.alt { background: #f8fafc; }
.llc-section h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #0f172a;
    margin: 0 0 8px;
    font-weight: 800;
}
.llc-section .section-sub {
    text-align: center;
    color: #475569;
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: 1rem;
    line-height: 1.7;
}

.llc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.llc-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--llc-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.llc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.llc-card .icon { font-size: 2.25rem; margin-bottom: 10px; display: block; }
.llc-card h3 { color: var(--llc-primary-dark); font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.llc-card p { color: var(--llc-text-muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }

.llc-topic-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
}
.llc-topic {
    background: #fff;
    border: 1px solid var(--llc-border);
    border-radius: 14px;
    padding: 22px 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.llc-topic:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(6,95,70,0.10);
    border-color: var(--llc-primary-light);
}
.llc-topic::before {
    content: "";
    position: absolute;
    left: 0; top: 22px; bottom: 22px;
    width: 3px;
    background: linear-gradient(180deg, var(--llc-primary) 0%, #14b8a6 100%);
    border-radius: 0 3px 3px 0;
}
.llc-topic .topic-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--llc-primary-light);
}
.llc-topic .topic-text {
    color: var(--llc-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
}
.llc-topic .topic-text strong {
    color: var(--llc-primary-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Desktop: force two tidy columns for long 8-item lists */
@media (min-width: 900px) {
    .llc-topic-list { grid-template-columns: repeat(2, 1fr); }
}

.llc-callout {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border: 1px solid var(--llc-primary-light);
    border-radius: 18px;
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(6,95,70,0.05), 0 12px 28px rgba(6,95,70,0.08);
}
.llc-callout::before {
    content: "⚖️";
    position: absolute;
    right: -1.5rem;
    top: -2rem;
    font-size: 11rem;
    opacity: 0.07;
    pointer-events: none;
    line-height: 1;
}
.llc-callout > * { position: relative; }
.llc-callout h3 {
    color: var(--llc-primary-dark);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.3;
}
.llc-callout p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 10px;
    max-width: 72ch;
}
.llc-callout p:last-of-type { margin-bottom: 0; }
.llc-callout a.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 12px 28px;
    background: var(--llc-primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(5,150,105,0.28);
}
.llc-callout a.btn:hover {
    background: var(--llc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(5,150,105,0.35);
}

@media (max-width: 640px) {
    .llc-callout { padding: 28px 24px; }
}

.llc-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ─── School-specific formation card (on LLC hub) ─── */
.llc-school-card {
    margin-top: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border: 1px solid var(--llc-primary-light);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.05), 0 14px 30px rgba(6,95,70,0.08);
    overflow: hidden;
}
.llc-school-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
    color: #fff;
    padding: 22px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: space-between;
}
.llc-school-card-header .sch-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.llc-school-card-header .sch-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.82);
    display: flex; flex-wrap: wrap; gap: 4px 16px;
}
.llc-school-card-header .sch-meta strong { color: #fff; }

.llc-school-card-body { padding: 24px 28px 28px; }
.llc-school-card-body h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--llc-primary-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.committee-member {
    background: #fff;
    border: 1px solid var(--llc-border);
    border-left: 3px solid var(--llc-primary);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.committee-member .m-role {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--llc-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.committee-member .m-name { font-size: 0.98rem; font-weight: 700; color: var(--llc-text); line-height: 1.3; }
.committee-member .m-sub { font-size: 0.82rem; color: var(--llc-text-soft); }

.llc-school-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--llc-primary-light);
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: center;
    justify-content: space-between;
}
.llc-school-footer .kw-didi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
}
.llc-school-footer a.read-full {
    color: var(--llc-primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.llc-school-footer a.read-full:hover { color: var(--llc-primary); }

/* ─── Featured News card (hero-style, spans width) ─── */
.llc-news-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--llc-border);
    box-shadow: 0 2px 8px rgba(15,23,42,0.06), 0 14px 30px rgba(15,23,42,0.07);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 20px;
}
.llc-news-card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(15,23,42,0.08), 0 22px 44px rgba(15,23,42,0.09); }
.llc-news-card { grid-template-columns: 1fr 1fr; }
.llc-news-card .news-visual {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
    color: #fff;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}
.llc-news-card .news-visual > * { position: relative; z-index: 2; }
.llc-news-card .news-visual::before {
    content: "⚖️";
    position: absolute;
    font-size: 15rem;
    right: -2rem;
    bottom: -3rem;
    opacity: 0.08;
    pointer-events: none;
}
.llc-news-card .news-visual.has-photo::before { display: none; }
.llc-news-card .news-visual.has-photo .photo-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block; z-index: 0;
}
/* Photo-variant: keep the photo fully visible — title/stats live in the right body. */
.llc-news-card .news-visual.has-photo {
    padding: 14px;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 280px;
}
.llc-news-card .news-visual.has-photo::after { display: none; }
.llc-news-card .news-visual.has-photo .kicker {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Compact facts row under the headline in the body */
.llc-news-card .news-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px;
}
.llc-news-card .news-facts .fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--llc-text);
    border: 1px solid var(--llc-border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}
.llc-news-card .news-facts .fact.accent {
    background: var(--llc-bg-soft);
    color: var(--llc-primary-dark);
    border-color: var(--llc-primary-light);
}
.llc-news-card .news-visual .kicker {
    display: inline-block;
    background: rgba(167,243,208,0.18);
    border: 1px solid rgba(167,243,208,0.35);
    color: #a7f3d0;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}
.llc-news-card .news-visual .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
}
.llc-news-card .news-visual .stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
}
.llc-news-card .news-visual .stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.2;
}
.llc-news-card .news-visual .stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
    display: block;
}
.llc-news-card .news-body {
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.llc-news-card .news-body .news-date {
    color: var(--llc-text-soft);
    font-size: 0.85rem;
    font-weight: 500;
}
.llc-news-card .news-body h3 {
    color: var(--llc-text);
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 2px 0 6px;
    font-weight: 800;
}
.llc-news-card .news-body p {
    color: var(--llc-text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 8px;
}
.llc-news-card .news-body .read {
    color: var(--llc-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
}
@media (max-width: 760px) {
    .llc-news-card { grid-template-columns: 1fr; }
    .llc-news-card .news-visual { min-height: 180px; padding: 28px 24px; }
    .llc-news-card .news-body { padding: 24px 24px 28px; }
    .llc-news-card .news-body h3 { font-size: 1.2rem; }
}

/* Press coverage mini-card (external links) */
.llc-press-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}
.llc-press-card {
    background: #fff;
    border: 1px solid var(--llc-border);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.llc-press-card:hover { border-color: var(--llc-primary); transform: translateY(-2px); }
.llc-press-card .press-source {
    font-size: 0.72rem;
    color: var(--llc-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.llc-press-card .press-title { color: var(--llc-text); font-weight: 600; font-size: 0.95rem; line-height: 1.45; margin: 0; }
.llc-press-card .press-ext { color: var(--llc-text-soft); font-size: 0.82rem; margin-top: auto; padding-top: 6px; }
.llc-post-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    text-decoration: none; color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column;
}
.llc-post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.llc-post-card .post-media {
    height: 170px;
    background: linear-gradient(135deg, #d1fae5 0%, #ccfbf1 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--llc-primary-dark);
    overflow: hidden; position: relative;
}
.llc-post-card .post-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.llc-post-card:hover .post-media img { transform: scale(1.04); }

/* Photo gallery inside an article */
.post-photo { margin: 22px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(15,23,42,0.08); }
.post-photo img { width: 100%; height: auto; display: block; }
.post-photo figcaption { padding: 10px 14px; background: #f0fdf4; color: var(--llc-primary-dark); font-size: 0.9rem; font-style: italic; border-top: 1px solid var(--llc-primary-light); }
.post-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 22px 0; }
.post-photo-grid figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(15,23,42,0.08); }
.post-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* Panorama — escapes the article's padding, spans the full card width */
.post-panorama {
    margin: 32px calc(-1 * clamp(20px, 4vw, 56px)) 28px;
    position: relative;
    overflow: hidden;
}
.post-panorama img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
}
.post-panorama figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 22px;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.72) 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
    .post-panorama { margin-left: -20px; margin-right: -20px; }
    .post-panorama img { max-height: 260px; }
    .post-panorama figcaption { font-size: 0.84rem; padding: 10px 16px; }
}
.llc-post-card .post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.llc-post-card h3 { margin: 0; color: #0f172a; font-size: 1.05rem; line-height: 1.4; }
.llc-post-card p { margin: 0; color: var(--llc-text-muted); font-size: 0.9rem; line-height: 1.55; }
.llc-post-card .read { margin-top: auto; color: var(--llc-primary); font-weight: 600; font-size: 0.88rem; }

/* ──────────────────────────────────────────────
   Article pages — new design
   ────────────────────────────────────────────── */

/* Hero: full-bleed, gradient, breadcrumb + category + title + meta */
.post-hero {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
    color: #fff;
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}
.post-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(16,185,129,0.22), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(124,58,237,0.14), transparent 45%);
    pointer-events: none;
}
.post-hero .container { position: relative; max-width: 820px; }
.post-hero .breadcrumb-mini {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.post-hero .breadcrumb-mini a { color: rgba(255,255,255,0.85); text-decoration: none; }
.post-hero .breadcrumb-mini a:hover { color: #fff; text-decoration: underline; }
.post-hero .breadcrumb-mini .sep { margin: 0 8px; opacity: 0.5; }
.post-hero .cat-badge {
    display: inline-block;
    background: rgba(167,243,208,0.18);
    border: 1px solid rgba(167,243,208,0.35);
    color: #a7f3d0;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.post-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.post-hero .hero-hindi {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 500;
    margin: 0 0 18px;
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}
.post-hero .hero-meta {
    display: flex; flex-wrap: wrap; gap: 16px 24px;
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    margin-top: 4px;
}
.post-hero .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Article wrapper */
.post-shell { background: #f8fafc; padding: 32px 0 64px; }
.post-shell .container { max-width: 820px; }

.post-toolbar {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.back-link {
    color: var(--llc-primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}
.back-link:hover { color: var(--llc-primary); }

/* Language toggle */
.lang-toggle-wrap {
    display: inline-flex;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--llc-primary-light);
    border-radius: 999px;
    padding: 4px;
}
.lang-btn {
    padding: 6px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--llc-primary-dark);
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    transition: all 0.15s ease;
}
.lang-btn:hover { background: var(--llc-bg-soft); }
.lang-btn.active { background: var(--llc-primary); color: #fff; }
.lang-btn:focus-visible { outline: 2px solid var(--llc-primary); outline-offset: 2px; }
[data-lang-content][hidden] { display: none !important; }

/* Article card */
.post-article {
    background: #fff;
    border-radius: 16px;
    padding: 40px clamp(20px, 4vw, 56px) 48px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--llc-border);
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    line-height: 1.8;
    color: var(--llc-text);
}

.post-article h2 {
    color: var(--llc-primary-dark);
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 800;
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--llc-primary-light);
    letter-spacing: -0.01em;
}
.post-article h2:first-child { margin-top: 0; }
.post-article h3 {
    color: var(--llc-primary-dark);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 26px 0 10px;
}
.post-article p { margin: 0 0 16px; color: #1f2937; font-size: 1rem; }
.post-article ul, .post-article ol { margin: 0 0 18px; padding-left: 26px; }
.post-article li { margin: 8px 0; color: #1f2937; }
.post-article strong { color: var(--llc-text); font-weight: 700; }
.post-article a { color: var(--llc-primary-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-article a:hover { color: var(--llc-primary); }

.post-article blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--llc-bg-soft);
    border-left: 4px solid var(--llc-primary);
    border-radius: 0 12px 12px 0;
    color: var(--llc-primary-dark);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.7;
}

.post-article .key-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 24px 0;
}
.post-article .key-box h4 { color: #92400e; margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.post-article .key-box p, .post-article .key-box li { color: #78350f; }
.post-article .key-box ul, .post-article .key-box ol { margin-bottom: 0; }

.post-article .info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 24px 0;
}
.post-article .info-box h4 { color: #1e40af; margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.post-article .info-box p, .post-article .info-box li { color: #1e3a5f; }

.post-article hr {
    border: none;
    border-top: 1px solid var(--llc-border);
    margin: 36px 0;
}

/* Principal's personal condolence — warm letter card with signature */
.principal-condolence {
    margin: 36px 0;
    padding: 40px clamp(24px, 4.5vw, 48px) 36px;
    background:
        linear-gradient(160deg, #fdfdfb 0%, #f7f3ea 100%);
    color: #1e293b;
    border: 1px solid #e2d9c3;
    border-left: 5px solid #b45309;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(180,83,9,0.05), 0 12px 28px rgba(180,83,9,0.10);
    position: relative;
    overflow: hidden;
    /* Force single-column, readable flow; override any inherited columns */
    column-count: 1 !important;
    -webkit-columns: 1 !important;
    display: block !important;
}
.principal-condolence > * {
    position: relative;
    column-span: all;
}
.principal-condolence::before {
    content: "\201C";
    position: absolute;
    top: -40px;
    left: 16px;
    font-size: 11rem;
    color: rgba(180,83,9,0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.principal-condolence .pc-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #92400e;
    background: #fef3c7;
    padding: 5px 14px;
    border: 1px solid #fde68a;
    border-radius: 999px;
    margin-bottom: 18px;
}
.principal-condolence h4 {
    color: #78350f;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    font-weight: 800;
    margin: 0 0 22px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-family: 'Noto Sans Devanagari', 'Inter', Georgia, serif;
}
.principal-condolence p {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.9;
    margin: 0 0 16px;
}
.principal-condolence p:last-of-type { margin-bottom: 0; }
.principal-condolence .pc-salute {
    font-style: italic;
    text-align: center;
    margin-top: 22px;
    padding: 14px 20px;
    background: #fffbeb;
    color: #78350f;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
}
.principal-condolence strong { color: #78350f; }
.principal-condolence em { color: #92400e; font-style: italic; }
.principal-condolence .pc-sign {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed #d6b77e;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.principal-condolence .pc-sign .pc-name {
    color: #78350f;
    font-weight: 700;
    font-size: 1.05rem;
    font-style: italic;
}
.principal-condolence .pc-sign .pc-role {
    color: #78350f;
    font-size: 0.92rem;
    opacity: 0.75;
}

/* Obituary / Shraddhanjali box — formal family announcement */
.obituary-box {
    margin: 24px 0;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-left: 4px solid #475569;
    border-radius: 0 12px 12px 0;
    text-align: center;
    font-family: 'Noto Sans Devanagari', 'Inter', serif;
}
.obituary-box p {
    margin: 0 0 14px;
    color: #1e293b;
    font-size: 1.02rem;
    line-height: 1.9;
}
.obituary-box p:last-child { margin-bottom: 0; }
.obituary-box .hari-line {
    font-size: 1.15rem;
    font-weight: 700;
    color: #7c2d12;
    letter-spacing: 0.02em;
    margin: 16px 0;
    font-style: italic;
}
.obituary-box .om-line {
    font-size: 1.05rem;
    font-weight: 600;
    color: #b45309;
    margin: 16px 0;
}
.obituary-box .family-line {
    font-size: 0.92rem;
    color: #475569;
    font-style: italic;
    margin-top: 12px;
}

/* Post footer — prev / next / back */
.post-end-nav {
    max-width: 820px;
    margin: 32px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 720px) {
    .post-end-nav { grid-template-columns: 1fr 1fr; }
    .post-end-nav .full { grid-column: 1 / -1; }
}
.post-end-nav a {
    display: block;
    background: #fff;
    border: 1px solid var(--llc-border);
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}
.post-end-nav a:hover { border-color: var(--llc-primary); transform: translateY(-2px); }
.post-end-nav .label { color: var(--llc-text-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.post-end-nav .title { color: var(--llc-primary-dark); font-weight: 700; font-size: 0.98rem; line-height: 1.35; }
.post-end-nav .align-right { text-align: right; }

/* Mobile refinements */
@media (max-width: 640px) {
    .post-hero { padding: 36px 0 40px; }
    .post-article { padding: 28px 20px 32px; border-radius: 12px; }
    .post-toolbar { gap: 10px; }
}

@media (max-width: 480px) {
    .llc-hero { padding: 48px 0 32px; }
    .llc-hero::before, .llc-hero::after { display: none; }
    .llc-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
    .llc-hero p { font-size: 1rem; }
    .llc-section { padding: 36px 0; }
    .llc-section h2 { font-size: 1.4rem; }
    .post-hero { padding: 28px 0 32px; }
    .post-hero h1 { font-size: clamp(1.4rem, 6.5vw, 1.9rem); line-height: 1.3; }
    .post-article { padding: 20px 14px 24px; border-radius: 10px; }
    .post-article h2 { font-size: 1.2rem; }
    .post-article h3 { font-size: 1.05rem; }
    .post-article p, .post-article li { font-size: 0.98rem; line-height: 1.7; }
    .obituary-box, .info-box, .key-box, .principal-condolence { padding: 18px 16px; border-radius: 10px; }
    .obituary-box p, .principal-condolence p { font-size: 0.98rem; }
    .principal-condolence { column-count: 1 !important; }
    .pc-sign { margin-top: 14px; }
    .llc-news-card, .llc-topic { padding: 16px; }
    .llc-news-card.featured { padding: 16px; }
    .news-visual.has-photo { aspect-ratio: 16 / 10; max-height: 280px; }
    .llc-callout { padding: 20px 16px; }
    .lang-toggle { top: 10px; right: 10px; }
    blockquote { padding: 14px 16px; font-size: 0.98rem; }
    .post-article table { font-size: 0.8rem; }
    .post-end-nav { padding: 0 14px; }
    .post-end-nav a { padding: 14px 16px; }
    .post-end-nav .title { font-size: 0.92rem; }
}

@media (max-width: 380px) {
    .llc-hero h1 { font-size: 1.35rem; }
    .post-hero h1 { font-size: 1.25rem; }
    .post-article { padding: 16px 12px 20px; }
    .obituary-box, .info-box, .key-box, .principal-condolence { padding: 14px 12px; }
}
