/* Block Styles */
/* Block: hero_zacni_hned */
.cms_hero_fullwidth_wrapper { width: 100%; overflow: hidden; } .cms_hero { position: relative; width: 100%; min-height: 580px; max-width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; } .cms_hero__background { position: absolute; top: 0; z-index: 1; height: 100%; width: 100%; object-fit: cover; object-position: 50% 50%; } .cms_hero__overlay { position: absolute; top: 0; height: 100%; } .cms_hero__wrapper { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 20px; } /* Mobile: Always center everything */ .cms_hero__logo { width: 100%; max-width: 463px; filter: drop-shadow(0px 0px 56px rgba(0, 0, 0, 0.25)); flex-shrink: 0; } .cms_hero__logo img { width: 100%; height: auto; display: block; } .cms_hero__content { display: flex; flex-direction: column; gap: 35px; padding: 16px 0; width: 100%; max-width: 393px; align-items: center; text-align: center; } .cms_hero__text { display: flex; flex-direction: column; gap: 13px; color: #ffffff; } .cms_hero__heading { font-size: 35px; font-weight: 700; line-height: 1.35; white-space: pre-wrap; margin: 0; } .cms_hero__description { font-size: 18px; font-weight: 400; line-height: 1.5; white-space: pre-wrap; margin: 0; } .cms_hero__cta { display: inline-flex; align-items: center; justify-content: center; height: 56px; background-color: #e50026; color: #ffffff; font-size: 20px; font-weight: 600; text-decoration: none; border-radius: 33px; transition: background-color 0.3s ease, transform 0.2s ease; cursor: pointer; padding: 0 25px; } .cms_hero__cta:hover { color: #ffffff; background-color: #c4001f; transform: translateY(-2px); } /* Tablet and larger phones */ @media (min-width: 576px) { .cms_hero__heading { font-size: 36px; } .cms_hero__description { font-size: 16px; } } /* Tablets and Desktop */ @media (min-width: 768px) { .cms_hero__wrapper { flex-direction: row; align-items: center; justify-content: space-between; max-width: 736px; } /* Left alignment: text on left, logo on right */ .cms_hero__wrapper--left { justify-content: space-between; } .cms_hero__wrapper--left .cms_hero__content { align-items: flex-start; text-align: left; } /* Right alignment: logo on left, text on right */ .cms_hero__wrapper--right { justify-content: center; flex-direction: row-reverse; } .cms_hero__wrapper--right .cms_hero__content { align-items: flex-start; text-align: left; } /* Center alignment (if needed in future) */ .cms_hero__wrapper--center { justify-content: center; } .cms_hero__wrapper--center .cms_hero__content { align-items: center; text-align: center; } .cms_hero__logo { max-width: 400px; } .cms_hero__content { max-width: 450px; } .cms_hero__heading { font-size: 40px; } .cms_hero__description { font-size: 18px; } .cms_hero__overlay { background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(112.62deg, rgba(0, 0, 0, 0) 52.32%, rgba(0, 0, 0, 0.6) 55.15%); } .cms_hero { display: flex; } } /* Laptops */ @media (min-width: 992px) { .cms_hero__wrapper { max-width:960px; } .cms_hero__logo { max-width: 500px; } .cms_hero__content { max-width: 550px; } .cms_hero__heading { font-size: 40px; } .cms_hero__description { font-size: 18px; } } /* Desktop */ @media (min-width: 1200px) { .cms_hero__wrapper { max-width: 1156px; } .cms_hero__logo { max-width: 553px; } .cms_hero__content { max-width: 742px; } .cms_hero__heading { font-size: 40px; } .cms_hero__description { font-size: 18px; } .cms_hero__background { width: 100%; } } /* Desktop */ @media (min-width: 1400px) { .cms_hero__wrapper { max-width: 1336px; } } .cms_hero_fullwidth_wrapper.mb-96 { margin-bottom: 96px; }

/* Block: cards */
.cms_cards-section { max-width: 1296px; margin: 0 auto; background-color: #ffffff; padding: 40px 30px; display: flex; flex-direction: column; gap: 40px; } .cms_section-header { display: flex; align-items: center; justify-content: center; gap: 32px; position: relative; margin-bottom: 40px; } .cms_section-header::before, .cms_section-header::after { content: ""; flex: 1 1 0; height: 1px; background-color: #cdcdcd; } .cms_section-header__title { font-size: 36px; font-weight: 700; text-align: center; white-space: nowrap; line-height: 1; position: relative; padding: 0; background-color: #ffffff; display: inline-flex; align-items: center; margin-bottom: 0; } .cms_cards-grid { display: grid; /* Karty se lámou podle šířky kontejneru; min 180px, jinak rovnoměrně */ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; } .cms_cards-rm1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .cms_card-link { display: block; /* or display: flex */ height: 100%; /* Fill grid cell height */ text-decoration: none; color: inherit; } .cms_card-link .cms_card { transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; } .cms_card-link:hover .cms_card { transform: translateY(-4px); box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); } .cms_card-link:hover .cms_card__image { transform: scale(1.15); } .cms_card { height: 100%; /* Fill anchor height */ background-color: #fff2df; border-radius: 16px; box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; min-width: 100px; } .cms_card__image-wrapper { position: relative; height: 200px; background-color: #ffffff; } /* Picture element pro jednodušší přepínání mezi desktop a mobile assetem bez JS */ .cms_card__image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms; } /* Textová část karty – titulky a popis mají 8px odstup dle návrhu */ .cms_card__content { z-index: 1; display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 0 10px 10px 10px; text-align: center; flex: 1; /* Take up remaining space */ } .cms_card__title { font-size: 20px; font-weight: 800; color: #3f3f3f; text-transform: uppercase; line-height: 28px; } p.cms_card__description { font-size: 15px; font-weight: 400; color: #000000; line-height: 22px; margin-bottom: 0; display: none; } @media (max-width: 575px) { .cms_section-header__title { font-size: 24px; white-space: normal; } .cms_section-header { gap: 16px; } } @media (min-width:576px) { .cms_cards-grid { gap: 15px; } .cms_cards-rm2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cms_card__image-wrapper { height: 265px; } } @media (min-width:786px) { p.cms_card__description { display: block; } } @media (min-width: 992px) { .cms_cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .cms_cards-rd1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .cms_cards-rd2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cms_cards-rd3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cms_cards-rd5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cms_cards-rd6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .cms_card__image-wrapper { height: 180px; } } @media (min-width: 1200px) { .cms_card__image-wrapper { height: 250px; } } /* ≥ 546px: 2 sloupce (2×261px + 1×24px) */ /*@media (min-width: 402px) { .cms_cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;} .cms_card__content { padding-top: 20px; } } */ /* ≥ 1116px: 4 sloupce (4×261px + 3×24px) */ /*@media (min-width: 1212px) { .cms_cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cms_card__content { padding-top: 0; } } @media (max-width: 768px) { .cms_cards-section { padding: 30px 20px; gap: 20px; } .cms_section-header__title { font-size: 32px; padding: 0; } .cms_card { flex: 1 1 calc(50% - 12px); height: 234px; } .cms_card__image-wrapper { height: 187px; } .cms_card__title { font-size: 18px; line-height: 1.35; } .cms_card__description { display: none; } } */ /* * Úzké telefony – přidáváme okraje a umožňujeme kartám jít do jednoho sloupce, pokud není místo. @media (max-width: 520px) { .cms_card { flex: 1 1 100%; height: auto; } .cms_card__image-wrapper { height: 200px; } }*/