/*MAIN COLORS:
    Primary cream- #f9f7e8
    Secondary green- #8a9a5b
    Tertiary- #F4EDCD
    Accent red- #B20B0B

*/

html {
    font-size: 20px;
    background-color: #f9f7e8;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f9f7e8;
  font-family: "Courier New";
}
.navbar {
    background-color: #f9f7e8;
}
/* All Blogs */
.blogs-page {
    background-color: #f9f7e8;
    min-height: 100vh;
    padding: 2rem;
}
.blogs-page h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}
.blogs-page > p {
    color: #666;
    margin-bottom: 1.5rem;
}
.blogs-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.blogs-sidebar {
    flex: 1;
    background-color: #F4EDCD;
    padding: 1rem;
}
.blogs-sidebar input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}
.blogs-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.blog-card {
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    align-items: flex-start;
}
.blog-card-image {
    width: 100px;
    height: 140px;
    background-color: #ccc;
    flex-shrink: 0;
    object-fit: cover;
}
.blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-body h3 {
    color: #8a9a5b;
    font-size: 2rem;
    margin: 0 0 0.2rem 0;
}
.blog-card-body .blog-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.4rem;
}
.blog-card-body p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.5rem;
}
.blog-card-link {
    align-self: flex-end;
    color: #B20B0B;
    text-decoration: none;
    font-size: 0.85rem;
}
.blog-card-link:hover {
    text-decoration: underline;
}

/* ===== Recipe List Page ===== */
.recipe-page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.recipe-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}
.recipe-page-header p {
    color: #666;
    font-size: 1rem;
}
.recipe-page-title {
    color: #8a9a5b;
    font-size: 3.75rem;
    margin-bottom: 0.25rem;
}
.recipe-section-label {
    font-size: 1.5625rem;
    color: #8a9a5b;
}
.recipe-section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.recipe-times {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.4rem;
}
.recipe-card-image {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    object-fit: cover;
}

/* ===== Home Page ===== */
.home-page {
    background-color: #f9f7e8;
}

.home-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem 2rem;
    min-height: 55vh;
}

.home-hero-text {
    flex: 1;
}

.home-hero-welcome {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 1rem;
}

.home-hero-title {
    font-size: 3.5rem;
    font-style: italic;
    line-height: 1.15;
    color: #8a9a5b;
    margin-bottom: 1.25rem;
}

.home-hero-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 380px;
}

.home-hero-cta {
    display: inline-block;
    background-color: #8a9a5b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-family: "Courier New";
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero-cta:hover {
    background-color: #7a8a4b;
    color: #fff;
}

.home-hero-images {
    flex: 1;
    position: relative;
    height: 420px;
}

.home-hero-img-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 85%;
    height: 100%;
    object-fit: cover;
}

.home-hero-img-accent {
    position: absolute;
    left: 0;
    bottom: 1.5rem;
    width: 44%;
    height: 155px;
    object-fit: cover;
    border: 4px solid #f9f7e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Featured Stories */
.home-featured {
    padding: 1rem 2rem 3rem;
}

.home-featured-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 0.4rem;
}

.home-featured-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.home-featured-title {
    font-size: 2rem;
    color: #8a9a5b;
    margin: 0;
}

.home-featured-view-all {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B20B0B;
    text-decoration: none;
}

.home-featured-view-all:hover {
    text-decoration: underline;
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.home-story-card {
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.home-story-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.home-story-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-story-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.home-story-card-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: #8a9a5b;
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
}

.home-story-card-date {
    font-size: 0.9rem;
    color: #888;
}

.home-story-card-title {
    font-size: 1.5rem;
    color: #8a9a5b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.home-story-card-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    flex: 1;
}

.home-story-card-link {
    align-self: flex-start;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #B20B0B;
    text-decoration: none;
}

.home-story-card-link:hover {
    text-decoration: underline;
}

/* ===== Home Page — Mobile ===== */
@media (max-width: 767px) {
    .home-hero {
        flex-direction: column;
        padding: 2rem 1.25rem 1.5rem;
        min-height: unset;
        gap: 1.5rem;
    }

    .home-hero-text {
        text-align: center;
    }

    .home-hero-title {
        font-size: 2.2rem;
    }

    .home-hero-desc {
        max-width: 100%;
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-images {
        width: 100%;
        height: 240px;
    }

    .home-hero-img-main {
        width: 100%;
    }

    .home-hero-img-accent {
        display: none;
    }

    .home-featured {
        padding: 1rem 1.25rem 2rem;
    }

    .home-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Shared Form Page Styles ===== */
.form-page {
    background-color: #f9f7e8;
    min-height: 100vh;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-page-title {
    font-size: 2rem;
    color: #8a9a5b;
    margin-bottom: 1.5rem;
}

.form-card {
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5rem;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a9a5b;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.form-field-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.25rem;
}

.form-field-input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-family: "Courier New";
    font-size: 0.9rem;
    width: 100%;
}

.form-field-input:focus {
    outline: none;
    border-color: #8a9a5b;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(138, 154, 91, 0.25);
}

.form-field-textarea {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-family: "Courier New";
    font-size: 0.9rem;
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

.form-field-textarea:focus {
    outline: none;
    border-color: #8a9a5b;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(138, 154, 91, 0.25);
}

.form-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.form-tag-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.form-btn-submit {
    background-color: #8a9a5b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-family: "Courier New";
    font-size: 0.9rem;
    cursor: pointer;
}

.form-card .form-btn-submit {
    margin-top: 0.5rem;
}

.form-btn-submit:hover {
    background-color: #7a8a4b;
}

/* ===== Media Preview & Delete ===== */
.media-preview {
    margin-top: 8px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.btn-delete-media {
    background-color: #c0392b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-family: "Courier New";
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-delete-media:hover {
    background-color: #a93226;
}

/* ===== Admin Table ===== */
.admin-section {
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.admin-section h2 {
    font-size: 1.5rem;
    color: #8a9a5b;
    margin-bottom: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #F4EDCD;
    border: 1px solid #ddd;
}

.admin-table th {
    background-color: #8a9a5b;
    color: #fff;
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.85rem;
    color: #444;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table-link {
    color: #B20B0B;
    text-decoration: none;
    margin-right: 0.75rem;
    font-size: 0.85rem;
}

.admin-table-link:hover {
    text-decoration: underline;
}

/* Blog Detail */
.blog-detail-page {
    background-color: #f9f7e8;
    min-height: 100vh;
    padding: 2rem;
}
.blog-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}
.blog-detail-nav a {
    color: #8a9a5b;
    text-decoration: none;
}
.blog-detail-nav a:hover {
    text-decoration: underline;
}
.admin-edit-btn {
    background-color: #8a9a5b;
    color: #fff !important;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none !important;
}
.admin-edit-btn:hover {
    background-color: #7a8a4b;
}
.blog-detail-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.blog-detail-text {
    flex: 3;
}
.blog-detail-text h2 {
    color: #8a9a5b;
    font-size: 3rem;
    margin-bottom: 0.25rem;
}
.blog-detail-text .blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}
.blog-detail-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.blog-detail-text p {
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
    font-size: 20px;
}
.blog-detail-text .tags {
    margin-top: 1rem;
}
.blog-detail-text .tags span {
    font-size: 1.25rem;
    color: #8a9a5b;
    margin-right: 0.5rem;
}
.blog-detail-text .sources {
    margin-top: 1rem;
    font-size: 0.85rem;
}
.blog-detail-text .sources a {
    color: #8a9a5b;
    display: block;
}
.blog-detail-images {
    flex: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}
.blog-detail-images img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.blog-detail-single-image {
    margin: 1.5rem 0;
}
.blog-detail-single-image img {
    width: auto;
    max-height: 400px;
    border-radius: 4px;
}
.lineSeperation {
    border: 0;
    border-top: 2px solid #444;
    margin: 1em 0;
}
.blog-detail-images .img-placeholder {
    width: 100%;
    height: 160px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 1px solid #ddd;
}
.blog-detail-video {
    margin-top: 2rem;
}
.blog-detail-video video {
    width: 100%;
    border: 1px solid #333;
}

/* Comments (BlogDetail) */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #444;
}
.comments-heading {
    color: #8a9a5b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: #fffdf2;
    padding: 1.25rem;
    border: 1px solid #d8d6c5;
    border-radius: 4px;
}
.comment-form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
}
.comment-form-input {
    resize: vertical;
    min-height: 90px;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: #444;
    background-color: #f9f7e8;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.comment-form-input:focus {
    outline: none;
    border-color: #8a9a5b;
    box-shadow: 0 0 0 2px rgba(138, 154, 91, 0.2);
}
.comment-form-error {
    color: #842029;
    font-size: 0.85rem;
}
.comment-form-button {
    align-self: flex-end;
    padding: 0.55rem 1.75rem;
    background-color: #8a9a5b;
    color: #f9f7e8;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.comment-form-button:hover {
    background-color: #6e7d47;
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comment-card {
    background-color: #fffdf2;
    border: 1px solid #d8d6c5;
    border-radius: 4px;
    padding: 1rem 1.25rem;
}
.comment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.comment-author {
    font-weight: 600;
    color: #8a9a5b;
    font-size: 1rem;
    overflow-wrap: break-word;
    word-break: break-all;
    min-width: 0;
}
.comment-date {
    font-size: 0.8rem;
    color: #888;
}
.comment-body {
    color: #444;
    line-height: 1.6;
    margin: 0 0 0.75rem;
    white-space: pre-wrap;
}
.comment-actions {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ece9d4;
}
.comment-action {
    font-size: 0.85rem;
    color: #8a9a5b;
    text-decoration: none;
}
.comment-action:hover {
    text-decoration: underline;
}
.comment-flag-notice {
    background-color: #f8d7da;
    color: #842029;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}
.comments-empty,
.comments-signin {
    color: #777;
    font-style: italic;
}

/* ===== AllBlogs + BlogDetail — Mobile ===== */
@media (max-width: 767px) {
    /* AllBlogs */
    .blogs-page {
        padding: 1.25rem;
    }

    .blogs-layout {
        flex-direction: column;
    }

    .blogs-sidebar {
        width: 100%;
        flex: unset;
    }

    .blogs-main {
        flex: unset;
        width: 100%;
    }

    .blog-card {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-card-image {
        width: 100%;
        height: 180px;
    }

    .blog-card-body h3 {
        font-size: 1.4rem;
    }

    /* AllKitchenItems */
    .recipe-card-image {
        width: 100%;
        height: 180px;
    }

    .recipe-page-title {
        font-size: 2.5rem;
    }

    .recipe-section-label {
        font-size: 1.1rem;
    }

    .recipe-times {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    /* BlogDetail */
    .blog-detail-page {
        padding: 1.25rem;
    }

    .blog-detail-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .blog-detail-layout {
        flex-direction: column;
    }

    .blog-detail-text h2 {
        font-size: 2rem;
    }

    .blog-detail-images {
        flex: unset;
        width: 100%;
    }

    .blog-detail-images img {
        width: 100%;
        height: auto;
    }

    /* Comments */
    .comments-heading {
        font-size: 1.6rem;
    }

    .comment-form-button {
        align-self: stretch;
    }

    .comment-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

/* ===== KitchenItemDetail — Mobile ===== */
@media (max-width: 767px) {
    .recipe-detail-page {
        padding: 1.25rem;
    }

    .recipe-detail-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .recipe-detail-top {
        flex-direction: column;
        gap: 1rem;
    }

    .recipe-detail-hero img {
        height: 220px;
    }

    .recipe-detail-title {
        font-size: 1.75rem;
    }

    .recipe-stat-row {
        flex-wrap: wrap;
    }

    .recipe-stat-box {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
    }

    .recipe-also-like-grid {
        flex-direction: column;
    }

    .recipe-also-like-card img {
        height: 160px;
    }
}

/* ===== Recipe Detail Page ===== */
.recipe-detail-page {
    background-color: #f9f7e8;
    min-height: 100vh;
    padding: 2rem;
}
.recipe-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}
.recipe-detail-nav a {
    color: #8a9a5b;
    text-decoration: none;
}
.recipe-detail-nav a:hover {
    text-decoration: underline;
}
.recipe-detail-top {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.recipe-detail-hero {
    flex: 1.4;
}
.recipe-detail-hero img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 4px;
}
.recipe-ingredients-panel {
    flex: 1;
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.25rem;
}
.recipe-ingredients-panel h3 {
    font-size: 1.4rem;
    color: #8a9a5b;
    margin-bottom: 1rem;
}
.recipe-ingredients-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recipe-ingredients-panel ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
    color: #444;
}
.recipe-ingredients-panel ul li:last-child {
    border-bottom: none;
}
.recipe-detail-title {
    color: #8a9a5b;
    font-size: 2.75rem;
    margin-bottom: 0.25rem;
}
.recipe-detail-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}
.recipe-stat-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.recipe-stat-box {
    flex: 1;
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
}
.recipe-stat-box .stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.recipe-stat-box .stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
}
.recipe-instructions {
    margin-bottom: 2rem;
}
.recipe-instructions h3 {
    font-size: 1.4rem;
    color: #8a9a5b;
    margin-bottom: 1rem;
}
.recipe-instructions ol {
    padding-left: 1.25rem;
}
.recipe-instructions ol li {
    padding: 0.5rem 0;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
    border-bottom: 1px solid #ddd;
}
.recipe-instructions ol li:last-child {
    border-bottom: none;
}
.recipe-detail-page .tags {
    margin-top: 1rem;
}
.recipe-detail-page .tags span {
    font-size: 1.25rem;
    color: #8a9a5b;
    margin-right: 0.5rem;
}
.recipe-also-like {
    margin-top: 2rem;
}
.recipe-also-like h3 {
    font-size: 1.4rem;
    color: #8a9a5b;
    margin-bottom: 1rem;
}
.recipe-also-like-grid {
    display: flex;
    gap: 1rem;
}
.recipe-also-like-card {
    flex: 1;
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.recipe-also-like-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.recipe-also-like-card span {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}
.recipe-also-like-card:hover span {
    color: #8a9a5b;
}
.form-field-label-or {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}
/* Error Page */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 1rem;
}
.error-card {
    background-color: #F4EDCD;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    max-width: 640px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.error-eyebrow {
    color: #B20B0B;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}
.error-heading {
    color: #8a9a5b;
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
}
.error-message {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 1.75rem auto;
    max-width: 480px;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.error-btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.error-btn-primary {
    background-color: #8a9a5b;
    color: #f9f7e8;
    border-color: #8a9a5b;
}
.error-btn-primary:hover {
    background-color: #6f7d49;
    border-color: #6f7d49;
    color: #f9f7e8;
}
.error-btn-secondary {
    background-color: transparent;
    color: #8a9a5b;
    border-color: #8a9a5b;
}
.error-btn-secondary:hover {
    background-color: #8a9a5b;
    color: #f9f7e8;
}
.error-request-id {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}
.error-request-id code {
    background-color: #f9f7e8;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    color: #555;
}
@media (max-width: 576px) {
    .error-heading {
        font-size: 1.6rem;
    }
    .error-card {
        padding: 1.75rem 1.25rem;
    }
    .error-actions {
        flex-direction: column;
    }
    .error-btn {
        width: 100%;
    }
}
