.sw-block {
    padding: 32px 0;
}

.sw-block__inner {
    max-width: 760px;
    margin: 0 auto;
}

.sw-block__inner--narrow {
    max-width: 560px;
}

.sw-block__inner--wide {
    max-width: 100%;
}

.sw-block__rich-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
}

.sw-block__rich-text h1,
.sw-block__rich-text h2,
.sw-block__rich-text h3 {
    line-height: 1.3;
    margin: 1.4em 0 0.5em;
}

.sw-block__rich-text h1:first-child,
.sw-block__rich-text h2:first-child,
.sw-block__rich-text h3:first-child {
    margin-top: 0;
}

.sw-block__rich-text p {
    margin: 0 0 1em;
}

.sw-block__rich-text a {
    color: var(--blue);
}

/* Číslovaný seznam – stejný "flex řádek" jazyk jako odrážky níž, jen
   místo fajfky kulatý štítek s číslem. */
.sw-block__rich-text ol,
.sw-block__text-media-copy ol {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    counter-reset: sw-rich-text-ol;
    display: grid;
    gap: 10px;
}

.sw-block__rich-text ol li,
.sw-block__text-media-copy ol li {
    counter-increment: sw-rich-text-ol;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sw-block__rich-text ol li::before,
.sw-block__text-media-copy ol li::before {
    content: counter(sw-rich-text-ol);
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

/* Odrážky (<ul>) 1:1 podle ".doc-essentials" v referenčního designového mockupu webu –
   fajfka místo tečky, i když obsah přišel z WYSIWYG editoru jako prostý
   <ul><li>, ne s ručně vloženou ikonou. */
.sw-block__rich-text ul,
.sw-block__text-media-copy ul {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sw-block__rich-text ul li,
.sw-block__text-media-copy ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sw-block__rich-text ul li::before,
.sw-block__text-media-copy ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    flex: none;
    font-size: 14px;
    color: var(--blue);
    transform: translateY(4px);
}

.sw-block__rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r-s);
}

/* Společné pozadí bloku (plán, sekce 8) */
.sw-block--bg-blue-soft { background: var(--blue-soft); }
.sw-block--bg-green-soft { background: var(--green-soft); }
.sw-block--bg-yellow-soft { background: var(--yellow-soft); }

/* page-header – zarovnáno vlevo, podle ".doc-body h1"/".lead" v
   referenčního designového mockupu webu (nadpis + perex jedné stránky, ne centrovaný jako
   homepage hero). */
.sw-block__page-header {
    text-align: left;
}

.sw-block__page-header-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.sw-block__page-header h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.15;
    color: var(--ink);
}

.sw-block__page-header-lead {
    margin: 0;
    max-width: 60ch;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}

/* quote */
.sw-block__quote {
    margin: 0;
    padding: 24px 28px;
    border-left: 4px solid var(--yellow);
    background: #fafbfc;
    border-radius: 0 var(--r) var(--r) 0;
}

.sw-block__quote p {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--ink);
    font-style: normal;
}

.sw-block__quote footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: normal;
    font-size: 14px;
    color: var(--muted);
}

.sw-block__quote footer strong {
    color: var(--ink);
}

/* callout */
.sw-block__callout {
    padding: 20px 24px;
    border-radius: var(--r-s);
    border-left: 4px solid transparent;
}

.sw-block__callout strong {
    display: block;
    margin-bottom: 4px;
}

.sw-block__callout p {
    margin: 0;
    line-height: 1.6;
}

.sw-block__callout--blue { background: var(--blue-soft); border-color: var(--blue); color: var(--ink); }
.sw-block__callout--green { background: var(--green-soft); border-color: var(--green); color: var(--ink); }
.sw-block__callout--yellow { background: var(--yellow-soft); border-color: var(--yellow); color: var(--ink); }

/* cta-banner */
.sw-block__cta {
    background: var(--blue);
    color: #fff;
    border-radius: var(--r-l);
    padding: 52px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    text-align: left;
}

.sw-block__cta-copy h2 {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 32px);
    color: #fff;
    max-width: 22ch;
}

.sw-block__cta-copy p {
    margin: 10px 0 0;
    opacity: .85;
    max-width: 46ch;
}

.sw-block__cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: none;
}

.sw-block__cta-button {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.sw-block__cta-button--white {
    background: #fff;
    color: var(--blue);
}

/* image */
.sw-block__image {
    margin: 0;
}

.sw-block__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r);
}

.sw-block__image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

/* hero (fallback jednoobrázková varianta – bez image2/image3) */
.sw-block__hero {
    position: relative;
    padding: 72px 32px;
    border-radius: var(--r-l);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.sw-block__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    border-radius: inherit;
}

.sw-block__hero-content {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.sw-block__hero-eyebrow {
    color: #fff;
}
.sw-block__hero-eyebrow::before { background: #fff; }

.sw-block__hero-content h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
}

.sw-block__hero-content p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.6;
}

.sw-block__hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.sw-block__hero-note {
    margin-top: 22px;
    font-size: 14px;
    opacity: .9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sw-block__hero-button {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.sw-block__hero-button--secondary {
    background: var(--green);
    color: #fff;
}

.sw-block__hero-button--ghost {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
}

/* hero – split (3fotková collage) varianta, viz BlockRegistry::renderHero() */
.sw-block__hero--split {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 56px;
    align-items: center;
    text-align: left;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--ink);
}

.sw-block__hero--split::before { display: none; }

.sw-block__hero-copy h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 20px;
    color: var(--ink);
}

.sw-block__hero-copy p {
    font-size: 17px;
    color: var(--muted);
    max-width: 52ch;
    margin: 0 0 26px;
}

.sw-block__hero-copy .sw-block__hero-actions {
    justify-content: flex-start;
}

.sw-block__hero-copy .sw-block__hero-button {
    background: var(--blue);
    color: #fff;
}

.sw-block__hero-copy .sw-block__hero-button--secondary {
    background: var(--green);
    color: #fff;
}

.sw-block__hero-copy .sw-block__hero-button--ghost {
    background: none;
    border: 1.5px solid var(--ink);
    color: var(--ink);
}

.sw-block__hero-copy .sw-block__hero-note {
    justify-content: flex-start;
    color: var(--muted);
}

.sw-block__hero-media {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 18px;
    align-items: stretch;
}

.sw-block__hero-media .plate { height: 100%; }
.sw-block__hero-media .plate img { height: 100%; min-height: 250px; }
.sw-block__hero-stack { display: grid; gap: 18px; }
.sw-block__hero-stack .plate img { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
    .sw-block__hero--split,
    .sw-block__hero-media {
        grid-template-columns: 1fr;
    }
}

/* text-media */
.sw-block__text-media {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sw-block__text-media--image-left {
    flex-direction: row-reverse;
}

.sw-block__text-media-copy {
    flex: 1 1 0;
    min-width: 0;
}

.sw-block__text-media-copy h2 {
    margin: 0 0 12px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__text-media-copy p {
    margin: 0 0 1em;
    line-height: 1.7;
    color: var(--ink);
}

.sw-block__text-media-media {
    flex: 1 1 0;
    min-width: 0;
}

.sw-block__text-media-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r);
}

@media (max-width: 720px) {
    .sw-block__text-media,
    .sw-block__text-media--image-left {
        flex-direction: column;
    }
}

/* gallery */
.sw-block__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.sw-block__gallery-item {
    margin: 0;
}

.sw-block__gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--r-s);
}

/* cards */
.sw-block__cards h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .sw-block__cards-grid { grid-template-columns: 1fr; }
}

.sw-block__card {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .18s ease;
}

.sw-block__card:hover {
    border-color: var(--ink);
}

.sw-block__card-bar {
    height: 6px;
}

.sw-block__card-bar--blue { background: var(--blue); }
.sw-block__card-bar--green { background: var(--green); }
.sw-block__card-bar--yellow { background: var(--yellow); }

.sw-block__card-body {
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    /* Bez tohoto by "flex" default (stretch) roztáhl .tag (jinak malý
       inline-block "pill") na celou šířku karty místo přirozené šířky
       podle obsahu. */
    align-items: flex-start;
    gap: 10px;
}

.sw-block__card-body h3,
.sw-block__card-body p {
    width: 100%;
}

.sw-block__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 18px;
}

.sw-block__card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--ink);
}

.sw-block__card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    flex: 1;
}

.sw-block__card-link {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--blue);
}

.sw-block__card-link--blue { color: var(--blue); }
.sw-block__card-link--green { color: var(--green); }
.sw-block__card-link--yellow { color: #8A6500; }

/* contact-cards */
.sw-block__contact-cards h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sw-block__contact-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--r);
    border: 1px solid var(--line);
}

.sw-block__contact-card-photo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 14px;
}

.sw-block__contact-card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: var(--ink);
}

.sw-block__contact-card-role {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.sw-block__contact-card a {
    display: block;
    font-size: 14px;
    color: var(--blue);
    text-decoration: none;
}

.sw-block__contact-card a:hover {
    text-decoration: underline;
}

/* downloads */
.sw-block__downloads h2 {
    margin: 0 0 16px;
    font-size: 24px;
    color: var(--ink);
}

.sw-block__downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sw-block__downloads-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-s);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.sw-block__downloads-item a:hover {
    background: var(--blue-soft);
}

.sw-block__downloads-item i {
    color: var(--blue);
}

.sw-block__downloads-item em {
    margin-left: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
}

/* document-list */
.sw-block__document-list h2 {
    margin: 0 0 16px;
    font-size: 24px;
    color: var(--ink);
}

.sw-block__document-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sw-block__document-list-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-s);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.sw-block__document-list-item a:hover {
    background: var(--blue-soft);
}

.sw-block__document-list-item i {
    color: var(--blue);
}

.sw-block__document-list-item em {
    margin-left: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
}

/* team-list */
.sw-block__team-list h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__team-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sw-block__team-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--r);
    border: 1px solid var(--line);
}

.sw-block__team-card-photo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 14px;
}

.sw-block__team-card h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: var(--ink);
}

.sw-block__team-card-position {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.sw-block__team-card a {
    display: block;
    font-size: 14px;
    color: var(--blue);
    text-decoration: none;
}

.sw-block__team-card a:hover {
    text-decoration: underline;
}

/* supporters-list / partners-list – "trust bar" logo grid, šedě dokud se
   nad ním nepřejede (viz Partners/PartnerService.php). */
.sw-block__partner-logos h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__partner-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.sw-block__partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
}

.sw-block__partner-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    filter: grayscale(1);
    opacity: .55;
    transition: filter .2s ease, opacity .2s ease;
}

.sw-block__partner-logo:hover .sw-block__partner-logo-img {
    filter: grayscale(0);
    opacity: 1;
}

.sw-block__partner-logo-img img {
    max-height: 100%;
    max-width: 220px;
    object-fit: contain;
}

/* malinký název pod logem – vždy, i když logo je nahrané. */
.sw-block__partner-logo-name {
    font-weight: 600;
    font-size: 12.5px;
    color: var(--muted);
}

/* awards-list – logo/certifikát (klikatelný přes lightbox) + název + popis,
   bez odkazu, bez rámečku, zarovnané vlevo. */
.sw-block__awards h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.sw-block__award-card {
    text-align: left;
}

.sw-block__award-card-logo {
    display: flex;
    height: 140px;
    margin: 0 0 18px;
    cursor: zoom-in;
}

.sw-block__award-card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--r-s);
}

.sw-block__award-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--ink);
}

.sw-block__award-card p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* projects-list – projekty "pod sebou" (viz Projects/ProjectService.php),
   každý s číslem/termínem, popisem, logy, galerií (lightbox) a přílohami. */
.sw-block__projects h2 {
    margin: 0 0 32px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__projects-list {
    display: grid;
    gap: 44px;
}

.sw-block__project {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.sw-block__project:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sw-block__project-head h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--ink);
}

.sw-block__project-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: var(--muted);
}

.sw-block__project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sw-block__project-meta i {
    color: var(--blue);
}

.sw-block__project-description {
    margin-bottom: 22px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink);
}

.sw-block__project-description p {
    margin: 0 0 1em;
}

.sw-block__project-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.sw-block__project-logo {
    display: flex;
    align-items: center;
    height: 56px;
}

.sw-block__project-logo img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
}

.sw-block__project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.sw-block__project-gallery-item {
    display: block;
    border-radius: var(--r-s);
    overflow: hidden;
    cursor: zoom-in;
}

.sw-block__project-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.sw-block__project-gallery-item:hover img {
    transform: scale(1.06);
}

.sw-block__project-attachments {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.sw-block__project-attachments a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r-s);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sw-block__project-attachments a:hover {
    background: var(--blue-soft);
}

.sw-block__project-attachments a i {
    color: var(--blue);
}

.sw-block__project-attachments a em {
    margin-left: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 12.5px;
    color: var(--muted);
}

/* recent-articles – varianta "cards" (news-card grid, homepage) */
.sw-block__news h2 {
    margin: 0 0 24px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sw-block__news-card {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sw-block__news-card:hover {
    border-color: var(--ink);
    box-shadow: 0 10px 28px rgba(20, 24, 31, 0.08);
}

/* Fotka je hlavní vizuální prvek karty – větší poměr stran, tag jako
   overlay štítek přes fotku (ne v textu), náhradní placeholder s ikonou,
   když článek fotku nemá. */
.sw-block__news-card-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--blue-soft);
}

.sw-block__news-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.sw-block__news-card:hover .sw-block__news-card-media img {
    transform: scale(1.04);
}

.sw-block__news-card-media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 34px;
    opacity: .55;
}

.sw-block__news-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 24, 31, 0.12);
}

.sw-block__news-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.sw-block__news-card-body time {
    font-size: 13px;
    color: var(--muted);
}

.sw-block__news-card-body h3 {
    width: 100%;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
}

.sw-block__news-card-body p {
    width: 100%;
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.sw-block__news-card-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

@media (max-width: 900px) {
    .sw-block__news-grid { grid-template-columns: 1fr; }
}

/* upcoming-events – varianta "rows" (event-row s datovým boxem, homepage) */
.sw-block__events h2 {
    margin: 0 0 24px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__events-list {
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    overflow: hidden;
}

.sw-block__event-row {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

.sw-block__event-row:last-child {
    border-bottom: none;
}

.sw-block__event-row:hover {
    background: var(--green-soft);
}

.sw-block__event-row-date {
    text-align: center;
    border-radius: var(--r-s);
    padding: 10px 0;
    background: var(--green-soft);
}

.sw-block__event-row-date b {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--green);
}

.sw-block__event-row-date span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}

.sw-block__event-row-info b {
    display: block;
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--ink);
}

.sw-block__event-row-info p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
    max-width: 62ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sw-block__event-row-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.sw-block__event-row-info span i {
    color: var(--green);
    font-size: 12px;
}

.sw-block__event-row-arrow {
    font-weight: 600;
    color: var(--green);
    font-size: 14.5px;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .sw-block__event-row {
        grid-template-columns: 80px 1fr;
    }
    .sw-block__event-row-arrow {
        display: none;
    }
}

/* events-calendar – přepínač nadcházející/proběhlé (bez kalendáře, scope
   "both") a prázdný stav, sdílí .sw-block__events*/.sw-block__event-row*
   se stránkou "výpisu akcí" výš. */
.sw-block__events-switcher {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.sw-block__events-switcher-tab {
    padding: 8px 18px;
    border-radius: var(--r-l);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
}

.sw-block__events-switcher-tab.is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.sw-block__events-empty {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* events-calendar – měsíční mřížka (s kalendářem). Veškerá interakce
   (měsíc/rok, klik na den) je klientská, viz public/assets/js/blocks.js. */
.sw-block__events-calendar {
    position: relative;
}

.sw-block__events-calendar h2 {
    margin: 0 0 24px;
    text-align: center;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__events-calendar-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sw-block__events-calendar-nav {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    background: none;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}

.sw-block__events-calendar-nav:hover {
    background: var(--ink);
    color: #fff;
}

.sw-block__events-calendar-title {
    min-width: 190px;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-transform: capitalize;
}

.sw-block__events-calendar-today {
    margin-left: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.sw-block__events-calendar-today:hover {
    background: var(--blue);
    color: #fff;
}

.sw-block__events-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ink);
}

.sw-block__events-calendar-weekdays span.is-weekend {
    color: var(--blue);
}

.sw-block__events-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.sw-block__events-calendar-day {
    position: relative;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: var(--r-s);
    background: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.sw-block__events-calendar-day--weekend {
    background: var(--blue-soft);
}

.sw-block__events-calendar-day--has-events {
    background: var(--green-soft);
    color: var(--green);
    font-weight: 800;
}

.sw-block__events-calendar-day--outside {
    color: var(--muted);
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.sw-block__events-calendar-day--today {
    box-shadow: inset 0 0 0 1.5px var(--blue);
}

.sw-block__events-calendar-day.is-selected {
    background: var(--blue);
    color: #fff;
}

.sw-block__events-calendar-day:hover {
    background: var(--ink);
    color: #fff;
}

.sw-block__events-calendar-day-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(20, 24, 31, .07);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.sw-block__events-calendar-day-count--active {
    background: var(--green);
    color: #fff;
}

.sw-block__events-calendar-day.is-selected .sw-block__events-calendar-day-count {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.sw-block__events-calendar-day.is-selected .sw-block__events-calendar-day-count--active {
    background: #fff;
    color: var(--blue);
}

.sw-block__events-calendar-tooltip {
    position: absolute;
    z-index: 30;
    min-width: 150px;
    max-width: 240px;
    padding: 12px 14px;
    border-radius: var(--r-s);
    border-left: 3px solid var(--blue);
    background: var(--blue-soft);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 10px 24px rgba(20, 24, 31, .14);
    pointer-events: none;
}

.sw-block__events-calendar-tooltip div + div {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(37, 87, 232, .18);
}

.sw-block__events-calendar-detail {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid var(--ink);
}

.sw-block__events-calendar-detail-heading {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sw-block__events-calendar-detail-empty {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
}

.sw-block__events-calendar-detail-item {
    display: block;
    width: 100%;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.sw-block__events-calendar-detail-item:first-child {
    padding-top: 4px;
}

.sw-block__events-calendar-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.sw-block__events-calendar-detail-item-main {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.sw-block__events-calendar-detail-item-image {
    position: relative;
    flex: 0 0 auto;
    display: block;
    width: 190px;
    height: 132px;
}

.sw-block__events-calendar-detail-item-image::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(7px, 7px);
    border-radius: var(--r);
    background: var(--green);
}

.sw-block__events-calendar-detail-item:nth-child(3n+2) .sw-block__events-calendar-detail-item-image::before {
    background: var(--blue);
}

.sw-block__events-calendar-detail-item:nth-child(3n+3) .sw-block__events-calendar-detail-item-image::before {
    background: var(--yellow);
}

.sw-block__events-calendar-detail-item-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--r);
    transition: transform .3s ease;
}

.sw-block__events-calendar-detail-item-image:hover img {
    transform: translate(-3px, -3px);
}

.sw-block__events-calendar-detail-item-info {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}

.sw-block__events-calendar-detail-item-title {
    display: inline-block;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.3;
    color: var(--ink);
    text-decoration: none;
}

.sw-block__events-calendar-detail-item-title:hover {
    color: var(--blue);
}

.sw-block__events-calendar-detail-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.sw-block__events-calendar-detail-item-time-chip,
.sw-block__events-calendar-detail-item-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
}

.sw-block__events-calendar-detail-item-time-chip {
    background: var(--blue-soft);
    color: var(--blue);
}

.sw-block__events-calendar-detail-item-location-chip {
    background: var(--green-soft);
    color: var(--green);
}

.sw-block__events-calendar-detail-item-desc {
    margin: 12px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
}

.sw-block__events-calendar-detail-item-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.sw-block__events-calendar-detail-item-link:hover {
    background: var(--ink);
    color: #fff;
}

@media (max-width: 640px) {
    .sw-block__events-calendar-day {
        font-size: 12.5px;
    }

    .sw-block__events-calendar-detail-item-main {
        gap: 16px;
    }

    .sw-block__events-calendar-detail-item-image {
        width: 100px;
        height: 100px;
    }

    .sw-block__events-calendar-detail-item-image::before {
        transform: translate(4px, 4px);
    }

    .sw-block__events-calendar-detail-item-title {
        font-size: 17px;
    }
}

/* stats-grid */
.sw-block__stats h2 {
    margin: 0 0 24px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sw-block__stat {
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.sw-block__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 18px;
}

.sw-block__stat b {
    display: block;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.sw-block__stat span {
    font-size: 14px;
    color: var(--muted);
}

.sw-block__stat--blue .sw-block__stat-icon { background: var(--blue-soft); color: var(--blue); }
.sw-block__stat--blue b { color: var(--blue); }
.sw-block__stat--green .sw-block__stat-icon { background: var(--green-soft); color: var(--green); }
.sw-block__stat--green b { color: var(--green); }
.sw-block__stat--yellow .sw-block__stat-icon { background: var(--yellow-soft); color: #B98A00; }
.sw-block__stat--yellow b { color: #B98A00; }
.sw-block__stat--neutral .sw-block__stat-icon { background: #F3F4F6; color: var(--ink); }
.sw-block__stat--neutral b { color: var(--ink); }

.sw-block__stats-note {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.sw-block__stats-note a { color: inherit; }

@media (max-width: 900px) {
    .sw-block__stats-grid { grid-template-columns: 1fr 1fr; }
}

/* link-list */
.sw-block__link-list h2 {
    margin: 0 0 24px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__link-list-grid {
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.sw-block__link-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 24px 30px;
    border-bottom: 1px solid var(--line);
    transition: background .18s ease;
}

.sw-block__link-item:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.sw-block__link-item:nth-last-child(1),
.sw-block__link-item:nth-last-child(2) {
    border-bottom: none;
}

.sw-block__link-item:hover {
    background: var(--yellow-soft);
}

.sw-block__link-item .dot {
    margin-top: 8px;
}

.sw-block__link-item-body b {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.sw-block__link-item-body span {
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 700px) {
    .sw-block__link-list-grid { grid-template-columns: 1fr; }
    .sw-block__link-item:nth-child(odd) { border-right: none; }
    .sw-block__link-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* fact-grid */
.sw-block__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.sw-block__fact {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 20px 24px;
}

.sw-block__fact span {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.sw-block__fact b {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

/* steps */
.sw-block__steps-wrap h2 {
    margin: 0 0 24px;
    font-size: 26px;
    color: var(--ink);
}

.sw-block__steps {
    counter-reset: sw-step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sw-block__step {
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px;
}

.sw-block__step::before {
    counter-increment: sw-step;
    content: counter(sw-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
}

.sw-block__step b {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--ink);
}

.sw-block__step p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .sw-block__steps { grid-template-columns: 1fr 1fr; }
}

/* feature-split */
.sw-block__feature {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 48px;
    align-items: center;
}

.sw-block__feature--image-left {
    grid-template-columns: .98fr 1.02fr;
}

.sw-block__feature--image-left .sw-block__feature-copy {
    order: 2;
}

.sw-block__feature-copy h2 {
    margin: 10px 0 14px;
    font-size: clamp(28px, 3.2vw, 38px);
    color: var(--ink);
}

.sw-block__feature-copy > p {
    margin: 0;
    font-size: 16px;
    color: var(--muted);
    max-width: 60ch;
}

.sw-block__feature-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin-top: 26px;
}

.sw-block__feature-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.sw-block__feature-point i {
    color: var(--blue);
    font-size: 15px;
    transform: translateY(4px);
}

.sw-block__feature-point b {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--ink);
}

.sw-block__feature-point span span {
    display: block;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.sw-block__feature-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.sw-block__feature-button {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    background: var(--blue);
    color: #fff;
}

.sw-block__feature-button--ghost {
    background: none;
    border: 1.5px solid var(--ink);
    color: var(--ink);
}

.sw-block__feature-media .plate img {
    aspect-ratio: 5 / 4;
    min-height: 320px;
}

@media (max-width: 900px) {
    .sw-block__feature,
    .sw-block__feature--image-left {
        grid-template-columns: 1fr;
    }
    .sw-block__feature--image-left .sw-block__feature-copy {
        order: 0;
    }
}

/* logo-strip – loga zadaná přímo v bloku (vyhlašovatelé, donátoři, mediální
   partner konkrétního ročníku). Záměrně BEZ grayscale filtru, který používá
   partner-logos výš: tenhle blok se používá i ve fialové variantě, kde jsou
   loga v bílém provedení a filtr by je znehodnotil. */
.sw-block__logo-strip {
    border-radius: var(--r-l);
    padding: 32px 28px;
}

.sw-block__logo-strip--light {
    background: #fff;
    border: 1px solid var(--line);
}

.sw-block__logo-strip--purple {
    background: var(--rdcjk-primary, #2b1b60);
    border: 1px solid var(--rdcjk-primary, #2b1b60);
}

.sw-block__logo-strip-heading {
    margin: 0 0 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .01em;
}

.sw-block__logo-strip--light .sw-block__logo-strip-heading { color: var(--ink); }
.sw-block__logo-strip--purple .sw-block__logo-strip-heading { color: var(--rdcjk-primary-foreground, #f7ffff); }

.sw-block__logo-strip-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px 48px;
}

.sw-block__logo-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    text-decoration: none;
}

.sw-block__logo-strip-item img {
    max-height: 100%;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* U odkazu jen jemné zvýraznění – loga sponzorů se nemají „rozsvěcet". */
a.sw-block__logo-strip-item { transition: opacity .2s ease; }
a.sw-block__logo-strip-item:hover { opacity: .75; }

.sw-block__logo-strip-note {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
}

.sw-block__logo-strip--light .sw-block__logo-strip-note { color: var(--muted); }
.sw-block__logo-strip--purple .sw-block__logo-strip-note { color: var(--rdcjk-accent, #b9a7e8); }

@media (max-width: 640px) {
    .sw-block__logo-strip { padding: 24px 18px; }
    .sw-block__logo-strip-grid { gap: 24px 28px; }
    .sw-block__logo-strip-item { height: 52px; }
    .sw-block__logo-strip-item img { max-width: 150px; }
}
