@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('fontAwesome.css');

:root {
  --ink: #102a43;
  --muted: #52677d;
  --blue: #087ea4;
  --blue-dark: #075985;
  --cyan: #38bdf8;
  --paper: #ffffff;
  --wash: #eaf7fb;
  --line: #c8dce5;
  --shadow: 0 18px 45px rgba(16, 42, 67, .12);
}

.site-shell {
  padding: 0 !important;
  background: #eaf7fb !important;
}

.standalone-page {
  padding: 0 20px 64px !important;
  background: #eaf7fb !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: visible !important;
}

.standalone-page .site-header {
  width: 100vw;
  margin: 0 0 28px calc(50% - 50vw);
}

.gallery-page .site-header {
  all: initial;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  width: 100vw !important;
  min-height: 76px !important;
  height: 76px !important;
  margin: 0 0 28px calc(50% - 50vw) !important;
  padding: 12px clamp(18px, 4vw, 64px) !important;
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 8px 24px rgba(16, 42, 67, .08) !important;
  font-family: 'DM Sans', 'Segoe UI', sans-serif !important;
}

.gallery-page .site-header .site-brand {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
}

.gallery-page .site-header .site-brand img {
  display: block !important;
  width: 150px !important;
  height: auto !important;
  max-width: none !important;
}

.gallery-page .site-header .site-nav {
  display: flex !important;
  flex: 1 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.gallery-page .site-nav a {
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 67, .08);
}

.site-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 150px !important;
  height: auto !important;
  max-width: none !important;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--wash);
  color: var(--blue-dark) !important;
  outline: none;
}

.site-nav .site-nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-dark);
  color: #fff !important;
}

.site-nav .site-nav-shop .fa {
  color: inherit !important;
  font-size: 14px;
}

.site-nav .site-nav-shop:hover,
.site-nav .site-nav-shop:focus-visible {
  background: var(--blue);
  color: #fff !important;
}

.site-main {
  width: min(1440px, 100%);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  background: #eaf7fb;
}

.site-main iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 76px);
  min-height: 600px;
  border: 0;
  overflow: auto;
}

.site-shell {
  height: 100vh;
  overflow: hidden;
}

.site-shell .site-main {
  height: calc(100vh - 76px);
}

html {
  background: #eaf7fb;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 28px 20px 64px !important;
  background: #eaf7fb !important;
  color: var(--ink) !important;
  font-family: 'DM Sans', 'Segoe UI', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.WordSection1 {
  width: min(1120px, 100%) !important;
  min-height: calc(100vh - 92px);
  margin: 0 auto !important;
  padding: clamp(24px, 5vw, 64px) clamp(18px, 5vw, 68px) !important;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(200, 220, 229, .85);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.WordSection1 > p:first-child {
  margin-top: 0 !important;
}

.menu-page {
  padding: 14px 10px !important;
  background: #eaf7fb !important;
}

.menu-page .WordSection1 {
  width: min(280px, 100%) !important;
  min-height: calc(100vh - 28px);
  padding: 26px 14px !important;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .14);
}

.menu-page .WordSection1 > p:first-child {
  margin: 0 0 22px !important;
  text-align: center !important;
}

.menu-page .WordSection1 > p:first-child img {
  width: 250px !important;
  height: auto !important;
}

.menu-page img[src*="image005"] {
  display: block !important;
  width: 250px !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 auto !important;
  transform: scale(1.6);
  transform-origin: center top;
}

.menu-page .WordSection1 p[align="center"] a {
  display: block;
  margin: 8px 0;
  padding: 12px 14px;
  border: 1px solid #c8dce5;
  border-radius: 10px;
  background: #f7fbfc;
  color: var(--blue-dark) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.menu-page .WordSection1 p[align="center"] a:hover,
.menu-page .WordSection1 p[align="center"] a:focus-visible {
  background: var(--blue-dark);
  color: #fff !important;
  outline: none;
  transform: translateX(3px);
}

.menu-page .WordSection1 p[align="center"] br {
  display: none;
}

#portfolio.grid-portfolio {
  padding: 42px 30px 64px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-page #portfolio.grid-portfolio > .container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
}

.gallery-page #portfolio .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

.gallery-page #portfolio .row::before,
.gallery-page #portfolio .row::after {
  display: none !important;
  content: none !important;
}

.gallery-page #portfolio .col-md-4,
.gallery-page #portfolio .col-sm-6 {
  width: auto;
  padding: 0;
  float: none;
}

.gallery-page #portfolio .portfolio-item {
  margin: 0;
}

.gallery-page #portfolio .portfolio-item > a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.gallery-page #portfolio .portfolio-item > a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 14px;
}

.gallery-page #portfolio .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #d7eaf0;
  box-shadow: 0 8px 20px rgba(16, 42, 67, .12);
}

.gallery-page #portfolio .image,
.gallery-page #portfolio .image img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-page #portfolio .image img {
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.gallery-page #portfolio .hover-effect {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-sizing: border-box;
  background: linear-gradient(transparent 35%, rgba(4, 25, 39, .82));
  opacity: 1;
}

.gallery-page #portfolio .hover-content {
  width: 100%;
}

.gallery-page #portfolio .hover-content h1,
.gallery-page #portfolio .hover-content p {
  margin: 0 !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.gallery-page #portfolio .hover-content h1 {
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: clamp(16px, 1.8vw, 24px) !important;
  line-height: 1.1 !important;
  transform: none !important;
}

.gallery-page #portfolio .hover-content p {
  margin-top: 7px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.gallery-page #portfolio .portfolio-item:hover .image img {
  transform: scale(1.04);
}

.catalog-pools .WordSection1 table.Normlntabulka[border="1"] td:nth-child(4) p,
.catalog-pools .WordSection1 table.Normlntabulka[border="1"] td:nth-child(6) p,
.catalog-tanks .WordSection1 table.Normlntabulka[border="1"] td:nth-child(7) p,
.catalog-tanks .WordSection1 table.Normlntabulka[border="1"] td:nth-child(8) p,
.catalog-round .WordSection1 table.Normlntabulka[border="1"] td:nth-child(4) p,
.catalog-round .WordSection1 table.Normlntabulka[border="1"] td:nth-child(5) p,
.catalog-accessories .WordSection1 table.Normlntabulka[border="1"] td:nth-child(2) p {
  text-align: right !important;
  white-space: nowrap !important;
}

.catalog-round .WordSection1 table.Normlntabulka[border="1"] td:nth-child(4),
.catalog-round .WordSection1 table.Normlntabulka[border="1"] td:nth-child(5) {
  text-align: right !important;
  white-space: nowrap !important;
}

.catalog-pools .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td,
.catalog-tanks .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td,
.catalog-round .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td,
.catalog-accessories .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+2) td {
  text-align: center !important;
  white-space: normal !important;
}

.catalog-pools .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td p,
.catalog-tanks .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td p,
.catalog-round .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+3) td p,
.catalog-accessories .WordSection1 table.Normlntabulka[border="1"] tr:nth-child(-n+2) td p {
  text-align: center !important;
}

p, td, th, li {
  font-family: 'DM Sans', 'Segoe UI', sans-serif !important;
  color: var(--ink);
}

p {
  margin: .75rem 0 !important;
}

h1, h2, h3, strong, b {
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  color: var(--ink);
}

h1, h2, h3 {
  letter-spacing: 0 !important;
}

a {
  color: var(--blue-dark) !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0e7490 !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

.lightbox .lb-image {
  max-width: none !important;
  max-height: none !important;
}

.WordSection1 > p:first-child img {
  width: 600px !important;
  height: 100px !important;
  max-width: 100% !important;
  object-fit: contain;
}

.catalog-tanks .WordSection1 > p:first-child,
.catalog-pools .WordSection1 > p:first-child,
.catalog-accessories .WordSection1 > p:first-child {
  position: relative;
  min-height: 108px;
  margin: 0 0 28px !important;
  text-align: center !important;
}

.catalog-tanks .WordSection1 > p:first-child img,
.catalog-pools .WordSection1 > p:first-child img,
.catalog-accessories .WordSection1 > p:first-child img {
  display: none !important;
}

.catalog-tanks .WordSection1 > p:first-child::after,
.catalog-pools .WordSection1 > p:first-child::after,
.catalog-accessories .WordSection1 > p:first-child::after {
  display: block;
  padding: 28px 12px 18px;
  border-bottom: 3px solid var(--blue);
  color: var(--blue-dark);
  content: 'Ceník nádrží z polypropylenu';
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.catalog-pools .WordSection1 > p:first-child::after {
  content: 'Ceník bazénů z polypropylenu';
}

.catalog-accessories .WordSection1 > p:first-child::after {
  content: 'Ceník bazénového příslušenství';
}

.intro-page .WordSection1 > p:first-child,
.contact-page .WordSection1 > p:first-child {
  position: relative;
  min-height: 108px;
  margin: 0 0 28px !important;
  text-align: center !important;
}

.intro-page .WordSection1 > p:first-child img,
.contact-page .WordSection1 > p:first-child img {
  display: none !important;
}

.intro-page .WordSection1 > p:first-child::after,
.contact-page .WordSection1 > p:first-child::after {
  display: block;
  padding: 28px 12px 18px;
  border-bottom: 3px solid var(--blue);
  color: var(--blue-dark);
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
}

.intro-page .WordSection1 > p:first-child::after {
  content: 'Bazény, jímky a nádrže z polypropylenu';
}

.intro-page .intro-tagline {
  margin: -18px auto 28px !important;
  color: var(--blue) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: clamp(16px, 2vw, 22px) !important;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  margin: -28px -20px 34px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: #082d4b;
  color: #fff;
}

.home-hero-media {
  position: absolute;
  inset: 0 0 0 30%;
  background: url('../img/zabudovany ovalny bazen s venkovnimi schody.jpg') center / cover no-repeat;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #082d4b 0%, #082d4b 29%, rgba(8, 45, 75, .96) 35%, rgba(8, 45, 75, .74) 43%, rgba(8, 45, 75, .34) 50%, transparent 58%);
  content: '';
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, 62%);
  padding: 62px clamp(24px, 7vw, 88px);
}

.home-eyebrow {
  margin: 0 0 14px !important;
  color: #a8e5f5 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: clamp(36px, 5vw, 68px) !important;
  line-height: .98 !important;
}

.home-hero h1 em {
  color: #54c7ee !important;
  font-style: normal;
}

.home-hero-content > p:not(.home-eyebrow) {
  max-width: 470px;
  margin: 22px 0 !important;
  color: rgba(255, 255, 255, .9) !important;
  font-size: 17px !important;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f43f3f;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.home-hero-actions .fa {
  color: inherit !important;
  font-size: 14px;
}

.home-hero-actions a + a {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .8);
}

.home-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto 42px;
}

.home-categories a {
  position: relative;
  display: flex;
  min-height: 235px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 12px;
  background: #0a3558;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .14);
  color: #fff !important;
  text-decoration: none !important;
}

.home-categories img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.home-categories strong,
.home-categories span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  color: #fff !important;
}

.home-categories strong {
  bottom: 42px;
  margin: 0;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: 24px;
}

.home-categories span {
  bottom: 16px;
  margin: 0;
  font-size: 13px;
}

.home-projects {
  width: min(1120px, 100%);
  margin: 42px auto 46px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.home-projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.home-projects-heading p {
  margin: 0 0 5px !important;
  color: var(--blue) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-projects-heading h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.1 !important;
}

.home-projects-heading > a {
  color: var(--blue-dark) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.home-projects-heading > a span {
  margin-left: 5px;
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-projects-grid > * {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #d7eaf0;
}

.home-projects-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}


.contact-page .WordSection1 > p:first-child::after {
  content: 'Kontakt';
}

.contact-page .WordSection1 > p:first-child,
.contact-page .WordSection1 > div[align="center"] {
  display: none;
}

.contact-page .WordSection1 > p:has(img[src*="kontakt_soubory"]) {
  display: none;
}

.contact-modern {
  width: min(920px, 100%);
  margin: 0 auto 32px;
}

.contact-intro {
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
}

.contact-kicker {
  margin: 0 0 8px !important;
  color: var(--blue) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-intro h1,
.contact-details h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
}

.contact-intro h1 {
  font-size: clamp(32px, 4vw, 48px) !important;
}

.contact-intro > p:last-child {
  margin: 14px auto 0 !important;
  color: var(--muted) !important;
  font-size: 17px !important;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 42, 67, .08);
  color: var(--blue-dark) !important;
  text-decoration: none !important;
}

.contact-action .fa {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--wash);
  color: var(--blue-dark) !important;
  font-size: 18px;
}

.contact-action span {
  display: grid;
  gap: 3px;
}

.contact-action strong {
  color: inherit !important;
  font-size: 18px;
}

.contact-value {
  cursor: text;
  user-select: text;
}

.contact-action small {
  color: var(--muted);
  font-size: 13px;
}

.contact-action-primary {
  background: var(--blue-dark);
  color: #fff !important;
}

.contact-action-primary .fa {
  background: rgba(255, 255, 255, .16);
  color: #fff !important;
}

.contact-action-primary small {
  color: rgba(255, 255, 255, .8);
}

.contact-action-link {
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue-dark) !important;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.contact-action-primary .contact-action-link {
  border-color: rgba(255, 255, 255, .65);
  color: #fff !important;
}

.contact-details {
  display: grid;
  grid-template-columns: 1.3fr 1fr .9fr;
  gap: 28px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details h2 {
  font-size: 20px !important;
}

.contact-details > div > p:last-of-type {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
}

.contact-route {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue-dark) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.contact-page .map-consent,
.contact-page iframe[title="Mapa provozovny Josef Oliva"] {
  width: min(920px, 100%) !important;
  min-height: 360px;
  margin: 0 auto 34px;
}

.map-consent {
  display: grid;
  width: min(600px, 100%);
  min-height: 280px;
  margin: 0 auto;
  place-content: center;
  gap: 14px;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
  color: var(--ink);
  text-align: center;
}

.map-consent p {
  max-width: 340px;
  margin: 0 auto !important;
}

.map-consent-button {
  justify-self: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.map-consent-button:hover,
.map-consent-button:focus-visible {
  background: var(--blue);
  outline: 3px solid rgba(56, 189, 248, .35);
  outline-offset: 3px;
}

.contact-page iframe[title="Mapa provozovny Josef Oliva"] {
  display: block;
  width: min(600px, 100%) !important;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-page #portfolio::before {
  display: block;
  margin: 0 auto 34px;
  padding: 0 12px 18px;
  border-bottom: 3px solid var(--blue);
  color: var(--blue-dark);
  content: 'Galerie';
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.WordSection1 > div[align="center"] {
  margin: 1.35rem auto !important;
  overflow-x: auto;
  scrollbar-color: var(--cyan) transparent;
}

.WordSection1 table {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-color: var(--line) !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 42, 67, .07);
  background: var(--paper) !important;
}

.WordSection1 table td,
.WordSection1 table th {
  border-color: var(--line) !important;
  padding: 9px 10px !important;
  font-size: clamp(13px, 1.5vw, 16px) !important;
}

.WordSection1 table td[style*="background:#66CCFF"],
.WordSection1 table td[style*="background: #66CCFF"] {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue)) !important;
  color: #fff !important;
}

.WordSection1 table td[style*="background:#66CCFF"] *,
.WordSection1 table td[style*="background: #66CCFF"] * {
  color: #fff !important;
}

.WordSection1 table p {
  margin: 0 !important;
}

.WordSection1 table.Normlntabulka[border="0"] {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible;
}

.WordSection1 table.Normlntabulka[border="0"] tr:nth-child(even) td,
.WordSection1 table.Normlntabulka[border="0"] td {
  background: transparent !important;
  border: 0 !important;
  padding: 3px 10px !important;
  height: auto !important;
}

.WordSection1 table.Normlntabulka[border="0"] p {
  line-height: 1.35 !important;
}

.WordSection1 table tr:first-child td {
  font-weight: 600;
}

.accessories-page .WordSection1 table.Normlntabulka[border="1"] {
  width: 100% !important;
  min-width: 720px;
  table-layout: fixed;
}

.accessories-page .WordSection1 table.Normlntabulka[border="1"] td:nth-child(1) {
  width: 40% !important;
}

.accessories-page .WordSection1 table.Normlntabulka[border="1"] td:nth-child(2) {
  width: 21% !important;
  white-space: nowrap;
}

.accessories-page .WordSection1 table.Normlntabulka[border="1"] td:nth-child(3) {
  width: 17% !important;
}

.accessories-page .WordSection1 table.Normlntabulka[border="1"] td:nth-child(4) {
  width: 22% !important;
}

@media (max-width: 700px) {
  body {
    padding: 10px !important;
  }

  .WordSection1 {
    min-height: calc(100vh - 20px);
    padding: 20px 12px !important;
    border-radius: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 12px;
  }

  .site-main iframe {
    height: calc(100vh - 180px);
    min-height: 1100px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .site-shell {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
  }

  .site-shell .site-main {
    height: auto;
    min-height: calc(100vh - 180px);
  }

  .home-hero {
    min-height: 520px;
    margin: -20px -12px 28px;
  }

  .home-hero-media {
    inset: 0;
  }

  .home-hero-content {
    width: 100%;
    padding: 42px 24px;
    align-self: flex-end;
  }

  .home-categories {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-action {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
  }

  .contact-action > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-action-link {
    width: 100%;
    margin-left: 54px;
    box-sizing: border-box;
    text-align: center;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .home-projects-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #portfolio.grid-portfolio {
    padding: 24px 14px 36px;
  }

  .gallery-page #portfolio .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-page #portfolio .hover-effect {
    padding: 12px;
  }

  .gallery-page #portfolio .hover-content p {
    display: none;
  }
}

@media (max-width: 520px) {
  .gallery-page #portfolio .row {
    grid-template-columns: 1fr;
  }

  .WordSection1 > p[align="center"] img,
  .WordSection1 > p[style*="text-align:center"] img {
    max-height: 92px !important;
    object-fit: contain;
  }

  .WordSection1 > p:first-child img {
    height: auto !important;
    aspect-ratio: 6 / 1;
  }

  .WordSection1 table {
    width: max-content !important;
    min-width: 100%;
  }

  .WordSection1 table td,
  .WordSection1 table th {
    padding: 7px 8px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .WordSection1 {
    animation: rise-in .55s ease-out both;
  }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
