* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #222;
}

.page {
  width: 100%;
  max-width: 1320px;
  margin: 20px auto;
  padding: 0 12px;
}

.box {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  overflow: hidden;
}

.header,
.footer {
  min-height: 60px;
}

.header {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  margin-bottom: 20px;
}

.header-text,
.footer-col,
.content-col {
  padding: 12px 18px;
}

.header-image {
  padding: 2px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e5e5e5;
}

.header-image img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.35;
  text-align: center;
}

.header-text .line-1 {
  font-size: 18px;
  font-weight: 700;
}

.header-text .line-2 {
  font-size: 14px;
  color: #555;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  margin-bottom: 20px;
}

.content-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  min-height: 420px;
}

.content-col:first-child {
  border-right: 1px solid #e5e5e5;
}

.main-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.section-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid #cfcfcf;
  background: #fafafa;
  border-radius: 8px;
  font-style: italic;
  color: #555;
}

.footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}


.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertikálně */
  align-items: center;      /* horizontálně */
  text-align: center;       /* text uvnitř */
  gap: 4px;
  min-height: 60px;
} 



.footer-col:not(:last-child) {
  border-right: 1px solid #e5e5e5;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.footer-col a {
  color: #1a5fb4;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* dva sloupce na popisek a textaci */
.two-column {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 20px;
  max-width: 600px;
}

.two-column .label {
  font-weight: bold;
}

.two-column .value {
  color: #333;
}

/* =========================================
   SEKČNÍ KARTY A ODKAZY - SJEDNOCENÝ STYL
   ========================================= */

.section-card,
.section-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 12px 16px;
  border-left: 6px solid;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-card {
  color: #1f2937;
}

.section-link {
  text-decoration: none;
  color: #1f2937;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.section-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.section-card img,
.section-link img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  flex: 0 0 60px;
}
/*
.section-card h2,
.section-link h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
} */


.section-card h2,
.section-link h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 500;      /* místo 700 */
  color: #374151;        /* jemnější než černá */
}



.section-link h2 {
  flex: 1;
}

.section-link .section-arrow {
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
  color: #374151;
  transition: transform 0.2s ease, color 0.2s ease;
}

.section-link:hover .section-arrow {
  transform: translateX(6px);
  color: #111827;
}

/* barevné varianty */

.section-card.yellow,
.section-link.yellow {
  background-color: #fff8cc;
  border-color: #e0b100;
}

.section-card.blue,
.section-link.blue {
  background-color: #eaf4ff;
  border-color: #6fa8ff;
}

.section-card.green,
.section-link.green {
  background-color: #eafaf1;
  border-color: #53c68c;
}

.section-card.purple,
.section-link.purple {
  background-color: #f3efff;
  border-color: #9d84d8;
}

.section-link.yellow:hover {
  background-color: #fff3b0;
}

.section-link.blue:hover {
  background-color: #dceeff;
}

.section-link.green:hover {
  background-color: #ddf6e8;
}

.section-link.purple:hover {
  background-color: #ece5ff;
}







@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr;
  }

  .header-image {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    min-height: 80px;
  }

  .content {
    grid-template-columns: 1fr;
  }

  .content-col:first-child {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  .section-card,
  .section-link {
    min-height: 76px;
    padding: 10px 14px;
    gap: 12px;
  }

  .section-card img,
  .section-link img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  
  .section-card h2,
.section-link h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 500;      /* místo 700 */
  color: #374151;        /* jemnější než černá */
}
  
 .section-link .section-arrow {
    font-size: 1.45 rem;
  }
}
}