body{
    background: #d4d2ca;
}

.story-page {
    max-width: 850px;        /* Add this — constrains content width */
    margin: 0 auto;          /* Centers the whole page content */
    padding: 3rem 2rem 5rem;
    font-family: "Source Sans 3", sans-serif;
}

.story-page-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #191919;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.story-cover {
    width: 100%;             /* Fill the constrained max-width */
    margin-bottom: 2rem;
}

.story-cover img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.story-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 1.25rem;
    text-align: justify;        /* Text aligns left within the centered container */
}

.story-read-more-link {
    text-align: right;
    margin: 1.5rem 0;
}

.story-read-more-link a {
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    color: #3a3a3a;
    text-decoration: none;
}

.story-read-more-link a:hover {
    text-decoration: underline;
}

.story-divider {
    border: none;
    border-top: 1px solid #191919;
    margin: 2rem 0;
}

.story-products-title {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.25rem;
}

.story-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.story-product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.story-product-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

.story-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease
}

.story-product-card:hover .story-product-image img {
    transform: scale(1.04);
}

.story-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-top: 0.5rem;
}

.story-product-price {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.story-product-price:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .story-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-cover img {
        height: 220px;
    }
}