/* Custom styles for page ID 74 - Podporují nás */

.cw74-wrap { max-width: 1300px; margin: 0 auto; padding: 2.5rem 1rem 3rem; }

.cw74-head { text-align: center; margin-bottom: 1.75rem; }

.cw74-head h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: var(--text-dark);
}

.cw74-head p {
    margin: .75rem auto 0;
    color: var(--text-medium);
    max-width: 760px;
}

.cw74-alert {
    display: flex; gap: .9rem; align-items: flex-start;
    border: 1px solid #facc15; background: #fffbeb; color: #854d0e;
    border-radius: 12px; padding: 1rem;
}

.cw74-alert h2 { margin: 0 0 .35rem; font-size: 1.1rem; }
.cw74-alert p { margin: 0; }

.cw74-empty {
    border: 1px dashed #cbd5e1; border-radius: 12px;
    padding: 1.2rem; text-align: center; color: #64748b;
}

.cw74-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.cw74-card {
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
}

.cw74-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .10);
    border-color: rgba(23, 94, 230, .25);
}

.cw74-media {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: #ffffff;
    cursor: zoom-in;
}
.cw74-media img {
    width: 100%;
    height: 175px;
    object-fit: contain;
    background: #ffffff;
    padding: 14px;
    display: block;
    transition: transform .25s ease;
}
.cw74-media:hover img { transform: scale(1.03); }

.cw74-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cw74-body h3 {
    margin: 0 0 .45rem;
    color: var(--text-dark);
    font-size: 1.06rem;
    line-height: 1.35;
}

.cw74-body p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.55;
    font-size: .96rem;
}

.cw74-link {
    margin-top: auto;
    padding-top: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: .94rem;
}
.cw74-link:hover { text-decoration: underline; }

.cw-lightbox-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(2, 6, 23, .9);
    display: grid; place-items: center;
    padding: 1rem;
}

.cw-lightbox-figure { margin: 0; max-width: min(92vw, 1100px); }
.cw-lightbox-figure img {
    width: 100%; max-height: 82vh; object-fit: contain;
    border-radius: 12px; background: #fff;
}
.cw-lightbox-figure figcaption {
    color: #e2e8f0; text-align: center; margin-top: .55rem;
}
.cw-lightbox-close {
    position: fixed; top: 14px; right: 14px;
    border: 0; width: 42px; height: 42px; border-radius: 999px;
    font-size: 2rem; line-height: 1; cursor: pointer;
    color: #fff; background: rgba(255,255,255,.16);
}

@media (max-width: 1280px) {
    .cw74-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .cw74-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .cw74-grid { grid-template-columns: 1fr; }
    .cw74-head h1 { font-size: 1.9rem; }
}
