/*
Theme Name: InfoGO News
Theme URI: https://infogo.kg/
Author: InfoGO.kg
Description: Лёгкая адаптивная новостная тема для InfoGO.kg со стандартными записями WordPress, курсами НБКР, рекламными слотами, SEO-разметкой и печатной версией.
Version: 2.5.28
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: infogo
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

/* Base */

:root {
  --container: 1180px;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #dddddd;
  --soft-line: #dddddd;
  --surface: #f4f4f4;
  --footer: #292f35;
  --footer-line: #dddddd;
  --blue: #1154a4;
  --shadow: 0 12px 28px rgba(0, 0, 0, .12);
  --font-body: "Inter", Arial, sans-serif;
  --font-heading: "Montserrat", Arial, sans-serif;
  --infogo-sticky-header-bottom: 60px;
  --infogo-ranking-gap: 16px;
  --content-gap: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

body.menu-open {
  overflow: hidden;
}

input,
textarea,
select,
option {
  font-family: var(--font-body);
}

button {
  font-family: var(--font-heading);
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

strong,
b,
th {
  font-weight: 700;
}

.category-nav,
.more-menu,
.mobile-nav-drawer__list,
.breadcrumbs,
.breaking-bar,
.pagination,
.load-more-button,
.button,
.related-stream__button,
.hero-lead,
.hero-tile,
.feature-wide__bigpost,
.news-image-item,
.news-text-item,
.front-ranking,
.archive-item,
.popular-item,
.post-card,
.compact-card,
.category-badge,
.section-heading,
.widget-title,
.exchange-rates__code {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font-size: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.infogo-view-count__number {
  color: #fff;
}

[hidden] {
  display: none !important;
}

/* Header and navigation */

.site-header {
  display: contents;
}

.header-main-row {
  display: grid;
  align-items: center;
  min-height: 88px;
  padding: 8px 0 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.site-branding {
  min-width: 0;
  justify-self: start;
}

.site-branding__link {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.site-branding__logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.site-branding--mobile .site-branding__logo {
  width: 205px;
}

.exchange-rates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #111;
  white-space: nowrap;
  justify-self: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.exchange-rates__item + .exchange-rates__item {
  margin-left: 1px;
}

.header-search-wrap {
  justify-self: stretch;
  width: 100%;
}

.search-form {
  position: relative;
  display: flex;
  width: 100%;
}

.search-field {
  width: 100%;
  height: 36px;
  padding: 0 38px 0 12px;
  border: 1px solid #dddddd;
  background: #fff;
  color: #777;
  outline: none;
  font-weight: 500;
  border-radius: 3px;
}

.search-field::placeholder {
  color: #333;
  opacity: 1;
}

.search-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.search-submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.search-submit::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid #111;
  border-radius: 50%;
  top: 9px;
  left: 9px;
}

.search-submit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: #111;
  transform: rotate(45deg);
  top: 22px;
  left: 21px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links__item {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.social-links__item img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-links__item:hover {
  transform: translateY(-1px);
}

.header-nav-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  position: relative;
  z-index: 1200;
  padding-top: 10px;
}

.category-nav {
  min-width: 0;
  flex: 1;
}

.category-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-nav__item a {
  display: block;
  padding: 15px 0 14px;
  color: #111;
  line-height: 1;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}

.category-nav__item a:hover {
  color: var(--blue);
}

.more-menu {
  position: relative;
  flex: 0 0 42px;
  margin-left: 18px;
  z-index: 1210;
}

.more-menu__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: #fff;
}

.more-menu__toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: #111;
}

.more-menu__toggle:hover {
  background: #f4f4f4;
}

.more-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% - 1px);
  background: #fff;
  border: 1px solid var(--soft-line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .16s ease;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 18px;
  z-index: 1220;
}

.more-menu:hover .more-menu__panel,
.more-menu:focus-within .more-menu__panel,
.more-menu.is-open .more-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.more-menu__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 24px;
  white-space: nowrap;
}

.more-menu__panel li {
  border-bottom: 0;
}

.more-menu__panel a {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav-drawer {
  display: none;
  z-index: 3000;
}

/* Advertising and shared media */

.ad-slot {
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  text-align: center;
}

.ad-slot--topheader {
  margin: 10px 0;
}

.ad-slot__link,
.ad-slot__picture {
  display: block;
  width: 100%;
}

.ad-slot__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.site-main {
  padding: 18px 0 42px;
  position: relative;
  z-index: 1;
}

.post-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececec;
}

.post-image img,
.post-image__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-image__placeholder {
  display: grid;
  place-items: center;
  color: #999;
  background: linear-gradient(145deg, #f0f0f0, #dfdfdf);
}

.category-badge {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 18px;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero and editorial blocks */

.hero-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  aspect-ratio: 8 / 3;
  margin: 0 0 18px;
}

.hero-lead,
.hero-tile,
.feature-band__bigpost,
.feature-wide__bigpost {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #eee;
  isolation: isolate;
}

.hero-lead__image,
.hero-tile__image,
.feature-band__bigimage {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.hero-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  color: #fff;
}

.hero-overlay--lead {
  padding: 110px 24px 22px;
}

.hero-overlay h1,
.hero-overlay h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.hero-overlay h1 {
  max-width: 92%;
  font-size: clamp(24px, 2.6vw, 38px);
}

.hero-overlay--tile h2 {
  font-size: clamp(14px, 1.35vw, 17px);
}

.hero-overlay a,
.hero-overlay a:hover {
  color: #fff;
}

.front-editorial-block {
  margin: 0;
}

.front-editorial-block--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: var(--content-gap);
}

.front-editorial-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--content-gap);
}

.mixed-column {
  min-width: 0;
}

.news-image-item {
  margin: 0 0 4px;
}

.news-image-item__thumb {
  margin-bottom: 8px;
}

.news-image-item h3,
.news-text-item h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 500;
}

.news-image-item h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.news-text-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.news-text-item:first-child {
  padding-top: 0;
}

.news-text-item a:hover,
.news-image-item a:hover {
  color: var(--blue);
}

.front-ranking {
  background: #f3f3f3;
  padding: 12px 14px 8px;
}

.front-ranking__title {
  margin: 15px 0 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.front-ranking__list {
  display: grid;
}

.front-ranking__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.front-ranking__item:last-child {
  border-bottom: 0;
}

.front-ranking__number {
  color: #bababa;
  font-size: 27px;
  line-height: 1;
  text-align: center;
  font-weight: 500;
}

.front-ranking__body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 26px;
  align-items: start;
  gap: var(--content-gap);
}

.feature-band__lead {
  min-width: 0;
}

.feature-band__bigpost {
  aspect-ratio: 4 / 3;
}

.feature-band__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  gap: var(--content-gap);
}

.front-editorial-block--bottom {
  margin-top: 8px;
}

/* Archives and widgets */

.archive-header {
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.archive-header h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.archive-description,
.archive-header p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.archive-layout,
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
  align-content: start;
}

.archive-content,
.single-content-area {
  min-width: 0;
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-item {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-line);
  gap: var(--content-gap);
}

.archive-item__image {
  width: 220px;
  aspect-ratio: 4 / 3;
}

.archive-item__content h2 {
  margin: 4px 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.archive-item__content p {
  margin: 0 0 10px;
  color: #555;
}

.widget-area {
  position: relative;
  min-width: 0;
}

.widget-area__sticky {
  width: 100%;
}

.widget {
  margin-bottom: 28px;
}

.widget-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 700;
}

.popular-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

.popular-item__rank {
  color: #bbb;
  font-size: 25px;
  line-height: 1;
}

.popular-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.widget ul {
  padding-left: 18px;
}

.widget img {
  max-width: 100%;
}

.load-more-wrap {
  text-align: center;
  margin-top: 24px;
}

.load-more-button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 700;
}

.load-more-button:hover,
.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.load-status {
  padding: 16px;
  text-align: center;
  color: #666;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
}

.pagination .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.empty-state {
  padding: 38px;
  background: var(--surface);
  text-align: center;
}

/* Single post */

.single-post-item {
  padding-bottom: 34px;
}

.single-header {
  margin-bottom: 20px;
}

.single-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.3vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.single-lead {
  margin: 0 0 14px;
  color: #555;
  font-size: 17px;
  line-height: 1.5;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #777;
  font-size: 14px;
}

.single-meta a {
  color: #555;
}

.single-thumb {
  width: 100%;
  margin: 0 0 18px;
  overflow: visible;
  background: transparent;
  text-align: center;
}

.single-thumb img,
.single-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
  object-position: center;
  cursor: default;
}

.single-content .single-gallery-slider img,
.single-content .wp-block-gallery img,
.single-content .gallery img {
  max-height: none;
}

.single-thumb figcaption {
  display: none;
}

.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  margin: 4px 0 18px;
  border-bottom: 1px solid var(--soft-line);
}

.post-share__label {
  margin-right: 2px;
  color: #666;
  font-size: 14px;
}

.post-share > a,
.post-share__btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.post-share img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.post-share__permalink {
  flex: 1 1 220px;
  min-width: 80px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-share__permalink:hover {
  color: var(--blue);
}

.post-share__copy {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.post-share__copy svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.post-share__copy-success {
  display: none;
}

.post-share__copy.is-copied {
  border-color: var(--blue);
  color: var(--blue);
}

.post-share__copy.is-copied .post-share__copy-icon {
  display: none;
}

.post-share__copy.is-copied .post-share__copy-success {
  display: block;
}

.single-content {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
}

.single-content strong,
.single-content b {
  font-weight: 700;
}

.single-lead,
.single-meta,
.post-share,
.post-tags,
.archive-description,
.archive-header p,
.archive-item__content p,
.footer-col p,
.footer-bottom,
.post-meta-line,
.related-stream__status {
  font-family: var(--font-body);
}

.single-content > :first-child {
  margin-top: 0;
}

.single-content p,
.single-content ul,
.single-content ol,
.single-content blockquote,
.single-content figure {
  margin: 0 0 18px;
}

.single-content .article__block[data-type="text"] {
  margin: 0 0 18px;
}

.single-content .article__block[data-type="text"]:last-child {
  margin-bottom: 0;
}

.single-content h2 {
  margin: 30px 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.single-content h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.single-content blockquote {
  padding: 12px 18px;
  border-left: 5px solid var(--blue);
  background: #f3f3f3;
  font-size: 18px;
}

.single-content figure,
.single-content .wp-block-image {
  width: 100%;
  overflow: visible;
}

.single-content figcaption {
  margin-top: 6px;
  color: #777;
  font-size: 14px;
}

/* Embeds */

.single-content .infogo-embed,
.single-content .wp-block-embed,
.single-content .wp-block-video {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
}

.single-content .wp-block-embed__wrapper {
  width: 100%;
  max-width: 100%;
}

.single-content .infogo-embed--video,
.single-content .infogo-embed--youtube,
.single-content .wp-block-embed-youtube .wp-block-embed__wrapper,
.single-content .wp-block-embed-vimeo .wp-block-embed__wrapper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: 3px;
}

.single-content .infogo-embed--video iframe,
.single-content .infogo-embed--video video,
.single-content .infogo-embed--youtube iframe,
.single-content .wp-block-embed-youtube iframe,
.single-content .wp-block-embed-vimeo iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border: 0;
}

.single-content .infogo-embed--telegram {
  min-height: 120px;
  overflow: visible !important;
  text-align: center;
}

.single-content .infogo-embed__fallback {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--soft-line);
  background: #f7f7f7;
  text-align: center;
}

.single-content .infogo-embed--social iframe,
.single-content .infogo-embed--generic iframe,
.single-content iframe,
.single-content video,
.single-content embed,
.single-content object {
  max-width: 100%;
}

.single-content .article__block[data-type="social"],
.single-content .article__tg {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  overflow: visible !important;
}

.single-content .article__tg .infogo-embed--telegram {
  margin: 0;
}

.single-content .infogo-embed--telegram iframe,
.single-content .article__tg iframe,
.single-content iframe.infogo-telegram-frame,
.single-content .telegram-post,
.single-content .telegram-post iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
}

.single-content .wp-embedded-content[data-secret],
.single-content iframe[src*="youtube.com/embed"],
.single-content iframe[src*="youtube-nocookie.com/embed"] {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  margin: 22px 0;
  overflow: hidden;
  background: #000;
  border: 0;
  border-radius: 3px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 10px;
  font-size: 14px;
}

.post-tags a {
  color: var(--blue);
}

.single-post-ad {
  margin-top: 24px;
}

.single-end-cards {
  margin-top: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--content-gap);
}

.author-profile {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  background: #f7f7f7;
}

.author-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-profile h1 {
  margin: 2px 0;
  font-size: 24px;
}

.author-profile p {
  margin: 6px 0 0;
  color: #666;
}

.author-profile > div > span,
.author-profile strong {
  font-size: 14px;
  color: #777;
}

.page-article {
  min-width: 0;
}

/* Footer and utilities */

.error-box {
  max-width: 620px;
  margin: 40px auto;
  text-align: center;
}

.error-box > strong {
  display: block;
  font-size: 90px;
  line-height: 1;
  color: #ddd;
}

.error-box h1 {
  font-size: 32px;
}

.error-box .search-form {
  margin: 20px 0;
}

.site-footer {
  margin-top: 0;
  background: var(--footer);
  color: #dfe2e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 38px;
  padding: 38px 0 34px;
}

.footer-col h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer-col p {
  margin: 0;
  color: #c0c5ca;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  padding: 16px 0 20px;
  border-top: 1px solid var(--footer-line);
  color: #aeb4ba;
  font-size: 14px;
}

.footer-col--social .social-links--footer {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.footer-col--social .social-links__item,
.footer-col--social .social-links__item img {
  width: 28px;
  height: 28px;
}

.footer-col--social .social-links__item {
  transition: transform .16s ease, opacity .16s ease;
}

.footer-col--social .social-links__item:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.footer-col--social .social-links__item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.scroll-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: #003AAD;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.scroll-to-top:hover {
  background: #FF8A00;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Shared components */

.single-gallery-slider,
.wp-block-gallery {
  max-width: 100%;
}

.breaking-bar {
  background: #c50000;
  color: #fff;
}

.breaking-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}

.breaking-bar__label {
  padding: 4px 7px;
  background: #111;
  font-size: 14px;
  letter-spacing: .06em;
}

.breaking-bar a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.section-heading {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--content-gap);
}

.post-card__image {
  margin-bottom: 8px;
}

.post-card__title {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.post-card .category-badge {
  margin-bottom: 5px;
}

.related-section {
  margin-top: 28px;
}

/* Related stream */

.related-stream {
  position: relative;
}

.related-stream__grid {
  transition: opacity .18s ease;
}

.related-stream.is-loading .related-stream__grid {
  opacity: .72;
}

.related-stream__status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.related-stream__status.is-error {
  color: #b00020;
}

.related-stream__status.is-complete {
  color: var(--muted);
}

.related-stream__sentinel {
  width: 100%;
  height: 2px;
  margin: 1px 0;
}

.related-stream__actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.related-stream__button {
  min-width: 170px;
  border-radius: 3px;
}

.related-stream__button:disabled {
  opacity: .55;
  cursor: wait;
}

.related-stream .post-card {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.related-stream .post-card__title {
  margin-bottom: 0;
}

.compact-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

.compact-card__image {
  width: 92px;
}

.compact-card h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 500;
}

::selection {
  background: #FF8A00;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #FF8A00;
  color: #fff;
  text-shadow: none;
}

/* Sticky header and home layout */

.header-main-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  z-index: 1300;
}

body.admin-bar .header-main-sticky {
  top: 32px;
}

.exchange-rates__code {
  font-weight: 500;
  color: #777;
}

.social-links--header {
  justify-self: end;
}

.hero-lead::after,
.hero-tile::after,
.feature-band__bigpost::after,
.feature-wide__bigpost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .78) 0%,
    rgba(0, 0, 0, .52) 28%,
    rgba(0, 0, 0, .22) 52%,
    rgba(0, 0, 0, 0) 76%
    );
}

.site-main img,
.ad-slot__image,
.site-footer img {
  border-radius: 3px;
}

.ad-slot__picture {
  overflow: hidden;
}

.single-content .wp-block-gallery {
  overflow: visible;
}

.single-stream-sentinel {
  width: 100%;
  height: 2px;
  margin: 1px 0;
}

.home-page,
.home-page button,
.home-page input,
.home-page textarea,
.home-page select,
body.home .site-header,
body.home .site-footer {
  font-size: 14px;
  font-weight: 500;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page strong,
body.home .site-header strong,
body.home .site-footer h2 {
  font-weight: 500;
}

.home-page .news-image-item h3,
.home-page .news-text-item h3,
.home-page .front-ranking__body h3,
.home-page .front-ranking__body p,
.home-page .post-meta-line,
.home-page .category-badge,
body.home .footer-col p,
body.home .footer-bottom {
  font-size: 14px;
}

.mobile-sticky-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: #fff;
}

.mobile-sticky-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #111;
}

.mobile-sticky-menu-toggle:hover {
  background: #f4f4f4;
}

.front-ranking__empty {
  margin: 0;
  padding: 16px 2px 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.single-layout,
.archive-layout,
.front-editorial-block--with-sidebar,
.site-main,
.site-main > .container {
  overflow: visible;
}

.front-ranking--sidebar {
  position: static;
  top: auto;
  width: 100%;
  margin: 0;
}

.widget-area__extra {
  margin-top: 24px;
}

.home-page .home-content-layout > .widget-area .front-ranking--sidebar {
  width: 100%;
  margin: 0;
}

.home-page .hero-news {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  aspect-ratio: auto;
  margin: 0 0 18px;
  align-items: start;
  gap: var(--content-gap);
}

.home-page .hero-lead {
  grid-column: 1 / span 2;
}

.home-page .hero-side-grid {
  grid-column: 3 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.home-page .hero-lead__image,
.home-page .hero-tile__image,
.home-page .feature-wide__bigimage {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.home-page .hero-overlay--lead {
  padding: 110px 22px 20px;
}

.home-page .hero-overlay {
  padding: 22px 16px 14px;
}

.home-page .home-content-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  width: 100%;
  align-items: start;
  overflow: visible;
  gap: var(--content-gap);
}

.home-page .home-content-layout > * {
  min-width: 0;
}

.home-page .home-content-layout > :not(.widget-area) {
  grid-column: 1 / span 3;
  margin-top: 0;
  margin-bottom: 0;
}

.home-page .home-content-layout > .widget-area {
  grid-column: 4;
  grid-row: 1 / span 5;
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
}

.home-page .front-editorial-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--content-gap);
}

.home-page .feature-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  margin: 0;
  gap: var(--content-gap);
}

.home-page .feature-wide__lead {
  grid-column: 1 / span 2;
  min-width: 0;
}

.home-page .feature-wide__column {
  min-width: 0;
}

.home-page .home-content-middle-ad,
.home-page .home-content-bottom-ad,
.home-page .home-content-layout > .ad-slot {
  width: 100%;
}

/* Home-page finishing rules */

.home-content-first .mixed-column > .news-text-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.home-content-first .mixed-column > .news-image-item:last-child h3 {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-content-first .mixed-column:nth-child(2) > .news-image-item:last-child {
  margin-top: 10px;
}

.home-content-feature .feature-wide__column:last-child > .news-text-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.home-content-feature .feature-wide__column:last-child > .news-image-item:last-child h3 {
  padding-bottom: 0;
  border-bottom: 0;
}

.mobile-nav-drawer__close {
  font-weight: 500;
}

/* Responsive */

@media (min-width: 901px) {
  .single-layout > .widget-area,
  .archive-layout > .widget-area,
  .home-page .home-content-layout > .widget-area {
    align-self: stretch;
    overflow: visible;
  }

  .single-layout > .widget-area > .widget-area__sticky,
  .archive-layout > .widget-area > .widget-area__sticky,
  .home-page .home-content-layout > .widget-area > .widget-area__sticky {
    position: sticky;
    top: calc(var(--infogo-sticky-header-bottom, 60px) + var(--infogo-ranking-gap, 16px));
    z-index: 20;
    width: 100%;
    height: max-content;
    max-height: none;
    overflow: visible;
  }

  .header-nav-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: space-between;
    column-gap: 14px;
  }

  .header-nav-row .category-nav,
  .header-nav-row .category-nav__list {
    display: contents;
  }

  .header-nav-row .more-menu {
    width: 42px;
    margin-left: 0;
    justify-self: end;
  }

  .header-main-sticky .header-main-row {
    min-height: 46px;
    padding-top: 4px;
    padding-bottom: 4px;
    gap: 20px;
  }

  .header-main-sticky .site-branding__logo {
    width: 170px;
  }

  .header-main-sticky .search-field,
  .header-main-sticky .search-submit {
    height: 32px;
  }

  .header-main-sticky .social-links__item,
  .header-main-sticky .social-links__item img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1100px) {
  .front-editorial-block--with-sidebar {
    grid-template-columns: minmax(0,1fr) 240px;
    gap: 24px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .header-main-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .exchange-rates,
  .category-nav__item a {
    font-size: 14px;
  }

  .home-page .hero-news,
  .home-page .home-content-layout,
  .home-page .front-editorial-columns,
  .home-page .feature-wide,
  .home-page .hero-side-grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .header-main-sticky,
  .header-main-row,
  .site-branding__logo,
  .search-field,
  .search-submit,
  .social-links__item,
  .social-links__item img {
    transition: min-height .2s ease, padding .2s ease, width .2s ease, height .2s ease, gap .2s ease, opacity .16s ease;
  }

  .header-main-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    gap: 10px 14px;
    padding: 10px 0;
  }

  .exchange-rates {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    justify-content: flex-start;
  }

  .header-search-wrap {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .social-links--header {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: start;
  }

  .category-nav {
    display: none;
  }

  .header-nav-row {
    justify-content: flex-end;
    min-height: 42px;
    display: none;
  }

  .more-menu {
    margin-left: auto;
  }

  .more-menu__panel {
    display: none;
  }

  .mobile-nav-drawer {
    position: fixed;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
  }

  .mobile-nav-drawer.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-drawer__inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: max(20px, env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    transform: translateY(18px);
    transition: .22s ease;
  }

  .mobile-nav-drawer.is-open .mobile-nav-drawer__inner {
    transform: translateY(0);
  }

  .mobile-nav-drawer__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--soft-line);
    background: #fff;
  }

  .mobile-nav-drawer__close {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    background: #f2f2f2;
    font-size: 28px;
    font-weight: 700;
  }

  .mobile-nav-drawer__list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
  }

  .mobile-nav-drawer__list a {
    display: block;
    border-bottom: 1px solid var(--soft-line);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
  }

  .front-editorial-block--with-sidebar {
    grid-template-columns: 1fr;
  }

  .front-ranking {
    margin-top: 8px;
  }

  .archive-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .widget-area {
    position: static;
  }

  .mobile-sticky-menu-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-branding {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-main-sticky.is-compact .header-main-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 36px;
    padding: 4px 0;
    gap: 8px;
  }

  .header-main-sticky.is-compact .exchange-rates,
  .header-main-sticky.is-compact .header-search-wrap,
  .header-main-sticky.is-compact .social-links--header {
    display: none;
  }

  .header-main-sticky.is-compact .site-branding__logo {
    width: 150px;
  }

  .header-main-sticky.is-compact .mobile-sticky-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .single-layout > .widget-area,
  .archive-layout > .widget-area,
  .home-page .home-content-layout > .widget-area,
  .widget-area__sticky {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .home-page .home-content-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .home-page .home-content-layout > .widget-area {
    order: 2;
    width: 100%;
  }

  .home-page .home-content-layout > .home-content-first {
    order: 1;
  }

  .home-page .home-content-layout > .home-content-middle-ad {
    order: 3;
  }

  .home-page .home-content-layout > .home-content-feature {
    order: 4;
  }

  .home-page .home-content-layout > .home-content-bottom {
    order: 5;
  }

  .home-page .home-content-layout > .home-content-bottom-ad {
    order: 6;
  }

  .home-page .hero-news {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: auto;
    gap: 16px;
  }

  .home-page .hero-lead,
  .home-page .hero-side-grid {
    grid-column: auto;
  }

  .home-page .hero-side-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    gap: 16px;
    overflow: visible;
  }

  .home-page .front-editorial-columns,
  .home-page .feature-wide {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .home-page .feature-wide__lead {
    grid-column: 1 / -1;
  }

  body.menu-open .header-main-sticky,
  body.menu-open .breaking-bar,
  body.menu-open .scroll-to-top {
    visibility: hidden;
    pointer-events: none;
  }

  body.menu-open .mobile-nav-drawer,
  body.menu-open .mobile-nav-drawer * {
    visibility: visible;
    pointer-events: auto;
  }

  .home-page .hero-lead {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .home-page .hero-tile {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .home-page .hero-lead > .post-image,
  .home-page .hero-tile > .post-image,
  .home-page .hero-lead__image,
  .home-page .hero-tile__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
  }

  .home-page .hero-lead .post-image img,
  .home-page .hero-tile .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-page .home-content-layout > .home-content-related {
    order: 7;
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .header-main-sticky {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .ad-slot {
    margin: 16px 0;
  }

  .ad-slot--topheader {
    margin-bottom: 12px;
  }

  .site-branding__logo {
    width: 190px;
  }

  .social-links__item,
  .social-links__item img {
    width: 24px;
    height: 24px;
  }

  .more-menu__toggle {
    width: 38px;
    height: 38px;
  }

  .site-main {
    padding-top: 12px;
  }

  .hero-news {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 10px;
  }

  .hero-lead {
    aspect-ratio: 4 / 3;
  }

  .hero-side-grid {
    aspect-ratio: 4 / 3;
    gap: 10px;
  }

  .hero-overlay--lead {
    padding: 80px 16px 15px;
  }

  .hero-overlay h1 {
    max-width: 100%;
    font-size: 25px;
  }

  .hero-overlay {
    padding: 45px 10px 9px;
  }

  .hero-overlay--tile h2 {
    font-size: 18px;
  }

  .front-editorial-columns,
  .front-editorial-columns--three {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .front-editorial-columns .mixed-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band__side {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .archive-item {
    grid-template-columns: 150px minmax(0,1fr);
    gap: 14px;
  }

  .archive-item__image {
    width: 150px;
  }

  .archive-item__content h2 {
    font-size: 17px;
  }

  .single-title {
    font-size: 32px;
  }

  .single-content {
    font-size: 15px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-share--single-end .post-share__permalink {
    flex-basis: calc(100% - 42px);
    order: 20;
  }

  .post-share--single-end .post-share__copy {
    order: 21;
  }

  .single-content .infogo-embed,
  .single-content .wp-block-embed,
  .single-content .wp-block-video,
  .single-content .wp-block-embed__wrapper {
    margin: 18px 0;
  }

  .single-content .article__block[data-type="social"],
  .single-content .article__tg {
    margin: 18px 0;
  }

  .single-thumb img,
  .single-content img {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
  }
}

@media (max-width: 640px) {
  .home-page .front-editorial-columns,
  .home-page .feature-wide {
    grid-template-columns: 1fr;
  }

  .home-page .feature-wide__lead {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .site-branding__logo {
    width: 175px;
  }

  .social-links--header {
    gap: 3px;
  }

  .social-links__item,
  .social-links__item img {
    width: 22px;
    height: 22px;
  }

  .exchange-rates {
    gap: 8px;
    font-size: 14px;
  }

  .hero-side-grid {
    grid-template-columns: 1fr 1fr;
  }

  .front-editorial-columns,
  .front-editorial-columns--three {
    grid-template-columns: 1fr;
  }

  .front-editorial-columns .mixed-column:nth-child(3) {
    grid-column: auto;
  }

  .feature-band__side {
    grid-template-columns: 1fr;
  }

  .front-ranking__title {
    font-size: 19px;
  }

  .archive-item {
    grid-template-columns: 1fr;
  }

  .archive-item__image {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .single-title {
    font-size: 28px;
  }

  .single-lead {
    font-size: 15px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-card-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav-drawer__inner {
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }

  .header-main-sticky.is-compact .site-branding__logo {
    width: 142px;
  }

  .mobile-sticky-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .footer-col--social .social-links--footer {
    gap: 12px;
  }

  .footer-col--social .social-links__item,
  .footer-col--social .social-links__item img {
    width: 30px;
    height: 30px;
  }
}
