/*
  Olomouc.cz speciál: /gastronomie
*/

body {
  background: #f0f2f4;
}

.special-gastronomie {
  color: inherit;
  padding: 50px 20px;
  background: white;
}

/* --- Hlavička rubriky --- */
.special-gastronomie__topic-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    clear: both;
}

.special-gastronomie__topic-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

.special-gastronomie__topic-header-content {
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.special-gastronomie__topic-icon img { 
    width: 105px; 
    height: 105px; 
    display: block; 
}

.special-gastronomie__topic-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.sp-title-strong { 
    font-weight: 700; 
    color: #d42e25; 
    letter-spacing: 0.08em; 
}

.sp-title-light { 
    font-weight: 300; 
    color: #333; 
    letter-spacing: -0.05em; 
    margin-left: 0.1em; 
}

.special-gastronomie__topic-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    margin: 8px 0 0 0;
    letter-spacing: 0.295em;
    text-transform: uppercase;
}

.special-gastronomie__topic-intro-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}
.special-gastronomie__hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 26px 0;
  align-items: stretch;
}

.sg-banner {
  display: block;
  text-decoration: none;
  height: 100%;
}

.sg-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  clip-path: inset(0 0 10px 0);
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.sg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.sg-card:hover {
  text-decoration: none;
}

.sg-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.sg-card:hover .sg-card__image {
  opacity: 0.92;
}

.sg-card__tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #d42e25;
  color: #fff;
  padding: 4px 10px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  z-index: 2;
}

.sg-card__content {
  margin-top: 10px;
}

.sg-card__date {
  display: block;
  margin: 0 0 8px 0;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
}

.sg-card__title {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #d42e25;
}

.sg-card:hover .sg-card__title {
  text-decoration: underline;
}

.sg-card__perex {
  display: none;
}

.sg-card--hero {
  grid-column: span 2;
}

.special-gastronomie__more {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.sg-more {
  display: inline-block;
  width: fit-content;
  padding: 10px 24px;
  border: 0;
  background: #444;
  color: #fff;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.sg-more:hover {
  background: #d42e25;
}

/* ========== Responsivita ========== */
@media (max-width: 900px) {
  .special-gastronomie__topic-header::before { display: none; }
  .special-gastronomie__topic-header-content { flex-direction: column; text-align: center; }
  .special-gastronomie__topic-title { font-size: 1.8rem; }
  .sg-banner img { clip-path: none; }
}

@media (max-width: 768px) {
  .sg-grid { grid-template-columns: 1fr; }
  .sg-card--hero { grid-column: span 3; }
  .sg-banner img { width: 100%; }
  .sg-banner { grid-column: span 3; }
}
