/* ============================================================
   INSIGHTS — Listing Page · Single Post
   ============================================================ */

/* ── Category Filter Tags ─────────────────────────────────── */
.insights-categories { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding: var(--space-sm) 0; }

.category-tag {
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.category-tag:hover,
.category-tag--active {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

/* ── Featured Post ────────────────────────────────────────── */
.insights-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.insights-featured__image {
    background: var(--green-light);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.insights-featured__image img           { width: 100%; height: 100%; object-fit: cover; }
.insights-featured__img-placeholder {
    font-size: 5rem;
    width: 100%; height: 100%; min-height: 360px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-light), var(--border));
}

.insights-featured__content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.insights-featured__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-md);
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-2xl);
}

.pagination__item {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.pagination__item:hover,
.pagination__item--active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.pagination__dots         { color: var(--text-muted); padding: 0 0.25rem; }

/* ── Single Post Layout ───────────────────────────────────── */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-2xl);
    align-items: flex-start;
}

/* Post Hero Image */
.post-body__hero-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    aspect-ratio: 16/7;
}
.post-body__hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Excerpt */
.post-body__excerpt {
    font-size: var(--text-lg);
    color: var(--text-muted);
    font-style: italic;
    border-left: 3px solid var(--gold);
    padding-left: var(--space-md);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

/* Body Content Typography */
.post-body__content                  { line-height: 1.9; }
.post-body__content p                { margin-bottom: 1.4rem; font-size: var(--text-md); }
.post-body__content h2               { margin: 2.5rem 0 1rem; color: var(--green-dark); }
.post-body__content h3               { margin: 2rem 0 0.75rem; color: var(--green-dark); }
.post-body__content ul,
.post-body__content ol               { margin: 1rem 0 1.4rem 1.5rem; }
.post-body__content li               { margin-bottom: 0.5rem; font-size: var(--text-md); }
.post-body__content blockquote {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--text-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-body__content img { border-radius: var(--radius-md); margin: var(--space-lg) 0; width: 100%; }

/* Post Footer */
.post-body__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.post-body__share { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--text-muted); }

.share-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--green-dark);
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: var(--transition);
}
.share-link:hover { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

/* ── Sidebar ──────────────────────────────────────────────── */
.post-sidebar {
    position: sticky;
    top: calc(var(--navbar-h) + 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}
.sidebar-widget--cta              { background: var(--green-dark); border-color: var(--green-dark); }
.sidebar-widget--cta h4           { color: var(--gold); }
.sidebar-widget--cta p            { color: rgba(255,255,255,0.75); font-size: var(--text-sm); margin-top: 0.5rem; }

.sidebar-widget__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-dark);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gold);
}
.sidebar-widget p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

.sidebar-links               { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-links li a          { font-size: var(--text-sm); font-weight: 600; color: var(--green-dark); transition: var(--transition); }
.sidebar-links li a:hover    { color: var(--gold-dark); padding-left: 4px; }

/* ── Responsive: Insights ─────────────────────────────────── */
@media (max-width: 1024px) {
    .post-layout    { grid-template-columns: 1fr; }
    .post-sidebar   { position: static; }
}

@media (max-width: 768px) {
    .insights-featured              { grid-template-columns: 1fr; }
    .insights-featured__image       { min-height: 220px; }
}