/* ── Blog hero ───────────────────────────────────────────── */
.ki-blog-hero {
    position: relative;
    width: 100%;
    min-height: 56vh;
    background-size: cover;
    background-position: center 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ki-blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(14, 5, 1, 0.55) 0%,
        rgba(14, 5, 1, 0.72) 60%,
        rgba(10, 3, 1, 0.90) 100%
    );
}
.ki-blog-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
}
.ki-blog-hero-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.ki-blog-hero-ornament span {
    display: block;
    height: 1px;
    width: 48px;
    background: linear-gradient(90deg, rgba(201,168,124,0) 0%, #c9a87c 100%);
}
.ki-blog-hero-ornament span:last-child {
    background: linear-gradient(90deg, #c9a87c 0%, rgba(201,168,124,0) 100%);
}
.ki-blog-hero-ornament-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c9a87c;
    opacity: 0.85;
}
.ki-blog-hero-eyebrow {
    font-family: var(--ki-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #c9a87c;
    margin: 0 0 18px;
}
.ki-blog-hero-title {
    font-family: var(--ki-serif);
    font-size: clamp(3.6rem, 8vw, 6.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.0;
    margin: 0 0 20px;
    text-shadow: 0 8px 40px rgba(0,0,0,0.55);
    letter-spacing: -0.5px;
}
.ki-blog-hero-sub {
    font-family: var(--ki-sans);
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 300;
    color: rgba(255, 248, 240, 0.68);
    margin: 0;
    letter-spacing: 0.6px;
}
.ki-blog-hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201,168,124,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201,168,124,0.75);
    font-size: 13px;
    animation: ki-blog-bounce 2.4s ease-in-out infinite;
    text-decoration: none;
}
@keyframes ki-blog-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   opacity: .65; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 1;   }
}

/* ── Blog pagination ─────────────────────────────────────── */
.ki-blog-pagination {
    padding: 12px 0 56px;
    display: flex;
    justify-content: center;
}
.ki-blog-pagination .pagination { gap: 4px; }
.ki-blog-pagination .page-item .page-link {
    border-radius: 6px !important;
    border-color: rgba(87,68,61,0.3);
    color: #57443d;
    font-size: 0.9rem;
    padding: 6px 14px;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ki-blog-pagination .page-item.active .page-link {
    background: #57443d;
    border-color: #57443d;
    color: #fff;
}
.ki-blog-pagination .page-item .page-link:hover {
    background: rgba(87,68,61,0.1);
    border-color: #57443d;
    color: #3e2618;
}

/* ── Article card grid (blog listing + homepage) ─────────── */
.ki-blog-section {
    padding: 48px 0 56px;
}
.ki-blog-in-section .ki-blog-section {
    padding-top: 32px;
    padding-bottom: 36px;
}
.ki-blog-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 36px;
}
.ki-blog-header h1 {
    font-family: var(--ki-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #3e2618;
    margin: 0;
    letter-spacing: -0.5px;
}
.ki-blog-header a {
    color: #3e2618;
    text-decoration: none;
}
.ki-blog-header a:hover {
    color: #57443d;
}
.ki-blog-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #9a8383, transparent);
    margin-bottom: 4px;
}
.ki-blog-more {
    font-family: var(--ki-sans);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9a8383;
    text-decoration: none;
    border-bottom: 1px solid rgba(154,131,131,0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.ki-blog-more:hover {
    color: #57443d;
    border-color: rgba(87,68,61,0.6);
}
.ki-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.ki-card {
    position: relative;
    height: 480px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 4px 16px rgba(30, 12, 5, 0.35),
        0 1px 3px rgba(30, 12, 5, 0.2);
    transition:
        transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s ease;
    text-decoration: none;
    display: block;
}
.ki-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow:
        0 24px 56px rgba(30, 12, 5, 0.55),
        0 4px 12px rgba(30, 12, 5, 0.3);
    text-decoration: none;
}
.ki-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #2a1208;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ki-card:hover .ki-card-bg {
    transform: scale(1.07);
}
.ki-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(62, 38, 24, 0.12) 0%,
        rgba(45, 22, 8, 0.48) 38%,
        rgba(25, 8, 2, 0.93) 100%
    );
    transition: background 0.35s ease;
}
.ki-card:hover .ki-card-overlay {
    background: linear-gradient(
        160deg,
        rgba(62, 38, 24, 0.08) 0%,
        rgba(45, 22, 8, 0.38) 38%,
        rgba(25, 8, 2, 0.86) 100%
    );
}
.ki-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9a8383 0%, #c9a87c 50%, #57443d 100%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.ki-card:hover .ki-card-accent {
    opacity: 1;
}
.ki-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 26px;
    z-index: 2;
}
.ki-card-tag {
    font-family: var(--ki-sans);
    font-size: 9.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #c9a87c;
    margin-bottom: 10px;
    display: block;
}
.ki-card-title {
    font-family: var(--ki-serif);
    font-size: 1.18rem !important;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.ki-card-lead {
    font-family: var(--ki-sans);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 248, 240, 0.82);
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ki-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--ki-sans);
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a87c;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.2s;
}
.ki-card:hover .ki-card-cta {
    gap: 12px;
    color: #e8d4b0;
}
.ki-card-cta::after {
    content: '→';
    font-size: 13px;
}
.ki-card-no-image .ki-card-bg {
    background-image: none;
}
@media (max-width: 1100px) {
    .ki-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .ki-card { height: 420px; }
}
@media (max-width: 600px) {
    .ki-cards-grid { grid-template-columns: 1fr; }
    .ki-card { height: 360px; }
}
