/** SFHD Hauptseite Header-Elemente Styles **/
#body .grid-child {
  display: flex;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  margin-top: 1rem !important;
  margin-bottom: 0.1rem !important;
}

body .site-grid main {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
}


/* Header Umgestaltung */
.navbar-brand {
  display: flex !important;
  flex-direction: row; /* Logo und Schriftzug nebeneinander */
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem !important;
  margin: 0 auto; /* wichtig für die horizontale Zentrierung */
}

@media (min-width: 1000px) {
  .navbar-brand .site-description {
    text-align: center !important;
    font-size: 2.4rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow:
      1px 1px 2px #93c5fd,
      1px 1px 2px #60a5fa;
  }
}

.nav-menu-container {
  display: flex;
  justify-content: center !important;
  width: 100% !important;
}

.mod-menu, .navbar {
  display: flex;
  justify-content: center !important;
  width: 100% !important;
}

@media (max-width: 700px) {
  .navbar-brand .site-description {
    content: hidden !important;
    position: relative;
  }
  .navbar-brand .site-description::after {
    color: white !important;
    position: absolute;
    font-size: 2.4rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow:
      1px 1px 2px #93c5fd,
      1px 1px 2px #60a5fa;
    width: 100%;
  }
}

/*Automatisches Ein- und Ausklappen, bitte.
  Nutzer soll auch nur klicken, wenn er was kriegt
*/
@media (min-width: 992px) {
  .mod-menu .mm-collapse {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out 0.3s, opacity 0.4s ease-in-out, visibility 0.5s ease-in-out 0.3s;
  }
  .mod-menu .deeper.parent:hover > .mm-collapse {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }
  .mod-menu .deeper.parent:hover > .mod-menu__heading {
    cursor: pointer;
  }
}


/* Menu-Items Styling */
.metismenu-item.level-1 {
  transition: #224faa 0.4s ease;
}

.metismenu-item.level-1:hover {
  background: radial-gradient(circle, #224faa 0%, transparent 100%);
}

.metismenu-item.level-2:hover {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease;
}

.metismenu-item.level-3:hover {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease;
}


/* Banner Schriftzug Anpassung */

.display-4.text-thin {
  font-weight: 400 !important;
}

.overlay .display-4 {
  font-weight: 700;
  transform: translateX(-50px);
  opacity: 0;
  animation: slideIn 2.5s ease-out forwards;
}

/* Schriftzug "Willkommen bei den Schachfreunden Heidelberg!" von rechts nach links einblenden. */
@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* Logo Feinschliff */
@keyframes shimmerGlow {
  0% {
    filter: drop-shadow(0 0 0px #93c5fd);
  }
  50% {
    filter: drop-shadow(0 0 8px #60a5fa);
  }
  100% {
    filter: drop-shadow(0 0 0px #93c5fd);
  }
}

.navbar-brand .brand-logo img {
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  animation: shimmerGlow 5s ease-in-out infinite;
}

/* Vereins-Logo rotiert beim einmaligen Maus hovern */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.navbar-brand .brand-logo img:hover {
  animation: rotate360 1s ease-in-out infinite;
}


/* Für smartphones bitte nicht das ganze .gif laden, sonst gibt's Ärger... */
@media screen and (min-width: 769px) {
  .banner-overlay {
    background-image: url('/images/banners/banner_reverse.gif');
  }
}

@media screen and (max-width: 768px) {
  .banner-overlay {
    background-image: url('/images/banners/banner.jpg');
  }
}

/* Ein letztes: Top-Events-Button Animation aber nur für starke Geräte */
@media (min-width: 992px) {
  .scroll-down-button {
      position: relative;
      overflow: hidden;
  }
  
  .scroll-down-button::before {
      content: '';
      position: absolute;
      top: 0;
      width: 20px;
      height: 100%;
      background: rgba(255, 255, 255, 0.5);
      transform: skewX(-25deg);
      filter: blur(15px);
      right: -50px;
      opacity: 0;
      transition: all 0.8s ease;
  }

  .scroll-down-button:hover::before {
    animation: shine 1.5s linear infinite;
    opacity: 1;
  }

  @keyframes shine {
    0% {
      left: -50px;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    30% {
      opacity: 1;
    }
    50% {
      left: 150%;
      opacity: 1;
    }
    70% {
      left: 150%;
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      left: 150%;
      opacity: 0;
    }
  }
  /*
  .scroll-down-button:hover::before {
      right: 150%;
      opacity: 1;
      transition: all 1.0s ease;
  }*/
}


/* Artikel-Anzeige Umgestaltung auf Homepage */
/* "main" alert verstecken! Niemand braucht das! */
body.itemid-101 main {
  display: none !important;
}

/* Schachfreunde Heidelberg Schriftzug ergänzen  und über Container setzen */
body.itemid-101 .grid-child.container-top-a {
  margin-top: 20px;
  position: relative;
}

body.itemid-101 .mod-articles-item {
  box-shadow: 0 0 2px #3339421a,0 2px 5px #33394214,0 5px 15px #33394214, inset 0 5px 0 var(--cassiopeia-color-primary);
  background-color: #fff;
}

body.itemid-101 .mod-articles-item-content .mod-articles-title {
  padding-top: 5px;
  padding-left: 5px;
}

body.itemid-101 .mod-articles-item-content p {
  padding-left: 5px;
}

body.itemid-101 .mod-articles-items .mod-articles-item {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background: radial-gradient(circle at center, #e5dabf 0%, #f3d996 50%) !important;
}

body.itemid-101 .mod-articles-item-content {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

body.itemid-101 .mod-articles-item-content p.readmore {
  margin-top: 15px !important;
  text-align: center;
}

body.itemid-101 .mod-articles-item:hover {
  transition: all 0.8s ease;
    transform: translateY(-3px);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  }

/* Weiterlesen Buttons anpassen */
body.itemid-101 .mod-articles-item-content p.readmore a.btn.btn-secondary {
  border: 2px outset #f4bb2d !important;
  background-color: #e5dabf;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease;
}

body.itemid-101 .mod-articles-item-content p.readmore a.btn:hover {
  transform: translateY(-3px);
}


/* Je nach verwendetem Gerät: Resizing */
@media (max-width: 768px) {
  .navbar-brand .site-description {
    font-size: calc(1.2rem + 1vw);
  }
  
  .navbar-brand .brand-logo img {
    max-height: min(120px, 20vw);
  }
  
  body:not(.view-gallery) summary {
    padding: 15px 18px;
    font-size: 16px;
  }
  
  body:not(.view-gallery) summary .name {
    font-size: 14px;
  }
}



/** DPCalendar Umgestaltung **/



@media (max-width: 640px) {
  .com-dpcalendar-calendar .fc-event-main {
    font-size: 0.8em;
  }
  
  .com-dpcalendar-calendar .fc-toolbar {
    flex-direction: column;
  }
  
  .com-dpcalendar-calendar .fc-toolbar-chunk {
    margin-bottom: 10px;
  }
  
  body.itemid-207 .site-grid {
    padding: 20px;
  }
  
  #event h1.displayname {
    font-size: 22px;
  }
  
  body.itemid-207 main .greetings {
    font-size: 18px !important;
  }
}

@media (max-width: 600px) {
  body:not(.view-gallery) .accordion-content {
    flex-direction: column;
    text-align: center;
  }
  
  body:not(.view-gallery) .accordion-content img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  body:not(.view-gallery) .profile-text .tele,
  body:not(.view-gallery) .profile-text .email {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  body.itemid-101 .mod-articles-item {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  body.itemid-101 .mod-articles-item-content .mod-articles-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .navbar-brand .site-description {
    text-align: center;
    font-size: 1.8rem;
  }
  
  .mod-menu a,
  .mod-menu__heading.nav-header {
    font-size: 1rem;
  }
  
  .com-dpcalendar-calendar .fc-toolbar-title,
  .fc-header-toolbar .fc-toolbar-title {
    font-size: 1.2rem !important;
  }
  
  .com-dpcalendar-calendar .fc-button.fc-button-primary,
  .fc-header-toolbar .fc-button.fc-button-primary {
    padding: 0.3em 0.5em !important;
    font-size: 0.9rem !important;
  }
  
  .navbar-brand .brand-logo img {
    animation: none; /* Shimmer-Effekt auf kleinen Geräten deaktivieren wegen Akku */
  }
  
  body:not(.view-gallery) details {
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
}




/** Styles für Menu Headings Elemente wie "Aktuelles" etc. **/



.mod-menu a,
.mod-menu__heading.nav-header {
  font-size: 1.2rem;
}

body.itemid-135 .site-grid {
  background: radial-gradient(circle at center, #ffffff 30%, #c3e1f3 100%);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 0 !important; /* Diese Regel ist notwendig, damit der Farbverlauf bis komplett nach unten geht. */
}

body.itemid-135 .site-grid + * {
  margin-top: 0 !important; 
  padding-top: 0 !important;
}


/* Content Stile für (Vorstand) Accordion Elemente auf Seiten, die nicht die EventGallery haben */
/* Das umgeht lästiges Resizing der Thumbnail Tiles, die aus der Box bereits super sind. */

@media (max-width: 800px) {
  body:not(.view-gallery) details {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.52);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  body:not(.view-gallery) summary {
    background-color: #1f2937;
    color: white;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: block;
  }

  body:not(.view-gallery) summary .title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  body:not(.view-gallery) summary .name {
    display: block;
    font-size: 16px;
    font-weight: 500;
  }

  body:not(.view-gallery) summary::-webkit-details-marker {
    display: none;
  }

  body:not(.view-gallery) details[open] summary {
    background-color: #374151;
  }

  body:not(.view-gallery) .accordion-wrapper {
    overflow: hidden;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  body:not(.view-gallery) details[open] .accordion-wrapper {
    transform: scaleY(1);
    opacity: 1;
  }

  body:not(.view-gallery) .accordion-content {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, #c3e1f3, #ffffff);
    padding: 20px;
    gap: 16px;
  }

  body:not(.view-gallery) .profile-text {
    width: 100%;
  }

  body:not(.view-gallery) .profile-text .tele,
  body:not(.view-gallery) .profile-text .email {
    margin-left: 0;
    font-size: 15px;
    font-weight: bold;
    color: #111827;
  }

  body:not(.view-gallery) .accordion-content img {
    width: 140px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    margin: 10px auto 0 auto;
  }

  body:not(.view-gallery) .vorstand-divider {
    height: 15px;
  }
}


@media (min-width: 801px) {
  body:not(.view-gallery) .accordion-container {
    max-width: 700px;
    margin: 20px auto;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body:not(.view-gallery) details {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      margin-bottom: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.52);
      overflow: hidden;
      transition: all 0.3s ease;
  }
    
  body:not(.view-gallery) summary {
      background-color: #1f2937;
      color: white;
      padding: 20px 24px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      list-style: none;
    
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
  }
    
  body:not(.view-gallery) summary .title {
      text-align: left;
      flex: 1;
  }
    
  body:not(.view-gallery) summary .name {
      text-align: right;
      white-space: nowrap;
  }
    
  body:not(.view-gallery) summary::-webkit-details-marker {
      display: none;
  }
    
  body:not(.view-gallery) details[open] summary {
      background-color: #374151;
  }

  body:not(.view-gallery) .accordion-wrapper {
      overflow: hidden;
      transform-origin: top;
      transform: scaleY(0);
      opacity: 0;
      transition: transform 0.4s ease, opacity 0.4s ease;
  }

  body:not(.view-gallery) details[open] .accordion-wrapper {
      transform: scaleY(1);
      opacity: 1;
  }

  body:not(.view-gallery) .accordion-content {
      display: flex;
      flex-direction: row;
      gap: 20px;
      background: linear-gradient(to right, #c3e1f3, #ffffff);
      align-items: center;
      padding: 20px 0;
  }

  body:not(.view-gallery) .accordion-content img {
      width: 140px;
      height: 180px;
      border-radius: 12px;
      margin-right: 50px;
      object-fit: cover;
      border: 2px solid #e5e7eb;
  }
    
  body:not(.view-gallery) .profile-text {
      flex: 1;
  }
    
  body:not(.view-gallery) .profile-text .tele {
      font-size: 14px;
      font-weight: bold;
      color: #111827;
      margin-bottom: 8px;
      margin-left: 50px;
  }
    
  body:not(.view-gallery) .profile-text .email {
      font-size: 14px;
      font-weight: bold;
      color: #111827;
      margin-top: 8px;
      margin-left: 50px;
  }

  body:not(.view-gallery) .vorstand-divider {
      height: 15px;
  }
}

/** Event Gallery Aktive Anpassungen **/
body.view-gallery .site-grid {
    background: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

body.view-gallery .site-grid > .site-grid {
    display: block;
    width: auto;
    margin: 0;
    justify-content: flex-start;
    align-items: flex-start;
}

.eventgallery-category-headline {
  display: none !important;
}

.eventgallery-category-headline-container,
div:has(> .eventgallery-category-headline) {
  display: none !important;
}

#event h1.displayname {
  font-size: 28px;
  text-align: center;
  margin: 0 auto;
}

/* Albumtitel-Anpassung der Eventgallery + Hintergrund Farbverlauf */
body.itemid-207 .site-grid {
  background: radial-gradient(circle at center, #ffffff 30%, #c3e1f3 100%);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 0 !important;
}

body.itemid-207 .site-grid + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.itemid-207 main .greetings {
  text-align: center;
  font-size: 24px !important;
}



/** DPCalendar Umgestaltung **/



/* Buttons */
.com-dpcalendar-calendar .fc-button.fc-button-primary,
.fc-header-toolbar .fc-button.fc-button-primary {
  background: radial-gradient(circle, #1b72f5 0%, #010156 100%) !important;
  border: 1px solid #0a58ca !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  font-family: var(--cassiopeia-font-family-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif) !important;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px !important;
  padding: 0.4em 0.65em !important;
  transform: translateY(0) !important;
}

.com-dpcalendar-calendar .fc-button.fc-button-primary:hover,
.fc-header-toolbar .fc-button.fc-button-primary:hover {
  background: radial-gradient(circle, #d0e4ff 0%, #010156 100%) !important;
  box-shadow: 0 0 8px rgba(10, 88, 202, 0.5) !important;
}

.com-dpcalendar-calendar .fc-button.fc-button-primary:active,
.fc-header-toolbar .fc-button.fc-button-primary:active {
  background: radial-gradient(circle, #bdd6ff 0%, #010156 100%) !important;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

.com-dpcalendar-calendar .fc-button.fc-button-primary .fc-icon,
.fc-header-toolbar .fc-button.fc-button-primary .fc-icon,
.com-dpcalendar-calendar .fc-button.fc-button-primary .dp-icon,
.fc-header-toolbar .fc-button.fc-button-primary .dp-icon {
  color: #ffffff !important;
}

.com-dpcalendar-calendar .fc-button.fc-button-primary svg path,
.fc-header-toolbar .fc-button.fc-button-primary svg path {
  fill: #ffffff !important;
}


/* Zeittitel */
.com-dpcalendar-calendar .fc-toolbar-title,
.fc-header-toolbar .fc-toolbar-title {
  font-weight: bold !important;
  color: #033887 !important; 
}

/* Gesamtes Grid des Kalendars */
.com-dpcalendar-calendar, .fc-view .fc-view-harness .fc-view-harness-passive {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
}


/* Event-Elemente selbst */
.com-dpcalendar-calendar .fc-event-main {
  position: relative;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.com-dpcalendar-calendar .fc-event-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.com-dpcalendar-calendar .fc-event-main:hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.45),  /* deutlichere Aufhellung */
    rgba(255, 255, 255, 0.10)   /* gleitet in die Originalfarbe über */
  );
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
}

/* Tooltip Pop-Up eher unnötig */
[id^="tippy-"] {
  display: none !important;
}


/* Artikel-Styling, um es etwas vor dem Blanken Hintergrund 
  hervorzuheben mit Boxshadow.
*/
body.itemid-120 .site-grid main {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.itemid-120 a.btn.btn-secondary {
  border: 2px outset #0a58ca !important;
  background-color: #c3e1f3;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease;
}

body.itemid-120 p.readmore {
  padding-top: 10px !important;
}

body.itemid-120 p.readmore a.btn:hover {
  transform: translateY(-3px);
}

body.itemid-120 .blog-items .blog-item {
  background: radial-gradient(circle at center, #ffffff 30%, #c3e1f3 100%) !important;
}

/* Artikel-Hover Umgestaltung */
body.itemid-120 .blog-item:hover {
  transition: all 0.8s ease;
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Pagination-Knöpfe Umgestaltung */
body.itemid-120 .page-item a:hover {
  background: radial-gradient(circle, #95bbf5 0%, #010156 80%) !important;
}

/* Weicher Übergang zu neuen Artikeln */
@media(min-width: 992px) {
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideInFromRight {
    from { 
      opacity: 0;
      transform: translateX(20px);
    }
    to { 
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInFromLeft {
    from { 
      opacity: 0;
      transform: translateX(-20px);
    }
    to { 
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Apply animation to content container when page loads */
  .com-content-category-blog,
  main,
  #content,
  .item-page {
    animation: fadeIn 0.7s ease-out;
  }

  /* Optional: Add animation direction data attribute to content container */
  .com-content-category-blog[data-direction="next"],
  main[data-direction="next"],
  #content[data-direction="next"],
  .item-page[data-direction="next"] {
    animation: slideInFromRight 0.7s ease-out;
  }

  .com-content-category-blog[data-direction="prev"],
  main[data-direction="prev"],
  #content[data-direction="prev"],
  .item-page[data-direction="prev"] {
    animation: slideInFromLeft 0.7s ease-out;
  }

  /* Style pagination links with hover effect */
  .pagination .page-link {
    transition: all 0.3s ease;
  }

  .pagination .page-link:hover {
    transform: scale(1.1);
  }

  /* Optional: Add indicator for available pagination directions */
  .pagination {
    position: relative;
  }

  .pagination:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    opacity: 0.7;
  }
}

/* Info: EventGallery Anpassungen finden alle in der user.js statt.
  Aus irgendeinem Grund funktioniert nämlich das vorgebene Feld im Backend NICHT!
*/
body.itemid-207 .item-container-big:hover {
  transition: all 0.8s ease;
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}


/* Jugendschach-Bereich Umgestaltung */
body.itemid-160 .site-grid main {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.itemid-160 a.btn.btn-secondary {
  border: 2px outset #0a58ca !important;
  background-color: #c3e1f3;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease;
}

body.itemid-160 p.readmore {
  padding-top: 10px !important;
}

body.itemid-160 p.readmore a.btn:hover {
  transform: translateY(-3px);
}

body.itemid-160 .blog-items .blog-item {
  background: radial-gradient(circle at center, #ffffff 30%, #c3e1f3 100%) !important;
}

/* Artikel-Hover Umgestaltung */
body.itemid-160 .blog-item:hover {
  transition: all 0.8s ease;
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Pagination-Knöpfe Umgestaltung */
body.itemid-160 .page-item a:hover {
  background: radial-gradient(circle, #95bbf5 0%, #010156 80%) !important;
}