/*
 * Bleoo theme: site-specific styles on top of the Corva template stylesheet
 * (assets/css/style3447.css). Corva's layout CSS is unchanged apart from its few
 * hardcoded teal/orange tints, which were swapped for the navy/gold below.
 */

/* ---------- Brand palette (from the Bleoo 2005 logo) ----------
 * Navy #1B1464 is the logo's ring and lettering; gold #FCC800 is the laurel.
 */
:root {
    --color-primary: #1B1464;
    --color-primary-2: #1B1464;
    --color-secondary: rgba(252, 200, 0, 0.2);
    --color-heading-1: #110C40;
    --color-gold: #FCC800;
    --color-gold-dark: #D9A900;

    --primary-50: #EFEEF9;
    --primary-100: #DEDCF2;
    --primary-200: #C4C0E7;
    --primary-300: #8F88CF;
    --primary-400: #5E56B5;
    --primary-500: #3D3596;
    --primary-600: #2B2480;
    --primary-700: #1B1464;
    --primary-900: #110C40;

    --secondary-100: #FFF8D9;
    --secondary-200: #FFEEA6;
    --secondary-300: #FFE473;
    --secondary-400: #FFD940;
    --secondary-500: #FDD11A;
    --secondary-600: #FCC800;
    --secondary-700: #FCC800;
    --secondary-900: #D9A900;
}

/* Gold accents: section sub-titles, highlighted words in headings */
.section-title span,
.title-banner span {
    color: var(--color-gold-dark);
}
.cg::after,
.cg::before {
    background: var(--color-gold) !important;
}

/* Footer in deep navy instead of Corva's charcoal */
.footer-one {
    background: var(--primary-900);
}

/* Gold button (Donate) */
.tmp-btn.btn-gold {
    background: var(--color-gold);
    color: var(--color-heading-1);
    position: relative;
    overflow: hidden;
}
.tmp-btn.btn-gold:hover {
    background: var(--color-gold-dark);
    color: var(--color-heading-1);
}

/* ---------- Cover images instead of Corva's demo photos ----------
 * Banner, footer call-out and home slides get the page's Cover Image as an inline
 * background-image (see PageController::BannerImage). These rules drop Corva's
 * default photos so that, without a cover image, they fall back to plain navy.
 */
.breadcrumb-style-1 {
    background-image: none;
    background-color: var(--primary-500);
}
.footer-cta-area,
.footer-cta-area.cta-two {
    background-image: none;
    background-color: var(--primary-700);
    background-size: cover;
    background-position: center;
}
/* Navy wash so the white call-out text reads on any photo */
.footer-cta-area::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(17, 12, 64, 0.92) 0%, rgba(17, 12, 64, 0.7) 55%, rgba(17, 12, 64, 0.45) 100%);
}
.bleoo-slide {
    background-color: var(--primary-900);
}

/* Shown where an event, article or profile has no image yet */
.bleoo-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--primary-50);
    color: var(--primary-300);
    font-size: 56px;
}
.bleoo-image-placeholder--tall {
    aspect-ratio: 6 / 7;
}

.bleoo-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    color: var(--color-body);
}
.bleoo-article-meta i {
    color: var(--color-primary);
    margin-right: 6px;
}
.bleoo-article-meta a {
    color: var(--color-primary);
}

/* ---------- Home banner ---------- */
/* Corva hides slide text until Swiper activates the slide; a single static
   slide never gets activated, so show its text directly. */
.bleoo-static-banner .banner-five-main-wrapper .banner-three-wrapper,
.bleoo-static-banner .banner-five-main-wrapper .banner-three-wrapper > * {
    opacity: 1 !important;
}

/* ---------- Logo ---------- */
.bleoo-logo img {
    max-height: 64px;
    width: auto;
}
.tmp-footer-area .bleoo-logo img {
    max-height: 90px;
}
@media only screen and (max-width: 767px) {
    .bleoo-logo img {
        max-height: 48px;
    }
}

/* ---------- Main menu ---------- */
.header-seven .mainmenu > li > a {
    white-space: nowrap;
}

/* ---------- Header actions ---------- */
.header-right .single-component {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bleoo-user-menu .dropdown-toggle {
    gap: 8px;
    background: #fff;
}
.bleoo-user-menu .dropdown-menu {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-1);
    padding: 8px 0;
    min-width: 200px;
}
.bleoo-user-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    color: var(--color-heading-1);
}
.bleoo-user-menu .dropdown-item:hover {
    background: var(--primary-50);
    color: var(--color-primary);
}

/* ---------- Buttons ---------- */
.tmp-btn.btn-white {
    background: #fff;
    color: var(--color-heading-1);
}
.tmp-btn.btn-white:hover {
    background: var(--color-heading-1);
    color: #fff;
}

/* ---------- CMS content typography ---------- */
.bleoo-content > *:last-child {
    margin-bottom: 0;
}
.bleoo-content p,
.bleoo-content li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-body);
}
.bleoo-content h2,
.bleoo-content h3,
.bleoo-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.bleoo-content ul,
.bleoo-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.bleoo-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.bleoo-content a {
    color: var(--color-primary);
    text-decoration: underline;
}
.bleoo-lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-heading-1);
    margin-bottom: 25px;
}

/* ---------- Home: join call-out ---------- */
.bleoo-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 50px;
    border-radius: 16px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
}
.bleoo-callout .title {
    margin-bottom: 8px;
}
@media only screen and (max-width: 767px) {
    .bleoo-callout {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }
}
.bleoo-card-icon {
    font-size: 72px;
    color: var(--color-primary);
}
.bleoo-cta-band {
    background: var(--color-primary);
    margin: 0 15px;
    border-radius: 16px;
}
.bleoo-cta-band .section-title {
    color: #fff;
}
.bleoo-cta-band .tmp-btn {
    margin: 0 auto;
}

/* ---------- Gallery / events ---------- */
.bleoo-gallery-title {
    font-size: 20px;
    margin: 15px 0 0;
}
.bleoo-event-image img {
    border-radius: 16px;
}
.bleoo-event-info .title {
    font-size: 24px;
    margin-bottom: 20px;
}
.bleoo-event-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}
.bleoo-event-info li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 12px;
    color: var(--color-heading-1);
}
.bleoo-event-info li i {
    color: var(--color-primary);
}

/* ---------- Alerts ---------- */
.bleoo-alert {
    border-radius: 12px;
    margin-bottom: 25px;
}
.bleoo-alert p {
    margin: 0;
}

/* ---------- Silverstripe forms in Corva style ---------- */
.bleoo-form-card {
    background: #fff;
    border-radius: 16px;
}
.bleoo-form-card form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}
.bleoo-form-card .row > [class*="col-"] {
    margin-bottom: 0;
}
.bleoo-form-card .field {
    margin-bottom: 20px;
}
.bleoo-form-card .field > label,
.bleoo-form-card .field > .left,
.bleoo-form-card legend {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-heading-1);
    margin-bottom: 8px;
}
.bleoo-form-card input[type=text],
.bleoo-form-card input[type=email],
.bleoo-form-card input[type=password],
.bleoo-form-card input[type=tel],
.bleoo-form-card input[type=number],
.bleoo-form-card input[type=date],
.bleoo-form-card select,
.bleoo-form-card textarea {
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-heading-1);
    font-size: 16px;
    transition: border-color 0.3s;
}
.bleoo-form-card textarea {
    height: 140px;
    padding: 15px 20px;
}
.bleoo-form-card select {
    appearance: auto;
}
.bleoo-form-card input:focus,
.bleoo-form-card select:focus,
.bleoo-form-card textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}
.bleoo-form-card .field.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bleoo-form-card .field.checkbox input {
    width: auto;
    height: auto;
}
.bleoo-form-card .field.checkbox label {
    margin: 0;
}
.bleoo-form-card .message,
.bleoo-form-card span.message {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--color-danger);
}
.bleoo-form-card .message.good,
.bleoo-form-card .message.success {
    color: var(--color-success);
}
.bleoo-form-card form > .message {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--secondary-100);
    margin-bottom: 20px;
}
.bleoo-form-card .btn-toolbar {
    margin-top: 10px;
}
.bleoo-form-card .btn-toolbar button,
.bleoo-form-card .btn-toolbar input[type=submit],
.bleoo-form-card .Actions button,
.bleoo-form-card .Actions input[type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    padding: 0 30px;
    border: 0;
    border-radius: 50px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background 0.3s;
}
.bleoo-form-card .btn-toolbar button:hover,
.bleoo-form-card .btn-toolbar input[type=submit]:hover,
.bleoo-form-card .Actions button:hover,
.bleoo-form-card .Actions input[type=submit]:hover {
    background: var(--color-heading-1);
}
/* Login form "lost password" / "remember me" links */
.bleoo-form-card #ForgotPassword,
.bleoo-form-card p.forgot-password {
    margin-top: 15px;
    text-align: center;
}
.bleoo-form-card #ForgotPassword a {
    color: var(--color-primary);
}

/* ---------- Search results ---------- */
.bleoo-search-results {
    list-style: none;
    padding: 0;
}
.bleoo-search-results li {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}
.pagination-area ul li a {
    color: inherit;
}
