/*
Theme Name: magazin
Theme URI: https://c9agency.online
Author: C9 Agency
Author URI: https://c9agency.online
Description: Magazin šablona.
Version: 2025

*/

html, body {
    font-family: "Roboto", sans-serif !important
}

:root {
    --bg: #fafafa;
    --surface: #fff;
    --surface-2: #fff;
    --text: #0f172a;
    --text-2: #fff;
    --muted: #6b7280;
    --border: #ededed;
    --shadow: 0 10px 20px #00000014;
    --accent: #ef3f48;
    --accent-2: #021228;
    --radius: 12px;
    --title-border: 3px solid var(--accent);
    --hover-scale: 1.08;
    --hover-y: -6px;
    --overlay-from: rgb(3 25 54);
    --overlay-to: rgb(0 0 0 / 0%);
    --chip-bg: var(--accent);
    --chip-text: #fff;
    --input-bg: #fff;
    --input-border: #e0e0e0
}

:root[data-theme="dark"] {
    --bg: #0a101d;
    --surface: #0f172a;
    --surface-2: #fff;
    --text: #e6edf3;
    --muted: #9aa4b2;
    --border: #223043;
    --shadow: 0 10px 20px #00000066;

    --accent: #ff4d57;
    --accent-2: #0f172a;

    --chip-bg: rgba(255, 77, 87, .92);
    --chip-text: #fff;
    --input-bg: #0b1220;
    --input-border: #223043;

    --overlay-from: rgb(0 0 0 / 82%);
    --overlay-to: rgb(0 0 0 / 0%);
}

body {
    background: var(--bg);
    color: var(--text)
}

h1, h2, #reply-title {
    text-transform: uppercase;
    font-weight: 600;
    border-left: var(--title-border);
    padding-left: 10px;
    margin: 20px 0
}

h1 {
    line-height: 36px
}

h2, #reply-title {
    font-size: 22px
}

h3 {
    font-size: 16px
}

.flex-0 {
    flex: none;
}

.header-first {
    border-bottom: 1px solid var(--border)
}

.header {
    background: var(--surface)
}

.header-second {
    box-shadow: var(--shadow)
}

.header .logo, .header .logo img {
    max-height: 60px
}

.header .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    flex: none
}

.header .menu li {
    display: inline-block;
    position: relative
}

.header .menu li a {
    font-size: 15px;
    padding: 14px 8px;
    display: block;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    color: var(--text);
    font-weight: 500
}

.header .menu li a:hover {
    border-color: var(--accent)
}

.footer-menu .menu li a {
    font-size: 15px;
    display: block;
    text-decoration: none;
    color: var(--text-2);
    font-weight: 500
}

.color-swapper .color-swap {
    border: 0;
    background: transparent
}

.color-swapper .color-swap i {
    color: var(--accent)
}

.banner img {
    border-radius: var(--radius);
    max-width: 100%;
    height: auto
}

.news-1 .news-image, .news-2 .news-image, .news-big {
    border-radius: var(--radius);
    overflow: hidden
}

.news-1 .news-image img, .news-2 .news-image img, .news-big .news-big-image img {
    width: 100%;
    transition: transform .5s ease;
    max-height: 290px;
}

.news-1 .news-image:hover img, .news-2 .news-image:hover img, .news-big .news-big-image:hover img {
    transform: scale(var(--hover-scale)) translateY(var(--hover-y))
}

.news-tags {
    list-style: none;
    padding: 0;
    margin: 10px 0
}

.news-tags li {
    display: inline-block;
    margin-right: 4px;
}

.news-tags li a {
    background: var(--chip-bg);
    color: var(--chip-text);
    padding: 4px 12px;
    text-decoration: none;
    border-radius: 999px;
    font-size: 12px
}

.news-data span {
    font-size: 13px;
    color: var(--muted);
    position: relative;
    margin-left: 20px;
    margin-right: 10px
}

.news-data span i {
    position: absolute;
    left: -18px;
    top: -1px
}

.news-1 .news-description .news-title {
    font-size: 21px;
    line-height: 24px;
    margin-bottom: 4px
}

.news-1 .news-description .news-title a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600
}

.news-1 .news-description .news-title-smaller {
    font-size: 15px;
    margin-top: 10px;
    line-height: 20px
}

.news-1 .news-description .news-title-smaller a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none
}

.bg-1 {
    background: var(--accent-2)
}

.bg-1 h2, .bg-1 .news-data span, .bg-1 .news-1 .news-description .news-title-smaller a {
    color: #fff
}

.news-big {
    position: relative;
}

.news-big .news-big-image {
    position: absolute;
    inset: 0
}

.news-big .news-big-image:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
    background: linear-gradient(360deg, var(--overlay-from) 0%, var(--overlay-to) 100%);
    z-index: 1
}

.news-big .news-big-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 2;
    padding: 0 15px
}

.news-big .news-big-info .news-title {
    font-size: 21px;
    line-height: 24px;
    margin-bottom: 12px
}

.news-big .news-big-info .news-title a {
    color: #fff;
    text-decoration: none;
    font-weight: 600
}

.news-2 .news-image {
    max-height: 180px;
}

.news-2 .news-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-2 .news-title a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none
}

.news-2 .news-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em
}

.news-2 .cta {
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600
}

.all-categories, .all-tags {
    padding: 0;
    margin: 0;
    list-style: none
}

.all-tags {
    margin-bottom: 30px
}

.all-categories li, .all-tags li {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-left: 2px;
    background: transparent
}

.all-categories li a, .all-tags li a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600
}

.single-bg {
    position: relative;
    background: var(--accent-2);
    border-radius: var(--radius);
    overflow: hidden
}

.single-bg .single-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-height: 400px;
    z-index: 0;
    opacity: .2
}

.single-bg .single-image img {
    width: 100%;
    height: 400px;
    object-fit: cover
}

.single-bg .single-text {
    color: var(--surface-2)
}

.single-bg .single-text a {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 12px;
    display: inline-block;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700
}

.single-bg .single-text i {
    margin-right: 4px
}

.content p {
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em;
    padding-bottom: 1.45em
}

.content ul li, .content ol li {
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 4px;
    letter-spacing: .01em;
    word-spacing: .05em
}

.content ul, .content ol {
    padding: 0 0 10px 20px
}

.content a {
    color: var(--accent);
    font-weight: 600
}

.content img {
    max-width: 100%;
    border-radius: var(--radius)
}

ul.pagination li a {
    font-size: 13px;
    color: var(--text)
}

.active>.page-link, .page-link.active {
    font-size: 13px;
    background: var(--accent);
    border-color: var(--accent)
}

:root[data-theme="dark"] ul.pagination li a {
    background: transparent;
    border-color: var(--border)
}

:root[data-theme="dark"] .page-link {
    color: var(--text)
}

.comments ul {
    padding: 0;
    margin: 30px 0;
    list-style: none
}

.comments ul li {
    background: var(--surface);
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    border: 1px solid var(--border)
}

.comments ul li .comment-author img, .comments ul li .comment-author .says, .comments ul li .reply, p.logged-in-as, .comment-form-url, .comment-form-cookies-consent, .comment-notes {
    display: none
}

.comments ul li p {
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em;
    margin: 4px 0 0
}

.comments ul li cite.fn, .comments ul li cite.fn a {
    font-weight: 500;
    font-style: normal;
    text-transform: capitalize;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
    color: var(--accent);
    text-decoration: none
}

.comments ul li .comment-meta a {
    font-size: 13px;
    text-decoration: none;
    color: var(--muted)
}

.comments ul li .comment-author.vcard, .comments ul li .comment-meta {
    display: inline-block
}

.comment-respond textarea:focus, .comment-respond input:focus {
    outline: none
}

.comment-respond textarea, .comment-respond input {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text);
    padding: 12px;
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em;
    margin-top: 4px;
    margin-bottom: 0
}

.comment-respond label {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500
}

.comment-respond #submit {
    background: var(--accent);
    color: #fff;
    padding: 14px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    border: 0;
    font-weight: 600;
    letter-spacing: .01em;
    word-spacing: .05em
}

.multi-carousel-item .item-number {
    position: absolute;
    left: -35px;
    top: 7px;
    background: #fff;
    z-index: 2;
    width: 20px;
    height: 20px;
    font-size: 13px;
    text-align: center;
    border-radius: 50%
}

:root[data-theme="dark"] .multi-carousel-item .item-number {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border)
}

.multi-carousel-item .news-data span {
    color: #fff
}

.multi-carousel-container {
    cursor: grab;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    position: relative
}

.multi-carousel-container.dragging, #multiCarousel.dragging {
    cursor: grabbing
}

.multi-carousel-inner {
    display: flex;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94)
}

.multi-carousel-control-prev, .multi-carousel-control-next {
    align-items: center;
    background: rgba(0, 0, 0, .5);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .3s ease;
    width: 40px;
    z-index: 10
}

.multi-carousel-control-prev:hover, .multi-carousel-control-next:hover {
    background: rgba(0, 0, 0, .7)
}

.multi-carousel-control-prev {
    left: 10px
}

.multi-carousel-control-next {
    right: 10px
}

.img-container {
    border-radius: 1.5rem;
    height: var(--carousel-height, 80vh);
    overflow: hidden;
    position: relative
}

#multiCarousel {
    cursor: grab;
    touch-action: pan-y
}

#multiCarousel.dragging {
    user-select: none;
    -webkit-user-select: none
}

.emailing-message.emailing-success {
    color: #4caf50;
    font-size: 13px;
    text-align: center
}

.emailing-form p select:focus, .emailing-form p input:focus {
    outline: none
}

.emailing-form p select, .emailing-form p input {
    width: 100%;
    border: 0;
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 13px
}

.emailing-form p label {
    font-size: 13px;
    color: #fff
}

.emailing-form .cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 0;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 14px;
    border: 0;
    font-weight: 600;
    letter-spacing: .01em;
    word-spacing: .05em;
    margin-top: 10px
}

.footer-end {
    border-top: 1px solid #ffffff21
}

.footer-end p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em;
    padding-bottom: 1.45em
}

.footer-menu h3 {
    color: var(--text-2);
    font-size: 14px;
    text-align: center
}

.footer-menu h3 b {
    color: var(--accent)
}

.dragable {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap
}

.multiple-items {
    cursor: grab;
    display: inline-flex;
    align-items: center;
    padding: 0;
    flex-wrap: unset
}

.header .menu li.menu-item-has-children>a {
    padding-right: 26px;
    position: relative
}

.header .menu li.menu-item-has-children>a:after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px
}

ul.sub-menu {
    display: none
}

.menu-submenu-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 54px;
    max-height: calc(100vh - 100px);
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
    z-index: 99999
}

.menu-submenu-panel.is-open {
    display: block
}

.menu-submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border)
}

.menu-submenu-title {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.menu-submenu-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    padding: 0 6px;
    cursor: pointer;
    color: var(--text)
}

.menu-submenu-body {
    padding: 10px
}

.menu-submenu-body ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.menu-submenu-body li {
    margin: 6px 0
}

.menu-submenu-body a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border)
}

.menu-submenu-body a:hover {
    background: rgba(0, 0, 0, .06)
}

:root[data-theme="dark"] .menu-submenu-body a:hover {
    background: rgba(255, 255, 255, .06)
}

body.mch-menu-panel-open:before {
    content: "";
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 50
}

@media (min-width:992px) {
    .emailing-form p {
        display: inline-block;
        margin: .5%;
        max-width: 32%;
        min-width: 32%
    }

    .news-big {
        min-height: 500px
    }

    .multi-carousel-item, .clone {
        box-sizing: border-box;
        flex: 0 0 33.333333%;
        padding: 0 5px;
        position: relative
    }

    .news-big .news-big-image img {
        height: 100%;
        min-height: 500px;
        object-fit: cover
    }

}

@media (max-width:991px) {
    .emailing-form p {
        display: inline-block;
        max-width: 100%;
        min-width: 100%
    }

    .news-big {
        min-height: 300px
    }

    .news-big .news-big-image img {
        height: 100%;
        min-height: 300px;
        object-fit: cover
    }

    .multi-carousel-item, .clone {
        box-sizing: border-box;
        flex: 0 0 100%;
        padding: 0 5px;
        position: relative
    }
}

#menu-footer-3, #menu-footer-2, #menu-footer-1 {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mch-agegate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px
}

.mch-agegate__box {
    max-width: 720px;
    width: 100%;
    background: var(--surface, #fff);
    color: var(--text, #111);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
    padding: 22px
}

.mch-agegate__title {
    margin: 0 0 12px 0;
    font-weight: 800
}

.mch-agegate p {
    font-size: 14px;
    line-height: 23px;
    letter-spacing: .01em;
    word-spacing: .05em;
}

.mch-agegate__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 14px 0 10px
}

.mch-agegate__fineprint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted, #6b7280)
}

.mch-agegate__fineprint a {
    color: var(--accent, #ef3f48);
    font-weight: 700;
    text-decoration: none
}