/*
Theme Name: ZSO1-SP
Author: Soluxo Antoni Przymus
Author URI: https://soluxo.pl
Description: Motyw główny
Version: 1.0
Text Domain: zso1-sp
*/

:root {
    --color-primary: #fe9704;
    --color-primary-hover: #ce7800;
    --color-dark: #15505f;
    --bg-dark: #15505f;
    --bg-dark-secondary: #093c48;
    --bg-dark-gradient: linear-gradient(127deg, var(--bg-dark-secondary) 2%, var(--bg-dark) 85%);
    --bs-border-radius: 16px;
    --bs-border-radius-sm: 12px;
}

html {
	scroll-behavior: smooth;
}

body {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
	font-style: normal;
    color: #00161c;
    background-color: #eaebec;
    padding-top: 114px;
    overscroll-behavior-y: none;
    overflow-x: hidden;
}
@media screen and (max-width: 479px) {
    body {
        padding-top: 55px;
    }
}

b, strong {
    font-weight: bold !important;
}

li::marker {
    color: var(--color-primary);
}

::selection {
    background: var(--color-primary);
    color: #fff;
}

.fw-extrabold {
    font-weight: 900;
}

.section-title {
    background-color: var(--bg-dark-secondary);
    background-image: linear-gradient(45deg, var(--bg-dark-secondary), var(--bg-dark));
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.text-primary {
    color: var(--color-primary) !important;
}
.bg-dark {
    background-color: var(--bg-dark) !important;
}
.bg-dark-gradient {
    background: var(--bg-dark);
    background: linear-gradient(127deg, var(--bg-dark-secondary), var(--bg-dark));
}
.btn-dark {
    --bs-btn-padding-x: 0.875rem;
    --bs-btn-padding-y: 0.35rem;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bg-dark);
    --bs-btn-border-color: var(--bg-dark);
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-hover-border-color: var(--color-primary);
    --bs-btn-active-bg: var(--color-primary-hover);
    --bs-btn-active-border-color: var(--color-primary-hover);
    --bs-btn-disabled-color: var(--bg-dark);
    --bs-btn-disabled-border-color: var(--bg-dark);
}
.btn-blue {
    --bs-btn-padding-x: 0.875rem;
    --bs-btn-padding-y: 0.35rem;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-bg: var(--color-primary-hover);
    --bs-btn-hover-border-color: var(--color-primary-hover);
    --bs-btn-active-bg: var(--color-primary-hover);
    --bs-btn-active-border-color: var(--color-primary-hover);
    --bs-btn-disabled-color: var(--color-primary);
    --bs-btn-disabled-border-color: var(--color-primary);
}
.btn-blue:hover {
    color: #fff !important;
}
.btn-outline-blue {
    --bs-btn-padding-x: 0.875rem;
    --bs-btn-padding-y: 0.35rem;
    --bs-btn-color: var(--color-primary);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-hover-border-color: var(--color-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-primary-hover);
    --bs-btn-active-border-color: var(--color-primary-hover);
    --bs-btn-disabled-color: var(--color-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--color-primary);
}

.btn-mini {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    white-space: nowrap;
    vertical-align: baseline;
    line-height: 1;
}

.border-card-left {
    border-left: 6px solid var(--bg-dark) !important;
}
.border-card-right {
    border-right: 6px solid var(--bg-dark) !important;
}
.border-card-bottom {
    border-bottom: 6px solid var(--bg-dark) !important;
}

.smaller {
    font-size: 0.75em;
}

.dropdown {
    width: fit-content;
}
.dropdown-item:focus,
.dropdown-item:hover {
    border-radius: 10px;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--color-primary) !important;
}

.form-range::-webkit-slider-thumb {
    background-color: var(--bg-dark);
}
.form-range::-moz-range-thumb {
    background-color: var(--bg-dark);
}
.form-range::-ms-thumb {
    background-color: var(--bg-dark);
}
.form-range::-webkit-slider-runnable-track {
    background-color: #b9b9b9;
}
.form-range::-moz-range-track {
    background-color: #b9b9b9;
}
.form-range::-ms-track {
    background-color: #b9b9b9;
}

.pagination .page-link {
    border: none;
    background-color: transparent;
    color: var(--bs-dark-text-emphasis);
    border-radius: 12px;
}
.pagination .page-item.active > .page-link {
    color: #fff;
    background-color: var(--bg-dark-secondary);
}
.pagination .page-item:not(.disabled) > .page-link i {
    color: var(--color-dark);
}

.wp-block-image {
    width: 100%;
    text-align: center;
}
.wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    transition: .25s all ease;
    background-color: var(--bg-dark);
    box-shadow: 0 8px 30px 0 rgb(0 0 0 / 30%);
}
@media screen and (max-width: 479px) {
    header {
        position: absolute;
    }
    header .header-top {
        display: none;
    }
}
@media screen and (max-width: 992px) {
    header .nav:not(.nav-mobile) {
        display: none;
    }
}
@media screen and (min-width: 479px) {
    header.scrolled {
        top: -46px;
    }
}
header .logo {
    color: #fff;
    text-decoration: none;
}
header .logo h6 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0px;
}
header .logo span {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}
header .header-top {
    background-color: #fff;
}
header .acs a,
header .header-top .menu a {
    color: var(--bs-gray-600);
    font-size: 13px;
    padding: 0px 6px;
    text-decoration: none;
}
header .header-top .vr {
    margin: 0 10px;
}
header .header-main ul.nav > li.nav-item {
    transition: .15s all ease;
}
header .header-main ul.nav > li.nav-item:hover {
    background-color: var(--color-primary);
}
header .header-main ul.nav > li.nav-item > a {
    color: #fff;
    padding: 22px 14px;
    transition: .15s all ease;
}
header .header-main ul.nav > li.nav-item:hover > a {
    color: #fff;
}

/* Megamenu integration */
header .header-main ul.nav > li.nav-item.megamenu-item {
    position: static;
}
header .header-main ul.nav > li.nav-item.megamenu-item .dropdown-menu.megamenu {
    background: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

header .header-main ul.nav.lang > li.nav-item > a {
    padding: 22px 8px;
}
header .header-main ul.nav.lang .dropdown-menu {
    --bs-dropdown-min-width: auto;
    --bs-dropdown-bg: var(--bg-dark);
    --bs-dropdown-item-padding-x: 0.9rem;
    margin-top: -3px !important;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin-left: -1px !important;
}
header .header-main ul.nav.lang .dropdown-menu .dropdown-item:focus, 
header .header-main ul.nav.lang .dropdown-menu .dropdown-item:hover {
    color: inherit;
    background-color: var(--bg-dark-secondary);
}

header .socials a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    color: inherit;
    font-size: 16px;
    border: 1px solid;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: 0.1s all ease-in;
}
header .socials a:hover{
    background-color: var(--color-dark);
    color: #fff;
}
header .nav-mobile-button {
    position: absolute;
    top: 14px;
    right: 12px;
    font-size: 1.75rem;
    background: none;
    border: none;
    color: #fff;
    z-index: 1;
    display: none;
}
@media screen and (min-width: 479px) {
    header .nav-mobile-button {
        top: 60px;
    }
}
header .nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    overflow: hidden;
    padding: 1.5rem 3rem;
    display: none;
}
header .nav-mobile .menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid #fff;
    max-width: 250px;
    width: 100%;
    text-align: center;
}
header .nav-mobile .menu-item a {
    color: #fff;
    text-decoration: none;
}
header .nav-mobile .menu-item:last-child {
    border-bottom: none;
}
@media screen and (max-width: 992px) {
    header .nav-mobile-button {
        display: block;
    }
}
header .nav-mobile-overlay .menu-top a {
    color: #fff;
    text-decoration: none;
}

/* Page Banner */
section.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 312px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
section.banner.bigger {
    min-height: 500px;
}
section.banner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0.7;
    background: linear-gradient(0deg, rgb(24, 27, 31) 0px, rgba(24, 27, 31, 0) 100%);
}
section.banner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgb(24, 27, 31);
    opacity: 0.4;
}
section.banner > .banner-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 100px;
    z-index: 2;
}
section.banner > .banner-container {
    color: #fff;
    text-align: center;
}
@media screen and (max-width: 767px) {
    section.banner > .banner-container {
        padding: 40px 8px;
    }
    
}

/* Banner carousel */
section.banner-carousel {
    height: 420px;
}
section.banner-carousel::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30px;
    top: 0;
    left: 0px;
    box-shadow: 0px -4px 20px 0px var(--bg-dark);
    z-index: -1;
}
section.banner-carousel .carousel-inner {
    height: 450px;
}
section.banner-carousel .banner-carousel-bg {
    background-image: url(/wp-content/themes/default_theme/198_logo_bc.png);
    background-repeat: no-repeat;
    background-position: 190px 0px;
    background-size: 420px;
}
section.banner-carousel .banner-carousel-text {
    padding: 70px 140px 70px 0px;
}
section.banner-carousel .banner-carousel-img {
    position: relative;
}
section.banner-carousel .banner-carousel-img .banner-carousel-img-content {
    position: absolute;
    height: 450px;
    left: -40px;
}
section.banner-carousel .banner-carousel-img .banner-carousel-img-content img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 0 16px 16px;
}
@media screen and (max-width: 767px) {
    section.banner-carousel .banner-carousel-text {
        padding: 70px 0px 25px 0px;
    }
    section.banner-carousel {
        height: auto;
    }
    section.banner-carousel .carousel-inner {
        height: auto;
    }
    section.banner-carousel .banner-carousel-img {
        position: relative;
        height: auto;
    }
    section.banner-carousel .banner-carousel-img .banner-carousel-img-content {
        position: relative;
        height: auto;
        left: 0;
    }
    section.banner-carousel .banner-carousel-img .banner-carousel-img-content img {
        border-radius: 16px 16px 0 0;
    }
}

/* Slider */
section.slider .carousel .carousel-item img {
    height: 40vh;
    object-fit: cover;
    width: 100%;
}
section.slider .carousel .carousel-item .card {
    position: absolute;
    height: 100%;
    top: 0;
    border-radius: 0px;
    border: none;
    box-shadow: 0 0 6px rgb(0 0 0 / 35%);
    backdrop-filter: blur(5px);
    background-color: rgb(0 25 52 / 90%);
    color: #fff;
}

/* Links */
section.links {
    padding-top: 40px;
    padding-bottom: 30px;
}
section.links .col {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 50px;
}
section.links a {
    display: block;
    width: 120px;
    height: 120px;
    text-decoration: none;
    color: inherit;
    margin: 10px;
}
section.links .link-box {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s all;
}
section.links a:hover {
    color: #fff;
}
section.links .link-box:hover {
    background: linear-gradient(127deg, var(--bg-dark-secondary) 2%, var(--bg-dark) 85%);
}
section.links .link-box .icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark-secondary);
}
section.links .link-box:hover .icon {
    color: #fff;
}
section.links .link-box .icon svg,
section.links .link-box .icon img {
    width: 60px;
    height: 60px;
}
section.links .link-box-title {
    line-height: 1.2rem;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}
section.links .drag-icon {
    display: none;
}
section.links .drag-icon img {
    width: 30px;
}
@media screen and (max-width: 767px) {
    section.links {
        padding-top: 10px;
        padding-bottom: 0px;
    }
    section.links .col {
        margin-left: 0;
    }
    section.links a {
        width: 90px;
        height: 90px;
    }
    section.links .link-box {
        width: 90px;
        height: 90px;
    }
    section.links .link-box .icon svg {
        width: 50px;
        height: 50px;
    }
    section.links .drag-icon {
        display: block;
    }
}

/* Events */
section.events {
    padding: 70px 0px;
}
section.events .card .card-header {
    position: absolute;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20%;
    border-radius: 16px;
    background: linear-gradient(127deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* News */
section.news .card.sticky {
    background-color: var(--bg-dark);
    color: #fff;
}
section.news .card.sticky .footer {
    color: #d5d5d5 !important;
}
.card-news-index img {
    height: 260px;
    object-fit: cover;
    filter: blur(0.5px);
}
section.news.page .card-news img {
    height: 200px;
    object-fit: cover;
    filter: blur(0.5px);
}
section.news .card:not(.sidebar) a,
section.events .card:not(.sidebar) a,
section.sport .card:not(.sidebar) a {
    text-decoration: none;
    color: inherit;
}
section.news .card .footer,
section.sport .card .footer {
    font-size: 13px;
}
section.news .card .date > svg,
section.sport .card .date > svg {
    width: 14px;
    height: 14px;
    margin-right: 3px;
}
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    transform: scale(0.5);
  }
  .ribbon::before,
  .ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #951f2a;
  }
  .ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #da1528;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.65);
    text-transform: uppercase;
    text-align: center;
  }
  
  /* top left */
  .ribbon-top-left {
    top: -42px;
    left: -42px;
  }
  .ribbon-top-left::before,
  .ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
  }
  .ribbon-top-left::before {
    top: 0;
    right: 0;
  }
  .ribbon-top-left::after {
    bottom: 0;
    left: 0;
  }
  .ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
  }
  /* top right */
  .ribbon-top-right {
    top: -42px;
    right: -42px;
  }
  .ribbon-top-right::before,
  .ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
  }
  .ribbon-top-right::before {
    top: 0;
    left: 0;
  }
  .ribbon-top-right::after {
    bottom: 0;
    right: 0;
  }
  .ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
  }

/* Sekcja hiszpańska */
section.sekcjahiszp {
    background-image: url('/wp-content/uploads/2024/07/bg-sekcjahiszp-10.png');
    background-size: cover;
    background-position: center;
    min-height: 30rem;
}
@media screen and (max-width: 479px) {
    section.sekcjahiszp {
        background-position: 100%;
    }
}

/* Sport */
section.sport .ih-12 {
    height: 12rem;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}
section.sport .ih-20 {
    height: 20rem;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

/* Projects */
section.projects {
    overflow-x: hidden;
}
section.projects .card .card-image {
    position: absolute;
    width: 220px;
    height: 85px;
    max-height: 85px;
    left: 50%;
    transform: translateX(-50%);
    top: -45px;
}
section.projects .card .card-image .card {
    height: 85px;
    max-height: 85px;
}
section.projects .card .card-image .card img {
    position: relative;
    height: 100%;
    object-fit: contain;
}

/* Rekrutacja */
section.rekrutacja {
    padding: 180px 0;
    background-image: url(/wp-content/themes/default_theme/img/img_zso1_breadcrumbs.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section.rekrutacja .nav-link {
    background: #fff;
    width: 290px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 25px;
    margin-bottom: 16px;
    color: inherit;
    border-radius: 16px;
    text-align: left;
    line-height: 32px;
    box-shadow: 0px 10px 16px rgb(0 0 0 / 10%);
}
section.rekrutacja .nav-link.active {
    background: linear-gradient(127deg, var(--bg-dark-secondary) 2%, var(--bg-dark) 85%);
    color: #fff;
}
section.rekrutacja .nav-link > img,
section.rekrutacja .nav-link > svg {
    height: 32px;
    width: 32px;
    float: left;
    text-align: left;
    margin-right: 25px;
}
section.rekrutacja .tab-content {
    margin-left: 0;
}
@media screen and (max-width: 767px) {
    section.rekrutacja {
        padding: 30px 0;
    }
}
@media screen and (min-width: 767px) {
    section.rekrutacja .tab-content {
        margin-left: 50px;
    }
}
/* Breadcrumbs */
.breadcrumbs {
    background-image: url(/wp-content/themes/default_theme/img/img_zso1_breadcrumbs.png);
    background-repeat: no-repeat;
    background-position: 0px -540px;
    background-size: cover;
}
.breadcrumb {
    font-size: 14px;
}
.breadcrumb-item a {
    color: var(--color-dark);
    text-decoration: none;
}
@media screen and (max-width: 767px) {
    .breadcrumbs {
        background-position: 0px 0px;
    }
}

/* Footer */
footer {
    font-size: 14px;
    background-color: var(--bg-dark);
    color: #fff;
    padding: 3rem 0 2rem;
}
footer .link {
    margin-bottom: 0;
}
footer .link > i {
    display: inline-block;
    width: 20px;
    text-align: center;
}
footer a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}
footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
footer .nav-link {
    color: inherit;
}
footer .nav-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
footer .border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) var(--color-primary) !important;
}
footer .menu-footer li {
    margin-bottom: .5rem !important;
}
footer .menu-footer li a {
    font-weight: normal;
}

/* WP align fix */
.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft {
    float: left;
}
.alignright {
    float: right;
}

/* Elementor */
.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0 !important;
}



.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
}

/* Projects Carousel */
.projects-carousel {
    position: relative;
    padding: 0 60px;
}
.projects-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    left: 0;
}
.projects-carousel .owl-nav .owl-prev,
.projects-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}
.projects-carousel .owl-nav .owl-prev:hover,
.projects-carousel .owl-nav .owl-next:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}
.projects-carousel .owl-nav .owl-prev {
    left: 5px;
}
.projects-carousel .owl-nav .owl-next {
    right: 5px;
}
.projects-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}
.projects-carousel .owl-dots .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.projects-carousel .owl-dots .owl-dot.active,
.projects-carousel .owl-dots .owl-dot:hover {
    background: var(--color-primary);
}
.projects-carousel .owl-stage-outer {
    padding-bottom: 30px;
    overflow: hidden;
}
.projects-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.projects-carousel .owl-stage.two-items {
    justify-content: center;
    max-width: 66.666%;
    margin: 0 auto;
}
.projects-carousel .owl-stage.one-item {
    justify-content: center;
    max-width: 33.333%;
    margin: 0 auto;
}
.projects-carousel .owl-item {
    display: flex;
    align-items: stretch;
    height: auto;
}
.projects-carousel .item {
    padding: 0 15px;
    display: flex;
    align-items: stretch;
    height: 100%;
    width: 100%;
}
.projects-carousel .item .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.projects-carousel .item .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.projects-carousel .item .card-body > div:last-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
    .projects-carousel {
        padding: 0 50px;
    }
    .projects-carousel .owl-nav .owl-prev,
    .projects-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .projects-carousel .owl-nav .owl-prev {
        left: 5px;
    }
    .projects-carousel .owl-nav .owl-next {
        right: 5px;
    }
    /* Responsive centering for tablets */
    .projects-carousel .owl-stage.two-items {
        max-width: 100%;
    }
    .projects-carousel .owl-stage.one-item {
        max-width: 50%;
    }
}
@media screen and (max-width: 576px) {
    .projects-carousel {
        padding: 0 35px;
    }
    .projects-carousel .owl-nav .owl-prev,
    .projects-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    .projects-carousel .owl-nav .owl-prev {
        left: 0;
    }
    .projects-carousel .owl-nav .owl-next {
        right: 0;
    }
    /* Responsive centering for mobile */
    .projects-carousel .owl-stage.two-items,
    .projects-carousel .owl-stage.one-item {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .owl-carousel.linkbox-carousel {
        padding: 0;
    }
}

.projects-carousel .item .card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.projects-carousel .item .card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Categories page */
section.categories .card.category:hover {
    background: linear-gradient(127deg, var(--bg-dark-secondary) 2%, var(--bg-dark) 85%);
    color: #fff;
}
section.categories .card.category a {
    color: inherit;
    text-decoration: none;
}
section.categories .card.category .arrow {
    position: absolute;
    right: 18px;
    bottom: 50%;
    transform: translateY(50%);
    background-color: var(--bg-dark);
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    padding: 1px;
}
section.categories .card.category:hover .arrow {
    background-color: #fff;
    color: var(--color-dark);
}

/* Single page */
.cal-icon {
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}
.cal-icon.google {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACHklEQVQ4jWNgwALu9/cLfJjQXvqhtXbl+9aatR96mzteT+hUx6YWBdzoLOP9UFe276Wvw79Xzqb/UbCL+f+3hen33k/tMsCq+dXUPpW3yRGfMTSi4ddR/j/+z5zJiqL5dm4u+9vkyI/ICt8khn59V1N89ENj5a53+SlPX7ma/3/l7/Tv87QJoRi2f55fuRyu2dX8/4fOhnn/GRgYkdV8nNQT/WFqbziG5v//GRh/HpL//XOrx/9XHub/3zVXbiUYWMjgx7Vi1997WP//3sP6/8dBy9/vZs7kR5bv2vhtSvvGb8uw4WlbPigx/L6WWQMz4NdJizfoFoRP+vLLqfXLf2x4wvZveQy/r2VVwwz4ecLiLSkGTNz2rYzh+80yZ5gBJ4/6/G44MYkP2YDWdd/W1q3+dgCGvbs+/4MZMHPn1wCG//8ZGH8cUvq14HDqf7OVIf8rj/biDMT+bV8DYJq9uj7/a5j/n4OBgYGBYfqJnmUmK4L/m6wI/m+2MvR//YlJCxn+o0bjhL2n7KKmfPkBM6Bs2dfLcMncbbnsUduLPsAMMVkR/D9wS/a3gv1tJ0oOd+xP2lX52HJV+P/07TP+u3a8/+/b8/nf1F1fUJP0tEtLlcK3F35CNgQbjtlW92fCjs85WP1YsrObu/Jo907HtbF/0TWarQz5n7S7+ln/6fkOuMIIxaDO03Ny6k9MWlh/fOLK1lMz2npOzNPCphYAFk+bEHlmFVMAAAAASUVORK5CYII=);
}
.cal-icon.outlook {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAB8klEQVQ4jWNgQAMsqdtMWVN2phHCzKk7gtH1QgxI3rGDJWXHf2IwQ9oZVkwD0navZk7f8wiEWdL3PuLK3w/HvMUHHgmUH4ZjhvorbAwMM8+w8rdfEoRhloor+4H4Pwhz115/rLn89X8Ydj3984D/jf//YdjnzH8uBrGGa0/EGq//x4ZFG679U1/4lIABSBpMJt757zTz/n9xJDHF3tPEGVC78+X/9Vc+/p989M3/DVc/wQ1gzdj6lKny8m0Qlpv9ZJvmite3YVhm1SNOuAEP3//6L9V8A8w+dO/Lf4vJd8Fslqyd/xmB4QHCcrOeHkAOE+GIOVJgAySarv9//OEX3Ol7bhNnAKdV11G4C2aeePt/xvG3/6u3v/i/+9ZnuGFsscsuM2UeOgjCgo1X1kv33jko3Xv3mETf3aei/Xe/owSi3/yH/8OWPIJ7BWxA9FJ4whGsPH9QrO3Wf7G+e//F+sH4N9CAa49xRaN449V/Qvkb/7Om7frPmX/ov0jPnS9QjRDcd+8XSkJS6j1+SrH3+H8YVgZi1elX/6sufP5Xetqj/yia4QYgAc1lr/YjBxI6Vlnw/L/k5IdwA0T77/1EMUBj2ett+AwAYY3lr/4rznn2X2LCfZAhH1AMUF/1Wl1l4Yv5ivOfbyOEFeY+XSM16YkLABfTMT+fOJwjAAAAAElFTkSuQmCC);
}
.cal-icon.apple {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADQSURBVDhPldO9DsFgFIDhRszEz2RxCcRgEKvBhMRgYRIroxpdDAlWcQEWkwgX4GcVcQm8R0q032navsmTps35mq9Na4WshAUKn7OI1fByZORClGK4QhaP5ELYks5RmqGPBAJ30MMBd+wxQRcrPPDEGmUYDfB91iBbyOP9ki3L3bVhrxtycFWHNqyxYSQvSRvWtGDUgTasGcOoCG1Yc0EKruI4Q1ugOcH4rKfQhv1U4CoN+YC0Ya851BrQFvyTfyML35o4Yok2qhhihw3ycLKsN5xffz4Xe5saAAAAAElFTkSuQmCC);
}
.cal-icon.ics {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA1klEQVQ4jWNgoAaYPHmyz8SJE8vR8aRJk8KJMgCosBubONCQI0C5SIIGABU24BIH4kwgdiTLAJjLQPITJkxQJccAbyDuAGFcajAMqK+vZwJqiMESqLvR+CVTpkxRwTAAqtkKt4fhlrID8QQMA2BsoEEuoFiARvEEIH8aMhtFHzYDYGw013kD+e0gmhQDKoE2CwOxO1CjLYgNFJuOz4BKkP9AXgCFfm9vrxCQrgFiT2Q2TgNAITsRAjCSNloyrwXSRRgG4Al13GpAoUrAxnZgSvQiZAlZAACUduOsFMhytgAAAABJRU5ErkJggg==);
}

/* Event card */
.card-event {
    min-height: 100px;
}
.card-event .date {
    position: absolute;
    right: 0px;
    height: 100%;
    width: 80px;
    text-align: center;
    background: linear-gradient(127deg, var(--bg-dark-secondary) 2%, var(--bg-dark) 85%);
    border-radius: 0px 16px 16px 0px;
    padding: 8px 4px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-event .date .number {
    font-size: 24px;
    font-weight: 800;
}
.card-event .date .month {
    font-size: 12px;
    margin-top: -6px;
}
.card-event .content {
    max-width: 74%;
}
.card-event .content a {
    color: inherit;
    text-decoration: none;
}

/* Sidebar */
.sidebar .sidebar-title {
    color: var(--color-dark);
    text-transform: uppercase;
    font-weight: 700;
}
.sidebar ul.nav a.nav-link {
    padding: 4px 0px;
    font-size: 14px;
    color: inherit;
}
.sidebar ul.nav a.nav-link > i {
    color: var(--color-primary)
}

/* Accordion paragraph */
.accordion-body p {
    margin-bottom: 0;
}

/* Alert paragraph */
.alert p {
    margin-bottom: 0;
}

/* Banners */
.video-banner {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}
.image-banner {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.image-banner .banner-container {
    position: relative;
    z-index: 1;
}
.banner {
    transition: opacity 0.5s ease-in-out;
}
.banner.fade-out {
    opacity: 0;
}
.banner.fade-in {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .banner-video {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.icon-bip {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' x='0px' y='0px' viewBox='0 0 544 236.9' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Layer_1-2'%3E%3Cpath d='M353.8,0c10.2,0,18.5,8.3,18.5,18.5S364,37,353.8,37c-10.2,0-18.5-8.3-18.5-18.5S343.6,0,353.8,0C353.8,0,353.8,0,353.8,0' fill='%23fff'/%3E%3Cg%3E%3Cpath d='M251.8,45.4L251.8,45.4c-12.4,0-24,3.3-34.1,9c-0.1-11.9-0.3-23.8-0.4-35.7c0-0.1,0-0.1,0-0.2c0-10.2-8.3-18.5-18.5-18.5c-10.2,0-18.5,8.3-18.5,18.5h0v100.6l0.5-0.7c0,0.2,0,0.5,0,0.7c0,40.8,31.8,73.8,71,73.8c39.2,0,71-33,71-73.8C322.8,78.4,291,45.4,251.8,45.4z M252.8,158.9c-22.3,0.2-40.5-17.8-40.7-40.1c0-0.1,0-0.2,0-0.3C212,96.2,230,78.1,252.2,78.1c22.3-0.2,40.5,17.8,40.7,40.1S275.1,158.7,252.8,158.9z' fill='%23fff'/%3E%3Cpolygon points='180.3,18.6 180.3,18.6 180.3,18.6' fill='%23fff'/%3E%3C/g%3E%3Cpath d='M472.9,45.4c-39.2,0-71,33-71,73.8c0,0,0,0,0,0l0,0c0.4,33,0.9,66,1.3,99c0,0.1,0,0.1,0,0.2c0,10.2,8.3,18.5,18.5,18.5s18.5-8.3,18.5-18.5c0,0,0,0,0,0h0.1v-33.7c9.8,5.3,20.9,8.3,32.7,8.3c39.2,0,71-33,71-73.8C543.9,78.4,512.2,45.4,472.9,45.4z M473.9,158.9c-22.3,0.2-40.5-17.8-40.7-40.1c0-0.1,0-0.2,0-0.3c-0.1-22.2,17.9-40.3,40.1-40.4c22.3-0.2,40.5,17.8,40.7,40.1S496.3,158.7,473.9,158.9z' fill='%23fff'/%3E%3Cpath d='M382.5,160.7L382.5,160.7C382.5,160.7,382.5,160.7,382.5,160.7c-1.6-1.4-3.3-2.5-5.3-3.3c-2-2.3-3.6-6.5-4.5-14.6c-1.6-14.8-0.9-42.9-0.1-71h0c0,0,0,0,0,0c0-10.2-8.3-18.5-18.5-18.5s-18.5,8.3-18.5,18.5c0,0,0,0,0,0l0,0h0c0,0,0,0.1,0,0.1c-0.4,34.4-0.8,68.8,3.5,88.6c4.3,19.9,13.3,25.1,22.3,30.3l0,0c2.6,1.4,5.6,2.2,8.7,2.2c10.2,0,18.5-8.3,18.5-18.5C388.8,169,386.3,164,382.5,160.7z' fill='%23fff'/%3E%3Cpath d='M0,44.5h142.6v147.8L0,44.5' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}