/* ==========================================================================
   BLOG — shared styles for: homepage highlights, Blog page, single post
   Requires design-system.css to be loaded first
   ========================================================================== */

.awk-hero{ padding:80px 0; }
.awk-hero__inner{ display:flex; align-items:center; gap:48px; flex-wrap:wrap; }
.awk-hero__text{ flex:1; min-width:320px; }
.awk-hero h1{ font-size:44px; margin-bottom:20px; }
.awk-hero__desc{ max-width:460px; margin-bottom:28px; font-size:17px; }
.awk-hero__image{ flex:1; min-width:320px; }
.awk-hero__image img{ border-radius:var(--awk-radius-lg); width:100%; height:340px; object-fit:cover; }

/* Blog card */
.awk-blog-card{ display:flex; flex-direction:column; }
.awk-blog-card__img-link{ display:block; }
.awk-blog-card__img-link img{ width:100%; height:200px; object-fit:cover; }
.awk-blog-card__body{ padding:20px; }
.awk-blog-card__cat{
	display:inline-block; font-size:11px; font-weight:700; text-transform:uppercase;
	letter-spacing:.4px; border:1.5px solid currentColor; border-radius:var(--awk-radius-pill);
	padding:3px 12px; margin-bottom:12px;
}
.awk-blog-card h4{ font-size:18px; margin:0 0 10px; line-height:1.4; }
.awk-blog-card h4 a{ color:var(--awk-navy); }
.awk-blog-card h4 a:hover{ color:var(--awk-orange); }
.awk-blog-card__body p{ font-size:14px; color:var(--awk-text-body); margin:0 0 16px; }
.awk-blog-card__meta{ display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--awk-text-muted); }
.awk-blog-card__readmore{ color:var(--awk-orange); font-weight:700; }

/* Homepage highlights section */
.awk-blog-highlights{ background:#fff; }

/* Blog layout — main + sidebar */
.awk-blog-layout{ display:grid; grid-template-columns:2fr 1fr; gap:48px; align-items:start; }
.awk-blog-main{ min-width:0; }

/* Sidebar promo banner — single clickable image, no text/button */
.awk-promo-banner{
	display:block; padding:0; overflow:hidden; transition:transform .2s ease, box-shadow .2s ease;
}
.awk-promo-banner img{ width:100%; height:auto; display:block; }
.awk-promo-banner:hover{ transform:translateY(-4px); }

/* Sidebar */
.awk-blog-sidebar{ display:flex; flex-direction:column; gap:24px; position:sticky; top:24px; }
.awk-blog-sidebar__box{ padding:24px; }
.awk-blog-sidebar__box h4{ font-size:16px; margin:0 0 16px; }
.awk-blog-sidebar__cats{ list-style:none; margin:0; padding:0; }
.awk-blog-sidebar__cats li{ border-bottom:1px solid var(--awk-border); }
.awk-blog-sidebar__cats li:last-child{ border-bottom:none; }
.awk-blog-sidebar__cats a{
	display:flex; justify-content:space-between; padding:10px 4px; font-size:14px;
	color:var(--awk-text-body); transition:color .2s ease;
}
.awk-blog-sidebar__cats a:hover, .awk-blog-sidebar__cats a.is-active{ color:var(--awk-orange); font-weight:700; }
.awk-blog-sidebar__cats a span{ color:var(--awk-text-muted); font-weight:400; }
.awk-blog-sidebar__recent{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.awk-blog-sidebar__recent-item{ display:flex; gap:12px; align-items:flex-start; }
.awk-blog-sidebar__recent-item img{ width:56px; height:56px; border-radius:10px; object-fit:cover; flex-shrink:0; }
.awk-blog-sidebar__recent-item span{ display:flex; flex-direction:column; gap:4px; }
.awk-blog-sidebar__recent-item strong{ font-size:13px; color:var(--awk-navy); font-weight:600; line-height:1.4; }
.awk-blog-sidebar__recent-item em{ font-size:11px; color:var(--awk-text-muted); font-style:normal; }

/* Pagination */
.awk-blog-pagination{ display:flex; justify-content:center; gap:8px; margin-top:40px; flex-wrap:wrap; }
.awk-blog-pagination .page-numbers{
	display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px;
	padding:0 12px; border-radius:var(--awk-radius-pill); border:1.5px solid var(--awk-border);
	color:var(--awk-navy); font-size:14px; font-weight:600;
}
.awk-blog-pagination .page-numbers.current{ background:var(--awk-navy); border-color:var(--awk-navy); color:#fff; }
.awk-blog-pagination .page-numbers:hover:not(.current){ border-color:var(--awk-orange); color:var(--awk-orange); }

/* Single post */
.awk-single-post__header{ text-align:left; max-width:800px; }
.awk-single-post__header h1{ font-size:36px; margin:0 0 12px; }
.awk-single-post__meta{ display:flex; gap:10px; font-size:13px; color:var(--awk-text-muted); margin-bottom:24px; }
.awk-single-post__thumb{ margin-bottom:32px; }
.awk-single-post__thumb img{ width:100%; max-height:440px; object-fit:cover; border-radius:var(--awk-radius-md); }
.awk-single-post__content{ max-width:800px; font-size:16px; line-height:1.8; color:var(--awk-text-body); }
.awk-single-post__content p{ margin:0 0 20px; }
.awk-single-post__content h2{ font-size:26px; margin:32px 0 16px; }
.awk-single-post__content h3{ font-size:20px; margin:28px 0 12px; }
.awk-single-post__content img{ border-radius:var(--awk-radius-md); margin:20px 0; }
.awk-single-post__content ul, .awk-single-post__content ol{ margin:0 0 20px; padding-left:22px; }
.awk-single-post__content a{ color:var(--awk-orange); text-decoration:underline; }
.awk-single-post__pagelinks{ margin:24px 0; font-size:14px; }
.awk-single-post__nav{
	display:flex; justify-content:space-between; gap:20px; margin-top:48px; padding-top:24px;
	border-top:1px solid var(--awk-border); max-width:800px; font-size:14px; font-weight:600;
}
.awk-single-post__nav a{ color:var(--awk-navy); }
.awk-single-post__nav a:hover{ color:var(--awk-orange); }

/* Share buttons */
.awk-share{ margin-top:32px; padding-top:24px; border-top:1px solid var(--awk-border); max-width:800px; }
.awk-share__label{ display:block; font-weight:700; font-size:14px; color:var(--awk-navy); margin-bottom:12px; }
.awk-share__buttons{ display:flex; gap:10px; flex-wrap:wrap; }
.awk-share__btn{
	display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600;
	padding:8px 16px; border-radius:var(--awk-radius-pill); border:1.5px solid currentColor;
	background:#fff !important; cursor:pointer; transition:background .2s ease, color .2s ease;
	font-family:var(--awk-font-body);
}
.awk-share__icon{ width:16px; height:16px; flex-shrink:0; }
.awk-share__btn span{ line-height:1; }
.awk-share__btn:hover{ background:currentColor !important; }
.awk-share__btn:hover span{ color:#fff; }
.awk-share__btn:hover .awk-share__icon{ color:#fff; }

.awk-cta-wrap{ padding-bottom:80px; }
.awk-cta{ border-radius:var(--awk-radius-lg); padding:48px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; }
.awk-cta h3{ color:#fff; font-size:24px; margin-bottom:8px; }
.awk-cta p{ color:#cfd6ea; margin:0; }
.awk-cta__actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.awk-cta__phone{ color:#fff; font-weight:600; }

.awk-reveal{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
.awk-reveal.is-visible{ opacity:1; transform:translateY(0); }

@media(max-width:900px){
	.awk-blog-layout{ grid-template-columns:1fr; }
	.awk-blog-sidebar{ position:static; }
	.awk-grid--2, .awk-grid--4{ grid-template-columns:1fr 1fr; }
}
@media(max-width:640px){
	.awk-hero{ padding:48px 0; }
	.awk-hero h1{ font-size:30px; }
	.awk-grid--2, .awk-grid--4{ grid-template-columns:1fr; }
	.awk-single-post__header h1{ font-size:26px; }
	.awk-cta{ padding:32px 24px; text-align:center; justify-content:center; }
}
