/* ========================================
   CUSTOM OVERRIDES FOR WORDPRESS
   ======================================== */

/* Custom logo size match */
.site-header .custom-logo {
    width: 130px;
    height: auto;
}

/* Admin bar compensation */
body.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* WordPress gallery alignment fixes */
.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}
.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}
.aligncenter {
    display: block;
    margin: 0 auto 1.5em;
    clear: both;
}

/* Gutenberg block alignments */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0197B2;
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    text-decoration: none;
    font-size: 14px;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Prose styles for Gutenberg / page content */
.prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    color: #475569;
}
.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #0f172a;
}
.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #0f172a;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}
.prose a {
    color: #0197B2;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.prose a:hover {
    color: #017a8f;
}
.prose img {
    border-radius: 0.75rem;
    margin: 1.5em 0;
}
.prose blockquote {
    border-left: 4px solid #0197B2;
    padding-left: 1rem;
    font-style: italic;
    color: #64748b;
    margin: 1.5em 0;
}
