﻿/* YonoApps homepage modules */

body.atlas-skin-yono--home .site-main--home {
  background: var(--yono-bg);
  padding: 0 0 28px;
  margin: 0;
}

body.atlas-skin-yono--home .yono-story {
  margin: 0;
}

.yono-home {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.yono-home > .yono-intro,
.yono-home > .yono-explore,
.yono-home > .yono-featured-block,
.yono-home > .yono-articles,
.yono-home > .yono-seo-block,
.yono-home > .yono-responsible {
  margin-top: 18px;
}

.yono-home > .yono-story + .yono-intro {
  margin-top: 16px;
}

.yono-card {
  background: var(--yono-card);
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  box-shadow: 0 1px 2px rgba(23, 33, 27, 0.04);
}

/* Story carousel */
.yono-story {
  background: var(--yono-forest);
  color: #fff;
  position: relative;
}

.yono-story__stage {
  position: relative;
  height: 248px;
  max-height: 280px;
  min-height: 220px;
  padding: 16px var(--yono-pad) 32px;
  box-sizing: border-box;
}

.yono-container.yono-story__stage {
  padding-left: var(--yono-pad);
  padding-right: var(--yono-pad);
}

.yono-story__viewport {
  position: relative;
  height: 100%;
}

.yono-story__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 16px 20px;
  align-items: center;
  height: 100%;
  min-height: 0;
}

.yono-story__slide[hidden] {
  display: none !important;
}

.yono-story__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding-right: 4px;
}

.yono-story__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(32, 201, 107, 0.22);
  color: #b8f5d0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.yono-story__title {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.2;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yono-story__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yono-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.yono-story__actions .yono-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.yono-story__actions .yono-btn {
  min-height: 34px;
}

.yono-story__media-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.yono-story__media {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.yono-story__media picture {
  display: contents;
}

.yono-story__media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.yono-story__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yono-story__nav:focus-visible {
  outline: 2px solid var(--yono-bright);
  outline-offset: 2px;
}

.yono-story__nav--prev {
  left: 6px;
}

.yono-story__nav--next {
  right: 6px;
}

.yono-story__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  flex: 0 0 auto;
  pointer-events: none;
}

.yono-story__dots {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.yono-story__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.yono-story__dot.is-active {
  background: #fff;
  width: 18px;
}

.yono-story__counter {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .yono-story__slide {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.7fr);
    gap: 12px;
  }

  .yono-story__media-wrap {
    height: auto;
    min-height: 0;
  }

  .yono-story__media img {
    max-height: none;
  }
}

@media (max-width: 767px) {
  /* Match desktop story rhythm: copy left + media right, single CTA. */
  .yono-story__stage {
    height: 228px;
    max-height: 248px;
    min-height: 200px;
    padding-top: 14px;
    padding-bottom: 30px;
  }

  .yono-story__slide {
    grid-template-columns: minmax(0, 1.15fr) minmax(118px, 0.95fr);
    gap: 10px 12px;
    height: 100%;
    align-items: center;
  }

  .yono-story__copy {
    order: 0;
    gap: 8px;
    padding-right: 0;
  }

  .yono-story__media-wrap {
    order: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .yono-story__media img {
    max-height: none;
  }

  .yono-story__badge {
    display: none;
  }

  .yono-story__title {
    font-size: 18px;
    line-height: 1.22;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    padding-right: 0;
  }

  .yono-story__desc {
    display: none;
  }

  .yono-story__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-top: 2px;
  }

  .yono-story__actions .yono-btn {
    min-height: 40px;
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .yono-story__nav {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .yono-story__meta {
    bottom: 6px;
  }
}

@media (max-width: 360px) {
  .yono-story__stage {
    height: 210px;
    min-height: 190px;
  }

  .yono-story__slide {
    grid-template-columns: minmax(0, 1.1fr) minmax(100px, 0.9fr);
    gap: 8px 10px;
  }

  .yono-story__title {
    font-size: 16px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .yono-story__media-wrap {
    height: auto;
    min-height: 0;
  }

  .yono-story__media img {
    max-height: none;
  }

  .yono-story__actions .yono-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yono-story__dot,
  .yono-story__slide {
    transition: none !important;
  }
}

/* Intro */
.yono-intro {
  padding-top: 8px;
  text-align: center;
}

.yono-intro__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 62, 0.1);
  color: var(--yono-forest, #0f763e);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 100%;
  box-sizing: border-box;
}

.yono-intro__h1 {
  margin: 0 auto 10px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--yono-text);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  padding: 0 4px;
  box-sizing: border-box;
  max-width: 36em;
}

.yono-intro__panel {
  background: var(--yono-forest);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--yono-radius);
  padding: 18px 22px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

.yono-intro__panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  .yono-intro__panel {
    padding: 20px 24px;
  }

  .yono-intro__panel p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.yono-intro__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 12px 0 0;
  padding: 0;
}

.yono-intro__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--yono-muted);
  font-weight: 600;
}

.yono-intro__stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yono-primary);
}

@media (max-width: 767px) {
  .yono-intro__badge {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .yono-intro__h1 {
    font-size: 20px;
    line-height: 1.28;
    margin-bottom: 12px;
  }

  .yono-intro__panel {
    padding: 16px 18px;
  }

  .yono-intro__stats {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .yono-intro__h1 {
    font-size: 18px;
  }
}

/* Explore / filters */
.yono-explore__title {
  margin: 0 0 12px;
  font-size: 20px;
}

.yono-search {
  position: relative;
  margin-bottom: 10px;
}

.yono-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yono-muted);
  pointer-events: none;
}

.yono-search__input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  background: #fff;
  padding: 0 40px 0 40px;
  font: inherit;
  color: var(--yono-text);
  box-sizing: border-box;
}

.yono-search__input:focus {
  outline: 2px solid rgba(16, 166, 74, 0.35);
  border-color: var(--yono-primary);
}

.yono-search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yono-muted);
  cursor: pointer;
  font-size: 18px;
}

.yono-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.yono-filter-row--cats {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  padding-right: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.yono-filter-row--cats::after {
  content: "";
  flex: 0 0 12px;
}

.yono-chip,
.yono-pill {
  border: 1px solid var(--yono-border);
  background: #fff;
  color: var(--yono-text);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.yono-chip.is-active,
.yono-pill.is-active,
.yono-chip[aria-pressed="true"],
.yono-pill[aria-pressed="true"] {
  background: var(--yono-primary);
  border-color: var(--yono-primary);
  color: #fff;
}

.yono-chip:focus-visible,
.yono-pill:focus-visible {
  outline: 2px solid var(--yono-bright);
  outline-offset: 2px;
}

.yono-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 4px 0 12px;
}

.yono-filter-count {
  margin: 0;
  font-size: 12px;
  color: var(--yono-muted);
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 767px) {
  .yono-filter-row--cats {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .yono-filter-toolbar {
    margin-bottom: 10px;
  }
}

.yono-empty {
  margin: 16px 0 0;
  padding: 16px;
  text-align: center;
  color: var(--yono-muted);
  background: #fff;
  border: 1px dashed var(--yono-border);
  border-radius: var(--yono-radius);
}

/* Popular picks */
.yono-picks {
  margin: 8px 0 18px;
}

.yono-picks__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.yono-picks__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.yono-picks__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--yono-muted);
}

.yono-picks__nav {
  display: inline-flex;
  gap: 6px;
}

.yono-picks__btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--yono-border);
  background: #fff;
  color: var(--yono-text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.yono-picks__btn:hover,
.yono-picks__btn:focus-visible {
  border-color: var(--yono-primary);
  color: var(--yono-primary);
  outline: none;
}

.yono-picks__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, calc((100% - 24px) / 3));
  min-width: 0;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.yono-picks--few .yono-picks__rail {
  display: grid;
  grid-auto-flow: unset;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: unset;
  gap: 12px;
  overflow: visible;
  scroll-snap-type: none;
}

.yono-pick-card {
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  padding: 14px;
  color: var(--yono-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(23, 33, 27, 0.04);
  box-sizing: border-box;
  overflow: hidden;
}

/* User Picks corner ribbon — gold/amber, distinct from list rank dots */
.yono-pick-card__badge {
  position: absolute;
  top: 10px;
  right: -22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 78px;
  justify-content: center;
  padding: 4px 22px;
  background: linear-gradient(135deg, #f5a800 0%, #e08900 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(176, 108, 0, 0.35);
  pointer-events: none;
}

.yono-pick-card--custom-badge .yono-pick-card__badge {
  background: var(--yono-pick-badge, #f5a800);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--yono-pick-badge, #f5a800) 40%, transparent);
}

.yono-pick-card__badge-star {
  font-size: 9px;
  line-height: 1;
}

.yono-pick-card__badge-text {
  font-size: 9px;
}

/* Logo + title/rating only — meta sits full-width below. */
.yono-pick-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-right: 28px; /* clear diagonal PICK ribbon */
}

.yono-pick-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef4f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(23, 33, 27, 0.06);
}

.yono-pick-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yono-pick-card__placeholder {
  font-size: 18px;
  font-weight: 700;
  color: var(--yono-primary);
  line-height: 1;
}

.yono-pick-card__headline {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.yono-pick-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yono-pick-card__name a {
  color: var(--yono-text);
  text-decoration: none;
}

.yono-pick-card__name a:hover,
.yono-pick-card__name a:focus-visible {
  color: var(--yono-primary);
  outline: none;
}

.yono-pick-card__rating {
  margin: 0;
  font-size: 12px;
  color: var(--yono-star);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.yono-pick-card__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--yono-border);
  font-size: 12px;
}

.yono-pick-card__meta .yono-meta-line {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yono-pick-card__meta .yono-meta-line > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.yono-pick-card__actions {
  display: block;
  margin-top: auto;
  padding-top: 2px;
}

.yono-pick-card__actions .yono-btn {
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.yono-picks__progress {
  height: 3px;
  background: var(--yono-border);
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}

.yono-picks__progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--yono-primary);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .yono-picks__head {
    align-items: flex-start;
    gap: 8px;
  }

  .yono-picks__head > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .yono-picks__title {
    font-size: 17px;
    line-height: 1.25;
    padding-right: 4px;
  }

  .yono-picks__nav {
    flex-shrink: 0;
    margin-left: auto;
  }

  .yono-picks__rail,
  .yono-picks--few .yono-picks__rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(78vw, 280px);
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .yono-pick-card__actions .yono-btn {
    min-height: 44px;
  }
}

/* Category tabs — between Popular Picks and app list */
.yono-cat-tabs {
  margin: 4px 0 14px;
}

.yono-cat-tabs__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  box-shadow: 0 1px 2px rgba(23, 33, 27, 0.04);
}

.yono-cat-tabs__track::-webkit-scrollbar {
  display: none;
}

.yono-cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--yono-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.yono-cat-tab__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.yono-cat-tab__icon svg {
  display: block;
}

.yono-cat-tab:hover,
.yono-cat-tab:focus-visible {
  color: var(--yono-text);
  background: #f3f7f4;
  outline: none;
}

.yono-cat-tab.is-active,
.yono-cat-tab[aria-pressed="true"] {
  background: var(--yono-primary);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.yono-cat-tab.is-active:hover,
.yono-cat-tab.is-active:focus-visible,
.yono-cat-tab[aria-pressed="true"]:hover,
.yono-cat-tab[aria-pressed="true"]:focus-visible {
  color: #fff;
  background: var(--yono-bright);
}

@media (max-width: 767px) {
  .yono-cat-tabs {
    margin: 2px 0 12px;
  }

  .yono-cat-tabs__track {
    padding: 6px;
    gap: 6px;
  }

  .yono-cat-tab {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* App rows — same L|M|R layout on mobile + desktop */
.yono-app-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
  padding-top: 6px;
}

.yono-app-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  padding: 16px 16px 16px 14px;
  min-height: 118px;
  box-shadow: 0 1px 2px rgba(23, 33, 27, 0.03);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.yono-app-row[hidden] {
  display: none !important;
}

/* Corner serial badge — red circle on card frame (list ranking) */
.yono-app-row__rank {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 3;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yono-hot, #ef4444);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(185, 28, 28, 0.25);
  pointer-events: none;
}

.yono-app-row__logo {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef4f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  box-shadow: inset 0 0 0 1px rgba(23, 33, 27, 0.06);
}

.yono-app-row__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yono-app-row__logo-fallback {
  font-size: 20px;
  font-weight: 700;
  color: var(--yono-primary);
  line-height: 1;
}

.yono-app-row__body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
}

.yono-app-row__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.yono-app-row__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}

.yono-app-row__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
}

.yono-app-row__name a {
  color: var(--yono-text);
  text-decoration: none;
}

.yono-app-row__name a:hover,
.yono-app-row__name a:focus-visible {
  color: var(--yono-primary);
  outline: none;
}

.yono-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.yono-badge--new {
  background: #e8f8ee;
  color: var(--yono-primary);
}

.yono-badge--hot {
  background: #fde8e8;
  color: var(--yono-hot);
}

.yono-badge--pin {
  background: #e8eefc;
  color: #1d4ed8;
}

.yono-badge--editors_pick {
  background: #fff6df;
  color: #b87a00;
}

.yono-badge--updated {
  background: #eaf6ff;
  color: #0b6bcb;
}

.yono-badge--featured {
  background: #fff6df;
  color: #b87a00;
}

.yono-badge--bonus {
  background: #eaf6ff;
  color: #0b6bcb;
}

.yono-app-row__rating {
  font-size: 12px;
  color: var(--yono-star);
  font-weight: 600;
}

.yono-app-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: 0;
  font-size: 12px;
  color: var(--yono-muted);
}

.yono-app-row__category {
  display: none;
}

.yono-app-row__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.yono-app-row__actions .yono-btn {
  min-width: 118px;
  min-height: 42px;
  white-space: nowrap;
}

.yono-app-row__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--yono-primary);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .yono-app-list {
    gap: 12px;
    padding-top: 8px;
    padding-left: 4px;
  }

  .yono-app-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 10px;
    padding: 14px 12px 14px 12px;
    min-height: 108px;
  }

  .yono-app-row__rank {
    top: -7px;
    left: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    font-size: 11px;
  }

  .yono-app-row__logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .yono-app-row__body {
    /* Keep logo | text | download on one horizontal row */
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    align-items: center;
  }

  .yono-app-row__name {
    font-size: 14px;
  }

  .yono-app-row__meta {
    font-size: 11px;
    gap: 2px;
  }

  .yono-app-row__actions {
    align-items: flex-end;
    min-width: 0;
  }

  .yono-app-row__source {
    display: none;
  }

  .yono-app-row__actions .yono-btn {
    min-width: 0;
    width: auto;
    padding: 0 12px;
    min-height: 40px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .yono-app-row__actions .yono-btn {
    padding: 0 10px;
    gap: 4px;
  }
}

/* Featured + SEO cards */
.yono-featured-card,
.yono-seo-card {
  padding: 22px 24px;
}

.yono-seo-card__head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yono-border);
}

.yono-seo-card__subtitle {
  margin: 6px 0 0;
  max-width: 46rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--yono-muted);
}

.yono-seo-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.yono-seo-topic {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--yono-border);
  border-radius: calc(var(--yono-radius) - 2px);
  background: #f8fbf9;
}

.yono-seo-topic__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--yono-text);
}

.yono-seo-topic__body,
.yono-seo-topic__body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--yono-muted);
}

.yono-seo-card__links {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--yono-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yono-seo-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--yono-border);
  background: #fff;
  color: var(--yono-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.yono-seo-card__link:hover,
.yono-seo-card__link:focus-visible {
  border-color: var(--yono-primary);
  color: var(--yono-primary);
  outline: none;
}

.yono-seo-card > p,
.yono-seo-card__list,
.yono-seo-card__note {
  max-width: 900px;
}

.yono-seo-card__h3 {
  margin: 16px 0 8px;
  font-size: 15px;
}

.yono-seo-card > p,
.yono-seo-card__list {
  margin-top: 0;
  margin-bottom: 14px;
}

.yono-seo-card__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--yono-border);
  font-size: 12px;
  line-height: 1.55;
  color: var(--yono-muted);
}

.yono-seo-card .yono-prose h2,
.yono-seo-card .atlas-seo-section__heading {
  margin: 1rem 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.yono-seo-card .yono-prose h2:first-child,
.yono-seo-card .atlas-seo-section:first-child .atlas-seo-section__heading {
  margin-top: 0;
}

.yono-seo-card .yono-prose p,
.yono-seo-card .atlas-seo-section__paragraph,
.yono-seo-card .atlas-seo-section__body > p {
  margin: 0 0 0.75rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--yono-muted);
}

@media (max-width: 720px) {
  .yono-seo-topics {
    grid-template-columns: 1fr;
  }
}

.yono-queries-block {
  margin-top: 4px;
}

.yono-queries-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yono-queries-block__head .yono-featured-card__h3 {
  margin: 0;
}

.yono-queries-nav {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.yono-queries-nav__btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--yono-border);
  background: #fff;
  color: var(--yono-text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.yono-queries-nav__btn:hover,
.yono-queries-nav__btn:focus-visible {
  border-color: var(--yono-primary);
  color: var(--yono-primary);
  outline: none;
}

.yono-queries-rail {
  margin-top: 8px;
  padding: 12px;
  border: 1px dashed var(--yono-border);
  border-radius: var(--yono-radius);
  background: #f8fbf9;
  overflow: hidden;
  position: relative;
}

.yono-queries-rail:focus-visible {
  outline: 2px solid var(--yono-primary);
  outline-offset: 2px;
}

.yono-queries-track {
  list-style: none;
  margin: 0;
  padding: 2px 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: max-content;
  will-change: transform;
}

.yono-queries-block.is-marquee .yono-queries-track {
  /* JS drives transform for seamless looping + controls. */
  animation: none;
}

.yono-queries-block.is-marquee:hover .yono-queries-track,
.yono-queries-block.is-marquee:focus-within .yono-queries-track,
.yono-queries-block.is-paused .yono-queries-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .yono-queries-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.yono-queries-track__item {
  flex: 0 0 auto;
}

.yono-query-pill {
  display: inline-flex;
  align-items: center;
  max-width: min(280px, 78vw);
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--yono-primary);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(16, 166, 74, 0.28);
  box-sizing: border-box;
}

.yono-query-pill:hover,
.yono-query-pill:focus-visible {
  background: var(--yono-bright);
  color: #fff;
  outline: none;
}

.yono-query-pill--static {
  cursor: default;
  box-shadow: none;
  background: var(--yono-dark);
}

@media (max-width: 900px) {
  .yono-featured-card,
  .yono-seo-card {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .yono-queries-rail {
    padding: 10px;
  }

  .yono-queries-track {
    gap: 8px;
  }

  .yono-query-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Responsible notice */
.yono-responsible {
  background: #fff;
  border-top: 1px solid var(--yono-border);
  border-bottom: 1px solid var(--yono-border);
}

.yono-responsible__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 72px;
  max-height: none;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.yono-responsible__badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.yono-responsible__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--yono-muted);
}

@media (max-width: 767px) {
  .yono-responsible__inner {
    align-items: flex-start;
    max-height: none;
    min-height: 0;
    padding: 16px 0;
  }
}

/* Featured list components (card padding set above) */
.yono-featured-card__title,
.yono-seo-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yono-featured-card__star {
  color: var(--yono-star);
}

.yono-featured-card__intro {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--yono-muted);
  line-height: 1.5;
}

.yono-featured-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.yono-featured-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yono-border);
}

.yono-featured-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.yono-featured-item__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.yono-featured-item__name {
  margin: 0 0 4px;
  font-size: 14px;
}

.yono-featured-item__name a {
  color: var(--yono-text);
  text-decoration: none;
}

.yono-featured-item__name a:hover {
  color: var(--yono-primary);
}

.yono-featured-item__desc {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--yono-muted);
  line-height: 1.45;
}

.yono-featured-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 12px;
}

.yono-featured-item__cat {
  color: var(--yono-muted);
}

.yono-featured-item__link {
  color: var(--yono-primary);
  font-weight: 600;
  text-decoration: none;
}

.yono-featured-card__h3 {
  margin: 16px 0 8px;
  font-size: 15px;
}

.yono-prose {
  font-size: 13px;
  line-height: 1.6;
  color: var(--yono-text);
}

.yono-prose p {
  margin: 0 0 10px;
}

.yono-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yono-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--yono-border);
  background: #f8fbf9;
  color: var(--yono-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.yono-link-chip:hover,
.yono-link-chip:focus-visible {
  border-color: var(--yono-primary);
  color: var(--yono-primary);
  outline: none;
}

.yono-guide-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.yono-guide-links a {
  color: var(--yono-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.yono-guide-links a:hover {
  color: var(--yono-primary);
}

.yono-seo-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--yono-text);
}

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

/* Homepage Latest Articles / Guides */
.yono-explore__intro {
  margin: 0 0 14px;
  max-width: 52rem;
  color: var(--yono-muted);
  font-size: 14px;
  line-height: 1.55;
}

.yono-articles__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.yono-articles__head-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.yono-articles__title {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.25;
  color: var(--yono-text);
}

.yono-articles__intro {
  margin: 0;
  max-width: 46rem;
  color: var(--yono-muted);
  font-size: 14px;
  line-height: 1.5;
}

.yono-articles__all {
  flex-shrink: 0;
  color: var(--yono-forest);
  border-color: rgba(6, 61, 39, 0.28);
}

.yono-articles__all:hover,
.yono-articles__all:focus-visible {
  color: #fff;
  background: var(--yono-forest);
  border-color: var(--yono-forest);
  outline: none;
}

.yono-articles__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yono-article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--yono-card);
  border: 1px solid var(--yono-border);
  border-radius: var(--yono-radius);
  box-shadow: 0 1px 2px rgba(23, 33, 27, 0.04);
}

.yono-article-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f6ee 0%, #f4faf6 100%);
}

.yono-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yono-article-card__media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(90% 80% at 80% 10%, rgba(16, 166, 74, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, #e8f6ee 0%, #f7fbf8 100%);
}

.yono-article-card__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(6, 61, 39, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yono-article-card__badges {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 55%;
  z-index: 1;
}

.yono-article-card__badges .yono-badge {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.yono-article-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: 14px 14px 16px;
  min-width: 0;
}

.yono-article-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.yono-article-card__title a {
  color: var(--yono-text);
  text-decoration: none;
}

.yono-article-card__title a:hover,
.yono-article-card__title a:focus-visible {
  color: var(--yono-primary);
  outline: none;
}

.yono-article-card__excerpt {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.5;
  color: var(--yono-muted);
}

.yono-article-card__cta {
  align-self: flex-start;
  margin-top: 4px;
  gap: 6px;
}

@media (max-width: 900px) {
  .yono-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .yono-articles__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .yono-articles__grid {
    grid-template-columns: 1fr;
  }

  .yono-article-card__cta {
    width: 100%;
  }
}
