﻿.gwm-institutional-landing {
    background: #f7f3ea;
    color: #172033;
}

.gwm-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.gwm-institutional-breadcrumb {
    display: block;
    margin: 0;
    padding: 8px 0;
    background: #fffaf0;
    border-bottom: 1px solid rgba(216, 175, 85, 0.28);
}

.gwm-institutional-breadcrumb__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gwm-breadcrumb,
.gwm-breadcrumb a,
.gwm-institutional-breadcrumb {
    color: #172033;
    font-size: 0.84rem;
}

.gwm-breadcrumb-search-form {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 320px;
    width: 100%;
}

.gwm-breadcrumb-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 36px;
    border: 1px solid rgba(17, 24, 39, 0.18);
    border-radius: 5px;
    padding: 0 11px;
}

.gwm-breadcrumb-search-form button {
    height: 34px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #111827;
    border-radius: 5px;
    background: #111827;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    transform: skewX(-10deg);
}

.gwm-breadcrumb-search-form button span {
    display: inline-block;
    color: #ffffff;
    transform: skewX(10deg);
}

.gwm-institutional-hero {
    position: relative;
    min-height: 500px;
    display: grid;
    align-items: center;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 16, 31, 0.94), rgba(7, 16, 31, 0.78)),
        var(--gwm-hero-image, none);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.gwm-institutional-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(216, 175, 85, 0.26), transparent 34%),
        linear-gradient(135deg, rgba(4, 9, 18, 0.86), rgba(7, 16, 31, 0.58));
}

.gwm-institutional-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding-top: clamp(56px, 8vw, 96px);
    padding-bottom: clamp(56px, 8vw, 96px);
}

.gwm-section-kicker {
    margin: 0 0 12px;
    color: #d8af55;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
}

.gwm-institutional-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 58px rgba(0, 0, 0, 0.45);
}

.gwm-institutional-hero__lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.7;
}

.gwm-institutional-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.gwm-parallelogram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1.5px solid #d8af55;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    transform: skewX(-10deg);
}

.gwm-parallelogram-button span {
    display: inline-block;
    transform: skewX(10deg);
}

.gwm-institutional-main {
    padding: clamp(42px, 6vw, 84px) 0;
}

.gwm-institutional-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.gwm-institutional-content,
.gwm-latest-updates-widget {
    border: 1.5px solid rgba(216, 175, 85, 0.36);
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(16, 27, 47, 0.08);
}

.gwm-institutional-content {
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
}

.gwm-institutional-sidebar {
    display: grid;
    gap: 22px;
    align-self: start;
}

.gwm-latest-updates-widget {
    display: block;
    padding: 22px;
}

.gwm-latest-updates-widget h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    font-weight: 700;
}

.gwm-latest-updates-list {
    display: grid;
    gap: 14px;
}

.gwm-latest-update-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border: 1.5px solid rgba(216, 175, 85, 0.36);
    border-radius: 5px;
    background: #ffffff;
}

.gwm-latest-update-card__image {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
    background: #eadfcb;
}

.gwm-latest-update-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gwm-latest-update-card__meta {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    margin: 0 6px 7px 0;
    padding: 4px 8px;
    border: 1px solid rgba(216, 175, 85, 0.42);
    border-radius: 5px;
    background: rgba(216, 175, 85, 0.1);
    color: #6b521c;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.gwm-latest-update-card h3,
.gwm-latest-update-card h3 a {
    margin: 0;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.32;
}

.gwm-latest-update-card p {
    margin: 6px 0 0;
    color: #526071;
    font-size: 0.78rem;
    line-height: 1.45;
}

@media (max-width: 920px) {
    .gwm-institutional-main__grid,
    .gwm-institutional-breadcrumb__inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    .gwm-breadcrumb-search-form {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .gwm-container {
        width: min(100% - 24px, 1180px);
    }

    .gwm-institutional-hero {
        min-height: 390px;
    }

    .gwm-institutional-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gwm-latest-update-card {
        grid-template-columns: 1fr;
    }
}






/* ==========================================================
   GWM Institutional Landing: Remove breadcrumb/search to hero gap
   Scope: institutional landing only
   ========================================================== */

body.page-id-1316 nav.gwm-breadcrumbs,
body.page-template-template-institutional-landing nav.gwm-breadcrumbs {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-1316 nav.gwm-breadcrumbs .gwm-breadcrumbs__inner,
body.page-template-template-institutional-landing nav.gwm-breadcrumbs .gwm-breadcrumbs__inner {
    margin-bottom: 0 !important;
}

body.page-id-1316 .gwm-site-main,
body.page-template-template-institutional-landing .gwm-site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1316 .gwm-institutional-landing,
body.page-template-template-institutional-landing .gwm-institutional-landing {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1316 .gwm-institutional-hero,
body.page-template-template-institutional-landing .gwm-institutional-hero {
    margin-top: 0 !important;
}

/* ==========================================================
   GWM Institutional Landing: Faint Cards + Sidebar Sliders
   Scope: institutional landing content/sidebar only
   ========================================================== */

body.page-id-1316 .gwm-institutional-content > .wp-block-group,
body.page-id-1316 .gwm-institutional-content > .wp-block-columns,
body.page-id-1316 .gwm-institutional-content > .wp-block-media-text,
body.page-id-1316 .gwm-institutional-content > section,
body.page-template-template-institutional-landing .gwm-institutional-content > .wp-block-group,
body.page-template-template-institutional-landing .gwm-institutional-content > .wp-block-columns,
body.page-template-template-institutional-landing .gwm-institutional-content > .wp-block-media-text,
body.page-template-template-institutional-landing .gwm-institutional-content > section {
    margin-bottom: 18px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(216, 175, 85, 0.24);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 240, 0.74));
    box-shadow: 0 14px 38px rgba(16, 27, 47, 0.055);
}

body.page-id-1316 .gwm-institutional-sidebar {
    display: grid;
    gap: 18px;
}

body.page-id-1316 .gwm-latest-updates-widget,
body.page-id-1316 .gwm-inst-widget {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(216, 175, 85, 0.30);
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,250,240,0.78));
    box-shadow: 0 16px 42px rgba(16, 27, 47, 0.07);
}

body.page-id-1316 .gwm-latest-updates-widget::before,
body.page-id-1316 .gwm-inst-widget::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(216,175,85,0.72), rgba(216,175,85,0.12));
    pointer-events: none;
}

body.page-id-1316 .gwm-latest-updates-widget h2,
body.page-id-1316 .gwm-inst-widget h2 {
    margin: 0;
    color: #111827;
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.015em;
}

body.page-id-1316 .gwm-inst-widget__head {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}

body.page-id-1316 .gwm-inst-widget__eyebrow {
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid rgba(216, 175, 85, 0.36);
    border-radius: 999px;
    color: #7a5a14;
    background: rgba(216, 175, 85, 0.10);
    font-size: 0.64rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-id-1316 .gwm-latest-updates-list {
    position: relative;
    display: block;
    min-height: 168px;
}

body.page-id-1316 .gwm-latest-updates-list .gwm-latest-update-card {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 260ms ease, transform 260ms ease;
}

body.page-id-1316 .gwm-latest-updates-list .gwm-latest-update-card.is-active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

body.page-id-1316 .gwm-inst-location-slider {
    position: relative;
    min-height: 188px;
}

body.page-id-1316 .gwm-inst-location-card {
    display: none;
    padding: 16px;
    border: 1px solid rgba(216, 175, 85, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
}

body.page-id-1316 .gwm-inst-location-card.is-active {
    display: block;
}

body.page-id-1316 .gwm-inst-location-card__type {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #674b12;
    background: rgba(216,175,85,0.12);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.page-id-1316 .gwm-inst-location-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 780;
}

body.page-id-1316 .gwm-inst-location-card p,
body.page-id-1316 .gwm-inst-prayer-widget p {
    margin: 0 0 10px;
    color: #536171;
    font-size: 0.84rem;
    line-height: 1.55;
}

body.page-id-1316 .gwm-inst-location-card small {
    display: block;
    margin-bottom: 12px;
    color: #344054;
    font-size: 0.76rem;
    font-weight: 700;
}

body.page-id-1316 .gwm-inst-mini-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
    border-bottom: 1px solid rgba(216,175,85,0.72);
}

body.page-id-1316 .gwm-inst-activity-list {
    display: grid;
    gap: 10px;
}

body.page-id-1316 .gwm-inst-activity-list div {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid rgba(216, 175, 85, 0.22);
    border-radius: 6px;
    background: rgba(255,255,255,0.62);
}

body.page-id-1316 .gwm-inst-activity-list strong {
    color: #172033;
    font-size: 0.82rem;
    line-height: 1.25;
}

body.page-id-1316 .gwm-inst-activity-list span {
    color: #7a5a14;
    font-size: 0.74rem;
    font-weight: 750;
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-1316 .gwm-latest-updates-list .gwm-latest-update-card,
    body.page-id-1316 .gwm-inst-location-card {
        transition: none;
    }
}

/* ==========================================================
   GWM Institutional Landing: Simple Visible Card Buttons
   Purpose: make card action links visible and button-like
   Scope: institutional landing only
   ========================================================== */

body.page-id-1316 .gwm-inst-mini-link,
body.page-id-1316 .gwm-latest-update-card a,
body.page-template-template-institutional-landing .gwm-inst-mini-link,
body.page-template-template-institutional-landing .gwm-latest-update-card a {
    color: #172033 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Only action-style links become buttons */
body.page-id-1316 .gwm-inst-mini-link,
body.page-template-template-institutional-landing .gwm-inst-mini-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 34px !important;
    margin-top: 8px !important;
    padding: 8px 13px !important;
    border: 1.5px solid #d8af55 !important;
    border-radius: 5px !important;
    background: rgba(216, 175, 85, 0.08) !important;
    color: #172033 !important;
    font-size: 0.76rem !important;
    line-height: 1 !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Simple hover: visible but not loud */
body.page-id-1316 .gwm-inst-mini-link:hover,
body.page-template-template-institutional-landing .gwm-inst-mini-link:hover {
    background: rgba(17, 24, 39, 0.08) !important;
    border-color: #172033 !important;
    color: #111827 !important;
    text-decoration: none !important;
}

/* Latest update title links should remain readable, not buttoned */
body.page-id-1316 .gwm-latest-update-card h3 a,
body.page-template-template-institutional-landing .gwm-latest-update-card h3 a {
    color: #172033 !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

body.page-id-1316 .gwm-latest-update-card h3 a:hover,
body.page-template-template-institutional-landing .gwm-latest-update-card h3 a:hover {
    color: #7a5a14 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Prevent links from becoming invisible inside faint cards */
body.page-id-1316 .gwm-inst-widget a,
body.page-id-1316 .gwm-institutional-content a,
body.page-template-template-institutional-landing .gwm-inst-widget a,
body.page-template-template-institutional-landing .gwm-institutional-content a {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================
   GWM Contact Page: Remove Sidebar
   Scope: Contact page only
   ========================================================== */

body.page-template-template-institutional-landing.page-id-contact .gwm-institutional-sidebar,
body.page-template-template-institutional-landing .gwm-institutional-landing.contact-page .gwm-institutional-sidebar,
body.page-template-template-institutional-landing.page-slug-contact .gwm-institutional-sidebar,
body.page-template-template-institutional-landing .gwm-institutional-sidebar.gwm-contact-sidebar {
    display: none !important;
}

body.page-template-template-institutional-landing.page-slug-contact .gwm-institutional-main,
body.page-template-template-institutional-landing .gwm-institutional-landing.contact-page .gwm-institutional-main,
body.page-template-template-institutional-landing:has(.gwm-contact-location-card) .gwm-institutional-main {
    grid-template-columns: 1fr !important;
}

body.page-template-template-institutional-landing:has(.gwm-contact-location-card) .gwm-institutional-content {
    width: 100% !important;
    max-width: 100% !important;
}
