/* =========================================================
   AKTUALITY – seznam s miniaturou (sjednoceno se stylem eventů)
   ========================================================= */
.akt-zaznamy {
     --akt-thumb: 56px;
}

/* default, dá se přepsat inline stylem */

.akt-item {
     display: flex;
     align-items: flex-start;
     gap: 12px;
     padding: 8px 0;
}

.akt-item.has-thumb .akt-thumb-wrap {
     flex: 0 0 var(--akt-thumb);
     width: var(--akt-thumb);
     height: var(--akt-thumb);
     overflow: hidden;
     border-radius: 6px;
}

.akt-thumb-link {
     display: block;
     width: 100%;
     height: 100%;
}

.akt-thumb-img {
     display: block;
     width: 100%;
     height: 100%;
     object-fit: cover;
}

.akt-item-box {
     flex: 1 1 auto;
     min-width: 0;
}

.akt-cats {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
     margin: 4px 0;
}

.akt-cat {
     font-size: .875rem;
     opacity: .8;
}

.akt-meta {
     margin: 6px 0 0;
     font-size: .85rem;
     opacity: .8;
}

/* =========================================================
   PŘÍLOHY – boxy a tlačítko ZIP
   ========================================================= */
.akt-prilohy-wrapper {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom: 1rem;
}

.akt-priloha-box {
     display: flex;
     align-items: center;
     gap: 10px;
     padding-right: 12px;
     border: 1px solid #e0e0e0;
     background-color: #f8f9fa;
     position: relative;
}

.akt-priloha-ext {
     background-color: #fff;
     color: #444;
     padding: 18px 14px;
     border-right: 1px solid #e0e0e0;
     font-weight: 600;
     min-width: 65px;
     text-align: center;
}

.akt-priloha-info {
     flex: 1;
}

.akt-priloha-nazev {
     font-weight: 600;
     text-decoration: none;
}

.akt-priloha-nazev:hover {
     text-decoration: underline;
}

.akt-priloha-meta {
     color: #555;
}

.akt-download-icon {
     flex-shrink: 0;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 32px;
     height: 32px;
     background: #e0e0e0;
     color: #333;
     text-decoration: none;
     transition: background .2s;
}

.akt-download-icon:hover {
     background: #ccc;
}

.akt-download-icon svg {
     width: 16px;
     height: 16px;
     display: block;
}

.akt-download-zip {
     display: inline-block;
     background-color: #e2e2e2;
     color: #222;
     padding: 6px 12px;
     text-decoration: none;
     font-weight: 700;
     margin-top: 2rem;
}

.akt-download-zip:hover {
     background-color: #ccc;
}

/* =========================================================
   FILTRY – vyhledávání a řádka filtrů
   ========================================================= */
.akt-filter-form .akt-filter-search {
     display: flex;
     gap: .5rem;
     align-items: stretch;
}

.akt-filter-form .akt-filter-search input[type="text"] {
     flex: 1 1 auto;
     min-width: 0;
}

.akt-filter-form .akt-filter-search button {
     white-space: nowrap;
}

.akt-filter-form .akt-filters-row {
     display: flex;
     flex-wrap: wrap;
     align-items: flex-end;
     gap: .5rem .75rem;
     margin: 0;
}

.akt-filter-form .akt-filters-row label {
     margin-right: .25rem;
}

.akt-filter-form .akt-filters-row select {
     min-width: 12rem;
     margin-bottom: 0;
}

.akt-filter-form .akt-filters-row .akt-actions {
     margin-left: auto;
     display: flex;
     gap: .5rem;
}

.akt-filter-form .akt-filters-row .akt-actions .akt-reset {
     display: inline-block;
     padding: .5rem .75rem;
     border: 1px solid #ddd;
     text-decoration: none;
     color: inherit;
     background: #f6f6f6;
}

.akt-filter-form .akt-filters-row .akt-actions .akt-reset:hover {
     background: #eee;
}

.akt-row-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
     align-items: center;
     opacity: .85;
     margin-top: 4px;
}

.akt-cats {
     display: flex;
     gap: 6px;
}

.akt-row1 {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     opacity: .9;
     margin: 0 0 4px;
}

.akt-date i {
     margin-right: 6px;
}

.akt-date{
    font-weight: 600;
}

.akt-date span{
    color: rgba(0, 0, 0, 0.3);
}

.akt-cats {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
}

/* mobil: sloupce, tlačítka přes celou šířku */
@media (max-width:600px) {
     .akt-filter-form .akt-filters-row {
          flex-direction: column;
          align-items: stretch;
     }

     .akt-filter-form .akt-filters-row .akt-actions {
          margin-left: 0;
     }

     .akt-filter-form .akt-filters-row .akt-actions>* {
          width: 100%;
     }
}