/* ==========================================================================
   WebMag (webmaghome.com) - site-specific header / footer / category refresh
   Prefix: wmh-   (unique to this site)
   Every rule is scoped at least two levels deep so theme descendant rules
   (e.g. ".post .post-title", "ul,ol{list-style:none}") cannot out-specify it.
   ========================================================================== */

.wmh-site {
    --wmh-ink: #11141d;
    --wmh-ink-2: #1b2130;
    --wmh-line: #2b3346;
    --wmh-accent: #35e0c0;
    --wmh-accent-ink: #0d6f5f;
    --wmh-paper: #ffffff;
    --wmh-mute: #565f6d;
    --wmh-body: #333a46;
    overflow-x: hidden;
}

.wmh-site .wmh-mono {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* --------------------------------------------------------------------------
   HEADER
   One dark slab: brand bar + nav. No social strip above the masthead.
   -------------------------------------------------------------------------- */
.wmh-site .wmh-head {
    background-color: #11141d;
    color: #e8ecf4;
    border-bottom: 3px solid #35e0c0;
    position: relative;
    z-index: 80;
}

.wmh-site .wmh-head-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* brand bar */
.wmh-site .wmh-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding-top: 14px;
    padding-bottom: 14px;
}

.wmh-site .wmh-brand {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    gap: 2px;
    text-decoration: none;
    line-height: 1;
}

.wmh-site .wmh-brand:hover,
.wmh-site .wmh-brand:focus {
    text-decoration: none;
}

.wmh-site .wmh-brand-mark {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 27px;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
}

.wmh-site .wmh-brand-mark i {
    font-style: normal;
    color: #35e0c0;
}

.wmh-site .wmh-brand-tld {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #7c8798;
    white-space: nowrap;
}

/* burger: hidden input at EVERY width, label on the right */
.wmh-site .wmh-cb {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    opacity: 0;
    -webkit-appearance: none;
    appearance: none;
}

.wmh-site .wmh-burger {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 0 10px;
    margin: 0;
    cursor: pointer;
    border: 1px solid #2b3346;
    border-radius: 3px;
    background-color: transparent;
    font-weight: 400;
    box-sizing: border-box;
}

/* neutralise themes that paint a custom checkbox on bare labels */
.wmh-site .wmh-burger::before,
.wmh-site .wmh-burger::after {
    content: none !important;
    display: none !important;
}

.wmh-site .wmh-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #e8ecf4;
    border-radius: 2px;
    -webkit-transition: 0.2s background-color;
    transition: 0.2s background-color;
}

.wmh-site .wmh-cb:focus ~ .wmh-burger {
    border-color: #35e0c0;
    box-shadow: 0 0 0 2px rgba(53, 224, 192, 0.35);
}

.wmh-site .wmh-cb:checked ~ .wmh-burger span {
    background-color: #35e0c0;
}

/* nav */
.wmh-site .wmh-nav {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.28s ease;
    transition: max-height 0.28s ease;
}

.wmh-site .wmh-cb:checked ~ .wmh-nav {
    max-height: 640px;
}

.wmh-site .wmh-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px;
}

.wmh-site .wmh-nav-list > li {
    display: block;
}

.wmh-site .wmh-nav-list > li > a {
    display: block;
    padding: 11px 2px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c8d0e0;
    border-top: 1px solid #232a3a;
    text-decoration: none;
    -webkit-transition: 0.18s color;
    transition: 0.18s color;
}

.wmh-site .wmh-nav-list > li:first-child > a {
    border-top: 0;
}

.wmh-site .wmh-nav-list > li > a:hover,
.wmh-site .wmh-nav-list > li > a:focus {
    color: #35e0c0;
    text-decoration: none;
}

@media only screen and (min-width: 992px) {
    .wmh-site .wmh-burger {
        display: none;
    }
    .wmh-site .wmh-nav {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        width: auto;
        max-height: none;
        overflow: visible;
    }
    .wmh-site .wmh-nav-list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        gap: 2px 22px;
        padding: 0;
    }
    .wmh-site .wmh-nav-list > li > a {
        padding: 6px 0;
        border-top: 0;
        position: relative;
    }
    .wmh-site .wmh-nav-list > li > a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background-color: #35e0c0;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transform-origin: left;
        transform-origin: left;
        -webkit-transition: 0.18s transform;
        transition: 0.18s transform;
    }
    .wmh-site .wmh-nav-list > li > a:hover::after,
    .wmh-site .wmh-nav-list > li > a:focus::after {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

/* --------------------------------------------------------------------------
   FOOTER
   Two columns only: an about paragraph and one list of sections, a hairline
   rule, a copyright line. Light, short, conventional - no social row,
   no thumbnails, no dark multi-column block.
   -------------------------------------------------------------------------- */
.wmh-site .wmh-foot {
    background-color: #f6f7f9;
    color: #565f6d;
    margin-top: 50px;
    padding: 0;
    border-top: 3px solid #11141d;
}

.wmh-site .wmh-foot-wrap {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px 0;
    box-sizing: border-box;
}

.wmh-site .wmh-foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px 60px;
    align-items: start;
}

.wmh-site .wmh-foot-about,
.wmh-site .wmh-foot-nav {
    min-width: 0;
}

.wmh-site .wmh-foot-brand {
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #11141d;
    margin: 0 0 8px;
    line-height: 1.1;
}

.wmh-site .wmh-foot-brand i {
    font-style: normal;
    color: #0d6f5f;
}

.wmh-site .wmh-foot-blurb {
    color: #565f6d;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 44em;
}

/* Footer social: three bare marks under the blurb, left column only.
   Not a strip above the masthead; no boxes, no captions, no borders. */
.wmh-site .wmh-foot-social {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    font-size: 0;
}

.wmh-site .wmh-foot-social > li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 16px 0 0;
    padding: 0;
    line-height: 1;
}

.wmh-site .wmh-foot-social > li:last-child {
    margin-right: 0;
}

.wmh-site .wmh-foot-social > li > a {
    display: inline-block;
    width: 22px;
    height: 22px;
    text-align: center;
    color: #454c59;
    font-size: 17px;
    line-height: 22px;
    text-decoration: none;
    background: none;
    border: 0;
    -webkit-transition: 0.18s color;
    transition: 0.18s color;
}

.wmh-site .wmh-foot-social > li > a:hover,
.wmh-site .wmh-foot-social > li > a:focus {
    color: #35e0c0;
    text-decoration: none;
}

.wmh-site .wmh-foot-social > li > a > i {
    font-style: normal;
    line-height: inherit;
}

.wmh-site .wmh-foot-social .wmh-foot-x {
  /* X has no Font Awesome 4 glyph, so the mark is an inline SVG sized like its icon-font neighbours */
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

.wmh-site .wmh-foot-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #11141d;
    margin: 0 0 8px;
}

.wmh-site .wmh-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wmh-site .wmh-foot-links > li {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 3px;
}

.wmh-site .wmh-foot-links > li:last-child {
    margin-bottom: 0;
}

.wmh-site .wmh-foot-links > li > a {
    color: #454c59;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: 0.18s color;
    transition: 0.18s color;
}

.wmh-site .wmh-foot-links > li > a:hover,
.wmh-site .wmh-foot-links > li > a:focus {
    color: #0d6f5f;
    text-decoration: underline;
}

.wmh-site .wmh-foot-ad {
    margin: 12px 0 0;
    min-width: 0;
    /* deliberately no overflow/size constraint - this wraps a live ad slot */
}

.wmh-site .wmh-foot-copy {
    margin: 12px 0 0;
    padding: 9px 0 12px;
    border-top: 1px solid #dfe3ea;
    font-size: 12px;
    line-height: 1.35;
    color: #6b7482;
    min-width: 0;
}

@media only screen and (min-width: 768px) {
    .wmh-site .wmh-foot-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 210px);
    }
}

/* --------------------------------------------------------------------------
   CATEGORY PAGE  (.wmh-cat)
   CSS grid, never floats - unequal card heights cannot punch holes.
   -------------------------------------------------------------------------- */
.wmh-site .wmh-cat {
    padding-top: 36px;
}

.wmh-site .wmh-cat-head {
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 2px solid #11141d;
}


.wmh-site .wmh-cat-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #11141d;
    margin: 0 0 8px;
    line-height: 1.15;
}


.wmh-site .wmh-grid {
    display: grid;
    gap: 30px 26px;
    margin: 0 0 40px;
}

.wmh-site .wmh-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    background-color: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 3px;
    overflow: hidden;
    -webkit-transition: 0.18s box-shadow, 0.18s border-color;
    transition: 0.18s box-shadow, 0.18s border-color;
}

.wmh-site .wmh-card:hover {
    border-color: #11141d;
    box-shadow: 0 10px 24px -14px rgba(17, 20, 29, 0.55);
}

.wmh-site .wmh-card-media {
    display: block;
    height: 180px;
    overflow: hidden;
    background-color: #eceef2;
    position: relative;
}

.wmh-site .wmh-card-media > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
}

.wmh-site .wmh-card-num {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #11141d;
    color: #35e0c0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 9px;
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}

.wmh-site .crvs-noimg-card .wmh-card-num { display: none; }
.wmh-site .crvs-noimg-card .wmh-card-media { display: none; }

.wmh-site .wmh-card-body {
    padding: 16px 16px 18px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.wmh-site .wmh-card-date {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #565f6d;
    margin-bottom: 9px;
}

.wmh-site .wmh-card-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.32;
    color: #11141d;
    margin: 0 0 9px;
    /* a 250-character feed title stops at 3 lines and clips */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wmh-site .wmh-card-title > a {
    color: #11141d;
    text-decoration: none;
    font-weight: 700;
}

.wmh-site .wmh-card-title > a:hover,
.wmh-site .wmh-card-title > a:focus {
    color: #0d6f5f;
    text-decoration: none;
}

.wmh-site .wmh-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #454c59;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wmh-site .wmh-card-more {
    margin-top: auto;
    -ms-flex-item-align: start;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0d6f5f;
    border-bottom: 2px solid #35e0c0;
    padding-bottom: 2px;
    text-decoration: none;
}

.wmh-site .wmh-card-more:hover,
.wmh-site .wmh-card-more:focus {
    color: #11141d;
    border-bottom-color: #11141d;
    text-decoration: none;
}

.wmh-site .wmh-cat-empty {
    color: #454c59;
    padding: 30px 0 50px;
}

/* --------------------------------------------------------------------------
   ARTICLE PAGE  (.wmh-post / .wmh-article)
   item.content is arbitrary rich HTML from a feed.
   -------------------------------------------------------------------------- */
.wmh-site .wmh-post .sticky-container {
    padding-left: 0;
}

.wmh-site .wmh-post .main-post > h3 {
    font-size: 30px;
    line-height: 1.2;
    color: #11141d;
    margin-bottom: 18px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wmh-site .wmh-post .figure-img {
    margin-bottom: 24px;
    min-width: 0;
}

.wmh-site .wmh-post .wmh-article-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: cover;
    -o-object-fit: cover;
    background-color: #eceef2;
}

.wmh-site .wmh-post .figure-img figcaption {
    color: #565f6d;
    font-size: 13px;
    padding-top: 7px;
    border-left: 3px solid #35e0c0;
    padding-left: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wmh-site .wmh-article {
    color: #333a46;
    font-size: 17px;
    line-height: 1.72;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wmh-site .wmh-article > *:first-child {
    margin-top: 0;
}

.wmh-site .wmh-article p {
    color: #333a46;
    margin: 0 0 20px;
}

.wmh-site .wmh-article h1,
.wmh-site .wmh-article h2,
.wmh-site .wmh-article h3,
.wmh-site .wmh-article h4,
.wmh-site .wmh-article h5,
.wmh-site .wmh-article h6 {
    font-family: "Nunito Sans", sans-serif;
    color: #11141d;
    font-weight: 700;
    line-height: 1.25;
    margin: 34px 0 14px;
}

.wmh-site .wmh-article h1 { font-size: 28px; }
.wmh-site .wmh-article h2 { font-size: 24px; }
.wmh-site .wmh-article h3 { font-size: 21px; }
.wmh-site .wmh-article h4 { font-size: 18px; }
.wmh-site .wmh-article h5,
.wmh-site .wmh-article h6 { font-size: 16px; }

/* the theme kills list markers globally (ul,ol{list-style:none;padding:0}) */
.wmh-site .wmh-article ul,
.wmh-site .wmh-article ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.wmh-site .wmh-article ul { list-style: disc outside; }
.wmh-site .wmh-article ol { list-style: decimal outside; }
.wmh-site .wmh-article ul ul { list-style: circle outside; }

.wmh-site .wmh-article li {
    display: list-item;
    margin-bottom: 8px;
    color: #333a46;
}

.wmh-site .wmh-article li > ul,
.wmh-site .wmh-article li > ol {
    margin: 8px 0 0;
}

.wmh-site .wmh-article blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid #35e0c0;
    color: #11141d;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    background: none;
}

.wmh-site .wmh-article blockquote::before,
.wmh-site .wmh-article blockquote::after {
    content: none;
}

.wmh-site .wmh-article blockquote p:last-child {
    margin-bottom: 0;
}

.wmh-site .wmh-article a {
    color: #0d6f5f;
    font-weight: 600;
    text-decoration: underline;
    word-break: break-word;
}

.wmh-site .wmh-article a:hover,
.wmh-site .wmh-article a:focus {
    color: #11141d;
}

/* feed HTML brings images at arbitrary intrinsic sizes */
.wmh-site .wmh-article img,
.wmh-site .wmh-article iframe,
.wmh-site .wmh-article video,
.wmh-site .wmh-article embed,
.wmh-site .wmh-article object {
    display: block;
    max-width: 100%;
    width: auto;
    margin: 20px auto;
}
/* Images scale intrinsically; embedded documents keep their source height. */
.wmh-site .wmh-article img {
    height: auto;
}
.wmh-site .wmh-article video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.wmh-site .wmh-article figure {
    margin: 20px 0;
    max-width: 100%;
}

.wmh-site .wmh-article figure img {
    margin: 0 auto;
}

.wmh-site .wmh-article figcaption {
    font-size: 13px;
    color: #565f6d;
    padding-top: 6px;
}

.wmh-site .wmh-article table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wmh-site .wmh-article th,
.wmh-site .wmh-article td {
    border: 1px solid #e6e9f0;
    padding: 8px 10px;
    text-align: left;
    color: #333a46;
}

.wmh-site .wmh-article pre {
    max-width: 100%;
    overflow-x: auto;
    background-color: #11141d;
    color: #e8ecf4;
    padding: 14px 16px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.wmh-site .wmh-article code {
    word-break: break-word;
}

.wmh-site .wmh-article hr {
    border: 0;
    border-top: 1px solid #e6e9f0;
    margin: 28px 0;
}

/* --------------------------------------------------------------------------
   HOME PAGE GRID  (.wmh-home-*)
   The theme ships the home page on bootstrap float columns. Feed cards have
   unequal heights, so the floats snag and the rows collapse into one ragged
   column. The section structure is untouched - the containers are simply
   re-laid out as CSS grid, which cannot snag.
   -------------------------------------------------------------------------- */
.wmh-site .wmh-home-lead,
.wmh-site .wmh-home-tiles,
.wmh-site .wmh-home-split,
.wmh-site .wmh-home-list {
    display: grid;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
}

/* .row's clearfix pseudo-elements would otherwise become phantom grid items */
.wmh-site .wmh-home-lead::before,
.wmh-site .wmh-home-lead::after,
.wmh-site .wmh-home-tiles::before,
.wmh-site .wmh-home-tiles::after,
.wmh-site .wmh-home-split::before,
.wmh-site .wmh-home-split::after,
.wmh-site .wmh-home-list::before,
.wmh-site .wmh-home-list::after {
    content: none;
    display: none;
}

/* grid children: no float, no percentage width, no gutter padding */
.wmh-site .wmh-home-cell,
.wmh-site .wmh-home-span,
.wmh-site .wmh-home-main,
.wmh-site .wmh-home-side {
    float: none;
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

.wmh-site .wmh-home-span {
    grid-column: 1 / -1;
}

.wmh-site .wmh-home-span .section-title {
    margin-bottom: 6px;
}

.wmh-site .wmh-home-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
}

.wmh-site .wmh-home-tiles {
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 30px 26px;
}

.wmh-site .wmh-home-split,
.wmh-site .wmh-home-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

/* the grid gap is the only spacing between cards */
.wmh-site .wmh-home-lead .post,
.wmh-site .wmh-home-tiles .post,
.wmh-site .wmh-home-list .post {
    margin-bottom: 0;
}

/* one aspect ratio per row, cropped - feed images arrive at any size */
.wmh-site .wmh-home-lead .post-img,
.wmh-site .wmh-home-tiles .post-img {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #eceef2;
}

.wmh-site .wmh-home-lead .post-img > img,
.wmh-site .wmh-home-tiles .post-img > img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
}

.wmh-site .wmh-home-lead .post-img > img {
    height: 300px;
}

.wmh-site .wmh-home-tiles .post-img > img {
    height: 200px;
}

/* overlay copy sits on a fixed-height image, so it clamps harder */
.wmh-site .wmh-home-lead .post.post-thumb .post-title {
    -webkit-line-clamp: 2;
}

.wmh-site .wmh-home-tiles .post .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* featured list: flex media object instead of a 40% float */
.wmh-site .wmh-home-list .post.post-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 22px;
}

.wmh-site .wmh-home-list .post.post-row::after {
    content: none;
    display: none;
}

.wmh-site .wmh-home-list .post.post-row .post-img {
    float: none;
    width: auto;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 38%;
    flex: 0 0 38%;
    max-width: 38%;
    overflow: hidden;
    background-color: #eceef2;
}

.wmh-site .wmh-home-list .post.post-row .post-img > img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
}

.wmh-site .wmh-home-list .post.post-row .post-body {
    margin-left: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

/* aside thumbnails share one crop too */
.wmh-site .wmh-home-side .post.post-widget .post-img > img {
    display: block;
    width: 100%;
    height: 70px;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
}

@media only screen and (min-width: 768px) {
    .wmh-site .wmh-home-lead {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 992px) {
    .wmh-site .wmh-home-split {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 30px 30px;
    }
}

@media only screen and (max-width: 767px) {
    .wmh-site .wmh-home-list .post.post-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
    }
    .wmh-site .wmh-home-list .post.post-row .post-img {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .wmh-site .wmh-home-list .post.post-row .post-img > img {
        height: 190px;
    }
    .wmh-site .wmh-home-lead .post-img > img {
        height: 220px;
    }
}

/* --------------------------------------------------------------------------
   SHARED HARDENING for the theme's own feed cards (home page)
   Feed images are arbitrary aspect ratios; feed titles are arbitrary length.
   -------------------------------------------------------------------------- */
.wmh-site .post .post-img > img {
    max-width: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    background-color: #eceef2;
}

.wmh-site .post.post-thumb {
    overflow: hidden;
}

.wmh-site .post.post-thumb .post-body {
    left: 0;
    right: 0;
    max-width: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.wmh-site .post.post-thumb .post-body a { pointer-events: auto; }

.wmh-site .post.post-thumb .post-title,
.wmh-site .post.post-row .post-title,
.wmh-site .post.post-widget .post-title,
.wmh-site .aside-widget .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wmh-site .post.post-row .post-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.wmh-site .post .post-title > a {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* the theme's translate widget must not create a scrollbar on 360px */
.wmh-site #translate-wrapper {
    max-width: 100vw;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .wmh-site .wmh-cat-title {
        font-size: 25px;
    }
    .wmh-site .wmh-post .main-post > h3 {
        font-size: 24px;
    }
    .wmh-site .wmh-article {
        font-size: 16px;
    }
}

/* ==========================================================================
   REVIEW FIXES
   ========================================================================== */
/* The grid gap only spaces cards inside a row; the rows themselves had nothing between them,
   so "Recent Posts" sat flush on the hero and "Featured Posts" on the last tile title. */
.wmh-site .wmh-home-lead,
.wmh-site .wmh-home-tiles {
    margin-bottom: 40px;
}
/* Six tiles in an auto-fill track came out 4 + 2 on desktop, leaving two empty slots.
   Fixed counts that divide six evenly: 1, 2 or 3 per row. */
.wmh-site .wmh-home-tiles { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .wmh-site .wmh-home-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .wmh-site .wmh-home-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* CRVS-LAYOUT.md whole rows on /category: auto-fill gave 4 columns on a wide window but 3 between
   ~900 and ~1200px, where 20 stories ended in a short row. Fixed counts 4 / 2 / 1 divide 20. */
.wmh-cat .wmh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .wmh-cat .wmh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .wmh-cat .wmh-grid { grid-template-columns: minmax(0, 1fr); } }
