/* ─── PAGE BODY LAYOUT ─── */
.page-body { padding: 48px 0; }
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 328px;
    gap: 56px;
    align-items: start;
}
.page-body--single .content-sidebar-wrap { grid-template-columns: 1fr 300px; }
.page-body--full .content-sidebar-wrap { grid-template-columns: 1fr; }

/* ─── FEATURE CARDS (2-col) ─── */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r16);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--ease);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); border-color: var(--g200); }
.feature-card:hover .fc-title { color: var(--g600); }
.fc-img {
    height: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.fc-img-green { background: linear-gradient(150deg, #d4eddd 0%, #a8d9ba 50%, #6db888 100%); }
.fc-img-gold  { background: linear-gradient(150deg, #fdf6e8 0%, #f5d98a 50%, #d4aa55 100%); }
.fc-img-teal  { background: linear-gradient(150deg, #d6f0e6 0%, #8fd4b8 50%, #3d9e7c 100%); }
.fc-img-blue  { background: linear-gradient(150deg, #e8f0fb 0%, #9ab8ed 50%, #5580d4 100%); }
.fc-img-ink   { background: linear-gradient(150deg, #e8e0d4 0%, #cdc8bf 50%, #9b978f 100%); }
.fc-img-photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.fc-tag-wrap { position: absolute; bottom: 14px; left: 14px; }
.fc-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 100px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(4px);
}
.fc-tag.green { color: var(--g700); }
.fc-tag.gold  { color: #7a5c18; }
.fc-tag.teal  { color: #0c6b52; }
.fc-tag.blue  { color: #2850a0; }
.fc-tag.ink   { color: var(--ink2); }
.fc-body { padding: 18px; flex: 1; }
.fc-title { font-family: 'Lora', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 8px; transition: color var(--ease); }
.fc-meta { font-size: 12px; color: var(--ink4); }

/* ─── ARTICLE LIST ─── */
.article-list { display: flex; flex-direction: column; }
.art {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    align-items: start;
    transition: all var(--ease);
}
.art-thumb { display: block; text-decoration: none; }
.art-title a { color: inherit; text-decoration: none; }
.art-title a:hover { color: var(--g600); }
.art:last-child { border-bottom: none; }
.art:hover .art-title { color: var(--g600); }
.art-thumb {
    width: 108px; height: 80px;
    border-radius: var(--r8);
    overflow: hidden;
    flex-shrink: 0;
}
.art-thumb-inner, .post-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ease);
}
.post-thumb--fallback { border-radius: var(--r8); }
.art:hover .art-thumb-inner { transform: scale(1.04); }
.art-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.art-title { font-family: 'Lora', Georgia, serif; font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 5px; transition: color var(--ease); }
.art-excerpt { font-size: 13.5px; color: var(--ink3); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ─── MINI CARDS (Related) ─── */
.related-posts { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card { text-decoration: none; color: inherit; display: block; transition: all var(--ease); }
.mini-card:hover .mini-card-title { color: var(--g600); }
.mini-card-thumb { height: 120px; border-radius: var(--r12); overflow: hidden; margin-bottom: 12px; }
.mini-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease); }
.mini-card:hover .mini-thumb { transform: scale(1.04); }
.mini-card-body {}
.mini-card-title { font-family: 'Lora', Georgia, serif; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; margin: 6px 0 4px; transition: color var(--ease); }
.mini-card-meta { font-size: 12px; color: var(--ink4); }

/* ─── SINGLE ARTICLE CONTENT ─── */
.single-article .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink2);
    max-width: 720px;
}
.single-article .entry-content h2 { font-size: 26px; margin: 40px 0 16px; color: var(--ink); }
.single-article .entry-content h3 { font-size: 21px; margin: 32px 0 12px; color: var(--ink); }
.single-article .entry-content p { margin-bottom: 20px; }
.single-article .entry-content ul, .single-article .entry-content ol { margin: 0 0 20px 24px; }
.single-article .entry-content ul { list-style: disc; }
.single-article .entry-content ol { list-style: decimal; }
.single-article .entry-content li { margin-bottom: 6px; }
.single-article .entry-content a { color: var(--g600); text-decoration: underline; text-underline-offset: 2px; }
.single-article .entry-content a:hover { color: var(--g800); }
.single-article .entry-content blockquote {
    border-left: 3px solid var(--g400);
    padding: 16px 20px;
    margin: 28px 0;
    background: var(--g50);
    border-radius: 0 var(--r8) var(--r8) 0;
    font-style: italic;
    font-size: 18px;
    color: var(--ink);
}
.single-article .entry-content img { border-radius: var(--r12); margin: 28px 0; }
.single-article .entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.single-article .entry-content th { background: var(--g50); padding: 10px 14px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--g200); }
.single-article .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }

/* Entry tags */
.entry-tags { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tags-label { font-size: 13px; font-weight: 600; color: var(--ink3); }

/* Author bio box */
.author-bio {
    display: flex;
    gap: 20px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--r16);
    padding: 24px;
    margin-top: 32px;
}
.author-bio__avatar-wrap { flex: 0 0 64px; width: 64px; height: 64px; }
.author-bio__avatar-wrap .author-bio__avatar {
    display: block;
    width: 64px;
    height: 64px;
    max-width: none;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 50%;
    border: 2px solid var(--g100);
}
.author-bio__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink4); margin-bottom: 3px; }
.author-bio__name { font-family: 'Lora', Georgia, serif; font-size: 17px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.author-bio__name:hover { color: var(--g600); }
.author-bio__desc { font-size: 13.5px; color: var(--ink3); line-height: 1.65; margin-bottom: 10px; }
.author-bio__link { font-size: 13px; font-weight: 600; color: var(--g600); }
.author-bio__link:hover { color: var(--g800); }

/* Pagination */
.pagination { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.pagination__list { display: flex; gap: 6px; align-items: center; }
.pagination__item a, .pagination__item span {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 10px;
    font-size: 14px; font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--r8);
    color: var(--ink2);
    text-decoration: none;
    transition: all var(--ease);
}
.pagination__item a:hover { background: var(--g50); border-color: var(--g200); color: var(--g600); }
.pagination__item .current { background: var(--g600); border-color: var(--g600); color: var(--white); }

/* Topics strip */
.topics-strip { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.topics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 24px; }
.topic {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r12);
    text-decoration: none;
    transition: all var(--ease);
}
.topic:hover { border-color: var(--g200); box-shadow: var(--shadow); transform: translateY(-2px); }
.topic:hover .topic-name { color: var(--g600); }
.topic-icon { width: 36px; height: 36px; border-radius: var(--r8); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.topic-icon svg { width: 18px; height: 18px; }
.topic-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; transition: color var(--ease); }
.topic-count { font-size: 11.5px; color: var(--ink4); margin-top: 3px; }

/* Page article */
.page-article { max-width: 800px; margin: 0 auto; }
.page-title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; margin-bottom: 24px; }
.page-featured-img { margin-bottom: 32px; border-radius: var(--r16); overflow: hidden; }
.no-results { font-size: 16px; color: var(--ink3); padding: 40px 0; }

@media (max-width: 1024px) {
    .content-sidebar-wrap { grid-template-columns: 1fr 280px; gap: 40px; }
    .topics-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .content-sidebar-wrap,
    .page-body--single .content-sidebar-wrap { grid-template-columns: minmax(0, 1fr); }
    .main-content,
    .single-main,
    .single-article,
    .single-article .entry-content { min-width: 0; width: 100%; }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .nl-card { grid-column: 1 / -1; }
    .two-col-grid { grid-template-columns: 1fr; }
    .related-posts__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sidebar { grid-template-columns: minmax(0, 1fr); width: 100%; }
    .art { grid-template-columns: 88px 1fr; gap: 14px; }
    .art-thumb { width: 88px; height: 66px; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .related-posts__grid { grid-template-columns: 1fr; }
}
