.wvp {
--wvp-bg: #eff4fb;
--wvp-heading: #004aad;
--wvp-accent: #f04e29;
--wvp-text: #1d2533;
--wvp-muted: #5b6678;
--wvp-line: #dbe3ef;
--wvp-radius: 16px;
color: var(--wvp-text);
line-height: 1.55;
box-sizing: border-box;
}
.wvp *, .wvp *::before, .wvp *::after { box-sizing: border-box; }
.wvp h2, .wvp h3, .wvp h4 { color: var(--wvp-heading); line-height: 1.25; } .wvp-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
background: var(--wvp-accent); color: #fff !important;
border: 2px solid var(--wvp-accent); border-radius: 10px;
padding: 12px 22px; font-weight: 700; font-size: 16px; line-height: 1.2;
text-decoration: none !important; cursor: pointer;
transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.wvp-btn:hover, .wvp-btn:focus-visible { filter: brightness(1.07); transform: translateY(-1px); }
.wvp-btn--ghost { background: transparent; color: var(--wvp-heading) !important; border-color: var(--wvp-heading); }
.wvp-btn--ghost:hover { background: var(--wvp-heading); color: #fff !important; filter: none; } .wvp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.wvp-filter {
appearance: none; border: 1px solid var(--wvp-line); background: #fff;
color: var(--wvp-heading); font: inherit; font-size: 15px; font-weight: 600;
padding: 8px 16px; border-radius: 99px; cursor: pointer;
transition: background .15s, color .15s, border-color .15s;
}
.wvp-filter span {
display: inline-block; min-width: 22px; margin-left: 4px; padding: 0 6px;
border-radius: 99px; background: var(--wvp-bg); font-size: 12px; text-align: center;
}
.wvp-filter:hover { border-color: var(--wvp-heading); }
.wvp-filter.is-active { background: var(--wvp-heading); border-color: var(--wvp-heading); color: #fff; }
.wvp-filter.is-active span { background: rgba(255, 255, 255, .2); color: #fff; } .wvp-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 28px;
}
.wvp-card { position: relative; min-width: 0; }
.wvp-card[hidden] { display: none !important; }
.wvp-card.is-featured { grid-column: span 2; grid-row: span 2; }
.wvp-card.is-featured .wvp-browser { flex: 1; display: flex; flex-direction: column; }
.wvp-card.is-featured .wvp-shot { flex: 1; aspect-ratio: auto; min-height: 320px; }
.wvp-card.is-featured .wvp-shot img { position: absolute; inset: 0; }
.wvp-card.is-featured .wvp-body { flex: none; }
.wvp-card.is-entering { animation: wvp-in .35s ease both; }
@keyframes wvp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wvp-open {
appearance: none; display: flex; flex-direction: column; width: 100%; height: 100%;
padding: 0; margin: 0; border: 1px solid var(--wvp-line); border-radius: var(--wvp-radius);
background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden;
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wvp-open:hover, .wvp-open:focus-visible {
transform: translateY(-4px);
box-shadow: 0 18px 40px rgba(0, 74, 173, .14);
border-color: transparent;
}
.wvp-open:focus-visible { outline: 3px solid var(--wvp-accent); outline-offset: 3px; } .wvp-browser { position: relative; background: var(--wvp-bg); }
.wvp-bar {
display: flex; align-items: center; gap: 6px;
padding: 9px 12px; background: var(--wvp-bg); border-bottom: 1px solid var(--wvp-line);
}
.wvp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d3e3; flex: none; }
.wvp-bar i:first-child { background: var(--wvp-accent); }
.wvp-bar span {
margin-left: 8px; flex: 1; min-width: 0; padding: 2px 10px; border-radius: 6px; background: #fff;
font-size: 12px; color: var(--wvp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wvp-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.wvp-shot img {
display: block; width: 100%; height: 100%; max-width: none;
object-fit: cover; object-position: top center;
transition: transform .6s ease, object-position 6s ease-in-out;
}
.wvp-open:hover .wvp-shot img { transform: scale(1.03); }
.wvp-shot.is-tall img { transition: object-position 6s ease-in-out; }
.wvp-open:hover .wvp-shot.is-tall img { transform: none; object-position: bottom center; }
.wvp-hover {
position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
padding: 16px; opacity: 0; transition: opacity .25s ease;
background: linear-gradient(180deg, transparent 45%, rgba(0, 30, 80, .55));
}
.wvp-hover span {
background: var(--wvp-accent); color: #fff; font-weight: 700; font-size: 14px;
padding: 7px 14px; border-radius: 99px; transform: translateY(6px); transition: transform .25s ease;
}
.wvp-open:hover .wvp-hover, .wvp-open:focus-visible .wvp-hover { opacity: 1; }
.wvp-open:hover .wvp-hover span { transform: none; }
.wvp-result {
position: absolute; top: 46px; right: 12px; z-index: 2;
background: var(--wvp-accent); color: #fff; font-size: 13px; font-weight: 800;
padding: 5px 12px; border-radius: 99px; box-shadow: 0 6px 16px rgba(240, 78, 41, .35);
} .wvp-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wvp-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--wvp-accent); }
.wvp-title { margin: 0; font-size: 20px; font-weight: 800; }
.wvp-card.is-featured .wvp-title { font-size: 24px; }
.wvp-meta { margin: 0; font-size: 14px; color: var(--wvp-muted); }
.wvp-tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wvp-tags li {
margin: 0; font-size: 12px; font-weight: 600; color: var(--wvp-heading);
background: var(--wvp-bg); padding: 3px 10px; border-radius: 99px;
} .wvp-cta {
display: flex; border-radius: var(--wvp-radius); overflow: hidden;
background: var(--wvp-heading); color: #fff; min-height: 280px;
background-image: radial-gradient(circle at 100% 0%, rgba(240, 78, 41, .55), transparent 55%);
}
.wvp-cta-inner { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.wvp-cta h3 { color: #fff; margin: 0; font-size: 24px; font-weight: 800; }
.wvp-cta p { margin: 0 0 8px; opacity: .9; }
.wvp-cta .wvp-btn { align-self: flex-start; }
.wvp-empty { text-align: center; color: var(--wvp-muted); padding: 32px 0; }
.wvp-more-wrap { text-align: center; margin-top: 36px; } .wvp-modal {
position: fixed; inset: 0; z-index: 99999;
display: flex; align-items: center; justify-content: center;
padding: 24px; background: rgba(5, 20, 45, .72);
opacity: 0; transition: opacity .2s ease;
}
.wvp-modal.is-open { opacity: 1; }
.wvp-dialog {
position: relative; width: 100%; max-width: 1180px; max-height: calc(100vh - 48px);
display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
background: #fff; border-radius: 20px; overflow: hidden;
box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.wvp-modal.is-open .wvp-dialog { transform: none; }
.wvp-modal .wvp-browser { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--wvp-line); }
.wvp-modal-shot { overflow-y: auto; flex: 1; min-height: 0; max-height: calc(100vh - 90px); background: #fff; overscroll-behavior: contain; }
.wvp-modal-shot img { display: block; width: 100%; height: auto; max-width: none; }
.wvp-info { padding: 32px 30px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.wvp-info h2 { margin: 0; font-size: 30px; font-weight: 800; }
.wvp-info .wvp-meta { font-size: 15px; }
.wvp-desc { color: var(--wvp-text); }
.wvp-desc p { margin: 0 0 .8em; }
.wvp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.wvp-facts > div { background: var(--wvp-bg); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.wvp-facts span { display: block; font-size: 12px; font-weight: 600; color: var(--wvp-muted); text-transform: uppercase; letter-spacing: .04em; }
.wvp-accent { color: var(--wvp-accent); }
.wvp-quote {
margin: 4px 0; padding: 16px 18px; border: 0; border-left: 4px solid var(--wvp-accent);
background: var(--wvp-bg); border-radius: 0 10px 10px 0; font-style: italic;
}
.wvp-quote p { margin: 0; }
.wvp-quote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--wvp-heading); }
.wvp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.wvp-pagelink { font-size: 14px; color: var(--wvp-heading); font-weight: 600; }
.wvp-close, .wvp-nav {
position: absolute; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
border: 0; background: #fff; color: var(--wvp-heading); cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 16px rgba(0, 0, 0, .18); font-size: 22px; line-height: 1;
}
.wvp-close { top: 14px; right: 14px; }
.wvp-close:hover, .wvp-nav:hover { background: var(--wvp-accent); color: #fff; }
.wvp-nav { top: 50%; transform: translateY(-50%); }
.wvp-prev { left: 14px; }
.wvp-next { left: calc(60% - 56px); }
.wvp-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; font-size: 12px; color: #fff; background: rgba(0, 30, 80, .7); padding: 4px 10px; border-radius: 99px; pointer-events: none; transition: opacity .4s; }
html.wvp-locked, html.wvp-locked body { overflow: hidden; } .wvp-single { margin: 0 0 28px; }
.wvp-single-shot { border: 1px solid var(--wvp-line); border-radius: var(--wvp-radius); overflow: hidden; margin-bottom: 18px; }
.wvp-single-shot .wvp-modal-shot { max-height: 70vh; }
.wvp-single .wvp-actions { margin-top: 18px; } @media (max-width: 1024px) {
.wvp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.wvp-card.is-featured { grid-row: auto; }
.wvp-card.is-featured .wvp-shot { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 860px) {
.wvp-dialog { grid-template-columns: 1fr; overflow-y: auto; }
.wvp-modal .wvp-browser { border-right: 0; border-bottom: 1px solid var(--wvp-line); }
.wvp-modal-shot { max-height: 46vh; }
.wvp-next { left: auto; right: 14px; }
.wvp-nav { top: 140px; width: 36px; height: 36px; }
}
@media (max-width: 640px) {
.wvp-grid { grid-template-columns: 1fr; }
.wvp-card.is-featured { grid-column: auto; grid-row: auto; }
.wvp-card.is-featured .wvp-shot { aspect-ratio: 16 / 10; min-height: 0; }
.wvp-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
.wvp-filter { flex: none; }
.wvp-modal { padding: 0; align-items: flex-end; }
.wvp-dialog { max-height: 94vh; border-radius: 18px 18px 0 0; }
.wvp-info { padding: 22px 18px 24px; }
.wvp-info h2 { font-size: 24px; }
.wvp-actions .wvp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.wvp *, .wvp-modal, .wvp-dialog { transition: none !important; animation: none !important; }
}