/* =========================================
   HISTORY GALLERY
========================================= */

.history-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 25px 0;
}


/* =========================================
   ORDINARY PHOTOS
========================================= */

.history-gallery img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}


/* =========================================
   PHOTOS WITH CAPTIONS
========================================= */

.history-gallery figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    text-align: center;
}

.history-gallery figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.history-gallery figcaption {
    width: 100%;
    margin: 6px 0 15px;
    text-align: center;
}


/* =========================================
   OLD HTML SUPPORT
========================================= */

.history-gallery > div {
    text-align: center;
}

.history-gallery p {
    margin: 6px 0 15px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .history-gallery {
        gap: 12px;
    }

    .history-gallery img {
        max-width: 48%;
    }

    .history-gallery figure {
        max-width: 48%;
    }

    .history-gallery figure img {
        max-width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .history-gallery {
        gap: 10px;
    }

    .history-gallery img {
        max-width: 48%;
    }

    .history-gallery figure {
        max-width: 48%;
    }

    .history-gallery figure img {
        max-width: 100%;
    }

    .history-gallery figcaption {
        margin: 5px 0 10px;
    }
}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .history-gallery img {
        max-width: 100%;
    }

    .history-gallery figure {
        max-width: 100%;
    }

    .history-gallery figure img {
        max-width: 100%;
    }
}

/* Story characters section */
.story-characters {
    max-width: 1100px;
    margin: 50px auto;
    padding: 35px 30px;
    background: #faf9f6;
    border-top: 1px solid #d4af37;
    border-bottom: 1px solid #d4af37;
    box-sizing: border-box;
}

.story-characters h2 {
    margin: 0 0 10px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: normal;
    color: #8a6500;
}

.story-characters-intro {
    margin: 0 0 30px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.6;
    color: #5f5145;
}

.story-characters-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 35px;
}

.story-character {
    position: relative;
    padding: 11px 0 11px 18px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.45;
    color: #4f463f;
}

.story-character::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b8860b;
}

/* Tablet */
@media (max-width: 850px) {
    .story-characters {
        padding: 30px 24px;
    }

    .story-characters-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 25px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .story-characters {
        margin: 35px 10px;
        padding: 25px 18px;
    }

    .story-characters h2 {
        font-size: 24px;
    }

    .story-characters-intro {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .story-characters-list {
        grid-template-columns: 1fr;
    }

    .story-character {
        font-size: 15px;
        padding: 10px 0 10px 18px;
    }
}
```
