@media (min-width: 744px) {
  .bit-page {
    max-width: none !important;
    width: 100%;
  }
}

@media (min-width: 1025px) {

  .bit-page {
    max-width: none !important;
    width: 100%;
  }

  .bit-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
  }

  .bit-topsearch {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .bit-header {
    padding: 10px 18px;
    position: relative;
  }
  .bit-header-shell {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .bit-header-right {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
  }

  .bit-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: auto;
  }
  .bit-nav.is-hidden { display: none !important; }

  .bit-nav-link {
    text-decoration: none;
    color: inherit;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .bit-nav-link:hover { background: rgba(255,255,255,.45); }
  .bit-nav-link.is-active { background: rgba(255,255,255,.60); box-shadow: 0 2px 10px rgba(0,0,0,.06); }

  .bit-topsearch {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    padding: 5px 5px 5px 14px;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: searchSlideIn 0.18s ease;
  }
  @keyframes searchSlideIn {
    from { opacity: 0; transform: translateY(-50%) translateX(10px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
  }
  .bit-topsearch[hidden]{ display: none; }

  .bit-header-right:has(.bit-topsearch:not([hidden])) #bitSearchBtn {
    visibility: hidden;
    pointer-events: none;
  }
  .bit-topsearch-label {
    position: absolute;
    width: 1px;height: 1px;
    padding: 0;margin: -1px;
    overflow: hidden;clip: rect(0,0,0,0);
    white-space: nowrap;border: 0;
  }
  .bit-topsearch-input {
    flex: 1;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: transparent;
    padding: 0 4px;
    font-weight: 600;
    font-size: 13px;
    outline: none;
    color: #111827;
  }
  .bit-topsearch-input::placeholder {
    color: rgba(17,24,39,0.55);
  }
  .bit-topsearch-close {
    height: 32px;
    width: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.6);
    color: #1e6fa8;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: background 0.15s;
  }
  .bit-topsearch-close:hover {
    background: rgba(255,255,255,0.9);
  }

  .bit-main { padding: 14px 0 34px; }

  .bit-hero-desktop { margin-top: 10px; }
  .bit-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    align-items: stretch;
  }
  .bit-hero-main { display: block; text-decoration: none; color: inherit; }
  .bit-hero-media { border-radius: 18px; overflow: hidden; }
  .bit-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
  }

  .bit-hero-desktop .bit-hero-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  .bit-hero-desktop .bit-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    max-width: 82%;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bit-hero-side {

    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 14px;

    background: rgba(255,255,255,.70);
    border: 1px solid rgba(41,164,197,.22);
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }

  .bit-hero-mini {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 14px;
    padding: 10px;
    padding-bottom: 14px;
  }
  .bit-hero-mini:hover {
    background: rgba(255,255,255,.55);
  }
  .bit-hero-mini:not(:last-child) {
    border-bottom: 1px solid rgba(41,164,197,.18);
    border-radius: 0;
  }
  .bit-hero-mini:last-child {
    padding-bottom: 10px;
  }
  .bit-hero-mini-thumb {
    width: 92px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
  }
  .bit-hero-mini-kicker{ font-size: 12px; font-weight: 900; opacity: .75; }
  .bit-hero-mini-title {
    font-weight: 900;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .bit-hero-mini-meta{ font-size: 12px; opacity: .75; margin-top: 4px; font-weight: 700; }

  .bit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
    margin-top: 18px;
  }
  .bit-content { min-width: 0; }
  .bit-sidebar {
    display: block;
    position: sticky;
    top: 46px;
    align-self: start;
  }

  .bit-sidecard {
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(41,164,197,.22);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    margin-bottom: 14px;
  }
  .bit-side-title { margin: 0 0 10px; font-size: 14px; font-weight: 900; }

  .bit-video-list { display: flex; flex-direction: column; gap: 12px; }
  .bit-video-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.60);
    border: 1px solid rgba(219,234,254,.9);
  }
  .bit-video-thumb {
    width: 88px;
    height: 66px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
  }
  .bit-video-title {
    font-weight: 900;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .bit-video-meta { font-size: 12px; opacity: .75; margin-top: 4px; font-weight: 700; }

  .bit-mini-list { display: flex; flex-direction: column; gap: 10px; }
  .bit-mini-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dbeafe;
  }
  .bit-mini-title {
    min-width: 0;
    font-weight: 900;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .bit-mini-meta { flex-shrink: 0; font-size: 12px; opacity: .8; font-weight: 800; white-space: nowrap; }

  .bit-side-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .bit-side-social a {
    height: 56px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .bit-side-social img{ width: 26px; height: 26px; object-fit: contain; display: block; }

  .bit-sorotan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 18px;
  }

  .bit-ulasan-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .bit-popular-item,
  .bit-terbaru-item {
    align-items: flex-start;
  }

  .bit-popular-text,
  .bit-terbaru-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85px;
    gap: 10px;
  }

  .bit-popular-title,
  .bit-terbaru-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.25;
  }

  .bit-popular-meta,
  .bit-terbaru-meta {
    margin-top: auto;
  }

  .bit-popular-thumb,
  .bit-terbaru-thumb{ width: 84px; height: 84px; }
  .bit-popular-title,
  .bit-terbaru-title{ font-size: 18px; }

  .bit-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .bit-topic-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    text-decoration: none;
    color: inherit;
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }
  .bit-topic-chip:hover {
    background: rgba(255,255,255,.70);
  }

}

@media (min-width: 1025px) {
  .bit-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 28px !important;
  }
}

/* ── Ads Leaderboard (bawah header) ── */
@media (min-width: 1025px) {
  .bit-ads-leaderboard-wrap {
    width: 100%;
  }

  .bit-ads-leaderboard {
    width: 100%;
    min-height: 130px;
    max-width: 1144px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,.50);
    border: 1px dashed rgba(41,164,197,.30);
    border-radius: 12px;
  }

  /* Halaman list (archive, tag, search) — sesuaikan lebar ads dengan konten */
  .blog .bit-ads-leaderboard,
  .page-latest-list .bit-ads-leaderboard,
  .tag .bit-ads-leaderboard,
  .category .bit-ads-leaderboard,
  .search .bit-ads-leaderboard,
  .author .bit-ads-leaderboard {
    max-width: 1040px;
  }

  /* Sembunyikan leaderboard di halaman about, feedback, editorial, privacy */
  .bit-page--about .bit-ads-leaderboard-wrap {
    display: none !important;
  }
}

/* ── Ads Home (pos1, pos2, pos3) ── */
@media (min-width: 1025px) {
  .bit-ads-home {
    width: 100%;
    min-height: 90px;
    margin: 16px 0;
    border-radius: 12px;
    background: rgba(255,255,255,.50);
    border: 1px dashed rgba(41,164,197,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .bit-ads-home .bit-ads-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.25);
    pointer-events: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Pos1 dan Pos3: Billboard 970x250 */
  .bit-ads-home-pos1,
  .bit-ads-home-pos3 {
    width: 970px;
    min-height: 250px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Sticky Bottom Ads ── */
@media (min-width: 1025px) {
  @keyframes bitStickySlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .bit-sticky-ads {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    pointer-events: none;
    animation: bitStickySlideUp 0.40s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
  }

  .bit-sticky-ads-inner {
    pointer-events: auto;
    max-width: 1144px;
    margin: 0 auto;
    min-height: 90px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid rgba(41,164,197,.22);
    box-shadow: 0 -4px 18px rgba(0,0,0,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 16px;
  }

  .bit-sticky-ads-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.25);
    pointer-events: none;
    user-select: none;
  }

  .bit-sticky-ads-close {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    height: 28px;
    padding: 0 12px 0 10px;
    border-radius: 999px;
    border: none;
    background: #374151;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,.20);
    transition: background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
  }

  .bit-sticky-ads-close::before {
    content: '✕';
    font-size: 10px;
    font-weight: 900;
    opacity: .85;
  }

  .bit-sticky-ads-close:hover {
    background: #111827;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
  }
}
