/*======================================*/
/* Autor CSS: Ondřej Vágner (523888)    */
/* OPRAVENO: konsolidované a bez chyb   */
/*======================================*/

/**************************/
/* Globální styly + hlava */
/**************************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #07294d;
}

/* Úzký horní pruh */
.topbar {
  background: #07294d;
  padding: 10px 20px;
  text-align: right;
  color: white;
  font-weight: bold;
}

.topbar .link {
  color: #ffc600;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
  padding: 0 10px;
}

/* Logo + akční tlačítko */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 20px;
  position: relative;
}

.main-header .logo img {
  max-height: 50px;
}

.action-btn {
  background: #ffc600;
  color: #07294d;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
  min-width: 140px;
  text-align: center;
}

.action-btn:hover {
  background: #07294d;
  color: #ffc600;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

/* Navigace */
.main-nav {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  /*gap: 20px;*/
  margin-left: 20px;
}

.main-nav > ul > li {
  position: relative;
  border-right: solid 1px #ddd;
}

.main-nav a {
  text-decoration: none;
  color: #07294d;
  font-weight: bold;
  padding: 12px 15px;
  display: block;
}

.main-nav a:hover {
  color: #ffc600;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  min-width: 180px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  padding: 5px 0;
}

.dropdown-content li {
  display: block;
  white-space: nowrap;
}

.dropdown-content a {
  padding: 10px 15px;
  color: #07294d;
  display: block;
}

.dropdown-content a:hover {
  background: #ffc600;
  color: #07294d;
}

.dropdown:hover > .dropdown-content {
  display: block;
}

/**********/
/* Footer */
/**********/
.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 40px 60px;
  flex-wrap: wrap;
  background-color: #07294d;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.column-1 {
  flex: 1;
  margin-right: 160px;
}

.column-2 {
  flex: 1;
  margin-right: 0px;
}

.column-3 {
  flex: 1;
  margin-right: 80px;
}

.column-4 p {
  margin-block-start: unset;
  margin-block-end: 0.5em;
}

.footer-logo {
  width: 100%;
  margin-bottom: 40px;
}

.footer-desc {
  font-style: italic;
  color: white;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: #021d3a;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffc600;
}

.footer-column h3 {
  margin-bottom: 10px;
  margin-top: 0;
  color: #ffc600;
}
.footer-column h4 {
  margin-bottom: 10px;
  margin-top: 0;
  color: #ffc600;
}

.footer-column a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.footer-column a .link-text {
  transition: 0.3s;
}

.footer-column a:hover .link-text {
  color: #ffc600;
  transform: translateX(5px);
}

.footer-column p, .footer-column a {
  color: white;
}

.footer-copy {
  background: #021d3a;
  padding: 12px 12px;
  text-align: center;
  color: white;
  font-weight: bold;
}

/******************************/
/* ---------- Layout -------- */
/******************************/


/* Jednoloupcový layout */
.one-column-layout {
  display: grid;
  grid-template-columns: 100%;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
}

/* Dvousloupcový rovnoměrný layout */
.half-column-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
  padding-right: 40px;
}

/* Dvousloupcový layout */
.blog-column-layout {
  display: grid;
  grid-template-columns: 5% 95%;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
}

/* Dvousloupcový layout */
.two-column-layout {
  display: grid;
  grid-template-columns: 80% 20%;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  box-sizing: border-box;
}

.main-column,
.side-column {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

/* Správný selektor nadpisů v main/side */
.main-column h2,
.main-column h3,
.side-column h2,
.side-column h3 {
  margin-top: 0;
}

.main-column-hero {
    width: calc(100% + 40px); /* 2× padding */
    margin: -20px 0 20px -20px;
    display: block;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0px 0px;
}

/******************************/
/* --- Responzivní úpravy --- */
/******************************/
@media (max-width: 1024px) {
  .footer-main {
    flex-wrap: wrap;
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .topbar {
    text-align: center;
  }
  .main-header {
    flex-direction: row;
    padding: 10px 15px;
  }
  .main-header .logo img {
    max-height: 40px;
  }
  .action {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
    display: none;
  }
  .main-nav > ul > li {
    border-bottom: 1px solid #ddd;
  }
  .dropdown-content {
    position: relative;
    top: 0;
    border: none;
    box-shadow: none;
  }
  .footer-main {
    flex-direction: column;
    padding: 20px;
  }
  .footer-column {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .about-section {
    margin-left: 10px;
    margin-right: 10px;
  }
  .two-column-layout {
    grid-template-columns: 1fr;
    margin-left: 10px;
    margin-right: 10px;
  }
  .side-column {
    margin-top: 20px;
  }
  .book-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-info {
    text-align: left;
  }
  .book-cover img {
    max-width: 240px;
    margin: 0 auto;
  }
}

/************************************************/
/*----------------------------------------------*/
/*---------BLOKY PRO JEDNOTLIVÉ STRÁNKY---------*/
/*----------------------------------------------*/
/************************************************/

/***************************/
/* Banner (hlavní stránka) */
/***************************/
.banner {
  width: 100%;
  height: 300px;
  background-image: url('./img/index/banner.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 41, 77, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-text {
  color: white;
  font-size: 1.8em;
  font-style: italic;
  font-weight: bold;
  line-height: 1.3;
  padding: 0 20px;
}

/**************************/
/* O nás (hlavní stránka) */
/**************************/
.about-section {
  background: none;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2em;
  font-weight: bold;
  color: #07294d;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.about-text h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffc600;
}

.about-text p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #07294d;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 70%;
  height: auto;
}

/*************************/
/* Blog (hlavní stránka) */
/*************************/
.news-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.news-section h2 {
  text-align: left;
  font-size: 2em;
  font-weight: bold;
  color: #07294d;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.news-section h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffc600;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-decoration: none;
}

.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-item h3 {
  padding: 15px 10px;
  font-size: 1.1em;
  color: #07294d;
}

.news-item:hover {
  transform: translateY(-5px);
}

/********************************/
/* Technologie (hlavní stránka) */
/********************************/

.tools-section {
  background: #f4f4f9;
  padding: 60px 20px;
}

.tools-section h2 {
  text-align: left;
  font-size: 2em;
  font-weight: bold;
  color: #07294d;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.tools-section h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffc600;
}

.tools-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tools-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px;
  align-items: center;
}

.tools-logos img {
  height: 40px;
  width: auto;
  /*max-height: 60px;*/
  object-fit: contain;
  transition: transform 0.3s;
}

.tools-logos img:hover {
  transform: scale(1.1);
}

/***********************/
/* Banner (Podstránky) */
/***********************/
.page-banner {
  width: 100%;
  height: 200px;
  /*background-image: url('./img/banner.jpg');*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}


.page-banner-digi-knihovna {
  background-image: url('./img/banner/digiknihovna.png');
}

.page-banner-dokumenty {
  background-image: url('./img/banner/dokumenty.jpg');
}

.page-banner-praxe {
  background-image: url('./img/banner/praxe.jpg');
}

.page-banner-praxe {
  background-image: url('./img/banner/praxe.jpg');
}

.page-banner-kontakt {
  background-image: url('./img/banner/kontakt.jpg');
}

.page-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 41, 77, 0.85);

  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 40px;
  box-sizing: border-box;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0;
}

.banner-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-icon-bg {
  width: 60px;
  height: 60px;
  background-color: #ffc600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-icon-inner {
  width: 44px;
  height: 44px;
  border: 2px solid #07294d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-icon-inner i {
  color: #07294d;
  font-size: 24px;
}

/* Textová část – zachování původního stylu */
.page-banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: white;
}

.page-banner-text .banner-title {
  color: white;
  font-size: 2em;
  font-weight: bold;
  margin: 0;
}

.page-banner-text .banner-subtitle {
  color: white;
  font-size: 1em;
  margin: 0;
}

/* Responzivita pro page-banner */
@media (max-width: 768px) {
  .page-banner {
    height: 150px;
  }
  .page-banner-text .banner-title {
    font-size: 1.6em;
  }
  .page-banner-text .banner-subtitle {
    font-size: 0.9em;
  }
  .banner-icon-bg {
    width: 50px;
    height: 50px;
  }
  .banner-icon-inner {
    width: 36px;
    height: 36px;
  }
  .banner-icon-inner i {
    font-size: 20px;
  }
  .page-banner .overlay {
    padding-left: 20px;
  }
}
/********************/
/* Blog - příspěvek */
/********************/


/****************/
/* Detail knihy */
/****************/
.book-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
  
}

/* Obálka */
.book-cover img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

/* Textová část v detailu knihy */
.book-page .book-title {
  margin: 0;
  font-size: 1.8em;
  color: #07294d;
}

.book-page .book-subtitle {
  margin: 5px 0 15px;
  font-size: 1.3em;
  font-weight: normal;
  color: #07294d;
  opacity: 0.85;
}

/* Popis knihy */
.book-description {
  margin-top: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #07294d;
  font-style: italic;
}

/* Akční tlačítka pro knihy (side-column) */
.book-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.book-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #07294d;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.25s;
}

.book-btn i {
  font-size: 1.2em;
}

/* Barvy podle typu akce */
.view-btn {
  background: #ffc600;
  color: #07294d;
}

.view-btn:hover {
  background: #e0ad00;
}

.download-btn {
  background: #0b3d72;
  color: #ffc600;
}

.download-btn:hover {
  color: #ffc600;
  background: #062546;
}

/* Badge pro knihu na vyžádání */
.book-badge {
  background: #ffc600;
  color: #07294d;
  padding: 14px 16px;
  font-weight: bold;
  border-radius: 6px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 2px dashed #07294d;
}

/*****************/
/* Digi-knihovna */
/*****************/
.book-section {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.book-section h2 {
  text-align: left;
  font-size: 2em;
  font-weight: bold;
  color: #07294d;
  max-width: 1200px;
  margin: 0 auto 20px;
  position: relative;
  padding-bottom: 10px;
}

.book-section h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffc600;
}

/* Mřížka – flexibilní, min. šířka dlaždice 160px */
.book-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));*/
  grid-template-columns: repeat(auto-fit, 155px);
  gap: 25px;
  justify-items: center;
  margin: 0 auto;
}

/* Jednotlivá dlaždice knihy */
.book-tile {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  transition: transform 0.2s, box-shadow 0.2s;
}

.book-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Obrázek – celá titulka viditelná */
.book-tile img {
  width: 100%;
  height: auto;
  display: block;
}

/* Textová část pod obrázkem */
.book-info {
  padding: 8px;
}

.book-info h3 {
  font-size: 15px;
  margin: 0 0 4px 0;
}

.book-info p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

/* Responzivita pro menší displeje */
@media (max-width: 1200px) {
  .book-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

@media (max-width: 500px) {
  .book-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout kategorií + obsahu */
.category-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  box-sizing: border-box;
}

/* Levý sloupec – kategorie */
.category-column {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.category-column h3 {
  margin-top: 0;
}

.category-column ul {
  list-style: square;
  padding: 0;
  padding-left: 10px;
  margin: 0;
}

.category-column ul li {
  margin-bottom: 10px;
}

.category-column ul li a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  transition: 0.3s;
}

.category-column ul li a:hover {
  color: #ffc600;
}

/* Pravý obsah – knihy */
.category-content {
  display: block;
}

/* Responzivita pro kategorie layout */
@media (max-width: 900px) {
  .category-layout {
    grid-template-columns: 1fr;
  }
  .category-column {
    margin-bottom: 20px;
  }
}


/************/
/* Kontakty */
/************/

/* Telefon a email jako linky */
.cabinet-link,
.teacher-email {
    color: #07294d;
    text-decoration: none;
    font-weight: 500;
}

.cabinet-link:hover,
.teacher-email:hover {
    text-decoration: underline;
}

/* Vše ostatní zůstává stejné: */
.cabinet {
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
}

/* Nadpis + telefon v jednom řádku */
.cabinet-header {
    display: flex;
    justify-content: space-between; /* levá + pravá strana */
    align-items: center;
    margin-bottom: 20px;
}

/* Nadpis kabinetu */
.cabinet-title {
    margin: 0;
    font-size: 1.6em;
    color: #07294d;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
}

.cabinet-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ffc600;
    border-radius: 4px;
}

/* Telefonní číslo vpravo */
.cabinet-phone {
    color: #07294d;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cabinet-phone i {
    color: #ffc600;
    font-size: 1.2em;
}

.cabinet-phone:hover {
    text-decoration: underline;
}

.cabinet-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #07294d;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.cabinet-info i {
    color: #ffc600;
    font-size: 1.2em;
}

.teachers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teacher {
    padding: 15px 20px;
    background: #f7faff;
    border-left: 4px solid #ffc600;
    border-radius: 8px;
}

.teacher-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #07294d;
}

.teacher-role {
    font-size: 0.95em;
    color: #555;
}

.teacher-subjects {
    font-size: 0.95em;
    color: #333;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .cabinet {
        padding: 20px;
    }
}

/****************************/
/*     Blog (post)   */
/*****************************/
.blog-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #07294d;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.25s;
  background: #0b3d72;
  color: #ffc600;
}

.blog-btn:hover {
  color: #ffc600;
  background: #062546;
}

.blog-btn i {
  font-size: 2em;
}

.blog-content {
	color: #000000;
}

/* Archiv – přepínání roků */
.blog-archive-switch {
  max-width: 900px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.year-switch {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.year-switch .year {
  padding: 6px 14px;
  background: #e5e5e5;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  color: #07294d;
  transition: 0.2s;
}

.year-switch .year:hover {
  background: #ffc600;
}

.year-switch .active {
  background: #ffc600;
  font-weight: 600;
}

/* Seznam článků */
.blog-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* celý prvek je odkaz */
.blog-item {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

.blog-thumb {
  min-width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-title {
  margin: 0;
  font-size: 1.2rem;
  color: #07294d;
}

.blog-meta {
  color: #777;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Mobilní verze */
@media (max-width: 600px) {
  .blog-item {
    flex-direction: column;
  }

  .blog-thumb {
    width: 100%;
    height: 180px;
  }
}

/**********************/
/*     Dokumenty      */
/**********************/

.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #07294d;
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.25s;
  font-size: 0.85em; 
}

.file-btn i {
  font-size: 1.2em;
}

/* Barvy podle typu akce */
.file-view-btn {
  background: #ffc600;
  color: #07294d;
}

.file-view-btn:hover {
  background: #e0ad00;
}

.file-download-btn {
  background: #0b3d72;
  color: #ffc600;
}

.file-download-btn:hover {
  color: #ffc600;
  background: #062546;
}

.file-btn-row {
  display: flex;
  justify-content: flex-end;   /* zarovnání doprava */
  gap: 10px;                   /* mezery mezi tlačítky */
  margin-top: 10px;
}


/* Nadpis + telefon v jednom řádku */
.files-header {
    display: flex;
    justify-content: space-between; /* levá + pravá strana */
    align-items: center;
    margin-bottom: 20px;
}

/* Nadpis kabinetu */
.files-title {
    margin: 0;
    font-size: 1.6em;
    color: #07294d;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
}

.files-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ffc600;
    border-radius: 4px;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file {
    padding: 15px 20px;
    background: #f7faff;
    border-left: 4px solid #ffc600;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* horní řádek: nadpis + tlačítka */
.file-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nadpis vlevo */
.file-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #07294d;
}

/* Popis – plná šířka */
.file-desc {
    font-size: 0.95em;
    color: #333;
    margin-top: 2px;
    width: 100%; /* popis přes celou šířku */
}

/* Tlačítka vpravo */
.file-right {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}