/* Compact blog index: only the page body is new; shared header/footer stay in styles2b9f.css. */
.page-blog {
    background: #f5eedc;
    color: #0b3c32;
}

.page-blog .site-header {
    background: #063222;
}

.blog-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(230px, 24vw, 320px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 92px 0 28px;
    color: #fff8e8;
    background: #082d22;
    border-bottom: 1px solid rgba(232, 180, 168, .4);
}

.blog-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6, 38, 29, .32) 0%, rgba(6, 38, 29, .68) 100%), linear-gradient(180deg, rgba(5, 36, 28, .45) 0%, rgba(5, 36, 28, .15) 50%, rgba(5, 36, 28, .65) 100%);
    content: "";
}

.blog-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.blog-hero__content {
    position: relative;
    text-align: center;
}

.blog-hero h1,
.blog-index h2 {
    margin: 0;
    font-family: "DM Serif Display", Georgia, serif;
}

.blog-hero h1 {
    font-size: clamp(2.55rem, 5vw, 4.15rem);
    line-height: .98;
    color: #fffaf0;
}

.blog-hero h1.typing-title {
    display: inline-block;
    position: relative;
    max-width: 100%;
    overflow: visible;
    white-space: nowrap;
}

.blog-hero .typing-text {
    display: inline-block;
    width: 0;
    min-height: 1.22em;
    overflow: hidden;
    padding: 0 3px .16em 0;
    border-right: 3px solid #e8b4a8;
    vertical-align: bottom;
    white-space: nowrap;
    line-height: 1.15;
    animation: blog-typing 1.25s steps(12, end) .25s forwards, blog-cursor .7s step-end 4 .25s forwards;
}

@keyframes blog-typing {
    from {
        width: 0;
    }

    to {
        width: 5.6em;
    }
}

@keyframes blog-cursor {

    0%,
    100% {
        border-right-color: transparent;
    }

    50% {
        border-right-color: #e8b4a8;
    }
}

.blog-index {
    padding: 34px 0 38px;
}

.page-blog .blog-index .container {
    width: min(calc(100% - 32px), 1440px);
    max-width: none;
}

.blog-index__heading {
    margin: 0 auto 25px;
    text-align: center;
}

.blog-index__heading p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #e8b4a8;
    font: 800 .72rem/1 Inter, sans-serif;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.blog-index__heading p::before,
.blog-index__heading p::after {
    width: 21px;
    height: 1px;
    background: #c69b4c;
    content: "";
}

.blog-index h2 {
    color: #093d32;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.05;
}

.blog-index__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

.blog-entry {
    overflow: hidden;
    background: #fffdf8;
    border: 1.5px solid #e8b4a8;
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(17, 53, 38, .06);
    transition: transform .28s ease, border-color .28s ease, border-width .28s ease, box-shadow .28s ease;
}

.blog-entry>img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    background: #0a4435;
    transition: transform .38s ease, filter .38s ease;
}

.blog-entry__body {
    display: flex;
    min-height: 214px;
    flex-direction: column;
    padding: 21px 24px 22px;
}

.blog-entry__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 8px;
    color: #17614d;
    font: 800 .63rem/1.1 Inter, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.blog-entry__meta time {
    color: #17614d;
}

.blog-entry h3 {
    margin: 0 0 5px;
    color: #0b3d32;
    font: 400 1.32rem/1.12 "DM Serif Display", Georgia, serif;
    transition: color .28s ease;
}

.blog-entry p {
    margin: 0;
    color: #5f675f;
    font: 400 .9rem/1.5 Inter, sans-serif;
}

.blog-entry__more {
    margin-top: auto;
    padding-top: 8px;
    color: #17614d;
    font: 800 .67rem/1 Inter, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-entry__more i {
    display: inline-block;
    margin-left: 4px;
    transition: transform .28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .blog-entry:hover {
        transform: translateY(-7px);
        border-width: 2.5px;
        border-color: #e8b4a8;
        box-shadow: 0 16px 30px rgba(10, 55, 39, .16);
    }

    .blog-entry:hover>img {
        transform: scale(1.045);
        filter: saturate(1.06) contrast(1.02);
    }

    .blog-entry:hover h3 {
        color: #17614d;
    }

    .blog-entry:hover .blog-entry__more i {
        transform: translateX(5px);
    }
}

.page-blog .gcsf-footer {
    margin-top: 0;
}

@media (max-width: 900px) {
    .page-blog .blog-index .container {
        width: min(calc(100% - 28px), 1440px);
    }

    .blog-index__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .blog-entry>img {
        height: auto;
        aspect-ratio: 1.58;
    }
}

@media (max-width: 620px) {
    .blog-hero {
        min-height: 190px;
        padding: 78px 0 24px;
    }

    .blog-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.2rem);
    }

    .blog-index {
        padding: 28px 0 32px;
    }

    .page-blog .blog-index .container {
        width: min(calc(100% - 24px), 1440px);
    }

    .blog-index__heading {
        margin-bottom: 18px;
    }

    .blog-index h2 {
        font-size: clamp(1.72rem, 8vw, 2.15rem);
    }

    .blog-index__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .blog-entry {
        border-radius: 18px;
    }

    .blog-entry>img {
        height: auto;
        aspect-ratio: 1.54;
    }

    .blog-entry__body {
        min-height: 0;
        padding: 18px;
    }

    .blog-entry h3 {
        font-size: 1.4rem;
    }

    .blog-entry p {
        font-size: .92rem;
    }
}

@media (max-width: 390px) {
    .blog-hero {
        min-height: 178px;
        padding: 72px 0 20px;
    }

    .blog-index {
        padding-top: 24px;
    }

    .blog-entry__body {
        padding: 10px;
    }

    .blog-entry__meta {
        gap: 9px;
        font-size: .59rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero .typing-text {
        width: 5.6em;
        border-right: 0;
        animation: none;
    }

    .blog-entry,
    .blog-entry>img {
        transition: none;
    }
}

.blog-entry__more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.blog-entry__more i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}