/*
 * Graduate School (gs) — section styles for homepage & about additions.
 * Scoped under .gsx- prefixes so the shared template bundle is untouched.
 * Design cues: asymmetric card radii, alternating warm surface bands,
 * flat surfaces (no shadows), generous spacing. Fonts/colors inherit from
 * the existing GS theme (navy #003366 / blue #0284c7).
 */

.gsx-section {
    padding: 70px 0;
}

/* Equal-height card grid: every card in a row stretches to the same size */
.gsx-equal-row {
    display: flex;
    flex-wrap: wrap;
}

.gsx-equal-row > [class*='col-'] {
    display: flex;
    margin-bottom: 20px;
}

.gsx-equal-row .gsx-card,
.gsx-equal-row .gsx-list-item,
.gsx-equal-row .gsx-stat {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.gsx-equal-row .gsx-card p,
.gsx-equal-row .gsx-list-item p,
.gsx-equal-row .gsx-stat .gsx-stat-label {
    flex: 1 0 auto;
}

.gsx-equal-row .gsx-link,
.gsx-equal-row .gsx-button {
    margin-top: auto;
}

/* Oversized ghost numerals for editorial feature cards */
.gsx-ghost-number {
    font-size: 56px;
    line-height: 1;
    color: rgba(0, 51, 102, 0.16);
    margin-bottom: 18px;
}

.gsx-spaced-list {
    margin-top: 32px;
}

.gsx-band-white {
    background-color: #ffffff;
}

.gsx-band-ash {
    background-color: #efefef;
}

.gsx-band-fog {
    background-color: #f5f5f5;
}

/* Flush a section's bottom edge into whatever follows it */
.gsx-flush-bottom {
    padding-bottom: 0;
}

.gsx-flush-bottom .gsx-equal-row > [class*='col-'] {
    margin-bottom: 0;
}

/* Section headings — one voice with the template's theme-title, plus
   breathing room between the intro copy and the grid below */
.gsx-section .theme-title {
    padding-bottom: 45px;
}

/* Asymmetric-radius card (soft top-left corner, sharp elsewhere) */
.gsx-card {
    background-color: #efefef;
    border: 1px solid transparent;
    border-radius: 6px 0 0 0;
    padding: 40px 30px;
    height: 100%;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gsx-band-fog .gsx-card,
.gsx-band-ash .gsx-card {
    background-color: #ffffff;
    border-color: #e8e8e8;
}

/* Unified hover dialect: accent bar + hairline, no fills or shadows */
.gsx-card:hover {
    border-color: #d5d5d5;
    box-shadow: inset 3px 0 0 #003366;
}

.gsx-card h5 {
    font-size: 20px;
    color: #202020;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.gsx-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4d4d4d;
    margin-bottom: 18px;
}

/* Text-style link with accent underline */
.gsx-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #0284c7;
    text-decoration: none;
    border-bottom: 1px solid #0284c7;
    padding-bottom: 2px;
}

/* Square-edged buttons */
.gsx-button {
    display: inline-block;
    background-color: #003366;
    color: #ffffff;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.gsx-button:hover {
    color: #ffffff;
    opacity: 0.88;
}

/* Keyboard focus and text selection carry the palette, not browser defaults */
.gsx-link:focus-visible,
.gsx-button:focus-visible,
#faqs .panel-title a:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 2px;
}

::selection {
    background-color: #003366;
    color: #ffffff;
}

/* Get Started / More Functions numbered steps */
.gsx-step-number {
    font-size: 40px;
    line-height: 1;
    color: #0284c7;
    margin-bottom: 16px;
}

.gsx-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 51, 102, 0.08);
    border-radius: 6px 0 0 0;
    margin-bottom: 20px;
}

.gsx-icon i:before {
    font-size: 26px;
    color: #003366;
}

.gsx-card:hover .gsx-icon {
    background-color: rgba(0, 51, 102, 0.14);
}

/* Quick Access — directory rows: icon, label, arrow; hairline-separated */
.gsx-quick-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 20px;
    border-bottom: 1px solid #e3e3e3;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.gsx-quick-item .gsx-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.gsx-quick-body {
    flex: 1 1 auto;
}

.gsx-quick-body h5 {
    font-size: 17px;
    color: #202020;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.gsx-quick-body p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #4d4d4d;
    margin: 0;
}

.gsx-quick-arrow {
    flex: 0 0 auto;
    font-size: 16px;
    color: #0284c7;
    transition: transform 0.2s ease;
}

.gsx-quick-item:hover,
.gsx-quick-item:focus-visible {
    text-decoration: none;
    background-color: #ffffff;
    box-shadow: inset 3px 0 0 #003366;
}

.gsx-quick-item:hover .gsx-quick-arrow {
    transform: translateX(4px);
}

.gsx-quick-item:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: -2px;
}

/* DPGS Facts stats */
.gsx-stat {
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px 0 0 0;
}

.gsx-stat-number {
    font-size: 64px;
    line-height: 1;
    color: #003366;
    letter-spacing: -1px;
}

.gsx-stat-number span {
    color: #0284c7;
}

.gsx-stat-label {
    margin-top: 12px;
    font-size: 16px;
    color: #4d4d4d;
}

/* What we do intro — left-aligned to lead into the list grid below */
.gsx-intro {
    max-width: 760px;
    margin: 0 0 35px 0;
}

.gsx-intro h5 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 12px;
}

.gsx-intro p {
    font-size: 15px;
    line-height: 1.65;
    color: #4d4d4d;
}

.gsx-list-item {
    background-color: #efefef;
    border-radius: 6px 0 0 0;
    padding: 28px 26px;
    height: 100%;
}

.gsx-list-item h5 {
    font-size: 17px;
    color: #202020;
    margin: 0 0 8px 0;
}

.gsx-list-item p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #4d4d4d;
    margin: 0;
}

/* FAQ accordion redesigned as flat editorial cards */
#faqs .theme-title {
    padding-bottom: 45px;
}

#faqs .faq-panel .row > [class*='col-'] {
    margin-bottom: 10px;
}

#faqs .panel-group {
    margin-bottom: 0;
}

#faqs .panel-group .panel {
    background-color: #efefef;
    border: 1px solid transparent;
    border-radius: 6px 0 0 0;
    box-shadow: none;
    margin: 0 0 16px 0;
    overflow: hidden;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

#faqs .panel-group .panel:has(.panel-collapse.in) {
    background-color: #ffffff;
    border-color: #e8e8e8;
    box-shadow: inset 3px 0 0 #0284c7;
}

#faqs .panel-heading {
    background: transparent;
    border: 0;
    padding: 0;
}

#faqs .panel-heading.active-panel {
    background: transparent;
}

#faqs .panel-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 19px 22px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: #202020;
    text-decoration: none;
}

#faqs .panel-title a:hover,
#faqs .panel-heading.active-panel .panel-title a {
    color: #003366;
}

#faqs .panel-title a::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #0284c7;
    transition: transform 0.2s ease;
}

#faqs .panel-heading.active-panel .panel-title a::after {
    transform: rotate(45deg);
}

#faqs .panel-body {
    border-top: 1px solid #e8e8e8;
    padding: 16px 22px 20px;
}

#faqs .panel-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #4d4d4d;
    margin: 0;
}

@media (max-width: 991px) {
    .gsx-section {
        padding: 50px 0;
    }

    .gsx-flush-bottom {
        padding-bottom: 0;
    }

    .gsx-card,
    .gsx-list-item,
    .gsx-stat {
        height: auto;
    }
}

@media (max-width: 767px) {
    .gsx-stat-number {
        font-size: 48px;
    }
}

/* CTA banners — display headline with accent word, tight support line, inverted button
   (.opacity in the chain outranks the template's .short-banner-two .opacity h6) */
.short-banner-two .opacity .gsx-banner-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 16px;
}

.short-banner-two .gsx-banner-title span {
    color: #a5d3f7;
}

.short-banner-two .gsx-banner-text {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto 30px;
}

.short-banner-two .gsx-banner-button {
    display: inline-block;
    background-color: #ffffff;
    color: #003366;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 34px;
    border: 1px solid #ffffff;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.short-banner-two .gsx-banner-button:hover,
.short-banner-two .gsx-banner-button:focus {
    background-color: transparent;
    color: #ffffff;
}

.short-banner-two .gsx-banner-button:focus-visible {
    outline: 2px solid #a5d3f7;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .short-banner-two .opacity .gsx-banner-title {
        font-size: 30px;
    }

    .short-banner-two .gsx-banner-text {
        font-size: 15px;
    }
}
