/*!
 * Mirfazilov Miraziz — https://www.miraziz.uz
 */
@media (max-width: 1023px) {
  .header-currency,
  .header-social,
  .primary-nav {
    display: none;
  }

  .header-top-inner {
    min-height: 30px;
    font-size: 11px;
  }

  .header-top-live {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: min(100%, 72vw);
    justify-content: flex-end;
    gap: 10px;
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    background: #ffffff;
    color: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  .menu-toggle:hover {
    background: #f3f4f6;
    border-color: rgba(255, 255, 255, 0.35);
  }

  /* Три горизонтальные полоски (иконка «гамбургер») */
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 1px;
    background: currentColor;
    flex-shrink: 0;
  }

  /* Бургер | логотип по центру экрана | язык (тема — в мобильном меню) */
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
  }

  .menu-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .site-branding {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    text-align: center;
  }

  .site-branding .logo-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .site-branding .logo-link img,
  .site-branding img.custom-logo {
    max-height: 24px;
    width: auto;
    max-width: min(168px, 44vw);
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .search-toggle,
  .accessibility-toggle {
    display: none !important;
  }

  .header-actions .theme-toggle--header {
    display: none !important;
  }

  .header-actions .lang-switcher {
    padding: 1px;
    gap: 0;
  }

  .header-actions .lang-btn {
    min-height: 26px;
    min-width: 34px;
    padding: 0 5px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-aside {
    display: none;
  }

  .single-aside {
    display: none;
  }

  .recommended-mobile {
    display: block;
    margin-top: 16px;
  }

  /* --- Главная: планшет — ритм секций и удобные переключатели --- */
  .home-page .home-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .home-page .section-heading.news-feed-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .home-page .section-heading.news-feed-heading h2 {
    margin-bottom: 0;
  }

  .home-page .popular-sort,
  .home-page .feed-view-switch {
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
  }

  .home-page .popular-sort-btn,
  .home-page .feed-view-btn {
    flex: 1 1 0;
    min-height: 42px;
    padding-inline: 12px;
  }

  .home-page .news-feed-controls {
    width: 100%;
  }

  /* --- Футер: колонка, аккордеоны, центр лого и соцсетей --- */
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    grid-template-columns: none;
    box-sizing: border-box;
    padding: 32px 0 28px;
  }

  .footer-brand {
    grid-column: auto;
    max-width: none;
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 0;
    border-bottom: 1px solid #222228;
  }

  .footer-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }

  .footer-logo-link img,
  .footer-logo,
  .footer-logo-link .custom-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-tagline {
    max-width: 34rem;
    margin: 8px auto 0;
    line-height: 1.65;
    padding: 0 4px;
  }

  .site-footer .footer-accordion {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #222228;
    margin-top: 2px;
  }

  .footer-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    padding: 16px 4px 16px 0;
    margin: 0;
    cursor: pointer;
    list-style: none;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
  }

  .footer-accordion .footer-heading {
    margin-bottom: 0;
  }

  .footer-accordion__summary-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }

  .footer-accordion__summary::after {
    content: "";
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    margin-inline-start: auto;
    background: rgba(255, 255, 255, 0.72);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transform-origin: 50% 45%;
    transition: transform 0.22s ease;
  }

  .footer-accordion[open] .footer-accordion__summary::after {
    transform: rotate(180deg);
  }

  .footer-accordion__body {
    padding: 4px 0 20px;
  }

  .footer-col--social {
    position: relative;
    justify-self: stretch;
    text-align: center;
    margin-top: 6px;
    padding-top: 22px;
    border-top: 0;
  }

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

  .footer-col--social .footer-social {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .footer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .footer-bar-inner {
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .search-modal {
    padding: 12px;
    align-items: center;
  }

  .search-modal__shell {
    max-height: 85vh;
  }

  .search-modal__card {
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  body {
    font-size: 14px;
  }

  .container {
    padding: 0 12px;
  }

  /* Чёрная полоса: время / валюта / погода — на телефоне не показываем */
  .header-top {
    display: none;
  }

  .lang-switcher {
    display: flex;
  }

  .ticker {
    display: none;
  }

  .section-heading h2 {
    font-size: 20px;
    margin: 18px 0 12px;
  }

  .news-feed-heading {
    align-items: flex-start;
  }

  .news-feed-controls {
    width: 100%;
    justify-content: space-between;
  }

  .feed-segments,
  .feed-view-switch {
    max-width: 100%;
  }

  .feed-segment-btn,
  .feed-view-btn {
    padding: 0 10px;
    font-size: 12px;
  }

  /* Главная: «Популярное» — одна колонка, премиальные карточки */
  .home-page .popular-section {
    padding-bottom: 4px;
  }

  .home-page .popular-section .section-heading.news-feed-heading {
    gap: 14px;
    margin-bottom: 2px;
  }

  .home-page .popular-section .section-heading.news-feed-heading h2 {
    font-size: clamp(21px, 5.4vw, 26px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .home-page .popular-sort {
    padding: 4px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-border) 92%, #94a3b8 8%);
    background: color-mix(in srgb, var(--color-surface-soft) 96%, #f1f5f9);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  .home-page .popular-sort-btn {
    min-height: 44px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 11px;
  }

  .home-page .popular-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .popular-grid .post-card {
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-border) 88%, #cbd5e1 12%);
    background: var(--color-white);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.7) inset,
      0 4px 18px rgba(15, 23, 42, 0.07),
      0 12px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }

  .home-page .popular-grid .post-card:active {
    transform: translateY(0);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 2px 10px rgba(15, 23, 42, 0.06);
  }

  .home-page .popular-grid .post-card__image {
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-radius: 0;
  }

  .home-page .popular-grid .post-card__content {
    padding: 16px 18px 17px;
    gap: 6px;
  }

  .home-page .popular-grid .post-card h3 {
    font-size: clamp(16px, 4.2vw, 18px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    margin-bottom: 10px;
  }

  .home-page .popular-grid .post-card .post-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-muted) 92%, var(--color-text) 8%);
    gap: 8px;
  }

  [data-theme="dark"] .home-page .popular-sort {
    background: color-mix(in srgb, var(--color-white) 100%, #0f172a);
    border-color: var(--color-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  }

  [data-theme="dark"] .home-page .popular-grid .post-card {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 8px 28px rgba(0, 0, 0, 0.35);
    border-color: color-mix(in srgb, var(--color-border) 90%, #334155 10%);
  }

  /* Лента новостей: компактные карточки, читабельный текст */
  .home-page .news-feed-section .section-heading.news-feed-heading {
    margin-bottom: 6px;
  }

  .home-page .news-feed-section .section-heading.news-feed-heading h2 {
    font-size: clamp(20px, 5.2vw, 24px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .home-page .news-feed-grid.is-list {
    gap: 11px;
  }

  .home-page .news-feed-grid.is-list .post-list-item {
    display: grid;
    grid-template-columns: minmax(92px, 28vw) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-border) 88%, #cbd5e1 12%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.7) inset,
      0 3px 14px rgba(15, 23, 42, 0.06);
  }

  [data-theme="dark"] .home-page .news-feed-grid.is-list .post-list-item {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 6px 20px rgba(0, 0, 0, 0.28);
    border-color: color-mix(in srgb, var(--color-border) 90%, #334155 10%);
  }

  .news-feed-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Перебиваем main.css (max-width: 1360px): на главной лента — одна колонка записей */
  .home-page .news-feed-grid {
    grid-template-columns: 1fr;
  }

  /* Превью на всю высоту строки (высота задаётся текстом), без пустоты снизу */
  .home-page .news-feed-grid.is-list .post-list-item__image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    overflow: hidden;
    border-radius: 14px 0 0 14px;
    aspect-ratio: auto;
  }

  .home-page .news-feed-grid.is-list .post-list-item__image picture,
  .home-page .news-feed-grid.is-list .post-list-item__image > img.list-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    overflow: hidden;
  }

  .home-page .news-feed-grid.is-list .post-list-item__image picture img,
  .home-page .news-feed-grid.is-list .post-list-item__image > img.list-picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-page .news-feed-grid.is-list .post-list-item__content {
    min-width: 0;
    padding: 10px 12px 11px 0;
    gap: 0;
  }

  .home-page .news-feed-grid.is-list .post-list-item h3 {
    font-size: clamp(14px, 3.7vw, 16px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 5px;
    -webkit-line-clamp: 2;
  }

  .home-page .news-feed-grid.is-list .post-list-item p {
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: color-mix(in srgb, var(--color-muted) 72%, var(--color-text) 28%);
    -webkit-line-clamp: 2;
  }

  .home-page .news-feed-grid.is-list .post-list-item .post-meta {
    margin-top: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
  }

  .post-card h3,
  .post-list-item h3 {
    font-size: 16px;
  }

  .post-card__image,
  .post-list-item__image {
    min-height: 170px;
  }

  .post-card p,
  .post-list-item p {
    font-size: 14px;
  }

  .entry-title {
    font-size: 30px;
  }

  /* Страница записи: читабельность, прогресс, шеринг, «Рекомендуем» */
  .pressa-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1205;
    pointer-events: none;
    background: transparent;
  }

  .pressa-reading-progress::after {
    content: "";
    display: block;
    height: 100%;
    width: var(--pressa-read-pct, 0%);
    background: linear-gradient(90deg, #111111, #4f46e5);
    transition: width 0.12s ease-out;
  }

  @media (prefers-reduced-motion: reduce) {
    .pressa-reading-progress::after {
      transition: none;
    }
  }

  [data-theme="dark"] .pressa-reading-progress::after {
    background: linear-gradient(90deg, #e5e5e5, #818cf8);
  }

  .single-layout {
    margin-top: 10px;
  }

  .single-main .single-article {
    padding: 18px 16px 20px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--color-border) 90%, transparent);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.65) inset,
      0 8px 28px rgba(15, 23, 42, 0.07);
  }

  [data-theme="dark"] .single-main .single-article {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  }

  .single-main .entry-header {
    margin-bottom: 2px;
  }

  .single-main .entry-title {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.22;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 0 0 14px;
    text-wrap: balance;
  }

  .single-main .entry-meta {
    gap: 8px 10px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.35;
  }

  .single-main .entry-meta__category {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
  }

  .single-main .entry-featured-image {
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .single-main .entry-featured-image img,
  .single-main .entry-content img {
    border-radius: 16px;
  }

  .single-main .entry-content {
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: color-mix(in srgb, var(--color-text) 96%, #1e293b 4%);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  .single-main .entry-content > p:first-of-type {
    font-size: 1.05em;
    line-height: 1.68;
  }

  .single-main .entry-content p {
    margin-bottom: 1.15em;
  }

  .single-main .entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: color-mix(in srgb, var(--color-text) 88%, #4f46e5 12%);
  }

  .single-main .entry-content blockquote {
    margin: 1.25em 0;
    padding: 14px 16px 14px 18px;
    border-left: 4px solid color-mix(in srgb, #4f46e5 75%, var(--color-border) 25%);
    background: color-mix(in srgb, var(--color-surface-soft) 92%, transparent);
    border-radius: 0 12px 12px 0;
    font-style: normal;
    color: color-mix(in srgb, var(--color-text) 90%, #334155 10%);
  }

  .single-main .entry-content h2,
  .single-main .entry-content h3 {
    margin-top: 1.35em;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .single-main .entry-content figure.wp-block-table {
    margin-left: 0;
    margin-right: 0;
  }

  .single-main .entry-content table {
    font-size: 0.88em;
  }

  .single-main .entry-content th,
  .single-main .entry-content td {
    padding: 0.5em 0.55em;
  }

  .single-main .entry-share {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid color-mix(in srgb, var(--color-border) 85%, transparent);
    position: static;
    z-index: auto;
    background: transparent;
  }

  .single-main .share-btn {
    flex: 1 1 calc(50% - 5px);
    min-height: 48px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    box-shadow: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }

  .single-main .share-btn__icon {
    color: #ffffff;
  }

  .single-main .share-btn__icon .pressa-icon {
    color: #ffffff;
  }

  .single-main .share-btn:hover {
    background: #1f1f1f;
    border-color: #1f1f1f;
    color: #ffffff;
  }

  [data-theme="dark"] .single-main .share-btn:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
  }

  .single-main .share-btn:active {
    transform: scale(0.98);
  }

  .single-main .share-btn[data-network="copy"] {
    flex: 1 1 100%;
  }

  .recommended-mobile {
    margin-top: 16px;
    padding-top: 0;
  }

  .recommended-mobile h3 {
    margin: 0 0 8px;
    padding-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  }

  .recommended-mobile .recommended-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .recommended-mobile .recommended-list .post-list-item {
    display: grid;
    grid-template-columns: minmax(0, 88px) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-border) 82%, #cbd5e1 18%);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    overflow: hidden;
  }

  [data-theme="dark"] .recommended-mobile .recommended-list .post-list-item {
    border-color: color-mix(in srgb, var(--color-border) 88%, #334155 12%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  }

  .recommended-mobile .recommended-list .post-list-item__image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    aspect-ratio: auto;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
  }

  .recommended-mobile .recommended-list .post-list-item__image picture,
  .recommended-mobile .recommended-list .post-list-item__image > img.list-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  .recommended-mobile .recommended-list .post-list-item__image picture img,
  .recommended-mobile .recommended-list .post-list-item__image > img.list-picture {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
  }

  .recommended-mobile .recommended-list .post-list-item__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    padding: 6px 12px 8px 0;
    gap: 6px;
  }

  .recommended-mobile .recommended-list .post-list-item p {
    display: none;
  }

  .recommended-mobile .recommended-list .post-list-item h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    display: block;
    overflow: visible;
    text-overflow: unset;
  }

  .recommended-mobile .recommended-list .post-list-item h3 a {
    color: inherit;
    text-decoration: none;
  }

  .recommended-mobile .recommended-list .post-list-item .post-meta {
    margin-top: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-muted) 92%, var(--color-text) 8%);
  }

  /* --- Главная: телефон — герой, типографика, список новостей --- */
  .home-hero.container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: none;
  }

  .home-hero .hero-slider {
    aspect-ratio: 16 / 10;
    min-height: 168px;
    max-height: min(52vh, 360px);
    border-radius: 0 0 26px 26px;
    margin-bottom: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    overflow: clip;
    isolation: isolate;
    transform: translateZ(0);
  }

  .home-hero .hero-slider__track {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .hero-slide__overlay {
    padding: 12px 14px 34px;
    background: linear-gradient(
      to top,
      rgba(7, 10, 18, 0.94) 0%,
      rgba(7, 10, 18, 0.42) 52%,
      transparent 100%
    );
  }

  .hero-slide__overlay h2 {
    font-size: clamp(16px, 4.4vw, 21px);
    line-height: 1.28;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  .hero-slide__overlay h2 a {
    text-decoration: none;
  }

  .hero-slide__overlay p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Компактная пагинация внутри слайдера */
  .hero-slider__dots {
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%);
    gap: 3px;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .hero-dot {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent !important;
    border-radius: 999px;
  }

  .hero-dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .hero-dot.is-active::before {
    background: #ffffff;
    transform: scale(1.08);
  }

  .home-page .home-main {
    gap: 36px;
  }

  .home-page .section-heading h2 {
    font-size: clamp(19px, 5vw, 22px);
    line-height: 1.28;
    margin-top: 4px;
  }

  .home-page .feed-view-btn {
    min-height: 46px;
    font-size: 14px;
  }

  .post-card h3,
  .post-list-item h3 {
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .post-card__content,
  .post-list-item__content {
    padding: 14px 14px 16px;
  }

  .post-card p,
  .post-list-item p {
    line-height: 1.5;
  }

  .post-meta {
    font-size: 12px;
    gap: 10px 14px;
  }

  .home-page .feed-more {
    margin-top: 16px;
    margin-bottom: 20px;
    padding-inline: 0;
  }

  /* Главная: без лишней «дыры» перед футером, но с визуальным зазором у кнопки */
  main.site-main:has(.home-page) {
    padding-bottom: 0;
  }

  main.site-main:has(.home-page) + .site-footer {
    margin-top: 0;
  }

  .home-page .feed-more .btn-load-more {
    width: 100%;
    max-width: none;
    min-height: 46px;
    font-size: 14px;
  }

  .home-page .post-card:active,
  .home-page .post-list-item:active {
    transform: none;
  }

  /* Футер на телефоне: воздух вокруг блоков, без «сплющенного» ритма */
  .site-footer .footer-main {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .site-footer .footer-brand {
    padding-bottom: 20px;
  }

  .site-footer .footer-logo-link {
    margin-bottom: 10px;
  }

  .site-footer .footer-col--social {
    padding-top: 20px;
  }

  .site-footer .footer-bar-inner {
    padding-top: 18px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }
}
