/* =====================================================
   JOURNAL HERO SECTION
   ===================================================== */
.journal-hero {
    background-color: #f5f4ef;
    /* Light, warm cream background */
    padding: 60px 0 60px 0;
    width: 100%;
}

.journal-hero-ctnr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Baseline aligned with JOURNAL title */
}

.journal-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Category links above JOURNAL */
.journal-categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.journal-category-link {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #9c9a95;
    /* Muted gray for non-active categories */
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: block;
}

/* Restrict width of the first link to wrap "PROPERTY STYLING" as "PROPERTY" and "STYLING" on separate lines */
.journal-category-link.wrap-property {
    max-width: 80px;
}

.journal-category-link:hover {
    color: #8E7E64;
}

/* Main title "JOURNAL" */
.journal-main-title {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #1a1a19;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

/* Right side - search input */
.journal-hero-right {
    flex-grow: 1;
    max-width: 440px;
    margin-left: 40px;
    margin-bottom: 2px;
    /* Small alignment adjustment */
}

.journal-search-form {
    width: 100%;
    position: relative;
}

.journal-search-input {
    width: 100%;
    height: 44px;
    padding: 10px 18px;
    border: 1px solid #1a1a19;
    /* Thin dark border */
    background-color: transparent;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #1a1a19;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.journal-search-input::placeholder {
    color: #000;
    font-weight: 300;
}

.journal-search-input:focus {
    border-color: var(--color-3);
    box-shadow: 0 0 0 1px rgba(142, 126, 100, 0.2);
}


/* =====================================================
   JOURNAL GRID SECTION
   ===================================================== */
.journal-section {
    background-color: #ffffff;
    padding: 40px 0;
    width: 100%;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Article Cards */
.journal-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.journal-card-image-wrap {
    width: 100%;
    aspect-ratio: 350 / 233;
    /* Standard landscape aspect ratio */
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #f7f6f2;
}

.journal-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover .journal-card-image {
    transform: scale(1.05);
    /* Soft, elegant zoom */
}

.journal-card-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.journal-card-category {
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;
    /* Theme accent gold/bronze color */
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.2;
}

.journal-card-title {
    /* Clean font family matching site */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 991px) {
    .journal-hero {
        padding: 50px 0 40px 0;
    }

    .journal-hero-ctnr {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .journal-hero-right {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }

    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .journal-section {
        padding: 60px 0;
    }
}

@media (max-width: 575px) {
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .journal-section {
        padding: 40px 0;
    }

    .journal-main-title {
        font-size: 32px;
    }

    .journal-card-image-wrap {
        margin-bottom: 18px;
    }

    .journal-card-title {
        font-size: 15px;
    }
}