/* ==========================================
   Amarava Agro - Blog Cards CSS
   Includes:
   - Widescreen Image Thumbnail
   - Left-to-Right Animated Line on Hover
   - Rich Warm Golden-Brown Card Body (#86571a)
   ========================================== */

/* Blog Page Header */
.blog-header {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Blog Grid Container */
.blog-grid-section {
    padding: 80px 0;
    background-color: #fcfdfc;
}

/* Card Container */
.mrm-blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid #eaeaea;
    transition: all 0.35s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mrm-blog-card:hover {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
}

.mrm-blog-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mrm-blog-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 850 / 478;
    overflow: hidden;
    background-color: #f4f4f4;
}

.mrm-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: none;
}



/* Left to Right Line Loading Animation on Hover */
.mrm-blog-card__line {
    position: relative;
    height: 4px;
    width: 100%;
    background-color: #ffffff;
    /* White background - invisible initially */
    overflow: hidden;
    z-index: 2;
}

.mrm-blog-card__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #f1cf69;
    /* Brand Green Line */
    transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.mrm-blog-card:hover .mrm-blog-card__line::after {
    width: 100%;
}

/* Card Body Styling */
.mrm-blog-card__body {
    padding: 10px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
    /* Initially White */
    color: #1c2d27;
    transition: background 0.35s ease, color 0.35s ease;
}

.mrm-blog-card:hover .mrm-blog-card__body {
    background: #db4442;
    /* Theme Red on hover */
}

.mrm-blog-card__date {
    font-size: 14.5px;
    font-weight: 600;
    color: #77847f;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    transition: color 0.35s ease;
}

.mrm-blog-card:hover .mrm-blog-card__date {
    color: #ffffff;
}

.mrm-blog-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    color: #1c2d27;
    margin: 0 0 18px;
    transition: color 0.35s ease;
}

.mrm-blog-card:hover .mrm-blog-card__title {
    color: #ffffff;
}

.mrm-blog-card__read-more {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background-color: #db4442;
    padding: 5px 30px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    margin-top: auto;
    transition: all 0.35s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(219, 68, 66, 0.25);
}

.mrm-blog-card:hover .mrm-blog-card__read-more {
    background-color: #ffffff;
    /* White background on hover */
    color: #db4442;
    /* Theme Red text on hover */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Pagination / Filter section */
.blog-pagination {
    display: flex;
    justify-content: center;
}

/* Article Body typography & Featured Image */
.article-featured-img {
    margin-bottom: 35px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 850 / 478;
    background-color: #f4f4f4;
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Article Details Page - Extraordinary Modern Typography & Layout */
.blog-details {
    padding: 70px 0 90px;
    background-color: #fdfdfd;
}

.blog-details__content {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .blog-details__content {
        padding: 25px 20px;
    }
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #689b25;
    background: rgba(104, 155, 37, 0.09);
    padding: 4px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 14px;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    color: #db4442;
    line-height: 1.35;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 26px;
    }
}

.article-meta {
    font-size: 16px;
    color: #687469;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1.5px solid #f0f4f2;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #689b25;
}

.article-featured-img {
    margin-top: 10px;
    margin-bottom: 45px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 850 / 478;
    background-color: #f4f4f4;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Article Body Typography (20px justified, 26px headings) */
.article-body {
    font-size: 20px;
    line-height: 1.85;
    color: #2c3a34;
}

.article-body p {
    font-size: 20px;
    line-height: 1.85;
    text-align: justify;
    color: #2c3a34;
    margin-bottom: 15px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 800;
    color: #db4442;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.2px;
    margin-top: 25px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1c2d27;
}

/* Article Lists */
.article-list {
    padding-left: 0;
    list-style: none;
    margin: 5px 0 10px;
}

.article-list li {
    font-size: 20px;
    line-height: 1.85;
    color: #2c3a34;
    margin-bottom: 16px;
    text-align: justify;
    position: relative;
    padding-left: 34px;
}

.article-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='%23689b25' d='M500.5 0c-43.1 0-82.6 15.6-113.6 41.7-65.7 55.4-131 111.4-196.4 167.3C133 151.7 67.7 96 2 40.6 1.3 40 .7 39.4 0 38.8c0 3.3.1 6.5.3 9.8 8.1 133 87 236 211.2 265.4-8.8 33-28.7 61.2-57.1 80.6C122.9 415.7 77 428.6 30 432c-9.5.7-17 8.5-17 18 0 9.9 8 18 18 18 20.3 0 40.7-1.7 61-5.1 41.3-6.9 81.3-23.7 114.7-49.2 41.1-31.3 68.6-76 77.2-126 127.3-25 210.8-132 216.6-267.3.2-3.8.3-7.6.3-11.4 0-5.5-4.5-10-10.3-9z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.article-list--icons li {
    padding-left: 0 !important;
}

.article-list--icons li::before {
    display: none !important;
}

.article-list--icons li i.item-icon {
    color: #db4442 !important;
    font-size: 20px;
    margin-right: 12px;
    width: 26px;
    text-align: center;
    display: inline-block;
}

/* Highlight Box / Feature Badges */
.highlight-box {
    background: linear-gradient(135deg, #fdfbf7 0%, #fff7f6 100%);
    border: 1.5px solid #f4d4d2;
    border-radius: 20px;
    padding: 36px 34px;
    margin: 45px 0;
    box-shadow: 0 8px 30px rgba(219, 68, 66, 0.05);
}

.highlight-box h4 {
    font-size: 24px;
    font-weight: 800;
    color: #db4442;
    margin-bottom: 24px;
}

.feature-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.feature-badge-item {
    background: #ffffff;
    border: 1.5px solid #eee1e0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 17px;
    font-weight: 700;
    color: #1c2d27;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}

/* Card Style Grid for Popular Dishes */
.dishes-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin: 5px 0 15px;
}

.dish-card-item {
    background: #ffffff;
    border: 1.5px solid #eee1e0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #1c2d27;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.025);
    transition: all 0.3s ease;
}

.dish-card-item:hover {
    border-color: #db4442;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(219, 68, 66, 0.1);
}

.dish-card-item i {
    color: #db4442;
    font-size: 20px;
    flex-shrink: 0;
}

.dish-card-item span {
    font-size: 17px;
    font-weight: 700;
    color: #1c2d27;
}

/* Target Audience Cards (Families, Restaurants, etc.) */
.target-audience-card {
    background: #ffffff;
    border: 1.5px solid #e2eae5;
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.target-audience-card:hover {
    border-color: #db4442;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(219, 68, 66, 0.12);
}

.target-audience-card i {
    color: #db4442 !important;
    font-size: 34px;
    margin-bottom: 12px;
}

.target-audience-card strong {
    font-size: 19px;
    font-weight: 700;
    color: #1c2d27;
    display: block;
}

/* In-Article CTA Banner */
.article-cta-banner {
    background: linear-gradient(135deg, #689b25 0%, #57851e 100%);
    padding: 50px 42px;
    border-radius: 22px;
    margin: 55px 0;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(104, 155, 37, 0.22);
}

.article-cta-banner h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.article-cta-banner p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
    margin-bottom: 28px !important;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-accent {
    background-color: #db4442;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #c53836;
    color: #ffffff;
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #1c2d27;
}

/* FAQ Section in Blog */
.faq-accordion-container {
    margin: 55px 0 45px;
}

.faq-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #db4442 !important;
    margin-bottom: 24px;
}

/* Article Footer Social Share */
.article-footer {
    padding-top: 30px;
    border-top: 1.5px solid #f0f4f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-buttons label {
    font-weight: 700;
    color: #1c2d27;
    font-size: 20px;
    margin-bottom: 0;
}

.share-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.share-btn--wa {
    background-color: #25d366;
}

.share-btn--fb {
    background-color: #1877f2;
}

.share-btn--tw {
    background-color: #1da1f2;
}

.share-btn--li {
    background-color: #0a66c2;
}

/* Back to Blog Button in Brand Theme Red */
.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    background-color: #db4442;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(219, 68, 66, 0.2);
    transition: all 0.3s ease;
}

.btn-back-blog:hover {
    background-color: #689b25;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(104, 155, 37, 0.3);
}