/* =========================================================
   Xdron.net – styl (vychází z původního designu)
   bílé pozadí · modrá #2141bb · červená #CA0000
   ========================================================= */
:root {
  --blue: #2141bb;
  --red: #CA0000;
  --ink: #111111;
  --muted: #5d5d5d;
  --line: #dcdcdc;
  --soft: #f2f4fb;
  --width: 1000px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: #000; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; border: 0; }
.page { max-width: var(--width); margin: 0 auto; }

/* ---------- Hlavička: dron | logo | dron ---------- */
.header { display: grid; grid-template-columns: 385fr 230fr 385fr; }
.header img { display: block; width: 100%; height: auto; }

/* ---------- Menu ---------- */
.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; padding: 12px 20px 0; }
.menu a {
  width: 225px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 22px;
  padding: 10px 14px;
  text-align: center;
}
.menu a:hover, .menu a.active { background: var(--red); color: #fff; }

/* ---------- Obsah ---------- */
.content { margin: 20px; }
h1 { font-size: 34px; margin: 12px 0 10px; line-height: 1.2; }
h2 { font-size: 28px; margin: 30px 0 12px; color: var(--blue); line-height: 1.2; }
h3 { font-size: 21px; margin: 24px 0 8px; line-height: 1.25; }
.lead { font-size: 19px; color: #333; }
.small { font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin: 16px 0; }
.card { border: 2px solid var(--blue); padding: 14px 18px; }
.card h3 { margin-top: 4px; }
.card a.more { color: var(--red); font-weight: bold; text-decoration: none; }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: bold; padding: 1px 8px; }

/* Box "Stav 2026" */
.update { background: var(--soft); border-left: 6px solid var(--blue); padding: 10px 16px; margin: 10px 0 18px; font-size: 16px; }
.update b.tag { color: var(--blue); }
.warn { background: #fff1f1; border-left: 6px solid var(--red); padding: 10px 16px; margin: 16px 0; }

/* obrázky */
figure.photo { margin: 16px 0; }
figure.photo img { display: block; }
figure.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.row-imgs { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 10px 0; }
.row-imgs img { height: 170px; width: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.float-right { float: right; margin: 0 0 12px 20px; max-width: 40%; }
.clear { clear: both; }
.video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin: 10px 0; }

/* tabulky */
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--blue); color: #fff; font-weight: normal; }
table.parts td:first-child { width: 220px; }
table.parts img { width: 200px; }

/* kroky */
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 12px 16px 12px 66px; border: 1px solid var(--line); margin-bottom: 12px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 38px; height: 38px; background: var(--blue); color: #fff; display: grid; place-items: center; font: bold 20px Arial, sans-serif; }
ol.steps > li:hover::before { background: var(--red); }
ol.steps h3 { margin: 2px 0 4px; }

details { border: 1px solid var(--line); padding: 10px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: bold; }
summary:hover { color: var(--red); }
dl.glossary dt { font-weight: bold; color: var(--blue); margin-top: 12px; }
dl.glossary dd { margin: 2px 0 0; }

/* reklama */
.ad { text-align: center; margin: 20px 0; overflow: hidden; }

/* ---------- Patička ---------- */
.footer-bar { height: 20px; background: var(--blue); margin: 24px 20px 10px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 20px 30px; }
.footer .logo-foot { height: 50px; width: auto; }
.footer .info { font-size: 13px; color: var(--muted); text-align: center; }
.share { display: flex; gap: 10px; }
.share img { width: 32px; height: 32px; display: block; }

/* ---------- Mobil ---------- */
@media (max-width: 700px) {
  .header { grid-template-columns: 1fr; }
  .header .side { display: none; }
  .header .logo { max-width: 200px; margin: 10px auto; }
  .menu a { width: calc(50% - 10px); font-size: 17px; padding: 10px 6px; }
  .two-col { grid-template-columns: 1fr; }
  .float-right { float: none; max-width: 100%; margin: 10px 0; }
  .row-imgs img { height: auto; width: 100%; }
  .content { margin: 14px; }
  h1 { font-size: 28px; }
}
