/* Test C - Paper / tradiční */
:root{ --paper:#fbf7f0; --accent:#5a3726; --accent-light: rgba(90,55,38,0.12); --text:#2b2b2b; }
body{ font-family:'Georgia', 'Times New Roman', serif; background:#f4f2ef; color:var(--text); margin:0; }
.grid-container{ padding:26px 6%; }
.zahlavi img{ width:100%; height:220px; object-fit:cover; border-radius:8px; }
.infoPanel{ position:sticky; top:12px; background:var(--paper); padding:8px; border-radius:6px; border:1px solid rgba(90,55,38,0.06); display:flex; gap:8px; align-items:center; }
button.black{ background:transparent; border:1px solid rgba(90,55,38,0.08); color:var(--accent); padding:8px 12px; border-radius:6px; }
.hlavniPanel{ padding-top:12px; }
.tabcontent{ background:var(--paper); padding:20px; border-radius:8px; border:1px solid rgba(90,55,38,0.06); margin-bottom:22px; }
.tabcontent h1{ font-size:24px; margin:0 0 10px 0; color:var(--accent); font-family:'Merriweather', serif; }
p{ line-height:1.7; color:#333; }

/* Table styling to match variant C colors and original behavior */
.table-wrap{ overflow-x:auto; }
table{ width:100%; border-collapse:collapse; margin:18px 0; }
/* lighter header to match request */
th{ background: var(--accent-light); color: var(--text); padding:10px; text-align:left; }
td{ padding:10px; border-bottom:1px solid rgba(0,0,0,0.06); }
tr:nth-child(even){ background: rgba(90,55,38,0.03); }
tr:nth-child(odd){ background: transparent; }

/* Contacts block: keep text and map side-by-side, responsive */
div.ccc { width:100%; display:flex; gap:16px; align-items:flex-start; }
div.ccc .text { flex: 1 1 60%; }
div.ccc .map { flex: 0 0 360px; }
@media (max-width:900px){
  div.ccc { flex-direction:column; }
  div.ccc .map { width:100%; height:auto; flex: none; }
}

/* Lists spacing for readability */
ul, ol { line-height:1.25; margin-top:0.5em; margin-bottom:0.5em; }
li { margin-bottom:0.35em; }

/* Keep p.aktual (current semester) styling from original */
p.aktual {
  border: orange 1px dashed;
  border-radius: 5px;
  background-color: blanchedalmond;
  padding: 10px;
}
@media (max-width:800px){ .grid-container{ padding:16px; } .infoPanel{ overflow-x:auto; white-space:nowrap; } }

.lang{ text-decoration:none; font-size:20px; transition: background 0.15s ease; padding:2px 6px; border-radius:4px; color:inherit; }
.lang:hover{ background:rgba(90,55,38,0.06); }
