/* ==== Bergland visual tweaks (2026-10) ====================================
   CSS only, appended to Customizer > Additional CSS. Theme settings, page
   content and plugins stay untouched; deleting this block restores the old
   look. Brand green is the theme's own link colour #059631.
   ========================================================================== */

/* Header: soft shadow instead of the hard grey rule, green hover on the menu */
.site-header .main-header-bar,
.site-header .ast-primary-header-bar {
  border-bottom: 0;
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}
.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: #059631;
}

/* Phone header only holds the coat of arms (an HTML element, linked to the
   homepage) - add the name inside that link */
#ast-mobile-header .ast-header-html-1 .ast-builder-html-element p {
  margin: 0;
}
#ast-mobile-header .ast-header-html-1 .bl-home-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
#ast-mobile-header .ast-header-html-1 .bl-home-link::after {
  content: "K.D.St.V. Bergland Aachen";
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ast-global-color-2);
  white-space: nowrap;
}

/* Page headings from SiteOrigin text widgets (e.g. "Herzlich Willkommen!") */
.panel-layout .widget-title {
  font-size: 1.75rem;
  color: var(--ast-global-color-2);
  padding-bottom: 0.35em;
  margin-bottom: 0.8em;
  border-bottom: 3px solid #059631;
  display: inline-block;
}

/* Lists in page text had their bullets reset */
.panel-layout .textwidget ul {
  list-style: disc;
  padding-left: 1.4em;
}
.panel-layout .textwidget ul li::marker {
  color: #059631;
}

/* Button row on the homepage ("Nächste Termine", "Das Berglandhaus", "Kontakt") */
.bl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4em;
}
.bl-cta a {
  display: inline-block;
  padding: 0.55em 1.1em;
  border-radius: 6px;
  border: 2px solid #059631;
  color: #059631;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.bl-cta a:first-child,
.bl-cta a:hover {
  background: #059631;
  color: #fff;
}
.bl-cta a:first-child:hover {
  background: #056923;
  border-color: #056923;
}

/* Content images: gentle rounding */
.panel-layout img,
.entry-content .wp-block-image img {
  border-radius: 8px;
}

/* Footer: tinted band, readable link size, tidy icon row */
.site-footer .site-below-footer-wrap {
  background: var(--ast-global-color-5);
  border-top: 0;
}
.site-footer p:has(> code:only-child:empty) {
  display: none;
}
.site-footer .ast-builder-html-element span {
  font-size: inherit !important;
}
.site-footer .ast-builder-html-element a:hover {
  color: #059631 !important;
}
.site-footer .wp-block-buttons {
  gap: 14px;
}
.site-footer .wp-block-button__link {
  width: 56px;
  height: 56px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.site-footer .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 49, 0.25);
}
.site-footer .wp-block-button__link img {
  width: 32px !important;
  height: 32px;
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 921px) {
  .site-footer .wp-block-buttons {
    justify-content: center;
  }
}

/* Dark-mode switch: smaller and quieter on phones so it covers less text */
@media (max-width: 544px) {
  .darkmode-toggle,
  .darkmode-layer--button {
    width: 32px !important;
    height: 32px !important;
    bottom: 16px !important;
    left: 16px !important;
  }
  .darkmode-toggle {
    opacity: 0.75;
    font-size: 14px;
  }
}

/* Events calendar (Pretty Google Calendar / FullCalendar) */
.fc .fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
  color: var(--ast-global-color-3);
  text-decoration: none;
}
.fc .fc-day-other .fc-daygrid-day-number {
  color: var(--ast-global-color-7);
}
.fc .fc-day-today {
  background: rgba(5, 150, 49, 0.08) !important;
}
.fc .fc-daygrid-event {
  border: 0;
  border-radius: 4px;
  padding: 2px 4px;
  background: #059631;
}
.fc .fc-daygrid-event .fc-event-main {
  color: #fff !important;
}
.fc .fc-daygrid-event,
.fc .fc-daygrid-event * {
  text-decoration: none !important;
}
.fc .fc-daygrid-event.fc-event-past {
  background: var(--ast-global-color-7);
  opacity: 0.8;
}
.fc .fc-daygrid-event.fc-event-past .fc-event-main {
  color: var(--ast-global-color-3) !important;
}
.fc .fc-button-primary {
  background: var(--ast-global-color-2);
  border-color: var(--ast-global-color-2);
}
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):hover {
  background: #059631;
  border-color: #059631;
}
.fc .fc-list-event-dot {
  border-color: #059631;
}
.fc .fc-list-day-cushion a,
.fc .fc-list-event-title a {
  text-decoration: none !important;
}
.fc .fc-list-day-cushion a {
  color: var(--ast-global-color-2);
}
.fc .fc-list-event-title a {
  color: var(--ast-global-color-3);
}
.fc .fc-list-event:hover .fc-list-event-title a {
  color: #059631;
}
/* ==== end Bergland visual tweaks ========================================= */