/* =========================================================
   EWADC Blog + Enterprise Article â€” V6
   Unified typography + article topics + tag archives
   FIX: proportional (aspect-ratio) feature images
   ========================================================= */

.ew-blog,
.ew-article,
.ew-tag-page{
    --blog-ink:#111518;
    --blog-muted:#6d777d;
    --blog-line:#dce2e5;
    --blog-soft:#f4f6f7;

    /* Feature image ratios â€” change here, applies everywhere */
    --hero-ratio:2.5;      /* full-width article hero */
    --card-ratio:1.7778;   /* blog / tag cards (16:9) */

    background:#fff;
    color:var(--blog-ink);

    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* =========================================================
   Box sizing
   ========================================================= */

.ew-blog *,
.ew-blog *::before,
.ew-blog *::after,
.ew-article *,
.ew-article *::before,
.ew-article *::after,
.ew-tag-page *,
.ew-tag-page *::before,
.ew-tag-page *::after{
    box-sizing:border-box;
}


/* =========================================================
   Unified EWADC Typography
   ========================================================= */

.ew-blog,
.ew-blog button,
.ew-blog input,
.ew-blog textarea,
.ew-blog select,
.ew-article,
.ew-article button,
.ew-article input,
.ew-article textarea,
.ew-article select,
.ew-tag-page,
.ew-tag-page button,
.ew-tag-page input,
.ew-tag-page textarea,
.ew-tag-page select{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ew-blog h1,
.ew-blog h2,
.ew-blog h3,
.ew-blog h4,
.ew-blog h5,
.ew-blog h6,
.ew-article h1,
.ew-article h2,
.ew-article h3,
.ew-article h4,
.ew-article h5,
.ew-article h6,
.ew-tag-page h1,
.ew-tag-page h2,
.ew-tag-page h3,
.ew-tag-page h4,
.ew-tag-page h5,
.ew-tag-page h6{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-weight:760;
}

.ew-blog p,
.ew-blog a,
.ew-blog span,
.ew-blog time,
.ew-blog strong,
.ew-blog li,
.ew-article p,
.ew-article a,
.ew-article span,
.ew-article time,
.ew-article strong,
.ew-article li,
.ew-tag-page p,
.ew-tag-page a,
.ew-tag-page span,
.ew-tag-page time,
.ew-tag-page strong,
.ew-tag-page li{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* Ghost article typography override */

.ew-article .gh-content,
.ew-article .gh-content p,
.ew-article .gh-content li,
.ew-article .gh-content ul,
.ew-article .gh-content ol,
.ew-article .gh-content blockquote,
.ew-article .gh-content figcaption,
.ew-article .gh-content table,
.ew-article .gh-content th,
.ew-article .gh-content td,
.ew-article .gh-content pre,
.ew-article .gh-content code,
.ew-article .gh-content h1,
.ew-article .gh-content h2,
.ew-article .gh-content h3,
.ew-article .gh-content h4,
.ew-article .gh-content h5,
.ew-article .gh-content h6{
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* =========================================================
   Main shell
   ========================================================= */

.ew-blog-shell{
    width:min(1240px,calc(100% - 48px));
    margin:0 auto;
}


/* =========================================================
   BLOG INDEX
   ========================================================= */

.ew-blog-head{
    padding:90px 0 66px;
    border-bottom:1px solid var(--blog-line);
    background:#fff;
}

.ew-blog-eyebrow,
.ew-blog-section-head span,
.ew-article-services-head span,
.ew-related-posts-head span{
    display:block;
    margin-bottom:17px;
    color:#707a80;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.ew-blog-head h1{
    max-width:850px;
    margin:0;
    font-size:clamp(50px,5.2vw,76px);
    line-height:.96;
    font-weight:760;
    letter-spacing:-.055em;
}

.ew-blog-head p{
    max-width:690px;
    margin:25px 0 0;
    color:var(--blog-muted);
    font-size:17px;
    line-height:1.65;
    font-weight:400;
}

.ew-blog-listing{
    padding:52px 0 90px;
    background:var(--blog-soft);
}


/* =========================================================
   Featured article
   ========================================================= */

.ew-blog-featured{
    display:grid;
    grid-template-columns:1.18fr .82fr;
    min-height:420px;
    overflow:hidden;
    border:1px solid var(--blog-line);
    background:#fff;
}

.ew-blog-featured-image,
.ew-blog-card-image,
.ew-related-image{
    position:relative;
    display:block;
    overflow:hidden;
    background:#0d1113;
}

.ew-blog-featured-image{
    min-height:420px;
}

.ew-blog-featured-image img,
.ew-blog-card-image img,
.ew-related-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:50% 50%;
    transition:transform .35s ease;
}

.ew-blog-featured:hover .ew-blog-featured-image img,
.ew-blog-card:hover .ew-blog-card-image img,
.ew-related-posts article:hover .ew-related-image img{
    transform:scale(1.018);
}

.ew-blog-image-placeholder{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    color:rgba(255,255,255,.23);
    font-size:13px;
    font-weight:800;
    letter-spacing:.18em;
}

.ew-blog-featured-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:38px 42px;
}

.ew-blog-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 15px;
    align-items:center;
    color:#828b90;
    font-size:9px;
    line-height:1.3;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ew-blog-meta span{
    color:#1a2023;
}

.ew-blog-featured h2{
    margin:17px 0 0;
    font-size:clamp(30px,2.6vw,42px);
    line-height:1.04;
    font-weight:760;
    letter-spacing:-.045em;
}

.ew-blog-featured h2 a,
.ew-blog-card h3 a,
.ew-related-posts h3 a{
    color:inherit;
    text-decoration:none;
}

.ew-blog-featured-copy>p{
    margin:18px 0 0;
    color:var(--blog-muted);
    font-size:13px;
    line-height:1.62;
    font-weight:400;
}

.ew-blog-read{
    display:inline-flex;
    align-items:center;
    gap:25px;
    margin-top:24px;
    color:#111;
    text-decoration:none;
    font-size:12px;
    line-height:1.3;
    font-weight:760;
}


/* =========================================================
   Latest articles
   ========================================================= */

.ew-blog-section-head{
    margin:58px 0 28px;
}

.ew-blog-section-head h2{
    margin:0;
    font-size:38px;
    line-height:1;
    font-weight:760;
    letter-spacing:-.04em;
}

.ew-blog-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.ew-blog-card{
    display:flex;
    flex-direction:column;
    min-height:470px;
    overflow:hidden;
    border:1px solid var(--blog-line);
    background:#fff;
}

/* FIX: proportional card image instead of fixed 220px */
.ew-blog-card-image{
    aspect-ratio:var(--card-ratio);
    height:auto;
}

.ew-blog-card-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:25px;
}

.ew-blog-card h3{
    margin:16px 0 0;
    font-size:23px;
    line-height:1.1;
    font-weight:760;
    letter-spacing:-.035em;
}

.ew-blog-card-body>p{
    margin:15px 0 0;
    color:var(--blog-muted);
    font-size:12px;
    line-height:1.62;
    font-weight:400;
}

.ew-blog-card .ew-blog-read{
    margin-top:auto;
    padding-top:25px;
}


/* =========================================================
   Pagination
   ========================================================= */

.ew-blog-pagination{
    margin-top:42px;
}

.ew-blog-pagination .pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    color:#727c82;
    font-size:11px;
}

.ew-blog-pagination a{
    color:#111;
    text-decoration:none;
    font-weight:750;
}


/* =========================================================
   ARTICLE HEADER
   ========================================================= */

.ew-article{
    background:#fff;
}

.ew-article-header{
    padding:82px 0 0;
    background:#fff;
}

.ew-article-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.ew-article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    color:#7b858a;
    font-size:10px;
    line-height:1.3;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.ew-article-meta>span:first-child{
    color:#151a1d;
}

.ew-article-back{
    flex:0 0 auto;
    color:#5b656a;
    text-decoration:none;
    font-size:11px;
    line-height:1.3;
    font-weight:700;
}

.ew-article-back:hover{
    color:#111;
}

.ew-article-header h1{
    max-width:1040px;
    margin:25px 0 0;
    font-size:clamp(50px,5.4vw,78px);
    line-height:.97;
    font-weight:760;
    letter-spacing:-.055em;
}

.ew-article-excerpt{
    max-width:820px;
    margin:26px 0 0;
    color:#687278;
    font-size:19px;
    line-height:1.62;
    font-weight:400;
}


/* =========================================================
   FULL-WIDTH FEATURE IMAGE  â€” FIXED
   Was: height:clamp(460px,42vw,680px) â†’ ratio changed with
   viewport width, so every hero was cropped differently.
   Now: fixed 2.5:1 ratio at any screen width.
   ========================================================= */

.ew-article-image{
    width:100%;
    aspect-ratio:var(--hero-ratio);
    height:auto;
    max-height:none;
    margin:50px 0 0;
    overflow:hidden;
    background:#0b0e10;
}

.ew-article-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:50% 50%;
    border-radius:0;
}

.ew-article-image figcaption{
    padding:10px 0;
    color:#848d92;
    font-size:10px;
    line-height:1.5;
    font-weight:400;
}

/* Very wide screens: keep the hero from becoming a wall */
@media(min-width:2100px){
    .ew-article-image{
        aspect-ratio:auto;
        height:820px;
    }
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio:1/1){
    .ew-article-image{
        height:clamp(460px,40vw,760px);
    }
    .ew-blog-card-image{
        height:220px;
    }
}


/* =========================================================
   ARTICLE BODY
   ========================================================= */

.ew-article-body{
    max-width:1080px;
    padding-top:66px;
    padding-bottom:96px;
}

.ew-article-content{
    width:100%;
    max-width:1080px;
    margin:0 auto !important;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ew-article-content>*{
    max-width:860px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.ew-article-content .kg-width-wide,
.ew-article-content .kg-width-full,
.ew-article-content figure,
.ew-article-content table,
.ew-article-content pre{
    max-width:1080px !important;
}


/* =========================================================
   Article paragraph typography
   ========================================================= */

.ew-article-content p,
.ew-article-content li{
    color:#3f484d;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:17px;
    line-height:1.78;
    font-weight:400;
    letter-spacing:0;
}

.ew-article-content p{
    margin-top:0 !important;
    margin-bottom:25px !important;
}


/* =========================================================
   Article headings
   ========================================================= */

.ew-article-content h2{
    margin-top:58px !important;
    margin-bottom:21px !important;
    color:#111518;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:36px;
    line-height:1.08;
    font-weight:760;
    letter-spacing:-.04em;
}

.ew-article-content h3{
    margin-top:40px !important;
    margin-bottom:15px !important;
    color:#111518;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:25px;
    line-height:1.15;
    font-weight:760;
    letter-spacing:-.025em;
}

.ew-article-content h4{
    margin-top:32px !important;
    margin-bottom:12px !important;
    color:#111518;
    font-size:19px;
    line-height:1.25;
    font-weight:760;
}


/* =========================================================
   Lists
   ========================================================= */

.ew-article-content ul,
.ew-article-content ol{
    padding-left:24px;
    margin-top:18px !important;
    margin-bottom:26px !important;
}


/* =========================================================
   Links
   ========================================================= */

.ew-article-content a{
    color:#111;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}


/* =========================================================
   Quotes
   ========================================================= */

.ew-article-content blockquote{
    max-width:900px !important;
    margin:42px auto !important;
    padding:6px 0 6px 27px;
    border-left:2px solid #151a1d;
    color:#252b2f;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ew-article-content blockquote p{
    font-size:20px;
    line-height:1.6;
    font-weight:450;
}


/* =========================================================
   Article images (in body)
   ========================================================= */

.ew-article-content img{
    width:100%;
    height:auto;
    display:block;
    border-radius:0;
}


/* =========================================================
   Tables
   ========================================================= */

.ew-article-content table{
    width:100%;
    border-collapse:collapse;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:13px;
}

.ew-article-content th,
.ew-article-content td{
    padding:13px 15px;
    border:1px solid var(--blog-line);
    text-align:left;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ew-article-content th{
    color:#111518;
    font-weight:760;
}


/* =========================================================
   Ghost cards / embedded content
   ========================================================= */

.ew-article-content .kg-card{
    margin-top:40px !important;
    margin-bottom:40px !important;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ew-article-content .kg-image-card{
    max-width:1080px !important;
}

.ew-article-content .kg-image-card img{
    border-radius:0;
}

.ew-article-content .kg-callout-card{
    max-width:860px !important;
    border-radius:0;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* =========================================================
   ARTICLE TOPICS
   ========================================================= */

.ew-article-tags{
    width:100%;
    max-width:860px;
    margin:54px auto 0;
    padding-top:26px;
    border-top:1px solid var(--blog-line);
}

.ew-article-tags-label{
    display:block;
    margin:0 0 14px;
    color:#7a8489;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:9px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.ew-article-tags-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.ew-article-tags-list a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    margin:0;
    padding:0 13px;
    border:1px solid var(--blog-line);
    background:#fff;
    color:#343b3f;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:10px;
    line-height:1;
    font-weight:700;
    text-decoration:none;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.ew-article-tags-list a:hover{
    background:#f4f6f7;
    border-color:#cbd2d6;
    color:#111;
}


/* =========================================================
   RELATED SERVICES
   ========================================================= */

.ew-article-services{
    margin-top:70px;
    padding-top:42px;
    border-top:1px solid var(--blog-line);
}

.ew-article-services-head h2,
.ew-related-posts-head h2{
    margin:0;
    font-size:32px;
    line-height:1.05;
    font-weight:760;
    letter-spacing:-.035em;
}

.ew-article-services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:28px;
    border-top:1px solid var(--blog-line);
    border-left:1px solid var(--blog-line);
}

.ew-article-services-grid a{
    min-height:132px;
    padding:23px;
    border-right:1px solid var(--blog-line);
    border-bottom:1px solid var(--blog-line);
    color:#111;
    text-decoration:none;
    transition:background .18s ease;
}

.ew-article-services-grid a:hover{
    background:#f7f8f8;
}

.ew-article-services-grid strong{
    display:block;
    font-size:13px;
    line-height:1.3;
    font-weight:760;
}

.ew-article-services-grid span{
    display:block;
    margin-top:32px;
    color:#747e83;
    font-size:10px;
    line-height:1.45;
    font-weight:400;
}


/* =========================================================
   RELATED POSTS
   ========================================================= */

.ew-related-posts{
    margin-top:70px;
    padding-top:42px;
    border-top:1px solid var(--blog-line);
}

.ew-related-posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:28px;
}

.ew-related-posts article{
    overflow:hidden;
    border:1px solid var(--blog-line);
    background:#fff;
}

/* FIX: proportional related-post image instead of fixed 160px */
.ew-related-image{
    aspect-ratio:var(--card-ratio);
    height:auto;
}

.ew-related-posts article>div{
    padding:18px;
}

.ew-related-posts h3{
    margin:13px 0 0;
    font-size:17px;
    line-height:1.25;
    font-weight:760;
}


/* =========================================================
   TAG / TOPIC ARCHIVES
   ========================================================= */

.ew-tag-page{
    background:#fff;
}

.ew-tag-head{
    padding:88px 0 62px;
    border-bottom:1px solid var(--blog-line);
    background:#fff;
}

.ew-tag-eyebrow{
    display:block;
    margin-bottom:18px;
    color:#707a80;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.ew-tag-head h1{
    max-width:850px;
    margin:0;
    color:#111518;
    font-size:clamp(50px,5.2vw,76px);
    line-height:.96;
    font-weight:760;
    letter-spacing:-.055em;
    text-transform:none;
}

.ew-tag-description{
    max-width:700px;
    margin:25px 0 0;
    color:#6d777d;
    font-size:17px;
    line-height:1.65;
    font-weight:400;
}

.ew-tag-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:24px;
    margin-top:34px;
    padding-top:20px;
    border-top:1px solid var(--blog-line);
}

.ew-tag-meta>span{
    color:#818a8f;
    font-size:10px;
    line-height:1.3;
    font-weight:750;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.ew-tag-meta>a{
    display:inline-flex;
    align-items:center;
    color:#111518;
    font-size:12px;
    line-height:1.3;
    font-weight:760;
    text-decoration:none;
    transition:opacity .18s ease;
}

.ew-tag-meta>a:hover{
    opacity:.62;
}


/* =========================================================
   TAG LISTING
   ========================================================= */

.ew-tag-listing{
    padding:54px 0 90px;
    background:var(--blog-soft);
}

.ew-tag-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}


/* =========================================================
   TAG ARTICLE CARD
   ========================================================= */

.ew-tag-card{
    display:flex;
    flex-direction:column;
    min-height:470px;
    overflow:hidden;
    border:1px solid var(--blog-line);
    background:#fff;
}

/* FIX: proportional tag-card image instead of fixed 220px */
.ew-tag-card-image{
    position:relative;
    display:block;
    aspect-ratio:var(--card-ratio);
    height:auto;
    overflow:hidden;
    background:#0d1113;
}

.ew-tag-card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:50% 50%;
    transition:transform .35s ease;
}

.ew-tag-card:hover .ew-tag-card-image img{
    transform:scale(1.018);
}

.ew-tag-card-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:25px;
}

.ew-tag-card h2{
    margin:16px 0 0;
    color:#111518;
    font-size:23px;
    line-height:1.1;
    font-weight:760;
    letter-spacing:-.035em;
}

.ew-tag-card h2 a{
    color:inherit;
    text-decoration:none;
}

.ew-tag-card-body>p{
    margin:15px 0 0;
    color:#6d777d;
    font-size:12px;
    line-height:1.62;
    font-weight:400;
}

.ew-tag-card .ew-blog-read{
    margin-top:auto;
    padding-top:25px;
}


/* =========================================================
   TAG EMPTY STATE
   ========================================================= */

.ew-tag-empty{
    padding:70px 0;
    text-align:center;
}

.ew-tag-empty h2{
    margin:0;
    color:#111518;
    font-size:34px;
    line-height:1.05;
    font-weight:760;
    letter-spacing:-.04em;
}

.ew-tag-empty p{
    margin:18px 0 0;
    color:#737d82;
    font-size:14px;
    line-height:1.6;
}

.ew-tag-empty a{
    display:inline-block;
    margin-top:24px;
    color:#111;
    font-size:12px;
    font-weight:760;
    text-decoration:none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1000px){

    .ew-blog-featured{
        grid-template-columns:1fr;
        min-height:0;
    }

    .ew-blog-featured-image{
        min-height:0;
        aspect-ratio:var(--card-ratio);
    }

    .ew-blog-grid,
    .ew-tag-grid{
        grid-template-columns:1fr 1fr;
    }

    .ew-article-services-grid{
        grid-template-columns:1fr 1fr;
    }

    .ew-article-image{
        aspect-ratio:2.1;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

    .ew-blog-shell{
        width:min(100% - 28px,1240px);
    }

    .ew-blog-head{
        padding:62px 0 42px;
    }

    .ew-blog-head h1{
        font-size:45px;
    }

    .ew-blog-listing{
        padding:34px 0 65px;
    }

    .ew-blog-featured-image{
        min-height:0;
        aspect-ratio:var(--card-ratio);
    }

    .ew-blog-featured-copy{
        padding:27px 22px;
    }

    .ew-blog-featured h2{
        font-size:31px;
    }

    .ew-blog-grid{
        grid-template-columns:1fr;
    }

    .ew-blog-card{
        min-height:0;
    }


    /* Article */

    .ew-article-header{
        padding-top:58px;
    }

    .ew-article-topline{
        display:block;
    }

    .ew-article-back{
        display:inline-block;
        margin-top:16px;
    }

    .ew-article-header h1{
        font-size:44px;
    }

    .ew-article-excerpt{
        font-size:17px;
    }

    /* FIX: was height:330px â€” now proportional */
    .ew-article-image{
        aspect-ratio:var(--card-ratio);
        height:auto;
        margin-top:34px;
    }

    .ew-article-body{
        padding-top:42px;
        padding-bottom:68px;
    }

    .ew-article-content>*{
        max-width:100% !important;
    }

    .ew-article-content p,
    .ew-article-content li{
        font-size:16px;
        line-height:1.75;
    }

    .ew-article-content h2{
        font-size:30px;
    }

    .ew-article-content h3{
        font-size:23px;
    }

    .ew-article-tags{
        max-width:100%;
        margin-top:44px;
        padding-top:22px;
    }

    .ew-article-tags-list{
        gap:7px;
    }

    .ew-article-tags-list a{
        min-height:33px;
        padding:0 11px;
        font-size:9px;
    }

    .ew-article-services-grid,
    .ew-related-posts-grid{
        grid-template-columns:1fr;
    }

    .ew-article-services-grid a{
        min-height:105px;
    }


    /* Tag archive */

    .ew-tag-head{
        padding:60px 0 42px;
    }

    .ew-tag-head h1{
        font-size:45px;
    }

    .ew-tag-description{
        font-size:16px;
    }

    .ew-tag-meta{
        display:block;
    }

    .ew-tag-meta>a{
        margin-top:14px;
    }

    .ew-tag-listing{
        padding:34px 0 65px;
    }

    .ew-tag-grid{
        grid-template-columns:1fr;
    }

    .ew-tag-card{
        min-height:0;
    }

    .ew-tag-card-image{
        aspect-ratio:var(--card-ratio);
        height:auto;
    }

}