/*
Theme Name: Kontakthuenberg
Author: Portalworks
Version: 1.0.0
Text Domain: kontakthuenberg
*/



/***************************************************************
                         FONTS
***************************************************************/
/* eb-garamond-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-500italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-600italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-800italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/eb-garamond-v32-latin_latin-ext-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/***************************************************************
                         ROOT
***************************************************************/
:root {
    --font-primary: 'EB Garamond', serif;
    --primary-dark-color: #554D72;
    --primary-light-color: #D1A3CA;
    --secondary-color: #f79145;
    --border-width-sm: 10px;
    --border-width-lg: 20px;
    --black: #221f21;
    --white: #ffffff;
    --blue: #6bcff6;
    --disabled: #A7A5A4;
    --filter-primary-dark: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1990%) hue-rotate(212deg) brightness(91%) contrast(80%);
}
#wpadminbar {
  position: fixed;
}
body {
  color: var(--black);
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}
a {
    color: var(--primary-dark-color);
}
p {
    line-height: 1.1;
}
.admin-bar .offcanvas {
    top: 46px;
}
html :where(.wp-block) {
    max-width: 100%;
    margin-bottom: 0;
    margin-top: 0;
}

/***************************************************************
                         PRE-DEFINED
***************************************************************/
.bg-primary-light {
    background-color: var(--primary-light-color);
}
.bg-primary-dark {
    background-color: var(--primary-dark-color);
}
.border-top-sm {
    border-top: var(--border-width-sm) solid var(--primary-light-color);
}
.border-sm {
    border: var(--border-width-sm) solid var(--primary-light-color);
}

.border-top-lg {
    border-top: var(--border-width-lg) solid var(--primary-light-color);
}
.border-lg {
    border: var(--border-width-lg) solid var(--primary-light-color);
}

.editor {
    h1, h2 {
        font-family: var(--font-secondary);
        font-style: italic;
    }
}
.section-title {
    color: var(--primary-dark-color);
    font-style: italic;
    font-size: 28px;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
	background-color: rgba(209, 163, 202, 0.75);
	border-color: var(--primary-dark-color);
	color: var(--black);
}

.section-padding-sm {
    padding-top: 30px;
    padding-bottom: 30px;
}
.section-padding-md {
    padding-top: 35px;
    padding-bottom: 35px;
}
.section-padding-lg {
    padding-top: 45px;
    padding-bottom: 45px;
}

.custom-radius-top-left {
    position: relative;
    background-color: var(--primary-light-color);
    width: 100px;
    height: 100px;
    z-index: 0;
    &::before {
        content: '';
        background-color: #fff;
        top: 0;
        left: 0;
        position: absolute;
        height: 100px;
        width: 100px;
        border-top-left-radius: 100px;
    }
}
.custom-radius-bottom-right {
    position: relative;
    background-color: #FFFFFF;
    width: 100px;
    height: 100px;
    z-index: 0;
    &::before {
        content: '';
        background-color: var(--primary-light-color);
        bottom: 0;
        right: 0;
        position: absolute;
        height: 100px;
        width: 100px;
        border-bottom-right-radius: 100px;
    }
}
.btn {
    padding: 1px 20px;
    border-radius: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}
.btn-lg {
    padding: 4px 20px;
    font-size: 24px;
}
.btn-primary {
    background-color: var(--primary-light-color);
    border-color: var(--primary-light-color);
    color: var(--black);
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary.active  {
    background-color: var(--primary-dark-color) !important;
    border-color: var(--primary-dark-color) !important;
    color: var(--white) !important;
}
.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}
.btn-white:hover,
.btn-white:active,
.btn-white:focus,
.btn-white.active  {
    background-color: var(--primary-dark-color) !important;
    border-color: var(--primary-dark-color) !important;
    color: var(--white) !important;
}

.navbar-brand {
    display: flex;
    justify-content: end;
    align-items: start;
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px;
    width: 80px;
    height: 80px;
    z-index: 10;
}
.navbar-brand::after {
    content: "";
    position: absolute;
    background-color: var(--primary-dark-color);
    top: 0;
    right: 0;
    width: 130%;
    height: 130%;
    z-index: 3;
    clip-path: circle(96.0% at 96% 4%);
}
.navbar-brand img {
    width: 100%;
    z-index: 5;
    position: relative;
}
.btn-close:focus,
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
	position: relative;
	left: -3px;
}
.offcanvas-header {
    padding: 18px 22px;
}
.navbar .nav-link {
    font-size: 20px;
    color: #FFFFFF;
}
.navbar .nav-link.active {
    color: var(--secondary-color);
}
.offcanvas {
    background-color: var(--primary-dark-color);
}
.offcanvas-body {
    padding-left: 26px;
}
.hero-swiper-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5/1;
}
.hero-text {
    transform: translateY(-70px);
    z-index: 3;
    margin-bottom: -70px;
}
.hero-text h1 {
    font-size: 28px;
    font-style: italic;
    line-height: 1.1;
}
.hero-text p:last-child {
    margin-bottom: 0;
}
.hero-text p {
    line-height: 1.1;
}
.event-list p,
.hero-text p {
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.1;
}
.hero-text-inner::after {
    content: "";
    position: absolute;
    background-color: var(--primary-light-color);
    top: 0;
    right: 0;
    width: 500%;
    height: 100%;
}
.background-transparent.hero-text-inner::after {
	content: none;	
}
.hero-text-inner {
    padding: 30px 16px 30px 0;
    width: 85%;
    max-width: 890px;
}
.event-list-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5/1;
}
.event-list-section {
    padding: 75px 0 30px 0;
}
.ev-list-title {
    color: var(--primary-dark-color);
    font-style: italic;
    line-height: 1;
    margin-bottom: 16px;
}
.event-list {
    width: 95%;
    transform: translateY(-50px);
    margin-bottom: -50px;
    padding: 16px 8px 0 16px;
    border-top: 5px solid var(--primary-light-color);
}
.event-list-section .row {
    --bs-gutter-x: 36px;
}
.event-agenda-list {
    list-style: none;
}
.event-agenda-list li {
    border-top: 1px solid var(--black);
    padding: 4px 0;
    
}
.event-agenda-list li a::after {
    content: "";
    position: absolute;
    background-color: var(--primary-light-color);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-image: url(img/arrow-right.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    transition: all .2s;
}
.event-agenda-list li a {
    text-decoration: none;
    color: var(--black);
    display: flex;
    position: relative;
    padding-right: 32px;
    overflow-wrap: break-word;
    hyphens: auto;
}
.event-agenda-list li a span {
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 25px;
}
.event-agenda-list li a:hover::after {
    background-color: var(--primary-dark-color);
}
.ev-list-top-title {
    font-size: 18px;
}
.event-teaser-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.4/1;
}
.event-teaser-text {
    padding: 12px 8px 24px 24px;
}
.event-teaser-desc {
    font-size: 18px;
    color: var(--black);
    line-height: 1.1;
    hyphens: auto;
    overflow-wrap: break-word;
}
.event-teaser .row {
    --bs-gutter-x: 36px;
}
.event-teaser-text h2 {
    font-style: italic;
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1.1;
}
.event-teaser-text h2 a{
    text-decoration: none;
    color: var(--black);
	display: block;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
	max-width: 100%;
}
.event-time {
    font-size: 16px;
    line-height: 1;
}
.event-teaser-text .btn {
    min-width: 195px;
}
.gallery-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    background-color: var(--primary-light-color);
    transition: all .2s;
}
.swiper-slide-active .gallery-image {
    padding: 8px;
}
.gallery-swiper-container .swiper-slide {
    scale: .72;
    transition: all .2s;
    z-index: 2;
}
.gallery-swiper-container .swiper-slide-active {
    scale: 1;
    z-index: 5;
}
.swiper-button-next,
.swiper-button-prev {
    border: 2px solid var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}
.swiper-button-next::after,
.swiper-button-prev::after {
   font-size: 20px;
   color: var(--white);
}
.soc-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
}
.soc-icon img {
    width: 60%;
    height: auto;
    filter: var(--filter-primary-dark);
}
.footer-socials a:hover .soc-icon {
    background-color: var(--primary-light-color);

}
footer {
    background-color: var(--primary-dark-color);
    border-top: 15px solid var(--primary-light-color);
    padding: 30px 0;
}
.footer-links a,
.footer-text a,
.footer-text {
    color: var(--white);
    text-decoration: none;
    font-size: 22px;
}

.footer-links a:hover,
.footer-text a:hover {
    text-decoration: underline;
}
.footer-logo img {
    width: 120px;
}
.footer-links {
    gap: 32px;
}
.footer-text p:last-child {
    margin-bottom: 0;
}
.ev-list-subtitle {
    margin-top: 14px;
    color: var(--primary-dark-color);
    font-style: italic;
    margin-bottom: 6px;
}
.gallery-swiper-container {
    padding-bottom: 32px;
}
.gallery-pagination {
    bottom: 0 !important;
    top: auto !important;
    display: flex;
    justify-content: center;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-light-color);
    opacity: 1;
    margin: 0 3px !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--primary-dark-color);
}
.ti-section-block {
    background-color: var(--primary-light-color);
}
.ti-section-text {
    padding: 50px 45px 65px 48px ;
}
.ti-section-text h2 {
    font-style: italic;
    line-height: 1.1;
}
.hero-keywords {
    font-weight: 800;
    margin-bottom: 20px;
}
.hero-disturber {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: -55px;
    right: -50px;
    background-color: var(--primary-dark-color);
    color: var(--white);
    font-size: 14px;
    text-align: center;
    line-height: 1.1;
    padding: 20px 10px;
}
.event-content-text p {
    line-height: 1.1;
    hyphens: auto;
    overflow-wrap: break-word;
}
.event-content-text span {
    color: var(--primary-dark-color);
    font-style: italic;
    font-weight: 600;
}
.event-content-text a:not(.btn) {
    color: var(--primary-dark-color);
}
.event-content-text a:hover {
    text-decoration: none;
}
.event-buttons {
    max-width: 470px;
}
.event-content-section {
    padding-bottom: 50px;
}
.event-hero-text-inner p {
    hyphens: none;
    overflow-wrap: normal;
}
.form-check-input[type=checkbox]:focus,
.form-check-input[type=checkbox]:focus,
.form-check-input[type=checkbox],
.form-check-input[type=radio] {
    background-color: var(--primary-light-color);
     border-color: var(--primary-light-color);
}
.form-check-input:checked[type=checkbox] {
    border-color: var(--primary-light-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
    border-color: var(--primary-light-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e");
}
.membership-form-heading {
    font-family: var(--font-primary);
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    color: var(--primary-dark-color);
    margin-bottom: 0;
}

.membership-form .form-control {
    border: 1px solid var(--primary-light-color);
    border-radius: 0;
    padding: 10px 12px 10px 18px;
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    box-shadow: none;
}


.membership-form .form-control:focus {
    border-color: var(--primary-dark-color);
    box-shadow: none;
}

.membership-form .form-control::placeholder {
    color: var(--black);
    opacity: 1;
}

.membership-form .form-check-input {
    border-radius: 0;
    border-color: var(--primary-light-color);
    width: 1.1em;
    height: 1.1em;
    margin-top: 0;
    flex-shrink: 0;
}

.form-check {
    display: flex;
    align-items: start;
    gap: 8px;
}
.membership-form .form-check-input[type="radio"] {
    border-radius: 0;
}

.membership-form .form-check-input:checked {
    background-color: var(--primary-light-color);
    border-color: var(--primary-light-color);
}

.membership-form .form-check-input:focus {
    box-shadow: none;
}

.membership-form .form-check-label {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--black);
    line-height: 1;
}

.membership-form .btn {
    min-width: 200px;
}
.membership-form-heading {
    margin-bottom: 5px !important; 
}
.form-hf-check {
    gap: 30px;
}
.filter-btn-icon {
    border: 2px solid var(--primary-light-color);
    padding: 5px;
    width: 40px;
    height: 40px;
}
.filter-btn-icon span {
    width: 100%;
    height: 4px;
    background-color: var(--primary-light-color);
    display: block;
}
.filter-btn {
    text-decoration: none;
    font-weight: 800;
    color: var(--black);
    font-size: 22px;
    gap: 12px;
}
.filter-wrapper {
    background-color: var(--primary-light-color);
    padding: 16px 16px 35px 16px;
}
.filter-close {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
}
.filter-close img {
    width: 100%;
    height: auto;
}

.filter-main .form-check-input {
    background-color: #FFFFFF;
    border-radius: 0;
    border-color: var(--primary-light-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.filter-main .form-check-input:focus {
    box-shadow: none;
    background-color: #FFFFFF;
}
.filter-top-title {
    font-size: 20px;
    line-height: 1.1;
}
.filter-title {
    line-height: 1;
    font-size: 34px;
    font-style: italic;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 90%;
}
.filter-column-title {
    color: var(--primary-dark-color);
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
    padding-left: 28px;
}
.filter-main .form-check-label {
    font-size: 20px;
    line-height: 1.4;
}
.filter-main {
    margin-top: 22px;
}
.event-archive-list-item {
    border-top: 2px solid var(--primary-dark-color);
    padding: 15px 8px 32px 0;
}
.event-archive-list {
    margin-top: 50px;
}
.event-archive-list-item .row {
    --bs-gutter-x: 36px;
}
.eali-teaser p {
    font-size: 22px;
	line-height: 1;
}
.eali-date {
	font-size: 20px;
	line-height: 1;
}
.eali-teaser p {
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: 16px;
}
.eali-title {
    text-decoration: none;
    color: var(--black);
}
.event-archive-list-item h2 {
    font-size: 34px;
    font-style: italic;
    text-decoration: none;
    margin-bottom: 16px;
}
.event-archive-list-item .btn-lg {
    min-width: 170px;
}
.text-content-section {
    padding: 60px 0 40px 0;
}
.text-content-section h1 {
    font-size: 32px;
}
.text-content-section h2 {
    font-size: 30px;
}
.text-content-section h3 {
    font-size: 26px;
}
.text-content-section p {
    font-size: 16px;
}
.text-content-section a {
    color: var(--primary-dark-color);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.text-content-section h1,
.text-content-section h2,
.text-content-section h3,
.text-content-section h4,
.text-content-section h5 {
    margin-bottom: 12px;
    line-height: 1;
}
.tcs-inner {
    max-width: 850px;
}
.kh-filter-chip {
    background-color: #FFFFFF;
    cursor: pointer;
    line-height: 1;
    padding: 1px 4px;
}
.kh-filter-chip:hover {
    background-color: var(--primary-dark-color);
    color: #FFFFFF;
}
/***************************************************************
                         ORGANISATION BLOCK
***************************************************************/
.organisation-gruppe {
    margin-bottom: 40px;
}
.organisation-gruppe:last-child {
    margin-bottom: 0;
}
.organisation-gruppe-titel {
    color: var(--primary-dark-color);
    font-style: italic;
    font-size: 28px;
    margin-bottom: 24px;
}
.organisation-person {
    margin-bottom: 24px;
}
.organisation-person-position {
    font-weight: 700;
}
.organisation-person-kontakt a {
    color: var(--primary-dark-color);
    text-decoration: underline;
    overflow-wrap: break-word;
}
/***************************************************************
                     INTERN AREA
***************************************************************/

/* Form controls */
.kh-intern .form-control,
.kh-intern .form-select {
    border: 1px solid var(--primary-light-color);
    border-radius: 0;
    padding: 10px 12px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    box-shadow: none;
}
.kh-intern .form-control:focus,
.kh-intern .form-select:focus {
    border-color: var(--primary-dark-color);
    box-shadow: none;
}
.kh-intern .form-control::placeholder {
    color: var(--disabled);
    opacity: 1;
}
.kh-intern .form-control-sm,
.kh-intern .form-select-sm {
    font-size: 16px;
    padding: 6px 10px;
}
.kh-intern .form-label {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--primary-dark-color);
    margin-bottom: 3px;
    font-size: 16px;
}
.kh-intern .form-label .text-muted {
    font-style: normal;
}
.kh-intern .form-text {
    font-size: 14px;
}

/* Cards */
.kh-intern .card {
    border-color: var(--primary-light-color);
    border-radius: 0;
}

/* Buttons */
.kh-intern .btn-outline-primary {
    border-color: var(--primary-light-color);
    color: var(--black);
    border-radius: 0;
}
.kh-intern .btn-outline-primary:hover,
.kh-intern .btn-outline-primary:focus {
    background-color: var(--primary-light-color);
    border-color: var(--primary-light-color);
    color: var(--black);
}
.kh-intern .btn-outline-secondary {
    border-radius: 0;
    border-color: var(--primary-dark-color);
    color: var(--primary-dark-color);
}
.kh-intern .btn-outline-secondary:hover,
.kh-intern .btn-outline-secondary:focus {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    color: var(--white);
}
.kh-intern .btn-link {
    color: var(--primary-dark-color);
}
.kh-intern .btn-sm {
    font-size: 16px;
}

/* Nav pills */
.kh-intern .nav-pills .nav-link {
    border-radius: 0;
    color: var(--black);
    font-size: 18px;
    padding: 4px 16px;
    border: 1px solid transparent;
}
.kh-intern .nav-pills .nav-link.active {
    background-color: var(--primary-light-color);
    color: var(--black);
}
.kh-intern .nav-pills .nav-link:hover:not(.active) {
    border-color: var(--primary-light-color);
}

/* Header */
.kh-intern-header h1 {
    font-style: italic;
    color: var(--primary-dark-color);
}
.kh-intern-header .btn-outline-secondary {
    border-radius: 0;
    border-color: var(--primary-dark-color);
    color: var(--primary-dark-color);
    font-size: 16px;
}
.kh-intern-header .btn-outline-secondary:hover {
    background-color: var(--primary-dark-color);
    color: var(--white);
}

/* Section headings */
.kh-intern h2.h3 {
    font-style: italic;
    color: var(--primary-dark-color);
}

/* Table */
.kh-intern .table {
    font-size: 16px;
}
.kh-intern .table thead th {
    color: var(--primary-dark-color);
    font-style: italic;
    font-weight: 600;
    border-bottom-color: var(--primary-light-color);
}
.kh-intern .table-light {
    --bs-table-bg: #faf5f9;
}

/* Alert */
.kh-intern .alert-info {
    border-radius: 0;
    border-color: var(--primary-light-color);
    background-color: #faf5f9;
    color: var(--black);
}
.kh-intern .alert-info a {
    color: var(--primary-dark-color);
}

/* Flatpickr kalendar — override za temu */
.flatpickr-calendar {
    border-radius: 0;
    border-color: var(--primary-light-color);
    font-family: var(--font-primary);
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(85,77,114,.12);
}
.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
    background: var(--primary-dark-color);
    color: var(--white);
    fill: var(--white);
    border-radius: 0;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    background: transparent;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month input.cur-year:hover {
    background: rgba(255,255,255,.15);
}
.flatpickr-day {
    border-radius: 0;
    font-family: var(--font-primary);
}
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
    background: #faf5f9;
    border-color: var(--primary-light-color);
}
.flatpickr-day.today {
    border-color: var(--primary-light-color);
    font-weight: 700;
}
.flatpickr-day.today:hover {
    background: var(--primary-light-color);
    border-color: var(--primary-light-color);
    color: var(--black);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--primary-light-color);
    border-color: var(--primary-light-color);
    color: var(--black);
}
.flatpickr-day.selected:focus {
    background: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    color: var(--white);
}
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: var(--white);
}
.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: var(--primary-light-color);
}

/* Tabela — mobilni prikaz (card layout) */
@media (max-width: 767px) {
    .kh-intern .table-responsive thead {
        display: none;
    }
    .kh-intern .table-responsive tbody tr {
        display: block;
        border: 1px solid var(--primary-light-color);
        margin-bottom: 12px;
    }
    .kh-intern .table-responsive td {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 6px 12px;
        border: none;
        border-bottom: 1px solid #f0e8ef;
        font-size: 15px;
        text-align: left !important;
    }
    .kh-intern .table-responsive td:last-child {
        border-bottom: none;
    }
    .kh-intern .table-responsive td::before {
        content: attr(data-label);
        flex: 0 0 80px;
        font-style: italic;
        color: var(--primary-dark-color);
        font-size: 13px;
        line-height: 1.4;
    }
    .kh-intern .table-responsive td[data-label="Aktionen"] {
        flex-wrap: wrap;
        gap: 6px;
        padding-top: 8px;
        padding-bottom: 10px;
    }
    .kh-intern .table-responsive td[data-label="Aktionen"]::before {
        flex: 1 0 100%;
        margin-bottom: 2px;
    }
}

/* File input */
.kh-file-input .btn-outline-secondary {
    font-size: 16px;
}
.kh-file-name {
    font-style: italic;
    color: var(--disabled);
    font-size: 16px;
    word-break: break-all;
}
.kh-file-name.has-file {
    font-style: normal;
    color: var(--black);
}

/* Welcome / Login */
.kh-intern-welcome h1 {
    font-style: italic;
    color: var(--primary-dark-color);
}
.kh-intern-welcome .card {
    border-color: var(--primary-light-color);
    border-radius: 0;
}
.kh-intern-welcome .card h2 {
    font-style: italic;
    color: var(--primary-dark-color);
}
.kh-intern-welcome #loginform p {
    margin-bottom: 12px;
}
.kh-intern-welcome #loginform label {
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 16px;
    color: var(--primary-dark-color);
    display: block;
    margin-bottom: 4px;
}
.kh-intern-welcome #loginform input[type="text"],
.kh-intern-welcome #loginform input[type="password"] {
    width: 100%;
    border: 1px solid var(--primary-light-color);
    border-radius: 0;
    padding: 10px 12px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    box-shadow: none;
    outline: none;
}
.kh-intern-welcome #loginform input[type="text"]:focus,
.kh-intern-welcome #loginform input[type="password"]:focus {
    border-color: var(--primary-dark-color);
}
.kh-intern-welcome .login-remember label {
    font-style: normal;
    color: var(--black);
}
.kh-intern-welcome #wp-submit {
    background-color: var(--primary-light-color);
    border: 1px solid var(--primary-light-color);
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 500;
    padding: 4px 24px;
    cursor: pointer;
    border-radius: 0;
    width: 100%;
    transition: background-color .2s, color .2s;
}
.kh-intern-welcome #wp-submit:hover {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    color: var(--white);
}
.kh-intern {
    padding-bottom: 40px;
}
.modal-content {
    border-radius: 0;
}

/* Anmeldung Modal — form styling */
.kh-anmeldung-form-wrapper h2 {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--primary-dark-color);
    margin-bottom: 20px;
}
.kh-anmeldung-form-wrapper .form-label {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--primary-dark-color);
    margin-bottom: 3px;
    font-size: 16px;
}
.kh-anmeldung-form-wrapper .form-control {
    border: 1px solid var(--primary-light-color);
    border-radius: 0;
    padding: 10px 12px;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    box-shadow: none;
}
.kh-anmeldung-form-wrapper .form-control:focus {
    border-color: var(--primary-dark-color);
    box-shadow: none;
}
.kh-anmeldung-form-wrapper .form-control::placeholder {
    color: var(--disabled);
    opacity: 1;
}
.kh-anmeldung-form-wrapper .form-check-input {
    border-radius: 0;
    border-color: var(--primary-light-color);
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
    flex-shrink: 0;
    box-shadow: none;
}
.kh-anmeldung-form-wrapper .form-check-input:checked {
    background-color: var(--primary-light-color);
    border-color: var(--primary-light-color);
}
.kh-anmeldung-form-wrapper .form-check-input:focus {
    box-shadow: none;
}
.kh-anmeldung-form-wrapper .form-check-label {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--black);
    line-height: 1;
}
.kh-pagination {
    margin-top: 36px;
}
.kh-pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.kh-pagination .page-numbers li {
    display: flex;
}
.kh-pagination .page-numbers a,
.kh-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--primary-light-color);
    color: var(--primary-dark-color);
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.kh-pagination .page-numbers a:hover {
    background-color: var(--primary-light-color);
}
.kh-pagination .page-numbers .current {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    color: var(--white);
}
.kh-pagination .page-numbers .dots {
    border-color: transparent;
    color: var(--disabled);
}
.kh-pagination .page-numbers .prev,
.kh-pagination .page-numbers .next {
    padding: 0 14px;
}
.verein-block h3 {
    color: var(--primary-dark-color);
    font-style: italic;
    font-size: 24px;
    margin-bottom: 16px;
}
@media (min-width: 576px){

}
@media (min-width: 768px){
    .navbar-brand {
        padding: 24px;
        width: 120px;
        height: 120px;
    }
    .navbar-brand::after {
        top: 0;
        right: 0;
        width: 140%;
        height: 140%;
    }
    .section-padding-sm {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .section-padding-md {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-padding-lg {
        padding-top: 70px;
        padding-bottom: 70px;
    }    
    .hero-disturber {
        width: 180px;
        height: 180px;
        top: -120px;
        right: -100px;
        font-size: 20px;
        padding: 30px 20px;
    }
    .event-archive-list-item {
        border-top: 3px solid var(--primary-dark-color);
        padding: 15px 10px 32px 0;
    }
    .event-archive-list {
        margin-top: 120px;
    }
    .eali-teaser p {
        font-size: 24px;
    }
	.eali-date {
        font-size: 20px;
    }
    .eali-teaser p {
        margin-bottom: 24px;
    }
    .event-archive-list-item h2 {
        font-size: 40px;
        margin-bottom: 24px;
    }
    .event-archive-list-item .btn-lg {
        min-width: 270px;
    }
    .text-content-section {
        padding: 130px 0 60px 0;
    }
    .text-content-section h1 {
        font-size: 44px;
    }
    .text-content-section h2 {
        font-size: 40px;
    }
    .text-content-section h3 {
        font-size: 32px;
    }
    .text-content-section p {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .text-content-section h1,
    .text-content-section h2,
    .text-content-section h3,
    .text-content-section h4,
    .text-content-section h5 {
        margin-bottom: 16px;
        line-height: 1;
    }
	.membership-form .form-control {
		padding: 10px 12px 10px 34px;
		font-size: 24px;
	}
	 .kh-pagination {
        margin-top: 50px;
    }
    .kh-pagination .page-numbers {
        gap: 10px;
    }
    .kh-pagination .page-numbers a,
    .kh-pagination .page-numbers span {
        min-width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
@media (min-width: 992px) {
    .navbar-brand {
        padding: 24px;
        width: 160px;
        height: 160px;
    }
    .navbar {
        padding: 30px 0 20px 0;
    }
    .navbar-brand img {
        width: 85%;
    }
    .navbar .nav-link {
        font-size: 22px;
        color: var(--black);
        position: relative;
    }
    .navbar .nav-link::after {
        content: "";
        position: absolute;
        background-color: var(--primary-dark-color);
        height: 3px;
        width: 0;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        transition: width 0.3s ease-in-out;
    }
    .navbar .nav-link:hover {
        color: var(--primary-dark-color);
    }
    .navbar .nav-link.active {
        color: var(--primary-dark-color);
        font-weight: 700;
    }
    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after {
        width: calc(100% - 16px);
    }
    .navbar-nav {
        gap: 16px;
    }
    .hero-text {
        transform: translateY(-130px);
        margin-bottom: -130px;
    }
    .hero-text h1 {
        font-size: 40px;
        margin-bottom: 16px;
    }
    .section-title {
        font-size: 40px;
    }
    .hero-text p {
        font-size: 22px;
    }
    .hero-text-inner {
        padding: 50px 30px 50px 0;
    }
    .section-padding-sm {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-padding-md {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    .section-padding-lg {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .swiper-slide-active .gallery-image{
        padding: 10px;
    }
    .ti-section-img {
        width: 52%;
    }
    .event-content-section {
        padding-bottom: 80px;
    }
    .filter-btn-icon {
        padding: 6px;
        width: 50px;
        height: 50px;
    }
    .filter-btn-icon span {
        height: 6px;
    }
    .filter-btn {
        font-size: 26px;
        gap: 16px;
    }
    .filter-wrapper {
        padding: 30px 30px 45px 30px;
    }
    .filter-close {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    .filter-top-title {
        font-size: 28px;
    }
    .filter-title {
        font-size: 50px;
        max-width: 75%;
    }
    .filter-column-title {
        font-size: 24px;
        padding-left: 40px;
    }
    .filter-main .form-check-label {
        font-size: 24px;
    }
    .filter-main .form-check-input {
        width: 24px;
        height: 24px;
    }
    .event-archive-list-item {
        padding: 15px 10px 52px 0;
    }
    .event-archive-list {
        margin-top: 150px;
    }
    .filter-btn-icon {
        padding: 8px;
        width: 64px;
        height: 64px;
    }
    .filter-btn-icon span {
        width: 100%;
        height: 8px;
    }
    .filter-btn {
        font-size: 36px;
        gap: 22px;
    }
    .filter-wrapper {
        padding: 30px 30px 45px 30px;
    }
    .filter-close {
        width: 50px;
        height: 50px;
        margin-bottom: 30px;
    }
    .filter-top-title {
        font-size: 34px;
    }
    .filter-title {
        font-size: 80px;
        max-width: 75%;
    }
   
    .filter-main .form-check-label {
        font-size: 24px;
    }
    .filter-main .form-check-input {
        width: 30px;
        height: 30px;
    }
    .event-archive-list {
        margin-top: 250px;
    }
	.eali-teaser p {
		font-size: 34px;
	}
    .eali-date {
        font-size: 30px;
    }
    .eali-teaser p {
        margin-bottom: 30px;
    }
    .event-archive-list-item h2 {
        font-size: 60px;
    }
    .text-content-section p {
        margin-left: 40px;
    }
    .text-content-section p {
        font-size: 18px;
    }
    .text-content-section h1 {
        font-size: 80px;
    }
    .text-content-section h2 {
        font-size: 60px;
    }
    .text-content-section h3 {
        font-size: 45px;
    }
    .text-content-section p {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .text-content-section h1,
    .text-content-section h2,
    .text-content-section h3,
    .text-content-section h4,
    .text-content-section h5 {
        margin-bottom: 20px;
    }
}
@media (min-width: 1200px) {   
	.membership-form .form-check-input {
	margin-top: 0.15em;
}
    .custom-radius-top-left {
        width: 200px;
        height: 200px;
        &::before {
            height: 200px;
            width: 200px;
            border-top-left-radius: 200px;
        }
    }
    .custom-radius-bottom-right {
        width: 200px;
        height: 200px;
        &::before {
            height: 200px;
            width: 200px;
            border-bottom-right-radius: 200px;
        }
    }
    .navbar {
        padding: 55px 0 33px 0;
    }
    .navbar-brand {
        padding: 40px 40px 24px 24px;
        width: 220px;
        height: 220px;
    }

    .navbar-brand img {
        width: 85%;
    }
    .hero-text {
        transform: translateY(-279px);
        margin-bottom: -280px;
    }
    .hero-text h1 {
        font-size: 64px;
        margin-bottom: 30px;
    }
    .hero-text-event h1 {
        font-size: 80px;
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 50px;
    }
    .hero-text p {
        font-size: 34px;
    }
    .hero-text-inner {
        padding: 70px 75px 70px 0;
    }
    .event-list-section {
        padding: 115px 0 40px 0;
    }
    .ev-list-top-title {
        font-size: 22px;
    }
    .event-list {
        width: 88%;
        transform: translateY(-110px);
        margin-bottom: -110px;
        padding: 16px 8px 0 36px;
        border-width: 8px;
    }
    .ev-list-title {
        font-size: 50px;
        margin-bottom: 20px;
    }
    .event-agenda-list li a {
        font-size: 22px;
    }
    .event-agenda-list li a span {
        margin-right: 45px;
		min-width: 68px;
    }
    .ev-list-btn-wrapper .btn {
        min-width: 280px;
    }
    .event-list {
        width: 88%;
        padding: 12px 8px 0 36px;
    }
    .event-teaser-text {
        padding: 18px 8px 30px 34px;
    }
    .event-teaser-desc {
        font-size: 22px;
    }
    .event-teaser-text h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .event-time {
        font-size: 20px;
    }
    .swiper-slide-active .gallery-image{
        padding: 17px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        border: 3px solid var(--white);
        width: 75px;
        height: 75px;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 35px;
    }
    .swiper-button-next {
        right: 40px;
    }
    .swiper-button-prev {
        left: 40px;
    }
    .footer-right {
        gap: 205px !important; 
    }
    .ti-section-text h2 {
        font-size: 60px;
        margin-bottom: 30px;
    }
    .event-hero-text-inner {
        padding-top: 44px;
    }
    .hero-keywords {
        font-size: 24px;
        margin-bottom: 50px;
    }
    .hero-date {
        font-size: 34px;
    }
    .hero-disturber {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -155px;
        font-size: 32px;
        padding: 30px 20px;
    }
    .event-content-text p {
        font-size: 25px;
        margin-bottom: 30px;
    }
    .event-content-text p span {
        font-size: 27px;
    }
    .event-content-section {
        padding-top: 85px;
        padding-bottom: 125px;
    }
    .btn-lg {
        padding: 4px 30px;
        font-size: 25px;
    }
    .membership-form .btn {
        min-width: 375px;
    }
    .membership-form .form-check-label {
        font-size: 24px;
    }
    .ti-section-text .btn {
        min-width: 195px;
    }
    .form-check {
        gap: 16px;
    }
    .form-hf-check {
        gap: 70px;
    }
    .filter-column-title {
        font-size: 30px;
        padding-left: 50px;
    }
    .filter-main .form-check-label {
        font-size: 30px;
    }
    .text-content-section p {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .text-content-section {
        padding: 185px 0 80px 0;
    }
    .text-content-section h1 {
        margin-bottom: 40px;
    }
    .kh-intern {
        padding-bottom: 80px;
    }
	.verein-block h3 {
		font-size: 28px;
		margin-bottom: 30px;
	}
	.verein-block p {
		font-size: 20px;
		margin-bottom: 24px;
	}
}
@media (min-width: 1400px) {
    .container {
        max-width: 1210px;
    }
    .container-wide {
        max-width: 1310px;
    }
    .navbar-brand {
        padding: 74px 65px 24px 24px;
        width: 300px;
        height: 300px;
    }

    .navbar-brand img {
        width: 81%;
    }
    .event-list p {
        font-size: 27px;
    }
    .ti-section-text p {
        font-size: 27px;
    }
}

