/* MTZ: [mtz_latest_posts] — latest blog articles section (home page). Matches the fleet section style. */
.mtz-lp {
    --lp-bg: #ffffff;
    --lp-card: #ffffff;
    --lp-ink: #1C1A15;
    --lp-muted: #667085;
    --lp-gold: #C9A24A;
    --lp-gold-ink: #8A6D22;
    --lp-line: rgba(28, 26, 21, 0.10);
    --lp-radius: 20px;
    background: var(--lp-bg);
    padding: 80px 24px 88px;
    width: 100%;
    font-family: inherit;
}
.mtz-lp, .mtz-lp * { box-sizing: border-box; }
.mtz-lp__inner { max-width: 1280px; width: 100%; min-width: 0; margin: 0 auto; }

/* Head */
.mtz-lp__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
}
.mtz-lp__copy { max-width: 720px; min-width: 0; }
.mtz-lp__kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--lp-gold-ink);
}
.mtz-lp__heading {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.28;
    color: var(--lp-ink);
}
.mtz-lp__lead {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.85;
    color: var(--lp-muted);
    max-width: 620px;
}
.mtz-lp__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 20px;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: #fff;
    color: var(--lp-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.mtz-lp__all:hover, .mtz-lp__all:focus-visible { background: var(--lp-gold); border-color: var(--lp-gold); color: #0A0E14; }
.mtz-lp__all:focus-visible { outline: 2px solid var(--lp-gold-ink); outline-offset: 3px; }
.mtz-lp__arrow { width: 14px; height: 14px; flex-shrink: 0; }
[dir="ltr"] .mtz-lp__arrow, .mtz-lp[dir="ltr"] .mtz-lp__arrow { transform: scaleX(-1); }
.mtz-lp__foot { display: none; }

/* Grid: featured article + stacked list (desktop) */
.mtz-lp__grid { display: grid; gap: 20px; min-width: 0; }
.mtz-lp__grid--feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-rows: minmax(0, auto); }
.mtz-lp__grid--feature .mtz-lp__card.is-featured { grid-row: 1 / span var(--lp-rows, 2); }
.mtz-lp__grid--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Card */
.mtz-lp__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--lp-card);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mtz-lp__card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(28, 26, 21, .35); border-color: rgba(201, 162, 74, .45); }
.mtz-lp__card:focus-within { border-color: var(--lp-gold); }
.mtz-lp__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.mtz-lp__link:focus-visible { outline: 2px solid var(--lp-gold-ink); outline-offset: 2px; }

.mtz-lp__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #0A0E14 0%, #1C1A15 100%);
    overflow: hidden;
    flex-shrink: 0;
}
.mtz-lp__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mtz-lp__card:hover .mtz-lp__media img { transform: scale(1.04); }
.mtz-lp__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: rgba(232, 197, 112, .55); font-weight: 800; letter-spacing: .3em; font-size: 22px;
}
.mtz-lp__tag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--lp-gold-ink);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.mtz-lp__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; min-width: 0; }
.mtz-lp__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--lp-muted); }
.mtz-lp__dot { color: var(--lp-gold); }
.mtz-lp__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--lp-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mtz-lp__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--lp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mtz-lp__more {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-gold-ink);
}
.mtz-lp__card:hover .mtz-lp__more { color: var(--lp-ink); }

/* Featured card */
.mtz-lp__card.is-featured .mtz-lp__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 300px; }
.mtz-lp__card.is-featured .mtz-lp__body { flex: 0 0 auto; padding: 22px 24px 24px; gap: 10px; }
.mtz-lp__card.is-featured .mtz-lp__title { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; letter-spacing: -0.01em; }
.mtz-lp__card.is-featured .mtz-lp__excerpt { -webkit-line-clamp: 3; font-size: 15px; }

/* Side list cards (desktop): image beside text */
@media (min-width: 1024px) {
    .mtz-lp__grid--feature .mtz-lp__card:not(.is-featured) { flex-direction: row; align-items: stretch; }
    .mtz-lp__grid--feature .mtz-lp__card:not(.is-featured) .mtz-lp__media { aspect-ratio: auto; width: 42%; min-height: 168px; }
    .mtz-lp__grid--feature .mtz-lp__card:not(.is-featured) .mtz-lp__excerpt { -webkit-line-clamp: 2; font-size: 13.5px; }
    .mtz-lp__grid--feature .mtz-lp__card:not(.is-featured) .mtz-lp__tag { top: 10px; inset-inline-start: 10px; font-size: 10.5px; padding: 5px 10px; }
}

/* Tablet: featured on top, the rest in two columns */
@media (max-width: 1023px) {
    .mtz-lp { padding: 64px 20px 72px; }
    .mtz-lp__grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mtz-lp__grid--feature .mtz-lp__card.is-featured { grid-column: 1 / -1; grid-row: auto; }
    .mtz-lp__card.is-featured .mtz-lp__media { aspect-ratio: 16 / 8; min-height: 0; flex: 0 0 auto; }
}

/* Phone: swipeable row of cards, button below */
@media (max-width: 680px) {
    .mtz-lp { padding: 52px 0 60px; }
    .mtz-lp__head { padding: 0 18px; margin-bottom: 24px; display: block; }
    .mtz-lp__head .mtz-lp__all { display: none; }
    .mtz-lp__lead { font-size: 14px; }
    .mtz-lp__grid,
    .mtz-lp__grid--feature,
    .mtz-lp__grid--plain {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18px;
        padding: 4px 18px 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mtz-lp__grid::-webkit-scrollbar { display: none; }
    .mtz-lp__card,
    .mtz-lp__card.is-featured { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }
    .mtz-lp__card:hover { transform: none; }
    .mtz-lp__card.is-featured .mtz-lp__media { aspect-ratio: 16 / 10; }
    .mtz-lp__card.is-featured .mtz-lp__title { font-size: 17px; }
    .mtz-lp__card.is-featured .mtz-lp__excerpt { -webkit-line-clamp: 2; font-size: 14px; }
    .mtz-lp__card.is-featured .mtz-lp__body { padding: 18px 20px 20px; }
    .mtz-lp__foot { display: block; padding: 10px 18px 0; }
    .mtz-lp__all--block { display: flex; justify-content: center; width: 100%; padding: 14px 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .mtz-lp__card, .mtz-lp__media img { transition: none; }
    .mtz-lp__card:hover, .mtz-lp__card:hover .mtz-lp__media img { transform: none; }
}
