#content {
    max-width: 1200px;
    margin:0 auto;
}

h1 {
  font-family: var(--font-heading) !important;
  color: #D2232A !important;
  font-size: 62px !important;
}

.world-cards { 
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 20px; 
    margin: 40px 0; 
}

.world-card { 
    display: flex;
    flex-direction: column;
    flex-basis: calc(33% - (80px / 3));
    padding: 40px 20px; 
    text-align: center; 
    text-decoration: none; 
    color: #1a1a1a; 
    font-weight: bold; 
    transition: 0.3s;
    border-radius: 4px;
    background: #fff; /* чтобы тень было видно */
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* плавная анимация */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); /* легкая тень */
}



@media (max-width: 500px){
    .world-cards {
        flex-direction: column;
    }
}

/*.world-card:nth-of-type(4n):last-of-type {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
    
    & .world-card__title {
        text-align: left;
    }
}*/

.world-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); /* тень становится больше */
    transform: translateY(-5px); /* карточка слегка приподнимается */
}

.world-card__title {
    font-size: 15px;
}

.world-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: end;
    gap: 20px;
    font-size: 1rem;
}

.world-card__image {
    margin-bottom: 20px;
}

.info-row { 
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    gap: 40px; 
    align-items: center; 
    margin-bottom: 40px; 
    border: 1px solid #eee; 
    padding: 20px; 
}

.info-row--reverse { 
    grid-template-columns: 2fr 1fr;
}

.info-row img { 
    display: block; 
    object-fit: cover; 
    background: #f0f0f0; 
    min-height: 200px; 
    width: 100%; 
    height: auto; 
}

@media (max-width: 768px) { 
    .world-cards, .info-row, .info-row--reverse { 
        grid-template-columns: 1fr; 
    } 
}

.info-row__text {
    font-size: 15px;
}
