

.wb-pmeta {
    --wb-pmeta-label-spacing: 8px;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.wb-pmeta__item {
    display: flex;
    align-items: center;
}

.wb-pmeta__label {
    color: #6B7280;
    flex-shrink: 0;
    margin-right: var(--wb-pmeta-label-spacing);
}

.wb-pmeta__value {
    color: #1F2937;
}

.wb-pmeta__value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wb-pmeta__value a:hover {
    color: #8B1A2B;
}

.wb-pmeta__divider {
    border: 0;
    border-top: 1px solid #E5E7EB;
    margin: 10px 0;
    width: 100%;
}

.wb-pmeta.wb-pmeta--table {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
}
.wb-pmeta.wb-pmeta--table .wb-pmeta__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
}
.wb-pmeta.wb-pmeta--table .wb-pmeta__label {
    margin-right: var(--wb-pmeta-label-spacing);
    margin-bottom: 0;
}
.wb-pmeta.wb-pmeta--table .wb-pmeta__divider { display: block; }

.wb-pmeta.wb-pmeta--stacked {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
}
.wb-pmeta.wb-pmeta--stacked .wb-pmeta__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.wb-pmeta.wb-pmeta--stacked .wb-pmeta__label {
    margin-right: 0;
    margin-bottom: 2px;
}
.wb-pmeta.wb-pmeta--stacked .wb-pmeta__divider { display: block; }

.wb-pmeta.wb-pmeta--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.wb-pmeta.wb-pmeta--inline .wb-pmeta__divider {
    display: none;
}
.wb-pmeta.wb-pmeta--inline .wb-pmeta__item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
}
.wb-pmeta.wb-pmeta--inline .wb-pmeta__label {
    margin-right: var(--wb-pmeta-label-spacing);
    margin-bottom: 0;
}

.wb-pmeta.wb-pmeta--inline .wb-pmeta__value {
    flex: 0 0 auto;
    width: auto;
}
.wb-pmeta.wb-pmeta--inline .wb-pmeta__btn {
    display: inline-flex;
    width: auto;
}

@media (max-width: 1024px) {
    .wb-pmeta.wb-pmeta--tablet-table {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }
    .wb-pmeta.wb-pmeta--tablet-table .wb-pmeta__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
    }
    .wb-pmeta.wb-pmeta--tablet-table .wb-pmeta__label {
        margin-right: var(--wb-pmeta-label-spacing);
        margin-bottom: 0;
    }
    .wb-pmeta.wb-pmeta--tablet-table .wb-pmeta__divider { display: block; }

    .wb-pmeta.wb-pmeta--tablet-stacked {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }
    .wb-pmeta.wb-pmeta--tablet-stacked .wb-pmeta__item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .wb-pmeta.wb-pmeta--tablet-stacked .wb-pmeta__label {
        margin-right: 0;
        margin-bottom: 2px;
    }
    .wb-pmeta.wb-pmeta--tablet-stacked .wb-pmeta__divider { display: block; }

    .wb-pmeta.wb-pmeta--tablet-inline {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
    .wb-pmeta.wb-pmeta--tablet-inline .wb-pmeta__divider {
        display: none;
    }
    .wb-pmeta.wb-pmeta--tablet-inline .wb-pmeta__item {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
        width: auto;
    }
    .wb-pmeta.wb-pmeta--tablet-inline .wb-pmeta__label {
        margin-right: var(--wb-pmeta-label-spacing);
        margin-bottom: 0;
    }
    .wb-pmeta.wb-pmeta--tablet-inline .wb-pmeta__value,
    .wb-pmeta.wb-pmeta--tablet-inline .wb-pmeta__btn {
        flex: 0 0 auto;
        width: auto;
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .wb-pmeta.wb-pmeta--mobile-table {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }
    .wb-pmeta.wb-pmeta--mobile-table .wb-pmeta__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
    }
    .wb-pmeta.wb-pmeta--mobile-table .wb-pmeta__label {
        margin-right: var(--wb-pmeta-label-spacing);
        margin-bottom: 0;
    }
    .wb-pmeta.wb-pmeta--mobile-table .wb-pmeta__divider { display: block; }

    .wb-pmeta.wb-pmeta--mobile-stacked {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }
    .wb-pmeta.wb-pmeta--mobile-stacked .wb-pmeta__item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .wb-pmeta.wb-pmeta--mobile-stacked .wb-pmeta__label {
        margin-right: 0;
        margin-bottom: 2px;
    }
    .wb-pmeta.wb-pmeta--mobile-stacked .wb-pmeta__divider { display: block; }

    .wb-pmeta.wb-pmeta--mobile-inline {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
    .wb-pmeta.wb-pmeta--mobile-inline .wb-pmeta__divider {
        display: none;
    }
    .wb-pmeta.wb-pmeta--mobile-inline .wb-pmeta__item {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
        width: auto;
    }
    .wb-pmeta.wb-pmeta--mobile-inline .wb-pmeta__label {
        margin-right: var(--wb-pmeta-label-spacing);
        margin-bottom: 0;
    }
    .wb-pmeta.wb-pmeta--mobile-inline .wb-pmeta__value,
    .wb-pmeta.wb-pmeta--mobile-inline .wb-pmeta__btn {
        flex: 0 0 auto;
        width: auto;
        display: inline-flex;
    }
}

.wb-pmeta__badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.wb-pmeta__badge-img {
    display: inline-block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    vertical-align: middle;
    border: 0 solid #E5E7EB;
    border-radius: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.wb-pmeta__badge-img:hover {
    transform: scale(1.08);
}

.wb-pmeta__item--badge_icons {
    display: flex;
    align-items: center;
}

.wb-pmeta__item--badge_icons .wb-pmeta__value {
    flex: 1;
}

.wb-pmeta__value a.wb-pmeta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 20px;
    background-color: #8B1A2B;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.15s ease;
    border: none;
    box-sizing: border-box;
}

.wb-pmeta__value a.wb-pmeta__btn:hover {
    background-color: #6B1420;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.wb-pmeta__value a.wb-pmeta__btn:active {
    transform: translateY(0);
}

.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon i,
.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon svg,
.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon img {
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon svg,
.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-icon svg {
    fill: currentColor;
}

.wb-pmeta__value a.wb-pmeta__btn .wb-pmeta__btn-native-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {
    .wb-pmeta__value a.wb-pmeta__btn {
        padding: 7px 16px;
        font-size: 13px;
    }

    .wb-pmeta__label {
        font-size: 13px;
    }

    .wb-pmeta__value {
        font-size: 13px;
    }
}

.wb-pmeta.wb-pmeta-btn-full .wb-pmeta__value {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto;
}
.wb-pmeta.wb-pmeta-btn-full .wb-pmeta__item .wb-pmeta__btn,
.wb-pmeta.wb-pmeta-btn-full .wb-pmeta__btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
}

@media (max-width: 1024px) {
    .wb-pmeta.wb-pmeta-btn-tablet-full .wb-pmeta__value {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto;
    }
    .wb-pmeta.wb-pmeta-btn-tablet-full .wb-pmeta__item .wb-pmeta__btn,
    .wb-pmeta.wb-pmeta-btn-tablet-full .wb-pmeta__btn {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .wb-pmeta.wb-pmeta-btn-mobile-full .wb-pmeta__value {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto;
    }
    .wb-pmeta.wb-pmeta-btn-mobile-full .wb-pmeta__item .wb-pmeta__btn,
    .wb-pmeta.wb-pmeta-btn-mobile-full .wb-pmeta__btn {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }
}

.wb-pmeta__yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    background: #FF0000;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .12s;
}
.wb-pmeta__yt-btn:hover  { background: #cc0000; transform: translateY(-1px); }
.wb-pmeta__yt-btn:active { transform: translateY(0); }

.wb-pmeta__yt-thumb {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.wb-pmeta__item--youtube_video { display: block !important; }
.wb-pmeta__item--youtube_video .wb-pmeta__value { display: block; width: 100%; flex: 1 1 100%; }
.wb-pmeta__yt-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}
.wb-pmeta__yt-thumb:hover img { transform: scale(1.04); }
.wb-pmeta__yt-play {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255,0,0,.92);
    color: #fff;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    transition: background .2s, transform .12s;
}
.wb-pmeta__yt-thumb:hover .wb-pmeta__yt-play { background: #ff0000; transform: translate(-50%, -50%) scale(1.08); }

.wb-yt-modal {
    position: fixed; inset: 0;
    display: none;
    z-index: 999999;
}
.wb-yt-modal.is-open { display: block; }
.wb-yt-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.85);
    animation: wb-yt-fade .18s ease;
}
.wb-yt-modal__dialog {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 1100px);
    max-height: 92vh;
    animation: wb-yt-pop .22s ease;
}
.wb-yt-modal__close {
    position: absolute;
    top: -42px; right: -6px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
}
.wb-yt-modal__close:hover { background: rgba(255,255,255,.28); }

.wb-yt-modal__frame-wrap {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.wb-yt-modal__frame-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.wb-yt-modal__frame-wrap--16-9 { aspect-ratio: 16 / 9; }
.wb-yt-modal__frame-wrap--9-16 { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
.wb-yt-modal__frame-wrap--4-3  { aspect-ratio: 4 / 3;  }
.wb-yt-modal__frame-wrap--1-1  { aspect-ratio: 1 / 1;  max-width: 560px; margin: 0 auto; }

body.wb-yt-modal-open { overflow: hidden; }

@keyframes wb-yt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wb-yt-pop  { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

@media (max-width: 640px) {
    .wb-pmeta__yt-thumb { width: 100%; }
    .wb-yt-modal__close { top: -40px; right: 0; }
}

.wb-pmeta-carousel-wrap { position: relative; margin: 18px 0; }
.wb-pmeta-carousel__heading {
    font-size: 18px; font-weight: 700; margin: 0 0 12px; color: #1F2937;
}

.wb-pmeta-carousel {
    --wb-pmc-per-view: 3;
    --wb-pmc-gap: 16px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--wb-pmc-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    box-sizing: border-box;
}
.wb-pmeta-carousel::-webkit-scrollbar { display: none; }

.wb-pmeta-carousel > .wb-pmc-slide {
    flex: 0 0 calc((100% - (var(--wb-pmc-per-view) - 1) * var(--wb-pmc-gap)) / var(--wb-pmc-per-view)) !important;
    max-width: calc((100% - (var(--wb-pmc-per-view) - 1) * var(--wb-pmc-gap)) / var(--wb-pmc-per-view));
    scroll-snap-align: start;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    background: #F9FAFB;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.wb-pmc-slide__image {
    width: 100%; aspect-ratio: 16 / 10; background: #E5E7EB;
    overflow: hidden; flex-shrink: 0;
}
.wb-pmc-slide__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wb-pmc-slide__content { padding: 14px 16px; flex: 1; }
.wb-pmc-slide__title { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #111827; line-height: 1.3; }
.wb-pmc-slide__body  { font-size: 13px; line-height: 1.55; color: #4B5563; }
.wb-pmc-slide__body p:first-child { margin-top: 0; }
.wb-pmc-slide__body p:last-child  { margin-bottom: 0; }

.wb-pmc-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; width: 36px; height: 36px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.95); color: #111827;
    cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: transform .15s, opacity .15s;
}
.wb-pmc-nav:hover  { transform: translateY(-50%) scale(1.08); background: #fff; }
.wb-pmc-nav:disabled { opacity: 0; pointer-events: none; }
.wb-pmc-nav--prev { left: -14px; }
.wb-pmc-nav--next { right: -14px; }

.wb-pmc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.wb-pmc-dot {
    width: 8px; height: 8px; border-radius: 50%;
    border: 0; background: #D1D5DB; cursor: pointer; padding: 0;
    transition: background .15s, transform .15s;
}
.wb-pmc-dot.is-active { background: #111827; transform: scale(1.3); }

@media (max-width: 767px) {
    .wb-pmc-nav--prev { left: 4px; }
    .wb-pmc-nav--next { right: 4px; }
    .wb-pmc-nav { width: 32px; height: 32px; }
}
