/*
Theme Name: Spurensuche Theme 2026
Theme URI: http://www.bit-for-byte.de/
Description: Theme for Spurensuche
Author: https://github.com/derjaeckel
Version: 1.0
License: GNU General Public License v2 or later
Tags: orange, grey, two-columns, responsive
Text Domain: spurensuche
*/

body.admin-bar .navbar {
    top: 32px;
}

#first-menu .navbar-nav .current-menu-item,
#second-menu .navbar-nav .current-menu-item,
#inner-footer-wrapper .nav .current-menu-item {
    font-weight: bold;
}

#first-menu .navbar-nav .current-menu-item a.nav-link {
    color: #fff;
}

.navbar-dark ul.navbar-dark {
    margin-top: 5px;
}

#inner-footer-wrapper .nav .nav-item a,
.text-light {
    color: #f8f9fa !important;
}

.card {
    cursor: pointer;
}

.card .card-subtitle,
.card .card-subtitle a
{
    color: #ff6600;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.card.news-card .card-text,
.card.news-card .card-text a,
.card.news-card .card-title,
.card.news-card .card-title a
{
    color: #696e73;
}

.home .spuren .card .card-body p.card-text a {
    color: #fff;
}

#search label.screen-reader-text {
    display: none;
}

#comments label {
    display: block;
    margin: .5rem 0 0 0;
}

#comments textarea#comment {
    width: calc(100% - 3em);
}

/** audio & video player **/

.wp-audio-shortcode {
    margin-bottom: 1rem;
    width: 70% !important;
}

.mejs-container.wp-audio-shortcode,
.wp-audio-shortcode .mejs-controls {
    border-radius: 30px;
    background: #ff6600 !important;
}

.mejs-container.wp-video-shortcode,
.wp-video-shortcode .mejs-controls {
    background: #ff6600 !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #fff !important;
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
    background: rgba(255, 255, 255, 0.5) !important;
}

#outer-wrapper div.related-links > ul > li > p:nth-child(1) {
    margin-bottom: 0 !important;
}

#outer-wrapper div.related-links > ul > li > p:nth-child(1) a {
    color: #696e73;
    font-weight: 600;
}

#outer-wrapper div.related-links > ul > li > p.linktotext a {
    color: #696e73;
    font-weight: normal;
}
/* REDESIGN 2021 - RENKE EILERS */
footer .nav-link {
    color:#fff!important;
}

.tag-headline {
    background: #ff6600;
    border-top-right-radius: 30px;
    display: flex;
    justify-content: space-between;
    margin: 0px!important;
    min-height: 60px;
    overflow: hidden;
}

.tag-headline h2 a::before {
    border: 10px solid transparent;
    border-left-color: transparent;
    border-left-color: #FFF;
    content: '';
    display: inline-block;
    height: 10px;
    margin-bottom: -1px;
    width: 10px;
}

.card-body-tags {
    width:100%;
}

.tagcloud {
    margin-top: 20px;
    background-color: rgba(255,255,255, .8);
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.tagcloud.no-footer {
    border-bottom-left-radius: 30px;
}

.tagcloud__title {
    margin: 0;
    padding: 10px 20px;
    background-color: #ff6610;
    border-top-right-radius: 30px;
    font-size: 25px;
    color: #fff;
}

.tagcloud__title::before {
    border: 10px solid transparent;
    border-left-color: #FFF;
    content: '';
    display: inline-block;
    height: 10px;
    margin-bottom: -1px;
    width: 10px;
}

.tagcloud__body {
    padding: 20px;
}

.tagcloud__body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}

.tagcloud__body ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin: 0 .5rem .25rem 0;
}

.tagcloud__body a {
    color: #343a40;
    letter-spacing: normal!important;
}

.tagcloud__body a:hover {
    text-decoration:underline;
    letter-spacing: normal!important;
}

.tagcloud__footer {
    padding: 10px 20px;
    background-color:  #ff6610;
    border-bottom-left-radius: 30px;
}

.tagcloud__footer a {
    font-size: 16px;
    color: #fff;
}

/**
  * @section	Imagereveal
  */

.content-holder {
    margin: 5px 10px; 
    padding: 20px 20px 0;
    background-color: rgba(255, 255, 255, .8);
}

.pastpresent__image {
    background-size: cover;
}

.pastpresent__img {
    transition: opacity .65s ease-in-out;
}

.pastpresent__img:hover {
    opacity: 0;
}

.pastpresent__title {
    margin: 0;
    background: #fff;
    padding: 10px;
    font-size: 18px;
    
}

.pp { 
  margin: 0 10px 5px;
  border-bottom-left-radius: 30px;
}

.pp__image {
  border-bottom-left-radius: 30px;
  background-size: cover;
}

.pp__img {
    transition: opacity .65s ease-in-out;
    border-bottom-left-radius: 30px;
}

.pp__img:hover {
  opacity: 0
}

.pagination {
  margin: 20px -10px 0;
  padding: 10px 20px;
  border-radius: 0;
  border-bottom-left-radius: 30px;
}

/* Comments Styling */
#comments {
  margin-top: 3rem;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 0.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

li.comment {
  margin-bottom: 2.5rem;
  padding: 2rem;
  padding-top: 2rem;
  background-color: #fff;
  border-left: 5px solid #ff6600;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  overflow: auto;
}

li.comment:hover {
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.12);
}

li.comment > article {
  display: block;
}

li.comment .comment-author img.avatar {
  float: left;
  margin-right: 1rem;
  margin-bottom: 0;
}

li.comment.comment-awaiting-moderation {
  background-color: #fffbf0;
  border-left-color: #ffb74d;
}

/* Comment Avatar */
li.comment img.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ff6600;
  display: block;
  margin-bottom: 0.75rem;
}

.comment-author {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.comment-author b {
  font-weight: 700;
  color: #333;
  font-size: 1rem;
}

.comment-author a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.comment-author a:hover {
  text-decoration: underline;
}

.comment-author .says {
  color: #999;
  font-style: italic;
  font-weight: normal;
  font-size: 0.9rem;
}

.comment-metadata {
  font-size: 0.9rem;
  color: #ff6600;
  font-weight: 600;
  margin: 0.75rem 0 1rem 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.comment-metadata a {
  color: #ff6600;
  text-decoration: none;
}

.comment-metadata a:hover {
  text-decoration: underline;
}

.comment-awaiting-moderation {
  display: inline-block;
  background-color: #ffb74d;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}

.comment-content {
  color: #555;
  line-height: 1.75;
  margin: 1.25rem 0 1rem 0;
  font-size: 0.95rem;
  clear: both;
}

.comment-content p {
  margin: 0.75rem 0;
}

.comment-content p:first-child {
  margin-top: 0;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-content a {
  color: #ff6600;
  text-decoration: none;
}

.comment-content a:hover {
  text-decoration: underline;
}

.comment-edit-link {
  font-size: 0.85rem;
  float: right;
}

.comment-edit-link a {
  color: #ff6600;
  text-decoration: none;
}

.comment-edit-link a:hover {
  text-decoration: underline;
}

.reply {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.reply a {
  display: inline-block;
  color: #fff;
  background-color: #ff6600;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.reply a:hover {
  background-color: #e55a00;
}

/* Nested replies */
.children {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 0 2rem;
}

.children > li.comment {
  border-left-color: #ffa366;
  background-color: #fafafa;
  padding: 1.5rem;
  margin-left: 0;
}

/* Comment Form Styling */
.comment-form-wrapper {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #ff6600;
}

#respond {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 4px;
  border-left: 4px solid #797979;
}

#respond h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.form-info {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  background-color: #fff3e0;
  padding: 1rem;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: #ff6600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Comments List Page (Latest Comments) */

.content-list .comment .card.news-card {
  border-left: 5px solid #ff6600;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  background-color: #fff;
}

.content-list .comment .card.news-card:hover {
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.12);
}

.content-list .comment .card-body {
  padding: 2rem;
}

.content-list .comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.content-list .comment-author img.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ff6600;
  flex-shrink: 0;
  margin: 0;
}

.content-list .comment-author.vcard {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.content-list .comment-author.vcard cite.fn {
  font-size: 0.9rem;
  color: #ff6600;
  font-weight: 600;
  font-style: normal;
}

.content-list .comment-author.vcard cite.fn a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 700;
}

.content-list .comment-author.vcard cite.fn a:hover {
  text-decoration: underline;
}

.content-list .card-title {
  margin: 1rem 0 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.content-list .card-title a {
  color: #333;
  text-decoration: none;
}

.content-list .card-title a:hover {
  color: #ff6600;
  text-decoration: underline;
}

.content-list .card-text {
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 1rem 0 0 0;
}

.content-list .card-text a {
  color: #555;
  text-decoration: none;
}

.content-list .card-text a:hover {
  color: #ff6600;
  text-decoration: underline;
}

.content-list .clear {
  display: none;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .comment-header {
    flex-direction: column;
  }

  .children {
    padding-left: 1rem;
  }

  .content-list .comment-author {
    flex-wrap: wrap;
  }
}