/*
 Theme Name:   pain.sk
 Theme URI:    https://pain.sk
 Description:
 Author:       Dávid Aftanas
 Author URI:
 Template:     generatepress
 Version:      0.1
*/

/* GENERAL - start */
/* headings*/
h1, h2, h3, h4, h5, h6, .site-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 23px;
}
/* body */
body {
    background-color: #ffffff;
}

body.page-template-homepage {
    background-color: #e7edf0;
}

/* container */
.container,
.hero-helper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* buttons */
button.btn,
a.btn,
.wp-block-button.btn a,
.wp-block-button.btn button {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

button.btn-primary,
a.btn-primary,
.wp-block-button.btn-primary a,
.wp-block-button.btn-primary button {
    background: #00aaa8;
    color: white;
    border: 1px solid #00aaa8;
}

button.btn-primary:hover,
a.btn-primary:hover,
.wp-block-button.btn-primary a:hover,
.wp-block-button.btn-primary button:hover {
    background: #168a8d;
    color: white;
    border: 1px solid #168a8d;
}

button.btn-secondary,
a.btn-secondary,
.wp-block-button.btn-secondary a,
.wp-block-button.btn-secondary button {
    background: white;
    color: #333;
    border: 1px solid #a9e9e6;
}

button.btn-secondary:hover,
a.btn-secondary:hover,
.wp-block-button.btn-secondary a:hover,
.wp-block-button.btn-secondary button:hover {
    background: #a9e9e6;
    color: #333;
    border: 1px solid #a9e9e6;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

button.btn.has-icon,
a.btn.has-icon,
.wp-block-button.btn.has-icon a,
.wp-block-button.btn.has-icon button {
    gap: 8px;
}

button.btn.has-icon svg,
a.btn.has-icon svg,
.wp-block-button.btn.has-icon a svg,
.wp-block-button.btn.has-icon button svg {
    width: 20px;
    height: auto;
}

@media (max-width: 768px) {
    button.btn,
    a.btn,
    .wp-block-button.btn a,
    .wp-block-button.btn button {
        padding: 8px 16px;
        font-size: 16px;
    }
}

.page-template-homepage #nav-below,
/* .has-post-thumbnail, */
.wp-singular div.entry-meta {
    display: none;
}

.sc-separator hr {
    width: 100%;
    height: 2px;
    background-color: #6b7280;
    opacity: .1;
}

.home .entry-title,
.page-template-subpage .entry-title,
.page-template-news .entry-title {
    display: none;
}

#main.site-main {
    margin-top: 0;
}

.wp-block-spacer {
    height: 75px !important;
}

/* table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

#main.site-main table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    color: #1e1e1e;
    min-width: 900px;
}

#main.site-main table thead {
    background-color: #00aaa8;
    color: white;
}

#main.site-main table th, #main.site-main table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#main.site-main table tbody tr:nth-child(even) {
    background-color: #a9e9e6;
}

#main.site-main table tbody tr:hover {
    background-color: #d4f5f3;
    transition: 0.2s;
}

@media (max-width: 768px) {
    #main.site-main table th, #main.site-main table td {
        padding: 8px;
        font-size: 16px;
    }

    .wp-block-spacer {
        height: 50px !important;
    }
}

/* accordion */
.wp-block-accordion-heading__toggle {
    padding: 16px 8px 16px 16px;
    border-radius: 8px;
}

.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-heading__toggle:focus {
    background-color: #00aaa8;
}

.wp-block-accordion-panel {
    padding: 16px;
}
/* GENERAL - end */


/* HEADER - start */
.site-header {
    position: sticky;
    top: 0;
    background: #e7edf0;
    z-index: 999;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.site-header .site-header-anchor {
    text-decoration: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-branding img {
    max-height: 80px;
    width: auto;
}

.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 22px;
    text-transform: uppercase;
    color: #1e1e1e;
    margin: 0 0 0 20px;
}

.site-title span {
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
    letter-spacing: 0.1px;
}

.main-navigation {
    flex: 1;
    margin: 0 30px;
    background: #e7edf0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul ul {
    position: absolute;
    left: 0;
    min-width: 275px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.main-navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation a {
    font-size: 17px;
}

.main-navigation ul ul li a {
    display: block;
    padding: 10px 20px;
    color: #000;
    font-size: 16px;
    transition: 0.2s;
    white-space: nowrap;
}

.main-navigation ul ul li a:hover {
    background: #f5f7f8;
    color: #168a8d;
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

.nav-menu {
    display: flex;
    justify-content: end;
    gap: 30px;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu > li a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-menu li a:hover {
    color: #168a8d;
}

#menu-primary-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 18px;
}

#menu-primary-menu .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

#menu-primary-menu .menu-item-has-children:hover > a::after {
    transform: translateY(-40%) rotate(-135deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

#searchBtn {
    display: flex;
    padding: 10px;
    background-color: transparent;
}

#searchBtn:hover {
    background-color: transparent;
}

#searchBtn svg {
    width: 20px;
    height: 20px;
}

.search-bar {
    display: none;
    padding: 15px;
    background: #e7edf0;
    border-top: 1px solid #eee;
}

.search-bar.active {
    display: block;
}

/* MODAL WRAP */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

/* ACTIVE */
.search-modal.active {
    display: block;
}

/* OVERLAY */
.search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}

/* CONTENT */
.search-modal-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INPUT WRAP */
.search-input-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
}

/* INPUT */
.search-field {
    width: 100%;
    padding: 18px 20px !important;
    font-size: 20px;
    border-radius: 12px !important;
    border: none !important;
    outline: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* CLOSE BUTTON */
.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.search-modal {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.search-modal.active {
    opacity: 1;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .site-title {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px !important;
        display: none;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        margin-left: 0;
    }

    .main-navigation {
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
    }

    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #menu-primary-menu .menu-item-has-children.open > ul {
        max-height: 500px;
        width: 100%;
        left: auto;
        opacity: 1;
        transition-delay: 150ms;
        pointer-events: auto;
        height: auto;
        overflow: visible;
    }

    .main-navigation ul li.open > ul {
        display: block;
    }

    .nav-menu li a {
        padding: 12px 0;
        display: block;
    }

    .main-navigation ul ul li a {
        padding-left: 20px;
        font-size: 16px;
    }

    .header-inner {
        height: 70px;
    }

    #menu-primary-menu .menu-item-has-children > a::after {
        right: 6px;
    }

    .site-branding img {
        max-height: 50px;
    }

    #menu-primary-menu .menu-item-has-children.open > a::after,
    #menu-primary-menu .menu-item-has-children:hover > a::after {
        transform: translateY(-60%) rotate(45deg);
    }

    #menu-primary-menu .menu-item-has-children:not(.open) > a::after,
    #menu-primary-menu .menu-item-has-children:hover:not(.open) > a::after {
        transform: translateY(-40%) rotate(-135deg);
    }
}

@media (max-width: 768px) {
    .search-field {
        font-size: 16px;
        padding: 14px 16px 14px 45px;
    }

    .search-close {
        top: 20px;
        right: 20px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn {
        /* padding: 8px;
        font-size: 16px; */
        display: none;
    }
}
/* HEADER - end */ 


/* HERO SECTION - start */
.wp-block-cover, .wp-block-cover-image {
    min-height: 30vh;
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    overflow: clip;
    padding: 2em 1em;
    position: relative;
    margin-bottom: 60px;
}

.page-template-homepage .wp-block-cover, .wp-block-cover-image {
    min-height: 60vh;
}

.wp-block-cover .wp-block-cover__background {
    bottom: 0;
    left: 0;
    opacity: .2;
    position: absolute;
    right: 0;
    top: 0;
}

.wp-block-cover__inner-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    color: inherit;
    position: relative;
    width: 100%;
}

.hero-wrapper,
.hero-helper {
    position: relative !important;
}

.hero-wrapper .entry-meta,
.hero-wrapper .breadcrumbs{
    position: absolute;
    z-index: 1;
}

.hero-content {
    max-width: 50%;
    text-align: left;
}

.hero-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    margin-bottom: 0;
    font-size: 42px;
    line-height: 1.2em;
    font-weight: 400;
    text-transform: none;
}

.hero-text {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Buttons spacing */
.hero-content .wp-block-buttons {
    gap: 12px;
    display: none;
    margin-top: 25px;
}

.page-template-homepage .hero-content .wp-block-buttons {
    display: flex;
}

.entry-content:not(:first-child) {
    margin-top: 0;
}

.wp-block-cover .has-background-dim:not([class*=-background-color]) {
    background-color: #000 !important;
    opacity: .2;
}

.no-sidebar .entry-content .alignfull {
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
    width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
    .wp-block-cover, .wp-block-cover-image {
        padding: 1em 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .site-main .wp-block-group__inner-container {
        padding: 0;
    }
}
/* HERO SECTION - end */

/* News - start */
.pain-aktualne {
    padding: 0 20px 60px 20px;
}

.aktualne-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.aktualne-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.aktualne-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.aktualne-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-template-sia-news .card-image {
    height: 315px;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.date {
    color: #00aaa8;
    font-weight: 600;
    font-size: 16px;
}

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

.center {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .page-template-sia-news .card-image {
        height: 220px;
    }
}
/* News - end */

/* Quick access - start */
.pain-quick {
    padding: 60px 20px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-item {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #1e1e1e;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.quick-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.quick-item .icon img {
    margin-bottom: 10px;
    height: 75px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) saturate(100%) invert(44%) sepia(92%) saturate(1711%) hue-rotate(147deg) brightness(93%) contrast(102%);
}

.quick-item span {
    display: block;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1024px) {
    .aktualne-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aktualne-grid {
        grid-template-columns: 1fr;
    }

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

    .pain-aktualne,
    .pain-quick {
        padding: 40px 0px;
    }
}
/* Quick access - end */

/* Documents - start */
.pain-documents {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin: unset;
    margin-bottom: 20px;
}

.pain-documents a {
    width: fit-content;
    background-image: url(/wp-content/themes/pain_sk_template/assets/img/url.svg);
    background-position: 20px center;
    background-repeat: no-repeat;
    background-size: 20px;
    background-color: #a9e9e6;
    margin: 10px 0;
    padding: 5px 15px 5px 60px;
    min-height: 50px;
    display: flex;
    align-items: center;
    transition: all .3s;
    color: #1e1e1e;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
}

.pain-documents a[href$=".pdf"] {
    background-image: url(/wp-content/themes/pain_sk_template/assets/img/pdf.svg);
}

.pain-documents a[href$=".png"],
.pain-documents a[href$=".jpg"],
.pain-documents a[href$=".jpeg"],
.pain-documents a[href$=".webp"] {
    background-image: url(/wp-content/themes/pain_sk_template/assets/img/img.svg);
}

.pain-documents a:hover {
    background-color: #80dfda;
}

.pain-documents .wp-block-group__inner-container {
    padding: 0;
    margin: 0;
}

.pain-documents p {
    padding: 0;
    margin: 0;
}
/* Documents - end */

/* Subpages - start */
.subpages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.subpage-item {
    background-color: #a9e9e6;
    display: flex;
    min-height: 35px;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    transition: all .3s;
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 500;
}

.subpage-item:hover {
    background-color: #80dfda;
}

@media (max-width: 768px) {
    .subpages-grid {
        grid-template-columns: 1fr;
    }
}
/* Subpages - end */

/* slider - start */
.n2-ss-slider .n2-ss-section-main-content {
    justify-content: center !important;
}

div#n2-ss-2 .nextend-bullet-bar .n2-bullet {
    background: #fff;
}

div#n2-ss-2 .nextend-bullet-bar .n2-bullet.n2-active {
    background: #00aaa8;
}
/* slider - end */

/* SIA - start */
.page-template-sia #main {
    font-family: 'Source Sans Pro', sans-serif;
}

.page-template-sia #main .container,
.page-template-sia-subpage #main .container {
    max-width: 1155px;
}

.page-template-sia .sia-vybor .pain-documents {
    margin-bottom: -10px;
}

.page-template-sia h3,
.page-template-sia-subpage h3 {
    color: #336600;
}

#subnav {
    display: flex;
    gap: 10px;
	font-size: 20px;
	text-align: center;
	margin: 20px 0;
}

#subnav > a {
    flex: 0 0 17%;
    height: 110px;
}

#subnav section {
    flex: 0 0 calc(66% - 20px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#subnav section > .item {
    flex: 0 0 calc(50% - 5px);
    min-height: 60px;
}

#subnav .item {
    background: #a9e9e6;
	align-items: center;
    justify-content: center;
	color: #000;
	display: grid;
	padding: 10px;
	transition: all .75s;
    min-height: 130px;
    text-decoration: none;
}

#subnav .item:hover {
    background: #a9e9e6;
    transition: all .25s;
}

#subnav .item i {
	padding-top: 10px;
}

#subnav .item img {
    width: 32px;
	height: auto;
}

.vznik-image {
    width: 100%;
    height: 100%;
    background: url(/wp-content/themes/pain_sk_template/assets/img/vznik.jpg);
    background-size: cover;
}

.vznik-sia .pain-documents a {
    width: 100%;
}

.halfhold {
	display: flex;
	gap: 25px;
}

.half {
	flex: 1 1 0px;
}

.graybox {
	background: #F3F3F3;
	padding: 25px;
	transition: background-color .75s;
}

.graybox:hover {
	background: #E3E3E3;
	transition: background-color .25s;
}

.clen {
    position: relative;
}

.clen h3 {
    text-align: center;
	font-weight: normal;
	color: #000;
	margin: 0 0 15px 0;
}

.clen h3 b {
	font-weight: bold;
}

.clen p {
	width: 50%;
    font-size: 16px;
}

.clen p:last-of-type {
	margin-bottom: 75px;
}

.clen.rapcan {
	background-image: url(/wp-content/themes/pain_sk_template/assets/img/rapcan.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}

.clen.mlaka {
	background-image: url(/wp-content/themes/pain_sk_template/assets/img/mlaka.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}

.page-template-sia #main .btn {
	background: #a9e9e6;
	padding: 15px 25px;
	margin: 15px 0;
	display: inline-block;
	color: #000;
	transition: all .75s;
}

.page-template-sia #main .btn:hover {
	background: #76DCD7;
	transition: all .25s;
}

.page-template-sia #main .sia-vybor .btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    margin: 0;
}

.page-template-sia #main .institucie .btn,
.page-template-sia #main .publikovanie .btn,
.page-template-sia #main .videaaprezentacie .btn {
    display: flex;
    justify-content: center;
    text-align: center;
}

.page-template-sia #main .btn.big {
	padding: 20px 50px;
	display: table;
	margin: 35px auto;
	border: 1px solid #a9e9e6;
	background: #FFF;
	transition: all .75s;
    text-align: center;
}

.page-template-sia #main .btn.big:hover {
	border: 1px solid #a9e9e6;
	background: #76DCD7;
	color: #FFF;
	transition: all .25s;
}

.edukaciabg {
    width: 100%;
    height: 100%;
	background: url(/wp-content/themes/pain_sk_template/assets/img/edukacia.jpg);
	background-size: cover;
}

.contact-wrapper {
    width: 100%;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #a9e9e6;
    transition: background-color .75s;
}

.contact-wrapper:hover {
    background-color: #76DCD7;
}

.page-template-sia-subpage #main .btn {
    background: #a9e9e6;
    padding: 15px 25px;
    margin: 15px 0;
    display: inline-block;
    color: #000;
    transition: all .75s;
}

.page-template-sia-subpage #main .btn:hover {
    background: #76DCD7;
}

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

.clinicallist li {
	margin: 10px 0 0 0;
	padding: 15px 15px 15px 60px;
	box-sizing: border-box;
	background: #FFFFFF;
	transition: all .75s;
}

.clinicallist li:nth-of-type(2n+0) {
	background: #F2F2F2;
}

.clinicallist li:hover {
	background-color: #F2F2F2;
	transition: all .25s;
}

.clinicallist li a {
	color: #000;
	align-items: center;
	width: 100%;
}

.zobak li {
	background-image: url(/wp-content/themes/pain_sk_template/assets/img/li.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	background-size: 10px;
    word-break: break-word;
}

.zobak li:nth-of-type(2n+0) {
	background-image: url(/wp-content/themes/pain_sk_template/assets/img/li.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	background-size: 10px;
}

#edukacnevidea .halfhold .title {
	padding-top: 15px;
	text-align: left;
}

#edukacnevidea .halfhold p {
	font-weight: bold;
}

#edukacnevidea .halfhold .half {
	min-height: 350px;
    flex: 0 0 33.3333%;
}

.timebox {
	background: #F3F3F3;
    padding: 10px !important;
    transition: background-color .75s;
    width: 60px;
    text-align: center;
    float: right;
    font-size: 16px;
}

.timebox:hover {
	background: #E3E3E3;
	transition: background-color .25s;
}

@media (max-width: 1024px) {
    #subnav {
        font-size: 16px;
    }
}

@media (max-width: 990px) {
    .halfhold {
        display: block;
    }

    .halfhold .half {
        display: block;
        margin-bottom: 20px;
    }

    .page-template-sia .halfhold .btn {
        position: static;
    }

    #edukacnevidea .halfhold .half {
        min-height: 350px;
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    #subnav {
        flex-direction: column;
    }

    .vznik-image {
        height: 300px;
    }

    .edukaciabg {
        height: 150px;
    }

    .clen p {
        width: 100%;
    }

    .halfhold .clen {
        padding-bottom: 350px;
    }

    #edukacnevidea .halfhold .half {
        min-height: 350px;
        flex: 0 0 100%;
    }
}
/* SIA - end */

/* 404 - start */
.error404 #main .inside-article {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    background: #ffffff;
}

.error404 #main .inside-article .search-form {
    display: flex;
}

.error404 #main .inside-article .search-form .search-field {
    border-radius: unset !important;
}

.error404 #main .inside-article .search-form .search-submit {
    background: #00aaa8;
}

.error404 #main .inside-article .search-form .search-submit:hover {
    background: #168a8d;
}
/* 404 - end */

/* contacnt - start */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 400px;
    max-width: 100%;
}

.wpcf7-form-control-wrap[data-name="radio-986"] .wpcf7-radio {
    display: flex;
    flex-direction: column;
}

.wpcf7-submit {
    background: #00aaa8 !important;
}

.wpcf7-submit:hover {
    background: #168a8d !important;
}
/* contacnt - end */

/* cookie - start */
#cc-main {
    z-index: 9998;
}
/* cookie - end */

/* footer - start */
.pain-footer {
    background-color: #00aaa8;
    color: #fff;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-menu,
.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.footer-menu li.menu-item-has-children > a {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    display: block;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    max-width: 180px;
    width: auto;
    max-height: 80px;
    filter: brightness(0) saturate(100%) invert(99%) sepia(5%) saturate(1022%) hue-rotate(173deg) brightness(115%) contrast(100%);
}

.footer-col p.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    font-size: 22px;
    text-transform: uppercase;
    margin: 0 20px;
}

.footer-col p.footer-title a {
    text-decoration: none;
}

.footer-col p.footer-title span {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.footer-contact {
    display: flex;
    gap: 25%;
    margin-top: 15px;
}

.footer-contact a {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #fff;
}

.footer-bottom p {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 15px;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer-contact {
        margin-top: 40px;
        flex-direction: column;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Modal */
.medical-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.medical-modal-content {
    background: #fff;
    padding: 30px;
    width: 500px;
    max-width: 100%;
    text-align: center;
    border-radius: 8px;
    margin: 0 20px;
}

.medical-modal-content p {
    color: #1e1e1e;
}
/* footer - end */