/*
File Name:      custom.css
Description:    HK Martin brand colors & typography overrides
Brand:          HK Martin - PANTONE 293 C (#003DA5)
Typography:     Open Sans (per logo manual)
*/

/* =====================================================================
   FLEX GAP UTILITY – Bootstrap 4.6 ich nemá; dopĺňame (kvôli medzeram
   medzi tlačidlami a pod. – d-flex .gap-*). Kompatibilné s BS5 názvami.
   ===================================================================== */
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* =====================================================================
   GOOGLE FONTS - Open Sans (official HK Martin typography per logo manual)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* =====================================================================
   CSS VARIABLES - HK Martin Brand Colors
   PANTONE 293 C: RGB(0, 61, 165) = #003DA5
   ===================================================================== */
:root {
    --hk-blue: #003DA5;
    /* PANTONE 293 C – primary */
    --hk-blue-dark: #002878;
    /* darker shade for hover/active */
    --hk-blue-deeper: #001D5C;
    /* deepest blue for nav backgrounds */
    --hk-blue-nav: #002266;
    /* nav bar background */
    --hk-blue-40: #99B5D9;
    /* PANTONE 293 C at 40% opacity */
    --hk-blue-20: #C6D4EA;
    /* PANTONE 293 C at 20% opacity */
    --hk-blue-light: #E8EFFA;
    /* very light blue tint */
    --hk-white: #FFFFFF;
    --hk-dark: #0D1B2A;
    /* near-black for text */
    --hk-gray: #F4F6FA;
    /* light gray background */
}

/* =====================================================================
   GLOBAL TYPOGRAPHY - Open Sans
   ===================================================================== */
body,
p,
span,
a,
li,
td,
th,
label,
input,
textarea,
select,
button,
.entry__title,
.posts__title,
.widget__title,
.post-card,
.nav,
.navbar,
.menu,
.footer,
.sidebar {
    font-family: 'Open Sans', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

/* =====================================================================
   HEADER – MOBILE (hidden on desktop)
   ===================================================================== */
.hk-header-mobile {
    display: none;
    background-color: #003DA5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* Force GPU compositing to prevent iOS Safari URL-bar flicker */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.hk-header-mobile__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hk-header-mobile__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Override theme: burger má position:absolute top:40px left:34px — resetujeme ho */
.hk-header-mobile .burger-menu-icon {
    position: relative;
    top: auto;
    left: auto;
    width: 26px;
    height: 19px;
}

.hk-header-mobile__logo-img {
    height: 52px;
    width: auto;
    display: block;
}

/* =====================================================================
   FOOTER – MOBILE
   ===================================================================== */
@media (max-width: 991px) {
    .footer-widgets .row { row-gap: 0; }

    /* Logo col – center on mobile */
    .footer-widgets .col-lg-4 {
        text-align: center;
        justify-content: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        margin-bottom: 8px;
    }
    .hk-footer-logo { max-height: 60px; }

    /* Link columns – 2-up grid */
    .footer-widgets .col-lg-2 {
        width: 50%;
        padding-top: 16px;
    }
    .footer-widget__title { font-size: 11px; margin-bottom: 8px; }
    .footer-widget__nav li { margin-bottom: 4px; }
    .footer-widget__nav a { font-size: 13px; }
    .footer-widget__address { font-size: 13px; }
    .footer-widget__link { font-size: 13px; }

    /* Copyright */
    .footer-secondary { padding: 14px 0; }
    .footer-secondary__copyright { font-size: 12px; }
}

/* =====================================================================
   HEADER – MOBILE
   ===================================================================== */
@media (max-width: 991px) {
    .hk-header-mobile {
        display: flex;
    }

    .hk-header-desktop,
    .hk-header {
        display: none !important;
    }

    body {
        padding-top: 70px;
    }
}

/* Header Wrapper */
.hk-header {
    position: relative;
    z-index: 100;
    width: 100%;
    overflow: visible !important;
}

.hk-navbar {
    background-color: #003DA5;
    position: relative;
    z-index: 200;
    overflow: visible !important;
}

/* Sticky Header State */
.hk-header--sticky .hk-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

/* Unified Logo Container (Fixed width to prevent jump) */
.hk-navbar__logo {
    position: absolute;
    left: 20px;
    width: 160px;
    /* Constant width in both states */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    transition: all 0.3s ease-in-out;
}

/* Static Logo positioning */
.hk-header:not(.hk-header--sticky) .hk-navbar__logo {
    top: calc(-46px - 40px);
    /* Bleed into topbar */
    bottom: -40px;
}

/* Sticky Logo positioning */
.hk-header--sticky .hk-navbar__logo {
    top: 0;
    bottom: 0;
    height: 64px;
}

.hk-navbar__logo-img {
    height: auto;
    max-height: 130px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease-in-out;
}

.hk-header:not(.hk-header--sticky) .hk-navbar__logo-img {
    margin-top: 40px;
}

.hk-header--sticky .hk-navbar__logo-img {
    max-height: 54px !important;
    margin-top: 0 !important;
    filter: none !important;
}

/* Unified Padding to prevent menu jump */
.hk-navbar__inner,
.hk-topbar__inner {
    padding-left: 200px !important;
    /* Constant padding clearing the 160px logo */
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible !important;
}

.hk-navbar__inner {
    justify-content: center;
    /* Center the menu links */
}

/* Spacer to prevent content jump */
.hk-header-spacer {
    display: none;
    height: 64px;
}

.hk-header--sticky+.hk-header-spacer {
    display: block;
}

/* ... existing topbar code ... */

/* =====================================================================
   TOP BAR  (dark blue strip)
   ===================================================================== */
.hk-topbar {
    background-color: #001D5C;
    height: 46px;
    width: 100%;
}

.hk-topbar__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 0 200px;
    /* Unified padding clearing the 160px logo */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* Tickets Button - High Visibility */
.hk-btn-tickets {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd300 0%, #f7b500 100%);
    color: #001D5C !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 900 !important;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(253, 211, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 15px;
}

.hk-btn-tickets:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(253, 211, 0, 0.5);
    background: linear-gradient(135deg, #fceb00 0%, #ffd300 100%);
}

.hk-btn-tickets i {
    font-size: 16px;
}

/* Social list */
.hk-topbar__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.hk-topbar__social li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #C6D4EA;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.hk-topbar__social li a:hover {
    color: #ffffff;
}

.hk-topbar__social li a i {
    font-size: 14px;
}

.hk-topbar__social-label {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hk-topbar__social-handle {
    font-size: 11px;
    color: #99B5D9;
}

.hk-topbar__social li a:hover .hk-topbar__social-handle {
    color: #ffffff;
}

/* Contact info */
.hk-topbar__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.hk-topbar__contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #99B5D9;
    font-size: 12px;
}

.hk-topbar__contact li i {
    font-size: 13px;
    color: #4d72cb;
}

.hk-topbar__contact-label {
    display: block;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #C6D4EA;
    line-height: 1;
}

.hk-topbar__contact-link {
    display: block;
    color: #99B5D9;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
    transition: color 0.2s;
}

.hk-topbar__contact-link:hover {
    color: #ffffff;
}

/* ── NAV MENU ────────────────────────────────────────────────── */
.hk-navbar__nav {
    flex: 1;
}

.hk-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 0;
}

.hk-nav__list>li {
    position: relative;
    height: 100%;
    margin: 0px;
    display: flex;
    align-items: center;
}

.hk-nav__list>li>a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.hk-nav__list>li>a:hover,
.hk-nav__list>li.active>a {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12);
    border-bottom-color: #ffffff;
}

/* Dropdown */
.hk-nav__list>li>.main-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #002878 !important;
    border-top: 3px solid #4d72cb !important;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hk-nav__list>li:hover>.main-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__sub li a {
    display: block;
    padding: 9px 20px;
    color: #C6D4EA !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.main-nav__sub li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Aktívna pod-položka – zladená s tmavým dropdownom (nie biely blok) */
.main-nav__sub > li.active > a {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: inset 3px 0 0 #4d72cb;
}
.main-nav__sub > li.active > a::before {
    display: none !important;
}

/* ── RIGHT ACTIONS ───────────────────────────────────────────── */
.hk-navbar__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Login button */
.hk-navbar__login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #C6D4EA !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 0 14px;
    height: 64px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.hk-navbar__login-btn:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #ffffff;
}

.hk-navbar__login-btn i {
    font-size: 15px;
}

/* Account logged in */
.hk-navbar__account {
    position: relative;
}

.hk-navbar__account-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #C6D4EA !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none;
    padding: 0 14px;
    height: 64px;
    font-family: 'Open Sans', sans-serif !important;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.hk-navbar__account-btn:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: #ffffff;
}

.hk-navbar__account-btn i {
    font-size: 17px;
}

/* =====================================================================
   ARTICLE DETAIL – links inside content
   ===================================================================== */
.post__content a {
    color: #003DA5;
}

.post__content a:hover {
    color: #001D5C;
}

/* =====================================================================
   NEWS INDEX – category filter pills
   ===================================================================== */
.hk-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hk-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 2px solid #dde2ec;
    border-radius: 30px;
    background: #fff;
    color: #3a3a4a;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}

.hk-cat-btn:hover {
    background: #f0f3fa;
    border-color: #003DA5;
    color: #003DA5;
}

.hk-cat-btn.active {
    background: #003DA5;
    border-color: #003DA5;
    color: #fff;
}

.hk-cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* =====================================================================
   NAV – dropdown arrow
   ===================================================================== */
.hk-nav-arrow {
    font-size: 9px;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.75;
    position: relative;
    top: -1px;
}

/* =====================================================================
   WHITE BUTTON – subtle hover (stays white, slight shadow/darken)
   ===================================================================== */
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:not(:disabled):not(.disabled):active,
.btn-default:not(:disabled):not(.disabled).active {
    color: #2b2b2b !important;
    background-color: #ebebeb !important;
    border-color: #d0d0d0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) !important;
}

.hk-navbar__account:hover .main-nav__sub--account {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__sub--account {
    right: 0;
    left: auto !important;
}

/* Search button */
.hk-navbar__search-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #4d72cb !important;
    color: #ffffff;
    text-decoration: none;
    clip-path: polygon(16px 0, 100% 0%, calc(100% - 0px) 100%, 0% 100%);
    transition: background-color 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.hk-navbar__search-btn:hover {
    background-color: #002878 !important;
}

.hk-navbar__search-btn .df-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}




/* =====================================================================
   LABELS / TAGS / CATEGORIES
   ===================================================================== */
.label,
.label--primary,
.label-primary {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
}

.label:hover,
.label--primary:hover {
    background-color: #002878 !important;
}

.label--secondary {
    background-color: #002266 !important;
    border-color: #002266 !important;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn--primary,
.btn-primary,
.btn--lg,
[class*="btn--primary"] {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

.btn--primary:hover,
.btn-primary:hover {
    background-color: #002878 !important;
    border-color: #002878 !important;
}

/* Fix: téma nastavuje .btn:hover { color:#bbb9bf } → text tlačidla mizne pri prejdení myšou.
   Držíme čitateľný text na hover/focus pre všetky primárne aj outline tlačidlá. */
.btn--primary:hover, .btn--primary:focus, .btn--primary.focus,
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus,
a.btn-primary:hover, a.btn-primary:focus,
[class*="btn--primary"]:hover, [class*="btn--primary"]:focus {
    color: #ffffff !important;
}
.btn-outline-primary,
a.btn-outline-primary {
    color: #003DA5 !important;
    border-color: #003DA5 !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary.focus,
a.btn-outline-primary:hover, a.btn-outline-primary:focus {
    color: #ffffff !important;
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
}

/* =====================================================================
   FIX: hover NESMIE zmeniť text tlačidiel na modrú (modrý text na modrom
   pozadí = nečitateľné). Téma nastavuje a:hover farbu na primárnu modrú,
   čo prebíjalo biely text vlastných tlačidiel (odkazy klientskej zóny,
   „Moje konto" v hlavičke). Držíme farbu textu aj na hover/focus.
   ===================================================================== */
.hk-navbar__account, .hk-navbar__account:hover, .hk-navbar__account:focus,
.acc-btn, .acc-btn:hover, .acc-btn:focus,
.acc-btn2--primary, .acc-btn2--primary:hover, .acc-btn2--primary:focus,
.acc-btn2--danger, .acc-btn2--danger:hover, .acc-btn2--danger:focus,
.acc-nav__item.is-active, .acc-nav__item.is-active:hover, .acc-nav__item.is-active:focus {
    color: #ffffff !important;
}
/* Ghost/outline tlačidlá klientskej zóny: navy text aj na hover (svetlé pozadie). */
.acc-btn2--ghost, .acc-btn2--ghost:hover, .acc-btn2--ghost:focus {
    color: #003DA5 !important;
}

/* =====================================================================
   SECTION HIGHLIGHTS / WIDGET TITLES
   ===================================================================== */
.section-label,
.widget__title,
.section-nav__btn.is-active {
    color: #003DA5 !important;
}

/* =====================================================================
   PAGINATION
   ===================================================================== */
.pagination li.active a,
.pagination li.active span,
.page-item.active .page-link {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
}

.page-link:hover {
    color: #003DA5 !important;
}

/* =====================================================================
   SEARCH PANEL
   ===================================================================== */
.search-panel {
    background-color: rgba(0, 29, 92, 0.95) !important;
    z-index: 9999 !important;
}

.site-wrapper--has-overlay-pushy .search-panel {
    visibility: visible !important;
    opacity: 1 !important;
}

.site-wrapper--has-overlay-pushy .search-panel .search-panel-form {
    opacity: 1 !important;
    transform: translate(-50%, -50%) translateY(0) !important;
}

.search-panel__form input,
.search-panel-form input[type="text"],
.search-panel-form input[type="search"],
.search-panel__input {
    border-color: #99B5D9 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
}

.search-panel__input::placeholder,
.search-panel-form input::placeholder {
    color: #99B5D9 !important;
}

.search-panel-form button[type="submit"],
.search-panel__btn {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
}

.search-panel-form button[type="submit"]:hover {
    background-color: #002878 !important;
}



/* Navigation Menu Refinements */
.main-nav__list>li>a {
    line-height: 64px !important;
    font-family: 'Open Sans', sans-serif !important;
    background-color: transparent !important;
    /* Remove solid background segments */
    transition: all 0.2s ease;
}

.main-nav__list>li.active>a,
.main-nav__list>li>a:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    /* Subtle highlight */
    border-bottom: none !important;
    /* Remove white line */
    box-shadow: none !important;
}

.main-nav__list>li.active>a::before,
.main-nav__list>li>a:hover::before {
    margin-top: 14px !important;
    background-color: #4d72cb !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.main-nav__list>li.active>a,
.main-nav__list>li>a {
    border-bottom: none !important;
    box-shadow: none !important;
}

.main-nav__list>li>a::before {
    z-index: 10 !important;
    margin-top: 15px;
    /* Ensure it's above the background but below text */
}

.main-nav__list>li>a {
    position: relative;
    z-index: 11 !important;
}

/* =====================================================================
   LABELS & CATEGORIES
   ===================================================================== */
.label.posts__cat-label,
.posts__cat-label,
.posts__item--team-news .posts__cat-label,
.posts__item--player-news .posts__cat-label,
.posts__item--league-news .posts__cat-label {
    background-color: #003DA5 !important;
    color: #fff !important;
}

.post-meta-skewed .meta__item--views .meta__item-holder::before,
.post-meta-skewed .meta__item--likes a::before,
.post-meta-skewed .meta__item--comments a::before {
    background-color: #003DA5 !important;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
    background-color: #001D5C !important;
    color: #C6D4EA !important;
}

.footer a {
    font-size: 17px;
    color: #5a6a8a !important;
}

.footer a:hover {
    color: #8a9aba !important;
}

.footer__title,
.footer .widget__title {
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

.footer-bottom,
.footer__bottom {
    background-color: #001040 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Social icons in footer */
.social-links__icon,
.social__icon {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.social-links__icon:hover,
.social__icon:hover {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
}

/* =====================================================================
   NEWSLETTER / SUBSCRIBE
   ===================================================================== */
.subscribe,
.newsletter-section,
.cta-section,
.info-box {
    background-color: #003DA5 !important;
}

.subscribe__btn {
    background-color: #ffffff !important;
    color: #003DA5 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

.subscribe__btn:hover {
    background-color: #001D5C !important;
    color: #ffffff !important;
}

/* =====================================================================
   SCOREBOARD / BREAKING NEWS BAR
   ===================================================================== */
.breaking-news,
.latest-news-bar {
    background-color: #003DA5 !important;
}

.breaking-news__label,
.latest-news-bar__label {
    background-color: #001D5C !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

/* =====================================================================
   TABLE / STANDINGS
   ===================================================================== */
.table thead th,
.standings-table thead th,
.stats-table thead th {
    background-color: #003DA5 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

.table tbody tr:hover,
.standings-table tbody tr:hover {
    background-color: #E8EFFA !important;
}

/* =====================================================================
   OVERLAY (search/menu dim)
   ===================================================================== */
.site-overlay {
    background-color: rgba(0, 29, 92, 0.85) !important;
}

/* =====================================================================
   MOBILE MENU (pushy panel)
   ===================================================================== */
.pushy-panel,
.pushy {
    background-color: #001D5C !important;
}

.pushy-panel a,
.pushy a {
    color: #C6D4EA !important;
    font-family: 'Open Sans', sans-serif !important;
}

.pushy-panel a:hover,
.pushy a:hover {
    color: #ffffff !important;
}

/* Hamburger icon */
.header-mobile__btn span,
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    background-color: #ffffff !important;
}

/* =====================================================================
   FORMS & INPUTS
   ===================================================================== */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: #003DA5 !important;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15) !important;
    outline: none !important;
}

/* =====================================================================
   TEXT SELECTION
   ===================================================================== */
::selection {
    background-color: #003DA5 !important;
    color: #ffffff !important;
}

::-moz-selection {
    background-color: #003DA5 !important;
    color: #ffffff !important;
}

/* =====================================================================
   ACCENTUATION - any primary color reference
   ===================================================================== */
a:hover,
a:focus {
    color: #003DA5 !important;
}

/* Text color utilities */
.text-primary,
.color-primary {
    color: #003DA5 !important;
}

/* Background color utilities */
.bg-primary,
.bg-color-primary {
    background-color: #003DA5 !important;
}

/* Border */
.border-primary {
    border-color: #003DA5 !important;
}

/* =====================================================================
   TICKET / CTA BUTTONS
   ===================================================================== */
.btn--tickets,
.tickets-btn,
.header__tickets-btn,
.header__secondary .btn {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
}

.btn--tickets:hover,
.tickets-btn:hover {
    background-color: #002878 !important;
    border-color: #002878 !important;
}

/* =====================================================================
   SLIDER DOTS
   ===================================================================== */
.slick-dots li.slick-active button::before,
.swiper-pagination-bullet-active {
    background-color: #003DA5 !important;
    color: #003DA5 !important;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
    .header__primary {
        background-color: #001D5C !important;
    }

    .header__primary-inner {
        background-color: #001D5C !important;
    }

    .header-mobile {
        background-color: #003DA5 !important;
    }
}

/* =====================================================================
   SEARCH TOGGLE BUTTON (#573ccb / purple → HK Blue)
   ===================================================================== */
.search__toggle {
    background-color: #003DA5 !important;
}

.search__toggle:hover {
    background-color: #002878 !important;
}

/* =====================================================================
   MOBILE SEARCH SUBMIT (purple → HK Blue)
   ===================================================================== */
.header-mobile__search-submit {
    background-color: #003DA5 !important;
}

.header-mobile__search-submit:hover {
    background-color: #002878 !important;
}

/* =====================================================================
   ADDITIONAL PURPLE → BLUE OVERRIDES
   Template uses: #573ccb, #422692, #6c4dee, #393060, #2a2049
   ===================================================================== */

/* Any remaining inline color uses in CSS variables */
[style*="background-color: #573ccb"],
[style*="background-color:#573ccb"],
[style*="background-color: #422692"],
[style*="background-color:#422692"],
[style*="background-color: #6c4dee"],
[style*="background-color:#6c4dee"],
[style*="background-color: #393060"],
[style*="background-color:#393060"] {
    background-color: #003DA5 !important;
}

/* Accent/highlight colors */
.accent-color,
.primary-color,
.theme-color {
    color: #003DA5 !important;
}

.accent-bg,
.primary-bg,
.theme-bg {
    background-color: #003DA5 !important;
}

/* Active states in tabs/nav */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.section-nav__btn.is-active {
    background-color: #003DA5 !important;
    border-color: #003DA5 !important;
    color: #ffffff !important;
}

/* Progress bars (for stats) */
.progress-bar,
.skill-bar__fill {
    background-color: #003DA5 !important;
}

/* Badges */
.badge-primary,
.badge.bg-primary {
    background-color: #003DA5 !important;
}

/* =====================================================================
   HEADER LAYOUT-5 SPECIFIC (current template layout)
   ===================================================================== */
.header--layout-5 .header__primary-inner {
    background-color: #003DA5 !important;
}

.header--layout-5 .main-nav__list>li>a {
    color: #ffffff !important;
}

.header--layout-5 .main-nav__list>li>a:hover {
    color: #C6D4EA !important;
}

/* =====================================================================
   HEADER SECONDARY SPECIFIC COLORS
   ===================================================================== */
.header__secondary-inner {
    background-color: #001D5C !important;
}

/* Top bar social & info icons */
.header__secondary .header-social a,
.header__secondary .header-info a {
    color: #C6D4EA !important;
}

.header__secondary .header-social a:hover,
.header__secondary .header-info a:hover {
    color: #ffffff !important;
}

/* =====================================================================
   TLAČIDLO "VŠETKY SPRÁVY" v hlavičke karty
   ===================================================================== */
.hk-btn-all-news {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #003DA5;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.25);
    white-space: nowrap;
}

.hk-btn-all-news:hover {
    background-color: #002878 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 61, 165, 0.4);
}

.hk-btn-all-news i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.hk-btn-all-news:hover i {
    transform: translateX(3px);
}

/* =====================================================================
   HERO CAROUSEL SLIDER – čitateľnosť textu
   ===================================================================== */

/* Slide – orezanie zoom efektu aby nepresahoval do susedných slidov */
.alc-hero-carousel__post {
    overflow: hidden !important;
    position: relative !important;
}

/* Celý blok článku klikateľný – stretched-link na list items */
.posts__item--with-meta {
    position: relative;
}
.posts__item--with-meta .posts__title a {
    position: static;
}
.posts__item--with-meta .posts__title a::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
}

/* Wrapper: mierne stmavenie v základnom stave, na hover bez overlay */
.alc-hero-carousel__post-wrapper {
    background-color: rgba(0, 0, 0, 0.38) !important;
    transition: background-color 0.4s ease !important;
}

.alc-hero-carousel__post:hover .alc-hero-carousel__post-wrapper {
    background-color: rgba(0, 0, 0, 0) !important;
}

/* Obrazok – jemný zoom na hover, orezaný vnútri slide */
.alc-hero-carousel__slide-img {
    transition: transform 0.6s ease !important;
}

.alc-hero-carousel__post:hover .alc-hero-carousel__slide-img {
    transform: scale(1.06) !important;
}

/* Textová karta – zaoblený obdĺžnik + mäkká aura okolo */
.alc-hero-carousel__post-inner {
    position: relative !important;
    background: rgba(0, 10, 50, 0.88) !important;
    border: none !important;
    border-radius: 2rem !important;
    padding: 24px 28px !important;
    box-shadow: none !important;
    isolation: isolate !important;
    transition: background 0.4s ease !important;
}

.alc-hero-carousel__post:hover .alc-hero-carousel__post-inner {
    background: rgba(0, 10, 55, 0.94) !important;
}

/* Mäkká aura (tieň) okolo zaobleneho obdĺžnika – bez tvrdých hrán */
.alc-hero-carousel__post-inner::before {
    content: '' !important;
    position: absolute !important;
    inset: -45% -40% !important;
    border-radius: 0 !important;
    background: radial-gradient(ellipse at 50% 50%,
            rgba(0, 10, 50, 0.55) 0%,
            rgba(0, 10, 50, 0.20) 45%,
            transparent 70%) !important;
    z-index: -1 !important;
    pointer-events: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Nadpis */
.alc-hero-carousel__post-inner .posts__title {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Meta (dátum, autor) */
.alc-hero-carousel__post-inner .post__meta {
    color: rgba(198, 212, 234, 0.95) !important;
}

.alc-hero-carousel__post-inner .meta__item--date time,
.alc-hero-carousel__post-inner .meta__item--author {
    color: rgba(198, 212, 234, 0.95) !important;
}

.alc-hero-carousel__post-inner .meta__item--date time {
    font-weight: 600 !important;
}

/* Tag / kategória */
.alc-hero-carousel__post-inner .posts__cat-label {
    background-color: #003DA5 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.45) !important;
}

/* Excerpt */
.alc-hero-carousel__post-inner .posts__excerpt {
    color: rgba(220, 228, 245, 0.9) !important;
}

/* Footer logo */
.hk-footer-logo {
    max-height: 160px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Footer widgets – text visibility + alignment */
.footer-widget {
    padding-top: 0;
    margin-bottom: 0;
}

.footer-widget__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #003DA5;
}

.footer-widget__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget__nav li {
    margin-bottom: 8px;
}

.footer-widget__nav li a {
    font-size: 17px;
    color: #1e1e2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-widget__nav li a:hover {
    color: #5a6a8a;
}

.footer-widget__address {
    font-size: 13px;
    color: #3a3a4a;
    line-height: 1.7;
    font-style: normal;
    margin-bottom: 10px;
}

.footer-widget__link {
    font-size: 13px;
    color: #003DA5;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-widget__link:hover {
    text-decoration: underline;
}

.footer-secondary__copyright {
    font-size: 12px;
    color: #5a5a6a;
    margin: 0;
}

/* Footer – právne dokumenty (prehľadne rozdelené, vycentrované nad copyrightom) */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 24px;
    margin: 0 auto 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
}
.footer-legal__group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 8px;
}
.footer-legal__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9aa3b2;
}
.footer-legal__group a {
    font-size: 13px;
    color: #003DA5;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-legal__group a:hover {
    color: #001D5C;
    text-decoration: underline;
}
.footer-legal__sep {
    color: #c4c9d4;
}
.footer-legal__divider {
    width: 1px;
    height: 14px;
    background: #dfe3ea;
}
@media (max-width: 767px) {
    .footer-legal { flex-direction: column; gap: 12px; }
    .footer-legal__divider { display: none; }
}

/* section--dark override */
.section--dark {
    background-color: #001D5C !important;
}

/* Newsletter section */
.hk-newsletter-section {
    padding: 70px 0;
}

.hk-newsletter-logo {
    width: 200px;
    max-width: 100%;
    opacity: 0.92;
}

.hk-newsletter-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7aaee8;
    margin-bottom: 10px;
}

.hk-newsletter-heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
}

.hk-newsletter-desc {
    font-size: 15px;
    color: #a8bcd8;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hk-newsletter-form__wrap {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hk-newsletter-form__input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    outline: none;
}

.hk-newsletter-form__input::placeholder {
    color: #8a9ab0;
}

.hk-newsletter-form__btn {
    border: none;
    background: #003DA5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 28px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.hk-newsletter-form__btn:hover {
    background: #002878;
}

.hk-newsletter-success {
    font-size: 14px;
    color: #6ee7b7;
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.hk-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #001D5C;
    margin-bottom: 8px;
}

.hk-page-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 0;
}

.hk-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f6;
}

.hk-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hk-contact-item:first-child {
    padding-top: 0;
}

.hk-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e8effa;
    color: #003DA5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hk-contact-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 3px;
}

.hk-contact-value {
    font-size: 14px;
    color: #1e1e2e !important;
    margin-bottom: 0;
    text-decoration: none !important;
    line-height: 1.5;
}

a.hk-contact-value:hover {
    color: #003DA5 !important;
}

.hk-contact-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #003DA5;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.hk-contact-social:hover {
    background: #001D5C;
    color: #fff;
}

.hk-contact-form .form-control,
.hk-contact-form .form-select {
    border-radius: 8px;
    border-color: #dde2ec;
    font-size: 14px;
    padding: 10px 14px;
}

.hk-contact-form .form-control:focus,
.hk-contact-form .form-select:focus {
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.12);
}

.hk-contact-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/* =====================================================================
   HLAVIČKA – mobilná navigácia + odkaz klientskej zóny (desktop)
   Presunuté z inline <style> v web/app/header.blade.php (cacheovateľné
   naprieč stránkami namiesto opakovania v HTML každej stránky).
   ===================================================================== */
/* ── Burger button ── */
.mob-burger {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; justify-content: space-between;
    width: 26px; height: 19px; padding: 0;
}
.mob-burger span {
    display: block; width: 100%; height: 3px;
    background: #fff; border-radius: 2px;
    transition: transform .28s ease, opacity .28s ease;
}
.mob-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mob-burger.is-open span:nth-child(2) { opacity: 0; }
.mob-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Overlay ── */
.mob-nav-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: #0a1628;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex; flex-direction: column;
}
.mob-nav-overlay.is-open { transform: translateX(0); }

.mob-nav-overlay__inner {
    display: flex; flex-direction: column;
    min-height: 100%;
    padding: 0 0 32px;
}

/* Head */
.mob-nav-overlay__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #003DA5;
}
.mob-nav-overlay__logo { height: 44px; width: auto; }
.mob-nav-close {
    background: rgba(255,255,255,.12); border: none; cursor: pointer;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    transition: background .15s;
}
.mob-nav-close:hover { background: rgba(255,255,255,.22); }

/* Nav links */
.mob-nav-overlay__nav { flex: 1; padding: 12px 0; }
.mob-nav-overlay__nav ul { list-style: none; margin: 0; padding: 0; }
.mob-nav-overlay__nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mob-nav-overlay__nav > ul > li > a {
    display: block; padding: 15px 24px;
    color: #fff; font-size: 17px; font-weight: 700;
    text-decoration: none; letter-spacing: .2px;
    transition: color .15s, padding-left .15s;
}
.mob-nav-overlay__nav > ul > li > a:hover,
.mob-nav-overlay__nav > ul > li.active > a { color: #7db3ff; padding-left: 30px; }

/* Toggle button (rows with submenu) */
.mob-nav-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 15px 24px;
    background: none; border: none; cursor: pointer;
    color: #fff; font-size: 17px; font-weight: 700;
    text-align: left; letter-spacing: .2px;
}
.mob-nav-toggle:hover { color: #7db3ff; }
.mob-nav-overlay__nav > ul > li.active .mob-nav-toggle { color: #7db3ff; }
.mob-nav-arrow {
    font-size: 13px; flex-shrink: 0; margin-left: 10px;
    transition: transform .25s ease;
    color: rgba(255,255,255,.5);
}
.mob-nav-overlay__nav > ul > li.is-open .mob-nav-arrow { transform: rotate(90deg); }

/* Sub-items */
.mob-nav-sub {
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
    background: rgba(0,0,0,.2);
}
.mob-nav-overlay__nav > ul > li.is-open .mob-nav-sub { max-height: 400px; }
.mob-nav-sub li a {
    display: block; padding: 11px 24px 11px 36px;
    color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600;
    text-decoration: none; transition: color .15s;
}
.mob-nav-sub li a:hover { color: #fff; }

/* Tickets button */
.mob-nav-overlay__tickets { padding: 16px 24px 0; }
.mob-nav-overlay__ticket-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 15px;
    background: linear-gradient(135deg, #ffd300 0%, #f7b500 100%);
    color: #001D5C !important;
    border-radius: 10px; font-size: 16px; font-weight: 900;
    text-decoration: none !important; letter-spacing: .3px;
    box-shadow: 0 4px 15px rgba(253,211,0,.35);
    transition: box-shadow .2s, transform .2s;
}
.mob-nav-overlay__ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253,211,0,.5);
    color: #001D5C !important;
}

/* ── Klientska zóna link (desktop) ── */
.hk-navbar__account {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px; margin-right: 6px;
    color: #fff; font-size: 14px; font-weight: 700;
    text-decoration: none; border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.28);
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.hk-navbar__account:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; }
.hk-navbar__account i { font-size: 17px; }
