.gmb {
    --gmb-forest: #193d28;
    --gmb-accent: #285936;
    --gmb-ink: #142d26;
    --gmb-copy: #42584f;
    --gmb-width: 1280px;
    --gmb-banner-height: 280px;
    --gmb-reading-width: 850px;
    --gmb-gap: 22px;
    --gmb-columns: 3;
    --gmb-card-radius: 16px;
    --gmb-inset: clamp(18px, 3vw, 36px);
    color: var(--gmb-ink);
    font: 400 16px/1.65 "Poppins", Arial, sans-serif;
    overflow-wrap: anywhere;
}
.gmb *, .gmb *::after, .gmb *::before { box-sizing: border-box; }
.gmb a:focus-visible { outline: 3px solid #578c62; outline-offset: 4px; }
.gmb .gmb-wrap {
    box-sizing: border-box;
    width: min(100%, var(--gmb-width));
    margin-inline: auto;
    padding-inline: var(--gmb-inset);
}
.gmb .gmb-banner,
.gmb-archive {
    background-color: var(--gmb-banner-bg, var(--gmb-forest));
}
.gmb .gmb-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: var(--gmb-viewport, 100%);
    max-width: none;
    min-height: var(--gmb-banner-height);
    margin: 0 0 0 var(--gmb-left, 0px);
    border: 0;
    border-radius: 0;
    color: var(--gmb-banner-ink, #fff);
}
.gmb .gmb-photo,
.gmb .gmb-banner--photo::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.gmb .gmb-photo {
    display: block;
    object-fit: cover;
    object-position: center var(--gmb-focus, 55%);
    z-index: -2;
}
.gmb .gmb-banner--photo::before {
    content: "";
    background: linear-gradient(102deg,#0c2119 3%,#132e23e6 45%,#193d286b 100%);
    opacity: var(--gmb-overlay, .91);
    z-index: -1;
}
.gmb .gmb-banner-inner { padding-block: clamp(32px, 5vw, 69px); }
.gmb .gmb-banner h1 {
    max-width: 24ch;
    margin: 0;
    color: inherit;
    font: 700 clamp(36px, 5.1vw, 67px)/1.08 "Poppins", Arial, sans-serif;
    letter-spacing: -.042em;
}
.gmb .gmb-banner-copy { max-width: 64ch; margin: 15px 0 0; }
.gmb .gmb-crumb, .gmb .gmb-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin-top: 13px;
    font-size: 14px;
}
.gmb .gmb-crumb a, .gmb .gmb-post-meta a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
}
.gmb .gmb-crumb [aria-current="page"] { overflow-wrap: anywhere; }
.gmb-single { --gmb-banner-height: 350px; }
.gmb-single .gmb-banner h1 { font-size: clamp(31px, 4.35vw, 59px); }
.gmb .gmb-post-meta { margin-top: 18px; }
.gmb.gmb-archive { background-color: var(--gmb-page-bg, #f1f5f1); }
.gmb .gmb-list { padding-block: clamp(27px, 4vw, 58px) clamp(39px, 6vw, 85px); }
.gmb .gmb-grid {
    display: grid;
    grid-template-columns: repeat(var(--gmb-columns), minmax(0, 1fr));
    gap: var(--gmb-gap);
}
.gmb .gmb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gmb-card-border, #d5e1d6);
    border-radius: var(--gmb-card-radius);
    background-color: var(--gmb-card-bg, #fff);
}
.gmb .gmb-card:hover { border-color: #afc6b0; }
.gmb .gmb-card-media {
    display: block;
    height: var(--gmb-card-image-height, auto);
    aspect-ratio: 1.86;
    overflow: hidden;
    background-color: #e2ebe2;
}
.gmb .gmb-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gmb .gmb-card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(17px, 2.15vw, 27px);
}
.gmb .gmb-card time { color: var(--gmb-accent); font-size: 12px; margin-bottom: 10px; }
.gmb .gmb-card h2 {
    margin: 0 0 10px;
    font: 600 clamp(17px, 1.5vw, 21px)/1.38 "Poppins", Arial, sans-serif;
    letter-spacing: -.02em;
}
.gmb .gmb-card h2 a { color: var(--gmb-ink); text-decoration: none; }
.gmb .gmb-card h2 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.gmb .gmb-card p { margin: 0 0 16px; color: var(--gmb-copy); font-size: 14px; }
.gmb .gmb-read {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 11px;
    margin-top: auto;
    padding-block: 3px;
    color: var(--gmb-accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.gmb .gmb-read:hover { text-decoration: underline; text-underline-offset: .17em; }
.gmb .gmb-pagination { margin-top: clamp(23px, 4vw, 42px); }
.gmb .gmb-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.gmb .gmb-pagination .page-numbers > li > .page-numbers {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 5px 12px;
    border: 1px solid #c6d7c8;
    border-radius: 10px;
    color: var(--gmb-accent);
    background-color: #fff;
    text-decoration: none;
}
.gmb .gmb-pagination .page-numbers > li > .page-numbers:hover,
.gmb .gmb-pagination .page-numbers > li > .current {
    border-color: var(--gmb-accent);
    color: #fff;
    background-color: var(--gmb-accent);
}
.gmb .gmb-empty {
    margin: 0;
    padding: 28px;
    border: 1px solid #d5e1d6;
    border-radius: 14px;
    background-color: #fff;
}
.gmb .gmb-reading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 300px);
    align-items: start;
    gap: clamp(26px, 4vw, 58px);
    padding-block: clamp(34px, 5vw, 70px);
}
.gmb .gmb-reading--solo { grid-template-columns: minmax(0, 1fr); }
.gmb .gmb-article {
    width: min(100%, var(--gmb-reading-width));
    min-width: 0;
    margin-inline: auto;
    color: #20382d;
    font: 400 clamp(16px, 1.4vw, 18px)/1.78 "Poppins", Arial, sans-serif;
    overflow-wrap: anywhere;
}
.gmb .gmb-article > :first-child { margin-top: 0; }
.gmb .gmb-article :is(h2, h3, h4) {
    color: #193d28;
    font-family: inherit;
    line-height: 1.22;
    margin-top: 1.55em;
}
.gmb .gmb-article img {
    max-width: 100%;
    height: auto;
}
.gmb .gmb-sidebar {
    min-width: 0;
    padding: clamp(18px, 2.4vw, 27px);
    border: 1px solid #d5e1d6;
    border-radius: 16px;
    background-color: #f3f6f2;
}
.gmb .gmb-sidebar h2 {
    margin: 0 0 16px;
    color: var(--gmb-ink);
    font: 700 clamp(18px, 1.7vw, 22px)/1.3 "Poppins", Arial, sans-serif;
    letter-spacing: -.025em;
}
.gmb .gmb-other-posts { margin: 0; padding: 0; list-style: none; }
.gmb .gmb-other-posts li + li { border-top: 1px solid #d9e3da; }
.gmb .gmb-other-posts a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 12px;
    color: var(--gmb-ink);
    font-size: 14px;
    line-height: 1.42;
    font-weight: 600;
    text-decoration: none;
}
.gmb .gmb-other-posts a:hover { color: var(--gmb-accent); text-decoration: underline; }
.gmb .gmb-other-photo {
    flex: 0 0 56px;
    width: 56px;
    height: 49px;
    border-radius: 8px;
    object-fit: cover;
}
.gmb a.gmb-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    margin-top: 14px;
    padding: 9px 13px;
    border: 1px solid var(--gmb-accent);
    border-radius: 9px;
    color: var(--gmb-accent);
    background-color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.gmb a.gmb-back:hover { color: #fff; background-color: var(--gmb-accent); }
.gmb .gmb-post-pages { margin-top: 24px; }
.gmb .gmb-post-pages a { margin-inline: 4px; color: var(--gmb-accent); }

/* A leading GEOMIM banner meets the header in classic and container layouts. */
.elementor > .e-con:first-child:has(> :first-child .gmb),
.elementor > .e-con:first-child:has(> .e-con-inner > :first-child .gmb),
.elementor > .e-con:first-child > .e-con-inner:has(> :first-child .gmb),
:is(.elementor, .elementor-section-wrap) > .elementor-section:first-child:has(.elementor-widget-geomim-blog-archive:first-child .gmb, .elementor-widget-geomim-blog-single:first-child .gmb),
:is(.elementor, .elementor-section-wrap) > .elementor-section:first-child .elementor-widget-wrap:has(> :first-child .gmb),
:is(.entry-content, .page-content):has(> .elementor:first-child .gmb),
:is(main.site-main, main#content):has(> .elementor:first-child .gmb),
:is(main.site-main, main#content):has(> :is(.page-content, .entry-content):first-child > .elementor:first-child .gmb) {
    margin-block-start: 0;
    padding-block-start: 0;
}

@media (max-width: 1024px) {
    .gmb { --gmb-columns: 2; --gmb-banner-height: 245px; }
    .gmb-single { --gmb-banner-height: 294px; }
}
@media (max-width: 767px) {
    .gmb .gmb-reading { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
    .gmb { --gmb-columns: 1; --gmb-banner-height: 218px; }
    .gmb-single { --gmb-banner-height: 245px; }
    .gmb .gmb-banner--photo::before {
        background: linear-gradient(103deg,#0c2119,#183628c9);
    }
}
