/*
 * Tech Hub editorial components
 * Navigation, focus stories, context sidebars, archive cards and media surfaces.
 */

:root {
    --th-tech-950: #07111f;
    --th-tech-900: #0b1729;
    --th-tech-800: #10233d;
    --th-tech-700: #123a62;
    --th-cyan: #22c7f2;
    --th-electric: #3877ff;
    --th-violet: #7165ff;
}

/* Persistent navigation and mega menu */
.bonton-refresh #main-menu-cv {
    position: relative;
    z-index: 120;
    width: 100%;
    border-top: 1px solid var(--th-line);
    border-bottom: 1px solid var(--th-line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(18, 24, 38, 0.04);
    backdrop-filter: blur(18px) saturate(150%);
}

.bonton-refresh #main-menu-cv.sticky {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 36px rgba(7, 17, 31, 0.14);
}

.bonton-refresh #main-menu-cv .flex-navi {
    position: relative;
    width: min(100%, var(--th-container));
    margin-inline: auto;
}

.bonton-refresh #main-menu-cv .navbar-nav,
.bonton-refresh #main-menu-cv .nav-item {
    position: static;
}

.bonton-refresh .mega-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    display: grid;
    grid-template-columns: minmax(160px, 0.75fr) minmax(180px, 0.8fr) minmax(0, 2.45fr);
    gap: 28px;
    width: 100%;
    padding: 28px;
    visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 18px 18px;
    background:
        radial-gradient(circle at 88% 0%, rgba(34, 199, 242, 0.15), transparent 26%),
        linear-gradient(145deg, var(--th-tech-950), var(--th-tech-900));
    box-shadow: 0 28px 70px rgba(7, 17, 31, 0.28);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.bonton-refresh .has-mega-menu:hover > .mega-menu,
.bonton-refresh .has-mega-menu:focus-within > .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.bonton-refresh .mega-menu__eyebrow,
.bonton-refresh .sidebar-module__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--th-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bonton-refresh .mega-menu__intro h2 {
    margin: 0 0 18px;
    color: #f7f9fc;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.bonton-refresh .mega-menu__all,
.bonton-refresh .sidebar-module__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9c7d9;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.bonton-refresh .mega-menu__all:hover,
.bonton-refresh .sidebar-module__link:hover {
    color: #fff;
}

.bonton-refresh .mega-menu__topics {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.bonton-refresh .mega-menu__topics a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #c5d0df;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bonton-refresh .mega-menu__topics a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.bonton-refresh .mega-menu__stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bonton-refresh .mega-menu__story {
    min-width: 0;
}

.bonton-refresh .mega-menu__media {
    display: block;
    height: 112px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.bonton-refresh .mega-menu__media img,
.bonton-refresh .mega-menu__media .tech-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonton-refresh .mega-menu__story span {
    display: block;
    margin-top: 9px;
    color: #718097;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bonton-refresh .mega-menu__story h3 {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.32;
}

.bonton-refresh .mega-menu__story h3 a {
    color: #eef3f9;
    text-decoration: none;
}

.bonton-refresh .mega-menu__story h3 a:hover {
    color: var(--th-cyan);
}

/* Reusable generated-image placeholder */
.bonton-refresh .tech-placeholder {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 120px;
    place-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(34, 199, 242, 0.25), transparent 22%),
        radial-gradient(circle at 28% 78%, rgba(113, 101, 255, 0.22), transparent 28%),
        linear-gradient(145deg, #0d1d32, #132a47);
    color: #dceafa;
    text-align: center;
}

.bonton-refresh .tech-placeholder::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    content: "";
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.bonton-refresh .tech-placeholder__mark,
.bonton-refresh .tech-placeholder__label {
    position: relative;
    z-index: 1;
}

.bonton-refresh .tech-placeholder__mark {
    color: var(--th-cyan);
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}

.bonton-refresh .tech-placeholder__label {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Top-theme focus remains the primary editorial hero */
.bonton-refresh .archive-focus {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 14px;
    margin-bottom: 30px;
}

.bonton-refresh .archive-focus__secondary {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bonton-refresh .focus-story {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--th-tech-900);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .focus-story--lead {
    min-height: 456px;
}

.bonton-refresh .focus-story__media,
.bonton-refresh .focus-story__media img,
.bonton-refresh .focus-story__media .tech-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.bonton-refresh .focus-story__media img {
    object-fit: cover;
}

.bonton-refresh .focus-story__overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(6, 13, 24, 0.96), rgba(6, 13, 24, 0.08));
}

.bonton-refresh .focus-story__overlay h2 {
    margin: 7px 0 0;
    color: #f7f9fc;
    font-family: "Roboto", sans-serif;
    font-size: clamp(22px, 2.8vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.bonton-refresh .focus-story--secondary .focus-story__overlay {
    padding: 22px;
}

.bonton-refresh .focus-story--secondary .focus-story__overlay h2 {
    font-size: clamp(18px, 1.7vw, 24px);
}

.bonton-refresh .focus-story__overlay h2 a {
    color: inherit;
    text-decoration: none;
}

.bonton-refresh .focus-story__overlay p {
    max-width: 62ch;
    margin: 12px 0 0;
    color: #b8c4d4;
    line-height: 1.55;
}

.bonton-refresh .focus-story__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bonton-refresh .focus-story__tags a,
.bonton-refresh .archive-card__tags a,
.bonton-refresh .related-story__tags a {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.bonton-refresh .focus-story__overlay > span {
    color: var(--th-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Content and floating contextual sidebar */
.bonton-refresh .content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.bonton-refresh .archive-content {
    margin-top: 0;
}

.bonton-refresh .archive-feed,
.bonton-refresh .home-feed {
    min-width: 0;
}

.bonton-refresh .context-sidebar {
    position: sticky;
    top: 72px;
    min-width: 0;
    max-height: calc(100vh - 92px);
}

.bonton-refresh .context-sidebar__rail {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bonton-refresh .context-sidebar__rail > * {
    min-width: 0;
    flex-shrink: 0;
}

.bonton-refresh .sidebar-module,
.bonton-refresh .sidebar-widget {
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .sidebar-module {
    padding: 20px;
}

.bonton-refresh .sidebar-widget {
    padding: 18px;
}

.bonton-refresh .context-sidebar .cv-widget,
.bonton-refresh .context-sidebar .switchers,
.bonton-refresh .context-sidebar .widget-box {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bonton-refresh .context-sidebar .switchers .btn-group {
    width: 100%;
    padding: 4px;
    border-radius: 9px;
    background: var(--th-surface-soft);
}

.bonton-refresh .context-sidebar .switchers .btn-group button {
    min-height: 36px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
}

.bonton-refresh .context-sidebar .small-inline-news {
    padding: 12px 0;
    border-bottom: 1px solid var(--th-line);
}

.bonton-refresh .context-sidebar .small-inline-news:last-child {
    border-bottom: 0;
}

/* Context-aware video list: isolated from legacy Swiper card rules. */
.bonton-refresh .video-sidebar-widget {
    padding: 18px;
}

.bonton-refresh .video-sidebar-widget__header {
    margin-bottom: 14px;
}

.bonton-refresh .video-sidebar-widget__header span {
    display: block;
    margin-bottom: 4px;
    color: var(--th-accent-deep);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bonton-refresh .video-sidebar-widget__header h2 {
    margin: 0;
    color: var(--th-ink);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.bonton-refresh .video-sidebar-widget__list {
    max-height: min(680px, 72vh);
    padding-right: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #bdcad5 transparent;
    scrollbar-width: thin;
}

.bonton-refresh .video-sidebar-widget__item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--th-line);
}

.bonton-refresh .video-sidebar-widget__item:first-child {
    padding-top: 0;
}

.bonton-refresh .video-sidebar-widget__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bonton-refresh .video-sidebar-widget__thumb {
    position: relative;
    width: 104px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 9px;
    background: var(--th-tech-900);
}

.bonton-refresh .video-sidebar-widget__thumb > a,
.bonton-refresh .video-sidebar-widget__thumb img,
.bonton-refresh .video-sidebar-widget__thumb .cv-video-iframe-wrap,
.bonton-refresh .video-sidebar-widget__thumb iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.bonton-refresh .video-sidebar-widget__thumb img {
    object-fit: cover;
}

.bonton-refresh .video-sidebar-widget__play {
    position: absolute;
    z-index: 2;
    left: 8px;
    bottom: 8px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(7, 17, 31, 0.78);
    pointer-events: none;
}

.bonton-refresh .video-sidebar-widget__play i {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid #fff;
}

.bonton-refresh .video-sidebar-widget__thumb.is-playing .video-sidebar-widget__play {
    opacity: 0;
}

.bonton-refresh .video-sidebar-widget__body {
    min-width: 0;
}

.bonton-refresh .video-sidebar-widget__body time {
    display: block;
    margin-bottom: 4px;
    color: var(--th-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.bonton-refresh .video-sidebar-widget__body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--th-ink);
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bonton-refresh .video-sidebar-widget__body h3 a {
    color: inherit;
    text-decoration: none;
}

.bonton-refresh .video-sidebar-widget__body h3 a:hover {
    color: var(--th-accent-deep);
}

.bonton-refresh .video-sidebar-widget--slider {
    overflow: hidden;
}

.bonton-refresh .video-sidebar-widget__slider {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.bonton-refresh .video-sidebar-widget__slider .swiper-wrapper {
    align-items: flex-start;
}

.bonton-refresh .video-sidebar-widget__slide {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 12px;
    background: var(--th-surface);
}

.bonton-refresh .video-sidebar-widget__slide-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--th-tech-900);
}

.bonton-refresh .video-sidebar-widget__slide-thumb > a,
.bonton-refresh .video-sidebar-widget__slide-thumb img,
.bonton-refresh .video-sidebar-widget__slide-thumb .cv-video-iframe-wrap,
.bonton-refresh .video-sidebar-widget__slide-thumb iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.bonton-refresh .video-sidebar-widget__slide-thumb img {
    object-fit: cover;
}

.bonton-refresh .video-sidebar-widget__slide-body {
    min-height: 102px;
    padding: 13px 14px 15px;
}

.bonton-refresh .video-sidebar-widget__slide-body time {
    display: block;
    margin-bottom: 5px;
    color: var(--th-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.bonton-refresh .video-sidebar-widget__slide-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--th-ink);
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bonton-refresh .video-sidebar-widget__slide-body h3 a {
    color: inherit;
    text-decoration: none;
}

.bonton-refresh .video-sidebar-widget__slider .swiper-button-prev,
.bonton-refresh .video-sidebar-widget__slider .swiper-button-next {
    top: calc((100% - 102px) / 2);
    width: 42px;
    height: 42px;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(8, 24, 42, 0.72);
    color: #fff;
    box-shadow: 0 8px 22px rgba(18, 24, 38, 0.18);
    backdrop-filter: blur(6px);
}

.bonton-refresh .video-sidebar-widget__slider .swiper-button-prev { left: 9px; }
.bonton-refresh .video-sidebar-widget__slider .swiper-button-next { right: 9px; }

.bonton-refresh .video-sidebar-widget__slider .swiper-button-prev:hover,
.bonton-refresh .video-sidebar-widget__slider .swiper-button-next:hover {
    background: var(--th-accent);
}

.bonton-refresh .video-sidebar-widget__slider .swiper-button-prev::after,
.bonton-refresh .video-sidebar-widget__slider .swiper-button-next::after {
    font-size: 18px;
}

/* Repair the legacy news/video slider when editors place it in a sidebar. */
.bonton-refresh .context-sidebar .slider-widget-sidebar {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .relative {
    margin-bottom: 14px;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-wrapper {
    height: auto;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-slide {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 12px;
    background: var(--th-surface);
    text-align: left;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-slide > a {
    display: block;
    width: auto;
    height: auto;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .slide {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .slide > img,
.bonton-refresh .context-sidebar .slider-widget-sidebar .cv-video-thumb,
.bonton-refresh .context-sidebar .slider-widget-sidebar .cv-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .slide-title {
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    padding: 38px 14px 14px;
    background: linear-gradient(to top, rgba(7, 17, 31, 0.94), transparent);
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .slide-title h5 {
    display: -webkit-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-button-next,
.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-button-prev {
    width: 38px;
    height: 38px;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 50%;
    transform: translateY(-50%);
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-button-next {
    right: 8px;
}

.bonton-refresh .context-sidebar .slider-widget-sidebar .swiper-button-prev {
    left: 8px;
}

.bonton-refresh .weekly-summary-card h2,
.bonton-refresh .weekly-summary-index h2 {
    margin: 0 0 14px;
    color: var(--th-ink);
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.bonton-refresh .weekly-summary-card__media {
    display: block;
    height: 150px;
    overflow: hidden;
    margin-inline: -20px;
    background: var(--th-tech-900);
}

.bonton-refresh .weekly-summary-card__media img,
.bonton-refresh .weekly-summary-card__media .tech-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonton-refresh .weekly-summary-card__body {
    padding-top: 16px;
}

.bonton-refresh .weekly-summary-card__date {
    color: var(--th-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.bonton-refresh .weekly-summary-card h3 {
    margin: 6px 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.bonton-refresh .weekly-summary-card h3 a,
.bonton-refresh .weekly-summary-index a {
    color: var(--th-ink);
    text-decoration: none;
}

.bonton-refresh .weekly-summary-card p {
    margin: 0 0 14px;
    color: var(--th-muted);
    font-size: 13px;
    line-height: 1.55;
}

.bonton-refresh .weekly-summary-card .sidebar-module__link {
    color: var(--th-accent-deep);
}

.bonton-refresh .weekly-summary-index__list {
    display: flex;
    flex-direction: column;
}

.bonton-refresh .weekly-summary-index__list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--th-line);
}

.bonton-refresh .weekly-summary-index__list a:last-child {
    border-bottom: 0;
}

.bonton-refresh .weekly-summary-index__list span {
    color: var(--th-accent-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bonton-refresh .weekly-summary-index__list strong {
    grid-column: 1;
    font-size: 13px;
    line-height: 1.35;
}

.bonton-refresh .weekly-summary-index__list i {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--th-accent);
    font-style: normal;
}

/* Legacy sidebar widgets normalized into the same single-surface system */
.bonton-refresh .context-sidebar .cv-widget {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    box-sizing: border-box;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .context-sidebar .sidebar-widget > .cv-widget {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bonton-refresh .context-sidebar .togglers {
    padding-top: 8px;
}

.bonton-refresh .context-sidebar .small-inline-news,
.bonton-refresh .context-sidebar .small-inline-news:first-of-type {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--th-line);
}

.bonton-refresh .context-sidebar .small-inline-news.has-thumb {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
}

.bonton-refresh .context-sidebar .small-inline-news .cv-thumb {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--th-surface-soft);
}

.bonton-refresh .context-sidebar .small-inline-news .cv-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.bonton-refresh .context-sidebar .small-inline-news .cv-content,
.bonton-refresh .context-sidebar .small-inline-news .t-placeholder {
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding: 0;
    overflow-wrap: anywhere;
}

.bonton-refresh .context-sidebar .small-inline-news .cv-content > a {
    color: var(--th-ink);
    font-family: "Roboto", sans-serif;
    text-decoration: none;
}

.bonton-refresh .context-sidebar .small-inline-news .hr {
    margin: 0;
    border: 0;
}

.bonton-refresh .context-sidebar .small-inline-news h3,
.bonton-refresh .context-sidebar .small-inline-news .cv-content h3 {
    margin: 0;
    color: var(--th-ink);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.bonton-refresh .context-sidebar .small-inline-news .date {
    display: block;
    margin-bottom: 4px;
    color: var(--th-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.bonton-refresh .context-sidebar .small-inline-news .cat {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 7px;
}

.bonton-refresh .context-sidebar .small-inline-news .cat li a {
    padding: 3px 6px;
    border-radius: 999px;
    color: var(--th-muted);
    background: var(--th-surface-soft);
    font-size: 8px;
}

.bonton-refresh .context-sidebar .switchers .btn-group button {
    position: relative;
    padding: 0 8px;
    border-bottom: 0;
    color: var(--th-muted);
}

.bonton-refresh .context-sidebar .switchers .btn-group button.is-active {
    color: var(--th-ink);
    background: var(--th-surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.bonton-refresh .context-sidebar .show-side-news {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    border: 1px solid var(--th-line);
    border-radius: 999px;
    color: var(--th-ink-soft);
    background: var(--th-surface);
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Archive feed */
.bonton-refresh .archive-card {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 210px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 15px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .archive-card__media {
    display: block;
    min-height: 100%;
    background: var(--th-surface-soft);
}

.bonton-refresh .archive-card__media img,
.bonton-refresh .archive-card__media .tech-placeholder {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.bonton-refresh .archive-card__content {
    align-self: center;
    padding: 22px 24px;
}

.bonton-refresh .archive-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.bonton-refresh .archive-card__tags a {
    background: var(--th-surface-soft);
    color: var(--th-ink-soft);
}

.bonton-refresh .archive-card time {
    color: var(--th-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.bonton-refresh .archive-card h2 {
    margin: 7px 0 8px;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.bonton-refresh .archive-card h2 a {
    color: var(--th-ink);
    text-decoration: none;
}

.bonton-refresh .archive-card p {
    margin: 0;
    color: var(--th-muted);
    font-size: 14px;
    line-height: 1.55;
}

.bonton-refresh .archive-card__more {
    display: inline-flex;
    gap: 7px;
    margin-top: 12px;
    color: var(--th-accent-deep);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* Single article and contextual sidebar */
.bonton-refresh .single-layout {
    align-items: start;
}

.bonton-refresh .single-article {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 18px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .single-article__header {
    padding: 24px 32px 28px;
}

.bonton-refresh .single-article__header .breadcrumbs-single {
    padding: 0 0 20px;
}

.bonton-refresh .single-article__header h1 {
    max-width: 24ch;
    margin: 0;
    color: var(--th-ink);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.bonton-refresh .single-article__meta {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    color: var(--th-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bonton-refresh .single-article__hero {
    margin: 0;
    background: var(--th-tech-900);
}

.bonton-refresh .single-article__hero > img,
.bonton-refresh .single-article__hero > .tech-placeholder {
    width: 100%;
    min-height: 430px;
    max-height: 650px;
    object-fit: cover;
}

.bonton-refresh .single-article__hero figcaption {
    padding: 8px 18px;
    color: var(--th-muted);
    background: var(--th-surface-soft);
    font-size: 11px;
}

.bonton-refresh .single-related {
    margin-top: 30px;
}

.bonton-refresh .related-stories {
    padding: 24px;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .related-stories__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.bonton-refresh .related-stories__header h2 {
    margin: 0;
    font-size: 23px;
}

.bonton-refresh .related-stories__header span {
    flex: 1;
    height: 1px;
    background: var(--th-line);
}

.bonton-refresh .related-stories .vezano {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bonton-refresh .related-stories .swiper-wrapper {
    align-items: stretch;
}

.bonton-refresh .related-story {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 12px;
    background: var(--th-surface);
    text-align: left;
}

.bonton-refresh .related-stories .related-story__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--th-line);
}

.bonton-refresh .related-story__media img,
.bonton-refresh .related-story__media .tech-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonton-refresh .related-story__body {
    width: 100%;
    padding: 14px;
}

.bonton-refresh .related-story__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bonton-refresh .related-story__tags a {
    display: inline-flex;
    width: auto;
    height: auto;
    background: var(--th-surface-soft);
    color: var(--th-muted);
    white-space: nowrap;
}

.bonton-refresh .related-story h3 {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.3;
}

.bonton-refresh .related-story h3 a {
    display: inline;
    width: auto;
    height: auto;
    color: var(--th-ink);
    text-decoration: none;
}

.bonton-refresh .related-stories .swiper-button-next,
.bonton-refresh .related-stories .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(16, 34, 51, 0.2);
}

.bonton-refresh .related-stories .swiper-button-next {
    right: 8px;
}

.bonton-refresh .related-stories .swiper-button-prev {
    left: 8px;
}

.bonton-refresh .related-stories .swiper-button-next::after,
.bonton-refresh .related-stories .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 800;
}

/* Video showcase: cool technical palette instead of acid green */
.bonton-refresh .home-fun.video-showcase {
    position: relative;
    isolation: isolate;
    margin-top: 42px;
    padding: 48px max(24px, calc((100vw - var(--th-container)) / 2));
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(56, 119, 255, 0.38), transparent 25%),
        radial-gradient(circle at 15% 85%, rgba(113, 101, 255, 0.25), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0c2441 50%, #102d56 100%);
}

.bonton-refresh .home-fun.video-showcase::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(116, 207, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 207, 255, 0.055) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
    mask-image: linear-gradient(to right, #000, transparent 90%);
}

.bonton-refresh .video-showcase .cv-widget,
.bonton-refresh .video-showcase .swiper-container {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.bonton-refresh .video-showcase .relative {
    margin-bottom: 20px;
}

.bonton-refresh .video-showcase .relative hr {
    border-color: rgba(125, 218, 255, 0.24);
}

.bonton-refresh .video-showcase .fancy-title {
    color: #f6f9ff;
    background: linear-gradient(90deg, var(--th-electric), var(--th-violet));
}

.bonton-refresh .video-showcase .swiper-wrapper {
    padding: 0;
}

.bonton-refresh .video-showcase .swiper-slide {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(4, 11, 22, 0.72);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.bonton-refresh .video-showcase .slide-title {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    padding: 22px 14px 14px;
    background: linear-gradient(to top, rgba(3, 9, 18, 0.96), transparent);
}

.bonton-refresh .video-showcase .slide-title h5,
.bonton-refresh .video-showcase .slide-title .c0 {
    margin: 0;
    padding: 0;
    color: #f7f9fc;
    background: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.bonton-refresh .video-showcase .fun-overlay {
    background: linear-gradient(to top, rgba(2, 8, 16, 0.55), transparent 55%);
}

/* Homepage grid pairing */
.bonton-refresh .home-content {
    margin-top: 34px;
}

.bonton-refresh .home-feed.home-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.bonton-refresh .home-feed .home-title,
.bonton-refresh .home-feed .home-cats-slider {
    flex: 0 0 100%;
    width: 100%;
}

.bonton-refresh .home-feed > .custom-news {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
}

@media (max-width: 1100px) {
    .bonton-refresh .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 22px;
    }

    .bonton-refresh .mega-menu {
        grid-template-columns: 150px 160px minmax(0, 1fr);
        gap: 20px;
        padding: 22px;
    }
}

@media (max-width: 991px) {
    .bonton-refresh .content-with-sidebar,
    .bonton-refresh .archive-focus {
        grid-template-columns: 1fr;
    }

    .bonton-refresh .archive-focus__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .bonton-refresh .context-sidebar__rail {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bonton-refresh .context-sidebar .sidebar-widget:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .bonton-refresh .archive-focus__secondary,
    .bonton-refresh .context-sidebar__rail {
        grid-template-columns: 1fr;
    }

    .bonton-refresh .focus-story--lead {
        min-height: 500px;
    }

    .bonton-refresh .focus-story--lead .focus-story__overlay {
        padding: 24px;
        background: linear-gradient(to top, rgba(5, 12, 23, 0.99) 0%, rgba(5, 12, 23, 0.92) 64%, rgba(5, 12, 23, 0.18) 100%);
    }

    .bonton-refresh .focus-story--lead .focus-story__overlay h2 {
        margin-top: 10px;
        font-size: 29px;
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .bonton-refresh .focus-story--lead .focus-story__overlay p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
    }

    .bonton-refresh .archive-card {
        grid-template-columns: 1fr;
    }

    .bonton-refresh .archive-card__media,
    .bonton-refresh .archive-card__media img,
    .bonton-refresh .archive-card__media .tech-placeholder {
        min-height: 220px;
        height: 220px;
    }

    .bonton-refresh .single-article__header {
        padding: 20px;
    }

    .bonton-refresh .single-article__hero > img,
    .bonton-refresh .single-article__hero > .tech-placeholder {
        min-height: 240px;
    }

    .bonton-refresh .home-fun.video-showcase {
        margin-top: 30px;
        padding: 34px 14px;
    }

    .bonton-refresh .home-feed.home-flex {
        display: block;
    }

    .bonton-refresh .home-feed > .custom-news {
        max-width: 100%;
    }
}

/* 2026 structural polish: stable hero, category masthead, bounded floating rail and video archive. */
.bonton-refresh .archive-masthead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 104px;
    padding: 22px 28px;
    overflow: hidden;
    border: 1px solid rgba(95, 214, 255, 0.18);
    border-radius: 0 0 18px 18px;
    background:
        radial-gradient(circle at 92% -20%, rgba(34, 199, 242, 0.32), transparent 34%),
        linear-gradient(125deg, #07111f 0%, #0c2441 55%, #123a62 100%);
    box-shadow: 0 16px 42px rgba(7, 17, 31, 0.14);
    color: #fff;
}

.bonton-refresh .archive-masthead::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 26px 26px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000 70%, transparent);
    pointer-events: none;
}

.bonton-refresh .archive-masthead__title,
.bonton-refresh .archive-masthead__topics {
    position: relative;
    z-index: 1;
}

.bonton-refresh .archive-masthead__title span {
    display: block;
    margin-bottom: 3px;
    color: #74d9ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bonton-refresh .archive-masthead__title h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.bonton-refresh .archive-masthead__topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 76%;
    margin: 0;
}

.bonton-refresh .archive-masthead__topics a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #dce9f6;
    background: rgba(255,255,255,.07);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.bonton-refresh .archive-masthead__topics a:hover {
    border-color: rgba(116,217,255,.62);
    color: #fff;
    background: rgba(34,199,242,.16);
}

.bonton-refresh .editorial-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: stretch;
    margin-top: 28px;
    margin-bottom: 30px;
}

.bonton-refresh .editorial-hero .archive-focus {
    min-width: 0;
    height: 456px;
    margin: 0;
}

.bonton-refresh .focus-story,
.bonton-refresh .focus-story--lead {
    height: 100%;
    min-height: 0;
}

.bonton-refresh .focus-story__media {
    position: absolute;
    inset: 0;
}

.bonton-refresh .focus-story__media img,
.bonton-refresh .focus-story__media .tech-placeholder {
    position: absolute;
    inset: 0;
}

.bonton-refresh .editorial-hero__summary {
    min-width: 0;
}

.bonton-refresh .weekly-summary-card--hero,
.bonton-refresh .weekly-summary-index--hero {
    height: 456px;
    border-color: rgba(95,214,255,.2);
    background:
        radial-gradient(circle at 90% 8%, rgba(34,199,242,.18), transparent 27%),
        linear-gradient(155deg, #0a1728, #102743);
    box-shadow: 0 18px 48px rgba(7,17,31,.17);
    color: #fff;
}

.bonton-refresh .weekly-summary-card--hero h2,
.bonton-refresh .weekly-summary-card--hero h3 a,
.bonton-refresh .weekly-summary-index--hero h2,
.bonton-refresh .weekly-summary-index--hero strong {
    color: #fff;
}

.bonton-refresh .weekly-summary-card--hero p,
.bonton-refresh .weekly-summary-card--hero .weekly-summary-card__date {
    color: #aebed1;
}

.bonton-refresh .weekly-summary-card--hero .weekly-summary-card__media {
    height: 124px;
    border-block: 1px solid rgba(255,255,255,.1);
}

.bonton-refresh .weekly-summary-card--hero .sidebar-module__link {
    color: #74d9ff;
}

.bonton-refresh .weekly-summary-index--hero .weekly-summary-index__list a {
    padding: 10px 0;
    border-color: rgba(255,255,255,.1);
}

.bonton-refresh .weekly-summary-index--hero .weekly-summary-index__list span {
    color: #74d9ff;
}

.bonton-refresh .context-sidebar__rail {
    top: 72px;
    max-height: calc(100vh - 92px);
    padding-right: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(18,58,98,.4) transparent;
    scrollbar-width: thin;
}

.bonton-refresh .context-sidebar__rail::-webkit-scrollbar { width: 6px; }
.bonton-refresh .context-sidebar__rail::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(18,58,98,.35); }

.bonton-refresh .section-heading {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin: 0 0 18px;
    padding: 14px 18px 18px;
}

.bonton-refresh .section-heading > div { flex: none; }
.bonton-refresh .section-heading span { color: var(--th-accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.bonton-refresh .section-heading h2 { margin: 2px 0 0; color: var(--th-ink); font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
.bonton-refresh .section-heading i { flex: 1; height: 1px; margin-bottom: 7px; background: linear-gradient(90deg, var(--th-line-strong), transparent); }
.bonton-refresh .section-heading--compact { margin-top: 30px; }
.bonton-refresh .top-stories-strip { margin-bottom: 18px; }
.bonton-refresh .top-stories-strip .izdvojeno { margin-top: 0; }

.bonton-refresh .video-archive__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bonton-refresh .video-archive-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 16px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.bonton-refresh .video-archive-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow-md); }
.bonton-refresh .cv-video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #06101e; }
.bonton-refresh .video-archive-card__poster { position: absolute; inset: 0; display: block; }
.bonton-refresh .cv-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease, opacity 180ms ease; }
.bonton-refresh .video-archive-card:hover .cv-video-thumb img { transform: scale(1.035); }
.bonton-refresh .cv-video-iframe-wrap { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.bonton-refresh .cv-video-iframe-wrap iframe { display: block; width: 100%; height: 100%; }
.bonton-refresh .cv-video-thumb.is-playing img { opacity: 0; }
.bonton-refresh .video-play-mark { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(7,17,31,.8); box-shadow: 0 8px 22px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.bonton-refresh .video-play-mark i { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid #fff; }
.bonton-refresh .video-archive-card__body { padding: 18px 20px 20px; }
.bonton-refresh .video-archive-card__meta { display: flex; justify-content: space-between; color: var(--th-muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.bonton-refresh .video-archive-card__meta span { color: var(--th-accent-deep); }
.bonton-refresh .video-archive-card h2 { margin: 8px 0 9px; font-size: 20px; line-height: 1.22; letter-spacing: -.02em; }
.bonton-refresh .video-archive-card h2 a { color: var(--th-ink); text-decoration: none; }
.bonton-refresh .video-archive-card p { margin: 0; color: var(--th-muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 1100px) {
    .bonton-refresh .editorial-hero { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 991px) {
    .bonton-refresh .editorial-hero { grid-template-columns: 1fr; }
    .bonton-refresh .editorial-hero .archive-focus { height: auto; min-height: 456px; }
    .bonton-refresh .weekly-summary-card--hero,
    .bonton-refresh .weekly-summary-index--hero { height: auto; }
    .bonton-refresh .context-sidebar { position: static; max-height: none; }
    .bonton-refresh .context-sidebar__rail { max-height: none; padding-right: 0; overflow: visible; }
    .bonton-refresh .archive-masthead { align-items: flex-start; flex-direction: column; }
    .bonton-refresh .archive-masthead__topics { justify-content: flex-start; max-width: 100%; }
}

@media (max-width: 767px) {
    .bonton-refresh .archive-masthead { min-height: 0; padding: 20px 18px; border-radius: 0 0 14px 14px; }
    .bonton-refresh .archive-masthead__title h1 { white-space: normal; }
    .bonton-refresh .archive-masthead__topics { flex-wrap: nowrap; width: 100%; padding-bottom: 4px; overflow-x: auto; }
    .bonton-refresh .archive-masthead__topics a { flex: 0 0 auto; }
    .bonton-refresh .editorial-hero { margin-top: 18px; }
    .bonton-refresh .editorial-hero .archive-focus { min-height: 0; }
    .bonton-refresh .focus-story--lead { height: 500px; }
    .bonton-refresh .focus-story--secondary { height: 240px; }
    .bonton-refresh .video-archive__grid { grid-template-columns: 1fr; }
}

/* Homepage category newsroom: no masonry gaps, one visual language with archive cards. */
.bonton-refresh .editorial-home-feed {
    display: flex;
    flex-direction: column;
    gap: 42px;
    min-width: 0;
}

.bonton-refresh .home-category-section {
    min-width: 0;
}

.bonton-refresh .home-category-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--th-line-strong);
}

.bonton-refresh .home-category-section__header span {
    color: var(--th-accent-deep);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bonton-refresh .home-category-section__header h2 {
    margin: 2px 0 0;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.04em;
}

.bonton-refresh .home-category-section__header h2 a {
    color: var(--th-ink);
    text-decoration: none;
}

.bonton-refresh .home-category-section__header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.bonton-refresh .home-category-section__header nav a {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--th-muted);
    background: var(--th-surface-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.bonton-refresh .home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bonton-refresh .home-category-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--th-line);
    border-radius: 13px;
    background: var(--th-surface);
    box-shadow: var(--th-shadow-sm);
}

.bonton-refresh .home-category-card--lead {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, .82fr) 1.18fr;
}

.bonton-refresh .home-category-card__media {
    position: relative;
    display: block;
    min-height: 128px;
    overflow: hidden;
    background: var(--th-surface-muted);
}

.bonton-refresh .home-category-card--lead .home-category-card__media {
    min-height: 240px;
}

.bonton-refresh .home-category-card__media img,
.bonton-refresh .home-category-card__media .tech-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonton-refresh .home-category-card__body {
    min-width: 0;
    padding: 14px 15px;
}

.bonton-refresh .home-category-card--lead .home-category-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.bonton-refresh .home-category-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--th-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bonton-refresh .home-category-card__meta span {
    overflow: hidden;
    color: var(--th-accent-deep);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bonton-refresh .home-category-card h3 {
    margin: 7px 0 0;
    font-size: 17px;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.bonton-refresh .home-category-card--lead h3 {
    font-size: 27px;
    line-height: 1.12;
}

.bonton-refresh .home-category-card h3 a {
    color: var(--th-ink);
    text-decoration: none;
}

.bonton-refresh .home-category-card p {
    margin: 12px 0 0;
    color: var(--th-muted);
    font-size: 13px;
    line-height: 1.58;
}

.bonton-refresh .home-category-section__more {
    display: inline-flex;
    gap: 7px;
    margin-top: 14px;
    color: var(--th-accent-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.bonton-refresh .home-inline-module {
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .bonton-refresh .editorial-home-feed { gap: 34px; }
    .bonton-refresh .home-category-section__header { align-items: flex-start; flex-direction: column; }
    .bonton-refresh .home-category-section__header nav { flex-wrap: nowrap; justify-content: flex-start; width: 100%; padding-bottom: 3px; overflow-x: auto; }
    .bonton-refresh .home-category-section__header nav a { flex: 0 0 auto; }
    .bonton-refresh .home-category-grid { grid-template-columns: 1fr; }
    .bonton-refresh .home-category-card,
    .bonton-refresh .home-category-card--lead { grid-column: auto; grid-template-columns: 1fr; }
    .bonton-refresh .home-category-card__media,
    .bonton-refresh .home-category-card--lead .home-category-card__media { min-height: 210px; }
    .bonton-refresh .home-category-card--lead .home-category-card__body { padding: 20px; }
    .bonton-refresh .home-category-card--lead h3 { font-size: 23px; }
}

/* 2026 visual refinement: layered header, premium search, expressive surfaces and TechHub Watch. */
body.bonton-refresh #my-page > header {
    position: relative;
    z-index: 40;
    background: linear-gradient(180deg, #fff 0%, #fff 72%, #fbfdff 100%);
}

.bonton-refresh .header-shadow {
    position: relative;
    border-bottom: 0;
    background: transparent;
    box-shadow: 0 18px 50px rgba(8, 21, 39, .055);
}

.bonton-refresh header .logo {
    margin-block: 22px 20px;
}

.bonton-refresh header .logo img {
    filter: drop-shadow(0 9px 18px rgba(118, 142, 0, .16));
}

.bonton-refresh #main-menu-cv {
    margin-bottom: 0;
    border: 1px solid rgba(187, 199, 211, .72);
    border-radius: 16px 16px 0 0;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 34px rgba(11, 28, 49, .08);
}

.bonton-refresh #main-menu-cv.sticky {
    border-width: 0 0 1px;
    border-radius: 0;
}

.bonton-refresh #main-menu-cv .navbar-nav {
    gap: 8px;
}

.bonton-refresh #main-menu-cv .nav-link {
    border-radius: 9px 9px 0 0;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bonton-refresh #main-menu-cv .nav-link:hover {
    color: var(--th-accent-deep);
    background: linear-gradient(180deg, rgba(205, 218, 0, .02), rgba(205, 218, 0, .09));
}

.bonton-refresh #main-menu-cv .nav-item--video .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #7d2764;
}

.bonton-refresh .nav-video-dot {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff4f9b, #8d4bff);
    box-shadow: 0 5px 13px rgba(195, 62, 147, .25);
}

.bonton-refresh .nav-video-dot::after {
    position: absolute;
    top: 6px;
    left: 8px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
    content: "";
}

.bonton-refresh .archive-masthead {
    z-index: 3;
    margin-bottom: -48px;
    transform: none;
    border-radius: 22px;
    box-shadow: 0 24px 58px rgba(7, 17, 31, .24), 0 4px 12px rgba(7, 17, 31, .12);
}

.bonton-refresh .archive-page {
    padding-top: 48px;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 199, 242, .055), transparent 26%),
        linear-gradient(180deg, #f2f6fa 0%, #f7f9fc 28%, #f4f7fa 100%);
}

.bonton-refresh .editorial-hero {
    margin-top: 36px;
}

.bonton-refresh .focus-story,
.bonton-refresh .weekly-summary-card--hero,
.bonton-refresh .weekly-summary-index--hero,
.bonton-refresh .home-category-card,
.bonton-refresh .context-sidebar .cv-widget,
.bonton-refresh .sidebar-module,
.bonton-refresh .archive-card {
    box-shadow: 0 12px 30px rgba(11, 28, 49, .085), 0 2px 6px rgba(11, 28, 49, .045);
}

.bonton-refresh .home-category-card {
    background: linear-gradient(145deg, #fff 0%, #fff 72%, #f8fbfd 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bonton-refresh .home-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(32, 130, 173, .22);
    box-shadow: 0 20px 42px rgba(11, 28, 49, .13);
}

.bonton-refresh .home-category-card__media::after,
.bonton-refresh .archive-card__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(7, 17, 31, .11));
    content: "";
    pointer-events: none;
}

.bonton-refresh .home-category-section__header {
    padding: 14px 18px 16px;
    border-image: linear-gradient(90deg, rgba(22, 83, 120, .34), rgba(34, 199, 242, .12), transparent) 1;
}

.bonton-refresh .home-category-section__header h2 a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bonton-refresh .home-category-section__header h2 a::after {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--th-accent-deep), #22c7f2);
    box-shadow: 0 6px 14px rgba(17, 124, 169, .22);
    content: "→";
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.bonton-refresh .home-category-section__header nav {
    gap: 8px;
}

.bonton-refresh .home-category-section__header nav a {
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(165, 183, 198, .6);
    color: #31485b;
    background: linear-gradient(180deg, #fff, #edf3f7);
    box-shadow: 0 5px 12px rgba(12, 31, 50, .06);
    font-size: 10px;
    letter-spacing: .045em;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.bonton-refresh .home-category-section__header nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(32, 155, 204, .42);
    color: #086d99;
    box-shadow: 0 9px 18px rgba(12, 79, 108, .12);
}

.bonton-refresh .home-category-section__more {
    min-height: 36px;
    padding: 9px 14px;
    border: 1px solid rgba(32, 130, 173, .2);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #edf7fb);
    box-shadow: 0 6px 14px rgba(17, 86, 116, .08);
    font-size: 11px;
}

/* Premium modal search panel. */
.bonton-refresh .overlay-form {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 22px;
    place-items: center;
    opacity: 0;
    background: rgba(3, 11, 22, .72);
    backdrop-filter: blur(15px) saturate(120%);
    transition: opacity 180ms ease;
}

.bonton-refresh .overlay-form.is-open { opacity: 1; }
.bonton-refresh.search-panel-open { overflow: hidden; }

.bonton-refresh .overlay-content {
    position: relative;
    top: auto;
    width: min(720px, calc(100vw - 40px));
    margin: 0;
    padding: clamp(28px, 5vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(104, 213, 255, .28);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 0%, rgba(34, 199, 242, .24), transparent 35%),
        linear-gradient(145deg, #07111f, #102a48);
    box-shadow: 0 38px 100px rgba(0, 0, 0, .42), 0 6px 18px rgba(0, 0, 0, .22);
    text-align: left;
    transform: translateY(16px) scale(.985);
    transition: transform 180ms ease;
}

.bonton-refresh .overlay-form.is-open .overlay-content { transform: none; }

.bonton-refresh .search-panel__eyebrow {
    color: #69dcff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bonton-refresh .overlay-content h2 {
    margin: 8px 0 26px;
    color: #fff;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.bonton-refresh .overlay-content form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 15px;
    background: rgba(255, 255, 255, .095);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.bonton-refresh .overlay-form input[type="search"] {
    width: 100%;
    min-width: 0;
    padding: 13px 15px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 17px;
}

.bonton-refresh .overlay-form input[type="search"]::placeholder { color: #9fb2c5; }

.bonton-refresh .overlay-form form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    min-width: 122px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    color: #07111f;
    background: linear-gradient(135deg, #d5e200, #9ed519);
    box-shadow: 0 9px 22px rgba(172, 208, 0, .24);
    font-size: 13px;
    font-weight: 800;
}

.bonton-refresh .overlay-content > p {
    margin: 15px 0 0;
    color: #9fb2c5;
    font-size: 12px;
}

.bonton-refresh .overlay-form .closebtn {
    position: fixed;
    z-index: 2;
    top: 28px;
    right: 30px;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

/* TechHub Watch: purposefully distinct from editorial archives. */
.bonton-refresh .video-hub {
    min-height: 100vh;
    background:
        radial-gradient(circle at 82% 8%, rgba(232, 52, 151, .12), transparent 25%),
        radial-gradient(circle at 12% 4%, rgba(48, 162, 255, .13), transparent 26%),
        linear-gradient(180deg, #050b14 0, #0a1422 700px, #eef3f7 700px, #f5f7fa 100%);
}

.bonton-refresh .video-hub__stage {
    padding: 54px 0 76px;
    color: #fff;
}

.bonton-refresh .video-hub__stage-grid {
    display: grid;
    grid-template-columns: minmax(250px, .58fr) 1.42fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.bonton-refresh .video-hub__intro h1 {
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(58px, 8vw, 106px);
    font-weight: 750;
    line-height: .84;
    letter-spacing: -.07em;
}

.bonton-refresh .video-hub__intro p {
    max-width: 440px;
    margin: 0 0 28px;
    color: #aebdd0;
    font-size: 16px;
    line-height: 1.65;
}

.bonton-refresh .video-hub__eyebrow,
.bonton-refresh .video-single-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ff79be;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.bonton-refresh .video-hub__eyebrow i,
.bonton-refresh .video-single-kicker i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff4f9b;
    box-shadow: 0 0 0 6px rgba(255, 79, 155, .13), 0 0 20px rgba(255, 79, 155, .75);
}

.bonton-refresh .video-hub__jump,
.bonton-refresh .video-watch-youtube {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .075);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .17);
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.bonton-refresh .video-stage-feature {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: #0b1524;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .43), 0 0 0 1px rgba(255, 79, 155, .07);
}

.bonton-refresh .video-stage-feature .cv-video-thumb { aspect-ratio: 16 / 8.4; }
.bonton-refresh .video-stage-feature__poster { position: absolute; inset: 0; }

.bonton-refresh .video-stage-feature__caption {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 17px 20px;
}

.bonton-refresh .video-stage-feature__caption > span {
    color: #ff79be;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bonton-refresh .video-stage-feature__caption h2 { margin: 0; font-size: 18px; line-height: 1.25; }
.bonton-refresh .video-stage-feature__caption h2 a { color: #fff; text-decoration: none; }

.bonton-refresh .video-library {
    position: relative;
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 80px;
}

.bonton-refresh .video-library__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bonton-refresh .video-library__header span { color: #9b3675; font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.bonton-refresh .video-library__header h2 { margin: 4px 0 0; color: #081526; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }
.bonton-refresh .video-library__header > p { color: #637589; font-size: 12px; font-weight: 700; }

.bonton-refresh .video-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    padding: 9px;
    border: 1px solid rgba(169, 185, 199, .6);
    border-radius: 16px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 12px 30px rgba(11, 28, 49, .09);
    backdrop-filter: blur(10px);
}

.bonton-refresh .video-filters button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    color: #41556a;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.bonton-refresh .video-filters button span {
    display: grid;
    min-width: 21px;
    height: 21px;
    padding-inline: 5px;
    place-items: center;
    border-radius: 999px;
    background: #e8eef3;
    font-size: 9px;
}

.bonton-refresh .video-filters button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #7c2d68, #dc3d91);
    box-shadow: 0 9px 18px rgba(159, 45, 112, .23);
}

.bonton-refresh .video-filters button.is-active span { color: #8f2d6c; background: #fff; }

.bonton-refresh .video-hub .video-archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bonton-refresh .video-hub .video-archive-card {
    border: 0;
    border-radius: 17px;
    background: linear-gradient(150deg, #fff, #f8fbfd);
    box-shadow: 0 16px 36px rgba(9, 25, 43, .11);
}

.bonton-refresh .video-archive-card[hidden] { display: none; }
.bonton-refresh .video-filter-empty { padding: 40px; border-radius: 16px; background: #fff; text-align: center; }

/* Distinct video single: dark theater followed by a clean editorial story. */
.bonton-refresh .video-single-page { background: linear-gradient(180deg, #070d17 0, #0b1625 760px, #f1f5f8 760px, #f5f7fa 100%); }
.bonton-refresh .video-single-stage { padding: 44px 0 70px; color: #fff; }
.bonton-refresh .video-single-breadcrumbs { display: flex; gap: 8px; margin-bottom: 28px; color: #7990a6; font-size: 11px; }
.bonton-refresh .video-single-breadcrumbs a { color: #9eb4c8; text-decoration: none; }
.bonton-refresh .video-single-stage__heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 30px; }
.bonton-refresh .video-single-stage h1 { max-width: 1050px; margin: 10px 0 0; color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.bonton-refresh .video-single-meta { display: flex; gap: 16px; padding-bottom: 7px; color: #8498ac; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bonton-refresh .video-single-player { position: relative; overflow: hidden; aspect-ratio: 16 / 8.5; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: #02050a; box-shadow: 0 38px 90px rgba(0,0,0,.46), 0 0 0 1px rgba(255,79,155,.06); }
.bonton-refresh .video-single-player iframe,
.bonton-refresh .video-single-player img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.bonton-refresh .video-single-layout { align-items: start; padding-top: 54px; padding-bottom: 54px; }
.bonton-refresh .video-single-story { min-width: 0; overflow: hidden; border: 1px solid rgba(171,186,199,.6); border-radius: 20px; background: linear-gradient(145deg, #fff, #f9fbfd); box-shadow: 0 18px 44px rgba(10,28,47,.1); }
.bonton-refresh .video-single-story__intro { padding: 28px 32px; border-bottom: 1px solid var(--th-line); background: radial-gradient(circle at 96% 0, rgba(231,61,149,.09), transparent 34%); }
.bonton-refresh .video-single-story__intro span { color: #9a3674; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.bonton-refresh .video-single-story__intro p { margin: 9px 0 0; color: #172b3e; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 31px); line-height: 1.34; letter-spacing: -.025em; }
.bonton-refresh .video-single-story .share { padding-inline: 32px; }
.bonton-refresh .video-single-content { padding: 8px 32px 38px; }
.bonton-refresh .video-source-pill { display: inline-flex; gap: 6px; margin-bottom: 20px; padding: 8px 12px; border-radius: 999px; color: #53687a; background: #edf2f6; font-size: 11px; }
.bonton-refresh .video-single-topics li a { border-radius: 999px; background: #eef3f7; }
.bonton-refresh .video-watch-youtube { margin-top: 22px; border-color: rgba(152,45,111,.24); color: #fff; background: linear-gradient(135deg, #7c2d68, #dc3d91); }
.bonton-refresh .video-single-related { padding-bottom: 70px; }

@media (max-width: 1100px) {
    .bonton-refresh .video-hub .video-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .bonton-refresh header .logo { margin-block: 16px; }
    .bonton-refresh .archive-masthead { margin-inline: 8px; margin-bottom: -30px; transform: none; border-radius: 16px; }
    .bonton-refresh .archive-page { padding-top: 30px; }
    .bonton-refresh .home-category-section__header nav a { min-height: 36px; padding: 9px 13px; font-size: 10px; }
    .bonton-refresh .overlay-form { padding: 14px; }
    .bonton-refresh .overlay-content { width: 100%; padding: 28px 20px; border-radius: 20px; }
    .bonton-refresh .overlay-content form { grid-template-columns: 1fr; }
    .bonton-refresh .overlay-form form button { width: 100%; }
    .bonton-refresh .overlay-form .closebtn { top: 16px; right: 16px; width: 42px; height: 42px; }
    .bonton-refresh .video-hub { background: linear-gradient(180deg, #050b14 0, #0a1422 930px, #eef3f7 930px, #f5f7fa 100%); }
    .bonton-refresh .video-hub__stage { padding: 34px 0 54px; }
    .bonton-refresh .video-hub__stage-grid { grid-template-columns: 1fr; }
    .bonton-refresh .video-hub__intro h1 { font-size: 66px; }
    .bonton-refresh .video-stage-feature .cv-video-thumb { aspect-ratio: 16 / 9; }
    .bonton-refresh .video-stage-feature__caption { grid-template-columns: 1fr; gap: 5px; }
    .bonton-refresh .video-library { padding-top: 36px; }
    .bonton-refresh .video-library__header { align-items: flex-start; flex-direction: column; }
    .bonton-refresh .video-filters { flex-wrap: nowrap; margin-inline: -4px; overflow-x: auto; }
    .bonton-refresh .video-filters button { flex: 0 0 auto; }
    .bonton-refresh .video-hub .video-archive__grid { grid-template-columns: 1fr; }
    .bonton-refresh .video-single-page { background: linear-gradient(180deg, #070d17 0, #0b1625 680px, #f1f5f8 680px, #f5f7fa 100%); }
    .bonton-refresh .video-single-stage { padding: 26px 0 46px; }
    .bonton-refresh .video-single-stage__heading { grid-template-columns: 1fr; }
    .bonton-refresh .video-single-stage h1 { font-size: 38px; }
    .bonton-refresh .video-single-player { border-radius: 15px; }
    .bonton-refresh .video-single-layout { padding-top: 36px; }
    .bonton-refresh .video-single-story__intro,
    .bonton-refresh .video-single-content { padding-inline: 20px; }
    .bonton-refresh .video-single-story .share { padding-inline: 20px; }
}

/* 2026 cohesion pass: navigation + masthead as one deck, library as one control console. */
.bonton-refresh header .container:has(> #main-menu-cv) {
    position: relative;
}

.bonton-refresh #main-menu-cv:not(.sticky) {
    z-index: 5;
    min-height: 64px;
    padding-inline: 10px;
    border: 1px solid rgba(170, 188, 203, .78);
    border-bottom-color: rgba(20, 92, 130, .18);
    border-radius: 19px 19px 0 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,251,253,.97));
    box-shadow:
        0 -1px 0 rgba(255,255,255,.9) inset,
        0 10px 25px rgba(8, 28, 46, .08);
}

.bonton-refresh #main-menu-cv:not(.sticky)::after {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 191, 231, .46), transparent);
    content: "";
}

.bonton-refresh #main-menu-cv:not(.sticky) .nav-link {
    min-height: 62px;
    padding-inline: 15px;
    border-bottom: 3px solid transparent;
    border-radius: 11px 11px 0 0;
    color: #526576;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .055em;
}

.bonton-refresh #main-menu-cv:not(.sticky) .nav-link::after {
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    opacity: .42;
}

.bonton-refresh #main-menu-cv:not(.sticky) .nav-link:hover,
.bonton-refresh #main-menu-cv:not(.sticky) .nav-item.active > .nav-link {
    color: #09263d;
    background: linear-gradient(180deg, rgba(230,244,249,.15), rgba(215,237,245,.68));
    box-shadow: 0 9px 18px rgba(26, 92, 119, .07) inset;
}

.bonton-refresh #main-menu-cv:not(.sticky) .openBtn {
    width: 45px;
    min-width: 45px;
    height: 45px;
    border-color: rgba(132, 160, 180, .55);
    background: linear-gradient(145deg, #fff, #edf4f7);
    box-shadow: 0 8px 17px rgba(9, 43, 65, .1);
}

.bonton-refresh .archive-masthead {
    margin-top: -1px;
    border-top-color: rgba(91, 197, 235, .28);
    border-radius: 0 0 22px 22px;
    box-shadow:
        0 27px 58px rgba(7, 17, 31, .22),
        0 8px 18px rgba(7, 17, 31, .13),
        0 1px 0 rgba(255,255,255,.06) inset;
}

.bonton-refresh .archive-masthead::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 213, 255, .62), transparent);
    content: "";
}

.bonton-refresh .archive-masthead__title {
    padding-left: 3px;
}

.bonton-refresh .archive-masthead__topics a {
    box-shadow: 0 5px 14px rgba(0,0,0,.09), 0 1px rgba(255,255,255,.08) inset;
}

.bonton-refresh .video-library {
    padding-top: 0;
}

.bonton-refresh .video-library__console {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    margin-bottom: 32px;
    padding: clamp(24px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background:
        radial-gradient(circle at 94% -20%, rgba(225,70,157,.15), transparent 31%),
        radial-gradient(circle at 5% 120%, rgba(38,169,220,.13), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,.95), rgba(245,249,252,.91));
    box-shadow:
        0 28px 65px rgba(10, 28, 47, .15),
        0 5px 14px rgba(10, 28, 47, .07),
        0 1px rgba(255,255,255,.95) inset;
    backdrop-filter: blur(16px) saturate(120%);
}

.bonton-refresh .video-library__console::before {
    position: absolute;
    top: 0;
    right: 32px;
    left: 32px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #27a6db, #b73683 54%, #e947a0);
    content: "";
}

.bonton-refresh .video-library__header {
    position: relative;
    align-items: center;
    margin-bottom: 23px;
    padding: 0 2px 22px;
    border-bottom: 1px solid rgba(135, 159, 177, .27);
}

.bonton-refresh .video-library__header h2 {
    font-size: clamp(36px, 4.4vw, 56px);
    line-height: .94;
}

.bonton-refresh .video-library__header > p {
    display: grid;
    grid-template-columns: auto auto;
    gap: 7px;
    align-items: baseline;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid rgba(161, 179, 194, .46);
    border-radius: 999px;
    color: #62778a;
    background: rgba(255,255,255,.6);
    box-shadow: 0 7px 16px rgba(10,37,57,.06);
    font-size: 11px;
}

.bonton-refresh .video-library__header > p strong {
    color: #9b3675;
    font-size: 17px;
    line-height: 1;
}

.bonton-refresh .video-library__console .video-filters {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.bonton-refresh .video-library__console .video-filters button {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.bonton-refresh .video-library__console .video-filters button:not(.is-active):hover {
    transform: translateY(-1px);
    border-color: rgba(146,167,183,.42);
    color: #152f44;
    background: rgba(255,255,255,.72);
    box-shadow: 0 7px 15px rgba(12,39,59,.07);
}

@media (max-width: 767px) {
    .bonton-refresh #main-menu-cv:not(.sticky) { border-radius: 15px 15px 0 0; }
    .bonton-refresh .archive-masthead { margin-inline: 0; border-radius: 0 0 16px 16px; }
    .bonton-refresh .video-library__console { margin-top: -22px; padding: 25px 18px 18px; border-radius: 20px; }
    .bonton-refresh .video-library__header { align-items: flex-start; margin-bottom: 17px; padding-bottom: 18px; }
    .bonton-refresh .video-library__header h2 { font-size: 38px; }
    .bonton-refresh .video-library__header > p { align-self: flex-start; }
    .bonton-refresh .video-library__console .video-filters { margin-inline: 0; padding-bottom: 3px; }
}
