/*
Theme Name: Votix Media
Theme URI: https://benuanta.id
Author: Sendang Dev
Author URI: https://sendang.id
Description: Tema WordPress modern, cepat, dan responsif khusus untuk portal berita Votix Media. Dilengkapi dengan optimasi SEO dan fitur editorial.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Tags: block-theme, full-site-editing, news, magazine, dark-mode, fast
Text Domain: votix
*/

/* ==========================================================================
   1. Breaking News marquee (seamless loop)
   Markup: .ticker-wrap (the Query block) > .ticker-content (the Post Template).
   core/query-loop.php renders the headlines twice; moving the strip from 0
   to -50% puts the copy exactly where the original started, so the loop
   never shows an empty gap.
   Speed: set --ticker-duration on .ticker-wrap (default 40s).
   ========================================================================== */
.ticker-wrap {
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.ticker-wrap .ticker-content {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: max-content !important;
  overflow: visible !important;
  white-space: nowrap;
  will-change: transform;
  animation: votix-ticker var(--ticker-duration, 40s) linear infinite;
}

/* Every headline is followed by a red dot, so both copies are exactly the same width. */
.ticker-wrap .ticker-content > li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 !important;
}
.ticker-wrap .ticker-content > li + li::before {
  content: none;
}
.ticker-wrap .ticker-content > li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 1rem;
  border-radius: 50%;
  background: var(--wp--preset--color--accent-red);
  flex-shrink: 0;
}

/* Let readers stop the ticker to read or click a headline. */
.ticker-wrap:hover .ticker-content,
.ticker-wrap:focus-within .ticker-content {
  animation-play-state: paused;
}

@keyframes votix-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* No movement for people who turned off animations in their OS. */
@media (prefers-reduced-motion: reduce) {
  .ticker-wrap .ticker-content {
    animation: none;
    transform: none;
  }
  .ticker-wrap .ticker-clone {
    display: none !important;
  }
}

/* ==========================================================================
   2. Mobile: stack all Columns (66/33, 30/70, …) vertically
   ========================================================================== */
@media (max-width: 782px) {
  .wp-block-columns {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .wp-block-columns > .wp-block-column {
    display: block;
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Columns lose their gap when they become blocks, so add space between them. */
  .wp-block-columns > .wp-block-column + .wp-block-column {
    margin-top: var(--wp--preset--spacing--40);
  }

  .alignwide,
  .alignfull > .alignwide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
  }
}

/* ==========================================================================
   3. Featured images never wider than their box + Post Format overlays
   ========================================================================== */
.wp-block-post-featured-image,
.votix-indeks__thumb {
  position: relative;
}

.wp-block-post-featured-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  max-width: 100%;
}

/* Post Format Overlays on Featured Images (Video Play button & Gallery FOTO pill) */
.votix-format-overlay {
  pointer-events: none;
  z-index: 2;
}

/* Video format: centered translucent dark circle with blur + hover scale */
.votix-format-overlay.is-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--wp--preset--color--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.votix-format-overlay.is-video svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
  margin-left: 2px;
}
.wp-block-post-featured-image:hover .votix-format-overlay.is-video,
.votix-indeks__thumb:hover .votix-format-overlay.is-video {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(11, 31, 68, 0.82);
}
/* Smaller play icon on compact thumbnails (stack & mobile list) */
.votix-stack-thumb .votix-format-overlay.is-video,
.votix-list .votix-format-overlay.is-video {
  width: 2.25rem;
  height: 2.25rem;
}
.votix-stack-thumb .votix-format-overlay.is-video svg,
.votix-list .votix-format-overlay.is-video svg {
  width: 1.25rem;
  height: 1.25rem;
}
/* In Hero Cover card, position the Play icon in the upper visual area above the bottom headline */
.votix-hero .wp-block-cover .votix-format-overlay.is-video {
  top: 36%;
  width: 3.75rem;
  height: 3.75rem;
}
.votix-hero .wp-block-cover .votix-format-overlay.is-video svg {
  width: 2rem;
  height: 2rem;
}
.votix-hero .wp-block-cover:hover .votix-format-overlay.is-video {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(11, 31, 68, 0.82);
}
.votix-hero .wp-block-cover .votix-format-overlay.is-gallery {
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  font-size: 11px;
}

/* Gallery format: top-right Votix Lime badge with 14px icon + 10px Montserrat Bold 'FOTO' */
.votix-format-overlay.is-gallery {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--votix-black);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(11, 31, 68, 0.18);
}
.votix-format-overlay.is-gallery svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Fixed-size thumbnails keep their size (otherwise width:100% would let them grow). */
.votix-compact .wp-block-post-featured-image {
  width: 80px;
  flex: 0 0 80px;
}
.votix-list .wp-block-post-featured-image {
  width: 240px;
  flex: 0 0 240px;
}

/* ==========================================================================
   4. Mobile fixes (max 782px)
   ========================================================================== */
@media (max-width: 782px) {
  /* Hero: shorter card and smaller title so the photo isn't cropped to a tall strip. */
  .votix-hero .wp-block-cover {
    /* min-height:auto lets the card grow if a long title needs more room than 4:5. */
    min-height: auto !important;
    aspect-ratio: 4 / 5;
    padding: var(--wp--preset--spacing--30) !important;
  }
  .votix-hero .wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .votix-hero .votix-hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
  }
  .votix-hero .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* VOTIX REPORT and BERITA TERKINI / TERPOPULER: one column. */
  .votix-report .wp-block-columns,
  .votix-latest-popular,
  .votix-latest-popular .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
  }
  .votix-report .wp-block-column,
  .votix-latest-popular > .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
  }

  /* Groups use the full width; the page gutter comes from the main container's padding. */
  .wp-block-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   5. Mobile menu overlay (hamburger, up to 1079px)
   Clean, modern & zero-boxy layout:
   - Sleek translucent search bar at the top
   - 2-column clean typography grid for main rubrics (no boxy background, subtle 1px bottom border)
   - Touch-friendly static page links (min-height 44px)
   - Centered social icons & agency credit at the bottom
   ========================================================================== */

/* Hide mobile-only navigation items on desktop and whenever the overlay is closed */
.votix-mainnav
  .wp-block-navigation__responsive-container:not(.is-menu-open)
  .votix-mobile-divider,
.votix-mainnav
  .wp-block-navigation__responsive-container:not(.is-menu-open)
  .votix-mobile-search,
.votix-mainnav
  .wp-block-navigation__responsive-container:not(.is-menu-open)
  .votix-mobile-pages,
.votix-mainnav
  .wp-block-navigation__responsive-container:not(.is-menu-open)
  .votix-mobile-socials,
.votix-mainnav
  .wp-block-navigation__responsive-container:not(.is-menu-open)
  .votix-mobile-credit {
  display: none !important;
}

@media (min-width: 782px) {
  .votix-mobile-divider,
  .votix-mobile-search,
  .votix-mobile-pages,
  .votix-mobile-socials,
  .votix-mobile-credit {
    display: none !important;
  }
}

@media (max-width: 1079px) {
  .votix-mainnav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 0 !important;
  }
  .votix-mainnav .is-menu-open .wp-block-navigation__responsive-close {
    max-width: none;
  }
  .votix-mainnav .is-menu-open .wp-block-navigation__responsive-dialog {
    padding: 3.75rem 1.25rem 1.5rem;
  }
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__responsive-container-close {
    top: 1rem;
    right: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wp--preset--color--votix-lime);
    color: var(--wp--preset--color--navy);
  }
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: 0 !important;
    align-items: stretch !important;
  }
  .votix-mainnav .is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100%;
    gap: 0 1rem !important;
    align-items: center !important;
    border-top: 0;
  }

  /* Main rubrics: clean 2-column typography grid (no boxy background, subtle bottom border) */
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.votix-mobile-pages):not(
      .votix-mobile-search
    ) {
    display: block;
    width: calc(50% - 0.5rem);
    padding: 0 !important;
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.votix-mobile-pages):not(
      .votix-mobile-search
    )
    > .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.625rem 0.25rem !important;
    background: transparent !important;
    border-radius: 0;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--wp--preset--color--pure-white);
    transition: color 0.15s;
  }
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.votix-mobile-pages):not(
      .votix-mobile-search
    )
    > .wp-block-navigation-item__content:hover,
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.votix-mobile-pages):not(
      .votix-mobile-search
    )
    > .wp-block-navigation-item__content:focus-visible {
    background: transparent !important;
    color: var(--wp--preset--color--votix-lime);
  }
  .votix-mainnav
    .is-menu-open
    .wp-block-navigation__container
    > .wp-block-navigation-item:not(.votix-mobile-pages):not(
      .votix-mobile-search
    )
    > .wp-block-navigation-item__content::before {
    content: "";
    width: 3px;
    height: 0.95em;
    background: var(--wp--preset--color--votix-lime);
    transform: skewX(-15deg);
    flex-shrink: 0;
  }

  /* Hide sub-rubric chips & arrows in mobile menu to keep it clean and fit on one screen */
  .votix-mainnav .is-menu-open .wp-block-navigation__submenu-container,
  .votix-mainnav .is-menu-open .wp-block-navigation__submenu-icon {
    display: none !important;
  }
}

@media (max-width: 781px) {
  /* Sleek Search Bar at the top (no rigid border, rgba(255,255,255,0.05), 4px radius, white text, Lime button) */
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search {
    display: block !important;
    width: 100% !important;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__inside-wrapper {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__inside-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.09) !important;
    box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.45);
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__input {
    border: 0 !important;
    padding: 0.75rem 0.875rem;
    font-family: var(--wp--preset--font-family--inter);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--wp--preset--color--pure-white) !important;
    background: transparent !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__input::placeholder {
    color: rgba(255, 255, 255, 0.48);
    text-transform: none;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__input:focus {
    outline: none;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.875rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--wp--preset--color--votix-lime) !important;
    color: var(--wp--preset--color--navy) !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-search
    .wp-block-search__button
    svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
  }

  /* Thin divider */
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-divider {
    display: block !important;
    width: 100%;
    height: 0 !important;
    margin: 0.625rem 0 0.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Static pages: 2-column touch-friendly links (min-height 44px, Inter font, light gray/white text) */
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-pages {
    display: block !important;
    width: calc(50% - 0.5rem);
    padding: 0 !important;
    border: 0;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-pages
    > .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.375rem 0.25rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: var(--wp--preset--font-family--inter);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
    box-sizing: border-box;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-pages
    > .wp-block-navigation-item__content:hover,
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-pages
    > .wp-block-navigation-item__content:focus-visible {
    color: var(--wp--preset--color--votix-lime) !important;
  }

  /* Social media icons centered at the bottom, Votix Lime */
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-socials {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 1.125rem !important;
    width: 100%;
    margin: 0.75rem 0 0 !important;
    padding: 1rem 0 0.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-socials
    .wp-social-link {
    color: var(--wp--preset--color--votix-lime) !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-socials
    .wp-social-link
    a {
    padding: 0.375rem !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-socials
    .wp-social-link
    svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  /* Agency credit centered below social icons: Inter 12px Slate Gray (#667085) */
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-credit {
    display: block !important;
    width: 100%;
    margin: 0.5rem 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-family: var(--wp--preset--font-family--inter);
    font-size: 12px !important;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    color: #667085 !important;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-credit
    a {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 500;
    text-decoration: none;
  }
  .votix-mainnav
    .wp-block-navigation__responsive-container
    .votix-mobile-credit
    a:hover {
    color: var(--wp--preset--color--votix-lime) !important;
  }
}

/* ==========================================================================
   6. Mobile: VOTIX REPORT as a swipe slider (2 cards + a peek of the next)
   ========================================================================== */
@media (max-width: 782px) {
  .votix-cards .wp-block-post-template.is-layout-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0.75rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .votix-cards .wp-block-post-template.is-layout-grid::-webkit-scrollbar {
    display: none;
  }
  .votix-cards .wp-block-post-template > li {
    flex: 0 0 44%;
    scroll-snap-align: start;
    margin: 0 !important;
  }
  .votix-cards .wp-block-post-title {
    font-size: 0.875rem !important;
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
  }
  .votix-cards .votix-meta-date {
    font-size: 0.75rem !important;
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
  }
  .votix-card {
    padding-bottom: 0.75rem !important;
  }

  /* Section head: title and "Lihat Semua" on one line, description below. */
  .votix-report .votix-section-head {
    row-gap: 0.5rem !important;
  }
  .votix-report .votix-section-desc {
    order: 3;
    flex-basis: 100%;
  }
  .votix-report .votix-see-all {
    margin-left: auto !important;
  }

  /* ======================================================================
	   7. Mobile: Berita Terkini — small photo left, title right, no excerpt
	   ====================================================================== */
  .votix-list .votix-list-item {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.875rem !important;
  }
  .votix-list .wp-block-post-featured-image {
    width: 112px !important;
    flex: 0 0 112px !important;
  }
  .votix-list .votix-list-item > .wp-block-group {
    min-width: 0;
    gap: 0.375rem;
  }
  .votix-list .wp-block-post-excerpt {
    display: none;
  }
  .votix-list .votix-label {
    font-size: 0.625rem;
  }
  .votix-list .wp-block-post-title {
    font-size: 0.9375rem !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .votix-list .votix-meta {
    column-gap: 0.75rem !important;
    row-gap: 0.125rem !important;
  }
  .votix-list .votix-meta > * {
    font-size: 0.75rem !important;
  }
  .votix-list .wp-block-post-template > li + li {
    margin-top: 1rem !important;
  }
  .votix-list .votix-list-item {
    padding-bottom: 1rem !important;
  }
}

/* ==========================================================================
   8. Article header (news-portal style) and share dialog
   ========================================================================== */

/* Title */
.votix-single-article .votix-single-title {
  margin: 0;
  font-size: clamp(1.875rem, 1.2rem + 3vw, 2.875rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--votix-black);
}

/* Byline avatar initials */
.votix-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-radius: 50%;
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--votix-lime);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.votix-byline-text {
  min-width: 0;
}
.votix-byline-text > * + * {
  margin-block-start: 0.125rem;
}

.votix-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.votix-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.no-speech .votix-listen-button {
  display: none;
}

/* Featured image */
.votix-single-article .votix-hero-figure {
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}
.votix-single-article .votix-hero-figure > * + * {
  margin-block-start: 0.625rem;
}

/* ---- Share dialog ---- */
.votix-dialog-open {
  overflow: hidden;
}
.votix-share-dialog {
  box-sizing: border-box;
  width: min(32rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100% - 2rem);
  padding: 1.5rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-top: 3px solid var(--wp--preset--color--votix-lime);
  border-radius: 8px;
  background: var(--wp--preset--color--pure-white);
  color: var(--wp--preset--color--votix-black);
  box-shadow: 0 16px 40px rgba(11, 31, 68, 0.22);
  font-family: var(--wp--preset--font-family--inter);
}
.votix-share-dialog::backdrop {
  background: rgba(11, 31, 68, 0.55);
}
.votix-share-dialog[open] {
  animation: votix-dialog-in 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes votix-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.votix-share-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.votix-share-dialog__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: inherit;
}
.votix-share-dialog__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  background: transparent;
  color: var(--wp--preset--color--slate-gray);
  cursor: pointer;
}
.votix-share-dialog__close:hover {
  background: var(--wp--preset--color--neutral-gray);
  color: var(--wp--preset--color--votix-black);
}

.votix-share-dialog__preview {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.125rem;
  padding: 0.75rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 6px;
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 28%,
    #fff
  );
}
.votix-share-dialog__thumb {
  flex: 0 0 6rem;
  width: 6rem;
  height: 4rem;
  border-radius: 4px;
  object-fit: cover;
}
.votix-share-dialog__headline {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.votix-share-dialog__targets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.votix-share-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.25rem;
  border-radius: 6px;
  color: var(--wp--preset--color--votix-black);
  text-decoration: none;
  outline: none;
}
.votix-share-target:hover,
.votix-share-target:focus-visible {
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 40%,
    #fff
  );
}
.votix-share-target__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  background: var(--votix-brand, #111);
  color: #fff;
}
.votix-share-target__circle svg {
  width: 1.5rem;
  height: 1.5rem;
}
.votix-share-target__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}
.votix-share-target--facebook {
  --votix-brand: #1877f2;
}
.votix-share-target--threads {
  --votix-brand: #000;
}
.votix-share-target--x {
  --votix-brand: #000;
}
.votix-share-target--whatsapp {
  --votix-brand: #25d366;
}
.votix-share-target--telegram {
  --votix-brand: #2aabee;
}

.votix-share-dialog__copy {
  display: flex;
  margin-top: 1.125rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  overflow: hidden;
}
.votix-share-dialog *,
.votix-share-dialog *::before,
.votix-share-dialog *::after {
  box-sizing: border-box;
}
.votix-share-dialog__url {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  border: 0;
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 25%,
    #fff
  );
  color: var(--wp--preset--color--slate-gray);
  font: inherit;
  font-size: 0.875rem;
}
.votix-share-dialog__url:focus {
  outline: none;
  color: var(--wp--preset--color--votix-black);
}
.votix-share-dialog__copy-btn {
  padding: 0 1.25rem;
  border: 0;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--navy);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.votix-share-dialog__copy-btn:hover {
  filter: brightness(0.95);
}
.votix-share-dialog__copy-btn.is-done {
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--votix-lime);
}

.votix-share-dialog__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  background: var(--wp--preset--color--pure-white);
  color: var(--wp--preset--color--votix-black);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.votix-share-dialog__more:hover {
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 30%,
    #fff
  );
}
.votix-share-dialog__more svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (max-width: 420px) {
  .votix-share-dialog {
    padding: 1.125rem;
    border-radius: 8px;
  }
  .votix-share-target__circle {
    width: 2.625rem;
    height: 2.625rem;
  }
  .votix-share-target__circle svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .votix-share-target__label {
    font-size: 0.75rem;
  }
  .votix-share-dialog__thumb {
    flex-basis: 4.75rem;
    width: 4.75rem;
    height: 3.25rem;
  }
  .votix-share-dialog__headline {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .votix-share-dialog[open] {
    animation: none;
  }
}

/* ==========================================================================
   9. Single article — Votix Media brand guideline
   Lime #C6FF00 · Black #111111 · Slate Gray #667085 · Neutral Gray #E5E7EB · Accent Red #EF4444
   ========================================================================== */

/* Categories: Lime background, black Montserrat Bold, uppercase */
.votix-single-article .votix-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0 0 1rem;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--votix-black);
}
.votix-single-article .votix-kicker .wp-block-post-terms__separator {
  display: none;
}
.votix-single-article .votix-kicker a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--votix-black);
  line-height: 1.25;
  text-decoration: none;
}
.votix-single-article .votix-kicker a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Title: Montserrat ExtraBold, Votix Black */
.votix-single-article .votix-single-title {
  color: var(--wp--preset--color--votix-black);
}

/* Meta row: Inter, Slate Gray — avatar, name, date + action buttons */
.votix-single-article .votix-byline-row {
  margin-top: 1.5rem;
  gap: 1rem;
}
.votix-single-article .votix-byline {
  margin-top: 0;
  gap: 0.75rem;
  font-family: var(--wp--preset--font-family--inter);
  color: var(--wp--preset--color--slate-gray);
}
.votix-single-article .votix-byline-name {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp--preset--color--slate-gray);
}
.votix-single-article .votix-byline-meta {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--wp--preset--color--slate-gray);
}
.votix-single-article .votix-initials {
  flex-basis: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 0.9375rem;
}

/* Action buttons aligned horizontally with the author on PC */
.votix-single-article .votix-actions {
  margin-top: 0;
  gap: 0.5rem;
}
.votix-single-article .votix-action .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--wp--preset--color--neutral-gray);
  color: var(--wp--preset--color--votix-black);
  font-family: var(--wp--preset--font-family--inter);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.votix-single-article .votix-action .wp-block-button__link:hover,
.votix-single-article .votix-action .wp-block-button__link:focus-visible {
  background: var(--wp--preset--color--neutral-gray);
}
.votix-single-article .votix-action .wp-block-button__link.is-playing,
.votix-single-article .votix-action .wp-block-button__link.is-saved {
  background: var(--wp--preset--color--votix-lime);
  box-shadow: none;
  color: var(--wp--preset--color--votix-black);
}
.votix-action .wp-block-button__link.is-saved svg path {
  fill: currentColor;
}
.votix-single-article .votix-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Featured image + caption */
.votix-single-article .votix-figcaption {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--wp--preset--color--slate-gray);
}

/* Content: Inter, Votix Black, 18px / 1.7 */
.votix-single-article .votix-article-content {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--wp--preset--color--votix-black);
}

/* Tags */
.votix-single-article .votix-tags {
  font-size: 0.875rem;
}
.votix-single-article .votix-tags .wp-block-post-terms__prefix {
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--votix-black);
}

/* Tim Editor: minimal, Neutral Gray lines top and bottom */
.votix-single-article .votix-editor-box {
  gap: 1rem;
  margin-top: var(--wp--preset--spacing--50);
  padding: 1.25rem 0;
  border-top: 1px solid var(--wp--preset--color--neutral-gray);
  border-bottom: 1px solid var(--wp--preset--color--neutral-gray);
}
.votix-initials--lg {
  flex-basis: 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.125rem;
}
.votix-editor-box__text {
  min-width: 0;
  font-family: var(--wp--preset--font-family--inter);
}
.votix-editor-box__text > * + * {
  margin-block-start: 0.25rem;
}
.votix-editor-box__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-red);
}
.votix-editor-box__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--wp--preset--color--votix-black);
}
.votix-editor-box__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wp--preset--color--slate-gray);
}

@media (max-width: 782px) {
  .votix-sidebar {
    margin-top: var(--wp--preset--spacing--50) !important;
  }
  .votix-single-article .votix-byline-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.875rem !important;
  }
  .votix-single-article .votix-actions {
    flex-wrap: nowrap;
    gap: 0.375rem;
  }
  .votix-single-article .votix-action .wp-block-button__link {
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   10. Static pages (templates/page.html) — Tentang Kami, Redaksi,
       Pedoman Media Siber, Kontak, …
   ========================================================================== */

/* Page header: big title + short Lime accent bar */
.votix-page-header {
  margin-bottom: var(--wp--preset--spacing--50);
}
.votix-page .votix-page-title {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.votix-page .votix-accent-bar {
  width: 4rem;
  height: 6px;
  margin: 1.25rem 0 0 !important;
  border: 0;
  border-radius: 0;
  background: var(--wp--preset--color--votix-lime);
  opacity: 1;
}

/* Content: everything the newsroom writes with core blocks */
.votix-page-content {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--wp--preset--color--votix-black);
}
.votix-page-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}
.votix-page-content > p,
.votix-page-content > ul,
.votix-page-content > ol,
.votix-page-content > blockquote,
.votix-page-content > .wp-block-quote,
.votix-page-content > h2,
.votix-page-content > h3,
.votix-page-content > h4 {
  max-width: 48rem;
}
.votix-page-content > * + * {
  margin-block-start: 1.25em;
}
.votix-page-content p {
  font-size: inherit;
  line-height: inherit;
}

/* Headings separate the sections (Pedoman Media Siber, Struktur Redaksi …) */
.votix-page-content h2,
.votix-page-content h3,
.votix-page-content h4 {
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--navy);
}
.votix-page-content h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
}
.votix-page-content h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.4375rem);
}
.votix-page-content h4 {
  font-size: 1.125rem;
}
.votix-page-content > h2 {
  margin-block-start: 2.5em;
}
.votix-page-content > h3,
.votix-page-content > h4 {
  margin-block-start: 2em;
}
.votix-page-content > h2 + *,
.votix-page-content > h3 + *,
.votix-page-content > h4 + * {
  margin-block-start: 0.75em;
}
.votix-page-content > :first-child {
  margin-block-start: 0;
}

/* Lists */
.votix-page-content ul,
.votix-page-content ol {
  padding-left: 1.5em;
}
.votix-page-content li {
  padding-left: 0.25em;
}
.votix-page-content li + li {
  margin-top: 0.5em;
}
.votix-page-content li > ul,
.votix-page-content li > ol {
  margin-top: 0.5em;
}
.votix-page-content ul li::marker {
  color: var(--wp--preset--color--navy);
}
.votix-page-content ol li::marker {
  color: var(--wp--preset--color--navy);
  font-weight: 700;
}

/* Links: Navy, Lime underline */
.votix-page-content a {
  color: var(--wp--preset--color--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--wp--preset--color--votix-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.votix-page-content a:hover,
.votix-page-content a:focus-visible {
  color: var(--wp--preset--color--accent-red);
  text-decoration-color: var(--wp--preset--color--accent-red);
}
.votix-page-content .wp-block-button__link {
  text-decoration: none;
}

/* Blockquote: Lime accent on the left */
.votix-page-content blockquote,
.votix-page-content .wp-block-quote {
  margin-inline: 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-left: 4px solid var(--wp--preset--color--votix-lime);
  background: var(--wp--preset--color--pure-white);
  font-size: 1.0625em;
  font-style: normal;
}
.votix-page-content blockquote > * + * {
  margin-top: 0.75em;
}
.votix-page-content blockquote cite,
.votix-page-content .wp-block-quote cite {
  display: block;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: var(--wp--preset--color--slate-gray);
}

/* Tables: thin Neutral Gray borders, roomy cells, scrolls sideways on phones */
.votix-page-content .wp-block-table {
  overflow-x: auto;
  margin-inline: 0;
}
.votix-page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.votix-page-content th,
.votix-page-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  text-align: left;
  vertical-align: top;
}
.votix-page-content thead th,
.votix-page-content th {
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 45%,
    #fff
  );
  font-weight: 700;
  color: var(--wp--preset--color--navy);
}
.votix-page-content .wp-block-table figcaption,
.votix-page-content .wp-element-caption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--slate-gray);
}

/* Core adds a 3px dark line under the header row and above the footer row; keep it thin and gray. */
.votix-page-content .wp-block-table thead,
.votix-page-content .wp-block-table tfoot {
  border: 0;
}
.votix-page-content .wp-block-table thead th {
  border-bottom: 2px solid var(--wp--preset--color--neutral-gray);
}

/* Images and separators inside pages */
.votix-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.votix-page-content hr {
  border: 0;
  border-top: 1px solid var(--wp--preset--color--neutral-gray);
  margin-block: 2.5em;
}

/* Phones */
@media (max-width: 782px) {
  .votix-page {
    padding-left: max(20px, var(--wp--preset--spacing--40)) !important;
    padding-right: max(20px, var(--wp--preset--spacing--40)) !important;
  }
  .votix-page .votix-page-title {
    font-size: clamp(1.75rem, 1.2rem + 3vw, 2.25rem);
  }
  .votix-page-content {
    font-size: 1.0625rem;
  }
  .votix-page-content > h2 {
    margin-block-start: 2em;
  }
  .votix-page-content th,
  .votix-page-content td {
    padding: 0.625rem 0.75rem;
  }
  .votix-page-content blockquote,
  .votix-page-content .wp-block-quote {
    padding: 1rem 1.125rem;
  }
}

/* ==========================================================================
   11. Search results (templates/search.html) — list shares archive styles
   ========================================================================== */
.votix-search-header {
  padding-bottom: var(--wp--preset--spacing--40);
  border-bottom: 1px solid var(--wp--preset--color--neutral-gray);
}
.votix-search-header > * + * {
  margin-block-start: 1.25rem;
}
.votix-search-title {
  margin: 0;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Search again */
.votix-search-again {
  max-width: 40rem;
}
.votix-search-again .wp-block-search__inside-wrapper {
  padding: 0 !important;
  border: 1px solid var(--wp--preset--color--neutral-gray) !important;
  border-radius: 4px;
  overflow: hidden;
  background: var(--wp--preset--color--pure-white);
}
.votix-search-again .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--wp--preset--color--navy) !important;
}
.votix-search-again .wp-block-search__input {
  border: 0;
  padding: 0.875rem 1rem;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1rem;
  color: var(--wp--preset--color--votix-black);
  background: transparent;
}
.votix-search-again .wp-block-search__input:focus {
  outline: none;
}
.votix-search-again .wp-block-search__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--navy);
}
.votix-search-again .wp-block-search__button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* No results */
.votix-no-results {
  padding: 2rem 1.5rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 6px;
  text-align: center;
  font-family: var(--wp--preset--font-family--inter);
}
.votix-no-results > * + * {
  margin-block-start: 0.375rem;
}
.votix-no-results__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wp--preset--color--navy);
}
.votix-no-results__hint {
  margin: 0;
  font-size: 1rem;
  color: var(--wp--preset--color--slate-gray);
}

/* 404 page (templates/404.html) */
.votix-404-hero {
  text-align: center;
}
.votix-404-code,
.votix-404-title,
.votix-404-desc {
  margin: 0;
}
.votix-404-search {
  max-width: 600px;
  margin-inline: auto !important;
  width: 100%;
}
.votix-404-latest {
  text-align: left;
}

/* ==========================================================================
   12. News index — [votix_indeks_berita]
   Wide 1440px layout (2 columns: 66.66% news index + 33.33% sticky Terpopuler sidebar).
   Prefixed with .votix-page-content where needed to win over page link/list styles.
   ========================================================================== */
.votix-indeks {
  width: 100%;
  font-family: var(--wp--preset--font-family--inter);
}
.votix-indeks__layout {
  display: flex;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--50);
  width: 100%;
}
.votix-indeks__main {
  flex: 1 1 66.66%;
  min-width: 0;
}
.votix-indeks__main > * + * {
  margin-top: 1.25rem;
}
.votix-indeks__sidebar {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  min-width: 0;
}
.votix-page-content .votix-indeks__sidebar h2.votix-section-title {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: var(--wp--preset--font-size--x-large);
  font-weight: 900;
  color: var(--wp--preset--color--votix-black);
}
.votix-page-content .votix-indeks__sidebar .wp-block-post-template {
  padding-left: 0;
  list-style: none;
}
.votix-page-content .votix-indeks__sidebar .wp-block-post-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  line-height: 1.35;
}
.votix-page-content .votix-indeks__sidebar .wp-block-post-title a {
  color: var(--wp--preset--color--navy);
  font-weight: 700;
  text-decoration: none;
  background: none;
}
.votix-page-content .votix-indeks__sidebar .wp-block-post-title a:hover {
  color: var(--wp--preset--color--accent-red);
  background: none;
}
.votix-page-content .votix-indeks__sidebar .votix-meta-views {
  font-size: var(--wp--preset--font-size--small);
}

/* Filter form: one row on desktop, stacked on phones */
.votix-indeks__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 8px;
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 25%,
    #fff
  );
}
.votix-indeks__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1 1 12rem;
  min-width: 0;
}
.votix-indeks__field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--slate-gray);
}
.votix-indeks__field input,
.votix-indeks__field select {
  box-sizing: border-box;
  width: 100%;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 6px;
  background: var(--wp--preset--color--pure-white);
  color: var(--wp--preset--color--votix-black);
  font: inherit;
  font-size: 0.9375rem;
}
.votix-indeks__field input:focus,
.votix-indeks__field select:focus {
  outline: 2px solid var(--wp--preset--color--navy);
  outline-offset: 1px;
}
.votix-indeks__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}
.votix-indeks__submit {
  height: 2.75rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--navy);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.votix-indeks__submit:hover {
  filter: brightness(0.95);
}
.votix-indeks__submit:focus-visible {
  outline: 2px solid var(--wp--preset--color--navy);
  outline-offset: 2px;
}
.votix-page-content .votix-indeks a.votix-indeks__reset {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wp--preset--color--slate-gray);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  background: none;
}
.votix-page-content .votix-indeks a.votix-indeks__reset:hover {
  color: var(--wp--preset--color--navy);
}

.votix-indeks__summary {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wp--preset--color--slate-gray);
}

/* News list (matches archive/Berita Terkini proportions) */
.votix-indeks__list {
  border-top: 1px solid var(--wp--preset--color--neutral-gray);
}
.votix-indeks__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--wp--preset--color--neutral-gray);
}
.votix-indeks__thumb {
  flex: 0 0 13.5rem;
  width: 13.5rem;
  display: block;
  background: none !important;
}
.votix-indeks__img,
.votix-indeks__noimg {
  display: block;
  width: 13.5rem;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  background: var(--wp--preset--color--neutral-gray);
}
.votix-page-content .votix-indeks__img {
  border-radius: 6px;
}
.votix-indeks__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.votix-page-content .votix-indeks a.votix-indeks__cat {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--navy);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}
.votix-page-content .votix-indeks h3.votix-indeks__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.votix-page-content .votix-indeks .votix-indeks__title a {
  color: var(--wp--preset--color--navy);
  font-weight: 800;
  text-decoration: none;
  background: none;
}
.votix-page-content .votix-indeks .votix-indeks__title a:hover {
  color: var(--wp--preset--color--accent-red);
  background: none;
}
.votix-indeks__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wp--preset--color--slate-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.votix-indeks__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--slate-gray);
}
.votix-indeks__time {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--slate-gray);
}

.votix-indeks__empty {
  padding: 2rem 1.5rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 8px;
  text-align: center;
  color: var(--wp--preset--color--slate-gray);
}

/* Pagination (same look as the archive pages) */
.votix-indeks__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.votix-indeks__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  color: var(--wp--preset--color--navy);
}
.votix-page-content .votix-indeks__pagination a.page-numbers {
  text-decoration: none;
  background: none;
}
.votix-page-content .votix-indeks__pagination a.page-numbers:hover {
  border-color: var(--wp--preset--color--navy);
}
.votix-indeks__pagination .page-numbers.current {
  background: var(--wp--preset--color--navy);
  border-color: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--votix-lime);
}
.votix-indeks__pagination .page-numbers.dots {
  border: 0;
  min-width: auto;
}

@media (max-width: 782px) {
  .votix-indeks__layout {
    flex-direction: column;
  }
  .votix-indeks__main,
  .votix-indeks__sidebar {
    width: 100%;
    flex-basis: auto;
  }
  .votix-indeks__filter {
    flex-direction: column;
    align-items: stretch;
  }
  .votix-indeks__field {
    flex-basis: auto;
  }
  .votix-indeks__actions {
    justify-content: space-between;
  }
  .votix-indeks__submit {
    flex: 1;
  }
  .votix-indeks__thumb {
    flex-basis: 7rem;
    width: 7rem;
  }
  .votix-indeks__img,
  .votix-indeks__noimg {
    width: 7rem;
  }
  .votix-indeks__excerpt {
    display: none;
  }
  .votix-page-content .votix-indeks h3.votix-indeks__title {
    font-size: 0.9375rem;
  }
}

/* ==========================================================================
   13. Phone header + hero carousel (client brief)
   ========================================================================== */

/* Desktop/tablet: the hero shows only the first of its 3 posts; no dots. */
.votix-hero-dots {
  display: none;
}
@media (min-width: 782px) {
  .votix-hero .wp-block-post-template > li:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 781px) {
  /* ---- Header: logo left, hamburger right, on one white row ---- */
  header.wp-block-template-part {
    position: relative;
  }
  .votix-mainheader {
    padding-top: 1.125rem !important;
    padding-bottom: 1.125rem !important;
  }
  .votix-mainheader .votix-logo {
    font-size: 1.875rem !important;
  }

  /* The Navy bar collapses: Home and LIVE are hidden, the hamburger moves up next to the logo. */
  .votix-navbar-ticker,
  .votix-navbar {
    background: transparent !important;
  }
  .votix-navbar {
    height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .votix-navbar .votix-home,
  .votix-navbar .votix-live {
    display: none !important;
  }
  /* Let the hamburger position itself against the header, not the collapsed bar. */
  .votix-navbar-ticker,
  .votix-navbar,
  .votix-navbar .wp-block-group,
  .votix-navbar .wp-block-navigation {
    position: static !important;
  }
  .votix-mainnav .wp-block-navigation__responsive-container-open {
    position: absolute;
    z-index: 5;
    top: 2.0625rem;
    right: var(--wp--preset--spacing--40);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
    padding: 0;
    color: var(--wp--preset--color--navy);
  }
  /* Three bold bars, like the brief (core's icon has two thin lines). */
  .votix-mainnav .wp-block-navigation__responsive-container-open svg {
    display: none;
  }
  .votix-mainnav .wp-block-navigation__responsive-container-open::before {
    content: "";
    width: 1.75rem;
    height: 1.25rem;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat;
  }

  /* ---- Breaking news: red label + light gray rounded pill ---- */
  .votix-ticker-row {
    padding-top: 0.25rem !important;
  }
  .votix-ticker-inner {
    gap: 0.75rem !important;
    padding: 0 0.75rem 0 0 !important;
    border-bottom: 0 !important;
    border-radius: 8px;
    background: color-mix(
      in srgb,
      var(--wp--preset--color--neutral-gray) 55%,
      #fff
    );
  }
  .votix-breaking {
    font-size: 0.8125rem !important;
    padding: 0.5rem 1.25rem 0.5rem 0.875rem !important;
    border-radius: 6px 0 0 6px;
  }
  .votix-ticker-divider {
    height: 1rem;
  }

  /* ---- Hero: swipeable cards (3 latest posts) ---- */
  .votix-front {
    padding-top: 1rem !important;
  }
  .votix-hero .wp-block-post-template {
    display: flex !important;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .votix-hero .wp-block-post-template::-webkit-scrollbar {
    display: none;
  }
  .votix-hero .wp-block-post-template > li {
    flex: 0 0 100%;
    margin: 0 !important;
    scroll-snap-align: center;
  }
  .votix-hero .wp-block-cover {
    aspect-ratio: 6 / 5 !important;
    min-height: auto !important;
    padding: 1.125rem !important;
    border-radius: 10px;
  }
  .votix-hero .wp-block-cover__inner-container > * + * {
    margin-top: 0.625rem;
  }
  .votix-hero .votix-hero-title {
    font-size: clamp(1.5rem, 1rem + 2.6vw, 1.75rem) !important;
    line-height: 1.2 !important;
  }
  .votix-hero .wp-block-post-excerpt,
  .votix-hero .votix-meta-views {
    display: none !important;
  }
  .votix-hero .votix-meta {
    font-size: 0.875rem;
  }

  /* Dots */
  .votix-hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
  }
  .votix-hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(
      in srgb,
      var(--wp--preset--color--slate-gray) 40%,
      #fff
    );
    cursor: pointer;
    transition:
      width 0.2s,
      background-color 0.2s;
  }
  .votix-hero-dot.is-active {
    width: 1.5rem;
    background: var(--wp--preset--color--navy);
  }
}

@media (max-width: 781px) and (prefers-reduced-motion: reduce) {
  .votix-hero .wp-block-post-template {
    scroll-behavior: auto;
  }
  .votix-hero-dot {
    transition: none;
  }
}

/* ==========================================================================
   14. Homepage desktop layout — client PC mockup
   ========================================================================== */

/* Top bar: light gray strip */
.votix-topbar {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 35%,
    #fff
  ) !important;
}

/* Mobile-only headings */
@media (min-width: 782px) {
  .votix-mobile-only {
    display: none !important;
  }
}

/* ---- Hero row: hero 50% · latest 26% · News Update 24% ---- */
.votix-hero-columns {
  align-items: stretch !important;
}
@media (min-width: 782px) {
  .votix-col-hero .votix-hero .wp-block-cover {
    min-height: 520px !important;
  }
  /* Narrower hero column → smaller title (about 3 lines, as in the mockup). */
  .votix-col-hero .votix-hero .votix-hero-title {
    font-size: clamp(1.75rem, 0.9rem + 1.6vw, 2.375rem) !important;
    line-height: 1.15 !important;
  }
}

/* Middle column: 4 compact posts (photo, label, title, time) */
.votix-stack .wp-block-post-template {
  margin: 0;
  padding: 0;
  list-style: none;
}
.votix-stack .wp-block-post-template > li {
  margin: 0 !important;
  padding: 0 0 0.875rem;
}
.votix-stack .wp-block-post-template > li + li {
  padding-top: 0.875rem;
  border-top: 1px solid var(--wp--preset--color--neutral-gray);
}
.votix-stack-item {
  gap: 0.875rem !important;
}
.votix-stack .votix-stack-thumb {
  flex: 0 0 7.5rem;
  width: 7.5rem !important;
  margin: 0;
}
.votix-stack .votix-stack-thumb img {
  border-radius: 6px;
}
.votix-stack-text {
  min-width: 0;
}
.votix-stack-text > * + * {
  margin-block-start: 0.375rem;
}
.votix-stack .votix-label {
  font-size: 0.625rem;
}
.votix-stack .votix-stack-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.votix-stack .votix-stack-title a {
  color: var(--wp--preset--color--navy);
  text-decoration: none;
}
.votix-stack .votix-stack-title a:hover {
  color: var(--wp--preset--color--accent-red);
}
.votix-stack .votix-stack-date {
  font-size: 0.75rem;
  color: var(--wp--preset--color--slate-gray);
}
/* Desktop shows posts 2–5 (right after the hero); BERITA TERKINI starts at post 6. */
.votix-stack .wp-block-post-template > li:nth-child(n + 5) {
  display: none;
}
@media (max-width: 781px) {
  /* Phones: posts 2–3 are already in the hero carousel, so the list shows posts 4–5. */
  .votix-stack .wp-block-post-template > li:nth-child(-n + 2) {
    display: none;
  }
  .votix-stack .wp-block-post-template > li:nth-child(3) {
    padding-top: 0;
    border-top: 0;
  }
  .votix-col-latest .votix-section-title {
    margin: 0 0 0.75rem;
  }
  .votix-stack .votix-label {
    display: none;
  }
  .votix-stack .votix-stack-title {
    font-size: 1rem;
  }
}

/* Tablet (782–1100px): hero full width, then latest + News Update side by side */
@media (min-width: 782px) and (max-width: 1100px) {
  .votix-hero-columns {
    flex-wrap: wrap !important;
    row-gap: 1.5rem;
  }
  .votix-col-hero {
    flex-basis: 100% !important;
  }
  .votix-col-latest,
  .votix-col-update {
    flex-basis: calc(50% - 0.75rem) !important;
    flex-grow: 0 !important;
  }
  .votix-col-hero .votix-hero .wp-block-cover {
    min-height: 460px !important;
  }
}

/* ---- Hero row, desktop: all three columns end at the same line ---- */
@media (min-width: 1101px) {
  .votix-col-hero,
  .votix-col-latest,
  .votix-col-update {
    display: flex;
    flex-direction: column;
  }

  /* Hero card fills the row height. */
  .votix-col-hero .votix-hero,
  .votix-col-hero .votix-hero .wp-block-post-template {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .votix-col-hero .votix-hero .wp-block-post-template > li:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .votix-col-hero .votix-hero .wp-block-cover {
    flex: 1;
  }

  /* News Update box fills the right column height cleanly. */
  .votix-col-update .votix-newsupdate {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .votix-col-update .votix-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .votix-col-update .votix-timeline .wp-block-post-template {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .votix-col-update .votix-more {
    margin-top: auto;
  }
}

/* Middle list spreads its 4 posts over the row height (desktop and tablet). */
@media (min-width: 782px) {
  .votix-col-latest {
    display: flex;
    flex-direction: column;
  }
  .votix-col-latest .votix-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .votix-col-latest .votix-stack .wp-block-post-template {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* ==========================================================================
   15. Footer Logo Helper ([votix_footer_credit])
   ========================================================================== */
.votix-footer-credit__logo-img {
  max-height: 2.5rem;
  width: auto;
  display: block;
}

/* ==========================================================================
   16. Post Formats (single.html):
       - body.single-format-video   (Clean White background, 70/30 layout with sticky Terpopuler sidebar, 16:9 top video player, hide duplicate featured image)
       - body.single-format-gallery (Hide featured image, main swipeable photo + clickable thumbnail filmstrip underneath)
   ========================================================================== */

/* ---- Format: Video (body.single-format-video — Clean White + Sidebar) ---- */
body.single-format-video .votix-single-article > .votix-hero-figure {
  display: none !important;
}
body.single-format-video .votix-single-article .votix-article-content {
  margin-top: 1.5rem;
}
body.single-format-video .votix-article-content .wp-block-embed,
body.single-format-video .votix-article-content .wp-block-video {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}
body.single-format-video .votix-article-content .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(11, 31, 68, 0.08);
}
body.single-format-video .votix-article-content .wp-block-embed__wrapper iframe,
body.single-format-video .votix-article-content .wp-block-video video {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 6px;
  display: block;
}

/* ---- Format: Galeri (body.single-format-gallery) ---- */
body.single-format-gallery .votix-single-article > .votix-hero-figure {
  display: none !important;
}
body.single-format-gallery .votix-single-article .votix-article-content {
  margin-top: 1.5rem;
}
body.single-format-gallery .wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-block: 1.5rem 0.75rem !important;
  padding: 0 !important;
}
body.single-format-gallery .wp-block-gallery::-webkit-scrollbar {
  display: none;
}
body.single-format-gallery .wp-block-gallery > .wp-block-image {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  scroll-snap-align: center;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--wp--preset--color--navy);
}
body.single-format-gallery .wp-block-gallery > .wp-block-image img {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  height: auto !important;
  object-fit: cover;
  display: block;
}
body.single-format-gallery .wp-block-gallery > .wp-block-image figcaption {
  position: static !important;
  background: var(--wp--preset--color--navy) !important;
  color: var(--wp--preset--color--pure-white) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 0.875rem !important;
  line-height: 1.45;
  text-align: left !important;
}

/* Gallery Thumbnail Filmstrip & Arrow Controls below main photo */
.votix-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 2rem !important;
  padding: 0.5rem;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 6px;
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 25%,
    #fff
  );
}
.votix-carousel-thumbs {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px;
}
.votix-carousel-thumbs::-webkit-scrollbar {
  display: none;
}
.votix-carousel-thumb {
  position: relative;
  flex: 1 0 6.5rem;
  aspect-ratio: 16 / 10;
  height: auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: var(--wp--preset--color--navy);
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.votix-carousel-thumb:hover,
.votix-carousel-thumb:focus-visible {
  opacity: 0.9;
  outline: none;
}
.votix-carousel-thumb.is-active {
  opacity: 1;
  border-color: var(--wp--preset--color--navy);
  box-shadow: 0 0 0 2px var(--wp--preset--color--votix-lime);
}
.votix-carousel-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block;
}
.votix-carousel-thumb__num {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(11, 31, 68, 0.85);
  color: var(--wp--preset--color--pure-white);
  font-family: var(--wp--preset--font-family--montserrat);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.votix-carousel-thumb.is-active .votix-carousel-thumb__num {
  background: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--navy);
}
.votix-carousel-arrow {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  background: var(--wp--preset--color--pure-white);
  color: var(--wp--preset--color--navy);
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s,
    opacity 0.15s;
}
.votix-carousel-arrow:hover:not(:disabled),
.votix-carousel-arrow:focus-visible:not(:disabled) {
  background: var(--wp--preset--color--votix-lime);
  border-color: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--navy);
}
.votix-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   17. Mobile Post Title Optimization (Max 3 lines, 20px) & Archive 3-Col Grid
   ========================================================================== */

/* Header Kategori (templates/archive.html) */
.votix-archive-banner .votix-accent-bar {
  width: 4.5rem;
  height: 5px;
  margin: 0.75rem 0 0 !important;
  border: 0;
  border-radius: 0;
  background: var(--wp--preset--color--votix-lime);
  opacity: 1;
}
.votix-archive-banner .votix-archive-description {
  margin-top: 0.75rem !important;
  max-width: 720px;
  opacity: 0.88;
}
.votix-archive-banner .votix-archive-description:empty {
  display: none;
}

/* Archive 3-Column Card Grid */
.votix-archive-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.votix-archive-card:hover {
  border-color: var(--wp--preset--color--navy) !important;
  box-shadow: 0 8px 24px rgba(11, 31, 68, 0.08);
}
.votix-archive-card__thumb {
  margin: 0 !important;
}
.votix-archive-card__thumb img {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block;
}
.votix-archive-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.votix-archive-card__title {
  margin: 0 !important;
}
.votix-archive-card__title a {
  color: var(--wp--preset--color--votix-black) !important;
  text-decoration: none;
}
.votix-archive-card__title a:hover {
  color: var(--wp--preset--color--accent-red) !important;
}
.votix-archive-card__excerpt,
.votix-archive-card__excerpt .wp-block-post-excerpt__excerpt {
  margin: 0 !important;
  line-height: 1.55;
}

@media (max-width: 1024px) and (min-width: 782px) {
  .votix-archive-grid .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 781px) {
  .votix-archive-banner {
    padding: var(--wp--preset--spacing--40) !important;
  }
  /* Archive Grid collapses to 1 column on mobile */
  .votix-archive-grid .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr !important;
  }

  /* Optimasi Judul Berita Mobile */
  body:not(.single) main .wp-block-post-title,
  body:not(.single) main .wp-block-post-title a,
  .votix-hero .wp-block-post-title,
  .votix-hero .wp-block-post-title a,
  .votix-archive-item .wp-block-post-title,
  .votix-archive-item .wp-block-post-title a {
    font-size: 20px !important; /* Perkecil ukuran dari default */
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* Batasi maksimal 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   18. Native Dark Mode Override (body.dark-mode) & Toggle Button
   ========================================================================== */
.votix-header-actions {
  flex-shrink: 0;
}
.votix-dark-toggle {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--wp--preset--color--neutral-gray);
  border-radius: 4px;
  width: 2.625rem;
  height: 2.625rem;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--navy);
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
  flex-shrink: 0;
}
.votix-dark-toggle:hover,
.votix-dark-toggle:focus-visible {
  border-color: var(--wp--preset--color--navy);
  background: color-mix(
    in srgb,
    var(--wp--preset--color--neutral-gray) 35%,
    #fff
  );
}
.votix-dark-toggle #icon-sun {
  display: none;
}
.votix-dark-toggle #icon-moon {
  display: block;
}

@media (max-width: 781px) {
  .votix-mainheader > .wp-block-group.alignwide {
    padding-right: 3.375rem !important;
    box-sizing: border-box;
  }
  .votix-header-actions {
    margin-left: auto !important;
  }
  .votix-dark-toggle {
    width: 2.375rem;
    height: 2.375rem;
  }
}

/* ---- Dark Mode Palette & Component Overrides ----
   IMPORTANT: Never override --wp--preset--color--pure-white or --wp--preset--color--navy
   globally, because components like the Hero card, Navbar, Footer, and Mobile Menu rely on
   pure-white meaning white text and navy meaning dark blue! */
body.dark-mode {
  --wp--preset--color--base: #091120;
  --wp--preset--color--contrast: #f3f4f6;
  --votix-dm-bg: #091120;
  --votix-dm-surface: #111827;
  --votix-dm-elevated: #1e293b;
  --votix-dm-border: #1f2937;
  --votix-dm-text: #f3f4f6;
  --votix-dm-muted: #9ca3af;
  background-color: var(--votix-dm-bg) !important;
  color: var(--votix-dm-text) !important;
}

/* 1. Toggle button in dark mode */
body.dark-mode .votix-dark-toggle {
  border-color: #374151;
  background: var(--votix-dm-surface);
}
body.dark-mode .votix-dark-toggle:hover,
body.dark-mode .votix-dark-toggle:focus-visible {
  border-color: var(--wp--preset--color--votix-lime);
}
body.dark-mode .votix-dark-toggle #icon-moon {
  display: none;
}
body.dark-mode .votix-dark-toggle #icon-sun {
  display: block;
  fill: #c6ff00;
  color: #c6ff00;
}

/* 2. Header: Topbar, Mainheader, Navbar, Submenu, Mobile hamburger, Ticker */
body.dark-mode .votix-topbar {
  background-color: #060c17 !important;
  color: var(--votix-dm-muted) !important;
  border-bottom: 1px solid var(--votix-dm-border);
}
body.dark-mode .votix-topbar .wp-block-navigation-item__content {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .votix-topbar .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-topbar .wp-block-social-links .wp-social-link {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-topbar .wp-block-social-links .wp-social-link:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}

body.dark-mode .votix-mainheader {
  background-color: var(--votix-dm-bg) !important;
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-logo,
body.dark-mode .votix-logo a,
body.dark-mode .votix-tagline {
  color: #ffffff !important;
}
body.dark-mode .votix-tagline-wrap {
  border-left-color: #374151 !important;
}

/* Desktop Navbar & Dropdown Submenus */
body.dark-mode .votix-navbar-ticker,
body.dark-mode .votix-navbar {
  background-color: #0b1f44 !important;
  color: #ffffff !important;
}
body.dark-mode .votix-mainnav .wp-block-navigation-item__content {
  color: #ffffff !important;
}
body.dark-mode .votix-mainnav .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-mainnav .wp-block-navigation__submenu-container {
  background-color: var(--votix-dm-surface) !important;
  color: var(--votix-dm-text) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
body.dark-mode
  .votix-mainnav
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  color: var(--votix-dm-text) !important;
}
body.dark-mode
  .votix-mainnav
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item__content:hover {
  background-color: var(--votix-dm-elevated) !important;
  color: var(--wp--preset--color--votix-lime) !important;
}
/* Hamburger button icon (3 bars) visible in dark mode */
body.dark-mode .votix-mainnav .wp-block-navigation__responsive-container-open {
  color: #ffffff !important;
}
@media (max-width: 781px) {
  body.dark-mode .votix-navbar-ticker,
  body.dark-mode .votix-navbar {
    background-color: transparent !important;
  }
}

/* Breaking News Ticker row */
body.dark-mode .votix-ticker-row {
  background-color: var(--votix-dm-bg) !important;
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-ticker-inner {
  border-bottom-color: var(--votix-dm-border) !important;
}
@media (max-width: 781px) {
  body.dark-mode .votix-ticker-inner {
    background-color: var(--votix-dm-surface) !important;
  }
}
body.dark-mode .votix-ticker-divider {
  background-color: #374151 !important;
}
body.dark-mode .votix-ticker .wp-block-post-title,
body.dark-mode .votix-ticker .wp-block-post-title a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-ticker .wp-block-post-title a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}

/* Search inputs & Live Search dropdown */
body.dark-mode .votix-search .wp-block-search__inside-wrapper,
body.dark-mode .votix-search-again .wp-block-search__inside-wrapper {
  background-color: var(--votix-dm-surface) !important;
  border-color: #374151 !important;
}
body.dark-mode .votix-search .wp-block-search__inside-wrapper:focus-within,
body.dark-mode
  .votix-search-again
  .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-search .wp-block-search__input,
body.dark-mode .votix-search-again .wp-block-search__input {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-search .wp-block-search__input::placeholder,
body.dark-mode .votix-search-again .wp-block-search__input::placeholder {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .search-results-dropdown {
  background-color: var(--votix-dm-surface) !important;
  border-color: #374151 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
body.dark-mode .search-results-dropdown li a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .search-results-dropdown li a:hover,
body.dark-mode .search-results-dropdown li[aria-selected="true"] a {
  background-color: var(--votix-dm-elevated) !important;
}
body.dark-mode .search-results-dropdown__title {
  color: #ffffff !important;
}
body.dark-mode .search-results-dropdown__date,
body.dark-mode .search-results-dropdown__message {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .search-results-dropdown__all {
  border-top-color: var(--votix-dm-border) !important;
  color: var(--wp--preset--color--votix-lime) !important;
}

/* 3. Main containers & Front Page sections */
body.dark-mode main.wp-block-group {
  background-color: var(--votix-dm-bg) !important;
  color: var(--votix-dm-text) !important;
}

/* Hero card always stays white text on dark gradient */
body.dark-mode .votix-hero .votix-hero-title,
body.dark-mode .votix-hero .votix-hero-title a,
body.dark-mode .votix-hero .wp-block-post-excerpt,
body.dark-mode .votix-hero .votix-meta {
  color: #ffffff !important;
}
body.dark-mode .votix-hero-dot {
  background: #374151;
}
body.dark-mode .votix-hero-dot.is-active {
  background: var(--wp--preset--color--votix-lime);
}

/* Middle column stack (posts 2–5) */
body.dark-mode .votix-stack .wp-block-post-template > li + li {
  border-top-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-stack .votix-stack-title,
body.dark-mode .votix-stack .votix-stack-title a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-stack .votix-stack-title a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-stack .votix-stack-date {
  color: var(--votix-dm-muted) !important;
}

/* News Update timeline box */
body.dark-mode .votix-newsupdate {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-newsupdate-title {
  background-color: #0b1f44 !important;
  color: #ffffff !important;
}
body.dark-mode .votix-timeline .wp-block-post-template > li {
  border-left-color: #374151 !important;
}
body.dark-mode .votix-timeline .wp-block-post-title,
body.dark-mode .votix-timeline .wp-block-post-title a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-timeline .wp-block-post-title a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-more a {
  color: var(--wp--preset--color--votix-lime) !important;
}

/* Section heads, Votix Report cards, Berita Terkini list, Terpopuler */
body.dark-mode .votix-section-title,
body.dark-mode .votix-section-head {
  border-bottom-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-section-title {
  color: #ffffff !important;
}
body.dark-mode .votix-section-desc {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .votix-see-all a {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-card {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-card .wp-block-post-title,
body.dark-mode .votix-card .wp-block-post-title a,
body.dark-mode .votix-list .wp-block-post-title,
body.dark-mode .votix-list .wp-block-post-title a,
body.dark-mode .votix-popular .wp-block-post-title,
body.dark-mode .votix-popular .wp-block-post-title a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-card .wp-block-post-title a:hover,
body.dark-mode .votix-list .wp-block-post-title a:hover,
body.dark-mode .votix-popular .wp-block-post-title a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-list .votix-list-item {
  border-bottom-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-popular .wp-block-post-template > li + li {
  border-top-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-meta,
body.dark-mode .votix-meta-date,
body.dark-mode .votix-meta-views,
body.dark-mode .wp-block-post-excerpt,
body.dark-mode .wp-block-post-excerpt__excerpt {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .btn-load-more {
  background-color: var(--wp--preset--color--votix-lime) !important;
  border-color: var(--wp--preset--color--votix-lime) !important;
  color: #0b1f44 !important;
}
body.dark-mode .btn-load-more:hover {
  filter: brightness(0.92);
}

/* 4. Archive / Category 3-column grid & Search results */
body.dark-mode .votix-archive-card {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-archive-card:hover {
  border-color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-archive-card__title,
body.dark-mode .votix-archive-card__title a,
body.dark-mode .votix-archive-item .wp-block-post-title,
body.dark-mode .votix-archive-item .wp-block-post-title a,
body.dark-mode .votix-search-title {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-archive-card__title a:hover,
body.dark-mode .votix-archive-item .wp-block-post-title a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-search-header,
body.dark-mode .votix-archive-list .wp-block-post-template > li + li {
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-no-results {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-no-results__title {
  color: #ffffff !important;
}
body.dark-mode .votix-pagination a,
body.dark-mode .votix-pagination .page-numbers {
  background-color: var(--votix-dm-surface);
  border-color: #374151;
  color: var(--votix-dm-text);
}
body.dark-mode .votix-pagination a:hover {
  border-color: var(--wp--preset--color--votix-lime);
  color: var(--wp--preset--color--votix-lime);
}
body.dark-mode .votix-pagination .page-numbers.current {
  background-color: var(--wp--preset--color--votix-lime) !important;
  border-color: var(--wp--preset--color--votix-lime) !important;
  color: #0b1f44 !important;
}

/* 5. Single Post, Actions, Gallery Carousel, BACA JUGA, Share Dialog */
body.dark-mode .votix-single-article .votix-single-title {
  color: #ffffff !important;
}
body.dark-mode .votix-single-article .votix-initials {
  background-color: var(--votix-dm-elevated) !important;
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-single-article .votix-byline-name {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-single-article .votix-byline-meta,
body.dark-mode .votix-single-article .votix-figcaption {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .votix-single-article .votix-action .wp-block-button__link {
  background-color: var(--votix-dm-surface);
  box-shadow: inset 0 0 0 1px #374151;
  color: var(--votix-dm-text);
}
body.dark-mode
  .votix-single-article
  .votix-action
  .wp-block-button__link:hover {
  background-color: var(--votix-dm-elevated);
}
body.dark-mode
  .votix-single-article
  .votix-action
  .wp-block-button__link.is-playing,
body.dark-mode
  .votix-single-article
  .votix-action
  .wp-block-button__link.is-saved {
  background-color: var(--wp--preset--color--votix-lime) !important;
  box-shadow: none;
  color: #0b1f44 !important;
}
body.dark-mode .votix-single-article .votix-article-content {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-single-article .votix-article-content h2,
body.dark-mode .votix-single-article .votix-article-content h3,
body.dark-mode .votix-single-article .votix-article-content h4 {
  color: #ffffff !important;
}
body.dark-mode .votix-single-article .votix-article-content a {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-article-content .votix-related {
  background-color: var(--votix-dm-surface) !important;
}
body.dark-mode .votix-article-content .votix-related__list a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-article-content .votix-related__list a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode .votix-carousel-controls {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-carousel-arrow {
  background-color: var(--votix-dm-elevated);
  border-color: #374151;
  color: var(--votix-dm-text);
}
body.dark-mode .votix-single-article .votix-tags .wp-block-post-terms__prefix {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-single-article .votix-tags a {
  background-color: var(--votix-dm-surface);
  color: var(--votix-dm-text);
}
body.dark-mode .votix-single-article .votix-tags a:hover {
  background-color: var(--wp--preset--color--votix-lime);
  color: #0b1f44;
}
body.dark-mode .votix-single-article .votix-editor-box {
  border-top-color: var(--votix-dm-border);
  border-bottom-color: var(--votix-dm-border);
}
body.dark-mode .votix-single-article .votix-editor-box__name {
  color: #ffffff !important;
}
body.dark-mode .votix-single-article .votix-editor-box__bio {
  color: var(--votix-dm-muted) !important;
}
body.dark-mode .infinite-scroll-next {
  background-color: var(--votix-dm-surface);
}
body.dark-mode .infinite-scroll-next a,
body.dark-mode .infinite-scroll-separator {
  color: var(--votix-dm-text);
}
body.dark-mode .votix-share-dialog {
  background-color: var(--votix-dm-surface) !important;
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-share-dialog__preview,
body.dark-mode .votix-share-dialog__close,
body.dark-mode .votix-share-dialog__url,
body.dark-mode .votix-share-dialog__more {
  background-color: var(--votix-dm-elevated) !important;
  border-color: #374151 !important;
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-share-target {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-share-target:hover {
  background-color: var(--votix-dm-elevated) !important;
}

/* 6. Static Pages, 404 & Indeks Berita */
body.dark-mode .votix-page-title,
body.dark-mode .votix-404-title,
body.dark-mode .votix-page-content h2,
body.dark-mode .votix-page-content h3,
body.dark-mode .votix-page-content h4 {
  color: #ffffff !important;
}
body.dark-mode .votix-page-content {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-page-content a {
  color: var(--wp--preset--color--votix-lime);
}
body.dark-mode .votix-page-content a:hover,
body.dark-mode .votix-page-content a:focus-visible {
  color: #ffffff;
  text-decoration-color: var(--wp--preset--color--votix-lime);
}
body.dark-mode .votix-page-content blockquote,
body.dark-mode .votix-page-content .wp-block-quote {
  background-color: var(--votix-dm-surface);
  border-color: var(--votix-dm-border);
  border-left-color: var(--wp--preset--color--votix-lime);
}
body.dark-mode .votix-page-content th,
body.dark-mode .votix-page-content td {
  border-color: var(--votix-dm-border);
}
body.dark-mode .votix-page-content thead th,
body.dark-mode .votix-page-content th {
  background-color: var(--votix-dm-surface);
  color: #ffffff;
}
body.dark-mode .votix-indeks__filter,
body.dark-mode .votix-indeks__empty {
  background-color: var(--votix-dm-surface) !important;
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-indeks__field input,
body.dark-mode .votix-indeks__field select {
  background-color: var(--votix-dm-bg) !important;
  border-color: #374151 !important;
  color: var(--votix-dm-text) !important;
  color-scheme: dark;
}
body.dark-mode .votix-indeks__list,
body.dark-mode .votix-indeks__item {
  border-color: var(--votix-dm-border) !important;
}
body.dark-mode .votix-page-content .votix-indeks .votix-indeks__title a,
body.dark-mode
  .votix-page-content
  .votix-indeks__sidebar
  .wp-block-post-title
  a {
  color: var(--votix-dm-text) !important;
}
body.dark-mode .votix-page-content .votix-indeks .votix-indeks__title a:hover,
body.dark-mode
  .votix-page-content
  .votix-indeks__sidebar
  .wp-block-post-title
  a:hover {
  color: var(--wp--preset--color--votix-lime) !important;
}
body.dark-mode
  .votix-page-content
  .votix-indeks__sidebar
  h2.votix-section-title {
  color: #ffffff !important;
}
body.dark-mode .votix-indeks__pagination .page-numbers {
  background-color: var(--votix-dm-surface);
  border-color: #374151;
  color: var(--votix-dm-text);
}
body.dark-mode .votix-indeks__pagination .page-numbers.current {
  background-color: var(--wp--preset--color--votix-lime);
  border-color: var(--wp--preset--color--votix-lime);
  color: #0b1f44;
}

/* ==========================================================================
   19. Homepage rubrics — [votix_rubrik] with varied layouts (GNFI-style placement)
       fitur · kilas · sorotan · grid
   ========================================================================== */
.votix-rubrik-area { font-family: var(--wp--preset--font-family--inter); }
.votix-rubrik-area > * + * { margin-top: 0; }
.votix-rubrik + .votix-rubrik { margin-top: 2.5rem; }

/* Shared heading row (same look as BERITA TERKINI / TERPOPULER) */
.votix-rubrik__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #E5E7EB;
}
.votix-rubrik__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}
.votix-rubrik__title::before {
	content: "";
	width: 0.75rem;
	height: 1.375rem;
	background: #C6FF00;
	transform: skewX(-18deg);
	flex-shrink: 0;
}
.votix-rubrik__title a { color: #111111; text-decoration: none; }
.votix-rubrik__more { flex-shrink: 0; font-size: 0.875rem; font-weight: 600; color: #0B1F44; text-decoration: none; white-space: nowrap; }
.votix-rubrik__more:hover { color: var(--wp--preset--color--accent-red); }
.votix-rubrik__label {
	align-self: flex-start;
	padding: 0.1875rem 0.5rem;
	border-radius: 3px;
	background: #C6FF00;
	color: #111111;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}
.votix-rubrik__meta {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #667085;
	font-variant-numeric: tabular-nums;
}
.votix-rubrik__noimg { display: block; background: linear-gradient(135deg, #1E2F55, #0B1F44); }

/* ---- fitur: big story with Navy band + text list ---- */
.votix-fitur { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.votix-fitur__link { display: block; overflow: hidden; border-radius: 6px; background: #0B1F44; color: #fff; text-decoration: none; }
.votix-fitur__media { display: block; overflow: hidden; }
.votix-fitur__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.35s ease; }
.votix-fitur__link:hover .votix-fitur__img { transform: scale(1.03); }
.votix-fitur__band { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 1.5rem 1.5rem; border-top: 4px solid #C6FF00; }
.votix-fitur__title { font-family: var(--wp--preset--font-family--montserrat); font-size: clamp(1.25rem, 0.95rem + 1vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: #fff; }
.votix-fitur__link:hover .votix-fitur__title { text-decoration: underline; text-decoration-color: #C6FF00; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.votix-fitur__time { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.votix-fitur__list { margin: 0; padding: 0; list-style: none; }
.votix-fitur__list li { padding: 1rem 0; border-bottom: 1px solid #E5E7EB; }
.votix-fitur__list li:first-child { padding-top: 0; }
.votix-fitur__item-title { margin: 0 0 0.375rem; font-family: var(--wp--preset--font-family--montserrat); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.votix-fitur__item-title a { color: #0B1F44; text-decoration: none; }
.votix-fitur__item-title a:hover { color: var(--wp--preset--color--accent-red); }

@media (min-width: 782px) {
	.votix-fitur--solo { grid-template-columns: 1fr; }
	.votix-fitur--solo .votix-fitur__link { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.votix-fitur--solo .votix-fitur__band { justify-content: center; border-top: 0; border-left: 4px solid #C6FF00; padding: 2rem; }
	.votix-fitur--solo .votix-fitur__img { height: 100%; }
}

/* ---- kilas: sliding row of bordered cards ---- */
.votix-carousel { position: relative; max-width: 100%; }
.votix-carousel__track {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0 0 0.25rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.votix-carousel__track::-webkit-scrollbar { display: none; }
.votix-carousel__btn {
	position: absolute;
	top: 32%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid #E5E7EB;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(11, 31, 68, 0.14);
	color: #0B1F44;
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.votix-carousel__btn:hover:not(:disabled) {
	background: #C6FF00;
	border-color: #0B1F44;
	color: #0B1F44;
}
.votix-carousel.is-scrollable .votix-carousel__btn { display: flex; }
.votix-carousel__btn--prev { left: 0.5rem; }
.votix-carousel__btn--next { right: 0.5rem; }
.votix-carousel__btn:disabled { opacity: 0; pointer-events: none; }
.votix-carousel__btn:focus-visible { outline: 2px solid #0B1F44; outline-offset: 2px; }

.votix-kilas__card { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; }
.votix-kilas__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.votix-kilas__link:hover { border-color: #0B1F44; box-shadow: 0 6px 18px rgba(11, 31, 68, 0.08); }
.votix-kilas__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.votix-kilas__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.875rem 1rem 1rem; }
.votix-kilas__cat { font-family: var(--wp--preset--font-family--montserrat); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--accent-red); }
.votix-kilas__title { font-family: var(--wp--preset--font-family--montserrat); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: #0B1F44; }
.votix-kilas__link:hover .votix-kilas__title { color: var(--wp--preset--color--accent-red); }
.votix-kilas__time { margin-top: auto; font-size: 0.75rem; color: #667085; font-variant-numeric: tabular-nums; }

/* ---- sorotan: full-width gray band, big heading, 3 cards ---- */
.votix-rubrik--sorotan {
	padding-block: 2rem;
	background: color-mix(in srgb, #E5E7EB 38%, #fff);
	box-shadow: 0 0 0 100vmax color-mix(in srgb, #E5E7EB 38%, #fff);
	clip-path: inset(0 -100vmax);
}
.votix-sorotan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #E5E7EB; }
.votix-sorotan__kicker {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.375rem;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0B1F44;
}
.votix-sorotan__kicker::before {
	content: "";
	width: 0.625rem;
	height: 1rem;
	background: #C6FF00;
	transform: skewX(-18deg);
	flex-shrink: 0;
}
.votix-sorotan__title { margin: 0; font-family: var(--wp--preset--font-family--montserrat); font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #111111; }
.votix-sorotan__desc { margin: 0.375rem 0 0; max-width: 40rem; font-size: 0.9375rem; line-height: 1.5; color: #667085; }
.votix-sorotan__more {
	flex-shrink: 0;
	padding: 0.5rem 1rem;
	border: 1px solid #0B1F44;
	border-radius: 4px;
	background: #0B1F44;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #C6FF00;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}
.votix-sorotan__more:hover { background: #C6FF00; color: #0B1F44; }
.votix-sorotan__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.votix-sorotan__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	background: #fff;
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.votix-sorotan__link:hover { border-color: #0B1F44; box-shadow: 0 8px 24px rgba(11, 31, 68, 0.08); }
.votix-sorotan__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.votix-sorotan__card-title { padding: 1rem 1.125rem 1.125rem; font-family: var(--wp--preset--font-family--montserrat); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: #0B1F44; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.votix-sorotan__link:hover .votix-sorotan__card-title { color: var(--wp--preset--color--accent-red); }

/* ---- grid: 4 tall images with titles below ---- */
.votix-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.votix-grid4__item { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.votix-grid4__link { display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; }
.votix-grid4__media { display: block; overflow: hidden; border-radius: 6px; }
.votix-grid4__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.35s ease; }
.votix-grid4__link:hover .votix-grid4__img { transform: scale(1.03); }
.votix-grid4__title { font-family: var(--wp--preset--font-family--montserrat); font-size: 1rem; font-weight: 700; line-height: 1.35; color: #0B1F44; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.votix-grid4__link:hover .votix-grid4__title { color: var(--wp--preset--color--accent-red); }

/* ---- Tablet ---- */
@media (max-width: 1100px) {
	.votix-kilas__card { flex-basis: calc((100% - 1rem) / 2); }
	.votix-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Phones: swipeable rows instead of grids ---- */
@media (max-width: 781px) {
	.votix-rubrik + .votix-rubrik { margin-top: 2.5rem; }
	.votix-rubrik__title { font-size: 1.25rem; }
	.votix-fitur { grid-template-columns: 1fr; gap: 1.25rem; }
	.votix-fitur__band { padding: 1rem 1.125rem 1.25rem; }
	.votix-fitur__item-title { font-size: 1rem; }
	.votix-kilas__card { flex-basis: 82%; }
	.votix-carousel__btn { display: none !important; }
	.votix-rubrik--sorotan { padding-block: 2rem; }
	.votix-sorotan__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.votix-sorotan__more { padding: 0.625rem 1.125rem; }
	.votix-sorotan__cards,
	.votix-grid4 {
		display: flex;
		gap: 0.875rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.votix-sorotan__cards::-webkit-scrollbar,
	.votix-grid4::-webkit-scrollbar { display: none; }
	.votix-sorotan__card { flex: 0 0 82%; scroll-snap-align: start; }
	.votix-grid4__item { flex: 0 0 58%; scroll-snap-align: start; }
	.votix-sorotan__card-title,
	.votix-grid4__title { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.votix-fitur__img,
	.votix-grid4__img,
	.votix-sorotan__link,
	.votix-carousel__track { transition: none; scroll-behavior: auto; }
	.votix-fitur__link:hover .votix-fitur__img,
	.votix-grid4__link:hover .votix-grid4__img,
	.votix-sorotan__link:hover { transform: none; }
}

/* ---- Dark mode (section 18 tokens) ---- */
body.dark-mode .votix-rubrik__head,
body.dark-mode .votix-sorotan__head { border-bottom-color: var(--votix-dm-border); }
body.dark-mode .votix-rubrik__title a,
body.dark-mode .votix-rubrik__more,
body.dark-mode .votix-fitur__item-title a,
body.dark-mode .votix-kilas__title,
body.dark-mode .votix-sorotan__kicker,
body.dark-mode .votix-sorotan__title,
body.dark-mode .votix-sorotan__card-title,
body.dark-mode .votix-grid4__title { color: var(--votix-dm-text); }
body.dark-mode .votix-rubrik__meta,
body.dark-mode .votix-kilas__time,
body.dark-mode .votix-sorotan__desc { color: var(--votix-dm-muted); }
body.dark-mode .votix-fitur__list li { border-bottom-color: var(--votix-dm-border); }
body.dark-mode .votix-kilas__link { background: var(--votix-dm-surface); border-color: var(--votix-dm-border); }
body.dark-mode .votix-carousel__btn { background: var(--votix-dm-elevated); border-color: #374151; color: var(--votix-dm-text); }
body.dark-mode .votix-rubrik--sorotan { background: var(--votix-dm-surface); box-shadow: 0 0 0 100vmax var(--votix-dm-surface); }
body.dark-mode .votix-sorotan__link { background: var(--votix-dm-bg); border-color: var(--votix-dm-border); }
body.dark-mode .votix-sorotan__more { background: var(--votix-dm-elevated); border-color: #374151; color: var(--wp--preset--color--votix-lime); }
body.dark-mode .votix-sorotan__more:hover { background: #C6FF00; border-color: #C6FF00; color: #0B1F44; }

/* ==========================================================================
   20. Homepage news stream (GNFI-style): the latest news continues from the
       hero in the main column, with rubrics slotted in between; BERITA
       TERKINI + "Muat Berita Lainnya" stays at the bottom.
   ========================================================================== */
.votix-stream-main > * + * { margin-block-start: 2.5rem !important; }
.votix-stream .wp-block-post-template { margin: 0; }
.votix-stream .wp-block-post-template > li + li { margin-top: var(--wp--preset--spacing--30); }
/* Last stream item before a rubric: no divider line under it. */
.votix-stream .wp-block-post-template > li:last-child .votix-list-item { border-bottom: 0 !important; padding-bottom: 0 !important; }

/* Rubric inside the main column: a bit more compact. */
.votix-stream-main .votix-rubrik__title { font-size: 1.5rem; }
.votix-stream-main .votix-kilas__title { font-size: 1.0625rem; }

/* Sticky sidebar next to the stream (desktop) */
@media (min-width: 782px) {
	.votix-sidebar--sticky { position: sticky; top: 1.5rem; align-self: flex-start; }
	.admin-bar .votix-sidebar--sticky { top: calc(32px + 1.5rem); }
}

/* ---- NASIONAL "fitur" with two list columns: smaller lead card ---- */
@media (min-width: 1101px) {
	.votix-fitur--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; }
	.votix-fitur--wide .votix-fitur__list { padding-left: 1.75rem; border-left: 1px solid #E5E7EB; }
	.votix-fitur--wide .votix-fitur__list:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.votix-fitur--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.votix-fitur--wide .votix-fitur__lead { grid-row: span 2; }
}
.votix-fitur--wide .votix-fitur__band { padding: 1rem 1.25rem 1.25rem; gap: 0.5rem; }
.votix-fitur--wide .votix-fitur__title { font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem); }
.votix-fitur--wide .votix-fitur__item-title { font-size: 1rem; }
.votix-fitur--wide .votix-fitur__list li { padding: 0.875rem 0; }
.votix-fitur--wide .votix-fitur__list li:first-child { padding-top: 0; }
.votix-fitur--wide .votix-fitur__list li:last-child { border-bottom: 0; }

/* ---- EKONOMI "grid" in the BERITA TERKINI sidebar: 2 × 2 ---- */
@media (min-width: 782px) {
	.votix-latest-final .votix-sidebar .votix-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
	.votix-latest-final .votix-sidebar .votix-grid4__title { font-size: 0.9375rem; -webkit-line-clamp: 3; }
	.votix-latest-final .votix-sidebar .votix-rubrik__title { font-size: 1.5rem; }
	.votix-latest-final .votix-sidebar .votix-rubrik__meta { font-size: 0.6875rem; }
}

body.dark-mode .votix-fitur--wide .votix-fitur__list { border-left-color: var(--votix-dm-border); }

/* ==========================================================================
   21. Phone cards: compact titles and one-line post info (max 781px)
       Overrides the general 20px title rule of section 17 for list/card
       components on the homepage, archives and search.
   ========================================================================== */
@media (max-width: 781px) {

	/* ---- Image-left list cards: stream, BERITA TERKINI, "Berita Terbaru" ---- */
	.votix-list .votix-list-item,
	.votix-stack .votix-stack-item {
		gap: 0.75rem !important;
		align-items: flex-start !important;
	}
	.votix-list .wp-block-post-template > li + li { margin-top: 0 !important; }
	.votix-list .votix-list-item { padding: 0.875rem 0 !important; }
	.votix-list .wp-block-post-template > li:first-child .votix-list-item { padding-top: 0 !important; }
	.votix-list .wp-block-post-featured-image,
	.votix-stack .votix-stack-thumb {
		flex: 0 0 6rem !important;
		width: 6rem !important;
		margin: 0 !important;
	}
	.votix-list .wp-block-post-featured-image img,
	.votix-stack .votix-stack-thumb img { border-radius: 6px !important; }
	.votix-list .votix-list-item > .wp-block-group,
	.votix-stack .votix-stack-text { min-width: 0; }
	.votix-list .votix-list-item > .wp-block-group > * + * { margin-block-start: 0.3rem !important; }

	.votix-list .votix-label { font-size: 0.625rem !important; }
	.votix-list .votix-label a { padding: 0.1875rem 0.4375rem; }

	body:not(.single) main .votix-list .wp-block-post-title,
	body:not(.single) main .votix-list .wp-block-post-title a,
	body:not(.single) main .votix-stack .votix-stack-title,
	body:not(.single) main .votix-stack .votix-stack-title a {
		font-family: var(--wp--preset--font-family--montserrat);
		font-size: 0.9375rem !important;
		font-weight: 700 !important;
		line-height: 1.35 !important;
		letter-spacing: -0.005em;
		-webkit-line-clamp: 3 !important;
	}

	/* Post info on one line: "18 Nov 2026, 17:39 · 2.350 dibaca" */
	.votix-list .votix-meta {
		flex-wrap: nowrap !important;
		gap: 0 !important;
		overflow: hidden;
		white-space: nowrap;
	}
	.votix-list .votix-meta > *,
	.votix-stack .votix-stack-date {
		font-size: 0.75rem !important;
		line-height: 1.4;
		margin: 0 !important;
	}
	.votix-list .votix-meta .votix-meta-views::before { display: none; }
	.votix-list .votix-meta .votix-meta-views::after { content: none; }
	.votix-list .votix-meta > * + *::before {
		content: "·" !important;
		display: inline !important;
		margin: 0 0.375rem;
		-webkit-mask: none !important;
		mask: none !important;
		background: none !important;
		width: auto !important;
		height: auto !important;
	}
	/* No calendar icon here: the line has to fit next to the thumbnail. */
	.votix-list .votix-meta-date::before { display: none !important; }
	.votix-list .votix-meta > * { font-size: 0.71875rem !important; }
	.votix-list .votix-meta-views { overflow: hidden; text-overflow: ellipsis; }
	.votix-stack .votix-stack-date::before { width: 0.75rem; height: 0.75rem; }

	/* ---- Other cards on phones ---- */
	body:not(.single) main .votix-cards .wp-block-post-title,
	body:not(.single) main .votix-cards .wp-block-post-title a { font-size: 0.875rem !important; line-height: 1.35 !important; }
	body:not(.single) main .votix-popular .wp-block-post-title,
	body:not(.single) main .votix-popular .wp-block-post-title a { font-size: 0.875rem !important; line-height: 1.4 !important; }
	body:not(.single) main .votix-timeline .wp-block-post-title,
	body:not(.single) main .votix-timeline .wp-block-post-title a { font-size: 0.875rem !important; line-height: 1.4 !important; }
	.votix-popular .votix-meta-views { font-size: 0.75rem !important; }

	.votix-kilas__title { font-size: 1rem !important; }
	.votix-kilas__body { padding: 0.875rem 1rem 1rem; gap: 0.375rem; }
	.votix-sorotan__card-title { font-size: 0.9375rem !important; padding: 0.875rem 1rem 1rem; }
	.votix-grid4__title { font-size: 0.9375rem !important; -webkit-line-clamp: 3; }
	.votix-fitur__title { font-size: 1.125rem !important; }
	.votix-fitur__item-title { font-size: 0.9375rem !important; }
	.votix-rubrik__meta { font-size: 0.6875rem !important; }

	/* NASIONAL's two list columns read as one list on phones. */
	.votix-fitur--wide { row-gap: 0 !important; }
	.votix-fitur--wide .votix-fitur__lead { margin-bottom: 1.25rem; }
	.votix-fitur--wide .votix-fitur__list li,
	.votix-fitur--wide .votix-fitur__list li:first-child { padding: 0.875rem 0 !important; border-bottom: 1px solid #E5E7EB; }
	.votix-fitur--wide .votix-fitur__list:first-of-type li:first-child { padding-top: 0 !important; }
	.votix-fitur--wide .votix-fitur__list:first-of-type li:last-child { border-bottom: 1px solid #E5E7EB; }
	.votix-fitur--wide .votix-fitur__list:last-child li:last-child { border-bottom: 0; }
	body.dark-mode .votix-fitur--wide .votix-fitur__list li { border-bottom-color: var(--votix-dm-border); }
}

/* ==========================================================================
   22. Site footer — [votix_footer_credit] (GNFI-style structure, Navy)
   ========================================================================== */
.votix-footer { font-family: var(--wp--preset--font-family--inter); color: rgba(255, 255, 255, 0.82); }

.votix-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
	gap: 2.5rem 3rem;
	padding-bottom: 2.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Brand */
.votix-footer__wordmark {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff !important;
	text-decoration: none;
}
.votix-footer__wordmark strong { font-weight: 900; color: var(--wp--preset--color--votix-lime); }
.votix-footer__tagline { margin: 0.875rem 0 0; max-width: 18rem; font-size: 0.9375rem; line-height: 1.5; }
.votix-footer__socials { display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.votix-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	height: 2.375rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 4px;
	color: #fff !important;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.votix-footer__socials a:hover,
.votix-footer__socials a:focus-visible { background: var(--wp--preset--color--votix-lime); border-color: var(--wp--preset--color--votix-lime); color: var(--wp--preset--color--navy) !important; }

/* Link columns */
.votix-footer__heading {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
}
.votix-footer__links { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.votix-footer__col--rubrik .votix-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.votix-footer__links a,
.votix-footer__pages a {
	color: rgba(255, 255, 255, 0.82) !important;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.15s;
}
.votix-footer__links a:hover,
.votix-footer__pages a:hover { color: var(--wp--preset--color--votix-lime) !important; }

/* Bottom bar: page links · copyright · credit */
.votix-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-top: 1.5rem;
	font-size: 0.875rem;
}
.votix-footer__pages ul { display: flex; flex-wrap: wrap; gap: 0.375rem 0; margin: 0; padding: 0; list-style: none; }
.votix-footer__pages li + li::before { content: "•"; margin: 0 0.625rem; color: rgba(255, 255, 255, 0.4); }
.votix-footer__pages a { font-size: 0.875rem; }
.votix-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin: 0; }
.votix-footer__legal .votix-footer-credit__agency a { color: var(--wp--preset--color--votix-lime) !important; font-weight: 700; text-decoration: none; }
.votix-footer__legal .votix-footer-credit__agency a:hover { text-decoration: underline; }

/* Tablet */
@media (max-width: 1024px) {
	.votix-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.votix-footer__brand { grid-column: 1 / -1; }
}

/* Phones */
@media (max-width: 781px) {
	.votix-footer__top { grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 1.75rem; }
	.votix-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
	.votix-footer__pages ul { gap: 0.5rem 1.25rem; }
	.votix-footer__pages li + li::before { content: none; }
	.votix-footer__wordmark { font-size: 1.5rem; }
	.votix-footer__heading { font-size: 0.875rem; margin-bottom: 0.75rem; }
	.votix-footer__links a { font-size: 0.875rem; }
	.votix-footer__col--rubrik .votix-footer__links { column-gap: 1rem; }
	.votix-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.votix-footer__legal { flex-direction: column; align-items: flex-start; gap: 0.375rem; }
}

/* ==========================================================================
   23. Phones: EKONOMI (sidebar of the last section) goes above BERITA TERKINI,
       so "Muat Berita Lainnya" stays the last thing before the footer.
   ========================================================================== */
@media (max-width: 781px) {
	.votix-latest-final { display: flex !important; flex-direction: column !important; }
	.votix-latest-final > .votix-sidebar { order: -1; margin-top: 0 !important; }
	.votix-latest-final > .wp-block-column:not(.votix-sidebar) { margin-top: 2.5rem !important; }
}

/* ==========================================================================
   24. Ads (core/ads.php): strict sizes, never wider than their column.
       Banners keep their own ratio; carousel and gallery photos are 1:1.
   ========================================================================== */
.votix-ad-zone {
	display: grid;
	gap: 1rem;
	max-width: 100%;
	margin: 1.5rem auto;
}
.votix-ad-zone--below-header,
.votix-ad-zone--home-after-hero,
.votix-ad-zone--home-mid,
.votix-ad-zone--before-footer {
	width: min(1200px, calc(100% - 2 * var(--wp--preset--spacing--40, 1.25rem)));
}
.votix-ad-zone--before-content,
.votix-ad-zone--in-article { margin: 1.25rem 0 1.75rem; }
.votix-sidebar .votix-ad-zone--sidebar { margin: 2rem 0 0; }
.votix-ad {
	position: relative;
	max-width: 100%;
	overflow: hidden;
	text-align: center;
	padding: 0.625rem;
	border: 1px solid var(--wp--preset--color--neutral-gray);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--neutral-gray) 22%, #fff);
}
.votix-ad__label {
	display: block;
	margin-bottom: 0.375rem;
	font-family: var(--wp--preset--font-family--inter, sans-serif);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #667085;
}
.votix-ad a { display: block; }
.votix-ad picture,
.votix-ad__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.votix-ad__img { border-radius: 4px; }
.votix-ad iframe,
.votix-ad ins { max-width: 100%; }

/* Carousel and gallery: every photo square, cropped to fill. */
.votix-ad-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.votix-ad-carousel__track .votix-ad__item {
	flex: 0 0 min(280px, 80%);
	scroll-snap-align: start;
}
.votix-ad-carousel .votix-carousel__btn--prev { left: 0.5rem; }
.votix-ad-carousel .votix-carousel__btn--next { right: 0.5rem; }
.votix-ad__item { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; }
.votix-ad__item a { height: 100%; }
.votix-ad__square {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.votix-sidebar .votix-ad-carousel__track .votix-ad__item { flex-basis: 100%; }
/* Wide slots: three photos per row on desktop, one-and-a-bit on phones (auto-slide). */
.votix-ad-zone--below-header .votix-ad__item,
.votix-ad-zone--home-after-hero .votix-ad__item,
.votix-ad-zone--home-mid .votix-ad__item,
.votix-ad-zone--before-footer .votix-ad__item { flex-basis: calc((100% - 2rem) / 3); }
@media (max-width: 781px) {
	.votix-ad-zone .votix-ad-carousel__track .votix-ad__item { flex-basis: 82%; }
}

body.dark-mode .votix-ad {
	background: var(--votix-dm-surface);
	border-color: var(--votix-dm-border);
}
body.dark-mode .votix-ad__label { color: var(--votix-dm-muted, #98a2b3); }

/* ==========================================================================
   25. Breadcrumbs ([votix_breadcrumbs]) & reading time ([votix_reading_time])
   ========================================================================== */
.votix-breadcrumbs {
	margin: 0 0 0.875rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--slate-gray);
}
.votix-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.votix-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}
.votix-breadcrumbs__item a {
	color: var(--wp--preset--color--slate-gray);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s;
}
.votix-breadcrumbs__item a:hover {
	color: var(--wp--preset--color--navy);
	text-decoration: underline;
}
.votix-breadcrumbs__item.is-current span {
	display: inline-block;
	max-width: 26rem;
	overflow: hidden;
	color: var(--wp--preset--color--navy);
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: bottom;
}
.votix-breadcrumbs__sep {
	color: var(--wp--preset--color--slate-gray);
	opacity: 0.65;
	user-select: none;
}

.votix-byline-meta-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem !important;
}
.votix-byline-meta-wrap .reading-time {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--slate-gray);
	white-space: nowrap;
}
.votix-byline-meta-wrap .reading-time::before {
	content: "•";
	margin-right: 0.2rem;
	opacity: 0.7;
}
.reading-time__icon { flex-shrink: 0; }

body.dark-mode .votix-breadcrumbs,
body.dark-mode .votix-breadcrumbs__item a,
body.dark-mode .votix-breadcrumbs__sep,
body.dark-mode .votix-byline-meta-wrap .reading-time {
	color: var(--votix-dm-muted) !important;
}
body.dark-mode .votix-breadcrumbs__item a:hover,
body.dark-mode .votix-breadcrumbs__item.is-current span {
	color: var(--wp--preset--color--votix-lime) !important;
}

/* ==========================================================================
   26. Live-site fixes: hero title max 3 lines (PC), phone article header,
       breaking-news ticker
   ========================================================================== */

/* Hero (PC): title never more than 3 lines, excerpt 2 lines. */
@media (min-width: 782px) {
	/* Clamp on the link: the heading itself is forced to flow-root elsewhere. */
	.votix-hero .votix-hero-title > a {
		display: -webkit-box !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}
	.votix-hero .wp-block-post-excerpt__excerpt {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		overflow: hidden;
	}
}

@media (max-width: 781px) {
	/* Article header on phones: calmer title, compact breadcrumb and byline. */
	.votix-single-article .votix-single-title {
		font-size: clamp(1.5rem, 6.4vw, 1.75rem) !important;
		line-height: 1.22 !important;
		letter-spacing: -0.01em;
	}
	.votix-breadcrumbs {
		margin-bottom: 0.625rem;
		font-size: 0.75rem;
	}
	.votix-breadcrumbs__list { flex-wrap: nowrap; }
	.votix-breadcrumbs__item { flex-shrink: 0; }
	.votix-breadcrumbs__item.is-current {
		flex-shrink: 1;
		min-width: 0;
	}
	.votix-breadcrumbs__item.is-current span { max-width: 100%; }
	.votix-single-article .votix-byline-name { font-size: 0.875rem !important; }
	.votix-single-article .votix-byline-meta,
	.votix-byline-meta-wrap .reading-time { font-size: 0.75rem !important; }
	/* Date on one line, reading time on the next (no stray bullet at line start). */
	.votix-byline-meta-wrap {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 0.125rem !important;
	}
	.votix-byline-meta-wrap .reading-time::before { content: none; }

	/* Breaking news: small label, no divider, fading edges, readable text. */
	.votix-ticker-inner { gap: 0.625rem !important; }
	.votix-breaking {
		flex-shrink: 0;
		font-size: 0.6875rem !important;
		letter-spacing: 0.02em;
		padding: 0.5rem 1rem 0.5rem 0.75rem !important;
		white-space: nowrap;
	}
	.votix-ticker-divider { display: none !important; }
	.ticker-wrap {
		flex: 1 1 auto;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
	}
	.votix-ticker .wp-block-post-title,
	.votix-ticker .wp-block-post-title a {
		font-size: 0.8125rem !important;
		font-weight: 600 !important;
	}
	.ticker-wrap .ticker-content > li::after {
		width: 5px;
		height: 5px;
		margin: 0 0.75rem;
	}
}

/* ==========================================================================
   27. Post lists (PC + phones): every card/list title max 3 lines, then "…".
       Ticker (one line) and the article page title are not affected.
   ========================================================================== */
.wp-block-post-template .wp-block-post-title > a,
.votix-fitur__item-title > a,
.votix-indeks__title > a,
.votix-fitur__title,
.votix-kilas__title,
.votix-sorotan__card-title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	overflow-wrap: anywhere;
}
.ticker-wrap .wp-block-post-title > a {
	display: inline !important;
	-webkit-line-clamp: unset;
	line-clamp: none;
	overflow: visible;
}

/* ==========================================================================
   28. Mobile menu overlay: tidy bottom area
       - no double line under the last row of rubrics
       - page links as a calm 2-column list
       - social icons as one centred full-width row (not stuck in a half column)
   ========================================================================== */
@media (max-width: 781px) {
	/* Last row of rubrics: the divider below already draws the line. */
	.votix-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:not(.votix-mobile-pages):nth-last-child(-n + 2) {
		border-bottom: 0 !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-divider {
		margin: 0.5rem 0 0.75rem !important;
		background: rgba(255, 255, 255, 0.12) !important;
	}

	/* Page links. */
	.votix-mainnav .is-menu-open .votix-mobile-pages {
		width: calc(50% - 0.5rem) !important;
		border: 0 !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-pages > .wp-block-navigation-item__content {
		min-height: 40px;
		padding: 0.5rem 0.25rem !important;
		font-size: 0.875rem;
		color: rgba(255, 255, 255, 0.78) !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-pages > .wp-block-navigation-item__content:hover,
	.votix-mainnav .is-menu-open .votix-mobile-pages > .wp-block-navigation-item__content:focus-visible {
		color: var(--wp--preset--color--votix-lime) !important;
	}

	/* Social icons: own full-width row, centred, one line above. */
	.votix-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:has(.votix-mobile-socials) {
		width: 100% !important;
		margin-top: 0.75rem;
		padding-top: 1rem !important;
		border: 0 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-socials {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center !important;
		gap: 0.75rem !important;
		width: 100%;
		margin: 1rem 0 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-socials .wp-social-link {
		margin: 0 !important;
	}
	.votix-mainnav .is-menu-open .votix-mobile-socials .wp-social-link a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0 !important;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.06);
		transition: background-color 0.15s;
	}
	.votix-mainnav .is-menu-open .votix-mobile-socials .wp-social-link a:hover,
	.votix-mainnav .is-menu-open .votix-mobile-socials .wp-social-link a:focus-visible {
		background: rgba(198, 255, 0, 0.16);
	}
	.votix-mainnav .is-menu-open .votix-mobile-socials svg {
		width: 1.25rem;
		height: 1.25rem;
	}

	/* Credit line. */
	.votix-mainnav .is-menu-open .votix-mobile-credit {
		margin-top: 1.25rem !important;
		text-align: center;
	}
}
