/**
 * Orbit Theme Stylesheet
 * 
 * Table of Contents:
 * 1. Reset & Base Styles
 * 2. Layout & Containers
 * 3. Typography & Text
 * 4. Forms & Inputs
 * 5. Tooltips
 * 6. Header & Navigation
 * 7. Mobile Navigation
 * 8. Posts & Archives
 * 9. Grid & Flex Utilities
 * 10. 404 Page
 * 11. Media Queries
 */


/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */

   html {
    line-height: 1.1;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

figure {
    margin: 0;
}

img {
    border-style: none;
}

iframe {
    display: block;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

blockquote {
    margin: 0;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

details {
    display: block;
}

summary {
    display: list-item;
}


/* ==========================================================================
   2. LAYOUT & CONTAINERS
   ========================================================================== */

.wrap {
    margin: auto;
    width: 100%;
    padding-left: var(--wp--preset--spacing--medium);
    padding-right: var(--wp--preset--spacing--medium);
}


/* ==========================================================================
   3. TYPOGRAPHY & TEXT
   ========================================================================== */

a {
    background-color: transparent;
    color: inherit;
    word-break: break-word;
    outline-offset: 2px;
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #276EF1;
    border-radius: 2px;
}

b,
strong {
    font-weight: 700;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline dotted;
}

pre,
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}


/* ==========================================================================
   4. FORMS & INPUTS
   ========================================================================== */

.screen-reader-text:focus {
    background-color: #f5f3f0;
    clip-path: none;
    color: #000000;
    display: block;
    font-size: 1em;
    font-weight: 600;
    height: auto;
    left: 10px;
    line-height: normal;
    padding: 5px 15px;
    text-decoration: none;
    top: 10px;
    width: auto;
    z-index: 100000;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

input[type=search] {
    box-sizing: border-box;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0;
    border: none;
    margin: 0;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Placeholders */
::-moz-placeholder {
    color: var(--wp--preset--color--primary);
    opacity: 1;
}

::-ms-input-placeholder {
    color: var(--wp--preset--color--primary);
}

::-webkit-input-placeholder {
    color: var(--wp--preset--color--primary);
}

#contact-button-wrap a {
    background: var(--wp--preset--color--quaternary);
    color: #FFF;
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--small);
    border-radius: var(--wp--custom--border--radius--large);
    padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
    text-decoration: none;
    font-weight: 600;
}

#contact-button-wrap a:hover {background:black;}

.is-style-outline .wp-block-button__link:hover {background:black;border: 2px solid black;color: white!important;}

/* ==========================================================================
   5. TOOLTIPS
   ========================================================================== */

[data-tooltip] {
    position: relative;
    z-index: 10;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    visibility: hidden;
    width: max-content;
    max-width: 150px;
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    text-align: center;
    padding: 8px 10px;
    border-radius: var(--wp--custom--border--radius--small);
    position: absolute;
    z-index: 1000;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
}

[data-tooltip]::before {
    content: '';
    visibility: hidden;
    position: absolute;
    z-index: 1000;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    opacity: 0;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--wp--preset--color--black);
}

[data-tooltip].visible::after,
[data-tooltip].visible::before {
    visibility: visible;
    opacity: 1;
}

/* Tooltip: Below */
[data-tooltip].below::after {
    bottom: auto;
    top: calc(100% + 10px);
    transform: translateX(-50%);
}

[data-tooltip].below::before {
    bottom: auto;
    top: calc(100% - 4px);
    border-top-color: transparent;
    border-bottom-color: var(--wp--preset--color--black);
}

/* Tooltip: Right */
[data-tooltip].right::after {
    bottom: auto;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
}

[data-tooltip].right::before {
    top: 50%;
    left: calc(100% + 5px);
    right: auto;
    transform: translateY(-50%) rotate(45deg);
    border-bottom-color: #333;
    border-left-color: #333;
    border-top-color: transparent;
    border-right-color: transparent;
}

/* Tooltip: Left */
[data-tooltip].left::after {
    bottom: auto;
    top: 50%;
    left: auto;
    right: calc(100% + 5px);
    transform: translateY(-50%);
}

[data-tooltip].left::before {
    top: 50%;
    left: auto;
    right: calc(100% + 5px);
    transform: translateY(-50%) rotate(-45deg);
    border-bottom-color: #333;
    border-right-color: #333;
    border-top-color: transparent;
    border-left-color: transparent;
}

.tooltip-desc {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

/* Desktop Navigation */
#nav-menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

#nav-menu .menu-primary-container {
    height: 100%;
}

#nav-menu ul.menu {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--medium);
    margin: 0;
    padding: 0;
    height: 100%;
    list-style: none;
}

#nav-menu .menu-item {
    position: relative;
    display: flex;
    gap: 8px;
    height: 100%;
    margin: 0;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#nav-menu li a {
    position:relative;
    display: block;
    padding: 2px 5px;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 600;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
    border-bottom: 3px solid transparent;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    margin-bottom: -3px;
}

#nav-menu li a:hover:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -5px;
  right: -5px;
  height: 12px;
  z-index: -1;
  background-image: url("https://launchpad.nebula.design/mm/wp-content/uploads/2026/02/wave-002.svg");
  background-repeat: no-repeat;
  background-size: 200px;
  background-position: 0px -3px;
}

#nav-menu li a:hover {
}

/* Submenu Button */
.submenu-btn {
    border: 0;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mobile-header-donate-link {display: none !important;}
/* Submenu Dropdown */
.submenu {
    position: absolute;
    top: 90px;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0%);
    transition: visibility 0ms ease 0ms, pointer-events 0ms ease 0ms, all 0.25s cubic-bezier(0.4, 0.01, 0.1, 1);
    z-index: 9999;
    padding-top: 15px;
}

#nav-menu li.menu-item-has-children:hover .submenu,
#nav-menu li.menu-item-has-children:focus .submenu,
#nav-menu li.menu-item-has-children:focus-within .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu-inner-wrap {
    min-width: 300px;
    background-color: var(--wp--preset--color--white);
    padding: var(--wp--preset--spacing--small);
    border-radius: var(--wp--custom--border--radius--small);
    transition: visibility 0ms ease 0ms, pointer-events 0ms ease 0ms, all 0.25s cubic-bezier(0.4, 0.01, 0.1, 1);
}

.submenu-inner-wrap>p {
    font-size: var(--wp--preset--font-size--small);
    font-weight: 800;
    margin: 0 0 15px 0;
}

#nav-menu .submenu-inner a {
    color: var(--wp--preset--color--black);
}

#nav-menu .submenu ul li a {
    text-transform: capitalize;
    margin: 0;
    color: var(--wp--custom--color--neutral--700);
}

#nav-menu .submenu ul li a:hover {color: var(--wp--preset--color--black);}

/* Submenu Items */
.submenu-inner .menu-items {
    display: flex;
    padding: 0;
    margin: 0;
    flex-direction: column;
    gap: 5px;
}

.submenu-inner .menu-items>li:hover .submenu-btn {
    animation: bounce 2s ease infinite;
}

#nav-menu .submenu-inner .sub-menu {
    display: none;
    width: 100%;
    background: var(--wp--preset--color--grey);
    margin: 0 0 10px 0;
    padding: 0;
    border-radius: var(--wp--custom--border--radius--small);
    overflow: hidden;
}

#nav-menu .submenu-inner .sub-menu li {
    width: 100%;
    display: block;
}

#nav-menu .submenu-inner .sub-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border: 0;
    color: var(--wp--preset--color--primary);
    outline-offset: 0;
}

#nav-menu .submenu-inner .sub-menu li a:hover {
    border: 0;
    background: var(--wp--preset--color--secondary);
}

/* Mobile Toggle */
#toggle-wrap {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 9999;
    justify-content: flex-end;
}

#toggle {
    height: 65px;
    width: 65px;
    position: relative;
    display: flex;
    background: var(--wp--preset--color--tertiary);
    border: 5px solid transparent;
    border-radius: 85% 120% 100% 130%;
    transition: 0.3s;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-right: -15px;
}

#toggle .bar {
    height: 4px;
    width: 35px;
    display: block;
    margin: 0 auto;
    position: absolute;
    background-color: var(--wp--preset--color--tertiary-50);
    border-radius: 10px;
    transition: 0.4s;
}

#toggle .bar:nth-of-type(1) {
    top: 15px;
    transition: top 0.3s ease-in-out 0.3s, transform 0.3s ease-in-out 0.1s;
}

#toggle .bar:nth-of-type(2) {
    top: 25px;
    transition: ease 0.3s 0.25s;
}

#toggle .bar:nth-of-type(3) {
    top: 35px;
    transition: top 0.3s ease-in-out 0.3s, transform 0.3s ease-in-out 0.1s;
}

.active #toggle .bar:nth-of-type(1) {
    top: 25px;
    transform: rotate(45deg);
    transition: top 0.3s ease-in-out 0.1s, transform 0.3s ease-in-out 0.25s;
}

.active #toggle .bar:nth-of-type(2) {
    opacity: 0;
}

.active #toggle .bar:nth-of-type(3) {
    top: 25px;
    transform: rotate(-45deg);
    transition: top 0.3s ease-in-out 0.1s, transform 0.3s ease-in-out 0.25s;
}


/* ==========================================================================
   7. MOBILE NAVIGATION
   ========================================================================== */

#mobile-nav-menu {
    height: auto;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100px;
    right: var(--wp--preset--spacing--medium);
    width: 40%;
    min-width: 275px;
    font-family: var(--wp--preset--font-family--heading);
    border-radius: var(--wp--custom--border--radius--medium);
    background: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--tertiary-50);
    padding: var(--wp--preset--spacing--medium);
    transition: all 0.3s ease-in-out 0.25s, transform 0.3s ease-in-out 0.25s;
    transform: translate(0px, -5px);
    z-index: 9999;
}

.active #mobile-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
}

.menu-mobile-container {
    overflow: scroll;
    overflow-x: hidden;
    height: 100%;
    width: 100vw;
}

#mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu a,
#mobile-menu span {
    display: block;
    flex: 1;
    padding: var(--wp--preset--spacing--tiny);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 500;
    text-decoration: none;
    /* color: #000; */
    cursor: pointer;
}

#mobile-menu li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu>li:first-child {
    border-top: 0;
}

#mobile-menu li.menu-item-has-children {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

#mobile-menu li ul {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
}



#mobile-menu li ul li a {
    font-size: var(--wp--preset--font-size--tiny);
    font-weight: 400;
}

#mobile-menu button {
    background: transparent;
    border: 0;
    width: 50px;
    height: 50px;
    padding: 5px 20px 5px 0;
    cursor: pointer;
}

#mobile-menu button svg {
    transition: top 0.3s ease 0.1s, transform 0.3s ease-out;
}

#mobile-menu .mobile-submenu-toggle {
    color: #fff;
}

#mobile-menu .menu-item.active > .mobile-submenu-toggle svg {
    transform: rotate(180deg);
}


/* ==========================================================================
   8. POSTS & ARCHIVES
   ========================================================================== */

/* Archive Layout */
.archive .site-main {
    max-width: var(--wp--style--global--wide-size);
    margin: auto;
    padding-left: var(--wp--preset--spacing--medium);
    padding-right: var(--wp--preset--spacing--medium);
    margin-bottom: var(--wp--preset--spacing--xxx-large);
}

/* Search Layout */
.search main.site-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Search Archive Form */
.search-archive > form .wp-block-search__inside-wrapper {
    border-radius: 50px;
    background: none;
}

.search-archive input#wp-block-search__input-1 {
    border-radius: 50px;
    background: none;
}

/* Social Media Icons */
.social_media img {
    filter: brightness(0) invert(1);
}

/* Posts Container — layout-transparent AJAX wrapper */
#posts-container {
    display: contents;
}
#posts-container.is-loading > * {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* No-results spans full grid width */
.no-results.not-found {
    grid-column: 1 / -1;
}

/* Archive Filter Bar */
.archive-filter-bar {
    margin: var(--wp--preset--spacing--x-large) 0;
    padding-top: var(--wp--preset--spacing--x-large);
    position: relative;
    z-index: 99999;
}

.archive-filter-bar .wrap {
    max-width: var(--wp--style--global--wide-size);
    margin: auto;
    padding-left: var(--wp--preset--spacing--medium);
    padding-right: var(--wp--preset--spacing--medium);
}

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--small);
    align-items: center;
    max-width: 800px;
}

.archive-filters .filter-group {
    flex: 0 0 auto;
}

.archive-filters .filter-search {
}

.archive-filters input[type="text"] {
    padding: 10px 15px;
    height: 55px;
    color: #000000;
    border: 2px solid var(--wp--custom--color--neutral--300);
    border-radius: var(--wp--custom--border--radius--medium);
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1em;
    background-color: var(--wp--preset--color--white, #fff);
    width: 100%;
}

.archive-filters input[type="text"]:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary);
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
}

.custom-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    height: 55px;
    color: #000000;
    border: 2px solid var(--wp--custom--color--neutral--300);
    border-radius: var(--wp--custom--border--radius--medium);
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1em;
    background-color: var(--wp--preset--color--white, #fff);
    min-width: 160px;
    cursor: pointer;
    text-align: left;
    justify-content: space-between;
    transition: border-color 0.2s ease, color 0.2s ease;
    width: 100%;
}

.custom-dropdown__trigger:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary);
}

.custom-dropdown.is-open .custom-dropdown__trigger {
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.custom-dropdown__label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-dropdown__arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-dropdown.is-open .custom-dropdown__arrow {
    transform: rotate(180deg);
}

.custom-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: var(--wp--preset--color--white, #fff);
    border: 2px solid var(--wp--custom--color--neutral--300);
    border-radius: var(--wp--custom--border--radius--medium);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 8888;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-dropdown.is-open .custom-dropdown__menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.custom-dropdown__option {
    padding: 12px 16px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
}

.custom-dropdown__option:hover {
    background: rgba(243, 102, 115, 0.08);
    color: var(--wp--preset--color--primary);
}

.custom-dropdown__option.is-selected {
    color: var(--wp--preset--color--primary);
    font-weight: 700;
}

.custom-dropdown__option::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
    transition: background 0.12s ease;
}

.custom-dropdown__option.is-selected::before {
    background: var(--wp--preset--color--primary);
}

.archive-filters .button {
    padding: 15px 20px;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    border: none;
    font-family: var(--wp--preset--font-family--heading);
    border-radius: var(--wp--custom--border--radius--medium);
    font-size: 1rem;
    line-height: 1.2;
    display: flex;
    height: 55px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-items: center;
}

.archive-filters .button:hover {
    background: var(--wp--preset--color--tertiary);
}

.archive-filters .filter-reset {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--wp--preset--color--primary);
}

.archive-filters .filter-submit {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .archive-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .archive-filters .filter-group {
        width: 100%;
    }

    .archive-filters .custom-dropdown,
    .archive-filters .custom-dropdown__trigger {
        width: 100%;
    }

    .archive-filters .custom-dropdown__menu {
        width: 100%;
    }

    .archive-filters .filter-submit {
        justify-content: space-between;
    }

    .archive-filters .button {
        flex: 1;
    }
}

/* Single Post Layout */
.post.content .site-inner {
    padding: 0;
}

.post.content .site-main {
    padding-left: var(--wp--custom--layout--padding);
    padding-right: var(--wp--custom--layout--padding);
    max-width: var(--wp--custom--layout--content);
    margin: auto;
}

/* Post Entry Header - Meredith's Mission Banner */
.post .entry-header {
    position: relative;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    min-height: 420px;
    overflow: visible;
    padding-bottom: 50px;
}

.post .entry-header .wrap {
    position: relative;
    z-index: 25;
    max-width: var(--wp--custom--layout--small-content);
    padding-top: calc(3 * var(--wp--preset--spacing--large));
    padding-bottom: 180px;
}

.post .entry-header .entry-header-content {
    position: relative;
}

.post .entry-header a {
    text-decoration: none;
}

.post .entry-header a:hover {
    color: var(--wp--preset--color--white);
    opacity: 0.9;
}

/* Back to Blog Link */
.post .entry-header .back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.95;
}
.entry-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}
.post .entry-header .back:hover {
    opacity: 1;
}

/* Category Badge */
.post .entry-header .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #E86B5E;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post .entry-header .category-badge a {
    color: inherit;
}

.post .entry-header .category-badge svg {
    flex-shrink: 0;
}

/* Entry Title */
.post .entry-header .entry-title {
    font-family: 'Montserrat', var(--wp--preset--font-family--sans);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--wp--preset--spacing--medium) 0;
    max-width: 800px;
}

/* Metadata Row */
.post .entry-header .entry-meta-author,
.post .entry-header .entry-meta-dates {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.95;
}

.post .entry-header .entry-meta-author {
    margin-right: var(--wp--preset--spacing--medium);
}

.post .entry-header .entry-meta-author .author-icon {
    display: inline-flex;
    align-items: center;
}

.post .entry-header .entry-meta-author .author-name {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post .entry-header .entry-meta-dates {
    flex-wrap: wrap;
    gap: 6px;
}

.post .entry-header .entry-meta-dates .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post .entry-header .entry-meta-dates .meta-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    margin-left: 10px;
    opacity: 0.6;
}

.post .entry-header .entry-meta-dates .meta-label {
    opacity: 0.8;
}

/* Diagonal Edge with Layered Stripes */
.post .entry-header::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 150px;
    background-color: transparent;
    background-image: url('https://launchpad.nebula.design/mm/wp-content/uploads/2026/01/line-1.svg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    z-index: 15;
}

.post .entry-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: #fff;
    z-index: 14;
}

/* Donate Button - Top Right Corner */
.post .entry-header .entry-header-content {
    position: relative;
}

.post .entry-header .donate-button-banner {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 52px;
    background: #F5C547;
    border-radius: 26px;
    color: #3D3D3D;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.2s ease,
                box-shadow 0.2s ease;
    z-index: 30;
}

.post .entry-header .donate-button-banner .donate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

.post .entry-header .donate-button-banner .donate-text {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease 0s, 
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post .entry-header .donate-button-banner:hover {
    width: 135px;
    background: #E5B83D;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.post .entry-header .donate-button-banner:hover .donate-text {
    opacity: 1;
    max-width: 80px;
    transition: opacity 0.2s ease 0.1s, 
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post .entry-header .donate-button-banner:hover .donate-icon {
    width: 30px;
}

.post .entry-header .donate-button-banner:active {
    transform: scale(0.97);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post .entry-header {
        min-height: 380px;
    }
    
    .post .entry-header .wrap {
        padding-top: calc(2 * var(--wp--preset--spacing--large));
        padding-bottom: 150px;
    }
    
    .post .entry-header .entry-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
    
    .post .entry-header .entry-meta-author {
        display: flex;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .post .entry-header .entry-meta-dates {
        display: flex;
    }
    
    .post .entry-header .floating-heart {
        display: none;
    }
    
    .post .entry-header .floating-heart.heart-1,
    .post .entry-header .floating-heart.heart-2,
    .post .entry-header .floating-heart.heart-3,
    .post .entry-header .floating-heart.heart-4,
    .post .entry-header .floating-heart.heart-5 {
        display: block;
    }
    
    .post .entry-header .donate-button-banner {
        width: 46px;
        height: 46px;
        border-radius: 23px;
    }
    
    .post .entry-header .donate-button-banner .donate-icon {
        width: 46px;
        height: 46px;
    }
    
    .post .entry-header .donate-button-banner .donate-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .post .entry-header .donate-button-banner:hover {
        width: 130px;
    }
}

/* Archive Header - Same Design as Post Banner */
.archive-header {
    position: relative;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    min-height: 420px;
    overflow: visible;
    padding-bottom: 50px;
    margin-bottom: 0;
    z-index: 1;
}

.archive-header .entry-header {
    width: 100%;
    margin-top: 130px;
}

.archive-header .entry-header .wrap {
    position: relative;
    z-index: 25;
    max-width: var(--wp--custom--layout--small-content);
    padding-top: calc(3 * var(--wp--preset--spacing--large));
    padding-bottom: 150px;
}

.archive-header .entry-header .entry-header-content {
    position: relative;
}

.archive-header .entry-header a {
    text-decoration: none;
}

.archive-header .entry-header a:hover {
    color: var(--wp--preset--color--white);
    opacity: 0.9;
}

/* Floating Hearts Animation for Archive Header */
.archive-header .entry-header .floating-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.archive-header .entry-header .floating-heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    animation: float-heart 4s ease-in-out infinite;
}

.archive-header .entry-header .floating-heart svg {
    stroke: currentColor;
    stroke-width: 2;
}

.archive-header .entry-header .heart-1 {
    top: 10%;
    left: 6%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.archive-header .entry-header .heart-2 {
    top: 6%;
    right: 18%;
    animation-duration: 4.5s;
    animation-delay: 0.5s;
    animation-name: float-heart-alt;
}

.archive-header .entry-header .heart-3 {
    top: 3%;
    right: 6%;
    animation-duration: 5.5s;
    animation-delay: 1s;
}

.archive-header .entry-header .heart-4 {
    top: 30%;
    left: 3%;
    animation-duration: 4s;
    animation-delay: 0.3s;
    animation-name: float-heart-alt;
}

.archive-header .entry-header .heart-5 {
    top: 22%;
    right: 22%;
    animation-duration: 6s;
    animation-delay: 0.8s;
}

.archive-header .entry-header .heart-6 {
    top: 45%;
    right: 4%;
    animation-duration: 4.2s;
    animation-delay: 1.2s;
    animation-name: float-heart-alt;
}

.archive-header .entry-header .heart-7 {
    top: 55%;
    left: 10%;
    animation-duration: 5.8s;
    animation-delay: 0.6s;
}

.archive-header .entry-header .heart-8 {
    top: 40%;
    right: 14%;
    animation-duration: 4.8s;
    animation-delay: 1.5s;
    animation-name: float-heart-alt;
}

.archive-header .entry-header .heart-9 {
    top: 18%;
    left: 18%;
    animation-duration: 5.2s;
    animation-delay: 0.2s;
}

.archive-header .entry-header .heart-10 {
    top: 65%;
    right: 8%;
    animation-duration: 4.6s;
    animation-delay: 0.9s;
    animation-name: float-heart-alt;
}

.archive-header .entry-header .heart-11 {
    top: 70%;
    left: 4%;
    animation-duration: 5.4s;
    animation-delay: 1.3s;
}

.archive-header .entry-header .heart-12 {
    top: 12%;
    right: 30%;
    animation-duration: 4.4s;
    animation-delay: 0.7s;
    animation-name: float-heart-alt;
}

/* Diagonal Edge with Layered Stripes for Archive Header */
.archive-header .entry-header::after {
    content: '';
    position: absolute;
    bottom: -110px;
    left: 0;
    right: 0;
    height: 175px;
    background-color: transparent;
    background-image: url('https://launchpad.nebula.design/mm/wp-content/uploads/2026/01/line-1.svg');
    background-repeat: repeat;
    background-position: center bottom;
    background-size: 2500px;
    z-index: 500;
}

.archive-header .entry-header::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 0;
    right: 0;
    height: 175px;
    background-color: transparent;
    background-image: url('https://launchpad.nebula.design/mm/wp-content/uploads/2026/01/line-1.svg');
    filter: brightness(0) invert(1);
    opacity: 1;
    background-repeat: repeat;
    background-position: center center;
    background-size: 2500px;
    z-index: 250;
}

/* Donate Button for Archive Header */
.archive-header .entry-header .donate-button-banner {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 52px;
    background: #F5C547;
    border-radius: 26px;
    color: #3D3D3D;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.2s ease,
                box-shadow 0.2s ease;
    z-index: 30;
}

.archive-header .entry-header .donate-button-banner .donate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

.archive-header .entry-header .donate-button-banner .donate-text {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease 0s, 
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive-header .entry-header .donate-button-banner:hover {
    width: 135px;
    background: #E5B83D;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.archive-header .entry-header .donate-button-banner:hover .donate-text {
    opacity: 1;
    max-width: 80px;
    transition: opacity 0.2s ease 0.1s, 
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive-header .entry-header .donate-button-banner:hover .donate-icon {
    width: 30px;
}

.archive-header .entry-header .donate-button-banner:active {
    transform: scale(0.97);
}

/* Archive Inner Header Content */
.archive-header .archive-inner-header {
}

.archive-header .archive-title {
    margin: 0;
    color: var(--wp--preset--color--white);
}

.archive-header .archive-description {
    color: var(--wp--preset--color--white);
}

.archive-header .archive-description p {
    color: var(--wp--preset--color--white);
    opacity: 0.95;
}

/* Remove old archive-header pseudo-elements */
.archive-header::before {
    display: none;
}


.archive-inner-header:after,
.archive-inner-header:before {
    display: none;
}

/* Responsive adjustments for Archive Header */
@media (max-width: 768px) {
    .archive-header {
        min-height: 380px;
    }
    
    .archive-header .entry-header {
        min-height: 320px;
    }
    
    .archive-header .entry-header .wrap {
        padding-top: calc(2 * var(--wp--preset--spacing--large));
        padding-bottom: 0px;
    }
    
    .archive-header .archive-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
    
    .archive-header .entry-header .floating-heart {
        display: none;
    }
    
    .archive-header .entry-header .floating-heart.heart-1,
    .archive-header .entry-header .floating-heart.heart-2,
    .archive-header .entry-header .floating-heart.heart-3,
    .archive-header .entry-header .floating-heart.heart-4,
    .archive-header .entry-header .floating-heart.heart-5 {
        display: block;
    }
    
    .archive-header .entry-header .donate-button-banner {
        width: 46px;
        height: 46px;
        border-radius: 23px;
    }
    
    .archive-header .entry-header .donate-button-banner .donate-icon {
        width: 46px;
        height: 46px;
    }
    
    .archive-header .entry-header .donate-button-banner .donate-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .archive-header .entry-header .donate-button-banner:hover {
        width: 130px;
    }
}

/* Post Entry Content */
.post .entry-content {
    padding-top: var(--wp--preset--spacing--large);
    padding-bottom: var(--wp--preset--spacing--large);
}

.post .entry-content .wrap {
    max-width: var(--wp--custom--layout--small-content);
}

.post .entry-content .wrap p {
    margin-top: 0;
}

.post .entry-content .wrap p:last-of-type {
    margin-bottom: 0;
}

/* Post Images */
.post .wp-block-image.aligncenter {
    width: 100%;
}

.post .wp-block-image.aligncenter img {
    margin: auto;
}

.post article .entry-image .wrap {
    max-width: calc(var(--wp--custom--layout--small-content) * 1.25);
}

div#wpadminbar {
    z-index: 9999999;
}

/* ==========================================================================
   9. GRID & FLEX UTILITIES
   ========================================================================== */

/* Flexbox */
.flex {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(0px - var(--wp--custom--layout--small-padding));
    margin-left: calc(0px - var(--wp--custom--layout--small-padding));
}

.flex>div {
    padding: var(--wp--custom--layout--small-padding);
}

.v-align {
    align-items: center;
    height: 100%;
}

.h-align {
    justify-content: center;
}

/* Flex Column Widths */
.col-100 {
    flex: 0 0 100%;
}

.col-75 {
    flex: 0 0 75%;
}

.col-66 {
    flex: 0 0 66.6666%;
}

.col-50 {
    flex: 0 0 50%;
}

.col-33 {
    flex: 0 0 33.3333%;
}

.col-25 {
    flex: 0 0 25%;
}

.col-20,
.has-5-columns>div {
    flex: 0 0 20%;
}

.col-10 {
    flex: 0 0 10%;
}

/* CSS Grid */
.grid {
    display: grid;
    grid-column-gap: var(--wp--preset--spacing--medium);
    grid-row-gap: var(--wp--preset--spacing--medium);
}

.columns-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.columns-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.columns-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.columns-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}





/* ==========================================================================
   10. MEDIA QUERIES
   ========================================================================== */

/* Desktop (1200px+) */
@media (min-width: 1300px) {
    #nav-menu {
        display: flex;
        padding-right: var(--wp--preset--spacing--medium);
    }

    #mobile-nav-menu {
        display: none;
    }

    #toggle-wrap {
        display: none;
    }
}

/* Tablet & Below (782px) */
@media (max-width: 782px) {
    #wpadminbar {
        display: none !important;
    }
}

/* Mobile (600px) */
@media screen and (max-width: 600px) {
    .error-404 {
        min-height: 60vh;
        padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
    }

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

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

/* ==========================================================================
   20. CARD COMPONENT STYLES
   ========================================================================== */

/* Base Card (archive.php) */
.card {
    position: relative;
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border--radius--medium);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card a,
.card .card-link {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card .card-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wp--preset--color--grey);
}

.card .card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.card .card-meta {
    padding: var(--wp--preset--spacing--medium);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--medium);
}

.card .card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 4px 10px;
    font-family: var(--wp--preset--font-family--heading);
    border-radius: var(--wp--custom--border--radius--small);
    font-size: var(--wp--preset--font-size--tiny);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    color: var(--wp--preset--color--black);
    backdrop-filter: blur(4px);
}

.card .card-date-block {
    display: none;
    /* Only for Events */
}

.card .card-title {
    font-family: var(--wp--preset--font-family--sans);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 800;
    line-height: var(--wp--custom--line-height--small);
    color: var(--wp--preset--color--charcoal);
    margin: 0 0 10px 0;
}

.card .card-byline, .card .event-date {
    margin-bottom: 15px;
}

.card .card-date {
    font-size: 16px;
    color: var(--wp--custom--color--neutral--700);
}

.card .card-excerpt {
    font-size: var(--wp--preset--font-size--tiny);
    color: var(--wp--custom--color--neutral--700);
    margin-bottom: auto;
    /* Push read more to bottom */
    line-height: var(--wp--custom--line-height--normal);
}

.card .card-readmore,
.card .button {
    font-size: var(--wp--preset--font-size--tiny);
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Special Variation: Event Card (archive-event.php)
   -------------------------------------------------------------------------- */
.card.type-event .card-thumbnail {
    aspect-ratio: 16 / 9;
}

.card.type-event .card-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border--radius--small);
    z-index: 5;
    box-shadow: var(--wp--preset--shadow--natural);
    text-align: center;
    line-height: 1;
}

.card.type-event .card-date-block .day {
    font-size: 24px;
    font-weight: 800;
    color: var(--wp--preset--color--primary);
    display: block;
}

.card.type-event .card-date-block .month {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wp--preset--color--black);
    display: block;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Special Variation: Team Card (archive-team.php)
   -------------------------------------------------------------------------- */
.card.type-team {
    text-align: center;
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--wp--preset--color--grey);
}

.card.type-team:hover {
    border-color: var(--wp--preset--color--secondary);
    box-shadow: var(--wp--preset--shadow--subtle);
    background: var(--wp--preset--color--white);
}

.card.type-team .card-thumbnail {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 30px auto 15px auto;
    aspect-ratio: 1 / 1;
    border: 4px solid var(--wp--preset--color--white);
    box-shadow: var(--wp--preset--shadow--natural);
}

.card.type-team .card-meta {
    align-items: center;
    padding-top: 0;
}

.card.type-team .card-title {
    font-size: var(--wp--preset--font-size--large);
    margin-bottom: 5px;
}

.card.type-team .team-role {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.card.type-team .card-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.card.type-team .card-social a {
    width: 32px;
    height: 32px;
    background: var(--wp--preset--color--octonary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--wp--preset--color--black);
    font-size: 14px;
    transition: all 0.2s ease;
}

.card.type-team .card-social a:hover {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .card .card-meta {
        padding: var(--wp--preset--spacing--small);
    }

    .card .card-title {
        font-size: var(--wp--preset--font-size--normal);
    }
}