/* Banan Beach blog pages */

.blog-hero .hero__headline {
    font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
    letter-spacing: -0.05rem;
    line-height: 1.15;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
}

.blog-hero .hero__subhead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    margin-top: 0.75rem;
    text-align: center;
}

.blog-section {
    margin: 0 auto 4rem;
    max-width: 915px;
    padding: 0 25px;
    width: 100%;
}

.blog-back-link {
    color: #917c59;
    display: inline-block;
    font-family: Cera PRO, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-back-link:hover {
    color: #3f3f29;
    text-decoration: underline;
}

.blog-hero-image,
.blog-infographic {
    border-radius: 4px;
    display: block;
    height: auto;
    margin: 0 auto 2rem;
    max-width: 100%;
    width: 100%;
}

.blog-content.s-editor h1,
.blog-content.s-editor h2,
.blog-content.s-editor h3,
.blog-content.s-editor h4 {
    color: #3f3f29;
    font-family: "Silk Serif", serif;
    font-weight: 400;
    line-height: 1.3;
    margin: 2rem 0 1rem;
}

.blog-content.s-editor h2 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}

.blog-content.s-editor h3 {
    font-size: clamp(1.25rem, 1.5vw + 0.9rem, 1.5rem);
}

.blog-content.s-editor p,
.blog-content.s-editor li {
    margin-bottom: 1rem;
}

.blog-content.s-editor ul,
.blog-content.s-editor ol {
    margin: 0 0 1.25rem 1.25rem;
    padding-left: 1rem;
}

.blog-content.s-editor a {
    color: #917c59;
    text-decoration: underline;
}

.blog-content.s-editor a:hover {
    color: #3f3f29;
}

.blog-content.s-editor img {
    border-radius: 4px;
    display: block;
    height: auto;
    margin: 1.5rem auto;
    max-width: 100%;
}

.blog-content.s-editor blockquote {
    border-left: 3px solid #bda785;
    color: #5a5a42;
    margin: 1.5rem 0;
    padding: 0.25rem 0 0.25rem 1.25rem;
}

.blog-index-intro {
    color: #917c59;
    font-family: "Silk Serif", serif;
    font-size: clamp(1.35rem, 2vw + 0.8rem, 1.75rem);
    line-height: 1.35;
    margin: 0 0 2rem;
    text-align: center;
}

.blog-card-list {
    display: grid;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .blog-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.blog-card {
    background: #fff;
    border: 1px solid #e8dfd1;
    box-shadow: 0 8px 24px rgba(63, 63, 41, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 12px 28px rgba(63, 63, 41, 0.1);
    transform: translateY(-2px);
}

.blog-card__media {
    aspect-ratio: 16 / 9;
    background: #f4f1ea;
    overflow: hidden;
}

.blog-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card__date {
    color: #917c59;
    font-family: Cera PRO, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12rem;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.blog-card__title {
    font-family: "Silk Serif", serif;
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.blog-card__title a {
    color: #3f3f29;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #917c59;
}

.blog-card__excerpt {
    color: #5a5a42;
    flex: 1;
    font-family: Cera PRO, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.blog-card__read-more {
    color: #917c59;
    font-family: Cera PRO, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-card__read-more:hover {
    color: #3f3f29;
    text-decoration: underline;
}

.blog-empty {
    color: #5a5a42;
    font-family: Cera PRO, sans-serif;
    font-size: 1.05rem;
    text-align: center;
}

.blog-keywords {
    border-top: 1px dashed #e8dfd1;
    color: #917c59;
    font-family: Cera PRO, sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.08rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-transform: uppercase;
}

.blog-keywords span {
    color: #3f3f29;
    font-weight: 500;
    text-transform: none;
}
