/* Shared styles of every page: fonts, colours, typography, header and footer.
   Values follow the current wybierzdewelopera.pl theme, so the pages look the same. */

/* Google Sans from Google Fonts, stored locally: latin-ext holds the Polish letters, symbols the arrows of
   the pagination and the other signs of the old pages. The ranges are the ones Google Fonts serves. */
@font-face {
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/google-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/google-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/google-sans-symbols.woff2") format("woff2");
    unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}

:root {
    --font-body: "Google Sans", sans-serif;
    --font-head: "Google Sans", sans-serif;
    --red: #e8132f;
    --red-dark: #c50e27;
    --red-soft: rgba(232, 19, 47, 0.08);
    --ink: #0d0e11;
    --ink-2: #16171b;
    --muted: #6a6d75;
    --muted-2: #9c9fa6;
    --line: #e8e8e5;
    --bg: #f7f7f5;
    --band: #efede6;
    --paper: #fff;
    --shadow-card: 0 1px 2px rgba(13, 14, 17, 0.04);
    --shadow-hover: 0 18px 40px -16px rgba(13, 14, 17, 0.22);
    --container: 1264px;
    --radius: 6px;
    --radius-card: 10px;
    --radius-pop: 8px;
    --radius-pill: 999px;
}

/* ---------- Base ---------- */

html {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #666;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html.search-open {
    scroll-padding-top: 0;
}

body {
    margin: 0;
    background: #fff;
}

a {
    color: var(--red);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #db0707;
}

img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    vertical-align: middle;
}

svg {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

svg:not(:root) {
    overflow: hidden;
}

/* The old theme set its font on every element, buttons and form fields included. */
* {
    font-family: var(--font-body) !important;
}

[hidden] {
    display: none !important;
}

/* The old theme removed the native look of every select. */
select {
    -webkit-appearance: none;
}

::selection {
    background: #39f;
    color: #fff;
    text-shadow: none;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 20px;
    font-family: var(--font-head);
    font-weight: 400;
    color: #000;
}

* + h1,
* + h2,
* + h3,
* + h4 {
    margin-top: 40px;
}

/* The old theme gave every h1 border-box sizing (css/main.css). */
h1 {
    box-sizing: border-box;
    font-size: 2.23125rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.7rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5em;
    line-height: 1.4;
    margin-top: 0.95833em;
    margin-bottom: 0.375em;
    font-weight: 600;
}

h4 {
    font-size: 1.125em;
    line-height: 2;
    font-weight: 500;
}

p,
ul,
dl {
    margin: 0 0 20px;
}

* + p,
* + ul,
* + dl {
    margin-top: 20px;
}

ul {
    padding-left: 30px;
}

p,
span,
strong {
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.5;
    color: #000;
}

b {
    font-weight: bolder;
}

strong {
    font-weight: 600;
}

em {
    color: #f0506e;
}

dt {
    font-weight: 700;
}

dd {
    margin-left: 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.simple-page {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 960px) {
    h1 {
        font-size: 2.625rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 760px) {
    .container {
        padding: 0 20px;
    }
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.22);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 76px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.site-header .logo img {
    display: block;
    width: 190px;
    height: 36px;
    object-fit: contain;
    object-position: left center;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.site-header .main-nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.15s ease, background 0.15s ease;
}

.site-header .main-nav > a:hover,
.site-header .nav-item > a:hover {
    color: var(--red);
    background: var(--red-soft);
}

.site-header .nav-item {
    position: relative;
}

.site-header .nav-chev {
    display: inline-block;
    flex: none;
    width: 12px;
    height: 12px;
    vertical-align: -1px;
    color: inherit;
    background: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
    opacity: 0.55;
    overflow: hidden;
    text-indent: -99px;
}

.site-header .nav-item:hover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
}

.site-header .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 14px;
    padding: 8px;
    min-width: 252px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 48px -16px rgba(13, 14, 17, 0.22);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.18s ease, visibility 0.18s;
    z-index: 60;
}

.site-header .nav-item:hover .dropdown,
.site-header .nav-item:has(:focus-visible) .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: none;
    overflow: visible;
}

.site-header .main-nav .dropdown a,
.site-header .main-nav .flyout a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    white-space: nowrap;
}

.site-header .main-nav .dropdown a:hover,
.site-header .main-nav .flyout a:hover {
    background: var(--red-soft);
    color: var(--red);
}

.site-header .dropdown-chev {
    font-size: 16px;
    line-height: 1;
    color: var(--muted-2);
    transition: transform 0.15s ease;
}

.site-header .dropdown-item {
    position: relative;
}

.site-header .dropdown-item:hover::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 10px;
    height: 100%;
}

.site-header .flyout {
    position: absolute;
    left: 100%;
    top: -9px;
    margin-left: 8px;
    padding: 8px;
    min-width: 196px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 48px -16px rgba(13, 14, 17, 0.22);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    z-index: 61;
}

.site-header .dropdown-item:hover .flyout,
.site-header .dropdown-item:has(:focus-visible) .flyout {
    opacity: 1;
    visibility: visible;
    max-height: none;
    overflow: visible;
}

.site-header .login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding: 11px 20px;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-header .login-button:hover {
    background: var(--ink);
    color: #fff;
}

/* "Moje konto" of a logged-in user: the same button with a menu. As a menu item it takes the item hover colours. */
.site-header .nav-account .login-button .nav-chev {
    margin-left: 2px;
    font-size: 9px;
    opacity: 0.7;
}

.site-header .nav-account .dropdown {
    left: auto;
    right: 0;
    min-width: 200px;
}

.site-header .nav-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.site-header .nav-burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .site-header .nav-burger span:nth-child(1),
body.nav-open .site-header .nav-burger span:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
}

body.nav-open .site-header .nav-burger span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.nav-open .site-header .nav-burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    visibility: hidden;
}

body.nav-open .site-header .nav-burger span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.site-header .nav-search,
.site-header .nav-search * {
    box-sizing: border-box;
}

.site-header .nav-search-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header .nav-search-btn:hover {
    background: var(--red-soft);
    color: var(--red);
}

.site-header .main-nav > * {
    transition: opacity 0.2s ease, filter 0.2s ease;
}

body.search-open .site-header .main-nav > *:not(.nav-search) {
    opacity: 0.25;
    filter: grayscale(1);
    pointer-events: none;
}

.site-header .nav-search {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: min(460px, 100%);
    height: 44px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 0 8px 0 14px;
    margin: 0;
    box-shadow: 0 10px 30px rgba(15, 20, 30, 0.12);
}

.site-header .nav-search[hidden] {
    display: none;
}

.site-header .nav-search > svg {
    color: var(--muted-2);
    flex: none;
}

.site-header .nav-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    padding: 0;
    font: 600 14px/1.2 var(--font-body);
    color: var(--ink);
}

.site-header .nav-search input::placeholder {
    color: var(--muted-2);
    font-weight: 500;
}

.site-header .nav-search input::-webkit-search-cancel-button,
.site-header .nav-search input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.site-header .nav-search-close {
    width: 32px;
    height: 32px;
    flex: none;
    border: 0;
    border-radius: 8px;
    background: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header .nav-search-close:hover {
    background: var(--red-soft);
    color: var(--red);
}

/* Live results under the search field. */
.site-header .nav-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 48px -16px rgba(13, 14, 17, 0.25);
    max-height: 380px;
    overflow-y: auto;
    z-index: 60;
}

.site-header .nav-search-results[hidden] {
    display: none;
}

.site-header .main-nav .nav-search-results a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.site-header .main-nav .nav-search-results a:last-child {
    border-bottom: 0;
}

.site-header .main-nav .nav-search-results a:hover {
    background: var(--red-soft);
    color: var(--ink);
}

.site-header .nav-search-results a p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.site-header .nav-search-results a p:last-child {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.site-header .nav-search-results > p {
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-align: left;
}

.site-header .nav-search-results > p.nav-search-results__head {
    padding: 11px 16px 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
    .site-header__inner {
        padding: 0 32px;
    }
}

@media (max-width: 620px) {
    .site-header .logo img {
        height: 30px;
    }
}

@media (min-width: 1161px) {
    .site-header .main-nav {
        position: relative;
    }
}

@media (min-width: 1161px) and (max-width: 1275px) {
    .site-header__inner {
        gap: 20px;
    }

    .site-header .logo img {
        width: 170px;
    }

    .site-header .main-nav {
        gap: 4px;
    }

    .site-header .main-nav > a:not(.login-button),
    .site-header .nav-item > a:not(.login-button) {
        padding: 10px 9px;
        font-size: 12px;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .site-header .login-button {
        margin-left: 8px;
        padding: 10px 14px;
        font-size: 12px;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
}

@media (max-width: 1160px) {
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .site-header__inner {
        height: 64px;
        gap: 16px;
    }

    .site-header .nav-burger {
        display: flex;
    }

    .site-header .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 49;
        margin: 0;
        padding: 8px 20px 48px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    body.nav-open .site-header .main-nav {
        display: flex;
    }

    .site-header .main-nav .dropdown a,
    .site-header .main-nav .flyout a {
        white-space: normal;
    }

    .site-header .main-nav > a,
    .site-header .nav-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .site-header .nav-item {
        position: static;
    }

    .site-header .nav-item:hover::after,
    .site-header .dropdown-item:hover::after {
        content: none;
    }

    .site-header .dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        margin: 0;
        padding: 4px 0 8px 12px;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
    }

    .site-header .nav-item.open > .dropdown {
        display: block;
    }

    .site-header .flyout {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        margin: 0;
        padding: 0 0 4px 16px;
        border: 0;
        box-shadow: none;
        min-width: 0;
    }

    .site-header .dropdown-item.open > .flyout {
        display: block;
    }

    .site-header .dropdown-item.open > a .dropdown-chev {
        transform: rotate(90deg);
    }

    .site-header .main-nav .login-button {
        align-self: flex-start;
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
        margin: 18px 0 4px;
        padding: 11px 20px;
        border: 1.5px solid var(--ink);
        border-radius: 6px;
    }

    .site-header .nav-search,
    .site-header .nav-search[hidden] {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        flex: none;
        order: -1;
        margin: 10px 0;
    }

    .site-header .nav-search-btn,
    .site-header .nav-search .nav-search-close {
        display: none;
    }

    body.search-open .site-header .main-nav > *:not(.nav-search) {
        opacity: 1;
        filter: none;
        pointer-events: auto;
    }
}

@media (pointer: coarse) {
    .site-header .nav-search input {
        font-size: 16px;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: 64px;
    background: var(--ink);
    color: #fff;
}

/* template-blank.php sat right on the footer (main.css: body.page-template-template-blank .site-footer). */
body.page-blank .site-footer {
    margin-top: 0;
}

.site-footer__inner {
    display: flow-root;
    box-sizing: content-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 80px 0 64px;
}

.site-footer__brand .logo {
    display: inline-block;
}

.site-footer__brand .logo img {
    display: block;
    width: 200px;
    height: 40px;
    object-fit: contain;
    object-position: left center;
}

.site-footer__brand p {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

.site-footer h4 {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

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

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

.site-footer ul a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.12s ease;
}

.site-footer ul a:hover {
    color: var(--red);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__legal {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .facebook-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-footer .facebook-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.site-footer .facebook-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

@media (min-width: 640px) {
    .site-footer__inner {
        padding: 0 32px;
    }
}

@media (max-width: 760px) {
    .site-footer__top {
        padding: 56px 0 40px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 1180px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 620px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- Favourites (css/main.css of the old theme, on every page) ---------- */

.favorite-button-container {
    position: relative;
    height: 0 !important;
    z-index: 999;
}

.favorite-button {
    cursor: pointer;
}

.favorite-button-container .favorite-button {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #fff !important;
    border-radius: 10px !important;
    border: 1px solid #eee;
    box-shadow: 0 0 5px #e4e4e4;
    padding: 8px 8px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;
}

.favorite-button .bi-heart-fill {
    display: none;
}

.favorited .bi-heart-fill {
    display: inline !important;
}

.favorited .bi-heart {
    display: none !important;
}

.favorite-button svg {
    fill: #000;
    vertical-align: -5px;
}

.favorited svg {
    fill: rgb(253, 25, 41) !important;
}

.favorite-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.favorite-button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.favorite-notification {
    position: absolute;
    top: calc(100% + 70px);
    right: -45px;
    background-color: #e8132f;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.favorite-notification.error {
    background-color: #e8132f;
}

.favorite-notification.favorite-toast {
    position: fixed;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    transform: none;
    z-index: 99999;
    max-width: min(260px, calc(100vw - 24px));
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    box-shadow: 0 8px 24px rgba(13, 14, 17, 0.28);
    transition: opacity 0.3s;
}

.favorite-notification.favorite-toast.success {
    background-color: #16a34a;
}

.favorite-notification.favorite-toast.error {
    background-color: #e8132f;
}

.favorite-notification.favorite-toast.is-hiding {
    opacity: 0;
}

/* ---------- Contact Form 7 forms (style.css and css/main.css of the old theme, on every page) ---------- */

/* The reCAPTCHA v3 badge is loaded on every page but was never shown (style.css of the old theme). */
.grecaptcha-badge {
    visibility: hidden;
}

.wpcf7-spinner {
    position: absolute;
    z-index: 10;
    margin: 10px auto;
    left: 0;
    right: 0;
}

.wpcf7 form .wpcf7-response-output {
    position: relative;
    margin: 0 0 0 30px;
    padding: 20px 30px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #fff !important;
    border-color: #48ac1c !important;
    color: #48ac1c;
    font-size: 14px;
    display: inline-block !important;
    border-radius: 6px;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fff !important;
    border-color: #dc3232 !important;
    color: #dc3232;
    font-size: 14px;
    display: inline-block !important;
}

.wpcf7-form > p {
    text-align: left;
}

.wpcf7-form {
    transition: 0.5s all;
}

.wpcf7-form.is-hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
}
