/* --- Book Highlight Styles v2.0 (Shortcode Version) --- */

.book-highlight-container {
    /* Sizing & Appearance */
    width: 100%; /* Will fill the container it's placed in */
    max-width: 280px; /* But won't get wider than this */
    margin: 20px auto; /* Center it within its container */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 1px solid #e5e7eb;
    font-family: sans-serif;
    position: relative; /* Needed for the ribbon */
    overflow: hidden; /* Hide ribbon overflow */
}

/* --- "Buch der Woche" ribbon visualization --- */
.book-highlight-container.is-weekly-highlight::after {
    content: "Buch der Woche";
    position: absolute;
    top: 30px;
    right: -35px;
    width: 160px;
    background-color: #009540;
    color: white;
    padding: 8px 10px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Book Cover Image */
.book-highlight-image {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #e5e7eb;
}

/* Container for all the text details */
.book-highlight-details {
    padding: 16px;
    text-align: center;
}

/* "Buchempfehlung" label */
.book-highlight-label {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Book Title */
.book-highlight-title {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

/* Book Author */
.book-highlight-author {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #4b5563;
}

/* Call-to-action Button */
.book-highlight-button {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background-color: #009540;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.book-highlight-button:hover {
    background-color: #005a27;
    color: #ffffff;
}

