/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra.
Author: Kati Academy
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
.kati-single-post { width: 100%; max-width: none; margin: 0; padding: 0; background: #fff; }
.kati-post-shell { margin: 0; }
.kati-post-inner { width: 100%; margin: 0; padding: 0 60px; box-sizing: border-box; background: #fff; }
.kati-post-hero { width: 100%; margin: 0; overflow: hidden; background: #eef2f6; }
.kati-post-hero-image { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.kati-post-header { padding: 10px 0 46px; border-bottom: 1px solid #e6e9ee; }
.kati-post-meta-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; color: #667085; font-size: 15px; }
.kati-post-meta-top a { color: #1769aa; text-decoration: none; }
.kati-post-meta-top span + span:before { content: "•"; margin-right: 14px; color: #aab2bd; }
.kati-post-title { max-width: 100%; margin: 0 0 22px; color: #1d2939; font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: -0.025em; }
.kati-post-author { display: flex; align-items: center; gap: 12px; color: #1d2939; }
.kati-author-avatar { width: 72px; height: 72px; border-radius: 0; }
.kati-author-label { display: inline; margin-right: 5px; color: #344054; font-size: 18px; }
.kati-post-author strong { font-size: 18px; }
.kati-post-layout { display: block; }
.kati-post-content { width: 100%; min-width: 0; max-width: none; padding: 52px 0 76px; color: #344054; font-size: 18px; line-height: 1.8; }
.kati-post-content > * { max-width: 100%; }
.kati-post-content h2, .kati-post-content h3 { margin: 1.8em 0 .55em; color: #101828; line-height: 1.25; }
.kati-post-content h2 { font-size: clamp(28px, 3vw, 40px); }
.kati-post-content h3 { font-size: 26px; }
.kati-post-content p { margin: 0 0 1.2em; }
.kati-post-content img { height: auto; border-radius: 12px; }
.kati-post-content a { color: #1769aa; }
.kati-post-sidebar { position: static; width: 100%; padding: 0 0 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kati-sidebar-card { margin: 0; padding: 22px; border: 1px solid #e6e9ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.kati-sidebar-card h2 { margin: 0 0 12px; color: #101828; font-size: 20px; line-height: 1.25; }
.kati-sidebar-card p { margin: 0 0 16px; color: #667085; font-size: 14px; line-height: 1.6; }
.kati-sidebar-about { background: linear-gradient(145deg, #eff6ff, #ffffff); }
.kati-sidebar-about .kati-eyebrow { margin-bottom: 12px; font-size: 11px; }
.kati-sidebar-button { display: inline-flex; gap: 8px; align-items: center; color: #1769aa; font-size: 14px; font-weight: 800; text-decoration: none; }
.kati-sidebar-list { margin: 0; padding: 0; list-style: none; }
.kati-sidebar-list li { padding: 8px 0; border-bottom: 1px solid #eef0f3; font-size: 14px; }
.kati-sidebar-list li:last-child { border-bottom: 0; }
.kati-sidebar-list a { color: #344054; text-decoration: none; }
.kati-sidebar-list .count { color: #98a2b3; }
.kati-related-posts { padding: 58px 0 86px; border-top: 1px solid #e6e9ee; }
.kati-section-heading { margin-bottom: 26px; }
.kati-eyebrow { display: block; margin-bottom: 8px; color: #1769aa; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kati-section-heading h2 { margin: 0; color: #101828; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.kati-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kati-related-card { overflow: hidden; border: 1px solid #e6e9ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.kati-related-image { display: block; height: 180px; background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.kati-related-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kati-related-card-body { padding: 18px; }
.kati-related-date { color: #667085; font-size: 13px; }
.kati-related-card h3 { margin: 8px 0 14px; font-size: 19px; line-height: 1.3; }
.kati-related-card h3 a { color: #101828; text-decoration: none; }
.kati-related-link { color: #1769aa; font-size: 14px; font-weight: 700; text-decoration: none; }
.kati-no-related { color: #667085; }
/* Remove Astra's outer max-width and side gutters on single blog posts. */
body.single-post, body.single-post .site-content, body.single-post .site-content > .ast-container, body.single-post .site-content .ast-container, body.single-post #primary.kati-single-post { width: 100vw; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
body.single-post .site-content { background: #fff; }
body.single-post #primary.kati-single-post { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
@media (max-width: 700px) { .kati-post-inner { padding: 0 18px; } .kati-post-content { padding: 36px 0 52px; font-size: 17px; } .kati-post-sidebar { display: block; padding-bottom: 32px; } .kati-sidebar-card { margin-bottom: 16px; } .kati-related-grid { grid-template-columns: 1fr; } .kati-related-image { height: 220px; } .kati-post-title { font-size: 34px; } }
@media (max-width: 480px) { .kati-post-hero-image { max-height: 300px; } .kati-post-meta-top { flex-wrap: wrap; gap: 8px 12px; } .kati-author-avatar { width: 56px; height: 56px; } .kati-author-label, .kati-post-author strong { font-size: 16px; } }
