/* =========================================================
   MOBILE.CSS — CLEAN, STABLE, CANONICAL
   Desktop CSS remains COMPLETELY untouched
   ========================================================= */


/* =========================================================
   HARD DESKTOP KILL SWITCH
   ========================================================= */
@media (min-width: 769px) {
  .mobile-drawer,
  .mobile-drawer *,
  .mobile-overlay,
  .mobile-header-controls,
  .mobile-menu-left,
  .mobile-menu-right {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* =========================================================
   MOBILE ONLY
   ========================================================= */
@media (max-width: 768px) {

/* 🔥 KILL ALL LIST SPACING IN CATEGORY TREE */
.catalog-sidebar ul,
.catalog-sidebar li {
  margin: 0 !important;
  padding: 0 !important;
}

  body {
    overflow-x: hidden;
  }

  /* =====================================================
     HEADER — MOBILE STRUCTURE
     ===================================================== */

  /* Hide desktop-only elements */
  body.is-homepage header.top-header > .top-bar {
    display: none !important;
  }

  header.top-header nav.main-nav {
    display: none !important;
  }

  /* Header container */
  body.is-homepage header.top-header .main-header {
    position: relative;
    display: block !important;
    padding: 10px 48px;
    min-height: 96px;
  }

  /* Mobile control wrapper (layout-neutral) */
  body.is-homepage header.top-header .mobile-header-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* Left hamburger */
  body.is-homepage header.top-header .mobile-menu-left {
    position: absolute;
    left: 6px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    pointer-events: auto;
  }

  /* Right hamburger */
  body.is-homepage header.top-header .mobile-menu-right {
    position: absolute;
    right: 6px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    pointer-events: auto;
  }

  /* Logo */
  body.is-homepage header.top-header .header-left {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    z-index: 10000;
    text-align: center;
  }

  /* Hide catalog image */
  body.is-homepage header.top-header .header-right {
    display: none !important;
  }

  body.is-homepage header.top-header .header-search input {
    width: 100%;
    box-sizing: border-box;
  }

body.is-homepage header.top-header .header-search {
  margin-top: 56px;

  /* 🔥 critical fix */
  margin-left: -46px;
  margin-right: -48px;

  display: flex;
  justify-content: center;
}


body.is-homepage header.top-header .header-search form {
  width: 100%;
  max-width: 210px; /* adjust if you want wider/narrower */
  position: relative;
}

body.is-homepage header.top-header .header-search button {
  position: absolute;
  right: -10px;   /* adjust visually */
  top: 50%;
  transform: translateY(-50%);
}

 body.is-homepage header.top-header {
    padding-bottom: 16px;
  }
  
  /* =====================================================
     OVERLAY (shared)
     ===================================================== */

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    display: none;
    pointer-events: none;
  }

  body.mobile-menu-open .mobile-overlay,
  body.mobile-options-open .mobile-overlay {
    display: block;
    pointer-events: auto;
  }


  /* =====================================================
     LEFT DRAWER — MAIN MENU
     ===================================================== */

  .mobile-drawer-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;

    width: 80%;
    max-width: 320px;

    background: #000;
    color: #fff;

    z-index: 100000;

    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  body.mobile-menu-open .mobile-drawer-left {
    transform: translateX(0);
  }

  .mobile-drawer-content {
    padding: 16px;
  }

  /* Top-level items */
  .mobile-main-nav .menu-item > a {
    display: block;
    padding: 12px 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
  }

  /* Submenus */
  .mobile-main-nav .submenu {
    display: none;
    margin: 6px 0 10px;
    padding-left: 14px;
  }

  .mobile-main-nav .menu-item.open > .submenu {
    display: block;
  }

  .mobile-main-nav .submenu a {
    display: block;
    padding: 8px 0;
    color: #ddd;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
    text-decoration: none;
  }


  /* =====================================================
     RIGHT DRAWER — OPTIONS (CATALOG / LANGUAGE)
     ===================================================== */

  .mobile-drawer-right {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;

    width: 80%;
    max-width: 320px;

    background: #000;
    color: #fff;

    z-index: 100000;

    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;

    pointer-events: none;
  }

  body.mobile-options-open .mobile-drawer-right {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-options-nav a {
    display: block;
    padding: 14px 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
  }

  /* Language submenu */
  .mobile-options-nav .submenu {
    display: none;
    padding-left: 14px;
  }

  .mobile-options-nav .menu-item.open > .submenu {
    display: block;
  }

/* =====================================================
   MOBILE SUBMENU — HARD RESET (LEFT + RIGHT)
   ===================================================== */

/* Force mobile submenus to behave like stacked blocks */
.mobile-main-nav .submenu,
.mobile-options-nav .submenu {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  display: none;
  margin: 6px 0 10px;
  padding-left: 14px;

  background: transparent;
  box-shadow: none;
}

/* Open state (shared) */
.mobile-main-nav .menu-item.open > .submenu,
.mobile-options-nav .menu-item.open > .submenu {
  display: block;
}

/* Align language submenu items to the left */
.mobile-options-nav .submenu a {
  text-align: left;
}

  /* =====================================================
     CONTENT + FOOTER (unchanged behavior)
     ===================================================== */

  .is-homepage .homepage {
    display: block;
    padding: 0 12px;
  }

  .is-homepage .catalog-sidebar,
  .is-homepage .homepage-right {
    display: none !important;
  }

  .is-homepage .homepage-breadcrumbs {
    margin: 10px 0;
	padding-bottom: 1px;
  }

  .is-homepage .random-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .is-homepage .random-item img {
    width: 100%;
    height: auto;
  }

  .is-homepage .random-item .item-name {
    font-size: 13px;
    line-height: 1.3;
  }
  
  /* =====================================================
   HOMEPAGE — RANDOM PICKS (MOBILE REDUCTION)
   Show only 1 item per category on mobile
   ===================================================== */

  .homepage-random-picks .random-row .random-item {
    display: none;
  }

  .homepage-random-picks .random-row .random-item:first-child {
    display: block;
  }

/* =====================================================
   HOMEPAGE — RANDOM PICKS SPACING (MOBILE)
   ===================================================== */

/* Title closer to first item */
.is-homepage .homepage-title {
  margin-bottom: 2px; /* was larger */
}

/* Reduce gap between rows */
.is-homepage .homepage-random-picks .random-row {
  margin-bottom: 2px;
}

/* Reduce space around each item */
.is-homepage .random-item {
  margin-bottom: 2px;
}

/* Tighten image → text spacing */
.is-homepage .random-item-image {
  margin-bottom: 2px;
}

/* Center single random item on mobile */
.homepage-random-picks .random-row {
  justify-items: center;
}

.homepage-random-picks .random-row .random-item {
  width: 100%;
  max-width: 240px; /* adjust if needed */
}

/* When only one random item is shown, span full grid width */
.homepage-random-picks .random-row .random-item:first-child {
  grid-column: 1 / -1;
  justify-self: center;
}

/* Tighten text blocks */
.is-homepage .random-item-info .issuer,
.is-homepage .random-item-info .item-name,
.is-homepage .random-item-info .year,
.is-homepage .random-item-info .reference {
  margin-bottom: 2px;
}

  /* =================================================
     NEWSLETTER — STACKED & CENTERED
     ================================================= */

  .site-footer .footer-newsletter {
    margin-bottom: 8px;
    padding-bottom: 0;
  }

  .footer-newsletter .newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-newsletter .newsletter-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 8px;
  }

  .footer-newsletter .newsletter-row .mail-icon {
    display: block;
    text-align: center;
    font-size: 26px;
    margin-top: -4px;     /* slightly higher */
    margin-bottom: 6px;
  }

  .footer-newsletter input[type="email"] {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-newsletter button {
    width: 100%;
    margin-top: 8px;      /* push button down slightly */
  }

  /* =================================================
     FOOTER MAIN — STACK COLUMNS & PULL UP
     ================================================= */

  .site-footer .footer-main {
    margin-top: 0;
    padding-top: 0;
  }

  .site-footer .footer-main .footer-container {
    padding-top: 0;
  }

  .site-footer .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer .footer-column {
    width: 100%;
  }

  .site-footer h4 {
    margin-bottom: 8px;
  }

  .site-footer p,
  .site-footer li {
    margin-bottom: 6px;
  }

  /* =================================================
     SEPARATOR + BOTTOM — HARD POSITIONING
     ================================================= */

  .site-footer hr.footer-separator-bottom {
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .site-footer .footer-bottom {
    margin-top: 0;
    padding-top: 4px;
  }

  .site-footer .footer-bottom .footer-container {
    padding-top: 0;
  }

  .site-footer .footer-bottom-row {
    display: flex;
    flex-direction: column;   /* 🔥 force vertical stack */
    align-items: center;
    text-align: center;
    gap: 14px;                /* space between text & logo */
  }

  .site-footer .footer-cloudflare img {
    display: block;
    max-width: 120px;
    height: auto;
  }

/* =====================================================
   SCROLL TO TOP — MOBILE FIX
   ===================================================== */

  .scroll-to-top {
    right: 12px !important;
    bottom: 16px;
    left: auto !important;
    transform: none !important;
  }

/* =====================================================
   LIST PAGE — HEADER (MOBILE)
   Same behavior as homepage header
   ===================================================== */

  /* Hide desktop-only header elements */
  body:not(.is-homepage) header.top-header > .top-bar {
    display: none !important;
  }

  body:not(.is-homepage) header.top-header nav.main-nav {
    display: none !important;
  }

  /* Header container */
  body:not(.is-homepage) header.top-header .main-header {
    position: relative;
    display: block !important;
    padding: 10px 48px;
    min-height: 96px;
  }

  /* Mobile control wrapper */
  body:not(.is-homepage) header.top-header .mobile-header-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* Left hamburger */
  body:not(.is-homepage) header.top-header .mobile-menu-left {
    position: absolute;
    left: 6px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    pointer-events: auto;
  }

  /* Right hamburger */
  body:not(.is-homepage) header.top-header .mobile-menu-right {
    position: absolute;
    right: 6px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    pointer-events: auto;
  }

  /* Logo */
  body:not(.is-homepage) header.top-header .header-left {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    z-index: 10000;
    text-align: center;
  }

  /* Hide catalog image */
  body:not(.is-homepage) header.top-header .header-right {
    display: none !important;
  }

  /* Search positioning (same as homepage) */
  body:not(.is-homepage) header.top-header .header-search {
    margin-top: 56px;
    margin-left: -46px;
    margin-right: -48px;

    display: flex;
    justify-content: center;
  }

  body:not(.is-homepage) header.top-header .header-search form {
    width: 100%;
    max-width: 210px;
	position: relative;
  }

body:not(.is-homepage) header.top-header .header-search button {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

  body:not(.is-homepage) header.top-header {
    padding-bottom: 16px;
  }

  /* =================================================
     BREADCRUMBS — MOBILE
     Wrapping allowed, NO horizontal scroll
     ================================================= */

  .catalog-breadcrumbs {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
	margin-top: -8px;    /* pull up */
    padding-top: 4px;
  }

  .catalog-breadcrumbs .breadcrumbs {
    display: block;
    white-space: normal;   /* allow wrapping */
  }

  .catalog-breadcrumbs a {
    text-decoration: none;
  }

  .catalog-breadcrumbs .crumb-sep {
    margin: 0 4px;
  }

  /* =================================================
     CATEGORY NAVIGATION — MOBILE (REPLACES SIDEBAR)
     ================================================= */

  /* Hide desktop sidebar */
  .catalog-columns {
    display: block;
  }
  
.catalog-sidebar .category-children {
  background: #e6e6e6;
}

  /* =================================================
     TOOLBAR — MOBILE
     ================================================= */

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 0px;
  border-bottom: 1px solid #ddd;
  gap: 6px;
}

  /* Row 1 */
  .catalog-toolbar > .toolbar-view,
  .catalog-toolbar > .toolbar-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  /* Row 2 */
  .catalog-toolbar > .toolbar-limit,
  .catalog-toolbar > .toolbar-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
  }

.catalog-toolbar > .toolbar-view {
  display: none !important;
}

.catalog-toolbar > .toolbar-items {
  order: 1;
  flex: 0 0 auto;
}

.catalog-toolbar > .toolbar-limit {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
}

.catalog-toolbar > .toolbar-sort {
  order: 3;
  width: 100%;
}

.catalog-toolbar > .toolbar-sort .sort-dir {
  margin-left: auto;
}
  /* =================================================
     RESULTS — LIST VIEW (MOBILE)
     ================================================= */
.catalog-list-item {
    display: block !important;
    width: 100% !important;
	
}

.catalog-sidebar,
.catalog-sidebar * {
    box-sizing: border-box;
}

.catalog-list-item > a.catalog-list-link {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 8px !important;
    width: 100% !important;
}

.catalog-list-info {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
	min-width: 0 !important;
    box-sizing: border-box;
}

.catalog-list-image {
    width: 100% !important;
    padding: 8px !important;
    aspect-ratio: 1 / 1;
	box-sizing: border-box;
}


  /* =================================================
     RESULTS — GRID VIEW (MOBILE)
     ================================================= */

.catalog-grid {
  display: none !important;
}

 
/* =========================================================
   MOBILE CATEGORY TREE — FINAL OVERRIDE (AUTHORITATIVE)
   ========================================================= */

/* Force mobile category rows to full viewport width */
.catalog-sidebar,
.catalog-sidebar .category-item,
.catalog-sidebar .category-item > a {
  width: 100%;
}

  /* LINK = FLEX ROW */
.catalog-sidebar .category-item > a {
  display: block;                 /* ← KEY CHANGE */
  padding: 0px 40px 12px 10px;
  line-height: 1.25;
}

  /* COUNT — right after name */
  .catalog-sidebar .category-count {
	display: inline;
    margin-left: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #777;          /* darker grey */
    background: none;     /* no pill */
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ❌ KILL ALL LINK CHEVRONS */
  .catalog-sidebar .category-item > a::before,
  .catalog-sidebar .category-item > a::after {
    content: none !important;
  }

.catalog-sidebar {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1px;
}

.catalog-sidebar .category-item {
  position: relative;
}

.catalog-sidebar .category-toggle {
  position: absolute;
  right: 10px;
  top: 30%;
  transform: translateY(-50%);

  font-size: 16px;
  cursor: pointer;
}

.catalog-sidebar .category-item.expanded > .category-children {
  display: block;
}

.catalog-sidebar .category-children .category-item > a {
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.2;
  padding-left: 12px;
}

/* =================================================
   PAGINATION — MOBILE FIX (AUTHORITATIVE)
   ================================================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    width: 100%;
    box-sizing: border-box;
}

/* Page numbers + arrows — shrink spacing */
.pagination a,
.pagination span.current,
.pagination .dots {
    min-width: 26px;
    height: 32px;

    padding: 0 8px;
    box-sizing: border-box;
}

/* 🔥 Move GO TO PAGE to next row */
.pagination .goto {
    width: 100%;
    margin-left: 0 !important;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    margin-top: 6px;
}

/* Input sizing */
.pagination .goto input {
    width: 60px;
    text-align: center;
}

/* Prevent button wrapping */
.pagination .goto button {
    white-space: nowrap;
}

/* Optional overflow safety */
.catalog-pagination {
    overflow-x: hidden;
}

/* =================================================
   DISPLAY PAGE — MOBILE THUMBNAILS (FULL WIDTH)
   ================================================= */

.product-display {
  display: block !important;
}

/* Make thumbs span full screen */
.thumbs {
  display: flex !important;
  flex-direction: row !important;

  width: 100vw;
  max-width: 100vw;

  margin-left: calc(50% - 50vw); /* break out of centered container */

  padding: 8px 12px;
  gap: 8px;

  overflow-x: auto;
  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;
}

.thumbs img {
  flex: 0 0 auto;
  height: 64px;
  width: auto;
  cursor: pointer;
}

/* Hide scrollbar but keep scroll */
.thumbs::-webkit-scrollbar {
  display: none;
}


/* Optional: hide scrollbar but keep scroll */
.thumbs::-webkit-scrollbar {
  display: none;
}
/* =================================================
   DISPLAY PAGE — MOBILE MAIN IMAGE
   ================================================= */

.main-image {
  width: 100% !important;
  max-width: 100% !important;

  display: flex;
  justify-content: center;

  padding: 8px 12px;
  box-sizing: border-box;
}

.main-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;

  display: block;
}

/* =================================================
   DISPLAY PAGE — ATTRIBUTES
   ================================================= */
.attributes-bottom {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.attributes table {
  width: 100%;
  table-layout: fixed;
}

.attributes th {
  width: 30%;   /* or whatever your upper table visually uses */
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

.attributes td {
  width: 70%;
  min-width: 0;
}

.product-display,
.attributes,
.main-image,
.thumbs,
.catalog-main,
.catalog-columns {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.attributes table {
  width: 100%;
  max-width: 100%;
}

.main-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   ABOUT US — MOBILE HARD RESET + STACK
   ===================================================== */

  /* Kill desktop side-by-side layout */
  .about_us-block,
  .about_us-block.about_us-reverse {
    display: block !important;
  }

  /* Make text + image full width */
  .about_us-text,
  .about_us-image {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Image styling */
  .about_us-image {
    margin: 12px 0 24px;
  }

  .about_us-image img {
    width: 100%;
    height: auto;
    display: block;
  }

/* =====================================================
   EVALUATING PAGE — MOBILE STACK
   ===================================================== */

  /* Kill desktop flex layout */
  .eval-block,
  .eval-block.eval-reverse {
    display: block !important;
  }

  /* Full width columns */
  .eval-text,
  .eval-image {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Image spacing */
  .eval-image {
    margin: 12px 0 24px;
  }

  /* Full width image */
  .eval-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
/* =====================================================
   GRADING PAGE — MOBILE STACK
   ===================================================== */

  /* Kill desktop flex layout */
  .grade-block,
  .grade-block.grade-reverse {
    display: block !important;
  }

  /* Full width columns */
  .grade-text,
  .grade-image {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Image spacing */
  .grade-image {
    margin: 12px 0 24px;
  }

  /* Full width images */
  .grade-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
/* =====================================================
   NEWS PAGE — MOBILE HARD RESET (STACKED)
   Consolidated to prevent footer overlap
   ===================================================== */

/* 1. Kill Desktop Flex & Height Limits on the Parent */
.news-main-container.catalog-columns {
    display: block !important;
    width: 100% !important;
    height: auto !important;      /* Essential: Allow parent to grow */
    max-height: none !important;  /* Essential: Kill desktop constraints */
    overflow: visible !important; /* Essential: Let content push the footer */
    position: relative !important;
}

/* 2. Top Section (Filters) */
.news-sidebar-flex.catalog-sidebar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    border-right: none !important;
}

.news-filter-row {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

.news-filter-row .toolbar-select {
    flex: 1 !important;
}

/* 3. Headline Scroll Box (Fixed Height Window) */
.news-scroll-list {
    display: block !important;
    height: 310px !important; 
    max-height: 310px !important;
    overflow-y: scroll !important; 
    overflow-x: hidden !important;
    background: #ffffff !important;
    border: 1px solid #eee !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

/* 4. Headline Cards */
.news-preview-card {
    display: block;
    height: auto !important;
    border-bottom: 1px solid #eee !important;
    padding: 12px !important;
}

/* 5. Reader Pane (Full Article Content) */
.news-reader-pane.catalog-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    
    /* Force normal flow to push footer down */
    height: auto !important; 
    min-height: 200px !important;
    overflow: visible !important; 
    position: relative !important;
    float: none !important;
    
    padding: 20px 12px !important;
    border-top: 2px solid #eee !important;
    margin-bottom: 50px !important; /* Added more breathing room for footer */
}

/* 6. Content Adjustments */
.reader-content-wrapper {
    height: auto !important;
    display: block !important;
    overflow: visible !important;
}

.news-reader-pane img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
}

/* Prevents Android from auto-zooming into selects, which can break JS focus */
    .news-filter-row select {
        font-size: 16px !important; 
    }


}

/* =========================================================
   SMALL PHONES
   ========================================================= */
@media (max-width: 480px) {
  .is-homepage .random-row {
    grid-template-columns: 1fr;
  }
}