/*
Theme Name: Ihsan
Description: A blank custom theme with a full-page background image.
Version: 1.8
Author: Ihsan
Text Domain: ihsan
*/

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

/*
body {
    background-image: url('images/background.jpg');
    background-size: contain;
    background-repeat: repeat;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}
*/
body {
    background-color: #d6cfc4;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

/* ========================
   Header — CSS Grid layout
   Col 1: banner + nav  |  Col 2: emblem + emblem-nav (~1/7 width)
   ======================== */

#site-header {
    width: 100%;
    max-width: 100vw;
}

/* 2-column, 2-row grid. Right column is 1/5 screen. */
.header-main {
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    width: 100%;
}

/* ---- Row 1, Col 1: Banner ---- */
.header-banner {
    grid-column: 1;
    grid-row: 1;
    line-height: 0;
    position: relative;
}

/* Split clickable overlay across the banner image */
.banner-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.banner-nav-half {
    position: absolute;
    top: 0;
    height: 60%;
    width: 50%;
    pointer-events: auto;
}

.banner-nav-prev {
    left: 0;
    cursor: pointer;
}

.banner-nav-next {
    right: 0;
    cursor: pointer;
}

.banner-nav-disabled {
    pointer-events: none;
    cursor: default;
}

/* Banner shows full image at natural aspect ratio */
.header-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile-only underline arrow; hidden on desktop/tablet */
:root {
    --mobile-underline-arrow-width: 67px;
}
.header-banner .mobile-underline-arrow {
    display: none;
}

/* ---- Row 1, Col 2: Emblem (stretches to match banner height) ---- */
.header-emblem {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    line-height: 0;
    overflow: hidden;
}

.header-emblem img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

/* ---- Row 2, Col 1: Navigation bar ---- */
.header-nav {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: visible;
}

/* ---- Row 2, Col 2: Nav button under emblem ---- */
.header-emblem-nav {
    grid-column: 2;
    grid-row: 2;
}

.header-emblem-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    padding: 4px 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: clamp(10px, 2.2vw, 30px);
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    background-image: url('images/right-button-nav-header.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Nav menu list */
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
}

/* Individual nav items — 2:1 aspect ratio on desktop */
.nav-menu .menu-item {
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 2 / 1;
}

.nav-menu .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4px 6px;
    text-decoration: none;
    color: #00008b;
    font-weight: 600;
    font-size: clamp(10px, 2.2vw, 30px);
    line-height: 1.15;
    background-image: url('images/white-square-header.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    white-space: normal;
    text-align: center;
    word-break: normal;
    overflow-wrap: normal;
}

/* Selected / active nav item */
.nav-menu .menu-item.current-menu-item>a,
.nav-menu .menu-item.current-menu-ancestor>a,
.nav-menu .menu-item.current_page_item>a {
    background-image: url('images/yellow-square-header.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* ---- Submenus: hidden by default ---- */
.nav-menu .sub-menu {
    list-style: none;
    display: none;
    margin: 0;
    padding: 0;
}

.nav-menu .menu-item-has-children.submenu-open>.sub-menu {
    display: flex;
}

/* Desktop: show submenu on hover only */
@media (min-width: 450px) {

    .nav-menu .menu-item-has-children:hover>.sub-menu {
        display: flex;
    }
}

/* Desktop submenus drop down below parent */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    min-width: 100%;
    z-index: 100;
}

.nav-menu .sub-menu .menu-item {
    flex: none;
    width: 100%;
    aspect-ratio: auto;
}

.nav-menu .sub-menu .menu-item a {
    padding: 8px 12px;
    font-size: clamp(8px, 1.2vw, 18px);
    white-space: nowrap;
    word-break: normal;
    color: #6baed6;
    text-decoration: underline;
}

.nav-menu .sub-menu .menu-item.current-menu-item>a,
.nav-menu .sub-menu .menu-item.current_page_item>a {
    text-decoration: none;
}

/* Nav icons — hidden on desktop */
.nav-icons {
    display: none;
}

/* Menu item icons — hidden on desktop */
.menu-item-icon {
    display: none;
}

/* Mobile down arrow — hidden on desktop */
.nav-down-arrow {
    display: none;
}

/* Mobile nav button area — hidden on desktop */
#mobile-nav-btn-area {
    display: none;
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop down arrow — under the current top-level nav button */
.nav-menu>.menu-item {
    position: relative;
}

.desktop-down-arrow {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 99;
}

/* Hide while the dropdown is open on hover */
.nav-menu>.menu-item-has-children:hover>.desktop-down-arrow {
    display: none;
}

/* ========================
   Mobile (768px and below)
   ======================== */

@media (max-width: 449px) {

    /* Desktop arrow is invisible on mobile */
    .desktop-down-arrow {
        display: none;
    }



    /* Mobile nav button area: bottom-right quadrant of banner */
    #mobile-nav-btn-area {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50%;
        height: 50%;
        z-index: 4;
    }

    /* Collapse to single column; position:relative so header-nav anchors to its bottom */
    .header-main {
        grid-template-columns: 1fr;
        position: relative;
    }

    .header-banner {
        grid-column: 1;
        grid-row: 1;
    }

    /* Nav floats just below the banner, over page content */
    .header-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        overflow: visible;
        z-index: 10;
    }

    /* Show hamburger, no background */
    .hamburger {
        display: flex;
        width: 34px;
        height: 34px;
        padding: 0;
        flex-shrink: 0;
        background: none;
        margin-left: 4px;
        /* adjust this number */
    }

    .hamburger span {
        background-color: #f5c518;
        height: 5px;
        box-shadow: 0 0 0 1px black;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* ---- Down arrow: positioned by JS at the current nav icon, hidden when menu is open ---- */
    .nav-down-arrow {
        position: absolute;
        height: 34px;
        width: auto;
    }

    .hamburger.is-active~.nav-down-arrow {
        display: none !important;
    }

    /* ---- Detached icon squares: always visible, never move ---- */
    .nav-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 34px;
        left: 0;
        z-index: 3;
    }

    .nav-icon-square {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        background-image: url('images/white-square-header.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        padding: 2px;
        /* increase for more, decrease for less */

    }

    .nav-icon-square img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* ---- Nav menu: hidden by default, only slides in as text bars ---- */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 105px;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 34px;
        /* below hamburger */
        left: 0;
        z-index: 2;
    }

    .nav-menu .menu-item {
        flex: none;
        width: auto;
        aspect-ratio: auto;
    }

    .nav-menu .menu-item a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        height: 34px;
        margin-left: 34px;
        padding: 0 0px 0 15px;
        font-size: 13px;
        line-height: 1.15;
        text-align: left;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
        color: #00008b;
        background: white;
        background-image: none;
        text-decoration: none;
        font-weight: 400;
    }

    .nav-menu .menu-item.current-menu-item>a,
    .nav-menu .menu-item.current-menu-ancestor>a,
    .nav-menu .menu-item.current_page_item>a {
        background: url('../../ihsan-images/mobile-nav-button-icons/highlighted-mobile-nav.PNG');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* ---- Show + slide animations ---- */
    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu.is-sliding-in {
        display: flex;
        animation: slideIn 2.05s linear forwards;
    }

    .nav-menu.is-sliding-out {
        display: flex;
        animation: slideOut 2.05s linear forwards;
    }

    @keyframes slideIn {
        from {
            transform: translateX(-100vw);
        }

        to {
            transform: translateX(0);
        }
    }

    @keyframes slideOut {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-100vw);
        }
    }

    /* Mobile submenus: inline, not absolute */
    .nav-menu .sub-menu {
        position: static;
        min-width: 0;
        background: white;
        margin-right: 20px;
    }

    .nav-menu .sub-menu .menu-item {
        position: relative;
    }

    .nav-menu .sub-menu .menu-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 51px;
        height: 100%;
        background-image: url('../../ihsan-images/mobile-nav-button-icons/background.PNG');
        background-size: 140px 140px;
        background-repeat: repeat;
    }

    .nav-menu .sub-menu .menu-item a {
        height: 20px;
        margin-left: 54px;
        /*51px;*/
        padding: 0 6px 0 6px;
        font-size: 12px;
        background: white;
        background-image: none;
        color: #0000EE;
        text-decoration: underline;
        text-align: left;
        justify-content: flex-start;
        font-weight: normal;
    }

    /* Active submenu item gets yellow background (overrides white) */
    .nav-menu .sub-menu .menu-item.current-menu-item>a,
    .nav-menu .sub-menu .menu-item.current_page_item>a {
        background: url('images/yellow-square-header.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        text-decoration: none;
    }

    /* Spacer squares inserted by JS beside submenu items */
    .nav-icon-sub-square {
        width: 34px;
        height: 20px;
        flex-shrink: 0;
        background-image: url('../../ihsan-images/mobile-nav-button-icons/background.PNG');
        background-size: 140px 140px;
        background-repeat: repeat;
    }

    /* Hide emblem and emblem-nav on mobile */
    .header-emblem,
    .header-emblem-nav {
        display: none;
    }

    /* Underline arrow under first 15% of banner */
    .header-banner .mobile-underline-arrow {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: var(--mobile-underline-arrow-width);
        height: auto;
        z-index: 11;
        pointer-events: none;
    }

    /* Image border on all mobile nav buttons and squares */
    .nav-icon-square,
    .nav-menu .menu-item a,
    .nav-menu .sub-menu .menu-item a {
        border: 1.2px solid;
        border-image: url('../../ihsan-images/mobile-nav-button-icons/background.PNG') 2 repeat;
    }
}

/* ========================
   Per-item alignment overrides (set via Appearance > Menus)
   Desktop default: center  |  Mobile default: left
   ======================== */

.menu-item.nav-align-desktop-left>a {
    text-align: left;
    justify-content: flex-start;
}

.menu-item.nav-align-desktop-center>a {
    text-align: center;
    justify-content: center;
}

@media (max-width: 449px) {
    .menu-item.nav-align-mobile-left>a {
        text-align: left;
        justify-content: flex-start;
    }

    .menu-item.nav-align-mobile-center>a {
        text-align: center;
        justify-content: center;
    }
}

/* ========================
   Tablet (450px – 1023px)
   ======================== */

@media (min-width: 450px) and (max-width: 1023px) {
    /* Tablet layout — same base as desktop by default; add tablet-specific overrides here */
}

/* ========================
   Wide desktop (1024px and above)
   ======================== */

@media (min-width: 1024px) {
    .nav-menu .menu-item {
        aspect-ratio: 3 / 1;
    }

    .nav-menu .menu-item a {
        font-size: clamp(8px, 1.3vw, 22px);
    }

    .pnb-custom-image .header-emblem-nav {
        overflow: visible;
        position: relative;
        z-index: 20;
    }

    .pnb-custom-image .header-emblem-nav a {
        height: 150%;
        font-size: clamp(8px, 2.2vw, 28px);
        font-weight: 700;
        color: #0000b0;
    }
}

/* ========================
   Auth Pages — Login, Register, Forgot/Reset Password
   Replicates the panel-grid design from auth-pages/templates
   ======================== */

.auth-page-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-page-header {
    width: 100%;
    max-width: 700px;
    height: 39px;
    margin: 0 auto 2px;
    background: linear-gradient(135deg, #8B008B 0%, #BF00BF 100%);
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.auth-page-title {
    font-family: 'Agency FB', 'Bahnschrift Condensed', sans-serif;
    font-size: 27px;
    color: #fdfdfd;
    margin: 0;
    text-align: center;
    line-height: 1;
}

.auth-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: 700px;
    margin: 0 auto;
}

.auth-form-section {
    padding: 15px;
    min-height: 110px;
}

.auth-section-top-left {
    background: #E6E6FA;
}

.auth-section-top-right {
    background: #F0FFF0;
}

.auth-section-bottom-left {
    background: #FFF0F5;
}

.auth-section-bottom-right {
    background: #F5F5DC;
}

.auth-form-field {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-form-field label {
    flex: 0 0 100px;
    text-align: right;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
}

.auth-form-field input[type="text"],
.auth-form-field input[type="email"],
.auth-form-field input[type="password"] {
    flex: 1;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    padding: 3px 6px;
    border: 1px solid #999;
    background: #fff;
    color: #000;
}

.auth-form-field.auth-remember {
    justify-content: flex-end;
    padding-left: 106px;
}

.auth-form-field.auth-remember label {
    flex: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
}

.auth-form-field.auth-remember input {
    flex: none;
}

.auth-form-field.full-width {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.auth-form-field.full-width label {
    text-align: left;
    flex: none;
}

.auth-submit {
    text-align: right;
    margin-top: 10px;
}

.auth-submit input[type="submit"] {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    font-weight: 700;
    color: #000;
    background: #fff;
    border: 1px solid #999;
    padding: 4px 16px;
    cursor: pointer;
}

.auth-error {
    color: #c00;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(255, 200, 200, 0.5);
    border: 1px solid #c00;
}

.auth-success {
    color: #006400;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(200, 255, 200, 0.5);
    border: 1px solid #006400;
}

.auth-info-text p {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
    line-height: 1.4;
    margin: 0;
}

.auth-links {
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

.auth-links p {
    margin: 0 0 4px;
    color: #000;
}

.auth-links a {
    color: red;
    text-decoration: none;
}

.auth-links a:hover {
    color: #ff8057;
    text-decoration: none;
}

.auth-links a:visited {
    color: #878787;
}

/* Tablet & mobile adjustments */
@media (max-width: 767px) {
    .auth-form-container {
        grid-template-columns: 1fr;
    }

    .auth-page-title {
        font-size: 20px;
    }

    .auth-form-field {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-form-field label {
        text-align: left;
        flex: none;
    }

    .auth-form-field.auth-remember {
        padding-left: 0;
        justify-content: flex-start;
    }

    .auth-submit {
        text-align: center;
    }

    .auth-submit input[type="submit"] {
        width: 100%;
        padding: 8px;
    }
}

@media (max-width: 449px) {
    .auth-page-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }

    .auth-page-title {
        font-size: 18px;
    }
}

/* ========================
   404 / Private / Not Found
   ======================== */

.auth-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-404-inner {
    width: 100%;
    max-width: 500px;
}

.auth-404-header {
    width: 100%;
    height: 39px;
    margin: 0 auto 2px;
    background: linear-gradient(135deg, #8B008B 0%, #BF00BF 100%);
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.auth-404-title {
    font-family: 'Agency FB', 'Bahnschrift Condensed', sans-serif;
    font-size: 22px;
    color: #fdfdfd;
    margin: 0;
    text-align: center;
    line-height: 1;
}

.auth-404-panel {
    background: #E6E6FA;
    padding: 50px 30px;
    text-align: center;
}

.auth-404-message {
    font-family: 'Forte', cursive;
    font-size: 18pt;
    color: #000;
    margin: 0 0 20px;
    line-height: 1.3;
}

.auth-404-home {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin: 0;
}

.auth-404-home a {
    color: red;
    text-decoration: none;
}

.auth-404-home a:hover {
    color: #ff8057;
}

.auth-404-home a:visited {
    color: #878787;
}

@media (max-width: 449px) {
    .auth-404-panel {
        padding: 35px 20px;
    }

    .auth-404-message {
        font-size: 14pt;
    }

    .auth-404-title {
        font-size: 18px;
    }
}

/* ========================
   Donate Page
   ======================== */

.donate-page-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.donate-page-header {
    width: 100%;
    max-width: 700px;
    height: 39px;
    margin: 0 auto 2px;
    background: linear-gradient(135deg, #BF00BF 0%, #8B008B 100%);
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.donate-page-title {
    font-family: 'Agency FB', 'Bahnschrift Condensed', sans-serif;
    font-size: 27px;
    color: #fdfdfd;
    margin: 0;
    text-align: center;
    line-height: 1;
}

.donate-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: 700px;
    margin: 0 auto;
}

.donate-form-section {
    padding: 15px;
    min-height: 110px;
}

.donate-section-top-left {
    background: #F0FFF0;
}

.donate-section-top-right {
    background: #FFF0F5;
}

.donate-section-bottom-left {
    background: #E6E6FA;
}

.donate-section-bottom-right {
    background: #F5F5DC;
}

.donate-form-field {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.donate-form-field label {
    flex: 0 0 75px;
    text-align: right;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
}

.donate-form-field input[type="text"],
.donate-form-field input[type="password"],
.donate-form-field textarea,
.donate-form-field select {
    flex: 1;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    padding: 3px 6px;
    border: 1px solid #999;
    background: #fff;
    color: #000;
}

.donate-form-field input[type="radio"] {
    width: auto;
    flex: none;
}

.donate-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.donate-radio-option {
    display: flex;
    align-items: center;
    gap: 3px;
}

.donate-radio-option label {
    flex: none;
    text-align: left;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
}

.donate-label-address {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
    margin-bottom: 4px;
}

.donate-field-address textarea {
    width: 100%;
    height: 58px;
    resize: none;
}

.donate-submit {
    text-align: right;
    margin-top: 10px;
}

.donate-submit input[type="submit"] {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    font-weight: 700;
    color: #000;
    background: #fff;
    border: 1px solid #999;
    padding: 4px 16px;
    cursor: pointer;
}

.donate-error {
    color: #c00;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(255, 200, 200, 0.5);
    border: 1px solid #c00;
}

.donate-success {
    color: #006400;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(200, 255, 200, 0.5);
    border: 1px solid #006400;
}

/* Tablet & mobile adjustments */
@media (max-width: 767px) {
    .donate-form-container {
        grid-template-columns: 1fr;
    }

    .donate-page-title {
        font-size: 20px;
    }

    .donate-form-field {
        flex-direction: column;
        align-items: stretch;
    }

    .donate-form-field label {
        text-align: left;
        flex: none;
    }

    .donate-submit {
        text-align: center;
    }

    .donate-submit input[type="submit"] {
        width: 100%;
        padding: 8px;
    }
}

@media (max-width: 449px) {
    .donate-page-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }

    .donate-page-title {
        font-size: 18px;
    }
}


/* ========================
   Banner Navigation — Unavailable State
   ======================== */

.banner-nav-unavailable {
    cursor: pointer;
}

/* ========================
   Feedback Page
   ======================== */

.feedback-page-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.feedback-page-header {
    width: 100%;
    max-width: 700px;
    height: 39px;
    margin: 0 auto 2px;
    background: linear-gradient(135deg, #4B0082 0%, #8A2BE2 100%);
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.feedback-page-title {
    font-family: 'Agency FB', 'Bahnschrift Condensed', sans-serif;
    font-size: 27px;
    color: #fdfdfd;
    margin: 0;
    text-align: center;
    line-height: 1;
}

.feedback-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: 700px;
    margin: 0 auto;
}

.feedback-form-section {
    padding: 15px;
    min-height: 110px;
}

.feedback-section-top-left {
    background: #E6E6FA;
}

.feedback-section-top-right {
    background: #F0FFF0;
}

.feedback-section-bottom-left {
    background: #FFF0F5;
}

.feedback-section-bottom-right {
    background: #F5F5DC;
}

.feedback-form-field {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feedback-form-field label {
    flex: 0 0 75px;
    text-align: right;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    color: #000;
}

.feedback-form-field input[type="text"],
.feedback-form-field input[type="email"],
.feedback-form-field textarea {
    flex: 1;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    padding: 3px 6px;
    border: 1px solid #999;
    background: #fff;
    color: #000;
}

.feedback-form-field.feedback-full-width {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.feedback-form-field.feedback-full-width label {
    text-align: left;
    flex: none;
}

.feedback-form-field.feedback-full-width textarea {
    width: 100%;
    height: 80px;
    resize: none;
}

.feedback-submit {
    text-align: right;
    margin-top: 10px;
}

.feedback-submit input[type="submit"] {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    font-weight: 700;
    color: #000;
    background: #fff;
    border: 1px solid #999;
    padding: 4px 16px;
    cursor: pointer;
}

.feedback-error {
    color: #c00;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(255, 200, 200, 0.5);
    border: 1px solid #c00;
}

.feedback-success {
    color: #006400;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin-bottom: 10px;
    padding: 6px;
    background: rgba(200, 255, 200, 0.5);
    border: 1px solid #006400;
}

/* Tablet & mobile adjustments */
@media (max-width: 767px) {
    .feedback-form-container {
        grid-template-columns: 1fr;
    }

    .feedback-page-title {
        font-size: 20px;
    }

    .feedback-form-field {
        flex-direction: column;
        align-items: stretch;
    }

    .feedback-form-field label {
        text-align: left;
        flex: none;
    }

    .feedback-submit {
        text-align: center;
    }

    .feedback-submit input[type="submit"] {
        width: 100%;
        padding: 8px;
    }
}

@media (max-width: 449px) {
    .feedback-page-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }

    .feedback-page-title {
        font-size: 18px;
    }
}