/* ===========================
   STORIES PAGE STYLES
   =========================== */

/* Hero Section */
.stories-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero__image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.hero__text {
    color: white;
}

.hero__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 40px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.breadcrumb li:not(:last-child)::after {
    content: " / ";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section--light {
    background-color: #f9f7f5;
}

.section--beige {
    background-color: #f5ede5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
    text-align: center;
}

.section__description {
    font-size: 1.05rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Featured Stories Grid */
.featured-stories {
    margin-bottom: 20px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 30px;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.story-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.story-card--featured {
    grid-column: auto;
}

@media (min-width: 1024px) {
    .story-card--featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .story-card--featured .story-card__image {
        height: 350px;
    }
}

.story-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.story-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-card__image img {
    transform: scale(1.08);
}

.story-card__category {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #8b6f47;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.story-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-card__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c2c2c;
    line-height: 1.4;
}

.story-card--featured .story-card__title {
    font-size: 1.6rem;
}

.story-card__excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.story-card__meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}

.story-card__date,
.story-card__reading-time {
    display: flex;
    align-items: center;
}

.story-card__date::before {
    content: "📅 ";
    margin-right: 4px;
}

.story-card__reading-time::before {
    content: "⏱️ ";
    margin-right: 4px;
}

.btn--ghost {
    background-color: transparent;
    color: #8b6f47;
    border: 2px solid #8b6f47;
    padding: 10px 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn--ghost:hover {
    background-color: #8b6f47;
    color: white;
}

/* Customer Stories Section */
.customer-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.customer-story {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.customer-story:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.customer-story__image {
    overflow: hidden;
    height: 250px;
}

.customer-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.customer-story:hover .customer-story__image img {
    transform: scale(1.05);
}

.customer-story__content {
    padding: 25px;
}

.customer-story__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.customer-story__excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
}

.customer-story__location {
    font-size: 0.85rem;
    color: #8b6f47;
    font-weight: 600;
}

/* Chef Interviews Section */
.chef-interviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.chef-interview-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.chef-interview-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.chef-interview-item__image {
    overflow: hidden;
    height: 250px;
}

.chef-interview-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.chef-interview-item:hover .chef-interview-item__image img {
    transform: scale(1.08);
}

.chef-interview-item__content {
    padding: 30px;
}

.chef-interview-item__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
    line-height: 1.4;
}

.chef-interview-item__content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Craftsman Section */
.craftsman-section {
    margin: 60px 0;
}

.craftsman-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.craftsman-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.craftsman-image img {
    width: 100%;
    height: auto;
    display: block;
}

.craftsman-content {
    max-width: 500px;
}

.craftsman-label {
    display: inline-block;
    background-color: #8b6f47;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.craftsman-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.craftsman-content > p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.craftsman-quote {
    background-color: rgba(139, 111, 71, 0.08);
    padding: 25px;
    border-left: 4px solid #8b6f47;
    margin: 25px 0;
    border-radius: 4px;
}

.craftsman-quote p {
    font-size: 1rem;
    color: #2c2c2c;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.craftsman-quote footer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #8b6f47;
    font-weight: 600;
    font-style: normal;
}

/* Recipe Cards Section */
.recipes-section {
    margin: 60px 0;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.recipe-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.recipe-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.recipe-card__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 20px 10px;
    color: #2c2c2c;
}

.recipe-card__description {
    font-size: 0.9rem;
    color: #666;
    padding: 0 20px 15px;
    line-height: 1.6;
}

.recipe-card .btn {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Community Section */
.community-section {
    margin: 60px 0;
}

.community-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.community-content > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.community-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.community-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.community-form input:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.community-form button {
    padding: 14px 30px;
    text-transform: none;
}

/* Newsletter Section */
.newsletter {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.newsletter__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter__text {
    max-width: 450px;
}

.newsletter__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.newsletter__description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.newsletter__form {
    max-width: 450px;
}

.newsletter__input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter__input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.newsletter__input:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.newsletter__submit {
    padding: 14px 30px;
    text-transform: none;
}

.newsletter__consent {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

.newsletter__consent a {
    color: #8b6f47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.newsletter__consent a:hover {
    color: #6b4f2e;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .craftsman-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter__content {
        grid-template-columns: 1fr;
    }

    .story-card--featured {
        grid-column: auto;
        grid-row: auto;
    }

    .story-card--featured .story-card__image {
        height: 250px;
    }

    .hero__title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .stories-hero {
        height: 500px;
        margin-bottom: 40px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 0;
    }

    .section__title {
        font-size: 2rem;
    }

    .section__description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-card__image {
        height: 200px;
    }

    .customer-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .customer-story__image {
        height: 180px;
    }

    .chef-interviews {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .recipe-card img {
        height: 200px;
    }

    .community-form {
        flex-direction: column;
    }

    .community-form button {
        width: 100%;
    }

    .newsletter__input-group {
        flex-direction: column;
    }

    .newsletter__submit {
        width: 100%;
    }

    .craftsman-title {
        font-size: 1.6rem;
    }

    .breadcrumb ol {
        flex-direction: column;
        gap: 5px;
    }

    .breadcrumb li {
        font-size: 0.85rem;
    }

    .breadcrumb li:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .stories-hero {
        height: 400px;
        margin-bottom: 30px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .stories-grid {
        gap: 15px;
    }

    .story-card__image {
        height: 150px;
    }

    .customer-stories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .customer-story__image {
        height: 150px;
    }

    .chef-interviews {
        gap: 15px;
    }

    .chef-interview-item__image {
        height: 200px;
    }

    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .recipe-card img {
        height: 200px;
    }

    .craftsman-title {
        font-size: 1.2rem;
    }

    .craftsman-content > p,
    .community-content > p {
        font-size: 0.9rem;
    }

    .craftsman-quote p {
        font-size: 0.9rem;
    }

    .newsletter__title {
        font-size: 1.3rem;
    }

    .section__description {
        font-size: 0.85rem;
    }
}
