.blog-post-card__title {
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    font-weight: 900;
    color: #111827;
    text-decoration: none;
    display: inline-block;
    border-bottom: 4px solid var(--portal-brand-dark, #3d155b);
    padding-bottom: 0.35rem;
    line-height: 1.25;
    transition: color 0.15s ease;
}

.blog-post-card__title:hover {
    color: var(--portal-brand-dark, #3d155b);
}

.blog-post-card__cta {
    display: inline-block;
    margin-top: auto;
    width: max-content;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background-color: #3d155b;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.blog-post-card__cta:hover {
    background-color: #3d155b;
    color: #ffffff !important;
    text-decoration: none !important;
}

.blog-article-content .blog-post-card__cta {
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.blog-article-title {
    border-bottom: 4px solid var(--portal-brand-dark, #3d155b);
}

.blog-article-heading span {
    border-bottom: 4px solid var(--portal-brand-dark, #3d155b);
}

.blog-article-divider {
    border-top: 4px solid var(--portal-brand-dark-soft, #f6f0fb);
}

.blog-article-cta {
    box-shadow: 0 10px 20px -10px rgba(61, 21, 91, 0.35);
}

.blog-article-cta:hover {
    box-shadow: 0 15px 25px -10px rgba(61, 21, 91, 0.45);
}

/* Hero + screenshoty v článku — celý obrázek, bez deformace (nezávislé na Tailwind) */
.blog-hero-figure,
.blog-article-figure {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.blog-hero-image,
.blog-article-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
}

.article-body figure.blog-image-side img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center;
}

.blog-hero-figure,
.blog-hero-image {
    max-width: 100%;
}

.blog-hero-image {
    display: block;
}

.blog-index-content {
    color: #1f2937;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body b,
.article-body strong {
    color: #111827;
}

.article-body ul {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.article-body ol {
    list-style-type: decimal;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.article-body li {
    margin-bottom: 0.5em;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (min-width: 768px) {
    .blog-img-container {
        width: 40% !important;
        max-width: 40%;
    }

    .blog-txt-container {
        width: 60% !important;
        max-width: 60%;
    }
}

@media (prefers-color-scheme: dark) {
    .blog-post-card__title {
        color: #ffffff;
    }

    .blog-post-card__title:hover {
        color: #c8a7ea;
    }

    .legal-bunker {
        background-color: #030712 !important;
        border-color: #1f2937 !important;
    }

    .blog-index-content {
        color: #d1d5db;
    }

    .blog-index-content p {
        color: #9ca3af;
    }

    .blog-article-content {
        color: #d1d5db !important;
    }

    .blog-article-content h1,
    .article-body b,
    .article-body strong {
        color: #ffffff !important;
    }

    .article-body {
        color: #d1d5db !important;
    }

    .blog-article-content p {
        color: #9ca3af !important;
    }
}
