/*
Theme Name:   Nebula Orbit
Description:  Nebula WordPress Starter Theme
Theme URI:    https://nebula.design
Author:       Nebula
Author URI:   https://nebula.design
Update URI:   false
Version:      1.0.0
License:      GPL-2.0+
License URI:  http://www.gnu.org/licenses/gpl-2.0.html

Table of Contents:
1. Site Header
2. Header Contact Bar
3. Site Footer
4. Footer Navigation
5. Copyright Bar
6. 404 Page
7. Responsive Styles
*/

/* ==========================================================================
   0. THEME STYLES
   ========================================================================== */

.is-style-wave-underline {
	position: relative;align-content;
}

.wp-block-group.is-style-wave-underline {
    display: inline-block;
}

.is-style-wave-underline::after {
    content: "";
    position: absolute;
    left: -0.25em;
    right: -0.25em;
    bottom: -.85em;
    height: 1em;
    z-index: -1;
    background-image: var(--wave-url, url(https://meredithsmission.org.uk/wp-content/uploads/2026/02/wave-002.svg));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    pointer-events: none;
}

ul.is-style-question-marks {
    list-style: none;
    padding-left: 0;
}

ul.is-style-question-marks > li {
    padding-left: 1.5em;
    position: relative;
}

ul.is-style-question-marks > li::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--wp--preset--color--primary);
}


/* ==========================================================================
   1. SITE HEADER
   ========================================================================== */

.site-header {
    background: var(--wp--preset--color--white);
    width: 100%;
    padding: 5px 0;
    position: relative;
    z-index: 99999;
}

.site-header .wrap {
    display: grid;
    max-width: var(--wp--custom--layout--wide);
    margin: 0 auto;
    padding-left: var(--wp--preset--spacing--medium);
    padding-right: var(--wp--preset--spacing--medium);
    grid-template-columns: 350px 2fr auto;
}

/* Site Logo */
.site-header .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-header .custom-logo-link img {
    max-width: 400px;
    width: auto;
    height: auto;
    margin-bottom: -60px;
}

.site-header__logo {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    color: var(--wp--preset--color--white);
    text-decoration: none;
}

.site-header__logo:hover {
    color: var(--wp--preset--color--grey);
}


/* ==========================================================================
   2. HEADER CONTACT BAR
   ========================================================================== */

    #contact-button-wrap {
        display: flex;
        justify-content: flex-end;
        margin-right: 30px;
        align-items: center;
    }

/* ==========================================================================
   3. SITE FOOTER
   ========================================================================== */

.site-footer {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--x-large) 0;
    position: relative;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    margin-top: -50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 150'%3E%3Cpath d='M0 41L47.7 44.2C95.3 47.3 190.7 53.7 285.8 59.2C381 64.7 476 69.3 571.2 65C666.3 60.7 761.7 47.3 857 40C952.3 32.7 1047.7 31.3 1143 35.3C1238.3 39.3 1333.7 48.7 1428.8 48.5C1524 48.3 1619 38.7 1714.2 34.8C1809.3 31 1904.7 33 1952.3 34L2000 35' fill='none' stroke-linecap='round' stroke-linejoin='miter' stroke='%23f36673' stroke-width='40'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    pointer-events: none;
    z-index: 1;
}

span.made-with-love img {
    max-width: 10px;
    filter: brightness(100);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    max-width: var(--wp--custom--layout--wide);
    margin: 0 auto;
    padding: 0 var(--wp--preset--spacing--medium);
    position: relative;
    z-index: 2;
}

.footer-brand .custom-logo-link {
    border-radius: 12px;
}

/* Footer Brand Column */
.footer-brand {
    padding-right: var(--wp--preset--spacing--medium);
}

.footer-brand .custom-logo-link {
    display: inline-block;
    margin-bottom: var(--wp--preset--spacing--small);
}

.footer-brand .custom-logo-link img {
    max-width: 200px;
    height: auto;
    filter: brightness(100);
}

.footer-site-name {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    display: block;
    margin-bottom: var(--wp--preset--spacing--small);
}

.footer-mission-title {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--tiny);
    font-family: var(--wp--preset--font-family--sans);
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 700;
    margin: var(--wp--preset--spacing--small) 0;
    color: var(--wp--preset--color--black);
}
.footer-nav-col.with-logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-nav-col.with-logo img {
    max-width: 200px;
}
.footer-mission-icon {
    display: inline-flex;
    align-items: center;
    color: var(--wp--preset--color--senary);
}

.footer-mission-icon svg {
    fill: var(--wp--preset--color--senary);
}

.footer-tagline {
    font-size: var(--wp--preset--font-size--normal);
    color: var(--wp--preset--color--white);
    margin: 0 0 var(--wp--preset--spacing--medium) 0;
    line-height: var(--wp--custom--line-height--normal);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: var(--wp--preset--spacing--small);
}

.footer-social .social_media {
    display: flex;
    gap: var(--wp--preset--spacing--small);
}

footer .menu>li a {
    font-size: var(--wp--preset--font-size--normal);
}

footer .menu {
    margin-left: var(--wp--preset--spacing--small);
}

.footer-social .social_media a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: grid !important;
    place-items: center !important;
    border: 1px solid var(--wp--preset--color--white);
    border-radius: 50%;
    transition: all 0.25s ease;
    overflow: visible;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-social .social_media a:hover {
    background: var(--wp--preset--color--secondary);
    border-color: var(--wp--preset--color--white);
}

.footer-social .social_media svg {
    fill: var(--wp--preset--color--white);
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    transition: fill 0.25s ease;
    overflow: visible;
    display: block !important;
    margin: 0 !important;
}

.footer-social .social_media a:hover svg {
    fill: var(--wp--preset--color--primary);
}


/* ==========================================================================
   4. FOOTER NAVIGATION
   ========================================================================== */

.footer-nav-col h5 {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 600;
    margin: 0 0 var(--wp--preset--spacing--small) 0;
    color: var(--wp--preset--color--white);
}

.footer-nav-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-col li {
    margin-bottom: var(--wp--preset--spacing--tiny);
}

.footer-nav-col a {
    color: var(--wp--preset--color--white);
    text-decoration: none;
    font-size: var(--wp--preset--font-size--normal);
    transition: opacity 0.25s ease;
}

.footer-nav-col a:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.social_media img:hover {
    filter: brightness(0);
}
/* Footer Contact Column */
.footer-contact-col h5 {
    font-family: var(--wp--preset--font-family--sans);
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 600;
    margin: 0 0 var(--wp--preset--spacing--small) 0;
    color: var(--wp--preset--color--white);
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--wp--preset--spacing--tiny);
    margin-bottom: var(--wp--preset--spacing--tiny);
    color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--normal);
}

.footer-contact-icon {
    color: var(--wp--preset--color--white);
    font-size: var(--wp--preset--font-size--normal);
    line-height: 1;
    flex-shrink: 0;
}

.footer-contact-list svg {
    fill: var(--wp--preset--color--white);
}

.footer-contact-item a {
    color: var(--wp--preset--color--white);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: var(--wp--preset--color--white);
    text-decoration: underline;
    opacity: 0.8;
}


/* ==========================================================================
   5. COPYRIGHT BAR
   ========================================================================== */

#copyright {
    background: var(--wp--preset--color--primary);
    padding: var(--wp--preset--spacing--medium) 0;
    border-top: 4px solid #ffffff3d;
}

.copyright-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: var(--wp--preset--spacing--medium);
    max-width: var(--wp--custom--layout--wide);
    margin: 0 auto;
    padding: 0 var(--wp--preset--spacing--medium);
}

#copyright p {
    margin: 0;
    font-size: var(--wp--preset--font-size--tiny);
    color: var(--wp--preset--color--grey);
}

.copyright-text {
    grid-column: 1;
}

.copyright-center {
    grid-column: 2;
    text-align: center;
    font-size: var(--wp--preset--font-size--tiny);
    color: var(--wp--preset--color--grey);
}

.charity-number {
    margin-right: var(--wp--preset--spacing--tiny);
}

.made-with-love {
    color: var(--wp--preset--color--white);
}

#copyright .copyright-credit {
    grid-column: 3;
    margin: 0;
    text-align: right;
}

#copyright .copyright-credit a {
    color: var(--wp--preset--color--white);
    text-decoration: none;
    transition: color 0.25s ease;
}

#copyright .copyright-credit a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   6. 404 PAGE
   ========================================================================== */

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.error-404__container {
    max-width: 100%;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--wp--preset--spacing--xx-large);
}

.error-404__code {
    position: relative;
    margin-bottom: var(--wp--preset--spacing--medium);
}

.error-404__number {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: -0.05em;
}

.error-404__decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid var(--wp--preset--color--grey);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}

.error-404__title {
    font-family: var(--wp--preset--font-family--raleway);
    font-size: var(--wp--preset--font-size--gigantic);
    font-weight: 700;
    margin: 0 0 var(--wp--preset--spacing--small) 0;
    color: var(--wp--preset--color--black);
}

.error-404__message {
    font-family: var(--wp--preset--font-family--open-sans);
    font-size: var(--wp--preset--font-size--medium);
    color: var(--wp--preset--color--primary);
    margin: 0 0 var(--wp--preset--spacing--large) 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--wp--custom--line-height--normal);
}

.error-404__actions {
    margin-bottom: var(--wp--preset--spacing--large);
}

.error-404__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
    border-radius: var(--wp--custom--border--radius--large);
    font-family: var(--wp--preset--font-family--open-sans);
    font-weight: 600;
    font-size: var(--wp--preset--font-size--normal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-404__button:hover {
    background: var(--wp--preset--color--secondary);
    transform: translateY(-1px);
}

.error-404__button svg {
    transition: transform 0.3s ease;
}

.error-404__button:hover svg {
    transform: translateX(-4px);
}

/* 404 Search Form */
.error-404__search {
    border-top: 1px solid var(--wp--preset--color--grey);
    padding-top: var(--wp--preset--spacing--medium);
    max-width: 400px;
    margin: 0 auto;
}

.error-404__search-label {
    font-size: var(--wp--preset--font-size--tiny);
    color: var(--wp--preset--color--primary);
    margin: 0 0 var(--wp--preset--spacing--small) 0;
}

.error-404 .search-form,
.error-404 .wp-block-search {
    display: flex;
    gap: 0;
    max-width: 100%;
}

.error-404 .wp-block-search__inside-wrapper {
    display: flex;
    width: 100%;
    background: var(--wp--preset--color--white);
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: var(--wp--custom--border--radius--large);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.error-404 .wp-block-search__inside-wrapper:focus-within {
    border-color: var(--wp--preset--color--secondary);
    box-shadow: 0 0 0 4px rgba(74, 85, 104, 0.1);
}

.error-404 .wp-block-search__input,
.error-404 .search-form input[type="search"] {
    flex: 1;
    padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
    border: none;
    background: transparent;
    font-family: var(--wp--preset--font-family--open-sans);
    font-size: var(--wp--preset--font-size--normal);
    color: var(--wp--preset--color--black);
}

.error-404 .wp-block-search__input:focus,
.error-404 .search-form input[type="search"]:focus {
    outline: none;
}

.error-404 .wp-block-search__input::placeholder {
    color: var(--wp--preset--color--tertiary);
}

.error-404 .wp-block-search__button,
.error-404 .search-form button {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    border: none;
    padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
    font-family: var(--wp--preset--font-family--open-sans);
    font-weight: 600;
    font-size: var(--wp--preset--font-size--normal);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-404 .wp-block-search__button:hover,
.error-404 .search-form button:hover {
    background: var(--wp--preset--color--secondary);
}

.error-404 .wp-block-search__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 404 Decorative Shapes */
.error-404__visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.error-404__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.error-404__shape--1 {
    width: 400px;
    height: 400px;
    background: var(--wp--preset--color--primary);
    top: -100px;
    right: -100px;
}

.error-404__shape--2 {
    width: 300px;
    height: 300px;
    background: var(--wp--preset--color--secondary);
    bottom: -50px;
    left: -100px;
}

.error-404__shape--3 {
    width: 150px;
    height: 150px;
    background: var(--wp--preset--color--primary);
    top: 40%;
    left: 10%;
}


/* ==========================================================================
   7. IMAGE STYLES
   ========================================================================== */
figure {
    position: relative;
}

figcaption.wp-element-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-30%, -50%);
    padding: 10px 30px;
    background: var(--wp--preset--color--primary);
    color: white;
    border-radius: var(--wp--custom--border--radius--medium);
    margin: 0;
}

/*Style Controls*/
.wp-block-group.is-style-minus-margin-left {
    position: relative;
    margin-left: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-right {
    position: relative;
    margin-right: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-top {
    position: relative;
    margin-top: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

.wp-block-group.is-style-minus-margin-bottom {
    position: relative;
    margin-bottom: calc(var(--wp--preset--spacing--x-large) * -1) !important;
    z-index: 25;
}

/* ==========================================================================
   8. animate numbers css
   ========================================================================== */
/*  */

.digit-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    margin-bottom: -6px;
}

.roller {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateY(5px);
}

.digit {
    display: flex;
    flex-shrink: 0;
    line-height: 1;
    justify-content: center;
}

.wp-block-nblocks-accordion.nblocks-accordion {
    padding: 0 0 15px 0;
    margin: 0;
}


/* Base styles - text visible by default for SEO */
.is-style-fading {
    opacity: 1;
    visibility: visible;
}

/* Word animation styles */
.is-style-fading span {
    display: inline-block;
    opacity: 0;
    filter: blur(4px);
    animation: fadeInWord 0.8s cubic-bezier(0.11, 0, 0.5, 0) forwards;
}

/* Keyframe animation */
@keyframes fadeInWord {
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .is-style-fading span {
        animation: none;
        opacity: 1;
        filter: none;
    }
}

/* Fallback for users without JavaScript */
.no-js .is-style-fading span {
    opacity: 1;
    filter: none;
    animation: none;
}






.archive-inner-header {
    max-width: 800px;
    text-align: center;
    margin: auto;
}

.archive-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-bottom: 100px;
    z-index: 9999;
    color: var(--wp--preset--color--charcoal);
}

.archive-inner-header:after {
    position: absolute;
    z-index: 99;
    content: '';
    top: -130px;
    left: 0;
    height: 400px;
    width: 400px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary);
    filter: blur(140px);
    z-index: -1;
}

.archive-inner-header {
    position: relative;
    z-index: 99999;
}


.archive-header {
    position: relative;
    overflow: visible;
}

.archive-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    margin-bottom: -50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 150'%3E%3Cpath d='M0 41L47.7 44.2C95.3 47.3 190.7 53.7 285.8 59.2C381 64.7 476 69.3 571.2 65C666.3 60.7 761.7 47.3 857 40C952.3 32.7 1047.7 31.3 1143 35.3C1238.3 39.3 1333.7 48.7 1428.8 48.5C1524 48.3 1619 38.7 1714.2 34.8C1809.3 31 1904.7 33 1952.3 34L2000 35' fill='none' stroke-linecap='round' stroke-linejoin='miter' stroke='%23f7aa29' stroke-width='40'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    pointer-events: none;
    z-index: 10000;
}

.archive-inner-header:before {
    position: absolute;
    z-index: 99;
    content: '';
    top: -130px;
    right: 0;
    height: 400px;
    width: 400px;
    border-radius: 50%;
    background: var(--wp--preset--color--secondary);
    filter: blur(140px);
    z-index: -1;
}


.posts.grid.columns-3 {
    margin: var(--wp--preset--spacing--large) 0;
}

.posts.grid.columns-3 .type-post img {
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
}

.posts.grid.columns-3 .card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 999;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: var(--wp--preset--font-size--min);
    font-weight: bold;
}

.posts.grid.columns-3 .card-thumbnail {
    position: relative;
}

.posts.grid.columns-3 .card-title {
    font-size: var(--wp--preset--font-size--medium);
    text-decoration: none;
}

.posts.grid.columns-3 .type-post a {
    text-decoration: none;
}

.posts.grid.columns-3 .card-excerpt {
    font-size: var(--wp--preset--font-size--tiny);
}

.posts.grid.columns-3 .card-date {
    font-size: var(--wp--preset--font-size--tiny);
}

.posts.grid.columns-3 .card-meta {
    padding: var(--wp--preset--spacing--small);
}

.posts.grid.columns-3 .type-post {
    border-radius: 12px;
    border: 2px solid #0000000f;
}

.posts.grid.columns-3 .card-readmore {
    font-size: var(--wp--preset--font-size--tiny);
    text-align: right;
    width: 100%;
    display: block;
}

/* ==========================================================================
   9. BLOCKQUOTE STYLES
   ========================================================================== */

blockquote.wp-block-quote {
    position: relative;
    margin: var(--wp--preset--spacing--medium);
    padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--large) var(--wp--preset--spacing--large) var(--wp--preset--spacing--x-large);
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border--radius--medium);
    border: none;
    overflow: hidden;
    box-shadow: var(--wp--preset--shadow--subtle);
}

blockquote.wp-block-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--wp--preset--color--primary);
}

blockquote.wp-block-quote::after {
    content: '\201C';
    position: absolute;
    top: -12px;
    right: 0px;
    font-family: var(--wp--preset--font-family--sans), serif;
    font-size: 10rem;
    line-height: 1;
    font-weight: 900;
    color: var(--wp--preset--color--primary);
    opacity: 0.1;
    pointer-events: none;
}

blockquote.wp-block-quote p {
    font-family: var(--wp--preset--font-family--sans);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
    font-style: italic;
    color: var(--wp--preset--color--black);
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--medium);
    line-height: var(--wp--custom--line-height--normal);
    position: relative;
    z-index: 1;
}

blockquote.wp-block-quote p:last-child {
    margin-bottom: 0;
}

blockquote.wp-block-quote cite {
    display: block;
    font-family: var(--wp--preset--font-family--sans), sans-serif;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--wp--preset--spacing--medium);
    position: relative;
    z-index: 1;
}

blockquote.wp-block-quote cite::before {
    content: '- ';
    color: var(--wp--preset--color--secondary);
    margin-right: 5px;
}


/* ==========================================================================
   10. RESPONSIVE STYLES
   ========================================================================== */

/* Desktop (1200px+) */
@media (min-width: 1200px) {

}

@media (max-width: 1000px) {
	body .columns-4 {
		grid-template-columns: repeat(2,1fr);
	}
	body .columns-3 {
		grid-template-columns: repeat(2,1fr);
	}
	.archive-header{margin-bottom:60px;}
}

/* Tablet (992px) */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--wp--preset--spacing--large);
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 800px) {
      .site-header .custom-logo-link img {
        max-width: 200px;
        margin-bottom: -25px;
    }
}


@media (max-width: 782px) {
	.is-style-reverse-mobile.is-layout-grid.columns-2 {
		display: flex !important;
		flex-direction: column-reverse;
	}
}

@media (max-width: 768px) {
	.archive-filter-bar{padding-top:0;}
}

@media (max-width: 650px) {
	div#contact-button-wrap {
		display: none;
	}
	
	.mobile-header-donate-link{display:block !important;text-align: left;}
}

/* Mobile (600px) */
@media (max-width: 600px) {
		body .columns-3 {
		grid-template-columns: repeat(1,1fr);
	}
		body .columns-4 {
		grid-template-columns: repeat(1,1fr);
	}
    .site-header .wrap {
        height: 80px;
        grid-template-columns: 200px 2fr auto;
    }

  
ul.footer-contact-list {
    text-align:center;
}

li.footer-contact-item {
    justify-content: center;
}
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--wp--preset--spacing--medium);
        text-align: center;
    }
.footer-social{
	justify-content:center;
}
    .copyright-inner {
        gap: var(--wp--preset--spacing--small);
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .error-404__container {
        padding: var(--wp--preset--spacing--large);
    }

    .error-404__search .search-form,
    .error-404 .wp-block-search {
        flex-direction: column;
    }

    .error-404__decoration {
        width: 150px;
        height: 150px;
    }
}