/* 2MSoft — Agenda PAM: pouze vizuální úpravy */
:root {
    --navy: #102b40;
    --accent: #087c78;
    --bg: #f4f7f9;
    --ink: #162b40;
    --line: #dce5eb;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, Arial, sans-serif; }
header { background: var(--navy); color: white; padding: 22px max(5vw, 20px); }
header a { color: #a5e2d7; text-decoration: none; font-weight: 700; }
header nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 10px; font-size: .9rem; }
main { width: min(1280px, 92%); margin: 32px auto; }
footer { background: var(--navy); color: white; padding: 24px 5%; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration: none; }
a:focus-visible { outline: 3px solid #d49120; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.25; color: var(--navy); }
p { margin: .6em 0 1em; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-bottom: 24px; }
.card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px,3vw,32px); overflow-wrap: anywhere; }
.product { background: var(--navy); color: #e7f2f5; }
.product a { color: #a5e2d7; }
.product img { display: block; margin: 0 auto 20px; max-width: 340px; width: 100%; border-radius: 8px; }
.product p:first-of-type { font-size: 1.2rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: white; }
td:first-child { font-weight: 650; min-width: 145px; }
td:nth-child(2) { min-width: 105px; }
td:nth-child(3) { white-space: nowrap; }
td:last-child { min-width: 280px; }
tr:nth-child(even) td { background: #f8fafb; }
article { max-width: 1000px; margin: auto; }
article h1 { font-size: 1.7rem; }
article table { display: block; overflow-x: auto; }
input { font: inherit; max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }
input[type=submit] { background: var(--accent); color: white; cursor: pointer; }
@media(max-width: 760px) { .hero,.two { grid-template-columns: 1fr; } main { width: 94%; } th,td { padding: 10px; } }


/* Centrum pro stahování a rozbalovací historie verzí */
.download-section, .history-section {
    margin: 32px 0;
    scroll-margin-top: 24px;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0 30px;
}
.download-card {
    margin: 0;
    max-width: none;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow-wrap: anywhere;
}
.download-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.download-size { color: #526779; font-weight: 600; }
.download-action { margin: 14px 0; }
.download-action a {
    display: inline-block;
    padding: 10px 18px;
    background: var(--accent);
    border-radius: 7px;
    color: white;
    font-weight: 650;
    text-decoration: none;
}
.download-action a:hover { background: #065e5b; }
.download-note {
    grid-column: 1 / -1;
    padding: 18px 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.version-details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 12px 0;
}
.version-details summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
}
.version-details summary:hover { color: var(--accent); }
.version-body { padding: 22px 24px; border-top: 1px solid var(--line); }
@media (max-width: 950px) { .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .download-grid { grid-template-columns: 1fr; } }

/* Úplné původní popisy přímo u instalačních balíčků */
.download-version { grid-column: 1 / -1; }
.download-changes { margin-top: 18px; border-top: 1px solid var(--line); }
.download-changes summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; }
.download-description { font-size: .95rem; line-height: 1.65; }
.download-description img { max-width: 100%; height: auto; }
