/* =========================================================
   AKEELA DENTAL CARE — BLOG LISTING PAGE (PREMIUM)
   Matches the site's real design system:
   orange #F3754B / teal #009DA5 / Manrope + DM Sans
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

.ak-bloglist-hero,
.ak-blog-toolbar,
.ak-blog-section,
.ak-blog-final {
    font-family: "DM Sans", sans-serif;
}

/* ---------- intro / hero -------------------------------------------- */
.ak-bloglist-hero {
    position: relative;
    min-height: 56vh;
    display: flex;
    align-items: center;
    padding: 165px 0 70px;
    background: #0b3032;
    overflow: hidden;
}
.ak-bloglist-hero-image {
    position: absolute; inset: -20px;
    background-image: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=2400&q=85");
    background-size: cover; background-position: center;
}
.ak-bloglist-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(4,27,29,0.94) 0%, rgba(4,27,29,0.78) 45%, rgba(4,27,29,0.45) 100%);
}
.ak-bloglist-hero .akp-container {
    position: relative;
    z-index: 2;
    width: min(1180px, 90%);
    margin: 0 auto;
}
.ak-bloglist-hero .ak-bloglist-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--orange, #F3754B);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.ak-bloglist-hero .ak-bloglist-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--orange, #F3754B);
    display: block;
}
.ak-bloglist-hero h1 {
    margin: 0 0 16px;
    max-width: 760px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.ak-bloglist-hero h1 em {
    font-style: normal;
    color: var(--orange, #F3754B);
}
.ak-bloglist-hero p {
    max-width: 540px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.8;
}

.ak-bloglist-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.ak-bloglist-stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ak-bloglist-stats strong {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 800;
}
.ak-bloglist-stats span {
    color: rgba(255,255,255,.6);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- category filter pills ----------------------------------- */
.ak-blog-toolbar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 0;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ak-blog-filter-pill {
    padding: 11px 20px;
    border-radius: 100px;
    border: 1px solid rgba(0,157,165,.18);
    background: #fff;
    color: var(--teal, #009DA5);
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.ak-blog-filter-pill:hover { border-color: var(--orange, #F3754B); transform: translateY(-2px); }
.ak-blog-filter-pill.active {
    background: var(--orange, #F3754B);
    border-color: var(--orange, #F3754B);
    color: #fff;
}

/* ---------- grid ------------------------------------------------------ */
.ak-blog-section {
    background: #ffffff;
    padding: 30px 0 100px;
}
.ak-blog-grid {
    max-width: 1180px;
    width: 90%;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 980px) {
    .ak-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .ak-blog-grid { grid-template-columns: 1fr; }
}

/* ---------- card (premium redesign) -------------------------------- */
.ak-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 14px rgba(0,70,74,.06);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.ak-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,70,74,.16);
}

.ak-blog-cover {
    position: relative;
    aspect-ratio: 16/11;
    width: 100%;
    overflow: hidden;
    background: var(--cream, #F8F7F3);
}
.ak-blog-cover svg,
.ak-blog-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.ak-blog-card:hover .ak-blog-cover svg,
.ak-blog-card:hover .ak-blog-cover img {
    transform: scale(1.08);
}
.ak-blog-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,25,27,.55) 100%);
    pointer-events: none;
}
.ak-blog-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(6px);
    color: var(--teal, #009DA5);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.ak-blog-card-date {
    position: absolute;
    bottom: 14px;
    left: 18px;
    z-index: 2;
    color: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.ak-blog-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ak-blog-card-meta { display: none; }
.ak-blog-card-body h3 {
    margin: 0 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: #17282A;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s ease;
}
.ak-blog-card:hover .ak-blog-card-body h3 { color: var(--orange, #F3754B); }
.ak-blog-card-body p { display: none; }
.ak-blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,157,165,.1);
    color: var(--teal, #009DA5);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ak-blog-card-cta i {
    display: inline-block;
    font-style: normal;
    color: var(--orange, #F3754B);
    font-size: 14px;
    transition: transform .3s ease;
}
.ak-blog-card:hover .ak-blog-card-cta i { transform: translate(4px, -3px); }

/* ---------- pagination -------------------------------------------------- */
.ak-blog-pager {
    max-width: 1180px;
    width: 90%;
    margin: 55px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ak-pg-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 100px;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,70,74,.08);
    color: var(--teal, #009DA5);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .22s ease, color .22s ease, background .22s ease, transform .22s ease;
}
.ak-pg-btn:hover:not(:disabled) {
    color: var(--orange, #F3754B);
    box-shadow: 0 8px 20px rgba(243,117,75,.18);
    transform: translateY(-2px);
}
.ak-pg-btn.active {
    background: var(--orange, #F3754B);
    box-shadow: 0 10px 24px rgba(243,117,75,.3);
    color: #ffffff;
}
.ak-pg-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}
.ak-pg-nav { font-weight: 800; }

@media (max-width: 600px) {
    .ak-bloglist-hero { padding: 130px 0 40px; }
    .ak-blog-toolbar { padding-top: 22px; }
    .ak-blog-card-body { padding: 20px; }
}

/* =====================================================
   FINAL CTA BAND (shared across all blog pages)
===================================================== */
.ak-blog-final {
    position: relative;
    padding: 90px 0;
    background: var(--teal, #009DA5);
    overflow: hidden;
    text-align: center;
    font-family: "DM Sans", sans-serif;
}
.ak-blog-final-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--teal, #009DA5), #043b3d); }
.ak-blog-final-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(243,117,75,.18), transparent 55%); }
.ak-blog-final-content { position: relative; z-index: 2; width: min(640px, 90%); margin: 0 auto; }
.ak-blog-final-content span {
    display: inline-block; margin-bottom: 16px; color: rgba(255,255,255,.7);
    font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.ak-blog-final-content h2 {
    margin: 0 0 14px; color: #fff; font-family: "Manrope", sans-serif; font-weight: 700;
    font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.02em;
}
.ak-blog-final-content h2 em { font-style: normal; color: var(--orange, #F3754B); }
.ak-blog-final-content p { margin: 0 0 30px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
.ak-blog-final-content > div { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ak-blog-btn-primary,
.ak-blog-btn-outline {
    display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 100px;
    font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.ak-blog-btn-primary { background: var(--orange, #F3754B); color: #fff; }
.ak-blog-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(243,117,75,.35); }
.ak-blog-btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.ak-blog-btn-outline:hover { background: #fff; color: var(--teal, #009DA5); }