body {
  outline: 3px solid red !important;
}
/* Buchdetailseite */
/* Die Tags sollen eine ganze Zeile einnehmen */
.com-content-article .tags {
    width: 100%;
    flex-basis: 100%;
    display: block;
    margin-bottom: 2rem;
}
/*
.com-content-article {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}
*/
.com-content-article .item-image {
    flex: 0 0 220px;
    margin: 0;
}

.com-content-article .item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.com-content-article__body {
    flex: 1;
}

/* Mobil */
@media (max-width: 768px) {
    .com-content-article {
        flex-direction: column;
    }

    .com-content-article .item-image {
        width: 220px;
        margin: 0 auto 2rem;
    }
}
/* .blog {
display: flex;
align-content: flex-start;
}

.blog_books {
display: flex;
align-content: flex-start;
} */
.com-content-article img {
    max-width: 250px;
    max-height: 400px; /* Hier gewünschte Maximalhöhe in px, rem oder % eintragen */
    height: auto;
    object-fit: contain; /* Sorgt dafür, dass das Bild sauber eingepasst wird */
}

.blog_books  img {
    max-width: 220px;
    max-height: 400px; /* Hier gewünschte Maximalhöhe in px, rem oder % eintragen */
    height: auto;
    object-fit: contain; /* Sorgt dafür, dass das Bild sauber eingepasst wird */
}
.uk-child-width-1-3{
display: flex;
align-content: flex-start;
}
.uk-article_autorin {
  border: 1px #ccc solid;
  background: #eee;
  padding: 10px;
}
h1  {
  font-size: 16px;
}

h2 .uk-article-title {
   font-size: 16px;
  
}
h2 .uk-margin-top {
  margin-top: 0;
}

.uk-panel .minimenu .uk-nav-default {
  background: #eee;
  font-size: 18px;
}
.buecher {
  font-size: 18px;
  background: #eee;
}

.blog_media .uk-article {
  border: solid 1px #ccc;
  background: #eee;
  border-radius: 8px;
}

#article-310 .uk-article {
transform: translateY(-20.000px); 
margin-top: -50px;

}

.uk-nav-default>li>a {
    color: #000
}

.uk-nav-default>li>a:hover {
    color: blue
}

.uk-nav-default>li.uk-active>a {
    color: red
}
/* =========================
   EDITION GRID (CARDS)
   fabrik.transit Bücher
   ========================= */

/* GRID spacing */
.blog_books .uk-grid {
  row-gap: 40px;
  column-gap: 30px;
}

/* CARD BASE */
.blog_books .uk-article {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* subtle hover (modern, editorial) */
.blog_books .uk-article:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* IMAGE AREA */
.blog_books .intro_image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  background: #fafafa;
  overflow: hidden;
}
.blog-item .item-image{
    height:340px;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    overflow:hidden;
}

.blog-item .item-image img{
    max-height:320px;
    width:auto;
    object-fit:contain;
}
.blog-items{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:3rem;
}

.blog-item{
    display:flex;
    flex-direction:column;
    height:100%;
}
.item-content{
    display:flex;
    flex-direction:column;
    flex:1;
}
.blog-item{
    background:#fff;
    border:1px solid #ececec;
    padding:24px;
    transition:.3s;
}

.blog-item:hover{
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transform:translateY(-4px);
}
/* cover behavior */
.blog_books .intro_image img {
  max-height: 100%;
  width: auto;
  transition: transform 0.35s ease;
}

/* soft zoom on hover */
.blog_books .uk-article:hover img {
  transform: scale(1.04);
}

/* TEXT AREA */
.blog_books [property="text"] {
  padding: 14px 16px 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #111;
}

/* reset paragraph spacing */
.blog_books [property="text"] p {
  margin: 0;
}

/* TITLE (book title emphasis) */
.blog_books strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 4px 0 6px;
  letter-spacing: 0.01em;
}

/* meta text (ISBN, price etc.) */
.blog_books [property="text"] {
  color: #333;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 640px) {
  .blog_books .intro_image {
    height: 240px;
  }
}

/* OPTIONAL: slightly cleaner links */
.blog_books a {
  text-decoration: none;
}
.blog_books a:hover {
  text-decoration: none;
}
/* =========================
   EDITION GRID (CARDS)
   fabrik.transit Bücher
   ========================= */

/* GRID spacing */
.blog_books .uk-grid {
  row-gap: 40px;
  column-gap: 30px;
}

/* CARD BASE */
.blog_books .uk-article {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* subtle hover (modern, editorial) */
.blog_books .uk-article:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* IMAGE AREA */
.blog_books .intro_image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  background: #fafafa;
  overflow: hidden;
}

/* cover behavior */
.blog_books .intro_image img {
  max-height: 100%;
  width: auto;
  transition: transform 0.35s ease;
}

/* soft zoom on hover */
.blog_books .uk-article:hover img {
  transform: scale(1.04);
}

/* TEXT AREA */
.blog_books [property="text"] {
  padding: 14px 16px 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #111;
}

/* reset paragraph spacing */
.blog_books [property="text"] p {
  margin: 0;
}

/* TITLE (book title emphasis) */
.blog_books strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 4px 0 6px;
  letter-spacing: 0.01em;
}

/* meta text (ISBN, price etc.) */
.blog_books [property="text"] {
  color: #333;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 640px) {
  .blog_books .intro_image {
    height: 240px;
  }
}

/* OPTIONAL: slightly cleaner links */
.blog_books a {
  text-decoration: none;
}
.blog_books a:hover {
  text-decoration: none;
}

.blog_books .uk-article {
  background: #fff !important;
  border: 1px solid #eee !important;
  padding: 16px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.blog_books .uk-grid > * {
  padding-left: 20px !important;
}

/* EDITIONS-STYLE CARDS */

body .blog_books .uk-child-width-1-3\@m > div {
    padding: 10px;
}

body .blog_books .uk-article {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    height: 100%;
}

body .blog_books .uk-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

body .blog_books .intro_image img {
    border-radius: 8px;
    transition: all 0.3s ease;
}

body .blog_books .uk-article:hover img {
    filter: contrast(1.05);
}