/* ==========================================================================
   Tasuma Blog-Design: Aufbau der Hauptseite (leo-tasuma-artem.de) fuer den Blog
   Angelegt am 05.11.2026. Wird nur geladen, wenn das Design aktiv ist
   (siehe wp-content/novamira-sandbox/tasuma-blog-design.php).
   Kopf und Menue bleiben der bestehende Astra-Header des Blogs.
   Farben: Bordeaux #77151D, Gruen #4B6449, Band #C3B8B1, Hintergrund #E3DEDA
   ========================================================================== */

body.tasuma-design {
  --t-burgundy: #77151D;
  --t-burgundy-dark: #5B0F16;
  --t-green: #4B6449;
  --t-band: #C3B8B1;
  --t-bg: #E3DEDA;
  --t-line: rgba(119, 21, 29, .35);
}

/* ---------- Hintergrund: Inhalt hell, Kopf und Fuss im Band ---------- */
body.tasuma-design,
body.tasuma-design.ast-separate-container,
body.tasuma-design.ast-plain-container,
body.tasuma-design #content,
body.tasuma-design .site-content {
  background-color: var(--t-bg) !important;
}
body.tasuma-design #masthead .main-header-bar,
body.tasuma-design #masthead .ast-primary-header-bar {
  background-color: var(--t-band);
}

/* Abstand wie auf der Hauptseite */
body.tasuma-design.ast-separate-container #primary,
body.tasuma-design.ast-plain-container #primary,
body.tasuma-design #primary {
  margin: 0;
  padding: 64px 0 72px;
}
body.tasuma-design.ast-separate-container .site-main > .ast-row { margin: 0; }

/* ---------- Ueberschriften ---------- */
body.tasuma-design .tasuma-hero-text h1,
body.tasuma-design .tasuma-section-title,
body.tasuma-design .entry-title,
body.tasuma-design .entry-content h1 {
  color: var(--t-burgundy);
  font-weight: 600;
  line-height: 1.15;
}
body.tasuma-design .tasuma-hero-text h1 { font-size: 32px; margin: 0 0 16px; }
body.tasuma-design .tasuma-section-title {
  font-size: 32px; text-transform: uppercase; margin: 72px 0 24px;
}

/* ---------- Startseite: Intro ---------- */
body.tasuma-design .tasuma-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 0 60px;
  align-items: start;
}
body.tasuma-design .tasuma-hero-text p { margin: 0 0 12px; }

/* Seitenspalte: Foto und Zitatbox */
body.tasuma-design .tasuma-side img.tasuma-portrait { display: block; width: 100%; height: auto; }
body.tasuma-design .tasuma-side--post img.tasuma-portrait {
  aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%;
}

body.tasuma-design .tasuma-quote {
  margin: 12px 0 0;
  border: 1px solid var(--t-burgundy);
  padding: 32px 28px 28px;
  text-align: center;
  color: var(--t-green);
  font-family: Candara, "Gill Sans", "Gill Sans MT", "Segoe UI", sans-serif;
}
body.tasuma-design .tasuma-quote,
body.tasuma-design .tasuma-quote blockquote,
body.tasuma-design .tasuma-quote blockquote p,
body.tasuma-design .tasuma-quote figcaption { color: var(--t-green) !important; }
body.tasuma-design .tasuma-quote blockquote {
  margin: 0; padding: 0; border: 0; background: none; quotes: none; font-style: normal;
}
body.tasuma-design .tasuma-quote blockquote::before,
body.tasuma-design .tasuma-quote blockquote::after { content: none; display: none; }
body.tasuma-design .tasuma-quote .tasuma-quote-title {
  margin: 0 0 14px; font-size: 25px; line-height: 1.2; font-weight: 700;
}
body.tasuma-design .tasuma-quote blockquote p:not(.tasuma-quote-title) {
  margin: 0; font-size: 20px; line-height: 1.5;
}
body.tasuma-design .tasuma-quote figcaption { margin-top: 18px; font-size: 17px; }

/* Social-Buttons */
body.tasuma-design .tasuma-social {
  display: flex; gap: 4px; justify-content: center; margin-top: 28px;
}
body.tasuma-design .tasuma-social a {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--t-burgundy); color: #fff;
  display: grid; place-items: center; text-decoration: none;
}
body.tasuma-design .tasuma-social a:hover { background: var(--t-burgundy-dark); color: #fff; }
body.tasuma-design .tasuma-social svg { width: 24px; height: 24px; display: block; }

/* ---------- Beitragskarten (Startseite) ---------- */
body.tasuma-design.home .site-main > .ast-row,
body.tasuma-design.blog .site-main > .ast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
body.tasuma-design.home .site-main > .ast-row::before,
body.tasuma-design.home .site-main > .ast-row::after,
body.tasuma-design.blog .site-main > .ast-row::before,
body.tasuma-design.blog .site-main > .ast-row::after { display: none; }

body.tasuma-design .ast-article-post.ast-grid-common-col {
  width: auto !important; max-width: none; float: none; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
body.tasuma-design .ast-article-post .ast-article-inner {
  height: 100%;
  border: 1px solid rgba(119, 21, 29, .6);
  background: rgba(255, 255, 255, .25);
  box-shadow: none; border-radius: 0;
  transition: background .2s;
}
body.tasuma-design .ast-article-post .ast-article-inner:hover { background: rgba(255, 255, 255, .5); }
body.tasuma-design .ast-article-post .post-content {
  display: flex; flex-direction: column; height: 100%;
  padding: 24px 24px 22px !important; margin: 0 !important;
}
body.tasuma-design .ast-article-post .post-thumb:empty { display: none; }
body.tasuma-design .ast-article-post .ast-blog-meta-container {
  order: -1; margin: 0 0 4px; padding: 0;
}
body.tasuma-design .ast-article-post .entry-meta {
  margin: 0; font-size: 13px; line-height: 20px; font-weight: 600;
  color: var(--t-burgundy); text-transform: uppercase; letter-spacing: .04em;
}
body.tasuma-design .ast-article-post .entry-meta * { color: inherit; }
body.tasuma-design .ast-article-post .entry-title {
  order: 0; font-size: 22px; line-height: 1.2; margin: 6px 0 12px;
}
body.tasuma-design .ast-article-post .entry-title a { color: inherit; font-weight: 600; }
body.tasuma-design .ast-article-post .ast-excerpt-container { order: 1; flex: 1; margin: 0 0 20px; }
body.tasuma-design .ast-article-post .ast-excerpt-container p { margin: 0; }
body.tasuma-design .ast-article-post .entry-content:empty { display: none; }
body.tasuma-design .ast-article-post .ast-read-more-container { order: 2; margin: 0; }
body.tasuma-design .ast-article-post .ast-read-more-container a {
  display: inline-block; background: var(--t-burgundy); color: #fff;
  font-size: 14px; line-height: 20px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; text-decoration: none;
}
body.tasuma-design .ast-article-post .ast-read-more-container a:hover { background: var(--t-burgundy-dark); }

/* Seitenzahlen */
body.tasuma-design .ast-pagination { margin-top: 32px; text-align: left; }
body.tasuma-design .ast-pagination .page-numbers,
body.tasuma-design .navigation.pagination .page-numbers {
  display: inline-block; min-width: 42px; margin: 0 6px 6px 0; padding: 9px 16px;
  border: 1px solid var(--t-burgundy); border-radius: 999px; background: transparent;
  color: var(--t-burgundy); font-size: 14px; line-height: 20px; font-weight: 600; text-align: center;
}
body.tasuma-design .ast-pagination .page-numbers.current,
body.tasuma-design .ast-pagination a.page-numbers:hover,
body.tasuma-design .navigation.pagination .page-numbers.current {
  background: var(--t-burgundy); color: #fff;
}

/* ---------- Beitrag und Seite mit Seitenspalte ---------- */
body.tasuma-design.tasuma-has-aside #primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 0 60px;
  align-items: start;
}
body.tasuma-design.tasuma-has-aside #primary > .site-main { grid-column: 1; grid-row: 1; min-width: 0; }
body.tasuma-design.tasuma-has-aside #primary > .tasuma-side { grid-column: 2; grid-row: 1; }
body.tasuma-design.tasuma-has-aside #primary > .ast-pagination { grid-column: 1; }
body.tasuma-design.tasuma-has-aside.ast-separate-container .site-main > .ast-article-single,
body.tasuma-design.tasuma-has-aside.ast-separate-container .site-main > article,
body.tasuma-design.tasuma-has-aside.ast-separate-container .comments-area {
  background: none; box-shadow: none; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0;
}

/* Einzelbeitrag ohne Seitenspalte: eine mittige Lesespalte (Stand 14.11.2026) */
body.tasuma-design.tasuma-no-aside #primary > .site-main { max-width: 840px; margin-left: auto; margin-right: auto; min-width: 0; }
body.tasuma-design.tasuma-no-aside.ast-separate-container .site-main > .ast-article-single,
body.tasuma-design.tasuma-no-aside.ast-separate-container .site-main > article,
body.tasuma-design.tasuma-no-aside.ast-separate-container .comments-area {
  background: none; box-shadow: none; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0;
}

/* Einzelbeitrag: Titel und Text */
body.tasuma-design.single-post .entry-title { font-size: 36px; margin-bottom: 8px; }
body.tasuma-design.single-post .entry-meta,
body.tasuma-design.single-post .entry-meta * {
  font-size: 14px; font-weight: 600; color: var(--t-burgundy);
}
body.tasuma-design .entry-content h2,
body.tasuma-design .entry-content h3 {
  color: var(--t-burgundy); font-weight: 600; line-height: 1.2;
}
body.tasuma-design .entry-content h2 { font-size: 24px; margin: 36px 0 10px; }
body.tasuma-design .entry-content h1 { font-size: 36px; margin: 0 0 16px; }
body.tasuma-design .entry-content p { line-height: 26px; margin-bottom: 16px; }

/* Vor/Zurueck */
body.tasuma-design .post-navigation {
  border-top: 1px solid var(--t-line); margin-top: 48px; padding-top: 20px;
}
body.tasuma-design .post-navigation .nav-links { padding: 0; }
body.tasuma-design .post-navigation a { font-weight: 600; color: var(--t-burgundy); }

/* Kommentare */
body.tasuma-design .comments-area { border-top: 0; margin-top: 40px; padding: 0; }
body.tasuma-design .comment-respond,
body.tasuma-design .comment-list { padding-left: 0 !important; padding-right: 0 !important; }
body.tasuma-design .comment-reply-title,
body.tasuma-design .comments-title {
  color: var(--t-burgundy); font-size: 22px; font-weight: 600;
}
body.tasuma-design #respond textarea,
body.tasuma-design #respond input[type="text"],
body.tasuma-design #respond input[type="email"],
body.tasuma-design #respond input[type="url"] {
  background: var(--t-band); border: 0; border-radius: 2px; color: var(--t-green);
}
body.tasuma-design #respond ::placeholder { color: rgba(75, 100, 73, .75); opacity: 1; }
body.tasuma-design #respond .submit,
body.tasuma-design #respond input[type="submit"] {
  background: var(--t-burgundy); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 24px; font-weight: 600;
}
body.tasuma-design #respond .submit:hover { background: var(--t-burgundy-dark); }

/* ---------- Fussbereich wie auf der Hauptseite ---------- */
body.tasuma-design #colophon { display: none; }

.tasuma-footer .tasuma-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.tasuma-footer-band { background: #C3B8B1; padding: 24px 0; }
.tasuma-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tasuma-f-logo img { display: block; width: 103px; height: 103px; border-radius: 50%; }
.tasuma-footer .tasuma-social { margin-top: 0; }
.tasuma-f-links { display: flex; gap: 28px; }
.tasuma-f-links a {
  font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase;
  color: #77151D; text-decoration: none;
}
.tasuma-f-links a:hover { text-decoration: underline; }
.tasuma-copyright {
  margin: 0; padding: 12px 0 14px; font-size: 14px; font-weight: 600; color: #77151D;
}

/* ---------- Tablet und Handy ---------- */
@media (max-width: 921px) {
  body.tasuma-design #primary,
  body.tasuma-design.ast-separate-container #primary,
  body.tasuma-design.ast-plain-container #primary { padding-top: 40px; }
  body.tasuma-design .tasuma-hero { grid-template-columns: 1fr; }
  body.tasuma-design .tasuma-side { margin-top: 32px; max-width: 456px; }
  body.tasuma-design.tasuma-has-aside #primary { display: block; }
  body.tasuma-design.tasuma-has-aside #primary > .tasuma-side { margin-top: 40px; }
  body.tasuma-design.home .site-main > .ast-row,
  body.tasuma-design.blog .site-main > .ast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tasuma-footer-grid { flex-direction: column; gap: 18px; }
  .tasuma-copyright { text-align: center; }
}

@media (max-width: 640px) {
  body.tasuma-design .tasuma-hero-text h1,
  body.tasuma-design .tasuma-section-title { font-size: 26px; }
  body.tasuma-design.single-post .entry-title,
  body.tasuma-design .entry-content h1 { font-size: 28px; }
  body.tasuma-design .tasuma-section-title { margin-top: 56px; }
  body.tasuma-design.home .site-main > .ast-row,
  body.tasuma-design.blog .site-main > .ast-row { grid-template-columns: 1fr; }
  .tasuma-f-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
}
