.content{
    padding: 2rem;
}
.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--colorTextPrimary); /* nastavuje barvu SVG i textu */
  padding-bottom: 1rem;
}
.heading-card h4{
    color: var(--colorLowlight);
    font-weight: bold;
}
.icon {
  width: 24px;
  height: 24px;
}
.responsive-heading {
  /* clamp(min, preferred, max) */
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.2;
  font-weight: bold;
  margin: 0;
}

.news-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.2s;
}

.news-item:hover {
  transform: translateY(-3px);
}

.news-image {
  max-width: 300px; /* maximální šířka obrázku na desktopu */
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
}

.news-date {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 0.25rem 0;
}

.news-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: var(--colorTextSecondary);
}

.news-excerpt {
  margin: 0 0 0.5rem 0;
  color: var(--colorTextPrimary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.news-link {
  font-size: 0.95rem;
  color: var(--colorLowlight);
  text-decoration: none;
  font-weight: bold;
}

.news-link:hover {
  text-decoration: underline;
}

.file-group {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.file-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.file-group .bi {
    font-size: 3rem;
    color: #0d6efd;
}
.file-item {
    transition: background-color 0.2s ease;
}
.file-item:hover {
    background-color: #eef4ff;
}
.file-item i {
    font-size: 1.8rem;
    width: 2rem;
}

.teacher-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.teacher-card h5{
    color: var(--colorLowlight);
}
.teacher-icon {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid var(--colorPrimary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden; /* 👉 Klíčové – ořízne obsah podle tvaru */
}

.teacher-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👉 Zachová proporce a vyplní celý kruh */
}

.teacher-icon i {
    font-size: 2.5rem;
    color: var(--colorPrimary);
}
.teacher-email {
    font-size: 0.9rem;
    color: var(--colorTextPrimary);
}
.impoText{
    text-align: center;
    color: var(--colorLowlight);
    font-size: 1.3rem;
}
.spp-icon{
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.envelope-icon{
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color:var(--colorPrimary);
}
h5 ,h3{
    font-weight: bold;
}
 h3, #event-list h5{
    color: var(--colorLowlight) !important;
    
}
.list-group-item h5 a{
    color: var(--colorLowlight) !important;
}
.panel-link {
    margin-bottom: 20px; /* mezera pod panelem, pokud je více řádků */
    transition: transform 0.2s;
}
.panel-link:hover {
    transform: scale(1.05); /* jemné zvýraznění při hover */
    text-decoration: none; /* zruší podtržení odkazu */
}
.project-panel {
  margin-bottom: 20px; /* mezera mezi panely */
}
.projects .panel{
    border: 1px solid var(--colorLowlight);
    border-radius: 8px;
    padding: 1rem;
    text-align: justify;
}
.project-titlePhoto{
    margin: auto 0 !important;
}

.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.no-gutter > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.project-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.day-cell {
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.day-cell:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.day-cell.active {
  box-shadow: inset 0 0 0 3px var(--colorPrimary);
}
.card img {
  object-fit: cover;
  height: 200px;
}
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.btn-outline-primary {
  color: var(--colorPrimary); /* tvá barva textu */
  border-color: var(--colorPrimary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--colorPrimary);
  color: #fff;
  border-color: var(--colorPrimary);
}

.calendar-table td {
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  border: 1px solid lightgrey !important; /* vlastní rámeček */
  padding: 0.5rem;
}
/*
.calendar-table td.bg-success-subtle {
  border-color: #198754 !important; 
}

.calendar-table td.bg-info-subtle {
  border-color: #0dcaf0 !important; 
}

.calendar-table td.bg-danger-subtle {
  border-color: #dc3545 !important; 
}*/





/* Responzivní nastavení pro mobilní zařízení */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;  /* přepnutí na sloupec */
    align-items: stretch;    /* obsah se roztáhne na šířku */
  }

  .news-image {
    max-width: 100%;         /* obrázek zabere celou šířku */
    width: 100%;             /* zajistí skutečnou šířku 100% */
    margin-bottom: 1rem;     /* mezera pod obrázkem */
    flex-shrink: unset;      /* zruší omezení zmenšení */
  }

  .news-content {
    width: 100%;             /* text se roztáhne pod obrázek */
  }
}

@media (max-width: 768px) {
  .contentBlock .container {
    max-width: 100% !important;
  }
}
@media (max-width: 576px) {
  .contentBlock .container {
    max-width: 100% !important;
  }
}