/* Premium Blog Post Styling for Kleine Musikschule (Light Theme) */

/* 1. Typography & General Layout */
#main p {
  line-height: 1.85;
  font-size: 1.1em;
  color: rgba(0, 0, 0, 0.75);
  letter-spacing: 0.015em;
  font-weight: 400;
}

#main h2,
#main h3,
#main h4 {
  background: linear-gradient(135deg, #e07a5f 0%, #d4a373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback */
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  letter-spacing: 0.02em;
  font-weight: 700;
}

#main strong {
  color: #e07a5f;
  font-weight: 700;
}

#main ul,
#main ol {
  line-height: 1.9;
  font-size: 1.05em;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 400;
  padding-left: 1.5em;
}

#main li {
  margin-bottom: 0.8em;
  position: relative;
}

#main li::marker {
  color: #e07a5f;
}

.inner {
  max-width: 850px;
  margin: 0 auto;
}

/* 2. Main Image Styling */
.image.main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-top: 2em;
  margin-bottom: 3em;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.image.main img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.8s ease;
}

.image.main:hover img {
  transform: scale(1.03);
}

/* 3. Glassmorphism Content Boxes (Light Mode) */
.content-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.2em;
  border-radius: 16px;
  margin: 2.5em 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.content-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #e07a5f, #d4a373);
}

.content-box:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 122, 95, 0.3);
}

.content-box h3,
.content-box h4 {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.3em;
}

.content-box p {
  margin-bottom: 0;
}

/* 4. The SEO Promo/Author Box */
.promo-box {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.05) 0%, rgba(212, 163, 115, 0.1) 100%);
  border: 1px solid rgba(224, 122, 95, 0.2);
  border-radius: 12px;
  padding: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 3em;
  display: flex;
  align-items: center;
  gap: 1.5em;
  backdrop-filter: blur(8px);
}

.promo-box-icon {
  font-size: 2.5em;
  line-height: 1;
}

.promo-box-text {
  flex-grow: 1;
}

.promo-box-text p {
  margin: 0;
  font-size: 0.95em !important;
  line-height: 1.6 !important;
  color: rgba(0, 0, 0, 0.7) !important;
}

.promo-box-text strong {
  color: #000 !important;
}

.promo-box-text a {
  color: #e07a5f;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(224, 122, 95, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.promo-box-text a:hover {
  color: #d4a373;
  border-bottom-color: #d4a373;
}

@media screen and (max-width: 736px) {
  #main p {
    font-size: 1em;
    line-height: 1.7;
  }
  .content-box {
    padding: 1.5em;
  }
  .promo-box {
    flex-direction: column;
    text-align: center;
    gap: 1em;
  }
}
