/* Base + shared components */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--vip-background); overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--vip-link); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.pve-container { width: 100%; max-width: var(--vip-container-width); margin: 0 auto; padding-left: var(--vip-gutter); padding-right: var(--vip-gutter); }
.pve-main { min-height: 40vh; padding-bottom: 40px; }
.pve-skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 1000; }
.pve-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--vip-primary); outline-offset: 2px; }
.pve-icon { flex: none; }
.pve-iconbtn { background: none; border: 0; padding: 8px; color: var(--vip-heading); display: inline-flex; align-items: center; justify-content: center; line-height: 0; border-radius: 50%; }
.pve-iconbtn:hover { color: var(--vip-primary); }

/* Tags + media */
.pve-tag { display: inline-block; background: var(--vip-primary); color: #fff; font: 700 11px/1 var(--vip-font-card); padding: 5px 8px; border-radius: var(--vip-radius); letter-spacing: .2px; }
.pve-media { display: block; position: relative; overflow: hidden; background: var(--vip-surface-soft); aspect-ratio: 3 / 2; }
.pve-media img { width: 100%; height: 100%; object-fit: cover; }
.pve-media--empty { background: var(--vip-border); }

/* Section header */
.pve-section { margin-top: 36px; }
.pve-section-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--sec, var(--vip-primary)); margin-bottom: 18px; }
.pve-section-title { font-size: 22px; font-weight: 800; margin: 0; padding-bottom: 8px; color: var(--vip-heading); position: relative; }
.pve-section-head .pve-section-title { border-bottom: 0; }
.pve-section-head--dark .pve-section-title { color: #fff; }

/* Buttons */
.pve-more { display: inline-block; background: var(--vip-primary); color: #fff !important; font: 700 14px/1 var(--vip-font-card); padding: 12px 22px; text-decoration: none; border: 0; border-radius: var(--vip-radius); }
.pve-more:hover { filter: brightness(1.1); }
.pve-more--inline { padding: 6px 12px; font-size: 12px; margin-bottom: 8px; }
.pve-more-wrap { text-align: center; margin-top: 22px; }

/* Cards */
.pve-card { position: relative; min-width: 0; }
.pve-card--h { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--vip-border); }
.pve-card--stack .pve-card__body { padding-top: 10px; }
.pve-card--compact { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--vip-border); align-items: start; }
.pve-card--compact .pve-media { aspect-ratio: 1; }
.pve-card--compact:not(:has(.pve-media)) { grid-template-columns: 1fr; }
.pve-card--compact .pve-tag { margin-bottom: 4px; }
.pve-card--text { position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--vip-border); }
.pve-card--text::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--bullet, var(--vip-primary)); }
.pve-card--text .pve-title { margin: 0; }
.pve-card--overlay { overflow: hidden; background: #111; aspect-ratio: 16 / 10; }
.pve-card--overlay.pve-card--tall { aspect-ratio: 4 / 3; }
.pve-card--overlay .pve-card__link { position: absolute; inset: 0; }
.pve-card--overlay img { width: 100%; height: 100%; object-fit: cover; }
.pve-card--overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 65%); pointer-events: none; }
.pve-card__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; z-index: 2; }
.pve-card__over .pve-title { font-size: 22px; }
.pve-card__over .pve-excerpt { color: #e8e8e8; }
.pve-card--noimg { background: linear-gradient(135deg, #333, #111); }
.pve-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.pve-play:hover { background: var(--vip-primary); }

/* Ads */
.pve-ad { margin: 16px auto; text-align: center; max-width: var(--vip-container-width); padding: 0 var(--vip-gutter); }
.pve-ad--left { text-align: left; } .pve-ad--right { text-align: right; }
.pve-ad__label { display: block; font-size: 10px; color: var(--vip-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.pve-ad img { display: inline-block; max-width: 100%; height: auto; }
.pve-ad__body { overflow: hidden; max-width: 100%; }
.pve-sidebar .pve-ad, .pve-single-side .pve-ad { padding: 0; }

/* Breadcrumb */
.pve-breadcrumb { font-size: 13px; color: var(--vip-muted); margin: 14px 0; }
.pve-breadcrumb a { color: var(--vip-muted); text-decoration: none; }
.pve-breadcrumb a:hover { color: var(--vip-primary); }
.pve-breadcrumb__sep { margin: 0 6px; }

/* Widgets & ranking */
.pve-widget { margin-bottom: 28px; }
.pve-widget__title { font-size: 20px; font-weight: 800; border-bottom: 3px solid var(--vip-primary); padding-bottom: 8px; margin-bottom: 14px; }
.pve-ranking__list { counter-reset: r; }
.pve-ranking__item { display: grid; grid-template-columns: 44px 76px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--vip-border); }
.pve-ranking__num { font: 900 38px/1 var(--vip-font-headline); color: #c9c9c9; text-align: center; }
.pve-ranking__media { aspect-ratio: 1; }
.pve-ranking__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.pve-ranking__title a { color: var(--vip-heading); text-decoration: none; }
.pve-ranking__title a:hover { color: var(--vip-primary); }
.pve-embed { position: relative; aspect-ratio: 16 / 9; }
.pve-embed iframe, .pve-embed video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Forms */
.pve-searchform { display: flex; width: 100%; }
.pve-searchform__input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--vip-border); border-right: 0; background: var(--vip-input-bg); color: var(--vip-text); font: inherit; border-radius: var(--vip-radius) 0 0 var(--vip-radius); }
.pve-searchform__btn { background: var(--vip-primary); color: #fff; border: 0; padding: 0 16px; border-radius: 0 var(--vip-radius) var(--vip-radius) 0; display: flex; align-items: center; }
input[type=text], input[type=email], input[type=url], input[type=search], textarea { background: var(--vip-input-bg); color: var(--vip-text); border: 1px solid var(--vip-border); padding: 10px; max-width: 100%; font: inherit; }

/* Pagination */
.pagination .nav-links, .navigation.pagination .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--vip-border); text-decoration: none; color: var(--vip-heading); }
.page-numbers.current { background: var(--vip-primary); color: #fff; border-color: var(--vip-primary); }

/* Video modal */
.pve-video-modal { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pve-video-modal[hidden] { display: none; }
.pve-video-modal__close { position: absolute; top: 12px; right: 12px; color: #fff; }
.pve-video-modal__body { width: min(960px, 100%); aspect-ratio: 16 / 9; }
.pve-video-modal__body iframe, .pve-video-modal__body video { width: 100%; height: 100%; }

/* WhatsApp */
.pve-wa { position: fixed; bottom: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.pve-wa--right { right: 18px; } .pve-wa--left { left: 18px; }

/* Social */
.pve-social { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pve-social a { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--vip-border); border-radius: 50%; color: var(--vip-heading); }
.pve-social a:hover { background: var(--vip-primary); color: #fff; border-color: var(--vip-primary); }

/* Carousel */
.pve-carousel { position: relative; }
.pve-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.pve-carousel__track::-webkit-scrollbar { display: none; }
.pve-carousel__item { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; min-width: 0; }
.pve-carousel__btn { position: absolute; top: 40%; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--vip-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.pve-carousel__btn--prev { left: -12px; } .pve-carousel__btn--next { right: -12px; }
.pve-carousel__btn[disabled] { opacity: .35; cursor: default; }
.pve-empty { color: var(--vip-muted); padding: 24px 0; }
.pve-avatar { border-radius: 50%; object-fit: cover; }
