/* PH Transit Tahák – frontend */
.ph-tt-wrap,
.ph-tt-card,
.ph-tt-card * {
  box-sizing: border-box;
}

.ph-tt-wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto 48px;
  color: rgba(238, 244, 255, .94);
}

.ph-tt-card {
  position: relative;
  background: rgba(10, 14, 26, .48);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 22px;
  overflow: hidden;
}

.ph-tt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), transparent 42%),
    radial-gradient(900px 220px at 18% 0%, rgba(140,90,255,.13), transparent 60%);
  opacity: .65;
}

.ph-tt-card > * {
  position: relative;
  z-index: 1;
}

.ph-tt-hero {
  text-align: center;
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 36px);
}

.ph-tt-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(199,156,255,.12);
  border: 1px solid rgba(199,156,255,.20);
  color: rgba(230,220,255,.86);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.ph-tt-card h1,
.ph-tt-card h2 {
  color: rgba(255,255,255,.96);
  line-height: 1.15;
  margin: 0 0 10px;
  text-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.ph-tt-card h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.ph-tt-card h2 {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
}

.ph-tt-card p,
.ph-tt-card li,
.ph-tt-content {
  color: rgba(235,242,255,.82);
  line-height: 1.66;
  font-size: 16px;
}

.ph-tt-period-note {
  width: min(720px, 100%);
  margin: 12px auto 0 !important;
  color: rgba(235,242,255,.68) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.ph-tt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ph-tt-grid > .ph-tt-card {
  height: 100%;
}

.ph-tt-card--wide {
  grid-column: auto;
}

.ph-tt-date {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: rgba(210,168,90,.96);
  background: rgba(210,168,90,.10);
  border: 1px solid rgba(210,168,90,.18);
  font-weight: 700;
  font-size: 13px;
  white-space: normal;
}


.ph-tt-meta {
  margin: 2px 0 12px;
  color: rgba(235,242,255,.54);
  font-size: 13px;
}

.ph-tt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ph-tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10,14,28,.55);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.ph-tt-btn:hover {
  background: rgba(10,14,28,.75);
  transform: translateY(-1px);
}

.ph-tt-btn--primary {
  border-color: rgba(122,92,255,.38);
  background: linear-gradient(135deg, rgba(122,92,255,.92), rgba(61,220,255,.82));
  color: #061020 !important;
}

.ph-tt-promo {
  width: min(920px, calc(100% - 28px));
  margin: 26px auto;
}

.ph-tt-promo ul {
  margin: 10px 0 0 20px;
}

@media (max-width: 820px) {
  .ph-tt-grid {
    grid-template-columns: 1fr;
  }
  .ph-tt-card--wide {
    grid-column: auto;
  }
  .ph-tt-card {
    padding: 18px 16px;
  }
  .ph-tt-actions .ph-tt-btn {
    width: 100%;
  }
}
