/* ==========================================================================
   PAGE BUILDER BLOKY - MODERN GLASSMORPHISM DESIGN
   Styly pro všechny komponenty použité v Page Builderu
   ========================================================================== */

/* ==========================================================================
   ZÁKLADNÍ KOMPONENTY
   ========================================================================== */

/* Text Block */
.block-text {
    margin: 1.5rem 0;
}

.block-text .block-content {
    color: var(--text-dark, #1e293b);
    font-size: 1rem;
    line-height: 1.7;
}

.block-text p {
    margin-bottom: 1rem;
}

.block-text p:last-child {
    margin-bottom: 0;
}

.block-text ul,
.block-text ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.block-text li {
    margin-bottom: 0.5rem;
}

.block-text table,
.block-content table,
.image-text__text table,
.text-highlight__text table,
.text-highlight__box table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.25rem 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.block-text th,
.block-text td,
.block-content th,
.block-content td,
.image-text__text th,
.image-text__text td,
.text-highlight__text th,
.text-highlight__text td,
.text-highlight__box th,
.text-highlight__box td {
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    padding: 0.72rem 0.85rem;
    text-align: left;
    vertical-align: top;
    color: var(--text-dark, #1e293b);
}

.block-text thead th,
.block-content thead th,
.image-text__text thead th,
.text-highlight__text thead th,
.text-highlight__box thead th {
    background: #f8fafc;
    color: var(--text-dark, #1e293b);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.block-text tbody tr:last-child td,
.block-content tbody tr:last-child td,
.image-text__text tbody tr:last-child td,
.text-highlight__text tbody tr:last-child td,
.text-highlight__box tbody tr:last-child td {
    border-bottom: none;
}

.block-text tbody tr:nth-child(even),
.block-content tbody tr:nth-child(even),
.image-text__text tbody tr:nth-child(even),
.text-highlight__text tbody tr:nth-child(even),
.text-highlight__box tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.9);
}

.block-text tbody tr:hover,
.block-content tbody tr:hover,
.image-text__text tbody tr:hover,
.text-highlight__text tbody tr:hover,
.text-highlight__box tbody tr:hover {
    background: rgba(23, 94, 230, 0.05);
}

.block-text caption,
.block-content caption,
.image-text__text caption,
.text-highlight__text caption,
.text-highlight__box caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.55rem;
}

@media (max-width: 768px) {
    .block-text table,
    .block-content table,
    .image-text__text table,
    .text-highlight__text table,
    .text-highlight__box table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .block-text th,
    .block-text td,
    .block-content th,
    .block-content td,
    .image-text__text th,
    .image-text__text td,
    .text-highlight__text th,
    .text-highlight__text td,
    .text-highlight__box th,
    .text-highlight__box td {
        padding: 0.62rem 0.72rem;
        font-size: 0.92rem;
    }
}

/* Heading Block */
.block-heading {
    margin: 2rem 0 1.5rem 0;
    color: var(--text-dark, #1e293b);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1.75rem;
}

.block-heading::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary-blue, #175ee6);
    border-radius: 2px;
    box-shadow: 
        12px 0 0 0 var(--primary-green, #16a34a),
        24px 0 0 0 var(--primary-yellow, #fbbf24);
}

.block-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(23, 94, 230, 0.3), transparent);
    border-radius: 2px;
}

/* Image Block */
.block-image {
    margin: 2rem 0;
    text-align: center;
}

.block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image sizes */
.block-image--small img {
    max-width: 300px;
}

.block-image--medium img {
    max-width: 600px;
}

.block-image--large img {
    max-width: 900px;
}

.block-image--full img {
    max-width: 100%;
    width: 100%;
}

.block-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    text-align: center;
    font-style: italic;
}

/* Files Block */
.block-files {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.file-item {
    /* margin removed - handled by grid gap */
}

.file-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: var(--text-dark, #1e293b);
    transition: all 0.3s ease;
}

.file-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(23, 94, 230, 0.15);
    border-color: var(--primary-blue, #175ee6);
}

.file-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue, #175ee6);
    color: white;
    border-radius: 8px;
    font-size: 1.25rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.25rem;
}

.file-size,
.file-format {
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
}

.file-download {
    flex-shrink: 0;
    color: var(--primary-blue, #175ee6);
    font-size: 1.25rem;
}

/* Quote Block */
.block-quote {
    margin: 4rem auto;
    padding: 0;
    max-width: 800px;
    text-align: center;
    position: relative;
    background: transparent;
}

.block-quote::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: var(--primary-blue, #175ee6);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
}

.block-quote::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(23, 94, 230, 0.12), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.quote-text {
    font-size: 1.5rem;
    color: var(--text-dark, #1e293b);
    font-style: italic;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
}

.quote-author {
    font-size: 1.05rem;
    color: var(--primary-blue, #175ee6);
    font-weight: 600;
    font-style: normal;
    position: relative;
    display: inline-block;
}

.quote-author::before {
    content: '—';
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Button Block */
.block-button {
    margin: 3rem 0;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue, #175ee6), #0f4bc5);
    color: white;
    box-shadow: 0 4px 16px rgba(23, 94, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 94, 230, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue, #175ee6);
    color: var(--primary-blue, #175ee6);
    box-shadow: 0 2px 8px rgba(23, 94, 230, 0.1);
}

.btn-outline::before {
    background: linear-gradient(90deg, transparent, rgba(23, 94, 230, 0.1), transparent);
}

.btn-outline:hover {
    background: var(--primary-blue, #175ee6);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 94, 230, 0.3);
}

/* Video Block */
.block-video {
    margin: 2.5rem 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-caption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    text-align: center;
}

/* Spacer Block */
.block-spacer {
    display: block;
}

/* Divider Block */
.block-divider {
    margin: 2.5rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(23, 94, 230, 0.3), transparent);
}

/* Image-Text Block */
.block-image-text {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Dekorativní bubliny - viditelnější v rozích */
.block-image-text::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(23, 94, 230, 0.25) 0%, rgba(23, 94, 230, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.block-image-text::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.2) 0%, rgba(22, 163, 74, 0.12) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.image-text__image {
    position: relative;
    z-index: 1;
}

/* Dekorativní bublina pod obrázkem - viditelnější */
.image-text__image::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.3), rgba(22, 163, 74, 0.2));
    border-radius: 50%;
    z-index: -1;
    filter: blur(25px);
}

.image-text__image::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.1));
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
}

.image-text__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-text__image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Reverse layout - obrázek vpravo */
.block-image-text.image-text--reverse {
    direction: rtl;
}

.block-image-text.image-text--reverse .image-text__image,
.block-image-text.image-text--reverse .image-text__text {
    direction: ltr;
}

.image-text__text {
    color: var(--text-dark, #1e293b);
    line-height: 1.8;
    font-size: 1.05rem;
}

.image-text__text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.image-text__text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 6px;
    background: 
        linear-gradient(90deg, var(--primary-blue, #175ee6) 0%, var(--primary-blue, #175ee6) 33%, transparent 33%, transparent 35%),
        linear-gradient(90deg, transparent 35%, var(--primary-green, #16a34a) 35%, var(--primary-green, #16a34a) 68%, transparent 68%, transparent 70%),
        linear-gradient(90deg, transparent 70%, var(--primary-yellow, #fbbf24) 70%, var(--primary-yellow, #fbbf24) 100%);
    border-radius: 2px;
}

.image-text__text h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark, #1e293b);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.image-text__text h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue, #175ee6);
    margin-bottom: 0.75rem;
}

.image-text__text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.image-text__text p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue, #175ee6);
    line-height: 1.5;
}

.image-text__text ul,
.image-text__text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.image-text__text li {
    margin-bottom: 0.5rem;
}

.image-text__text strong {
    color: var(--primary-blue, #175ee6);
    font-weight: 600;
}

.image-text__text a {
    color: var(--primary-blue, #175ee6);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.image-text__text a:hover {
    color: #0f4bc5;
    text-decoration: underline;
}


.image-text__text p:last-child {
    margin-bottom: 0;
}

/* Stats Block */
.block-stats {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(23, 94, 230, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue, #175ee6);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

/* Text Highlight Block */
/* Text Highlight Block */
.block-text-highlight {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

.text-highlight__text {
    color: var(--text-dark, #1e293b);
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
}

.text-highlight__text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(23, 94, 230, 0.12), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.text-highlight__text p {
    margin-bottom: 1.25rem;
}

.text-highlight__text p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue, #175ee6);
    line-height: 1.5;
}

.text-highlight__text p:last-child {
    margin-bottom: 0;
}

.text-highlight__box {
    padding: 2.5rem;
    border-radius: 16px;
    border: none;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-highlight__box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.text-highlight__box--primary {
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.08), rgba(23, 94, 230, 0.04));
}

.text-highlight__box--primary::before {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(23, 94, 230, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.text-highlight__box--success {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.04));
}

.text-highlight__box--success::before {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.text-highlight__box--warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.04));
}

.text-highlight__box--warning::before {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.text-highlight__box p {
    margin-bottom: 1rem;
    color: var(--text-dark, #1e293b);
    line-height: 1.7;
}

.text-highlight__box p:first-child {
    font-weight: 600;
    font-size: 1.15rem;
}

.text-highlight__box p:last-child {
    margin-bottom: 0;
}

.text-highlight__box strong {
    font-weight: 700;
}

/* Features Block */
.block-features {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(23, 94, 230, 0.15);
    border-color: var(--primary-blue, #175ee6);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue, #175ee6);
    color: white;
    border-radius: 10px;
    font-size: 1.5rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}

/* CTA (Call to Action) Block */
.block-cta {
    margin: 4rem 0;
    padding: 4rem 3rem;
    text-align: center;
    border-radius: 20px;
    background: transparent;
    position: relative;
    overflow: visible;
}

.block-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(23, 94, 230, 0.2), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.block-cta::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.block-cta--primary {
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.1), rgba(20, 81, 201, 0.06));
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(23, 94, 230, 0.12);
}

.block-cta--primary::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
}

.block-cta--primary::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 70%);
}

.cta-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark, #1e293b);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.cta-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: 
        linear-gradient(90deg, var(--primary-blue, #175ee6) 0%, var(--primary-blue, #175ee6) 33%, transparent 33%, transparent 35%),
        linear-gradient(90deg, transparent 35%, var(--primary-green, #16a34a) 35%, var(--primary-green, #16a34a) 68%, transparent 68%, transparent 70%),
        linear-gradient(90deg, transparent 70%, var(--primary-yellow, #fbbf24) 70%, var(--primary-yellow, #fbbf24) 100%);
    border-radius: 2px;
}

.block-cta--primary .cta-heading {
    color: var(--primary-blue, #175ee6);
}

.cta-text {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--text-dark, #1e293b);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-blue, #175ee6), #0f4bc5);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(23, 94, 230, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.block-cta--primary .cta-button {
    background: white;
    color: var(--primary-blue, #175ee6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.block-cta--primary .cta-button::before {
    background: linear-gradient(90deg, transparent, rgba(23, 94, 230, 0.1), transparent);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 94, 230, 0.4);
}

.block-cta--primary .cta-button:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Accordion Block */
.block-accordion {
    margin: 2.5rem auto;
    max-width: 70%;
}

.accordion-item {
    margin-bottom: 1rem;
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(23, 94, 230, 0.05);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(23, 94, 230, 0.1);
    border-color: rgba(23, 94, 230, 0.2);
}

.accordion-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark, #1e293b);
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-title:hover {
    background: rgba(23, 94, 230, 0.05);
}

.accordion-icon {
    flex-shrink: 0;
    color: var(--primary-blue, #175ee6);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content__inner {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-dark, #1e293b);
    line-height: 1.7;
}

/* ==========================================================================
   ČLÁNKY BLOKY (articles-latest, articles-category, articles-featured)
   ========================================================================== */

.articles-block {
    margin: 3rem 0;
}

.articles-block__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(23, 94, 230, 0.1);
    position: relative;
}

.articles-block__heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-blue, #175ee6);
}

.articles-block__heading i {
    color: var(--primary-blue, #175ee6);
    font-size: 1.5rem;
}

/* Grid layouts */
.articles-grid {
    display: grid;
    gap: 2rem;
}

.articles-grid--grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.articles-grid--list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.articles-grid--carousel {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

/* ==========================================================================
   TÝM BLOK (team)
   ========================================================================== */

.team-block {
    margin: 3rem 0;
}

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

.team-member {
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(23, 94, 230, 0.1);
    border-color: rgba(23, 94, 230, 0.3);
}

.team-member__photo {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.1), rgba(16, 185, 129, 0.1));
}

.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member__photo img {
    transform: scale(1.05);
}

.team-member__info {
    padding: 1.5rem;
}

.team-member__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.75rem;
}

.team-member__positions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team-member__position-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(23, 94, 230, 0.1);
    border: 1px solid rgba(23, 94, 230, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue, #175ee6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-member__description {
    color: var(--text-medium, #64748b);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.team-member__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.team-member__contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-medium, #64748b);
}

.team-member__contact i {
    width: 16px;
    color: var(--primary-blue, #175ee6);
}

.team-member__contact a {
    color: var(--text-medium, #64748b);
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-member__contact a:hover {
    color: var(--primary-blue, #175ee6);
}

/* ==========================================================================
   GALERIE BLOK (gallery)
   ========================================================================== */

.gallery-block,
.gallery {
    margin: 3rem 0;
}

.gallery-grid,
.gallery {
    display: grid;
    gap: 1.5rem;
}

.gallery--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-block--grid .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-block--masonry .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(23, 94, 230, 0.3);
}

.gallery-link,
.gallery-item__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.gallery-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item__link {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay,
.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:hover .gallery-item__overlay {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-description {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-item__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-item__description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* ==========================================================================
   UDÁLOSTI BLOKY (events-list, events-upcoming, events-all, events-calendar)
   ========================================================================== */

.events-block {
    margin: 3rem 0;
}

.events-block__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(23, 94, 230, 0.1);
    position: relative;
}

.events-block__heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-blue, #175ee6);
}

.events-block__heading i {
    color: var(--primary-blue, #175ee6);
}

.events-list {
    display: grid;
    gap: 1.5rem;
}

.event-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 16px rgba(23, 94, 230, 0.1);
    border-color: rgba(23, 94, 230, 0.3);
}

.event-card__date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue, #175ee6), #10b981);
    color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-card__day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-card__month {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

.event-card__content {
    flex: 1;
}

.event-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.5rem;
}

.event-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card__title a:hover {
    color: var(--primary-blue, #175ee6);
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light, #94a3b8);
}

.event-card__time,
.event-card__location,
.event-card__category {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.event-card__excerpt {
    color: var(--text-medium, #64748b);
    line-height: 1.6;
}

/* Kalendář událostí */
.events-calendar {
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
}

.events-calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.events-calendar__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
}

.events-calendar__nav {
    display: flex;
    gap: 0.5rem;
}

.events-calendar__nav button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-medium, #64748b);
}

.events-calendar__nav button:hover {
    background: rgba(23, 94, 230, 0.1);
    border-color: var(--primary-blue, #175ee6);
    color: var(--primary-blue, #175ee6);
}

.events-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.events-calendar__day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.events-calendar__day--header {
    font-weight: 700;
    color: var(--text-medium, #64748b);
    cursor: default;
}

.events-calendar__day--has-event {
    background: rgba(23, 94, 230, 0.1);
    color: var(--primary-blue, #175ee6);
    font-weight: 600;
}

.events-calendar__day--has-event:hover {
    background: var(--primary-blue, #175ee6);
    color: white;
}

/* ==========================================================================
   EMPTY STATES - Prázdné stavy
   ========================================================================== */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(23, 94, 230, 0.02);
    border: 2px dashed rgba(226, 232, 240, 0.6);
    border-radius: 12px;
}

.empty-state__icon {
    font-size: 3rem;
    color: var(--text-light, #94a3b8);
    margin-bottom: 1rem;
}

.empty-state__message {
    font-size: 1rem;
    color: var(--text-medium, #64748b);
    margin-bottom: 1.5rem;
}

.empty-state__action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue, #175ee6);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.empty-state__action:hover {
    background: #0f4bc5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 94, 230, 0.3);
}

/* ==========================================================================
   BUTTONS - Tlačítka pro bloky
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue, #175ee6);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #0f4bc5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 94, 230, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--primary-blue, #175ee6);
    border: 2px solid var(--primary-blue, #175ee6);
}

.btn--outline:hover {
    background: var(--primary-blue, #175ee6);
    color: white;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay:not(.active) * {
    visibility: hidden;
    pointer-events: none;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.lightbox-loader {
    position: absolute;
    color: white;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-info {
    margin-top: 1.5rem;
    text-align: center;
    color: white;
    max-width: 600px;
}

.lightbox-overlay:not(.active) .lightbox-info {
    display: none;
}

.lightbox-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .articles-grid--grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .block-files {
        grid-template-columns: 1fr;
    }

    .block-accordion {
        max-width: 90%;
    }

    .block-image-text {
        gap: 2.5rem;
    }
    
    .block-image-text::before,
    .block-image-text::after {
        opacity: 0.5;
    }


    .block-image--small img,
    .block-image--medium img,
    .block-image--large img {
        max-width: 100%;
    }
    
    .gallery-block--grid .gallery-grid,
    .gallery-block--masonry .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-card__date {
        margin: 0 auto;
    }
    
    .events-calendar__grid {
        gap: 0.25rem;
    }
    
    .articles-block__heading,
    .events-block__heading {
        font-size: 1.5rem;
    }

    .block-image-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .block-text-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-highlight__text::before {
        width: 40px;
        height: 40px;
    }
    
    .block-cta {
        padding: 3rem 2rem;
    }
    
    .block-cta--primary {
        padding: 3rem 2rem;
    }
    
    .cta-heading {
        font-size: 1.75rem;
    }
    
    .cta-heading::after {
        width: 60px;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .block-quote {
        margin: 3rem auto;
        padding: 0 1rem;
    }
    
    .block-quote::before {
        font-size: 5rem;
        top: -20px;
    }
    
    .quote-text {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .block-image-text.image-text--reverse {
        direction: ltr;
    }
    
    .image-text__image::before,
    .image-text__image::after {
        display: none;
    }
    
    .image-text__text {
        font-size: 1rem;
    }
    
    .image-text__text p {
        font-size: 1rem;
    }
    
    .image-text__text p:first-child {
        font-size: 1.125rem;
    }


    .block-features,
    .block-stats {
        grid-template-columns: 1fr;
    }

    .gallery--cols-2,
    .gallery--cols-3,
    .gallery--cols-4 {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ==========================================================================
   ARTICLES BLOCKS - Modern Glassmorphism Design
   ========================================================================== */

.articles-block {
    margin: 3rem 0;
}

.articles-block__heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark, #1e293b);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(23, 94, 230, 0.1);
}

.articles-block__heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-blue, #175ee6);
}

.articles-block__heading i {
    color: var(--primary-blue, #175ee6);
    font-size: 1.75rem;
}

/* Articles Grid Layouts */
.articles-grid {
    display: grid;
    gap: 1.25rem;
}

.articles-grid--grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.articles-grid--list {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.articles-grid--carousel {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
}

/* Article Card */
.article-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(23, 94, 230, 0.08);
    border-color: rgba(23, 94, 230, 0.3);
}

/* Article Card Image - default (grid/carousel) */
.article-card__image {
    display: block;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Grid: fixní poměr stran 4:3 */
.articles-grid--grid .article-card__image,
.articles-grid--carousel .article-card__image {
    aspect-ratio: 4/3;
}

.article-card:hover .article-card__image {
    transform: scale(1.02);
}

/* List layout - horizontal card */
.articles-grid--list .article-card {
    flex-direction: row;
}

.articles-grid--list .article-card__image {
    width: 280px;
    flex-shrink: 0;
    align-self: stretch;
}

.articles-grid--list .article-card__content {
    flex: 1;
    padding: 1rem 1rem 1rem 1.25rem;
}

/* Article Card Content */
.article-card__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--text-medium, #64748b);
}

.article-card__category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.08), rgba(23, 94, 230, 0.04));
    border: 1px solid rgba(23, 94, 230, 0.15);
    border-radius: 4px;
    color: var(--primary-blue, #175ee6);
    font-weight: 600;
    font-size: 0.75rem;
}

.article-card__category i {
    font-size: 0.7rem;
}

.article-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-medium, #64748b);
    font-size: 0.8125rem;
}

.article-card__date i {
    font-size: 0.75rem;
}

.article-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.article-card__title a {
    color: var(--text-dark, #1e293b);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card__title a:hover {
    color: var(--primary-blue, #175ee6);
}

.article-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-medium, #64748b);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__author {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-medium, #64748b);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.article-card__author i {
    color: var(--primary-blue, #175ee6);
    font-size: 0.75rem;
}

/* Articles Block Footer */
.articles-block__footer {
    margin-top: 2.5rem;
    text-align: center;
}

.articles-block__footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Empty State */
.articles-block--empty {
    padding: 3rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.03), rgba(23, 94, 230, 0.06));
    border: 1px dashed rgba(23, 94, 230, 0.2);
    border-radius: 12px;
}

.empty-state__icon {
    font-size: 4rem;
    color: var(--primary-blue, #175ee6);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state__message {
    font-size: 1.125rem;
    color: var(--text-medium, #64748b);
    margin-bottom: 1.5rem;
}

/* Error State */
.articles-block--error {
    margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid--grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid--list .article-card {
        flex-direction: column;
    }
    
    .articles-grid--list .article-card__image {
        flex: none;
        width: 100%;
    }
    
    .articles-grid--list .article-card__content {
        padding: 1.75rem;
    }
    
    .article-card__title {
        font-size: 1.25rem;
    }
    
    .articles-block__heading {
        font-size: 1.75rem;
    }
}

