/*
Theme Name: TKK Theme
Author: Matthias Linzmaier
Version: 0.1.0
Text Domain: tkk-theme
*/

header .wp-block-site-logo img.custom-logo {
  width: 180px !important;   /* gewünschte Logo-Breite */
  height: auto !important;   /* Höhe automatisch */
}

/* Header: saubere Typo + Logo */
.wp-block-site-logo img.custom-logo{
  width: 220px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* === Navigation modernisieren === */

/* Menü insgesamt */
.wp-block-navigation {
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-size: 16px;
}

/* Links */
.wp-block-navigation a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  transition: all 0.2s ease;
}

/* Hover-Effekt */
.wp-block-navigation a:hover {
  color: #b40000;
  background: rgba(180, 0, 0, 0.08);
}

/* Aktive Seite */
.wp-block-navigation a[aria-current="page"] {
  color: #b40000;
  font-weight: 700;
  position: relative;
}

/* Unterstreichung für aktive Seite */
.wp-block-navigation a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: #b40000;
  margin-top: 4px;
}


/* Beitragsgrid */
.wp-block-post-template {
  gap: 30px;
}

/* Kartenlook */
.wp-block-post-template > li {
  list-style: none;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

/* Hover */
.wp-block-post-template > li:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Titel */
.wp-block-post-title a {
  color: #111;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: #b40000;
}


/* Datum mit rotem Kalender-Icon */
.wp-block-post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}

.wp-block-post-date::before {
  content: "\f145";            /* Dashicons: calendar */
  font-family: dashicons;
  font-size: 16px;
  line-height: 1;
  color: #b40000;              /* Vereinsrot */
}



/* Titel + Datum in einer Zeile */
.tkk-title-row {
  align-items: baseline;
  gap: 12px;
}

/* Datum rechts halten */
.tkk-title-row .wp-block-post-date {
  margin-left: auto;
  text-align: right;
  white-space: nowrap; /* verhindert unschönes Umbrechen im Datum */
  font-size: 14px;
  color: #777;
}
