/* =========================================================
   KakasTech MOBILE.CSS — logikai sorrend, tisztított mobil rendszer
   Betöltés: minden desktop/oldalspecifikus CSS után, mindig utolsóként.
   Tartalom: layout őrök, profil, auth, publikus shell, oldalblokkok, kupon, VB, discover.
   A foci fejléc és Friss közzétételek mobil kinézete alul egyetlen tiszta blokkban van.
   ========================================================= */

/* Core layout guards */
@media (max-width: 920px) {
  .home-main,
  .article-container,
  .coupons-page,
  .prof-wrap {
    width: min(100% - 22px, 1440px);
    max-width: 1440px;
  }

  .home-layout,
  .article-layout,
  body.article-page .article-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar,
  .article-sidebar {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .home-main,
  .article-container,
  .coupons-page,
  .prof-wrap {
    width: min(100% - 16px, 1440px);
    padding-top: 20px;
  }
}

/* Page-specific responsive rules stay in their own CSS files. */

/* Profile pages */
@media (max-width: 1120px) {
    .prof-wrap {
        grid-template-columns: 1fr;
    }

    .prof-sidebar {
        position: static;
    }

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

    .msg-row {
        grid-template-columns: 34px 130px minmax(0, 1fr);
    }

    .msg-row-right {
        grid-column: 2 / -1;
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 720px) {
    .prof-wrap {
        width: min(100% - 22px, 1440px);
        padding-top: 42px;
    }

    .sec-head,
    .sec-body,
    .msg-wrap,
    .msg-compose form,
    .msg-open-body,
    .msg-open-footer {
        padding: 16px;
    }

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

    .msg-row {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .msg-row-from,
    .msg-row-middle,
    .msg-row-right {
        grid-column: 2 / -1;
    }

    .msg-toolbar,
    .msg-bulk,
    .msg-form-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .my-coupon-status {
        width: 100%;
        text-align: left;
    }

    .dash-grid-6,
    .dash-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dash-card {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 82px;
        padding: 12px;
        gap: 10px;
    }

    .dash-card-icon,
    .dash-card-header svg {
        width: 38px;
        height: 38px;
        border-radius: var(--kt-radius-sm, 5px);
    }

    .dash-card-icon svg,
    .dash-action-btn svg {
        width: 18px;
        height: 18px;
    }

    .dash-card-header,
    .dash-card-copy strong {
        font-size: .84rem;
    }

    .dash-card-num,
    .dash-card-copy small {
        font-size: .72rem;
    }

    .dash-action-btn {
        min-height: 84px;
        padding: 14px 10px;
        font-size: .82rem;
    }

    .user-list-item.saved-item {
        grid-template-columns: 86px minmax(0, 1fr) 36px;
        align-items: center;
        gap: 10px;
        padding: 10px;
        text-align: left;
    }

    .saved-thumb {
        width: 86px;
        height: 72px;
    }

    .saved-info {
        min-width: 0;
        text-align: left;
    }

    .saved-title {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: .9rem;
    }

    .saved-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: .35rem !important;
        line-height: 1.3;
    }

    .saved-meta span {
        margin-left: 0 !important;
    }

    .saved-item form {
        justify-self: end;
    }
}

@media (max-width: 390px) {
    .dash-grid-6,
    .dash-actions-grid {
        gap: 10px;
    }

    .dash-card {
        padding: 12px 10px;
    }

    .dash-card-header {
        font-size: .72rem;
    }

    .user-list-item.saved-item {
        grid-template-columns: 76px minmax(0, 1fr) 34px;
    }

    .saved-thumb {
        width: 76px;
        height: 66px;
    }
}

/* Auth pages */
@media (max-width: 480px) {
    .auth-container {
        padding: 30px 14px 48px;
        place-items: start center;
    }

    .auth-container::before {
        width: calc(100% - 18px);
        height: 520px;
        top: 32px;
        transform: translateX(-50%);
    }

    .auth-header,
    .auth-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-header {
        padding-top: 22px;
    }

    .auth-logo-img {
        height: 44px;
        transform: scale(1.45);
    }

    .auth-links {
        text-align: left;
    }
}
/* Shared mobile polish corrections */
@media (max-width: 920px) {
  .share-buttons,
  .article-share-rail .share-buttons,
  .article-share-layout .share-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .share-btn,
  .article-share-rail .share-btn,
  .article-share-layout .share-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 44px;
    width: auto;
    max-width: none;
    height: 42px;
    min-height: 42px;
    min-width: 44px;
    padding: 0 10px !important;
    border-radius: 5px !important;
    font-size: 0 !important;
    color: #0a7494 !important;
    background: rgba(255,255,255,.9) !important;
    border: 1px solid rgba(10,116,148,.22) !important;
  }

  .share-btn svg,
  .article-share-rail .share-btn svg,
  .article-share-layout .share-btn svg {
    position: static !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    color: currentColor !important;
    stroke: currentColor !important;
  }

  .share-btn svg [stroke],
  .article-share-rail .share-btn svg [stroke],
  .article-share-layout .share-btn svg [stroke] {
    stroke: currentColor !important;
  }

  .share-btn.twitter svg,
  .share-btn.twitter svg path {
    fill: currentColor !important;
  }

  .share-btn::before,
  .article-share-rail .share-btn::before,
  .article-share-layout .share-btn::before {
    display: none !important;
  }

  .rating-container,
  .article-share-layout .rating-container,
  .article-share-rating {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    border-radius: 5px;
    overflow: hidden;
  }

  .rating-content,
  .article-share-layout .rating-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rating-stats,
  .rating-actions {
    width: 100%;
    min-width: 0;
  }

  .rating-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }

  .rating-btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border-radius: 5px;
  }

  body.article-page .article-container,
  body.article-page .article-page-container {
    width: min(100% - 12px, 1440px) !important;
    max-width: 1440px !important;
    margin-top: 12px !important;
  }

  body.article-page .article-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.article-page .article-layout > article,
  body.article-page .article-share-layout,
  body.article-page .article-share-main,
  body.article-page .article-body-premium {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.article-page .article-share-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.article-page .article-share-rail,
  body.article-page .share-container,
  body.article-page .share-buttons,
  body.article-page .share-url-wrapper,
  body.article-page .share-counter {
    display: none !important;
  }

  .msg-toolbar,
  .msg-bulk {
    align-items: center;
  }

  .msg-tbtn {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(10,116,148,.22) !important;
    color: var(--kt-ink, #102235) !important;
    font-size: .78rem !important;
    line-height: 1.1;
  }

  .msg-tbtn.danger {
    color: #b42318 !important;
    border-color: rgba(180,35,24,.26) !important;
    background: rgba(255,245,244,.92) !important;
  }

  .msg-row-actions button,
  .msg-star,
  .msg-delete {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(10,116,148,.20) !important;
    color: var(--kt-ink, #102235) !important;
    box-shadow: none !important;
  }

  .msg-delete,
  .msg-row-actions button[value^="delete"] {
    color: #b42318 !important;
    border-color: rgba(180,35,24,.24) !important;
    background: rgba(255,245,244,.9) !important;
  }

  .msg-open-footer button {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 9px 12px !important;
    border-radius: 5px !important;
  }

  body.article-page .latest-coupon-card {
    display: block;
    padding: 16px;
    border-radius: 5px;
  }

  body.article-page .latest-coupon-img {
    width: 100%;
    height: clamp(180px, 50vw, 260px);
    margin: 12px 0;
  }

  body.article-page .latest-coupon-title-row {
    display: block;
  }

  body.article-page .latest-coupon-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
  }

  body.article-page .latest-coupon-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .rating-buttons {
    grid-template-columns: repeat(5, minmax(34px, 1fr));
  }

  .msg-bulk {
    gap: 6px;
  }

  .msg-tbtn {
    padding-inline: 8px !important;
  }
}
/* Messages toolbar */
@media (max-width: 720px) {
  .msg-toolbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px !important;
    text-align: left !important;
  }

  .msg-bulk {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: auto !important;
    flex: 1 1 auto !important;
    text-align: left !important;
  }

  .msg-cb-all {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .msg-sep {
    display: none !important;
  }

  .msg-sel-lbl {
    flex: 0 0 100% !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 0 2px !important;
    font-size: .82rem !important;
  }

  .msg-tbtn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 7px 9px !important;
    border-radius: 5px !important;
    font-size: .76rem !important;
    white-space: nowrap !important;
  }

  .msg-count {
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    padding-top: 9px !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  .msg-row {
    grid-template-columns: 28px minmax(0, 1fr) auto !important;
    gap: 9px !important;
    align-items: start !important;
  }

  .msg-row-from {
    grid-column: 2 / 3 !important;
  }

  .msg-row-middle {
    grid-column: 2 / 3 !important;
    min-width: 0 !important;
  }

  .msg-row-right {
    grid-column: 3 / 4 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .msg-row-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    justify-content: flex-end !important;
  }

  .msg-row-date {
    text-align: right !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 430px) {
  .msg-toolbar {
    display: block !important;
  }

  .msg-bulk {
    width: 100% !important;
  }

  .msg-count {
    display: block !important;
    padding-top: 8px !important;
    text-align: left !important;
  }
}

/* Mobile public shell: header, info strip, footer, home widgets
   RENDEZETT VERZIÓ: egy blokkban, duplikáció nélkül. */
.mobile-nav-svg,
.mobile-search-toggle {
  display: none;
}

@media (max-width: 900px) {
  body {
    background: var(--ktp-page, #f4f8fc) !important;
  }

  .top-bar {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 !important;
    box-shadow: 0 8px 20px rgba(0, 84, 168, .06) !important;
  }

  .top-bar-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas:
      "logo logo logo"
      "nav discovery actions"
      "search search search" !important;
    align-items: center !important;
    column-gap: 5px !important;
    row-gap: 5px !important;
    width: min(100% - 22px, 1460px) !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    padding: 8px 0 6px !important;
  }

  .header-left {
    display: contents !important;
  }

  .logo {
    grid-area: logo !important;
    align-self: center !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-height: 30px !important;
    line-height: 0 !important;
  }

  .site-logo,
  .logo img,
  .logo svg {
    display: block !important;
    width: min(168px, 48vw) !important;
    max-width: min(168px, 48vw) !important;
    height: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .main-nav {
    grid-area: nav !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    scrollbar-width: none !important;
  }

  .main-nav::-webkit-scrollbar {
    display: none !important;
  }

  .header-discovery-nav {
    grid-area: discovery !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .top-bar-right {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: max-content !important;
    margin: 0 !important;
  }

  .header-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 3px !important;
    min-width: max-content !important;
  }

  .main-nav .nav-link,
  .mobile-search-toggle,
  .header-discovery-link,
  .header-actions .icon-link,
  .header-actions .top-bar-web-link,
  .header-actions .top-bar-logout,
  .top-bar-web-link,
  .top-bar-logout {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid #b8d8f0 !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #0054a8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .90), 0 7px 16px rgba(0, 84, 168, .07) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .main-nav .nav-link::before,
  .main-nav .nav-link::after,
  .header-discovery-link::before,
  .header-discovery-link::after {
    content: none !important;
    display: none !important;
  }

  .main-nav .nav-label,
  .header-discovery-link span,
  .top-bar-web-link span,
  .top-bar-logout span,
  .header-actions .top-bar-web-link span,
  .header-actions .top-bar-logout span {
    display: none !important;
  }

  .mobile-nav-svg,
  .mobile-search-toggle svg,
  .header-discovery-link svg,
  .header-actions svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .main-nav .nav-link.active,
  .main-nav .nav-link.active:hover,
  .main-nav .nav-link.active:focus-visible,
  .mobile-search-toggle[aria-expanded="true"] {
    color: #071124 !important;
    background: #5DADE2 !important;
    border-color: #e0a900 !important;
    box-shadow: inset 0 -3px 0 #0054a8 !important;
    transform: none !important;
  }

  .nav-separator,
  .icon-separator,
  .header-date-widget,
  .header-rate-widget,
  .date-nameday-divider,
  .weather-divider,
  .nameday-line,
  .weather-line,
  .rate-group-divider {
    display: none !important;
  }

  .search-wrapper {
    grid-area: search !important;
    display: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .top-bar.mobile-search-open .search-wrapper {
    display: block !important;
  }

  .search-input {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 38px 0 12px !important;
    font-size: .92rem !important;
  }

  .header-info-strip {
    display: block !important;
    margin: 0 !important;
    border-top: 1px solid rgba(93, 173, 226, .75) !important;
  }

  .header-info-strip-inner {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 4px 12px 7px !important;
    overflow: hidden !important;
  }

  body.article-page .comments-section:has(.comment-login-box),
  body.article-page .comment-login-box {
    display: none !important;
  }

  .site-footer {
    padding: 32px 0 18px !important;
  }

  .footer-container,
  .footer-bottom {
    width: min(100% - 22px, 1500px) !important;
    margin-inline: auto !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .footer-brand {
    max-width: none !important;
  }

  .footer-description {
    margin-top: 8px !important;
    font-size: .82rem !important;
    line-height: 1.4 !important;
  }

  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .footer-links-title {
    margin-bottom: 8px !important;
    font-size: .62rem !important;
    line-height: 1.05 !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  .footer-links-list {
    gap: 6px !important;
  }

  .footer-link,
  .footer-link-button {
    width: auto !important;
    max-width: 100% !important;
    font-size: .68rem !important;
    line-height: 1.15 !important;
    gap: 4px !important;
    white-space: normal !important;
  }

  .site-footer svg,
  .footer-link svg,
  .footer-social-link svg,
  .footer-bottom svg,
  .footer-link-icon {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex: 0 0 14px !important;
  }

  .footer-bottom {
    display: flex !important;
    gap: 8px 12px !important;
    margin-top: 20px !important;
    padding-top: 14px !important;
    font-size: .68rem !important;
  }

  .home-layout,
  .home-main-content,
  .home-sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .category-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 10px 0 12px !important;
    padding: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  .category-filters::-webkit-scrollbar {
    display: none !important;
  }

  .category-filters .filter-pill,
  .filter-pill {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 0 9px !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .home-main .articles-list,
  .home-main .articles-list.is-filtered-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .home-main .articles-list .article-card,
  .home-main .articles-list.is-filtered-list .article-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
    border-left-width: 1px !important;
  }

  .home-main .articles-list .article-card-image,
  .home-main .articles-list.is-filtered-list .article-card-image {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    padding-bottom: 0 !important;
    border-radius: 4px !important;
    flex: 0 0 auto !important;
  }

  .home-main .articles-list .article-card-image img,
  .home-main .articles-list.is-filtered-list .article-card-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .home-main .articles-list .article-card-content,
  .home-main .articles-list.is-filtered-list .article-card-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 68px !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 8px !important;
    padding: 9px 10px !important;
    overflow: hidden !important;
    border-left: 4px solid var(--ktp-yellow, #5DADE2) !important;
    border-radius: 0 4px 4px 0 !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .home-main .articles-list .article-card-categories,
  .home-main .articles-list.is-filtered-list .article-card-categories,
  .home-main .articles-list .article-card-excerpt,
  .home-main .articles-list.is-filtered-list .article-card-excerpt,
  .home-main .articles-list .article-card-footer,
  .home-main .articles-list.is-filtered-list .article-card-footer {
    display: none !important;
  }

  .home-main .articles-list .article-card-title,
  .home-main .articles-list.is-filtered-list .article-card-title {
    display: -webkit-box !important;
    min-height: calc(2 * 1.18em) !important;
    max-height: calc(2 * 1.18em) !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-overflow: ellipsis !important;
    font-size: .94rem !important;
    line-height: 1.18 !important;
  }
}

@media (max-width: 430px) {
  .top-bar-inner {
    width: min(100% - 18px, 1460px) !important;
    margin-inline: auto !important;
    column-gap: 4px !important;
  }

  .main-nav .nav-link,
  .mobile-search-toggle,
  .header-discovery-link,
  .header-actions .icon-link,
  .header-actions .top-bar-web-link,
  .header-actions .top-bar-logout,
  .top-bar-web-link,
  .top-bar-logout {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
  }

  .main-nav,
  .header-actions,
  .header-discovery-nav {
    gap: 2px !important;
  }

  .header-discovery-link svg,
  .mobile-nav-svg,
  .mobile-search-toggle svg,
  .header-actions svg {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
  }

  .site-logo,
  .logo img,
  .logo svg {
    width: min(158px, 48vw) !important;
    max-width: min(158px, 48vw) !important;
    height: 27px !important;
    max-height: 27px !important;
  }

  .category-filters {
    gap: 4px !important;
    padding: 4px !important;
  }

  .category-filters .filter-pill,
  .filter-pill {
    min-height: 34px !important;
    padding: 0 7px !important;
    font-size: .70rem !important;
  }

  .home-main .articles-list,
  .home-main .articles-list.is-filtered-list {
    gap: 8px !important;
  }

  .home-main .articles-list .article-card,
  .home-main .articles-list.is-filtered-list .article-card {
    padding: 7px !important;
  }

  .home-main .articles-list .article-card-content,
  .home-main .articles-list.is-filtered-list .article-card-content {
    min-height: 62px !important;
    margin-top: 7px !important;
    padding: 8px 9px !important;
  }

  .home-main .articles-list .article-card-title,
  .home-main .articles-list.is-filtered-list .article-card-title {
    font-size: .86rem !important;
    line-height: 1.16 !important;
    min-height: calc(2 * 1.16em) !important;
    max-height: calc(2 * 1.16em) !important;
  }
}

/* =========================================================
   Áthozva innen: header-footer.css
   ========================================================= */

@media (max-width: 1220px) {
    .top-bar-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-left {
        flex: 1 1 calc(100% - 230px);
        min-width: 0;
        flex-wrap: wrap;
    }

    .top-bar-right {
        flex: 0 0 auto;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .main-nav {
        flex-wrap: nowrap;
    }

    .search-wrapper {
        flex: 1 1 260px;
        max-width: none;
    }

    .header-discovery-nav {
        margin-left: 0;
    }

    .header-discovery-link span {
        display: none;
    }

    .header-discovery-link {
        width: 40px;
        justify-content: center;
        padding-inline: 9px;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 156px;
    }

    .top-bar-inner {
        min-height: auto;
        gap: 10px;
        flex-wrap: wrap;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-left {
        width: 100%;
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .logo,
    .logo:link,
    .logo:visited,
    .logo:hover,
    .logo:active,
    .logo:focus,
    .logo:focus-visible {
        flex: 0 0 150px;
        width: 150px;
        min-width: 150px;
        min-height: 62px;
    }

    .site-logo,
    .logo img,
    .logo svg {
        width: 150px !important;
        max-width: 150px !important;
        max-height: 50px !important;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 2px 0 8px;
        scrollbar-width: thin;
    }

    .nav-link,
    .nav-link:link,
    .nav-link:visited {
        min-height: 36px;
        padding: 8px 12px;
        font-size: .72rem;
    }

    .search-wrapper {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .header-discovery-nav {
        order: 3;
        margin-left: auto;
    }

    .search-results {
        width: 100%;
        max-height: 70vh;
    }

    .search-result-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .search-result-thumb {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .header-actions {
        gap: 5px;
    }

    .top-bar-web-link span,
    .top-bar-logout span {
        display: none;
    }

    .header-info-strip-inner {
        min-height: auto;
        padding: 7px 8px;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 7px 12px;
    }

    .header-rate-widget {
        order: 3;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

@media (max-width: 520px) {
    .cookie-consent {
        grid-template-columns: 1fr;
        right: 10px;
        left: 10px;
        bottom: 10px;
        width: auto;
        max-height: calc(100dvh - 20px);
        padding: 13px;
        overflow-y: auto;
    }

    .cookie-pos-bottom-left,
    .cookie-pos-bottom-center {
        right: 10px;
        left: 10px;
        transform: none;
    }

    .cookie-consent-text span,
    .cookie-weather-note {
        max-width: none;
        font-size: .8rem !important;
    }

    .cookie-consent-text {
        grid-template-columns: 1fr;
    }

    .cookie-consent-text::before {
        display: none;
    }

    .cookie-consent-actions {
        justify-content: stretch;
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .cookie-btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .cookie-settings-modal {
        padding: 10px;
    }

    .cookie-settings-panel {
        max-height: calc(100dvh - 20px);
        padding: 14px;
    }

    .cookie-category {
        grid-template-columns: 1fr;
    }

    .cookie-toggle-wrap {
        justify-content: flex-start;
    }

    .cookie-settings-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .logo,
    .logo:link,
    .logo:visited,
    .logo:hover,
    .logo:active,
    .logo:focus,
    .logo:focus-visible {
        flex-basis: 138px;
        width: 138px;
        min-width: 138px;
    }

    .icon-link,
    .top-bar-web-link,
    .top-bar-logout {
        width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
    }

    .icon-separator {
        display: none;
    }

    .date-line,
    .date-nameday-divider,
    .nameday-label {
        display: none;
    }

    .header-date-widget {
        gap: 8px;
    }

    .weather-icon,
    .weather-icon svg {
        width: 19px;
        height: 19px;
    }

    .footer-top,
    .footer-bottom {
        display: grid;
        gap: 22px;
    }
}

@media (max-width: 1220px) {
    .header-info-strip-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "date rates"
            "match match";
        min-height: auto;
        gap: 6px 12px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .header-date-widget { grid-area: date; }
    .header-rate-widget { grid-area: rates; }
}

@media (max-width: 860px) {
    .header-info-strip-inner {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "date"
            "match"
            "rates";
        align-items: start;
        padding: 7px 8px;
    }

    .header-rate-widget {
        overflow-x: auto;
    }
}

@media (max-width: 520px) {
    .header-info-strip-inner {
        gap: 6px;
    }

    .header-date-widget {
        gap: 7px;
    }

    .weather-line {
        padding: 2px 6px 2px 4px;
    }

    .weather-icon {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }
}

/* =========================================================
   Áthozva innen: frontend.css
   ========================================================= */

@media (max-width: 860px) {
  .hero-card-title {
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    font-size: clamp(1.45rem, 7vw, 2.35rem) !important;
    line-height: 1.04 !important;
  }

}

@media (max-width: 520px) {
  .hero-card-title {
    max-width: calc(100% - 26px) !important;
    margin-left: 13px !important;
    font-size: clamp(1.32rem, 8vw, 1.88rem) !important;
  }

  .hero-card-meta .meta-with-icon {
    min-height: 28px !important;
    font-size: .70rem !important;
  }
}

@media (max-width: 860px) {
  .hero-card,
  .hero-card-content {
    min-height: clamp(390px, 92vw, 560px) !important;
  }

  .hero-card-content {
    padding: 18px !important;
  }

  .hero-card-title {
    max-width: 100% !important;
    font-size: clamp(1.8rem, 10vw, 3.2rem) !important;
    line-height: .98 !important;
  }

  .hero-card-meta {
    gap: 7px !important;
  }

  .hero-card-author {
    width: 100% !important;
  }

  .hero-card-meta .content-source-badge,
  .hero-card-meta .meta-with-icon {
    min-height: 28px !important;
    font-size: .72rem !important;
  }
}

@media (max-width: 520px) {
  .hero-card,
  .hero-card-content {
    min-height: 430px !important;
  }

  .hero-card-title {
    font-size: clamp(1.65rem, 11vw, 2.55rem) !important;
  }

  .hero-card-categories {
    gap: 5px !important;
  }

  .hero-card-category {
    min-height: 26px !important;
    padding: 5px 8px !important;
    font-size: .64rem !important;
  }
}

@media (max-width: 860px) {
  .hero-card-title {
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    color: #07192d !important;
    text-shadow: none !important;
  }

  .hero-card-meta {
    max-width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-bottom: 9px !important;
  }

  .hero-card-content::after {
    left: 12px !important;
    bottom: 8px !important;
    width: calc(100% - 24px) !important;
    height: clamp(128px, 28vw, 182px) !important;
  }
}

@media (max-width: 520px) {
  .hero-card-title {
    max-width: calc(100% - 26px) !important;
    margin-left: 13px !important;
  }

  .hero-card-meta {
    max-width: calc(100% - 26px) !important;
    margin-left: 13px !important;
    margin-bottom: 8px !important;
  }

  .hero-card-content::after {
    left: 10px !important;
    bottom: 7px !important;
    width: calc(100% - 20px) !important;
    height: clamp(132px, 40vw, 188px) !important;
  }
}

@media (max-width: 860px) {
  .article-masthead-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.article-page .article-masthead-premium .article-actions {
    justify-self: start;
    width: 100%;
    flex-wrap: wrap;
  }

  body.article-page .article-masthead-premium .article-title-premium {
    font-size: clamp(1.7rem, 8vw, 2.65rem) !important;
  }

  .article-lead-premium {
    font-size: 1.06rem;
  }

  body.article-page .article-masthead-meta {
    gap: 7px;
  }

  body.article-page .article-masthead-meta .meta-item,
  body.article-page .article-author-compact,
  body.article-page .article-masthead-meta .content-source-badge,
  body.article-page .article-masthead-meta .current-rating-inline {
    font-size: .72rem;
  }
}

@media (max-width: 520px) {
  body.article-page .article-masthead-premium {
    padding: 16px 14px !important;
  }

  body.article-page .article-category-chips-premium .cat-badge-premium,
  .article-cats-more summary {
    min-height: 28px;
    padding: 6px 8px;
    font-size: .66rem;
  }

  .article-cats-more {
    position: static;
  }

  .article-cats-more-list {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  body.article-page .article-masthead-meta .article-author-compact,
  body.article-page .article-masthead-meta .current-rating-inline {
    display: none !important;
  }
}

@media (max-width: 860px) {
  body.article-page .article-masthead-premium .article-title-premium {
    padding-left: 14px !important;
    font-size: clamp(1.95rem, 8vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  body.article-page .article-masthead-meta .current-rating-inline {
    margin-left: 0 !important;
  }
}

@media (max-width: 520px) {
  .article-cats-more.article-cats-more-inline[open] {
    flex-basis: 100% !important;
  }

  body.article-page .article-masthead-meta .article-author-compact.article-author-primary {
    display: inline-flex !important;
  }

  body.article-page .article-masthead-meta .current-rating-inline {
    display: none !important;
  }
}

@media (max-width: 860px) {
  body.article-page .article-masthead-premium .article-title-premium {
    font-size: clamp(1.62rem, 6.5vw, 2.45rem) !important;
    line-height: 1.1 !important;
  }

  body.article-page .article-lead-premium {
    font-size: .98rem !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 520px) {
  body.article-page .article-masthead-premium {
    padding: 14px 12px !important;
  }

  body.article-page .article-masthead-premium .article-title-premium {
    font-size: clamp(1.45rem, 7.6vw, 2rem) !important;
  }

  body.article-page .gallery-main .article-image-credit {
    left: 8px !important;
    bottom: 8px !important;
    max-width: calc(100% - 16px) !important;
    font-size: .64rem !important;
  }
}

/* =========================================================
   Áthozva innen: index.css
   ========================================================= */

@media (max-width: 1600px) {
  .home-layout {
    grid-template-columns: 1fr !important;
  }

  .home-sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-main-content {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

@media (max-width: 1180px) {
  .home-main .articles-list:not(.is-filtered-list),
  .index-medium-grid,
  .index-headline-grid,
  .index-archive-grid {
    grid-template-columns: 1fr !important;
  }

  .home-main .kt-home-hero-carousel {
    grid-template-columns: minmax(0, 1fr) 162px !important;
  }

  .home-main .kt-home-hero-main,
  .home-main .kt-home-hero-thumbs {
    min-height: 340px !important;
  }

  .home-main .kt-home-hero-title {
    font-size: clamp(1.08rem, 2vw, 1.58rem) !important;
  }
}

@media (max-width: 900px) {
  .home-main .kt-home-hero-carousel {
    grid-template-columns: 1fr !important;
  }

  .home-main .kt-home-hero-main {
    min-height: 330px !important;
  }

  .home-main .kt-home-hero-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    min-height: 96px !important;
  }
}

@media (max-width: 760px) {
  .index-medium-grid,
  .index-headline-grid,
  .index-archive-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  .index-archive-grid .index-medium-card {
    grid-row: auto !important;
  }

  .home-main .articles-list:not(.is-filtered-list) .article-card,
  .home-main .index-medium-card {
    height: clamp(300px, 78vw, 430px) !important;
    min-height: clamp(300px, 78vw, 430px) !important;
    aspect-ratio: auto !important;
  }

  .home-main .articles-list:not(.is-filtered-list) .article-card-content,
  .home-main .index-medium-body {
    left: 18px !important;
    right: 18px !important;
    bottom: 10px !important;
    padding: 13px 14px !important;
  }
}

@media (max-width: 560px) {
  .home-main .kt-home-hero-carousel {
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .home-main .kt-home-hero-main {
    min-height: 292px !important;
  }

  .home-main .kt-home-hero-title-wrap {
    padding: 11px 13px 12px !important;
  }

  .home-main .kt-home-hero-title {
    padding-right: 0 !important;
    font-size: 1.08rem !important;
  }

  .home-main .kt-home-hero-meta {
    display: none !important;
  }

  .home-main .kt-home-hero-thumbs {
    min-height: 76px !important;
    gap: 6px !important;
  }
}

/* =========================================================
   Áthozva innen: vb2026.css
   ========================================================= */

@media (max-width: 1100px) {
  .vb-share-section {
    grid-template-columns: 1fr;
  }

  .vb-share-section::after {
    display: none;
  }

  .vb-share-copy h2 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .vb-share-section {
    padding: 15px;
  }

  .vb-share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 56px;
  }

  .vb-share-card {
    min-height: 56px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 0 10px;
  }

  .vb-share-ico {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .vb-share-ico svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1100px) {
  .vb-hero,
  .vb-groups-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  
.vb-match-card.is-live {
  border-left-color: var(--ktp-yellow, #5DADE2);
  background: linear-gradient(90deg, rgba(255,196,0,.12), rgba(255,255,255,.86) 36%, rgba(234,247,255,.82) 100%);
  box-shadow: 0 0 0 3px rgba(255,196,0,.10), 0 10px 24px rgba(0,84,168,.10);
}

.vb-match-card.is-live .vb-match-teams b {
  background: linear-gradient(180deg, #7DBDE8 0%, var(--ktp-yellow, #5DADE2) 100%);
  color: #071124;
  box-shadow: 0 0 0 3px rgba(255,196,0,.18);
}

.vb-match-card.is-finished {
  border-left-color: var(--ktp-blue-strong, #0054a8);
}

.vb-match-card.is-finished .vb-match-teams b {
  border: 1px solid rgba(0,84,168,.18);
  background: linear-gradient(180deg, #ffffff 0%, #eaf7ff 100%);
  color: #063b73;
}

.vb-match-card.is-scheduled .vb-match-teams b {
  background: var(--ktp-blue-strong, #0054a8);
  color: #fff;
}

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

/* =========================================================
   Áthozva innen: profil.css
   ========================================================= */

@media (max-width: 720px) {
    .article-category-ai-box {
        grid-template-columns: 1fr;
    }

    .article-taxonomy-card, .article-category-search-wrap, .article-selected-shell, .article-assist-panel, .article-new-category-box {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .article-submit-form .article-form-panel, .article-submit-form .article-taxonomy-card {
        padding: 16px !important;
    }

    .article-taxonomy-card-head, .article-assist-panel, .article-tags-row {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .article-submit-form .article-assist-panel, .article-submit-form .article-tags-row, .article-submit-form .article-taxonomy-card-head {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .article-field-cap, .article-ai-taxonomy-btn, .article-ai-tags-btn {
        width: 100%;
        justify-content: center;
    }

    .article-submit-form .article-ai-taxonomy-btn, .article-submit-form .article-ai-tags-btn, .article-submit-form .article-field-cap {
        width: 100%;
    }
}

@media (max-width: 960px) {
    .article-taxonomy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .article-submit-form .article-taxonomy-grid, .article-submit-form .article-form-split, .article-submit-form .article-credit-panel {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 980px) {
    .msg-row {
        grid-template-columns: 30px minmax(0, 1fr) auto !important;
    }

    .msg-row-from {
        grid-column: 2 / 3 !important;
    }

    .msg-row-middle {
        grid-column: 2 / 4 !important;
    }

    .msg-row-right {
        grid-column: 3 !important;
        grid-row: 1 / 3 !important;
    }

    .msg-row-subj {
        display: grid !important;
        gap: 4px !important;
        white-space: normal !important;
    }

    .msg-row-prev {
        white-space: normal !important;
    }

    .msg-open-header {
        grid-template-columns: 1fr !important;
    }

    .msg-open-meta {
        justify-items: start !important;
    }
}

@media (max-width: 720px) {
    .msg-tabs,
    .msg-toolbar,
    .msg-bulk,
    .msg-form-actions,
    .msg-open-footer {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .msg-tab,
    .msg-compose-btn,
    .msg-tbtn,
    .msg-form-actions .btn-primary,
    .msg-form-actions .btn-secondary,
    .reply-btn,
    .archive-btn,
    .msg-open-footer .delete-btn {
        width: 100% !important;
    }

    .msg-compose-btn {
        margin-left: 0 !important;
    }

    .msg-compose,
    .msg-open {
        margin: 12px !important;
    }

    .msg-row {
        padding: 12px !important;
    }
}

/* =========================================================
   Áthozva innen: privacy.css
   ========================================================= */

@media (max-width: 920px) {
  .privacy-hero,
  .privacy-content,
  .privacy-summary,
  .contact-shell,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .privacy-hero-mark {
    width: 112px;
    height: 112px;
    justify-self: start;
  }

  .privacy-hero-mark svg {
    width: 62px;
    height: 62px;
  }

  .privacy-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .privacy-main {
    width: min(100% - 20px, 1320px);
    margin-top: 18px;
  }

  .privacy-hero,
  .privacy-summary article,
  .privacy-block,
  .privacy-cta {
    padding: 18px;
  }

  .privacy-hero h1 {
    font-size: 2.1rem;
  }

  .privacy-summary article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .privacy-icon {
    width: 38px;
    height: 38px;
  }
}

/* =========================================================
   Áthozva innen: discover.css
   ========================================================= */

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

@media (max-width: 720px) {
  .discover-main {
    width: min(100% - 18px, 1320px);
    margin-top: 18px;
  }

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

  .discover-hero {
    min-height: 0;
    padding: 20px 18px;
    gap: 16px;
  }

  .discover-hero::after {
    display: none;
  }

  .discover-kicker {
    min-height: 23px;
    font-size: .68rem;
  }

  .discover-hero h1 {
    font-size: clamp(1.9rem, 13vw, 2.75rem);
  }

  .discover-hero p:not(.discover-kicker) {
    margin-top: 10px;
    font-size: .94rem;
  }

  .discover-hero-icon {
    width: 62px;
    height: 62px;
    justify-self: start;
  }

  .discover-hero-icon svg {
    width: 31px;
    height: 31px;
  }

  .discover-card {
    min-height: 330px;
  }
}

/* =========================================================
   Áthozva innen: coupon.css
   ========================================================= */

@media (max-width: 1080px) {
  body.coupons-body .coupon-detail-layout {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-detail-sidebar {
    position: static;
  }
}

@media (max-width: 1100px) {
  body.coupons-body .prof-wrap {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-hero-panel {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .prof-sidebar {
    position: static !important;
  }

  body.coupons-body .coupon-disclaimer {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-detail-layout {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.coupons-body .coupons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.coupons-body .coupon-detail-sidebar {
    position: static !important;
  }
}

@media (max-width: 720px) {
  body.coupons-body .prof-wrap {
    width: min(100% - 22px, 1440px) !important;
    padding-top: 42px !important;
  }

  body.coupons-body .sec-head {
    padding: 16px !important;
  }

  body.coupons-body .sec-body {
    padding: 16px !important;
  }

  body.coupons-body .coupon-form-panel {
    padding: 16px !important;
  }

  body.coupons-body .coupon-panel-head {
    display: grid !important;
  }

  body.coupons-body .coupon-submitted-head {
    display: grid !important;
  }

  body.coupons-body .coupon-quality-strip {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .f-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-upload-card {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  body.coupons-body .coupon-upload-action {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body.coupons-body .coupon-premium-actions .btn-p {
    width: 100% !important;
  }

  body.coupons-body .coupon-premium-actions .btn-o {
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  body.coupons-body .coupons-page {
    width: min(100% - 20px, 1440px) !important;
  }

  body.coupons-body .coupon-detail-page {
    width: min(100% - 20px, 1440px) !important;
  }

  body.coupons-body .coupon-command-strip {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupons-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-hero-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-submit-form .f-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .my-coupon-item {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-hero-panel {
    padding: 18px !important;
  }

  body.coupons-body .coupon-hero-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem) !important;
  }

  body.coupons-body .card-body {
    gap: 10px !important;
    padding: 12px !important;
  }

  body.coupons-body .product-img {
    width: 68px !important;
    height: 68px !important;
    flex-basis: 68px !important;
  }

  body.coupons-body .coupon-detail-heading {
    display: grid !important;
  }

  body.coupons-body .coupon-detail-price {
    white-space: normal !important;
  }

  body.coupons-body .comment-input-row {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .comment-submit-btn {
    min-height: 44px !important;
  }

  body.coupons-body .my-coupon-status {
    justify-items: start !important;
    justify-content: flex-start !important;
  }

  body.coupons-body .my-coupon-actions {
    justify-items: start !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 860px) {
  body.coupons-body .coupon-detail-hero {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-detail-image {
    border-right: 0 !important;
    border-bottom: 1px solid var(--coupon-line) !important;
  }

  body.coupons-body .coupon-feedback-content {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .comment-input-row {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .share-url-wrapper {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-code-panel {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-feedback-form {
    justify-content: stretch !important;
  }

  body.coupons-body .coupon-detail-actions {
    justify-content: stretch !important;
  }

  body.coupons-body .coupon-vote-btn {
    width: 100%;
  }

  body.coupons-body .btn-primary {
    width: 100%;
  }

  body.coupons-body .btn-secondary {
    width: 100%;
  }

  body.coupons-body .comment-submit-btn {
    width: 100%;
  }

  body.coupons-body .coupon-code-reveal {
    width: 100%;
  }

  body.coupons-body .coupon-code-copy {
    width: 100%;
  }
}

@media (max-width: 980px) {
  body.coupons-body .coupon-premium-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-pros-cons-grid {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-submitted-card {
    grid-template-columns: 1fr !important;
  }

  body.coupons-body .coupon-submitted-card .my-coupon-status {
    justify-items: start !important;
    justify-content: flex-start !important;
  }

  body.coupons-body .coupon-submitted-card .my-coupon-actions {
    justify-items: start !important;
    justify-content: flex-start !important;
  }
}

/* =========================================================
   Áthozva innen: auth.css
   ========================================================= */

@media (max-width: 620px) {
  .auth-container {
    min-height: calc(100vh - 120px);
    padding: 34px 14px 54px;
  }

  .auth-card {
    width: 100%;
  }

  .auth-header,
  .auth-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-logo-img {
    width: 196px;
    max-height: 52px;
  }

  .auth-header h1,
  .auth-header h2,
  .auth-header h3 {
    font-size: 2rem;
  }
}

/* =========================================================
   90. Mobil fejléc — foci sáv, dinamikus országkódok
   ========================================================= */
@media (max-width: 900px) {
  .header-match-widget {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding-inline: 10px !important;
  }

  .match-pill {
    display: grid !important;
    grid-template-columns: auto minmax(48px, 1fr) auto minmax(48px, 1fr) auto !important;
    align-items: center !important;
    width: min(100%, 680px) !important;
    max-width: calc(100vw - 20px) !important;
    min-height: 36px !important;
    margin-inline: auto !important;
    gap: 6px !important;
    padding: 5px 8px !important;
    overflow: hidden !important;
    border-radius: 5px !important;
  }

  .match-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: max-content !important;
    min-height: 24px !important;
    padding: 0 7px !important;
    font-size: .58rem !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  .match-side {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  .match-home { justify-content: flex-start !important; }
  .match-away { justify-content: flex-end !important; }

  .match-home .match-team,
  .match-away .match-team {
    flex: 0 1 auto !important;
    max-width: 44px !important;
    min-width: 28px !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .match-home .match-team::after,
  .match-away .match-team::after {
    content: attr(data-mobile-label) !important;
    display: inline-block !important;
    color: inherit !important;
    font-size: .68rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
  }

  .match-flag {
    width: 24px !important;
    height: 16px !important;
    flex: 0 0 24px !important;
    border-radius: 3px !important;
  }

  .match-score {
    min-width: 34px !important;
    padding: 3px 6px !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .match-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: max-content !important;
    padding: 4px 6px !important;
    font-size: .55rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .match-pill {
    grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr) auto !important;
    width: min(100%, 356px) !important;
    gap: 5px !important;
    padding-inline: 9px !important;
  }

  .match-badge { display: none !important; }

  .match-home .match-team::after,
  .match-away .match-team::after {
    font-size: .62rem !important;
  }

  .match-flag {
    width: 22px !important;
    height: 15px !important;
    flex-basis: 22px !important;
  }

  .match-score {
    min-width: 32px !important;
    padding-inline: 5px !important;
  }

  .match-status {
    padding-inline: 5px !important;
    font-size: .54rem !important;
  }
}

/* =========================================================
   91. Főoldal mobil — Friss közzétételek, 2 kártya látszik alapból
   ========================================================= */
@media (max-width: 720px) {
  .recent-posts {
    width: min(100% - 20px, 1440px) !important;
    margin: 14px auto 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 84, 168, .16) !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,248,255,.78)) !important;
    box-shadow: 0 12px 28px rgba(20,66,112,.08) !important;
  }

  .recent-header {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 56px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-left: 4px solid var(--ktp-blue-strong, #0054a8) !important;
    border-bottom: 1px solid rgba(0,84,168,.12) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.56) !important;
    box-shadow: none !important;
  }

  .recent-header-icon {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    border-radius: 5px !important;
    background: rgba(3,169,244,.10) !important;
    color: var(--ktp-blue-strong, #0054a8) !important;
  }

  .recent-header h3 {
    min-width: 0 !important;
    margin: 0 !important;
    color: var(--ktp-ink, #07192d) !important;
    font-size: .88rem !important;
    font-weight: 950 !important;
    letter-spacing: .015em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .recent-link {
    min-height: 32px !important;
    padding: 0 9px !important;
    border: 1px solid rgba(216,167,0,.70) !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,.64) !important;
    color: var(--ktp-ink, #07192d) !important;
    box-shadow: none !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .recent-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    padding: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-left: 12px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .recent-grid::-webkit-scrollbar { display: none !important; }

  .recent-grid .recent-item,
  .recent-item {
    position: relative !important;
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;
    min-height: 238px !important;
    scroll-snap-align: start !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,84,168,.16) !important;
    border-left: 3px solid var(--ktp-yellow, #5DADE2) !important;
    border-radius: 5px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 8px 18px rgba(20,66,112,.07) !important;
    transform: none !important;
  }

  .recent-item-image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,84,168,.12) !important;
    border-radius: 4px !important;
    background: #eef7ff !important;
  }

  .recent-item-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .recent-item-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 8px 4px 3px !important;
  }

  .recent-item-title {
    color: var(--ktp-ink, #07192d) !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
    letter-spacing: -.01em !important;
    -webkit-line-clamp: 3 !important;
    min-height: 2.85em !important;
  }

  .recent-item-categories {
    order: 2 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    overflow: hidden !important;
  }

  .recent-item-category {
    max-width: 100% !important;
    min-height: 26px !important;
    padding: 0 7px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    border-radius: 5px !important;
    background: rgba(0,84,168,.08) !important;
    color: var(--ktp-blue-strong, #0054a8) !important;
    font-size: .64rem !important;
    letter-spacing: .015em !important;
  }

  .recent-item-meta {
    order: 3 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 7px !important;
    margin-top: auto !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(0,84,168,.09) !important;
    font-size: .66rem !important;
  }

  .recent-item-meta .meta-with-icon {
    font-size: .66rem !important;
    color: #435f78 !important;
  }
}

@media (max-width: 390px) {
  .recent-grid {
    gap: 8px !important;
    padding: 10px !important;
    scroll-padding-left: 10px !important;
  }

  .recent-grid .recent-item,
  .recent-item {
    flex-basis: calc((100% - 8px) / 2) !important;
    width: calc((100% - 8px) / 2) !important;
    min-width: calc((100% - 8px) / 2) !important;
    min-height: 230px !important;
    padding: 7px !important;
  }

  .recent-header h3 { font-size: .78rem !important; }

  .recent-link {
    padding-inline: 7px !important;
    font-size: .68rem !important;
  }

  .recent-item-title { font-size: .76rem !important; }
  .recent-item-category { font-size: .60rem !important; }
}

