/*!
Theme Name: LGHE (Kadence Child)
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here

-------------------------------------------------------------- */


/* Root Variables
-------------------------------------------------------------- */

:root {
	--lghe-blue: #0C224E;
}


/* Global Settings
-------------------------------------------------------------- */

@view-transition {
	navigation: auto;
}
/* Create a custom animation */
@keyframes move-out {
  from {
	opacity: 1;
    /* transform: translateY(0%); */
  }

  to {
	opacity: 0;
    /* transform: translateY(-100%); */
  }
}

@keyframes move-in {
  from {
	opacity: 0;
    /* transform: translateY(100%); */
  }

  to {
	opacity: 1;
    /* transform: translateY(0%); */
  }
}

/* Apply the custom animation to the old and new page states */
::view-transition-old(root) {
  animation: 0.4s ease-in both move-out;
}

::view-transition-new(root) {
  animation: 0.4s ease-in both move-in;
}

/*
SITEBAR BREITE
*/
@media screen and (min-width: 1025px) {
  .has-left-sidebar .content-container {
    grid-template-columns: 1fr 5fr !important;
  }
}

/*
NAVIGATION
*/
.site-header-upper-inner-wrap,
#mobile-header .site-header-row-container-inner {
	box-shadow: 0px 15px 10px -10px rgba(0, 0, 0, 0.1);
	border-bottom: 3px solid var(--lghe-blue);
}
@media (max-width: 600px) {
  	#mobile-header .site-header-row-container-inner {
		border-bottom: 1px solid var(--lghe-blue);
	}
}

/*
POSTS
*/
.lghe-post-link a {
	text-decoration: none;
}

.lghe-post-link a:hover span.post-navigation-link__title {
	text-decoration: underline;
}

/*
FAECHER, PROFILE und PERSONAL
*/
.sidebar-slug-sidebar-1,
.sidebar-slug-sidebar-2,
.sidebar-slug-sidebar-3,
.sidebar-slug-sidebar-4 {
  position: sticky;
  top: 150px;
  align-self: flex-start;
}
.widget-faecher-list,
.widget-profile-list,
.widget-personal-list,
#menu-anleitung-wordpress-seitenleiste {
  list-style: none;
  padding-left: 0 !important;
	margin: 0;
}
.widget-faecher-list li,
.widget-profile-list li,
.widget-personal-list li,
#menu-anleitung-wordpress-seitenleiste li {
  margin-bottom: 0.25em;
}
.widget-faecher-list li.current-page,
.widget-profile-list li.current-page,
.widget-personal-list li.current-page,
#menu-anleitung-wordpress-seitenleiste li.current-menu-item {
  font-weight: bold;
}
.widget-faecher-list a,
.widget-profile-list a,
.widget-personal-list a,
#menu-anleitung-wordpress-seitenleiste a {
    text-decoration: none;
    color: #333;
}
.widget-faecher-list a:hover,
.widget-profile-list a:hover,
.widget-personal-list a:hover,
#menu-anleitung-wordpress-seitenleiste a:hover {
    color: #0073aa;
	text-decoration: underline;
}

/* 
Events Calendar Settings
*/
.tribe-events-c-subscribe-dropdown {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
  background-color: var(--global-palette9) !important;
  color: var(--global-palette3) !important;
  border-radius: 3px !important;
  border: 3px solid var(--global-palette3) !important;
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: var(--global-palette3) !important;
  color: var(--global-palette9) !important;
}
.tribe-events-widget-events-list h2,
.tribe-common .tribe-common-h6 {
	font-family: var(--global-heading-font-family), serif !important;
  	font-size: var(--global-kb-font-size-lg, 3rem) !important;
  	font-weight: bold !important;
	color: var(--global-palette3) !important;
}
@media (max-width: 600px) {
  	.tribe-events-widget-events-list h2,
	.tribe-common .tribe-common-h6 {
		font-size: var(--global-kb-font-size-md, 2rem) !important;
	}
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
    width: 95%;
}
.tribe-events-calendar-list__event-title-link,
.tribe-events-widget-events-list__event-title-link,
.tribe-events-widget-events-list__view-more-link,
.tribe-events-schedule__datetime {
	color: var(--global-palette3) !important;
}
.tribe-events-widget-events-list__event-datetime-wrapper,
.tribe-events-schedule__date,
.tribe-events-schedule__time,
.tribe-events-schedule__datetime {
	font-size: var(--global-kb-font-size-md, 2rem) !important;
}
.tribe-event-time::after,
.tribe-events-schedule__time--end::after {
	content: ' Uhr';
}
.tribe-events-schedule__separator {
	vertical-align: text-bottom;
}
.tribe-events-calendar-list__event-date-tag-weekday {
	color: var(--global-palette3) !important;
	font-size: var(--global-kb-font-size-sm, 2rem) !important;
	text-transform: initial !important;
}
.tribe-events-c-messages__message {
	background-color: var(--jkg-grey) !important;
}
.lghe-events-homepage .tribe-events-widget-events-list__header {
  text-align: center;
  border-bottom: 3px solid var(--global-palette3);
  padding-bottom: 15px;
}
.lghe-events-homepage .tribe-events-widget-events-list__events {
	display: flex;
  flex-wrap: wrap;
  text-align: center;
  row-gap: 1.5em;
  column-gap: 3em;
}
@media (max-width: 1180px) {
  .lghe-events-homepage .tribe-events-widget-events-list__events {
    flex-direction: column; /* Vertikal für Tablet- und Mobile-Ansicht */
    gap: 15px;
  }
}
.tribe-common-g-row.tribe-events-widget-events-list__event-row {
	flex: 1 1 calc(33.333% - 1rem);
}
/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
  .tribe-common-g-row.tribe-events-widget-events-list__event-row {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Mobile: 1 Spalte */
@media (max-width: 600px) {
  .tribe-common-g-row.tribe-events-widget-events-list__event-row {
    flex: 1 1 100%;
  }
}
.tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-row {
	width: 100%;
}
.tribe-events-widget .tribe-events-widget-events-list__event-row:last-child {
	margin-bottom: var(--tec-spacer-4) !important;
}
.lghe-events-homepage .tribe-events-widget-events-list__events article {
	border-top: 0px solid var(--global-palette3) !important;
	border-bottom: 3px solid var(--global-palette3) !important;
	padding: 20px;
}
.lghe-events-homepage .tribe-events-widget-events-list__events article time,
.lghe-events-homepage .tribe-events-widget-events-list__events article h3 {
	font-family: var(--global-heading-font-family);
	font-size: var(--tec-font-size-7);
}
.tribe-events-calendar-list__event-date-tag-datetime {
	padding-top: 13.5px !important;
	text-align: left !important;
}
.tribe-common-h4--min-medium {
	font-size: var(--global-kb-font-size-lg, 3rem) !important;
	font-family: var(--global-heading-font-family) !important;
}
.tribe-events-calendar-month__day--past {
	background-color: rgba(0, 0, 0, 0.05) !important;
    background-repeat: repeat;
    background-size: 5px 5px;
}
.tribe-events-calendar-month__day--current {
	background: #2e2f6a35 !important;
}
.tribe-events-schedule__datetime,
.tribe-events-schedule__all-day {
	font-family: var(--global-heading-font-family) !important;
	font-size: inherit;
	color: var(--global-palette1) !important;
}
.entry-header.tribe_events-title {
	margin-bottom: 0;
}
.tribe-events-schedule {
	margin: 0px 0 15px !important;
}
.tribe-events-c-subscribe-dropdown {
	margin: 0 !important;
}
.tribe-events-view .tribe-events-c-subscribe-dropdown {
	margin-top: 25px !important;
}
@media screen and (max-width: 768px) {
	.tribe-events-sub-nav li a {
        background: transparent;
        color: var(--global-palette1);
	}
	.tribe-events-sub-nav li a:hover, .tribe-events-sub-nav li a:visited {
        color: var(--global-palette1);
    }
}
@media screen and (max-width: 1000px) {
	.tribe-events-calendar-list__event-date-tag {
		display: none !important;
	}
}

/* 
Akkordeon mobile only
*/
/* Grund‑Styling für Akkordeon */
details.lghe-personal {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: .25rem;
  padding: .5rem;
  margin: 0;
}
details.lghe-personal > div h2 {
  display: none;
}
.lghe-personal details p {
  margin: 0;
}
details.lghe-personal .lghe-card-image img {
  max-width: 175px;
  height: auto;
  margin-top: 10px;
}
.lghe-accordion .lghe-thumb {
  aspect-ratio: 3/4;
  max-width: 150px;
  min-height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
}
.lghe-accordion .lghe-content h2 {
  margin-top: .25em;
}

/* Standard‑Pfeil ausblenden */
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::marker {
  display: none;
}

/* Eigenes Symbol rechts: "+" im geschlossenen, "–" im geöffneten Zustand */
summary.lghe-personal {
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 1.5em;
  padding-left: .5em;
}
summary.lghe-personal::after {
  content: "+";
  position: absolute;
  right: .5em;
  top: 0;
  font-size: 1.6em;
  line-height: 1;
}
details[open] summary.lghe-personal::after {
  content: "–";
}

/* Inhalt etwas eingerückt */
.lghe-accordion .lghe-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .5rem;
  padding-left: .5rem;
}

@media (max-width: 600px) {
  .lghe-accordion .lghe-info {
    flex-direction: column;
    margin-top: .5rem;
    padding-left: .5rem;
  }
}

/* Nur mobil anzeigen, ab Tablet ausblenden */
.lghe-personal-view-mobile { display: none; }
@media (max-width: 768px) {
  .lghe-personal-view-desktop { display: none; }
  .lghe-personal-view-mobile { display: block; }
}

/* Table Layout
-------------------------------------------------------------- */
@media (max-width: 600px) {
  	.tablepress-id-2 .column-1,
	.tablepress-id-3 .column-1 {
		width: 150px;
		min-width: 150px;
	}
}