/* ============================================
   Tour Literatur - Stylesheet
   Design: Warm-Literarisch
   Prefix: tl- (zur Footprint-Vermeidung)
   ============================================ */

/* CSS Variables */
:root {
    --tl-bg: #FAF7F2;
    --tl-primary: #1E5F74;
    --tl-secondary: #B87333;
    --tl-text: #3D3027;
    --tl-accent: #E6DFD3;
    --tl-white: #FFFFFF;
    --tl-text-light: #6B5F52;

    --tl-font-heading: 'Libre Baskerville', serif;
    --tl-font-body: 'Nunito', sans-serif;

    --tl-max-width: 1140px;
    --tl-radius: 6px;
    --tl-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tl-font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.75;
    color: var(--tl-text);
    background-color: var(--tl-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--tl-font-heading);
    font-weight: 700;
    color: var(--tl-primary);
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--tl-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--tl-secondary);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Header - Sticky kompakt mit Logo
   ============================================ */
.tl-header {
    background-color: var(--tl-white);
    padding: 0.5rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--tl-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tl-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.tl-logo {
    display: block;
    line-height: 0;
}

.tl-logo img {
    height: 90px;
    width: auto;
}

.tl-logo:hover {
    opacity: 0.85;
}

.tl-divider {
    color: var(--tl-accent);
    font-weight: 300;
    font-size: 1.2rem;
}

.tl-tagline {
    font-family: var(--tl-font-heading);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--tl-text-light);
}

/* ============================================
   Navigation
   ============================================ */
.tl-nav {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    padding-top: 0.4rem;
    border-top: 1px solid var(--tl-accent);
    margin-top: 0.25rem;
}

.tl-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tl-text);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.tl-nav a:hover,
.tl-nav a.tl-active {
    color: var(--tl-primary);
    background-color: var(--tl-bg);
    text-decoration: none;
}

/* ============================================
   Layout Container
   ============================================ */
.tl-container {
    max-width: var(--tl-max-width);
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

.tl-container-full {
    max-width: var(--tl-max-width);
    margin: 0 auto;
    padding: 2rem;
}

/* ============================================
   Main Content Area
   ============================================ */
.tl-main {
    background-color: var(--tl-white);
    padding: 2.5rem;
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
}

/* Breadcrumb */
.tl-breadcrumb {
    font-size: 0.85rem;
    color: var(--tl-text-light);
    margin-bottom: 1.5rem;
}

.tl-breadcrumb a {
    color: var(--tl-text-light);
    text-decoration: none;
}

.tl-breadcrumb a:hover {
    color: var(--tl-primary);
}

/* Article Header */
.tl-article-header {
    margin-bottom: 2rem;
}

.tl-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tl-white);
    background-color: var(--tl-secondary);
    padding: 0.3rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.tl-subtitle {
    font-family: var(--tl-font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--tl-text-light);
}

.tl-meta {
    font-size: 0.85rem;
    color: var(--tl-text-light);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tl-accent);
}

/* Blockquote */
blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background-color: var(--tl-bg);
    border-left: 4px solid var(--tl-secondary);
    border-radius: 0 var(--tl-radius) var(--tl-radius) 0;
    font-family: var(--tl-font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--tl-text);
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.tl-info-box {
    background-color: var(--tl-bg);
    border: 1px solid var(--tl-accent);
    border-radius: var(--tl-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.tl-info-box h3 {
    font-family: var(--tl-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--tl-primary);
}

.tl-info-box ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tl-info-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.tl-info-box li:last-child {
    margin-bottom: 0;
}

.tl-info-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--tl-secondary);
    border-radius: 50%;
}

/* Table of Contents */
.tl-toc {
    background-color: var(--tl-white);
    border: 1px solid var(--tl-accent);
    border-left: 4px solid var(--tl-secondary);
    border-radius: var(--tl-radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.tl-toc h3 {
    font-family: var(--tl-font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: var(--tl-primary);
}

.tl-toc ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.tl-toc li {
    counter-increment: toc-counter;
    margin-bottom: 0.4rem;
    padding-left: 1.5rem;
    position: relative;
}

.tl-toc li:last-child {
    margin-bottom: 0;
}

.tl-toc li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    color: var(--tl-secondary);
    font-weight: 600;
}

.tl-toc a {
    color: var(--tl-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tl-toc a:hover {
    color: var(--tl-secondary);
}

/* Literature Quiz */
.tl-quiz {
    background: linear-gradient(135deg, var(--tl-white) 0%, #f5f0e8 100%);
    border: 2px solid var(--tl-secondary);
    border-radius: var(--tl-radius);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tl-quiz h3 {
    font-family: var(--tl-font-heading);
    font-size: 1.4rem;
    color: var(--tl-primary);
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-align: center;
}

.tl-quiz-subtitle {
    text-align: center;
    color: var(--tl-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tl-quiz-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tl-quiz-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--tl-accent);
    transition: background-color 0.3s ease;
}

.tl-quiz-dot.active {
    background-color: var(--tl-secondary);
}

.tl-quiz-dot.completed {
    background-color: var(--tl-primary);
}

.tl-quiz-question {
    font-family: var(--tl-font-heading);
    font-size: 1.15rem;
    color: var(--tl-text);
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.5;
}

.tl-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tl-quiz-option {
    background-color: var(--tl-white);
    border: 2px solid var(--tl-accent);
    border-radius: var(--tl-radius);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 1rem;
    color: var(--tl-text);
}

.tl-quiz-option:hover {
    border-color: var(--tl-secondary);
    background-color: #faf5ed;
    transform: translateX(5px);
}

.tl-quiz-result {
    text-align: center;
}

.tl-quiz-result h4 {
    font-family: var(--tl-font-heading);
    font-size: 1.3rem;
    color: var(--tl-secondary);
    margin-bottom: 0.75rem;
}

.tl-quiz-result p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tl-quiz-result a.tl-quiz-link {
    display: inline-block;
    background-color: var(--tl-primary);
    color: var(--tl-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--tl-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
    margin-top: 0.5rem;
}

.tl-quiz-result a.tl-quiz-link:hover {
    background-color: #174a5a;
}

.tl-quiz-restart {
    background: none;
    border: none;
    color: var(--tl-text-light);
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-decoration: underline;
}

.tl-quiz-restart:hover {
    color: var(--tl-secondary);
}

/* ============================================
   Sidebar
   ============================================ */
.tl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tl-sidebar-box {
    background-color: var(--tl-white);
    padding: 1.5rem;
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
}

.tl-sidebar-box h3 {
    font-family: var(--tl-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tl-primary);
    margin-bottom: 1rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tl-secondary);
}

.tl-sidebar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tl-sidebar-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--tl-accent);
    margin-bottom: 0;
}

.tl-sidebar-list li:last-child {
    border-bottom: none;
}

.tl-sidebar-list a {
    color: var(--tl-text);
    font-size: 0.95rem;
}

.tl-sidebar-list a:hover {
    color: var(--tl-primary);
    text-decoration: none;
}

/* About Box */
.tl-about-box {
    text-align: center;
}

.tl-about-box p {
    font-size: 0.9rem;
    color: var(--tl-text-light);
    margin-bottom: 0.75rem;
}

.tl-about-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */
.tl-footer {
    background-color: var(--tl-primary);
    color: var(--tl-white);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
}

.tl-footer-inner {
    max-width: var(--tl-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tl-footer h4 {
    font-family: var(--tl-font-heading);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--tl-white);
}

.tl-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.tl-footer a:hover {
    color: var(--tl-white);
    text-decoration: none;
}

.tl-footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tl-footer li {
    margin-bottom: 0.5rem;
}

.tl-footer-bottom {
    max-width: var(--tl-max-width);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Buttons
   ============================================ */
.tl-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.tl-btn-primary {
    background-color: var(--tl-primary);
    color: var(--tl-white);
}

.tl-btn-primary:hover {
    background-color: #164857;
    color: var(--tl-white);
    text-decoration: none;
}

.tl-btn-secondary {
    background-color: var(--tl-secondary);
    color: var(--tl-white);
}

.tl-btn-secondary:hover {
    background-color: #9A5F2A;
    color: var(--tl-white);
    text-decoration: none;
}

/* ============================================
   Frontpage Specific
   ============================================ */
.tl-hero {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--tl-white);
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
    margin-bottom: 2rem;
}

.tl-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tl-hero p {
    font-size: 1.1rem;
    color: var(--tl-text-light);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Hero-Bild auf Startseite */
.tl-hero .tl-article-image {
    max-width: 700px;
    margin: 2rem auto 0;
}

.tl-hero .tl-article-image img {
    max-height: 300px;
}

@media (max-width: 768px) {
    .tl-hero .tl-article-image {
        max-width: 100%;
        margin: 1.5rem auto 0;
    }

    .tl-hero .tl-article-image img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .tl-hero .tl-article-image img {
        max-height: 160px;
    }
}

.tl-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tl-card {
    background-color: var(--tl-white);
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.tl-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.tl-card p {
    color: var(--tl-text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tl-card-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   Legal Pages
   ============================================ */
.tl-legal {
    max-width: 800px;
}

.tl-legal h2 {
    margin-top: 2.5rem;
}

.tl-legal h2:first-of-type {
    margin-top: 0;
}

.tl-legal address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

/* ============================================
   404 Page
   ============================================ */
.tl-error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.tl-error-page h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.tl-error-page p {
    font-size: 1.2rem;
    color: var(--tl-text-light);
    margin-bottom: 2rem;
}

/* ============================================
   Tables
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--tl-accent);
}

th {
    font-weight: 600;
    color: var(--tl-primary);
    background-color: var(--tl-bg);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet (bis 900px) */
@media (max-width: 900px) {
    :root {
        --tl-max-width: 100%;
    }

    body {
        font-size: 16px;
    }

    .tl-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .tl-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tl-main {
        padding: 2rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .tl-nav {
        gap: 0.75rem 1.25rem;
    }

    .tl-nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .tl-footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile (bis 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }

    h1 {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .tl-header {
        padding: 0.4rem 0.75rem;
    }

    .tl-header-row {
        gap: 0.5rem;
    }

    .tl-logo img {
        height: 55px;
    }

    .tl-tagline {
        display: none;
    }

    .tl-divider {
        display: none;
    }

    .tl-hero h1 {
        font-size: 1.8rem;
    }

    .tl-hero p {
        font-size: 1rem;
    }

    .tl-nav {
        gap: 0.3rem;
        padding-top: 0.5rem;
    }

    .tl-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }

    .tl-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .tl-main {
        padding: 1.25rem;
    }

    .tl-sidebar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tl-sidebar-box {
        padding: 1.25rem;
    }

    .tl-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .tl-category {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .tl-subtitle {
        font-size: 1rem;
    }

    .tl-meta {
        font-size: 0.8rem;
    }

    .tl-info-box {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    blockquote {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        margin: 1.5rem 0;
    }

    .tl-footer {
        padding: 2rem 1rem;
    }

    .tl-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .tl-footer h4 {
        margin-bottom: 0.75rem;
    }

    .tl-footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.8rem;
    }

    .tl-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tl-card {
        padding: 1.25rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.5rem;
    }
}

/* Sehr kleine Bildschirme (bis 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.15rem;
    }

    .tl-header {
        padding: 1rem;
    }

    .tl-logo img {
        max-width: 180px;
    }

    .tl-tagline {
        font-size: 0.85rem;
    }

    .tl-nav {
        gap: 0.4rem 0.6rem;
    }

    .tl-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }

    .tl-container,
    .tl-container-full {
        padding: 0.75rem;
    }

    .tl-main {
        padding: 1rem;
        border-radius: 4px;
    }

    .tl-sidebar-box {
        padding: 1rem;
    }

    .tl-info-box {
        padding: 1rem;
    }

    blockquote {
        padding: 0.75rem 1rem;
    }

    /* Tabellen horizontal scrollbar machen */
    .tl-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 400px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Article Images
   ============================================ */

/* Hauptbild (erstes Bild nach Header) */
.tl-article-image {
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.tl-article-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--tl-radius);
    box-shadow: var(--tl-shadow);
    display: block;
}

.tl-article-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--tl-text-light);
    font-style: italic;
    text-align: center;
}

/* Inline-Bilder (im Textfluss) - kleiner und zentriert */
.tl-article-image.tl-image-inline {
    max-width: 480px;
    margin: 1.5rem auto;
}

.tl-article-image.tl-image-inline img {
    max-height: 280px;
}

/* Bilder rechts/links (zentriert - kein float wegen Grid-Layout) */
.tl-article-image.tl-image-right,
.tl-article-image.tl-image-left {
    max-width: 400px;
    margin: 1.5rem auto;
}

.tl-article-image.tl-image-right img,
.tl-article-image.tl-image-left img {
    max-height: 260px;
}

/* Kleine Bilder (für Portraits etc.) */
.tl-article-image.tl-image-small {
    max-width: 280px;
    margin: 1rem auto;
}

.tl-article-image.tl-image-small img {
    max-height: 200px;
}

/* Portrait-Bilder (für Autoren-Seiten) */
.tl-article-image.tl-image-portrait {
    max-width: 320px;
    margin: 1.5rem auto 2rem;
}

.tl-article-image.tl-image-portrait img {
    max-height: 350px;
    object-fit: cover;
    object-position: top center;
}

/* Clearfix nach floatenden Bildern */
.tl-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Tablet */
@media (max-width: 900px) {
    .tl-article-image img {
        max-height: 300px;
    }

    .tl-article-image.tl-image-inline {
        max-width: 100%;
    }

    .tl-article-image.tl-image-inline img {
        max-height: 250px;
    }

    .tl-article-image.tl-image-right,
    .tl-article-image.tl-image-left {
        max-width: 100%;
    }

    .tl-article-image.tl-image-right img,
    .tl-article-image.tl-image-left img {
        max-height: 250px;
    }

    .tl-article-image.tl-image-portrait {
        max-width: 280px;
    }

    .tl-article-image.tl-image-portrait img {
        max-height: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .tl-article-image img {
        max-height: 220px;
    }

    .tl-article-image.tl-image-inline img,
    .tl-article-image.tl-image-right img,
    .tl-article-image.tl-image-left img,
    .tl-article-image.tl-image-small img {
        max-height: 180px;
    }

    .tl-article-image.tl-image-portrait {
        max-width: 100%;
    }

    .tl-article-image.tl-image-portrait img {
        max-height: 220px;
    }

    .tl-article-image figcaption {
        font-size: 0.8rem;
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .tl-article-image img {
        max-height: 180px;
    }

    .tl-article-image.tl-image-inline img,
    .tl-article-image.tl-image-right img,
    .tl-article-image.tl-image-left img,
    .tl-article-image.tl-image-small img,
    .tl-article-image.tl-image-portrait img {
        max-height: 150px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .tl-header,
    .tl-footer,
    .tl-sidebar,
    .tl-nav {
        display: none;
    }

    .tl-container {
        display: block;
    }

    .tl-main {
        box-shadow: none;
        padding: 0;
    }

    a {
        color: var(--tl-text);
    }
}
