/* CA Blog Landing Shortcode v1.9.2 */
.capost-blog-shortcode{width:100%;color:#222328}
.capost-blog-categories{padding:10px 0 38px;border-bottom:1px solid #ededf1}
.capost-blog-categories__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.capost-blog-categories__heading span,.capost-blog-section-title>span{display:block;margin-bottom:7px;color:#b21e68;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.capost-blog-categories__heading h2,.capost-blog-section-title h2{margin:0;font-size:30px;line-height:1.15;letter-spacing:-.025em}
.capost-blog-categories__arrows{display:flex;gap:8px}
.capost-blog-arrow{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #dddde3;border-radius:50%;background:#fff;color:#2d2d34;font-size:18px;cursor:pointer;transition:.2s ease}
.capost-blog-arrow:hover:not(:disabled){transform:translateY(-2px);border-color:#b21e68;background:#b21e68;color:#fff}
.capost-blog-arrow:disabled{opacity:.35;cursor:default}
.capost-blog-category-track{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 9px;scroll-behavior:smooth;scrollbar-width:none}
.capost-blog-category-track::-webkit-scrollbar{display:none}
.capost-blog-category-pill{display:inline-flex;min-width:max-content;align-items:center;gap:9px;padding:11px 15px;border:1px solid #e0e0e5;border-radius:999px;background:#fff;color:#3b3b42;font-size:13px;font-weight:700;text-decoration:none}
.capost-blog-category-pill:hover{border-color:#b21e68;color:#b21e68}
.capost-blog-category-pill--all{border-color:#222328;background:#222328;color:#fff}
.capost-blog-category-pill--all:hover{background:#b21e68;color:#fff}
.capost-blog-category-pill b{display:inline-flex;min-width:23px;height:23px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#f1f1f4;color:#8a8a93;font-size:10px}

.capost-blog-featured{padding:50px 0 36px}
.capost-blog-section-title{margin-bottom:24px}
.capost-blog-featured-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);min-height:400px;overflow:hidden;border:1px solid #e5e5ea;border-radius:19px;background:#fff;box-shadow:0 13px 38px rgba(25,25,34,.07)}
.capost-blog-featured-card__image{min-height:400px;overflow:hidden;background:#eeeef2}
.capost-blog-featured-card__image img,.capost-blog-placeholder{display:block;width:100%;height:100%;min-height:100%;object-fit:cover}
.capost-blog-featured-card__content{display:flex;flex-direction:column;justify-content:center;padding:42px}
.capost-blog-featured-card__category{align-self:flex-start;margin-bottom:14px;color:#b21e68;font-size:11px;font-weight:700;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}
.capost-blog-featured-card h2{margin:0 0 15px;font-size:clamp(30px,3.6vw,44px);line-height:1.08;letter-spacing:-.035em}
.capost-blog-featured-card h2 a{color:#25252c;text-decoration:none}
.capost-blog-featured-card p{margin:0 0 18px;color:#6e6e77;font-size:15px;line-height:1.7}
.capost-blog-meta{margin-bottom:17px;color:#92929b;font-size:11px;font-weight:600}
.capost-blog-read-button{display:inline-flex;align-self:flex-start;padding:11px 16px;border-radius:8px;background:#222328;color:#fff;font-size:13px;font-weight:700;text-decoration:none}
.capost-blog-read-button:hover{background:#b21e68;color:#fff}

.capost-blog-layout{display:grid;gap:48px;align-items:start;padding:38px 0 60px}
.capost-blog-layout--right{grid-template-columns:minmax(0,1fr) 290px}
.capost-blog-layout--left{grid-template-columns:290px minmax(0,1fr)}
.capost-blog-layout--none{grid-template-columns:minmax(0,1fr)}
.capost-blog-main{min-width:0}
.capost-blog-layout--left .capost-blog-sidebar{grid-column:1;grid-row:1}
.capost-blog-layout--left .capost-blog-main{grid-column:2;grid-row:1}
.capost-blog-section-title--articles{margin-bottom:24px}
.capost-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:27px}
.capost-blog-layout--none .capost-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.capost-blog-card{overflow:hidden;border:1px solid #e8e8ed;border-radius:15px;background:#fff;box-shadow:0 8px 27px rgba(28,28,36,.04);transition:.22s ease}
.capost-blog-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(28,28,36,.09)}
.capost-blog-card__image{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#eeeef2}
.capost-blog-card__image img,.capost-blog-card__image .capost-blog-placeholder{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.capost-blog-card:hover .capost-blog-card__image img{transform:scale(1.035)}
.capost-blog-card__category{position:absolute;left:15px;bottom:15px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.95);color:#b21e68;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.capost-blog-card__body{padding:21px}
.capost-blog-card h3{margin:0 0 10px;font-size:23px;line-height:1.25;letter-spacing:-.02em}
.capost-blog-card h3 a{color:#25252c;text-decoration:none}
.capost-blog-card p{display:-webkit-box;overflow:hidden;min-height:67px;margin:0 0 16px;color:#71717a;font-size:14px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.capost-blog-card__read{color:#b21e68;font-size:13px;font-weight:700;text-decoration:none}

.capost-blog-sidebar__sticky{position:sticky;top:110px}
.capost-blog-sidebar-card{padding:22px;margin-bottom:22px;border:1px solid #e7e7eb;border-radius:13px;background:#fff;box-shadow:0 8px 26px rgba(25,25,35,.05)}
.capost-blog-sidebar-card h3{margin:0 0 16px;font-size:20px}
.capost-blog-search{display:flex;overflow:hidden;border:1px solid #dddde3;border-radius:8px}
.capost-blog-search input[type=search]{min-width:0;flex:1;height:44px;padding:0 12px;border:0;outline:0}
.capost-blog-search button{width:44px;border:0;background:#222328;color:#fff;cursor:pointer}
.capost-blog-sidebar-categories ul{list-style:none;margin:0;padding:0}
.capost-blog-sidebar-categories li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #efeff2;color:#9999a1;font-size:12px}
.capost-blog-sidebar-categories li:last-child{border-bottom:0}
.capost-blog-sidebar-categories a{flex:1;color:#33333a;font-size:14px;font-weight:600;text-decoration:none}
.capost-blog-sidebar-categories a:hover{color:#b21e68}

.capost-blog-pagination{display:flex;flex-wrap:wrap;gap:7px;margin-top:44px;padding-top:28px;border-top:1px solid #ececf0}
.capost-blog-pagination .page-numbers{display:inline-flex;min-width:41px;height:41px;align-items:center;justify-content:center;padding:0 12px;border:1px solid #dedee4;border-radius:8px;background:#fff;color:#44444c;font-size:13px;font-weight:700;text-decoration:none}
.capost-blog-pagination .page-numbers.current{border-color:#b21e68;background:#b21e68;color:#fff}
.capost-blog-pagination a.page-numbers:hover{border-color:#b21e68;color:#b21e68}
.capost-blog-empty{padding:45px;border:1px solid #e7e7eb;border-radius:14px;background:#fafafa;text-align:center}

@media(max-width:1050px){
  .capost-blog-layout--right{grid-template-columns:minmax(0,1fr) 250px}
  .capost-blog-layout--left{grid-template-columns:250px minmax(0,1fr)}
  .capost-blog-layout--none .capost-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .capost-blog-featured-card{grid-template-columns:1fr}
  .capost-blog-featured-card__image{min-height:320px}
  .capost-blog-layout--right,.capost-blog-layout--left,.capost-blog-layout--none{grid-template-columns:1fr}
  .capost-blog-layout--left .capost-blog-main{grid-column:1;grid-row:1}
  .capost-blog-layout--left .capost-blog-sidebar{grid-column:1;grid-row:2}
  .capost-blog-sidebar__sticky{position:static}
  .capost-blog-grid{grid-template-columns:1fr}
  .capost-blog-layout--none .capost-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .capost-blog-categories__heading h2,.capost-blog-section-title h2{font-size:24px}
  .capost-blog-arrow{width:38px;height:38px}
  .capost-blog-featured{padding:38px 0 22px}
  .capost-blog-featured-card{border-radius:13px}
  .capost-blog-featured-card__image{min-height:245px}
  .capost-blog-featured-card__content{padding:22px 19px}
  .capost-blog-featured-card h2{font-size:29px}
  .capost-blog-layout{padding:30px 0 48px}
  .capost-blog-layout--none .capost-blog-grid{grid-template-columns:1fr}
  .capost-blog-card{border-radius:12px}
  .capost-blog-card__body{padding:18px}
  .capost-blog-card h3{font-size:21px}
  .capost-blog-pagination .page-numbers.prev span,.capost-blog-pagination .page-numbers.next span{display:none}
}


/* =========================================================
   v1.9.2 Category Carousel Redesign
   ========================================================= */

.capost-blog-categories {
    padding: 14px 0 42px;
    border-bottom: 1px solid #ececf0;
}

.capost-blog-categories__heading {
    display: block;
    margin-bottom: 22px;
    text-align: center;
}

.capost-blog-categories__heading > div {
    max-width: 760px;
    margin: 0 auto;
}

.capost-blog-categories__heading span {
    margin-bottom: 10px;
}

.capost-blog-categories__heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.035em;
}

.capost-blog-category-carousel {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
}

.capost-blog-category-track-wrap {
    overflow: hidden;
}

.capost-blog-category-track {
    justify-content: center;
    gap: 14px;
    padding: 4px 2px 12px;
}

.capost-blog-arrow {
    width: 50px;
    height: 50px;
    box-shadow: 0 8px 24px rgba(28, 28, 36, .05);
}

.capost-blog-arrow span {
    display: inline-block;
    transform: translateY(-1px);
}

.capost-blog-category-pill {
    gap: 10px;
    padding: 13px 18px;
    border-color: #ddddE3;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(26,26,34,.03);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease;
}

.capost-blog-category-pill:hover {
    transform: translateY(-2px);
    border-color: #b21e68;
    box-shadow: 0 10px 22px rgba(26,26,34,.07);
}

.capost-blog-category-pill--all {
    box-shadow: 0 8px 22px rgba(34,35,40,.18);
}

.capost-blog-category-pill span {
    white-space: nowrap;
}

.capost-blog-category-pill b {
    min-width: 24px;
    height: 24px;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .capost-blog-category-carousel {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 10px;
    }

    .capost-blog-arrow {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .capost-blog-category-track {
        justify-content: flex-start;
        gap: 12px;
    }

    .capost-blog-category-pill {
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .capost-blog-categories {
        padding: 8px 0 28px;
    }

    .capost-blog-categories__heading {
        margin-bottom: 16px;
    }

    .capost-blog-categories__heading h2 {
        font-size: 28px;
    }

    .capost-blog-category-carousel {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 8px;
    }

    .capost-blog-arrow {
        width: 38px;
        height: 38px;
        box-shadow: none;
    }

    .capost-blog-category-pill {
        padding: 11px 14px;
        font-size: 12px;
    }

    .capost-blog-category-pill b {
        min-width: 22px;
        height: 22px;
        font-size: 9px;
    }
}


/* =========================================================
   v1.9.3 Final visual fixes
   ========================================================= */

body.capost-blog-shortcode-page .entry-title,
body.capost-blog-shortcode-page .page-title,
body.capost-blog-shortcode-page .wp-block-post-title,
body.capost-blog-shortcode-page .post-title,
body.capost-blog-shortcode-page .elementor-heading-title,
body.capost-blog-shortcode-page .entry-header .title {
    display: none !important;
}

body.capost-blog-shortcode-page .capost-blog-shortcode {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.capost-blog-categories {
    padding-top: 0 !important;
    padding-bottom: 36px !important;
    border-bottom: 1px solid #ececf0 !important;
}

.capost-blog-categories__heading {
    margin-bottom: 18px !important;
    text-align: center !important;
}

.capost-blog-categories__heading > div {
    max-width: 820px;
    margin: 0 auto;
}

.capost-blog-category-carousel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}

.capost-blog-category-track-wrap {
    max-width: 100%;
    overflow: hidden;
}

.capost-blog-category-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 4px 0 8px !important;
}

.capost-blog-category-track.is-centered {
    justify-content: center;
}

.capost-blog-arrow {
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    border: 1px solid #dedee4 !important;
    background: #fff !important;
    color: #303038 !important;
}

.capost-blog-arrow:hover:not(:disabled) {
    border-color: #b21e68 !important;
    background: #b21e68 !important;
    color: #fff !important;
}

.capost-blog-arrow:disabled {
    opacity: .28 !important;
}

.capost-blog-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px !important;
    border: 1px solid #dddde3 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #3a3a42 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(26, 26, 34, .04);
}

.capost-blog-category-pill span {
    color: inherit !important;
    white-space: nowrap;
}

.capost-blog-category-pill b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f1f4;
    color: #8a8a92;
    font-size: 10px;
    font-weight: 700;
}

.capost-blog-category-pill:hover {
    border-color: #b21e68 !important;
    color: #b21e68 !important;
    transform: translateY(-2px);
}

.capost-blog-category-pill--all {
    border-color: #222328 !important;
    background: #222328 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(34, 35, 40, .18) !important;
}

.capost-blog-category-pill--all span,
.capost-blog-category-pill--all b {
    color: #fff !important;
}

.capost-blog-category-pill--all b {
    background: rgba(255,255,255,.14) !important;
}

.capost-blog-category-pill--all:hover {
    background: #b21e68 !important;
    border-color: #b21e68 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .capost-blog-category-carousel {
        gap: 10px;
    }

    .capost-blog-arrow {
        flex: 0 0 40px;
        width: 40px !important;
        height: 40px !important;
    }

    .capost-blog-category-track {
        justify-content: flex-start !important;
        gap: 12px;
    }

    .capost-blog-category-pill {
        min-height: 44px;
        padding: 11px 16px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 600px) {
    .capost-blog-categories {
        padding-bottom: 26px !important;
    }

    .capost-blog-categories__heading {
        margin-bottom: 14px !important;
    }

    .capost-blog-categories__heading h2 {
        font-size: 28px !important;
    }

    .capost-blog-category-carousel {
        gap: 8px;
    }

    .capost-blog-arrow {
        flex: 0 0 36px;
        width: 36px !important;
        height: 36px !important;
        box-shadow: none !important;
    }

    .capost-blog-category-pill {
        min-height: 40px;
        padding: 10px 14px !important;
        font-size: 12px !important;
    }

    .capost-blog-category-pill b {
        min-width: 20px;
        height: 20px;
        font-size: 9px;
    }
}


/* =========================================================
   v1.9.4 Final compact Explore Topics strip
   ========================================================= */

.capost-blog-categories {
    padding: 18px 0 28px !important;
}

.capost-blog-categories__heading {
    margin-bottom: 12px !important;
    text-align: center !important;
}

.capost-blog-categories__heading > div {
    max-width: none !important;
}

.capost-blog-categories__heading span {
    margin: 0 !important;
    font-size: 11px !important;
    letter-spacing: .11em !important;
}

.capost-blog-categories__heading h2 {
    display: none !important;
}

.capost-blog-category-carousel {
    margin-top: 0 !important;
}

.capost-blog-category-track {
    padding-bottom: 4px !important;
}

@media (max-width: 600px) {
    .capost-blog-categories {
        padding: 14px 0 22px !important;
    }

    .capost-blog-categories__heading {
        margin-bottom: 10px !important;
    }
}


/* =========================================================
   v2.7 Blog Landing Shortcode - Correct Responsive Fix
   Actual shortcode classes only
   ========================================================= */

.capost-blog-shortcode,
.capost-blog-shortcode *,
.capost-blog-shortcode *::before,
.capost-blog-shortcode *::after {
    box-sizing: border-box;
}

.capost-blog-shortcode {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ---------- Explore topics ---------- */

.capost-blog-category-carousel {
    width: 100%;
    max-width: 1100px;
    min-width: 0;
}

.capost-blog-category-track-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.capost-blog-category-track {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.capost-blog-category-pill {
    flex: 0 0 auto;
}

/* ---------- Featured story ---------- */

/* Keep heading ABOVE the card. Do not grid the section itself. */
.capost-blog-featured {
    display: block !important;
    width: 100%;
    max-width: 100%;
}

.capost-blog-featured .capost-blog-section-title {
    width: 100%;
}

.capost-blog-featured-card {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
}

.capost-blog-featured-card__image,
.capost-blog-featured-card__content {
    min-width: 0;
}

.capost-blog-featured-card__image {
    height: 100%;
}

.capost-blog-featured-card__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.capost-blog-featured-card__content h2,
.capost-blog-featured-card__content h2 a,
.capost-blog-featured-card__content p {
    overflow-wrap: break-word;
    word-break: normal;
}

/* ---------- Main listing ---------- */

.capost-blog-layout,
.capost-blog-main,
.capost-blog-sidebar,
.capost-blog-grid,
.capost-blog-card {
    min-width: 0;
    max-width: 100%;
}

.capost-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.capost-blog-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.capost-blog-card__read {
    margin-top: auto;
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {

    .capost-blog-category-carousel {
        display: flex !important;
        align-items: center;
        gap: 8px !important;
    }

    .capost-blog-arrow {
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .capost-blog-category-track {
        justify-content: flex-start !important;
    }

    .capost-blog-featured-card {
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: 0 !important;
    }

    .capost-blog-featured-card__image {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .capost-blog-featured-card__image img,
    .capost-blog-featured-card__image .capost-blog-placeholder {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover;
    }

    .capost-blog-featured-card__content {
        width: 100%;
        padding: 28px 26px;
    }

    .capost-blog-layout--right,
    .capost-blog-layout--left,
    .capost-blog-layout--none {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .capost-blog-layout--left .capost-blog-main {
        grid-column: 1;
        grid-row: 1;
    }

    .capost-blog-layout--left .capost-blog-sidebar {
        grid-column: 1;
        grid-row: 2;
    }

    .capost-blog-sidebar__sticky {
        position: static;
    }

    .capost-blog-grid,
    .capost-blog-layout--none .capost-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .capost-blog-shortcode {
        width: 100%;
        overflow-x: hidden;
    }

    .capost-blog-categories {
        width: 100%;
        max-width: 100%;
        padding: 14px 0 20px !important;
    }

    .capost-blog-categories__heading {
        margin-bottom: 10px !important;
    }

    .capost-blog-category-carousel {
        width: 100%;
        max-width: 100%;
        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) 34px !important;
        gap: 7px !important;
        align-items: center;
    }

    .capost-blog-arrow {
        flex: none !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        padding: 0 !important;
    }

    .capost-blog-category-track-wrap {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .capost-blog-category-track {
        width: 100%;
        min-width: 0;
        justify-content: flex-start !important;
        gap: 9px !important;
        padding: 2px 0 5px !important;
    }

    .capost-blog-category-pill {
        min-height: 40px !important;
        padding: 10px 13px !important;
        font-size: 12px !important;
    }

    .capost-blog-featured {
        padding: 34px 0 22px !important;
    }

    .capost-blog-featured .capost-blog-section-title {
        margin-bottom: 18px;
    }

    .capost-blog-featured-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        min-height: 0 !important;
        border-radius: 14px;
        overflow: hidden;
    }

    .capost-blog-featured-card__image {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .capost-blog-featured-card__image img,
    .capost-blog-featured-card__image .capost-blog-placeholder {
        display: block;
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover;
    }

    .capost-blog-featured-card__content {
        display: flex;
        width: 100%;
        min-width: 0;
        padding: 21px 18px 22px !important;
    }

    .capost-blog-featured-card h2 {
        font-size: clamp(27px, 8vw, 34px) !important;
        line-height: 1.08;
    }

    .capost-blog-featured-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .capost-blog-read-button {
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .capost-blog-layout {
        gap: 26px;
        padding: 28px 0 44px;
    }

    .capost-blog-grid,
    .capost-blog-layout--none .capost-blog-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
    }

    .capost-blog-card__image {
        aspect-ratio: 16 / 10;
    }

    .capost-blog-card__body {
        padding: 18px;
    }

    .capost-blog-card h3 {
        font-size: 21px;
    }

    .capost-blog-pagination {
        justify-content: center;
    }
}

/* ---------- Small phone ---------- */

@media (max-width: 420px) {

    .capost-blog-category-carousel {
        grid-template-columns: 30px minmax(0, 1fr) 30px !important;
        gap: 6px !important;
    }

    .capost-blog-arrow {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 14px !important;
    }

    .capost-blog-category-pill {
        padding: 9px 12px !important;
    }

    .capost-blog-featured-card__image {
        aspect-ratio: 4 / 3;
    }

    .capost-blog-featured-card__content {
        padding: 18px 16px 20px !important;
    }
}
