/*
Theme Name: Zvířecí Jména
Theme URI: https://zvireci-jmena.cz
Author: Miroslav Dubina
Author URI: https://www.mdreklama.cz
Description: Profesionální WordPress theme pro generátor jmen zvířat s plnou editovatelností přes admin rozhraní
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zvirata
*/

/* Import písma z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&display=swap');

body {
  position: relative;
  font: 16px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #1f2330;
  background-color: #f6f7fb;
  background-image: url('https://www.onlinevyuka.fun/zvirata/img/otisky.png');
  background-repeat: repeat;
  background-size: 600px 600px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,247,251,0.6);
  pointer-events: none;
  z-index: -1;
}

.container { 
  max-width: 1100px; 
  margin: 24px auto; 
  padding: 0 16px; 
}

header { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

header img { 
  height: 140px; 
  width: auto; 
  border-radius: 12px; 
  object-fit: contain; 
  background: #fff; 
  padding: 4px; 
}

h1 {
  font-family: "Baloo 2", "Comic Neue", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #8b5a2b;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.promo { 
  background: #e0f2fe; 
  border-left: 6px solid #0ea5e9; 
  padding: 16px; 
  border-radius: 12px; 
  margin-top: 16px; 
  margin-bottom: 16px; 
  line-height: 1.6; 
}

.card { 
  background: #f8f1e4; 
  border-radius: 14px; 
  padding: 16px; 
  box-shadow: 0 8px 26px rgba(20,20,40,.06); 
  margin-top: 14px; 
}

.controls { 
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  gap: 12px; 
  align-items: end;
}

.controls > div {
  display: flex;
  flex-direction: column;
}

.controls label {
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-wrapper {
  display: flex;
  align-items: flex-end;
}

select, input { 
  width: 100%; 
  padding: 10px 12px; 
  border: 2px solid #d4c4a8;
  border-radius: 10px;
  box-sizing: border-box;
  background: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

select:focus, input:focus {
  outline: none;
  border-color: #c7a16a;
  box-shadow: 0 0 0 3px rgba(199, 161, 106, 0.1);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b5a2b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.btn { 
  cursor: pointer; 
  border: 0; 
  border-radius: 12px; 
  padding: 10px 14px; 
  background: #0ea5e9; 
  color: #fff; 
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  transition: background 0.3s ease;
}

.btn:hover { 
  background: #0284c7; 
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); 
  gap: 10px; 
  margin-top: 8px; 
}

.name { 
  color: #fff; 
  padding: 12px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 8px; 
  transition: background .3s; 
}

.name.cat { background: #c7a16a; }
.name.cat:hover { background: #a88547; }

.name.dog { background: #6b4423; }
.name.dog:hover { background: #5a3a1e; }

.name.parrot { background: #16a34a; }
.name.parrot:hover { background: #15803d; }

.name.guinea { background: #d4a574; }
.name.guinea:hover { background: #b8925f; }

.name.mouse { background: #6b7280; }
.name.mouse:hover { background: #4b5563; }

button.fav { 
  background: transparent; 
  border: 0; 
  color: #fff; 
  font-size: 1.1rem; 
  cursor: pointer;
  transition: transform 0.2s ease;
}

button.fav:hover {
  transform: scale(1.2);
}

button.fav.saved { 
  color: #ff4757; 
}

.card .top { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-download {
  background: #0ea5e9;
  min-width: auto;
  padding: 10px 16px;
}

.btn-download:hover {
  background: #0284c7;
}

.btn-facebook {
  background: #1877f2;
  min-width: auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-facebook:hover {
  background: #166fe5;
}

.btn-facebook svg {
  flex-shrink: 0;
}

.table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 12px;
}

.table th, .table td { 
  padding: 8px; 
  border-bottom: 1px solid #e5e7eb; 
  text-align: left;
}

.table th {
  font-weight: 600;
  background: #f0e8d8;
}

.intro {
  background: #fff8ee;
  border-left: 6px solid #c7a16a;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.intro h2 {
  margin-top: 0;
  color: #8b5a2b;
}

/* Hlášení o nenalezených jménech */
.no-results {
  background: #fef3c7;
  border-left: 6px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.no-results p {
  margin: 0;
  color: #92400e;
  font-weight: 500;
  line-height: 1.6;
}

/* Hlášení o prázdných oblíbených */
.no-favorites {
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-top: 12px;
}

.no-favorites p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Nové info sekce */
.info-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-box {
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(20,20,40,.06);
  border-left: 6px solid;
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.info-box p {
  line-height: 1.6;
  margin: 0;
}

.info-box-1 {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

.info-box-1 h3 {
  color: #92400e;
}

.info-box-2 {
  background: #dbeafe;
  border-left-color: #3b82f6;
}

.info-box-2 h3 {
  color: #1e40af;
}

.info-box-3 {
  background: #dcfce7;
  border-left-color: #22c55e;
}

.info-box-3 h3 {
  color: #166534;
}

/* Reklamní banner */
.banner-ad {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-placeholder {
  background: #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.95rem;
  border: 2px dashed #d1d5db;
}

.banner img {
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  text-align: center;
  margin: 24px 0;
  padding: 20px 16px;
  color: #6b563a;
  font-size: 0.9rem;
  background: #f8f1e4;
  border-radius: 12px;
}

footer p {
  margin: 6px 0;
  line-height: 1.5;
}

footer a {
  color: #8b5a2b;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.copyright-warning {
  font-size: 0.85rem;
  color: #9b7350;
}

.license-link {
  font-size: 0.85rem;
  margin-top: 8px;
  color: #8b5a2b;
}

.license-link a {
  font-weight: 500;
  color: #8b5a2b;
  text-decoration: none;
}

.license-link a:hover {
  text-decoration: underline;
}

/* WordPress specifické styly */
.site-header {
  background: transparent;
}

.site-content {
  min-height: 300px;
}

/* Responsive design */
@media (max-width: 768px) {
  .controls {
    grid-template-columns: 1fr 1fr;
  }
  
  .btn-wrapper {
    grid-column: 1 / -1;
  }
  
  h1 { 
    font-size: 1.6rem; 
  }
  
  header { 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
  }
  
  header img {
    height: 100px;
  }
  
  .promo h2 { 
    font-size: 1.3rem; 
  }
  
  .card .top { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 12px; 
  }
  
  .action-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .card .top .btn,
  .action-buttons .btn {
    width: 100%;
  }
  
  .info-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .controls {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  
  .name {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .table {
    font-size: 0.85rem;
  }
  
  .table th, .table td {
    padding: 6px 4px;
  }
}

/* === Nav (styled like theme) === */
.main-nav {
  background: #d2b48c; /* světle hnědý pruh */
  padding: 10px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.nav-list li a {
  color: #4a3420;
  text-decoration: none;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
}

.nav-list li a:hover {
  text-decoration: underline;
}

@media (max-width:768px){
  .nav-list{
    gap: 14px;
  }
}


/* === Gutenberg bloky (sjednocený styl s tématem) === */
.wp-block-heading,
h1, h2, h3, h4, h5, h6 {
  font-family: "Baloo 2", sans-serif;
  color: #8b5a2b;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.wp-block-paragraph,
p {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #1f2330;
  line-height: 1.6;
}

.wp-block-button__link,
button.wp-block-button__link {
  background: #0ea5e9;
  color: #fff !important;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.wp-block-button__link:hover {
  background: #0284c7;
}

.wp-block-image img,
.wp-block-gallery img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.wp-block-quote {
  background: #fff8ee;
  border-left: 6px solid #c7a16a;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  font-style: italic;
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-media-text {
  background: #f8f1e4;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 26px rgba(20,20,40,.06);
  margin-top: 16px;
  margin-bottom: 16px;
}

.wp-block-separator {
  border: none;
  height: 2px;
  background: #c7a16a;
  width: 60px;
  margin: 24px auto;
}

.wp-block-list li {
  margin-bottom: 8px;
}
/* === Jemná oprava menu na pravou stranu === */
.main-nav {
  display: flex;
  justify-content: flex-end;
  background: #d2b48c;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.main-nav li a {
  color: #4a3420;
  text-decoration: none;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
}

.main-nav li a:hover {
  text-decoration: underline;
}

/* schovat výchozí WP menu */
#site-navigation, .menu-main-container {
  display: none !important;
}
/* === MENU NA PRAVOU STRANU === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* hnědé menu zarovnat doprava */
.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #d2b48c;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  width: 100%;
}

.main-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === SCHOVAT DUPLICITNÍ WORDPRESS MENU === */
#site-navigation,
.menu-main-container,
nav[role="navigation"],
header nav ul.wp-block-navigation__container {
  display: none !important;
}
/* === FINÁLNÍ OPRAVA HLAVIČKY === */

/* Logo + název vlevo */
.site-header,
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}

/* Zarovnání loga a názvu vedle sebe */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hnědé menu vpravo – ne přes celou šířku */
.main-nav {
  background: #d2b48c;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: inline-block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.main-nav li a {
  color: #4a3420;
  text-decoration: none;
  font-weight: 600;
  font-family: "Baloo 2", sans-serif;
}

.main-nav li a:hover {
  text-decoration: underline;
}

/* === Skrytí výchozího WordPress menu === */
.menu-main-container,
#site-navigation,
header nav ul.wp-block-navigation__container,
.wp-block-navigation {
  display: none !important;
}

/* Zmenšení mezery mezi logem a názvem */
.site-title {
  margin: 0;
}
/* === MODRÝ BLOK – UVÍTACÍ SEKCE === */
.blue-box {
  background: #e6f0ff;
  border-left: 6px solid #005bbb;
  padding: 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blue-box h2 {
  color: #004080;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.blue-box p {
  color: #002b5e;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* === TŘI DOLNÍ BAREVNÉ BOXY === */
.info-blocks {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.info-block {
  flex: 1;
  min-width: 280px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  color: #333;
}

.info-block h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.info-block.orange {
  background: #fff4d6;
  border-left: 6px solid #e8a400;
}

.info-block.blue {
  background: #e6f0ff;
  border-left: 6px solid #005bbb;
}

.info-block.green {
  background: #e7f8e7;
  border-left: 6px solid #2d8c44;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .info-blocks {
    flex-direction: column;
  }
  .blue-box {
    margin: 20px;
    padding: 15px;
  }
}

/* === OMEZENÍ ŠÍŘKY CELÉHO OBSAHU === */
main, .site-main, .container, #content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Rezervní fix pro WordPress bloky */
body.page-template-template-generator main {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
/* === ÚVODNÍ BLOK .intro – zarovnání na střed === */
.intro {
  background: #f8e7c1;              /* jemná světle hnědá */
  border-left: 6px solid #b88a4a;   /* tmavší hnědý akcent */
  padding: 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 900px;                 /* stejně široké jako modrý blok */
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.intro h2 {
  color: #4a3420;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.intro p {
  color: #4a3420;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
/* === FIX: zarovnání úvodního hnědého bloku doprostřed === */
.intro {
  background: #f8e7c1 !important;
  border-left: 6px solid #b88a4a !important;
  padding: 20px !important;
  border-radius: 12px !important;
  margin: 40px auto !important;
  max-width: 900px !important;
  text-align: center !important;
  float: none !important;
  display: block !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}
/* === FIX: RESPONSIVE BANNER AD WIDGET === */
.banner-widget {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.banner-widget img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .banner-widget img {
    max-width: 95% !important;   /* nechá malý okraj na mobilu */
  }
}
/* === RESPONSIVE OBSAH VE WIDGETECH === */

/* Obecné widget kontejnery */
.widget,
.banner-widget,
.info-box,
.info-boxes {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Obrázky ve widgetech (bannery, loga, infografiky, atd.) */
.widget img,
.banner-widget img,
.info-box img,
.info-boxes img {
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  max-width: 100% !important;
}

/* Iframy (např. vložené reklamy, YouTube, mapy apod.) */
.widget iframe,
.banner-widget iframe,
.info-box iframe,
.info-boxes iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* Na mobilech lehké zmenšení (okraj) */
@media (max-width: 768px) {
  .widget img,
  .banner-widget img,
  .info-box img,
  .info-boxes img {
    max-width: 95% !important;  /* nechá pěkný vizuální okraj */
  }
}

/* Zabraňuje horizontálnímu roztahování stránky */
body {
  overflow-x: hidden !important;
}
/* === ÚPRAVA INFO BOXŮ – BAREVNÝ OKRAJ === */
.info-box {
  border-left: 6px solid #a67c52; /* světle hnědý okraj */
  background-color: #fff; /* zachová pozadí */
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Alternativně modrý (pokud bys chtěl modrou verzi místo hnědé):
.info-box {
  border-left: 6px solid #3b7ea1;
}
*/
/* === SEKČE ZAJÍMAVOSTI === */
.zajimavosti-section {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 1200px;
}

.section-title {
  font-family: "Baloo 2", sans-serif;
  color: #4a3420;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 3px solid #d2b48c;
  display: inline-block;
  padding-bottom: 5px;
}

.zajimavosti-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.zajimavost-box {
  flex: 1 1 300px;
  background: #faf7f3;
  border-left: 6px solid #d2b48c;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  max-width: 370px;
}

.zajimavost-box:hover {
  transform: translateY(-4px);
}

.zajimavost-thumb img {
  width: 100%;
  border-radius: 8px;
}

.zajimavost-content h3 a {
  color: #4a3420;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
}

.zajimavost-content h3 a:hover {
  text-decoration: underline;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #d2b48c;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.read-more:hover {
  background: #b8946e;
}

@media (max-width: 768px) {
  .zajimavosti-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* === ZAJÍMAVOSTI – 3 BLOKY V JEDNÉ ŘADĚ === */
.zajimavosti-section {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 1200px;
}

.zajimavosti-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: nowrap; /* nedovolí spadnutí na další řádek */
  overflow-x: auto;  /* pokud by někdo měl extrémně úzký displej, přidá se posun */
}

.zajimavost-box {
  flex: 0 0 31%; /* každý box zabere cca třetinu */
  background: #faf7f3;
  border-left: 6px solid #d2b48c;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 350px; /* zajistí čitelnost i při zmenšení */
}

.zajimavost-thumb img {
  width: 100%;
  border-radius: 8px;
}

.zajimavost-content h3 a {
  color: #4a3420;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
}

.zajimavost-content h3 a:hover {
  text-decoration: underline;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #d2b48c;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.read-more:hover {
  background: #b8946e;
}
/* === SJEDNOCENÍ ZAROVNÁNÍ ÚVODNÍHO (HNĚDÉHO) A MODRÉHO BLOKU === */

/* společný kontejnerový styl */
.intro,
.blue-box {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 25px 40px;
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* specifická barva pozadí */
.intro {
  background-color: #f4d7a1; /* světle hnědá */
}

.blue-box {
  background-color: #d9e8ff; /* světle modrá */
  border-left: 6px solid #3b7ea1;
}

/* Na menších displejích menší odsazení */
@media (max-width: 768px) {
  .intro,
  .blue-box {
    width: 95%;
    padding: 20px 25px;
  }
}
/* === RYCHLÉ VYROVNÁNÍ MODRÉHO BLOKU S HNĚDÝM === */
.blue-box {
  position: relative;
  left: 10px; /* posune celý modrý blok o 10px doprava */
}

/* Na menších displejích bez posunu */
@media (max-width: 768px) {
  .blue-box {
    left: 0;
  }
}
