:root {
    --primary-color: #5e4b42; /* Warm brown */
    --secondary-color: #6b8c64; /* Darker Sage green for better contrast */
    --text-color: #4a4a4a;
    --background-color: #f9f5f0; /* Warm off-white */
    --accent-color: #c0684b; /* Darker Terracotta for better contrast */
    --light-accent: #f0e6d9; /* Cream */
    --dark-accent: #3d3630; /* Dark brown */
    --success-color: #6b8c64; /* Same as secondary */
    --card-shadow: 0 8px 24px rgba(94, 75, 66, 0.08); /* Softer, warmer shadow */
}

body {
    font-family: 'Lora', 'Georgia', serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', 'Georgia', serif;
    font-weight: 600;
    color: var(--dark-accent);
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

a:hover {
    color: var(--accent-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.nav-brand {
    color: var(--background-color);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--background-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--light-accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.nav-link:hover, .nav-link.active {
    color: var(--light-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.language-selector {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.current-lang {
    background: none;
    border: 1px solid var(--background-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
    min-width: 150px; /* Set fixed minimum width */
    width: 150px; /* Set fixed width */
    justify-content: flex-start; /* Ensure content starts from the left */
}

.current-lang:hover {
    background-color: var(--accent-color);
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 0.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    /* Remove margin-top and add padding-top instead */
    padding-top: 0.5rem;
}

/* Add a pseudo-element to fill the gap */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.lang-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--background-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: var(--accent-color);
}

.flag-icon {
    width: 1.5em;
    height: 1.5em;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Main content styles */
main {
    flex: 1;
    padding: 2rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23f0e6d9" opacity="0.3" x="0" y="0"/></svg>');
    background-repeat: repeat;
    background-size: 20px 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--light-accent);
}

.card-header {
    padding: 1.5rem;
    background-color: var(--light-accent);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: var(--light-accent);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Grid layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Horizontal scrolling projects container */
.projects-container {
    position: relative; /* Container for the scroll container and indicators */
    width: 100%;
    margin-top: 2rem;
}

/* Project tag filters */
.project-tag-filters {
    margin-bottom: 1.5rem;
}

.project-tag-filters h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.tag-filters-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tag-filters {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.tag-filters .tag {
    margin-bottom: 0;
    white-space: nowrap;
}

.tag-filters .tag.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.projects-scroll-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding: 1rem 0;
    padding-right: 40px; /* Add extra padding to show a bit of the next card */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: thin; /* For Firefox */
    cursor: grab;
    width: 100%;
    max-width: 100%;
}

.projects-scroll-container::-webkit-scrollbar {
    height: 12px;
    margin-top: 10px;
}

.projects-scroll-container::-webkit-scrollbar-track {
    background: var(--light-accent);
    border-radius: 6px;
    margin: 0 15px;
}

.projects-scroll-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 6px;
    border: 2px solid var(--light-accent);
}

.projects-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.projects-scroll-container.active {
    cursor: grabbing;
}

/* Prevent image dragging in scroll container */
.projects-scroll-container img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none; /* Ensures mouse events pass through to the container */
}

/* Scroll indicators */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    opacity: 0.8;
}

.scroll-indicator:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-indicator.left {
    left: 10px;
}

.scroll-indicator.right {
    right: 10px;
}

.scroll-indicator::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--secondary-color);
    border-right: 3px solid var(--secondary-color);
    display: block;
}

.scroll-indicator.left::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.scroll-indicator.right::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.projects-scroll-container .project-card {
    flex: 0 0 auto;
    width: 370px;
    min-width: 370px;
    max-width: 370px;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s, transform 0.3s;
}

/* We've removed the shadow effect on the third card */

/* Pulse animation for the hint card */
@keyframes pulse {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.projects-scroll-container .project-card.hint-card.pulse {
    animation: pulse 0.8s ease-in-out;
}

/* Project card */
.project-card {
    display: flex;
    flex-direction: column;
    height: 580px; /* Fixed height for consistent cards */
    max-height: 580px;
}

.project-card .card-body {
    flex: 1;
    overflow: hidden;
    padding: 1.25rem;
}

.project-card .card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.project-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.3;
}

.project-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background-color: var(--light-accent);
    color: var(--dark-accent);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.tag.active {
    background-color: var(--secondary-color);
    color: white;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Lora', 'Georgia', serif;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
}

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

/* Profile section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--light-accent);
    padding: 3rem;
    border-radius: 20px;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-accent);
    color: var(--dark-accent);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-accent);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-accent);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Blog styles */
.blog-content {
    width: 100%;
}

/* Project detail styles */
.project-detail {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.project-header {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.back-to-projects {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.project-content {
    margin-bottom: 2rem;
}

.project-media {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1.5rem;
    width: 350px;
}

/* Content will naturally wrap around the floated image */

.project-description {
    line-height: 1.8;
}

.project-detail-image {
    width: 100%;
    max-width: 350px;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-title {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: hidden; /* Ensures the title doesn't wrap under the image */
}

.project-tags {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow: hidden; /* Ensures the tags don't wrap under the image */
}

/* Special handling for story text to ensure it wraps properly */
.project-description .story-text {
    clear: none;
    margin-top: 0;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .project-media {
        float: none;
        margin-right: 0;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .project-detail-image {
        max-width: 100%;
        margin: 0 auto 1rem;
    }

    .project-title,
    .project-tags {
        overflow: visible; /* Allow normal flow on mobile */
    }

    /* Adjust story text for mobile */
    .project-description .story-text {
        margin-top: 1rem;
    }
}

/* Story text styling */
.story-text {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    padding: 2rem 3rem;
    background-color: var(--light-bg);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.story-text p {
    margin: 0; /* Remove all vertical margins */
    text-indent: 2em;
    hyphens: auto;
}

/* First paragraph in story-text should not be indented */
.story-text p:first-child {
    text-indent: 0;
}

/* Section break styling */
.story-section-break {
    margin: 0.85rem 0;
    height: 0.5rem;
    position: relative;
    clear: both; /* Ensure section breaks clear the float */
    width: 100%;
}

/* First paragraph after a section break should not be indented */
.story-section-break + p {
    text-indent: 0;
}

/* Remove border and background when multiple story-text divs are used */
.project-description .story-text + .story-text {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
    padding-top: 0;
    box-shadow: none;
    background-color: transparent;
}

.blog-header {
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-accent);
    border-radius: 30px 0 0 30px;
    font-family: 'Lora', 'Georgia', serif;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(125, 155, 118, 0.2);
}

.search-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    background-color: var(--primary-color);
}

.blog-main {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.tag-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.tag-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-item {
    margin-bottom: 0.25rem;
}

.tag-sidebar .tag {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.tag-sidebar .tag:hover {
    background-color: var(--light-accent);
}

.tag-sidebar .tag.active {
    background-color: var(--secondary-color);
    color: white;
}

.blog-posts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-list-item {
    display: flex;
    gap: 1.5rem;
}

.blog-list-image {
    flex: 0 0 250px;
    min-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .blog-list-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(94, 75, 66, 0.2);
    font-size: 4rem;
}

.blog-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-list-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.blog-list-content .read-more {
    align-self: flex-start;
    margin-top: auto;
}

.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-accent);
    border-radius: 8px;
}

/* Post detail styles */
.post-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
}

.back-to-posts {
    margin-bottom: 1rem;
}

.post-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h3 {
    margin: 2rem 0 1rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Hover-to-reveal styles */
.hover-reveal {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted var(--secondary-color);
    color: var(--secondary-color);
}

/* Hide the answer completely */
.hover-reveal .answer {
    display: none;
}

/* Tooltip styles */
.tooltip {
    position: absolute;
    z-index: 1000;
    background-color: var(--light-accent);
    color: var(--dark-accent);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    max-width: 300px;
}

.tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--light-accent) transparent transparent transparent;
}

/* Linguistic gloss styles */
.interlinear {
    font-family: "Courier New", Menlo, Consolas, "DejaVu Sans Mono", monospace;
    line-height: 1.6;
    white-space: normal;
    margin-top: -0.5rem; /* Space above gloss border */
    margin-bottom: 0.5rem; /* Space below gloss border */
    padding-top: 0.8rem; /* Space between gloss border and source line */
    padding-bottom: 1rem; /* Space between free translation and gloss border */
    padding-left: 2rem; /* Horizontal space from left gloss border */
    padding-right: 2rem; /* Horizontal space from right gloss border (if lines long enough for it to matter) */
    background-color: rgba(240, 230, 217, 0.3); /* Much lighter background */
    border-radius: 4px;
    border-left: 3px solid var(--light-accent);
    font-size: 1rem;
}

.interlinear .gloss-content {
    display: none; /* Hide the original content */
}

.interlinear-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -0.5rem; /* Part of space between gloss and separating line */
}

.interlinear .word-pair {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 0.3rem; /* Part of space between gloss and separating line */
}

.interlinear .source-word {
    font-style: italic;
    font-weight: bold;
}

.interlinear .gloss-word {
    color: var(--dark-accent);
}

/* the "idiomatic" translation */
.interlinear .free-translation {
    display: block;
    margin-top: 1em; /* Part of space between gloss and separating line */
    margin-bottom: -0.2em; /* Space between free translation and lower border */
    font-style: italic;
    font-family: 'Lora', 'Georgia', serif;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Lighter border */
    padding-top: 0.8em; /* Space between separating line and free translation */
    font-size: 1rem;
}

.small-caps {
    font-variant: small-caps;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-brand {
        margin-bottom: 1rem;
    }

    .nav-links {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .profile-section {
        margin-bottom: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Blog responsive styles */
    .blog-main {
        flex-direction: column;
    }

    .tag-sidebar {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .tag-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tag-item {
        margin-bottom: 0;
    }

    .tag-sidebar .tag {
        display: inline-block;
        width: auto;
    }

    .blog-list-item {
        flex-direction: column;
    }

    .blog-list-image {
        width: 100%;
        height: 250px;
        min-height: 0;
        flex: none;
    }
}

