@font-face {
  font-family: "Media Index Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Media Index Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Media Index Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Media Index Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Media Index Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.mi-shell {
  --ink: #151713;
  --muted: #686b63;
  --line: rgba(21, 23, 19, .12);
  --surface: #fff;
  --soft: #eef0e8;
  --accent: #d9ff43;
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1240px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 16px;
  border-radius: 28px;
  color: var(--ink);
  background: #f5f6f1;
  font-family: "Media Index Manrope", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

.mi-shell,
.mi-shell * {
  box-sizing: border-box;
}

.mi-shell button,
.mi-shell a,
.mi-shell small,
.mi-shell select {
  font-family: inherit;
}

.mi-sidebar {
  position: static;
  height: auto;
  padding: 16px 14px;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: var(--soft);
}

.mi-country-toggle {
  display: none;
}

.mi-countries {
  display: grid;
  gap: 2px;
  max-height: none;
  padding: 0;
  overflow: visible;
}

.mi-country-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 4px;
}

.mi-countries .mi-country-select {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.mi-countries .mi-country-select:hover {
  background: rgba(255, 255, 255, .72);
}

.mi-countries .mi-country-select.active {
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
}

.mi-country-lock {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #a3a69d;
  background: transparent;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.mi-country-lock:hover {
  color: #686b63;
  background: rgba(255, 255, 255, .72);
}

.mi-country-lock.locked {
  color: #555950;
  background: rgba(21, 23, 19, .08);
}

.mi-country-lock svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mi-country-row:last-child {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mi-main {
  min-width: 0;
  padding: 26px 28px 42px;
  border-radius: 20px;
  background: var(--surface);
}

.mi-header {
  display: block;
  padding: 2px 2px 22px;
  border: 0;
}

.mi-header p {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.mi-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: var(--soft);
}

.mi-tabs,
.mi-windows {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  white-space: normal;
}

.mi-controls button {
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.mi-controls button:hover {
  background: rgba(255, 255, 255, .76);
}

.mi-controls button.active {
  color: #fff;
  background: var(--ink);
}

.mi-feed {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mi-feed li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: background-color .16s ease;
}

.mi-feed li:hover {
  background: #f7f8f4;
}

.mi-source-icon {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
  font-weight: 800;
}

.mi-source-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mi-source-icon.loaded > span {
  display: none;
}

.mi-story a {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -.025em;
  line-height: 1.22;
  text-decoration: none;
}

.mi-story a:hover {
  text-decoration: underline;
  text-decoration-color: #aacd1d;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mi-story small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.mi-score {
  min-width: 0;
  padding-left: 8px;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.mi-status {
  padding: 34px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.mi-load-more {
  display: block;
  margin: 26px auto 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.mi-load-more:hover {
  color: var(--ink);
  background: var(--accent);
}

.mi-load-more[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .mi-shell {
    display: block;
    max-width: 100%;
    padding: 12px;
    border-radius: 22px;
  }

  .mi-sidebar {
    position: static;
    height: auto;
    margin-bottom: 12px;
    padding: 12px;
    overflow: visible;
    border: 0;
  }

  .mi-country-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 14px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 15px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .mi-country-toggle::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }

  .mi-country-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .mi-toggle-current {
    overflow: hidden;
    color: var(--accent);
    font-weight: 650;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mi-countries {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px 10px;
    max-height: none;
    padding: 12px 2px 2px;
    overflow: visible;
  }

  .mi-countries.is-open {
    display: grid;
  }

  .mi-countries .mi-country-select {
    padding: 8px 10px;
    font-size: 13px;
  }

  .mi-country-row:last-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .et_pb_section:has(.mi-shell) {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .et_pb_row:has(.mi-shell) {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .et_pb_column:has(.mi-shell),
  .et_pb_code:has(.mi-shell),
  .et_pb_code_inner:has(.mi-shell) {
    margin: 0 !important;
    padding: 0 !important;
  }

  .mi-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
  }

  .mi-countries {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .mi-main {
    padding: 20px 14px 38px;
    border-radius: 16px;
  }

  .mi-header {
    padding: 0 2px 16px;
  }

  .mi-controls {
    display: block;
  }

  .mi-windows {
    margin-top: 6px;
  }

  .mi-feed li {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 16px 6px;
  }

  .mi-story a {
    font-size: 17px;
    line-height: 1.25;
  }

  .mi-source-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .mi-source-icon img {
    width: 18px;
    height: 18px;
  }
}
