/* GRDPS brand color overrides */
:root {
    --thm-base: #b60000;      /* Red */
    --thm-base-rgb: 182, 0, 0;
    --thm-black: #000045;     /* Blue */
    --thm-black-rgb: 0, 0, 69;
}

/* Fix: Mission/Vision/Values/Commitment headings (About page) were
   invisible against their dark background — the template's CSS only
   makes an <a> inside this h3 white, but we used a plain <span>. */
.statements-tab__content .text-holder h3,
.statements-tab__content .text-holder h3 span {
    color: #ffffff;
}

/* Public Disclosure page — simple data tables in the site's theme. */
.grdps-disclosure-block {
    margin-bottom: 45px;
}

.grdps-disclosure-block__title {
    font-size: 22px;
    color: var(--thm-black);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--thm-base);
    display: inline-block;
}

.grdps-table-wrap {
    overflow-x: auto;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}

.grdps-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 500px;
}

.grdps-table thead th {
    background: var(--thm-black);
    color: #fff;
    text-align: left;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
}

.grdps-table tbody td {
    padding: 13px 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #444;
}

.grdps-table tbody tr:last-child td {
    border-bottom: none;
}

.grdps-table tbody tr:nth-child(even) {
    background: #f9f7f6;
}

.grdps-table__link {
    color: var(--thm-base);
    font-weight: 700;
    text-decoration: underline;
}

.grdps-table__link:hover {
    color: var(--thm-black);
}

/* Book Shops / Uniform Shops list (Book List page) */
.grdps-shop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
}

.grdps-shop-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}

.grdps-shop-list li:last-child {
    border-bottom: none;
}

.grdps-shop-list li:nth-child(even) {
    background: #f9f7f6;
}

.grdps-shop-list__name {
    font-weight: 700;
    color: var(--thm-black);
    min-width: 220px;
}

.grdps-shop-list__address {
    color: #666;
    flex: 1;
    min-width: 200px;
}

.grdps-shop-list__phone {
    color: var(--thm-base);
    font-weight: 700;
    white-space: nowrap;
}

.grdps-shop-list__phone:hover {
    color: var(--thm-black);
}

/* Gallery — event cards (listing page) */
.grdps-event-card {
    display: block;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grdps-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.14);
    color: inherit;
}

.grdps-event-card__img {
    height: 220px;
    overflow: hidden;
}

.grdps-event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grdps-event-card:hover .grdps-event-card__img img {
    transform: scale(1.08);
}

.grdps-event-card__body {
    padding: 20px 22px 22px;
}

.grdps-event-card__body h3 {
    font-size: 20px;
    color: var(--thm-black);
    margin-bottom: 12px;
}

.grdps-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
    color: #666;
}

.grdps-event-card__meta i {
    color: var(--thm-base);
    margin-right: 4px;
}

/* Gallery — single event photo grid (detail page) */
.grdps-event-photo {
    display: block;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
}

.grdps-event-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.grdps-event-photo__caption {
    display: block;
    padding: 14px 18px;
    color: var(--thm-black);
    font-weight: 600;
}

/* Mobile header: stack the logo above the menu button and center both,
   instead of the default logo-left / hamburger-right layout. */
@media only screen and (max-width: 767px) {
    .header-style-one .header-middle {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
    }

    .header-style-one .main-logo-box {
        float: none;
        margin: 0 auto 14px;
        text-align: center;
    }

    .header-style-one .nav-outer {
        float: none;
        width: auto;
        margin: 0 auto;
    }

    .header-style-one .nav-outer .mobile-nav-toggler {
        float: none;
        margin: 0 auto;
        padding: 0;
    }
}

/* Desktop header: the template caps .header-middle at 70% width and
   left-aligns it, so the "centered" logo/menu actually sits left of
   true page-center. Give it the full width so the centering works
   across the whole header, not just 70% of it. */
@media only screen and (min-width: 1200px) {
    .header-style-one .header-middle {
        width: 100%;
    }
}
