.at-structure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.at-structure__hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.at-structure__cover,
.at-structure__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.at-structure__panel {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.at-structure__title {
  margin: 0 0 10px;
}

.at-structure__meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 24px 0;
}

.at-structure__meta-card,
.at-structure__section {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 20px;
}

.at-structure__section {
  margin-bottom: 20px;
}

.at-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.at-gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.at-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.at-structure-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.at-structure-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.at-structure-card__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.at-structure-card__body {
  padding: 18px;
}

.at-structure-archive__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.at-structure-archive__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .at-structure__hero,
  .at-structure__meta-grid,
  .at-gallery,
  .at-structure-grid {
    grid-template-columns: 1fr;
  }
}

.at-route {
    font-size: 15px;
    line-height: 1.5;
}

.at-route .at-route__title {
    font-size: 25px;
    margin-bottom: 12px;
}

.at-route .at-route__content,
.at-route .at-route__content p,
.at-route .at-route__content li {
    font-size: 15px;
    line-height: 1.6;
}

.at-route .at-route__details {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0;
}

.at-route .at-route__detail {
    background: rgba(34, 193, 195, 0.1);
    border-radius: 4px;
    padding: 10px 14px;
}

.at-route .at-route__detail-label {
    background: rgba(34, 113, 177, 0.1);
    color: #2271b1;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: -10px -14px 8px;
    padding: 10px 14px;
}

.at-route .at-route__detail-value {
    color: #333;
    display: block;
    font-size: 14px;
}

.at-route .at-route__rating {
    background: #f7f7f7;
    border-left: 4px solid #2271b1;
    margin: 12px 0 20px;
    padding: 10px 12px;
}

.at-route .at-route__notes {
    background: #fff9e6;
    border-left: 4px solid #f0ad4e;
    border-radius: 4px;
    margin: 20px 0;
    padding: 14px 16px;
}

.at-route .at-route__coordinates {
    background: #f7f7f7;
    border-left: 4px solid #646970;
    margin: 20px 0;
    padding: 14px 16px;
}

@media (max-width: 768px) {
    .at-route .at-route__details {
        grid-template-columns: 1fr;
    }
}

.at-route__map-section {
    margin: 0 0 30px;
    width: 100%;
}

.at-route__map-section h2 {
    font-size: 20px;
    margin: 0 0 12px;
}

.at-route-map {
    box-sizing: border-box;
    height: 420px;
    width: 100%;
}

.at-route__map-section .leaflet-container {
    border-radius: 8px;
    min-height: 420px;
    width: 100%;
}

@media (max-width: 768px) {
    .at-route-map,
    .at-route__map-section .leaflet-container {
        height: 320px;
        min-height: 320px;
    }
}

.at-route-marker-wrapper {
    background: transparent;
    border: 0;
}

.at-route-marker {
    align-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    display: flex;
    font-size: 20px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.at-route-marker--obstacle {
    background: #d63638;
}

.at-route-marker--slope {
    background: #dba617;
}

.at-route-marker--bench {
    background: #8c5a2b;
}

.at-route-marker--fountain {
    background: #2271b1;
}

.at-route-marker--toilet {
    background: #3858a8;
}

.at-route-marker--parking {
    background: #646970;
}

.at-route-marker--viewpoint {
    background: #46a546;
}

.at-route-marker--crossing {
    background: #7a00cc;
}

.at-route-marker--default {
    background: #646970;
}