.spf-finder {
  margin: 32px 0;
  padding: 24px;
  border-radius: 18px;
  background: #f7fbf8;
  border: 1px solid #dbeee0;
  font-family: inherit;
}

.spf-header {
  margin-bottom: 22px;
}

.spf-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e3f3e8;
  font-size: 14px;
  font-weight: 700;
}

.spf-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.spf-header p {
  margin: 0;
  max-width: 780px;
}

.spf-filterbox {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  align-items: end;
}

.spf-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.spf-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #bfd8c7;
  background: #ffffff;
}

.spf-reset {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: #294f36;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.spf-reset:hover,
.spf-button:hover {
  opacity: 0.9;
}

.spf-summary {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8df;
  border-left: 5px solid #e6b800;
  font-weight: 600;
}

.spf-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spf-card {
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dce9df;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.spf-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.spf-description {
  margin: 0 0 12px;
}

.spf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spf-meta span {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef7f1;
  font-size: 13px;
  font-weight: 600;
}

.spf-button {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 10px;
  background: #2f6d46;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
}

.spf-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
}

@media (max-width: 900px) {
  .spf-filterbox,
  .spf-results {
    grid-template-columns: 1fr;
  }

  .spf-finder {
    padding: 18px;
  }

  .spf-header h2 {
    font-size: 24px;
  }
}

.spf-detailbox {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  background: #f8fafc;
}

.spf-detailbox h2 {
  margin-top: 0;
}

.spf-backlink {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #d0d7de;
}

.spf-intro {
  font-size: 1.08em;
  line-height: 1.7;
}

.spf-amazonbox,
.spf-related {
  margin: 28px 0;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eadfb8;
  background: #fffaf0;
}

.spf-amazonbox h2,
.spf-related h2 {
  margin-top: 0;
}

.spf-amazon-hinweis {
  font-size: 0.95em;
  opacity: 0.85;
}

.spf-related ul {
  margin-bottom: 0;
}

.spf-random-amazon-product {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    background: #fffdf8;
    margin-top: 14px;
}

.spf-amazon-button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background: #f3f4f6;
}

.spf-amazon-small {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Produktbox ab Version 1.5 */
.spf-product-card {
    display: flex;
    gap: 18px;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    margin-top: 12px;
}
.spf-product-image-link {
    display: block;
    flex: 0 0 130px;
    text-align: center;
}
.spf-product-image {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}
.spf-product-info {
    flex: 1;
}
.spf-product-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}
.spf-product-title a {
    text-decoration: none;
}
.spf-material-label {
    margin-bottom: 8px;
}
@media (max-width: 600px) {
    .spf-product-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .spf-product-image-link {
        flex-basis: auto;
        width: 100%;
    }
}


.spf-product-card {
  display: flex;
  gap: 16px;
  align-items: center;
}

.spf-product-image {
  max-width: 140px;
  height: auto;
  border-radius: 10px;
}

.spf-product-title {
  margin-top: 0;
}

@media (max-width: 600px) {
  .spf-product-card { display: block; }
  .spf-product-image { margin-bottom: 12px; }
}


/* Version 1.6.4: Amazon-Produktbild um ca. 50% verkleinert */
.spf-product-image-link {
    flex: 0 0 70px;
    max-width: 70px;
}

.spf-product-image {
    max-width: 70px !important;
    max-height: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

@media (max-width: 600px) {
    .spf-product-image-link {
        width: auto;
        max-width: 70px;
    }

    .spf-product-image {
        margin-bottom: 10px;
    }
}

/* Version 1.8.2: Klickbare Buttons kompakter */
.spf-button,
.spf-reset,
.spf-amazon-button,
.spf-backlink {
  padding: 5px 10px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border-radius: 6px !important;
  min-height: auto !important;
}

.spf-reset {
  min-height: 30px !important;
}

.spf-button,
.spf-amazon-button,
.spf-backlink {
  display: inline-block;
}

/* Version 1.8.3: farbige, freundlichere Detailseiten */
.spf-hero {
  margin: 26px 0 24px;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7d6 0%, #e9f8ef 55%, #eef6ff 100%);
  border: 1px solid #e7edd5;
  box-shadow: 0 10px 28px rgba(35, 68, 49, 0.08);
}

.spf-hero-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #2f6d46;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.spf-intro {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.75;
  color: #243226;
}

.spf-detailbox {
  border: 0;
  border-radius: 22px;
  padding: 24px;
  margin: 26px 0;
  background: #f0fbf4;
  box-shadow: inset 0 0 0 1px #cfead7, 0 8px 22px rgba(35, 68, 49, 0.06);
}

.spf-detailbox h2 {
  color: #244f34;
  margin-bottom: 14px;
}

.spf-detailbox ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.spf-detailbox li {
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d9efdf;
}

.spf-contentbox {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.spf-contentbox h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45em;
  line-height: 1.25;
}

.spf-contentbox p:last-child {
  margin-bottom: 0;
}

.spf-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
}

.spf-box-goal { background: #fff4d6; border-color: #f0d58a; }
.spf-box-play { background: #eaf7ff; border-color: #bfe4f7; }
.spf-box-value { background: #edf9ef; border-color: #c6e8ce; }
.spf-box-development { background: #f3edff; border-color: #d9c8ff; }
.spf-box-variants { background: #fff0f6; border-color: #f4bfd5; }
.spf-box-tip { background: #fff8df; border-color: #eecf6d; }
.spf-box-safety { background: #f1f7ff; border-color: #c5d9f5; }
.spf-box-expert { background: #f5f5ff; border-color: #d5d5f6; }

.spf-amazonbox,
.spf-related {
  border: 0;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.spf-amazonbox {
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px #ecdca8, 0 8px 22px rgba(0,0,0,0.045);
}

.spf-amazonbox h2::before {
  content: "🛒 ";
}

.spf-related {
  background: #eef9f3;
  box-shadow: inset 0 0 0 1px #cde9d8, 0 8px 22px rgba(0,0,0,0.045);
}

.spf-related ul {
  padding-left: 20px;
}

.spf-related a {
  font-weight: 700;
}

.spf-backlink {
  background: #2f6d46;
  color: #ffffff !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .spf-detailbox ul {
    grid-template-columns: 1fr;
  }

  .spf-hero,
  .spf-detailbox,
  .spf-contentbox,
  .spf-amazonbox,
  .spf-related {
    padding: 18px;
    border-radius: 18px;
  }
}

.spf-random{min-height:44px;padding:9px 14px;border:0;border-radius:10px;background:#e77926;color:#fff;font-weight:700;cursor:pointer}.spf-finder-movement{background:#fff8ee;border-color:#f0d5b7}.spf-finder-movement .spf-label{background:#ffe0bf}.spf-finder-movement .spf-button{background:#b65318}.spf-movement-hero{border-left:6px solid #e77926;padding:18px;background:#fff8ee;border-radius:14px}.spf-contentbox{margin:24px 0;padding:20px;border-radius:16px;border:1px solid #e2e8f0}.spf-box-goal{background:#fff8df}.spf-box-play{background:#eef8ff}.spf-box-value{background:#eef9f0}.spf-box-development{background:#f5f0ff}.spf-box-variants{background:#fff0f5}.spf-box-tip{background:#fffbea}.spf-box-safety{background:#fff1f1}


/* v2.2.0 – SEO-Kategorieseiten */
.spf-category-nav{margin:28px 0;padding:24px;border:1px solid #e5e7eb;border-radius:18px;background:linear-gradient(135deg,#fff8ee 0%,#f4fbff 100%);box-shadow:0 8px 24px rgba(15,23,42,.06)}
.spf-category-nav h2{margin:0 0 16px;font-size:clamp(1.35rem,2.2vw,1.8rem)}
.spf-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.spf-category-chip{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:#fff;text-decoration:none!important;font-weight:700;box-shadow:0 2px 8px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease}
.spf-category-chip:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(15,23,42,.12)}
.spf-category-chip span{font-size:.86em;opacity:.68}
.spf-tax-landing{margin:0 0 32px}
.spf-tax-lead{font-size:1.12rem;line-height:1.75}
.spf-tax-benefits{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.spf-tax-benefits span{padding:9px 13px;border-radius:999px;background:#f1f5f9;font-weight:700}
.spf-detail-categories{margin:28px 0 10px;padding:16px 18px;border-left:5px solid #ff8a3d;border-radius:12px;background:#fff8ee}
.spf-detail-categories a{font-weight:700}
@media (max-width:600px){.spf-category-nav{padding:18px}.spf-category-grid{grid-template-columns:1fr}.spf-tax-benefits{display:grid}}


/* v2.2.2 – Links auf SEO-Kategorieseiten deutlich hervorheben */
.tax-bewegungsspiel_thema .entry-title a,
.tax-bewegungsspiel_thema .wp-block-post-title a,
.tax-bewegungsspiel_thema article h2 a,
.tax-bewegungsspiel_thema article h3 a,
.tax-bewegungsspiel_thema .post-title a {
    color: #0b6f8f !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
    font-weight: 800 !important;
    transition: color .18s ease, text-decoration-color .18s ease, transform .18s ease;
}

.tax-bewegungsspiel_thema .entry-title a::after,
.tax-bewegungsspiel_thema .wp-block-post-title a::after,
.tax-bewegungsspiel_thema article h2 a::after,
.tax-bewegungsspiel_thema article h3 a::after,
.tax-bewegungsspiel_thema .post-title a::after {
    content: " →";
    display: inline;
    font-weight: 900;
}

.tax-bewegungsspiel_thema .entry-title a:hover,
.tax-bewegungsspiel_thema .entry-title a:focus,
.tax-bewegungsspiel_thema .wp-block-post-title a:hover,
.tax-bewegungsspiel_thema .wp-block-post-title a:focus,
.tax-bewegungsspiel_thema article h2 a:hover,
.tax-bewegungsspiel_thema article h2 a:focus,
.tax-bewegungsspiel_thema article h3 a:hover,
.tax-bewegungsspiel_thema article h3 a:focus,
.tax-bewegungsspiel_thema .post-title a:hover,
.tax-bewegungsspiel_thema .post-title a:focus {
    color: #ff6b35 !important;
    text-decoration-color: #ff6b35 !important;
}

.tax-bewegungsspiel_thema article {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.tax-bewegungsspiel_thema article:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}


/* v2.2.3 – vollständiges modernes Layout auf Kategoriearchiven */
.spf-movement-taxonomy-page .site-main,
.spf-movement-taxonomy-page main {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.spf-movement-taxonomy-page .spf-tax-landing {
    padding: 28px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,.07);
}

.spf-movement-taxonomy-page .spf-tax-landing > p:first-child {
    font-size: 1.08rem;
    line-height: 1.75;
}

.spf-movement-taxonomy-page .spf-tax-landing .spf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg,#ff7a00,#ff9b3d);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(255,122,0,.22);
}

.spf-movement-taxonomy-page .spf-category-nav {
    margin-top: 30px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.spf-movement-taxonomy-page .spf-category-nav h2 {
    margin-bottom: 18px;
    font-size: clamp(1.5rem,2.4vw,2rem);
}

.spf-movement-taxonomy-page .spf-category-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit,minmax(235px,1fr));
    gap: 14px;
}

.spf-movement-taxonomy-page .spf-category-chip {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 16px 44px 16px 18px;
    color: #087b7b !important;
    background: #fff;
    border: 1px solid #dfe7ec;
    border-radius: 14px;
    text-decoration: none !important;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
}

.spf-movement-taxonomy-page .spf-category-chip::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.9rem;
    color: #0a8f8f;
}

.spf-movement-taxonomy-page .spf-category-chip:hover,
.spf-movement-taxonomy-page .spf-category-chip:focus {
    transform: translateY(-2px);
    border-color: #0a8f8f;
    box-shadow: 0 10px 24px rgba(15,23,42,.11);
}

.spf-movement-taxonomy-page .spf-category-chip span {
    flex: 0 0 auto;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: .82rem;
}

.spf-movement-taxonomy-page article {
    position: relative;
    padding: 24px 64px 24px 24px !important;
    border: 1px solid #e1e8ed !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(15,23,42,.06) !important;
    overflow: hidden;
}

.spf-movement-taxonomy-page article::after {
    content: "›";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    line-height: 1;
    color: #0a8f8f;
}

.spf-movement-taxonomy-page article:hover {
    transform: translateY(-2px);
    border-color: #b6dede !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.11) !important;
}

.spf-movement-taxonomy-page article .entry-title,
.spf-movement-taxonomy-page article .wp-block-post-title,
.spf-movement-taxonomy-page article h2,
.spf-movement-taxonomy-page article h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(1.35rem,2.1vw,1.8rem);
}

.spf-movement-taxonomy-page article .entry-title a,
.spf-movement-taxonomy-page article .wp-block-post-title a,
.spf-movement-taxonomy-page article h2 a,
.spf-movement-taxonomy-page article h3 a,
.spf-movement-taxonomy-page article .post-title a {
    color: #087b7b !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
    font-weight: 850 !important;
}

.spf-movement-taxonomy-page article .entry-title a::after,
.spf-movement-taxonomy-page article .wp-block-post-title a::after,
.spf-movement-taxonomy-page article h2 a::after,
.spf-movement-taxonomy-page article h3 a::after,
.spf-movement-taxonomy-page article .post-title a::after {
    content: " →";
}

.spf-movement-taxonomy-page article p {
    margin-bottom: 0;
    line-height: 1.65;
    color: #334155;
}

.spf-movement-taxonomy-page .navigation.pagination,
.spf-movement-taxonomy-page .nav-links {
    margin-top: 28px;
}

@media (max-width:700px) {
    .spf-movement-taxonomy-page .spf-tax-landing {
        padding: 20px;
        border-radius: 16px;
    }

    .spf-movement-taxonomy-page .spf-category-grid {
        grid-template-columns: 1fr;
    }

    .spf-movement-taxonomy-page article {
        padding: 20px 46px 20px 18px !important;
    }

    .spf-movement-taxonomy-page article::after {
        right: 16px;
    }
}


/* v2.2.4 – aktive Kategorie eindeutig anzeigen */
.spf-current-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 20px;
    padding: 14px 18px;
    border-left: 5px solid #ff7a00;
    border-radius: 12px;
    background: #fff7ed;
}

.spf-current-category span {
    color: #9a3412;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.spf-current-category strong {
    color: #0f172a;
    font-size: 1.15rem;
}


/* v2.5.0 – Druckfunktionen */
.spf-print-selection,
.spf-print-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 16px;
    border: 0;
    border-radius: 11px;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15,118,110,.18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.spf-print-selection:hover,
.spf-print-selection:focus,
.spf-print-category:hover,
.spf-print-category:focus {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(15,118,110,.24);
}

.spf-tax-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

@media print {
    body.tax-bewegungsspiel_thema header,
    body.tax-bewegungsspiel_thema footer,
    body.tax-bewegungsspiel_thema nav,
    body.tax-bewegungsspiel_thema .site-header,
    body.tax-bewegungsspiel_thema .site-footer,
    body.tax-bewegungsspiel_thema .sidebar,
    body.tax-bewegungsspiel_thema .widget-area,
    body.tax-bewegungsspiel_thema .spf-category-nav,
    body.tax-bewegungsspiel_thema .spf-tax-actions,
    body.tax-bewegungsspiel_thema .navigation,
    body.tax-bewegungsspiel_thema .pagination {
        display: none !important;
    }

    body.tax-bewegungsspiel_thema {
        background: #fff !important;
    }

    body.tax-bewegungsspiel_thema .site-main,
    body.tax-bewegungsspiel_thema main {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.tax-bewegungsspiel_thema .spf-tax-landing,
    body.tax-bewegungsspiel_thema article {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        break-inside: avoid;
    }

    body.tax-bewegungsspiel_thema article::after {
        display: none !important;
    }

    body.tax-bewegungsspiel_thema a {
        color: #000 !important;
        text-decoration: none !important;
    }
}


/* v2.6.0 – Drei passende Spiele am Artikelende */
.spf-related-reading {
    margin: 46px 0 24px;
    padding: 28px;
    border: 1px solid #e3e9ee;
    border-radius: 22px;
    background: linear-gradient(135deg,#fffaf3 0%,#f5fcfc 100%);
    box-shadow: 0 12px 32px rgba(15,23,42,.07);
}

.spf-related-reading-head {
    margin-bottom: 20px;
}

.spf-related-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #c05621;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.spf-related-reading-head h2 {
    margin: 0 0 7px;
    font-size: clamp(1.45rem,2.5vw,2rem);
    color: #172033;
}

.spf-related-reading-head p {
    margin: 0;
    color: #526173;
}

.spf-related-reading-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.spf-related-reading-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7ec;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15,23,42,.06);
    transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.spf-related-reading-card:hover {
    transform: translateY(-3px);
    border-color: #a7d8d5;
    box-shadow: 0 12px 27px rgba(15,23,42,.11);
}

.spf-related-image-link {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #eef7f6;
}

.spf-related-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.spf-related-reading-card:hover .spf-related-image {
    transform: scale(1.035);
}

.spf-related-reading-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px;
}

.spf-related-reading-content h3 {
    margin: 0 0 9px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.spf-related-reading-content h3 a {
    color: #087b7b !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
    font-weight: 850;
}

.spf-related-reading-content p {
    flex: 1;
    margin: 0 0 15px;
    color: #475569;
    font-size: .94rem;
    line-height: 1.58;
}

.spf-related-reading-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    background: #0f766e;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 850;
}

.spf-related-reading-link:hover,
.spf-related-reading-link:focus {
    background: #115e59;
}

@media (max-width:900px) {
    .spf-related-reading-grid {
        grid-template-columns: 1fr;
    }

    .spf-related-reading-card {
        display: grid;
        grid-template-columns: 150px 1fr;
    }

    .spf-related-image-link {
        height: 100%;
        min-height: 150px;
        aspect-ratio: auto;
    }
}

@media (max-width:560px) {
    .spf-related-reading {
        padding: 19px;
        border-radius: 17px;
    }

    .spf-related-reading-card {
        display: flex;
    }

    .spf-related-image-link {
        min-height: 0;
        aspect-ratio: 16/9;
    }
}

@media print {
    .spf-related-reading {
        display: none !important;
    }
}

/* Favoritenfunktion ab Version 2.7.0 */
.spf-card { position: relative; }
.spf-favorite-button,
.spf-favorites-toggle,
.spf-print-selection,
.spf-random {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #d7c36a;
  border-radius: 10px;
  background: #fffbea;
  color: #514719;
  font-weight: 700;
  cursor: pointer;
}
.spf-favorite-button {
  float: right;
  min-height: 36px;
  padding: 6px 10px;
  margin: 0 0 8px 12px;
  font-size: 13px;
}
.spf-favorite-button[aria-pressed="true"],
.spf-favorites-toggle.is-active {
  background: #ffe58f;
  border-color: #d1a800;
}
.spf-favorites-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  font-size: 12px;
}
.spf-card::after { content: ""; display: table; clear: both; }

.spf-finder-concentration .spf-finder-head,.spf-concentration-hero{background:linear-gradient(135deg,#f3f0ff,#e9f7ff)}
