.oprojektu-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 24px;
    margin: 1rem 0 1.5rem 0;
}

.oprojektu-photos-grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 24px;
    margin: 1rem 0 1.5rem 0;
}

@media (max-width: 768px) {
    .oprojektu-photos-grid-two-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .oprojektu-photos-grid-two-columns img {
        min-height: 120px;
        max-height: 200px;
    }
}

.oprojektu-photos-grid img,
.oprojektu-photos-grid-two-columns img {
    width: 100%;
    height: auto;
    min-height: 150px;
    max-height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.oprojektu-photos-composed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1rem 0 1.5rem 0;
}
.oprojektu-photos-composed .column {
    display: grid;
    grid-auto-rows: auto;
    gap: 16px;
}
.oprojektu-photos-composed img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
@media (max-width: 768px) {
    .oprojektu-photos-composed {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1099px) {
    .oprojektu-photos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .oprojektu-photos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .oprojektu-photos-grid img,
    .oprojektu-photos-grid-two-columns img {
        min-height: 120px;
        max-height: 200px;
    }
}

@media (min-width: 1100px) {
    .oprojektu-photos-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "img1 img3 img4"
            "img2 img3 img4";
        align-items: start;
        gap: 20px;
    }
    .oprojektu-photos-grid img:nth-child(1) { grid-area: img1; }
    .oprojektu-photos-grid img:nth-child(2) { grid-area: img2; }
    .oprojektu-photos-grid img:nth-child(3) { grid-area: img3; }
    .oprojektu-photos-grid img:nth-child(4) { grid-area: img4; }
}

#quote-generator .spinner {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(0,0,0,0.15);
    border-top-color: #2399b2;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin { 
    to { transform: rotate(360deg); }
}

:root {
    --primary-color: #fae415;
    --secondary-color: #fae415;
    --accent-color: #ae9d02;
    --text-color: black;
    --background-color: #58c1d4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-oprojektu img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.page-oprojektu main h2:first-child {
    margin-top: 2rem;
}

nav a:hover {
    color: #0066cc;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .video-embed {
        max-width: 90%;
        margin: 0 auto 1.5rem auto;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .video-embed {
        max-width: 85%;
        margin: 0 auto 1rem auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 360px) {
    .video-embed {
        max-width: 90%;
        margin: 0 auto 1rem auto;
    }
}

html, body {
    height: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');



body.menu-open {
    overflow: hidden;
}

html, body, main {
    max-width: 100%;
}

p, h1, h2, h3, h4, h5, h6, li, a, span, div {
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

header {
    background-color: black;
    position: static;
    width: 100%;
}

h1{
    font-size: 2.9rem;
}

h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.icon-inline{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.icon-inline svg{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: block;
}

.icon-inline h3{
    margin: 0;
    line-height: 1.2;
}

.icon-inline ~ p,
.icon-inline ~ ul{
    margin-left: 44px;
}

.inliner {
    display: inline;
    margin: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav {
    position: relative;
}

nav a:visited {
    color: var(--primary-color);
}

.logo{
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    margin-right: auto;
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: auto;
}

@media (min-width: 769px) {
    nav ul {
        flex-wrap: nowrap;
        gap: 1rem;
    }
    nav a {
        font-size: 0.95rem;
        padding: 0.4rem 0.5rem;
    }
}

main {
    margin: 0 auto;
    max-width: 1200px;
    flex: 1 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.contact-info {
    margin: 2rem 0;
    background-color: var(--background-color);
}

body:has(.support-grid) main {
    margin: 0 auto;
    max-width: 1200px;
    text-align: left;
}

h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* hero */
.hero1 {
    max-width: 100%;
    display: flex;
    padding: 0;
    margin-top: -6px;
    justify-content: center;
    align-items: flex-start;
}

.hero2 {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-superclass{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
    margin-top: 50px;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15vw;
    padding-right: 15vw;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    margin: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-buttons .button {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

#quote-generator .article-right .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.08);
    background: linear-gradient(180deg, #7fd6e0, #2aa9c3);
    color: black;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}

#quote-generator .article-right .button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #9ae0e7, #2399b2);
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

#quote-generator .article-right .button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    background: linear-gradient(180deg, #6ccbd6, #1f8da5);
}

#quote-generator .article-right .button:focus-visible {
    outline: 3px solid black;
    outline-offset: 3px;
}

.rozcestnikBackground {
    margin-top: 200px ;
    width: 100%;
    height: 100%;
}

footer {
    background-color: var(--primary-color);
    color: black;
    padding: 1rem;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    margin: 2rem 0;
    background-color: var(--background-color);
}

.support-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 2.5rem;
}

.support-content img {
    max-width: 260px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    display: block;
    margin: 8px auto 0 auto;
}

.support-side img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    margin: 0 auto;
    display: block;
}

@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    .support-content img {
        max-width: 220px;
    }
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-details {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0;
}

.contact-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: black;
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    word-break: break-word;
}

.contact-form {
    max-width: 600px;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.contact-form h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: black;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-form .button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.articles-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.articles-list h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.article {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--secondary-color);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.hlavni_nadpis {
    padding-top: 25px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}

.yellow-box {
    background-color: var(--secondary-color);
    color: black;
    border-radius: 12px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3);
    padding: 1rem 1.25rem;
    display: block;
    text-align: left;
    margin-top: 0.5rem;
    width: 500px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

    nav.active ul {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: black;
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        z-index: 2000;
        margin: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logo {
        font-size: 1.5rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
        margin: 2rem 1rem;
    }

    .icon-inline + p,
    .icon-inline + ul{
        margin-left: 36px;
    }

    .hero-superclass{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .hero-superclass{
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 575.98px) {
    .header-content {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hlavni_nadpis h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-superclass {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .hero1, .hero2 {
        padding: 1rem 0;
    }
    
    .wrapper {
        padding: 16px;
    }
    
    .rozcestnik-gallery {
        gap: 12px;
    }
    
    .contact-details {
        gap: 1rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .header-content {
        padding: 0.8rem;
    }
    
    .hero-superclass {
        gap: 2.5rem;
    }
    
    .wrapper {
        padding: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-superclass {
        gap: 3rem;
    }
    
    .wrapper {
        padding: 24px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-superclass {
        gap: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-superclass {
        gap: 4rem;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tile img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media print {
    .header, .footer, .hamburger, .invisible-watermark {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .tile {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .header-content {
        padding: 0.5rem;
    }
    
    .hlavni_nadpis {
        padding-top: 15px;
    }
    
    .hero-superclass {
        margin-top: 2rem;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    color: #111;
    overflow-x: hidden;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 17px; /* tohle tady musí zůstat */
}

.wrapper {
  padding-top: 24px;
  padding-bottom: 24px;
}


.rozcestnik-gallery {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .rozcestnik-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1199px) {
  .rozcestnik-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 709px) {
    .rozcestnik-gallery {
      grid-template-columns: repeat(1, 1fr);
    }
  }

.tile {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: black;
  outline-offset: 4px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.tile:focus-visible,
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.tile {
  background-color: var(--secondary-color);
  padding: 16px 16px 20px;
}
.tile img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.tile img {
  border-radius: 12px;
}
.tile-with-text img {
  border-radius: 12px;
}

.caption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}

.rozcestnik-section {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.rozcestnik-section h2 {
    text-align: center;
}

.tile-with-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 12px 16px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: black;
  outline-offset: 4px;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  background-color: var(--secondary-color);
  min-height: 200px;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.tile-with-text img {
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 100%;
}

.rozcestnik-gallery .tile-with-text img {
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
}
.tile-with-text h2 {
  margin: 4px 8px 0 8px;
  font-size: 1.0em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  flex-shrink: 1;
  box-sizing: border-box;
}
.tile-with-text p {
  margin: 0 8px;
  font-size: 0.75rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  flex-shrink: 1;
  box-sizing: border-box;
}

.invisible-watermark {
    user-select: text;
    font-size: clamp(64px, 12vw, 220px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: transparent;
    margin: 2rem 0;
    height: auto;
    overflow: visible;
}
.invisible-watermark::selection {
    background: var(--primary-color);
    color: black;
}

.oprojektu-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 1rem 0 1.5rem 0;
}

.oprojektu-photos img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

@media (min-width: 769px) and (max-width: 991px) {
    .oprojektu-photos {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .oprojektu-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .oprojektu-photos {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

#quote-generator > h2 {
    text-align: center;
}

#quote-generator > p {
    text-align: left;
}

.center-text {
    text-align: center;
}

#quote-generator > h2:first-of-type {
    text-align: left;
}

#quote-generator > h2:not(:first-of-type) {
    margin-top: 7rem;
}

#quote-generator > h2 {
    margin-bottom: 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 16px 0 24px 0;
    max-width: 100%;
    overflow: hidden;
}

.videos-grid iframe {
    width: 100%;
    height: 350px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .videos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 16px;
        gap: 12px;
        margin: 16px 16px 24px 16px;
    }
    
    .videos-grid iframe {
        width: 100%;
        max-width: 100%;
        height: 350px;
    }
}

@media (max-width: 500px) {
    .videos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 16px;
        gap: 12px;
        margin: 16px 16px 24px 16px;
    }
    
    .videos-grid iframe {
        width: 100%;
        max-width: 100%;
        height: 100px;
    }
}

@media (max-width: 768px) {
  .hero-superclass {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 0;
    padding-right: 0;
  }
  .hero1,
  .hero2 {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
}

body {
    overflow-x: hidden;
}

main {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (max-width: 300px) {
    main {
        padding: 0;
    }
    
    .wrapper {
        max-width: 100vw;
        padding: 4px;
    }
    
    .rozcestnik-gallery {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .tile-with-text {
        min-height: auto;
        max-height: none;
        padding: 4px;
    }
    
    .tile-with-text img {
        max-height: 60px;
    }
    
    .tile-with-text h2 {
        font-size: 1em;
        margin: 2px 4px 0 4px;
        line-height: 1.0;
    }
    
    .tile-with-text p {
        font-size: 1em;
        margin: 0 4px;
    }
}

.rozcestnik-img {
    border-radius: 6px;
}

.rozcestnik-gallery .tile-with-text .rozcestnik-img {
    border-radius: 6px;
    overflow: hidden;
}

main {
    overflow-x: hidden;
}