/**
 * GSC House System — expanding colour columns
 * Pairs with [gsc_house_system] (gsc-house-system-shortcode.php).
 *
 * Uses the theme :root palette (--navy, --navy-deep, --gold, --gold-l,
 * --gold-d, --serif, --sans). NEW variables introduced by this
 * component are defined below — you can also move them into the
 * theme's main :root block if you prefer everything in one place:
 */
:root {
    /* House colours (new) */
    --house-red: #c0392b;
    --house-red-d: #8e2a20;
    --house-orange: #f6aa5e;
    --house-green: #1e8449;
    --house-green-d: #155e34;
    --house-blue: #2563a8;
    --house-blue-d: #1a477c;
    /* Light navy used as the third stop of dark-blue gradients (new) */
    --navy-l: #1d3270;
}

/* ── Heading ── */
.gsc-hx__head {
    max-width: 760px;
    margin-bottom: 0.5rem;
}
.gsc-hx__kick {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-d);
    font-weight: 600;
    margin: 0 0 0.8rem;
}
.gsc-hx__title {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}
.gsc-hx__title em {
    font-style: italic;
    color: var(--gold-d);
}
.gsc-hx__intro {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(22, 37, 92, 0.6);
    font-weight: 300;
    margin: 1rem 0 0;
}

/* ── Progression strip ── */
.gsc-hx__prog {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2.2rem auto 0;
}
.gsc-hx__step {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.05rem;
    border-radius: 99px;
    font-weight: 700;
    color: #fff;
}
.gsc-hx__arr {
    color: rgba(22, 37, 92, 0.35);
    font-size: 0.85rem;
}
.gsc-hx__step--ab {
    background: var(--house-red);
}
.gsc-hx__step--is {
    background: var(--house-orange);
}
.gsc-hx__step--ja {
    background: var(--house-green);
}
.gsc-hx__step--ir {
    background: var(--house-blue);
}

/* ── Expanding columns ── */
.gsc-hx__cols {
    display: flex;
    gap: 0.8rem;
    min-height: 620px;
    margin-top: 3rem;
}
.gsc-hx__col {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.gsc-hx__col.is-act {
    flex: 3.4;
    cursor: default;
}
.gsc-hx__col--ab {
    background: linear-gradient(180deg, var(--house-red) 0%, var(--house-red-d) 100%);
}
.gsc-hx__col--is {
    background: linear-gradient(180deg, var(--house-orange) 0%, var(--house-orange) 100%);
}
.gsc-hx__col--ja {
    background: linear-gradient(180deg, var(--house-green) 0%, var(--house-green-d) 100%);
}
.gsc-hx__col--ir {
    background: linear-gradient(180deg, var(--house-blue) 0%, var(--house-blue-d) 100%);
}

/* Collapsed rail */
.gsc-hx__rail {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.8rem 0.5rem;
    gap: 1.2rem;
    transition: opacity 0.3s;
}
.gsc-hx__rail img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.gsc-hx__rail span {
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 500;
}
.gsc-hx__col.is-act .gsc-hx__rail {
    opacity: 0;
    pointer-events: none;
}

/* Expanded body */
.gsc-hx__body {
    position: absolute;
    inset: 0;
    padding: 2.6rem 2.5rem 2.4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-width: min(480px, 82vw);
    opacity: 0;
    transition: opacity 0.4s 0.28s;
}
.gsc-hx__col.is-act .gsc-hx__body {
    opacity: 1;
}
.gsc-hx__bh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}
.gsc-hx__bh h3 {
    font-family: var(--serif);
    font-size: 1.85rem;
    letter-spacing: 0.2px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}
.gsc-hx__bh h3 span {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 700;
    margin-top: 0.45rem;
    font-family: var(--sans);
}
/* the circle — fixed size, clips whatever overflows */
.gsc-hx__badge {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

/* the image — zoomed inside; the circle crops the spill */
.gsc-hx__badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.8);
    display: block;
}

/* small variant for the collapsed rails */
.gsc-hx__badge--sm {
    width: 75px;
    height: 75px;
    border-width: 2px;
    box-shadow: none;
}

.gsc-hx__body p {
    font-size: 0.88rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin: 0 0 0.9rem;
}
.gsc-hx__sym {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom:0;
}
.gsc-hx__vals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.3rem 0 1.2rem;
}
.gsc-hx__vals span {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 99px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.gsc-hx__motto {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400 !important;
    font-size: 1.3rem !important;
    line-height: 1.2;
    color: #fff;
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    padding-left: 1rem;
    margin-top: auto !important;
    letter-spacing: 0.3px;
}

/* ── Emblem explorer (tooltip-only) ── */
.emb-colour {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 2rem auto 0;
    background: #fff;
    border: 1px solid rgba(22, 37, 92, 0.09);
    border-left: 3px solid var(--navy);
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    max-width: 700px;
}

.emb-colour i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(22, 37, 92, 0.25);
}

.emb-colour b {
    display: block;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.emb-colour span {
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(22, 37, 92, 0.6);
    font-weight: 300;
}

.emb-verse-card {
    background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 65%, var(--navy-l) 100%);
    border: 1px solid rgba(198, 153, 58, 0.5);
    border-radius: 8px;
    padding: 2.6rem 2.6rem 2.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emb-verse-card::before {
    content: "\201C";
    position: absolute;
    top: 2px;
    left: 22px;
    font-family: var(--serif);
    font-size: 4.5rem;
    color: rgba(198, 153, 58, 0.45);
    line-height: 1;
    z-index: 1;
}

.emb-verse-card::after {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(198, 153, 58, 0.16), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.emb-verse-card p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    color: var(--gold-l);
    line-height: 1.55;
    margin: 0;
    position: relative;
    z-index: 1;
}

.emb-verse-card span {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-top: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ── Desktop: pure-CSS hover expansion (works even without JS) ──
   The .is-act column stays open by default; hovering any column
   expands it and collapses the pinned one. */
@media (min-width: 901px) and (hover: hover) {
    .gsc-hx__col:hover {
        flex: 3.4;
    }
    .gsc-hx__col:hover .gsc-hx__rail {
        opacity: 0;
        pointer-events: none;
    }
    .gsc-hx__col:hover .gsc-hx__body {
        opacity: 1;
    }
    .gsc-hx__cols:hover .gsc-hx__col.is-act:not(:hover) {
        flex: 1;
    }
    .gsc-hx__cols:hover .gsc-hx__col.is-act:not(:hover) .gsc-hx__body {
        opacity: 0;
    }
    .gsc-hx__cols:hover .gsc-hx__col.is-act:not(:hover) .gsc-hx__rail {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ── Mobile: vertical accordion ── */
@media (max-width: 900px) {
    .gsc-hx__cols {
        flex-direction: column;
        min-height: 0;
    }
    .gsc-hx__col {
        min-height: 70px;
        flex: none;
        transition: min-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .gsc-hx__col.is-act {
        min-height: 560px;
    }
    .gsc-hx__rail {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.9rem 1.2rem;
    }
    .gsc-hx__rail img {
        width: 46px;
        height: 46px;
    }
    .gsc-hx__rail span {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.15rem;
    }
    .gsc-hx__body {
        position: relative;
        inset: auto;
        min-width: 0;
        padding: 1.8rem 1.4rem;
        height: 0;
        overflow: hidden;
    }
    .gsc-hx__col.is-act .gsc-hx__body {
        height: auto;
    }
	
	.gsc-hx__badge--sm,
	.gsc-hx__badge{
		width: 50px;
		height: 50px;
	}
}


.opp-chips .et_pb_text_inner
 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.3rem;
}

.opp-chips span {
    font-size: .72rem;
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    border: 1px solid rgba(22, 37, 92, .14);
    padding: .5rem 1.1rem;
    border-radius: 99px;
}

/* ================================================================== */
/*  [gsc_emblem] — crest explorer                                      */
/* ================================================================== */

/* ── Heading ── */
.gsc-emb__head {
    max-width: 720px;
    margin-bottom: 0.5rem;
}
.gsc-emb__kick {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-d);
    font-weight: 600;
    margin: 0 0 0.8rem;
}
.gsc-emb__title {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}
.gsc-emb__title em {
    font-style: italic;
    color: var(--gold-d);
}
.gsc-emb__intro {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(22, 37, 92, 0.6);
    font-weight: 300;
    margin: 1rem 0 0;
}

/* ── Explorer: centered crest + numbered hotspot tooltips ── */
.gsc-emb__center {
    max-width: 640px;
    margin: 3rem auto 0;
}
.gsc-emb__stage {
    position: relative;
    background: #fff;
    border: 1px solid rgba(22, 37, 92, 0.09);
    border-radius: 8px;
    padding: 3rem 3.4rem;
    box-shadow: 0 24px 60px -30px rgba(22, 37, 92, 0.25);
}
.gsc-emb__stage > img {
    width: 100%;
    height: auto;
    display: block;
}
.gsc-emb__hint {
    margin-top: 1.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(22, 37, 92, 0.4);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}
.gsc-emb__hint i {
    width: 22px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.gsc-emb__dot {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    z-index: 2;
    padding: 0;
}
.gsc-emb__dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(198, 153, 58, 0.55);
    animation: gscEmbPulse 2.6s infinite;
}
@keyframes gscEmbPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.gsc-emb__dot.is-on,
.gsc-emb__dot:hover {
    transform: translate(-50%, -50%) scale(1.28);
    box-shadow: 0 6px 18px -6px rgba(198, 153, 58, 0.85);
    z-index: 5;
}

/* ── Hotspot tooltips (hover on desktop, tap on touch) ── */
.gsc-emb__tip {
    position: absolute;
    width: min(280px, 74vw);
    background: #fff;
    border: 1px solid rgba(22, 37, 92, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 44px -14px rgba(10, 20, 50, 0.35);
    padding: 1rem 1.15rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
    z-index: 30;
    pointer-events: none;
    font-size: 0.78rem;
    line-height: 1.68;
    color: rgba(22, 37, 92, 0.66);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 300;
    font-family: var(--sans);
    cursor: default;
}
.gsc-emb__tip b {
    display: block;
    font-family: var(--serif);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.gsc-emb__dot[data-tip="bottom"] .gsc-emb__tip {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}
.gsc-emb__dot[data-tip="top"] .gsc-emb__tip {
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}
.gsc-emb__dot[data-tip="right"] .gsc-emb__tip {
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
}
.gsc-emb__dot[data-tip="left"] .gsc-emb__tip {
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
}
.gsc-emb__dot:hover .gsc-emb__tip,
.gsc-emb__dot.is-on .gsc-emb__tip {
    opacity: 1;
    visibility: visible;
}
/* Touch screens: in-dot tooltips are replaced by the bottom sheet
   (position:fixed cannot live inside the transformed dot). */
@media (hover: none) {
    .gsc-emb__dot .gsc-emb__tip {
        display: none !important;
    }
}

/* ── Bottom sheet (touch screens) — sits outside the dots, so
      position:fixed works correctly ── */
.gsc-emb__sheet {
    position: absolute;
    top: -75px;
    height: fit-content;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 99999;
    background: #fff;
    border: 1px solid rgba(22, 37, 92, 0.12);
    border-radius: 10px;
    box-shadow: 0 -10px 44px -8px rgba(10, 20, 50, 0.45);
    padding: 1.15rem 2.8rem 1.2rem 1.25rem;
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(22, 37, 92, 0.66);
    font-weight: 300;
    text-align: left;
    display: none;
}
.gsc-emb__sheet.is-open {
    display: block;
}
.gsc-emb__sheet b {
    display: block;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.gsc-emb__sheet-x {
    position: absolute;
    top: 0.55rem;
    right: 0.6rem;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(22, 37, 92, 0.07);
    border-radius: 50%;
    font-size: 1.05rem;
    color: var(--navy);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

@media (max-width: 640px) {
    .gsc-emb__stage {
        padding: 1.6rem;
    }
}