.zms-trips {
    --zms-trips-ink: #f2eee4;
    --zms-trips-ink-dim: #a79f8d;
    --zms-trips-ink-faint: #7c745f;
    --zms-trips-gold: #d8b163;
    --zms-trips-panel: transparent;
    --zms-trips-row-bg: #202020;
    --zms-trips-row-line: rgba(255,255,255,0.06);

    font-family: 'Inter', inherit;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Elementor's Shortcode/Text widget often wraps its content in a
   container that defaults to a "Boxed" content width rather than
   stretching to the column - force every ancestor up to the Elementor
   widget container to go full width too, so .zms-trips isn't shrunk by
   a parent even when its own width:100% would otherwise be correct. */
.elementor-widget-shortcode .elementor-widget-container,
.elementor-widget-text-editor .elementor-widget-container {
    width: 100%;
}
.elementor-widget-container:has(> .zms-trips),
.elementor-widget-container:has(.zms-trips) {
    width: 100% !important;
    max-width: 100% !important;
}

.zms-trips *,
.zms-trips *::before,
.zms-trips *::after {
    box-sizing: border-box;
}

.zms-trips__panel {
    background: var(--zms-trips-panel);
    border-radius: 14px;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
}

.zms-trips__empty {
    color: var(--zms-trips-ink-faint);
    font-size: 13px;
    margin: 8px 4px;
}

/* 1.16.0 design: thumbnail, date range, serif title, status, earned Keys */
.zms-trips{container-type:inline-size}
.zms-trips__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:33px}
.zms-trips__title{display:flex;align-items:center;gap:21px;margin:0;font:400 41px/1.1 'Instrument Serif',Georgia,serif;color:#f5f1e8}
.zms-trips__title svg{width:52px;height:38px;color:#c3ab7b}
.zms-trips__all{font:400 17.5px/1.2 'Inter',sans-serif;color:#fde895!important;text-decoration:underline!important;text-underline-offset:5px;white-space:nowrap}
.zms-trips__row{display:flex;align-items:center;gap:15px;height:100px;background:var(--zms-trips-row-bg);border-radius:8px;padding:0 20px 0 16px;width:100%!important;max-width:100%!important}
.zms-trips__row + .zms-trips__row{margin-top:16px}
.zms-trips__thumb{width:66px;height:66px;min-width:66px;border-radius:5px;object-fit:cover}
.zms-trips__thumb--icon{display:flex;align-items:center;justify-content:center;background:#161616;color:#c3ab7b}
.zms-trips__thumb--icon svg{width:26px;height:26px}
.zms-trips__info{flex:1;min-width:0}
.zms-trips__dates{font:400 12.5px/17px 'Inter',sans-serif;color:#9a9090}
.zms-trips__dest-row{display:flex;align-items:center;flex-wrap:wrap;gap:0 15.5px;margin-top:15px}
.zms-trips__dest{font:400 25.6px/32px 'Instrument Serif',Georgia,serif;color:#fff}
.zms-trips__dot{width:4px;height:4px;border-radius:50%;background:#35322c;flex:none}
.zms-trips__status{font:400 21.6px/32px 'Instrument Serif',Georgia,serif;color:#7c7c7c;font-style:normal}
.zms-trips__status.is-up{color:#c3ab7b}
.zms-trips__keys{font:500 13.5px/32px 'Archivo','Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#c3ab7b;white-space:nowrap}
.zms-trips__chevron{color:#fff;display:inline-flex;flex:none;margin-right:2px}
.zms-trips__chevron svg{width:12px;height:20px}
@container (max-width:600px){
 .zms-trips__head{margin-bottom:22px}
 .zms-trips__title{font-size:32px;gap:14px}.zms-trips__title svg{width:42px;height:31px}.zms-trips__all{font-size:15px}
 .zms-trips__row{height:auto;min-height:92px;padding:14px 14px 14px 12px;gap:12px}
 .zms-trips__row + .zms-trips__row{margin-top:12px}
 .zms-trips__thumb{width:56px;height:56px;min-width:56px}
 .zms-trips__dates{font-size:12px}
 .zms-trips__dest-row{margin-top:6px;gap:0 12px}
 .zms-trips__dest{font-size:21px;line-height:26px}
 .zms-trips__status{font-size:17px;line-height:26px}
 .zms-trips__keys{font-size:11px;line-height:22px;flex-basis:100%;letter-spacing:.11em}
 .zms-trips__dot{width:3px;height:3px}.zms-trips__dot--k{display:none}
}

/* 1.18.0 trip details popup (option B) */
.zms-trips__row{cursor:pointer;transition:background .15s}
.zms-trips__row:hover{background:#262626}
.zms-trips__row:focus-visible{outline:2px solid #c3ab7b;outline-offset:2px}
.zms-tp{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.72);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-family:'Inter',sans-serif}
.zms-tp[hidden]{display:none!important}
.zms-tp *{box-sizing:border-box}
.zms-tp__box{position:relative;width:640px;max-width:100%;max-height:calc(100dvh - 32px);overflow:auto;background:#101010;border:1px solid #262626;border-radius:16px;scrollbar-width:none}
.zms-tp__box::-webkit-scrollbar{display:none}
.zms-tp .zms-tp__x,.zms-tp .zms-tp__x:hover,.zms-tp .zms-tp__x:focus,.zms-tp .zms-tp__x:active{all:unset;box-sizing:border-box;position:absolute;top:16px;right:16px;width:28px;height:28px;display:grid;place-items:center;color:#c3ab7b;background:transparent!important;border:0!important;box-shadow:none!important;cursor:pointer;border-radius:50%}
.zms-tp .zms-tp__x:hover{color:#fde895}
.zms-tp .zms-tp__x:focus-visible{outline:2px solid #c3ab7b;outline-offset:2px}
.zms-tp__x svg{width:24px;height:24px}
.zms-tp__hero{padding:40px 32px 26px;background:radial-gradient(120% 140% at 100% 0%,rgba(195,171,123,.26),transparent 55%),#171512;border-bottom:1px solid #262626}
.zms-tp__hero small{font:500 11px 'Archivo','Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#c3ab7b}
.zms-tp__hero h3{margin:8px 44px 10px 0;font:400 44px/1 'Instrument Serif',Georgia,serif;color:#f5f1e8;letter-spacing:-.01em}
.zms-tp__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font:14.5px 'Inter',sans-serif;color:#c9c4b8}
.zms-tp__when{color:#c3ab7b}
.zms-tp__pill{display:inline-block;padding:5px 11px;border-radius:6px;font:500 12px/1 'Inter',sans-serif;color:#121212;white-space:nowrap}
.zms-tp__pill--g{background:#5fdc86}.zms-tp__pill--y{background:#f0dfa0}.zms-tp__pill--n{background:#8a8580}
.zms-tp__tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:22px 32px 6px}
.zms-tp__t{padding:14px 16px;background:#161616;border:1px solid #262626;border-radius:10px;min-width:0}
.zms-tp__t span{display:block;margin-bottom:6px;font:12px 'Inter',sans-serif;color:#8d897f}
.zms-tp__t b{font:400 22px/1.1 'Instrument Serif',Georgia,serif;color:#fff;overflow-wrap:anywhere}
.zms-tp__t.is-k b{color:#c3ab7b}
.zms-tp__ex{display:flex;align-items:center;gap:14px;margin:16px 32px 28px;padding:14px 16px;background:#161616;border:1px solid #262626;border-radius:10px}
.zms-tp__av{width:44px;height:44px;border-radius:50%;background:#2a2518;color:#c3ab7b;display:grid;place-items:center;font:500 14px 'Inter',sans-serif;flex:none}
.zms-tp__ex div{min-width:0}.zms-tp__ex b{display:block;font:500 15px 'Inter',sans-serif;color:#fff}.zms-tp__ex div span{font:13px 'Inter',sans-serif;color:#8d897f}
.zms-tp__pad{height:22px}
@media(max-width:640px){.zms-tp__hero{padding:32px 20px 20px}.zms-tp__hero h3{font-size:34px}.zms-tp__tiles{padding:18px 20px 4px}.zms-tp__ex{margin:14px 20px 22px}}

/* 1.26.0 destination images */
.zms-trips__thumb{background:#161616}
.zms-tp__hero.has-img{padding-top:170px;background-color:#171512;background-size:cover;background-position:center}
.zms-tp__hero.has-img h3{text-shadow:0 2px 18px rgba(0,0,0,.45)}
@media(max-width:640px){.zms-tp__hero.has-img{padding-top:120px}}

/* 1.27.0 upcoming vs travelled at a glance + Travefy link */
.zms-trips .zms-trips__dot:not(.zms-trips__dot--k){display:none}
.zms-trips__status{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font:500 11.5px/1.2 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#a8a39a;background:rgba(255,255,255,.04);border:1px solid #3a3a3a;white-space:nowrap}
.zms-trips__status.is-up{color:#151208;background:#d8b163;border-color:#d8b163}
.zms-trips__status svg{width:13px;height:13px;flex:none}
.zms-trips__row.is-up{background:linear-gradient(90deg,rgba(216,177,99,.14),rgba(216,177,99,0) 55%),#221f19;box-shadow:inset 3px 0 0 #d8b163}
.zms-trips__row.is-up:hover{background:linear-gradient(90deg,rgba(216,177,99,.2),rgba(216,177,99,0) 60%),#26221a}
.zms-trips__row.is-done .zms-trips__thumb{filter:grayscale(.6) brightness(.8)}
.zms-trips__row.is-done .zms-trips__dest{color:#cfcbc3}
.zms-trips__when{color:#d8b163}
@container (max-width:600px){.zms-trips__status{font-size:10.5px;padding:4px 9px}}
.zms-th__row.is-up{background:linear-gradient(90deg,rgba(216,177,99,.09),rgba(216,177,99,0) 50%),#0e0e0e;box-shadow:inset 3px 0 0 #d8b163}
.zms-th__row.is-done{box-shadow:inset 3px 0 0 #3a3a3a}
.zms-tp__tv{display:flex;align-items:center;gap:14px;margin:12px 32px 0;padding:14px 16px;background:#161616;border:1px solid #262626;border-radius:10px}
.zms-tp__tv-ic{width:44px;height:44px;border-radius:50%;background:#2a2518;color:#c3ab7b;display:grid;place-items:center;flex:none}
.zms-tp__tv-ic svg{width:20px;height:20px}
.zms-tp__tv div{min-width:0}
.zms-tp__tv div>span{display:block;font:12px 'Inter',sans-serif;color:#8d897f;margin-bottom:5px}
.zms-tp__tv b{font:400 22px/1.1 'Instrument Serif',Georgia,serif;color:#6f6b63}
.zms-tp .zms-tp__tv a{display:inline-flex;align-items:center;gap:6px;font:500 15px 'Inter',sans-serif;color:#d8b163!important;text-decoration:underline!important;text-underline-offset:4px;overflow-wrap:anywhere}
.zms-tp .zms-tp__tv a:hover{color:#fde895!important}
.zms-tp__tv a svg{width:14px;height:14px;flex:none}
@media(max-width:640px){.zms-tp__tv{margin:12px 20px 0}}
