/* ============================================================
   ZAJAZD HASEL - HASEL-STYLE-V6.CSS
   Joomla 3.10 / JM Education
   Kolorystyka i poprawka poziomego przewijania
   ============================================================ */

:root {
    --hasel-bg: #FAF7F1;
    --hasel-bg-alt: #F0E7DA;
    --hasel-text: #35251C;
    --hasel-espresso: #35251C;
    --hasel-gold: #D9A34E;
}

/* TLO I TEKST */
html,
body,
body #jm-allpage,
body #jm-page {
    background-color: var(--hasel-bg) !important;
}

body {
    color: var(--hasel-text);
}

body #jm-top1,
body #jm-bottom1 {
    background: var(--hasel-bg) !important;
    color: var(--hasel-text);
}

body #jm-top2,
body #jm-bottom2 {
    background: var(--hasel-bg-alt) !important;
    color: var(--hasel-text);
}

body #jm-top3,
body #jm-footer-mod,
body #jm-footer {
    background: var(--hasel-espresso) !important;
    color: #FFFFFF;
}

body #jm-top3 .jm-title,
body #jm-footer-mod .jm-title,
body #jm-top3 .moduletable > h3,
body #jm-footer-mod .moduletable > h3 {
    color: #FFFFFF;
}

body #jm-top3 a,
body #jm-footer-mod a,
body #jm-footer a {
    color: #F2C779;
}

body #jm-top3 a:hover,
body #jm-top3 a:focus,
body #jm-footer-mod a:hover,
body #jm-footer-mod a:focus,
body #jm-footer a:hover,
body #jm-footer a:focus {
    color: #FFFFFF;
}

/* HEADER - BEZ SZAREGO PASKA */
body #jm-header {
    padding-top: 0 !important;
    background: transparent !important;
}

body #jm-header-in {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#jm-header.full-width,
#jm-header.full-width .container-fluid {
    width: 100%;
    max-width: none;
}

/* HERO I STOPKA - SZEROKOSC KONTENERA */
#jm-header #hasel-hero,
#jm-footer-mod #hasel-footer {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#hasel-hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background-color: #241910;
}

#hasel-hero .hasel-hero-fade {
    height: 68px;
    background: linear-gradient(
        to bottom,
        rgba(250,247,241,0) 0%,
        rgba(250,247,241,.14) 58%,
        rgba(250,247,241,.38) 100%
    );
}

/* POPRAWKA POTWIERDZONA W DEVTOOLS:
   Ukrywa poziomy nadmiar w glownym kontenerze Joomla.
   Nie zmienia padding-top ustawianego dynamicznie przez menu. */
html body #jm-allpage {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* OCHRONA ELEMENTOW WEWNETRZNYCH */
#hasel-offer .ho-grid,
#hasel-reviews .hr-grid,
#hasel-map .hm-container,
#hasel-footer .hf-main {
    min-width: 0;
}

#hasel-map .hm-map-card,
#hasel-map .hm-map-frame,
#hasel-map .hm-map-frame iframe {
    max-width: 100%;
}

/* DOSTEPNOSC */
#jm-top3 a:focus-visible,
#jm-footer-mod a:focus-visible,
#jm-footer a:focus-visible {
    outline: 2px solid var(--hasel-gold);
    outline-offset: 3px;
}
