* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: var(--font-primary);
    color: var(--color-main-blue);
    background: var(--color-background);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--color-main-blue);
}

h1, h2, h3 {
    text-align: center;
}

h1 {
    font-size: var(--font-h1);
    line-height: var(--lh-h1);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: var(--font-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-bold);
}

h3 {
    font-size: var(--font-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-semibold);
}

h4 {
    font-size: var(--font-h4);
    line-height: var(--lh-h4);
    font-weight: var(--fw-semibold);
}

h5 {
    color: var(--color-black);
    text-align: center;
    font-family: var(--font-secondary);
    font-size: var(--text-h5);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

p {
    font-family: var(--font-primary);
    color: var(--color-main-blue);
    font-size: var(--font-body);
    line-height: var(--lh-body);
}

button {
    font-family: var(--font-primary);
    font-size: var(--text-md);
    background: none;
    border: none;
    cursor: pointer;
}

.sr-only {
    display: none;
}

.div-32 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.cta-key {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--color-black);
    text-align: center;
    font-style: italic;
}

li {
    list-style: none;
}

@media (max-width: 768px) {
    .app-cta {
        max-width: 50%;
    }

    button {
        width: 100%;
    }
}

/* BLOG  */

.single-post-display {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.single-post__header {
    text-align: center;
    margin-bottom: 40px;
}

.single-post__category {
    margin-bottom: 18px;
}

.single-post__category a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;

    border-radius: 999px;

    background-color: #f1f5f3;
    color: #4f6f63;

    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.single-post__category a:hover {
    background-color: #4f6f63;
    color: #ffffff;
    transform: translateY(-2px);
}

.single-post__title {
    margin: 0 0 20px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.single-post__meta {
    font-size: 0.9rem;
}

.single-post__featured-image {
    margin: 0 0 40px;
}

.single-post__featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.single-post__content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-post__content h2 {
    margin-top: 40px;
}

.single-post__content h3 {
    margin-top: 30px;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
}

.single-post__footer {
    margin-top: 50px;
}

.blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px;
}


/* Header */

.blog__header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.blog__header h1 {
    margin-bottom: 16px;
}

.blog__header p {
    margin: 0;
    line-height: 1.7;
}


/* Grid */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* =========================================
   BLOG CARD
========================================= */

.blog-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background-color: #ffffff;
    border: 1px solid #edf1ef;
    border-radius: 18px;

    box-shadow: 0 4px 18px rgba(40, 60, 50, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 30px rgba(40, 60, 50, 0.11);
}


/* Image */

.blog-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}


/* Body */

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 24px;
}


/* Category */

.blog-card__category {
    margin-bottom: 12px;
}

.blog-card__category a {
    display: inline-flex;

    padding: 6px 10px;

    border-radius: 999px;

    background-color: #f1f5f3;
    color: #4f6f63;

    font-size: 0.75rem;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.blog-card__category a:hover {
    background-color: #4f6f63;
    color: #ffffff;
}


/* Title */

.blog-card__title {
    margin: 0 0 12px;

    font-size: 1.3rem;
    line-height: 1.35;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    text-decoration: none;
}


/* Excerpt */

.blog-card__excerpt {
    margin: 0 0 24px;

    color: #66736d;

    font-size: 0.95rem;
    line-height: 1.65;
}


/* Link */

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;

    color: #4f6f63;

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.blog-card__link:hover {
    gap: 12px;
    color: #30483f;
}

@media (max-width: 900px) {

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .blog {
        padding: 50px 20px;
    }

    .blog__header {
        margin-bottom: 35px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}