.ah-blog-section,
.ah-blog-archive {
    --ah-accent: #E6533D;
    --ah-title: #2F4653;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.ah-blog-section * ,
.ah-blog-archive * { box-sizing: border-box; }

.ah-blog-grid {
    width: min(1300px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.ah-blog-intro,
.ah-blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 13px 38px rgba(31, 50, 64, .10);
    overflow: hidden;
}

.ah-blog-intro {
    min-height: 510px;
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ah-blog-eyebrow,
.ah-blog-category {
    color: var(--ah-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.ah-blog-heading {
    color: var(--ah-title);
    font-size: clamp(22px, 1.55vw, 28px);
    line-height: 1.1;
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: -.2px;
}

.ah-blog-description {
    color: #435967;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.ah-blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 20px;
    border-radius: 5px;
    background: var(--ah-accent);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, filter .2s ease;
}
.ah-blog-button:hover { transform: translateY(-1px); filter: brightness(.94); }

.ah-blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ah-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(31, 50, 64, .14);
}

.ah-blog-image-link { display: block; padding: 10px 10px 0; }
.ah-blog-image {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    display: block;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.ah-blog-placeholder {
    background: linear-gradient(135deg,#e8f3f7,#c9e7f0);
    color: #4f92ae;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: .08em;
    font-size: 13px;
}

.ah-blog-card-body {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ah-blog-card-title {
    font-size: 15px;
    line-height: 1.08;
    font-weight: 700;
    margin: 8px 0 15px;
    color: #5b5b5b;
    letter-spacing: .1px;
}
.ah-blog-card-title a { color: inherit !important; text-decoration: none !important; }

.ah-blog-reading {
    color: #aaa;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
}

.ah-clock {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #b7b7b7;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
}
.ah-clock::before,
.ah-clock::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 2px;
    background: #b7b7b7;
    transform-origin: bottom center;
    border-radius: 2px;
}
.ah-clock::before { height: 5px; }
.ah-clock::after { height: 4px; transform: rotate(125deg); top: 6px; }

.ah-blog-divider { height: 1px; background: #252525; opacity: .8; margin-bottom: 22px; }
.ah-blog-excerpt {
    color: #435967;
    font-size: 16px;
    line-height: 1.28;
    margin: 0 0 14px;
}

.ah-blog-more {
    margin-top: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    width: max-content;
    color: var(--ah-accent) !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.1;
}
.ah-blog-more > span { font-size: 25px; line-height: .7; font-weight: 500; }
.ah-blog-more strong { font-weight: 700; }

.ah-blog-archive-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px;
}
.ah-blog-archive .ah-blog-card { min-height: 100%; }

.ah-blog-pagination { margin: 34px auto 0; width: min(1180px, calc(100% - 40px)); }
.ah-blog-pagination ul { display:flex; gap:8px; justify-content:center; list-style:none; padding:0; margin:0; }
.ah-blog-pagination a,
.ah-blog-pagination span {
    width: 38px; height: 38px; border-radius: 50%; display:grid; place-items:center;
    text-decoration:none !important; border:1px solid #e0e0e0; color:var(--ah-title);
}
.ah-blog-pagination .current { background:var(--ah-accent); color:#fff; border-color:var(--ah-accent); }

@media (max-width: 1100px) {
    .ah-blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ah-blog-intro { min-height: 450px; }
    .ah-blog-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .ah-blog-grid,
    .ah-blog-archive-grid { width: min(100% - 28px, 560px); grid-template-columns: 1fr; gap: 18px; }
    .ah-blog-intro { min-height: auto; padding: 24px 20px; gap: 26px; }
    .ah-blog-heading { font-size: 24px; }
    .ah-blog-description { font-size: 14px; }
    .ah-blog-card-body { padding: 18px 16px 20px; }
    .ah-blog-card-title { font-size: 16px; line-height: 1.15; }
    .ah-blog-excerpt { font-size: 15px; }
    .ah-blog-image { aspect-ratio: 16 / 10; }
}

/* =========================================================
   SINGLE BLOG - ACTIVE HOLISTIC
   ========================================================= */
.ah-single-wrap {
    --ah-accent: #E6533D;
    --ah-title: #263F4C;
    --ah-text: #435967;
    width: 100%;
    background: #fff;
    padding: 54px 20px 78px;
    box-sizing: border-box;
}
.ah-single-wrap *, .ah-single-wrap *::before, .ah-single-wrap *::after { box-sizing: border-box; }
.ah-single-article { width: min(1060px, 100%); margin: 0 auto; }
.ah-single-hero { width: min(900px, 100%); margin: 0 auto 34px; text-align: center; }
.ah-single-kicker {
    color: var(--ah-accent);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.ah-single-title {
    color: #152A38;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.07;
    letter-spacing: -.03em;
    font-weight: 750;
    margin: 0 auto 18px;
    max-width: 940px;
}
.ah-single-lead {
    max-width: 760px;
    margin: 0 auto;
    color: #617581;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.6;
}
.ah-single-meta {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #8A999F;
    font-size: 14px;
}
.ah-single-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.ah-single-dot { width: 4px; height: 4px; border-radius: 50%; background: #BCC5C9; }
.ah-single-meta .ah-clock { width: 16px; height: 16px; border-width: 1.7px; }
.ah-single-meta .ah-clock::before, .ah-single-meta .ah-clock::after { left: 6px; width: 1.5px; }

.ah-single-cover {
    width: min(1060px, 100%);
    margin: 0 auto 52px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(36, 63, 76, .12);
    background: #eef5f7;
}
.ah-single-cover img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
    display: block;
}

.ah-single-content {
    width: min(760px, 100%);
    margin: 0 auto;
    color: var(--ah-text);
    font-size: 17px;
    line-height: 1.82;
}
.ah-single-content p { margin: 0 0 22px; }
.ah-single-content h2,
.ah-single-content h3,
.ah-single-content h4 {
    color: #233D4A;
    font-weight: 750;
    letter-spacing: -.015em;
}
.ah-single-content h2 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.24; margin: 44px 0 18px; }
.ah-single-content h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.3; margin: 34px 0 14px; }
.ah-single-content h4 { font-size: 19px; margin: 28px 0 12px; }
.ah-single-content ul,
.ah-single-content ol { margin: 0 0 24px 22px; padding: 0; }
.ah-single-content li { margin-bottom: 9px; }
.ah-single-content strong { color: #2D4652; font-weight: 750; }
.ah-single-content a { color: var(--ah-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ah-single-content blockquote {
    margin: 34px 0;
    padding: 24px 26px;
    border-left: 4px solid var(--ah-accent);
    background: #F8FBFC;
    border-radius: 0 10px 10px 0;
    color: #39525E;
}
/* Improves articles pasted from ChatGPT where subheadings arrive as standalone bold paragraphs. */
.ah-single-content p:has(> strong:only-child) {
    margin-top: 34px;
    margin-bottom: 13px;
    line-height: 1.3;
}
.ah-single-content p:has(> strong:only-child) > strong {
    display: block;
    color: #233D4A;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 750;
    letter-spacing: -.01em;
}

.ah-single-footer { width: min(900px, 100%); margin: 58px auto 0; }
.ah-single-cta {
    background: #F4F9FB;
    border: 1px solid #E3EEF2;
    border-radius: 18px;
    padding: 32px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.ah-single-cta-kicker { color: var(--ah-accent); font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.ah-single-cta h2 { color: #243D4A; font-size: 27px; line-height: 1.2; margin: 7px 0 9px; }
.ah-single-cta p { color: #607681; font-size: 15px; line-height: 1.55; margin: 0; max-width: 570px; }
.ah-single-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 19px;
    background: var(--ah-accent);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, filter .2s ease;
}
.ah-single-cta-button:hover { transform: translateY(-1px); filter: brightness(.95); }
.ah-single-back {
    display: inline-flex;
    margin-top: 22px;
    color: #4F6672 !important;
    text-decoration: none !important;
    font-weight: 650;
    font-size: 14px;
}

@media (max-width: 767px) {
    .ah-single-wrap { padding: 34px 18px 56px; }
    .ah-single-hero { margin-bottom: 26px; text-align: left; }
    .ah-single-title { font-size: 35px; }
    .ah-single-lead { font-size: 16px; }
    .ah-single-meta { justify-content: flex-start; flex-wrap: wrap; gap: 9px; }
    .ah-single-cover { margin-bottom: 34px; border-radius: 12px; }
    .ah-single-cover img { aspect-ratio: 16 / 10; }
    .ah-single-content { font-size: 16px; line-height: 1.75; }
    .ah-single-content p { margin-bottom: 18px; }
    .ah-single-content h2 { margin-top: 36px; }
    .ah-single-cta { padding: 25px 22px; display: block; }
    .ah-single-cta h2 { font-size: 24px; }
    .ah-single-cta-button { margin-top: 18px; width: 100%; }
}
