/* --------------------------------------------------------------
   Header
-------------------------------------------------------------- */

.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header .wp-block-group,
.site-header .wp-block-template-part {
    box-sizing: border-box;
}

.site-header .wp-block-site-logo {
    margin: 0;
}

.site-header .wp-block-site-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.site-header .wp-block-site-title a {
    color: inherit;
    text-decoration: none;
}

.site-header .wp-block-navigation {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 600;
}

.site-header .wp-block-navigation__container {
    gap: 1.5rem;
}

.site-header .wp-block-navigation-item__content {
    color: inherit;
    text-decoration: none;
}

.site-header .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation-item__content:focus-visible {
    opacity: 0.65;
}


/* --------------------------------------------------------------
   Responsive site logo
-------------------------------------------------------------- */

.site-header .wp-block-site-logo img {
    width: 120px;
    height: auto;
}

@media (max-width: 1024px) {
    .site-header .wp-block-site-logo img {
        width: 95px;
    }
}

@media (max-width: 768px) {
    .site-header .wp-block-site-logo img {
        width: 72px;
    }
}

@media (max-width: 480px) {
    .site-header .wp-block-site-logo img {
        width: 60px;
    }
}


/* --------------------------------------------------------------
   Single post
-------------------------------------------------------------- */

.single-post-title {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .single-post-title {
        font-size: 44px;
    }
}

@media (max-width: 600px) {
    .single-post-title {
        font-size: 36px;
        line-height: 1.12;
    }
}


/* --------------------------------------------------------------
   Post metadata
-------------------------------------------------------------- */

.post-meta {
    font-size: 0.95rem;
    color: #666;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 40px;
}

.post-meta a {
    color: inherit;
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}


/* --------------------------------------------------------------
   Single post content
-------------------------------------------------------------- */

.single-post main .entry-content {
    max-width: 760px;
}


/* --------------------------------------------------------------
   Post listing excerpt
-------------------------------------------------------------- */

.wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* --------------------------------------------------------------
   Post summary: excerpt + featured image
-------------------------------------------------------------- */

.post-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: start;
}

.post-summary .wp-block-post-excerpt {
    min-width: 0;
    margin: 0;
}

.post-summary .wp-block-post-featured-image {
    width: 220px;
    max-width: 220px;
    margin: 0;
    overflow: hidden;
}

.post-summary .wp-block-post-featured-image a {
    display: block;
    width: 100%;
}

.post-summary .wp-block-post-featured-image img {
    display: block;
    width: 220px;
    height: 145px;
    max-width: none;
    object-fit: cover;
    border-radius: 4px;
}
.wp-block-read-more {
    margin-top: 14px;
    margin-bottom: 12px;
}

.wp-block-separator {
    margin-top: 0;
    margin-bottom: 18px;
}
/* Mobile */
@media (max-width: 600px) {
    .post-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .post-summary .wp-block-post-featured-image {
        width: 100%;
        max-width: none;
    }

    .post-summary .wp-block-post-featured-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }
}
/* Post title links - same dark purple whether visited or not */
.wp-block-post-title a,
.wp-block-post-title a:visited {
    color: #5b1593;
    text-decoration: none;
}

.wp-block-post-title a:hover,
.wp-block-post-title a:focus-visible {
    color: #7a1fb8;
}
/* Read more */
.wp-block-read-more,
.wp-block-read-more:visited {
    color: #5b1593;
}

.wp-block-read-more:hover,
.wp-block-read-more:focus-visible {
    color: #7a1fb8;
}

/* Post metadata links */
.post-meta a,
.post-meta a:visited {
    color: #5b1593;
}