/*
Theme Name: Illdy Child
Theme URI: https://colorlib.com/wp/themes/illdy/
Description: Child theme for Illdy
Author: MEC Designs LLC
Template: illdy
Version: 1.0.2
*/

/* Add child theme styles below */
@font-face {
    font-family: 'Glacial Indifference';
    src: url('./assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('./assets/fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('./assets/fonts/GlacialIndifference-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* NOTE: 'bogy' was a typo for 'body' — fixed */
/* ── Force Glacial Indifference site-wide ── */
body *:not(.fa):not([class^="fa-"]):not([class*=" fa-"]),
h1, h2, h3, h4, h5, h6,
p, a, li, span, div, td, th,
input, textarea, button, select,
.front-page-section .section-header .section-description,
.front-page-section .section-header h3,
#header .top-header .header-navigation ul li,
#header .bottom-header,
#blog .blog-post,
.widget,
.markup-format {
    font-family: 'Glacial Indifference', Arial, sans-serif !important;
}
/* ── Admin bar ── */
.tcc-admin-menu { background: #001729; top: 0px; width: 100%; position: fixed; z-index: 10; }
.admin-bar .tcc-admin-menu { top: 32px; }
.tcc-admin-menu a { color: #EFEFEA; float: right; padding: 4px 15px; }
.tcc-admin-menu a:hover { color: #fff; text-decoration: underline; }

#login-here {
    background: transparent url(./tcc-account.png) no-repeat;
    width: auto;
    height: 25px;
    background-size: contain;
    padding: 0 10px 0 35px;
    margin-top: 5px;
}
#register-link { margin-top: 1px; }

/* ── Gradient overlay inside header ── */
#gradient .top-header {
    background-image: url('/wp-content/uploads/2026/04/bkg-gradient.png');
    background-repeat: repeat;
}

/* ── Font targeting ── */
#full-width .section-header h3,
.section-description,
h3,
.contact-us-box,
footer,
.bottom-footer {
    font-family: 'Glacial Indifference', Arial, sans-serif;
}

/* ── Header ── */
#header.header-front-page .bottom-header h1,
#header.header-front-page .bottom-header h3 {
    font-family: 'Glacial Indifference', Arial, sans-serif;
    color: #87E3E6;
}
#header .bottom-header h1,
#header-front-page h3 {
    font-family: 'Glacial Indifference', Arial, sans-serif;
    color: #87E3E6;
}
#header .bottom-header h2 { color: #f5deb3; }
#header .bottom-header h1 { text-shadow: 3px 3px 4px #333; }

#header img.header-logo-img {
    max-width: 80%;
    padding-top: 25px;
}

/* ── Video hero full-cover fix ── */
#header.header-front-page {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}
.illdy-jumbotron-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.illdy-jumbotron-background #wp-custom-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.illdy-jumbotron-background #wp-custom-header iframe,
.illdy-jumbotron-background #wp-custom-header video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw !important;
    height: 56.25vw !important;
    min-height: 100%;
    min-width: 177.78vh;
    border: 0;
}
#header.header-front-page #gradient {
    position: relative;
    z-index: 1;
}
#header.header-front-page .top-header,
#header.header-front-page .bottom-header {
    position: relative;
    z-index: 2;
}

/* ── Footer first widget replaced with logo image ── */
#footer > .container > .row > .col-md-3.col-sm-6.col-xs-12:first-child .widget {
    display: none;
}
#footer > .container > .row > .col-md-3.col-sm-6.col-xs-12:first-child::after {
    content: "";
    display: block;
    width: 125px;
    height: 125px;
    background-image: url("/wp-content/uploads/2023/01/cropped-cropped-TXCC-Symbol-2022-Circle-copy.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ── Front page header bottom ── */
.page-id-8 #header .bottom-header {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

/* ── Navigation ── */
#header .top-header .header-navigation ul li {
    font-family: 'Glacial Indifference', Arial, sans-serif;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    line-height: 25px;
    margin-bottom: 20px;
    display: inline-block;
    float: none;
}
#header .top-header .header-navigation ul li:hover { color: #ccc; }
#header .aop-header .header-navigation ul li:hover a { color: #fff; }
#header .top-header .header-navigation ul li a { text-shadow: 0px 2px 3px #000 !important; font-weight: bold; }
#header .top-header .header-navigation ul li a:focus { color: #fff; }
#header .top-header .header-navigation ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #ccc;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
#header .top-header .header-navigation ul li:hover::after { transform: scaleX(1); }
#header .top-header .header-navigation ul li.current-menu-item { border-bottom: 2px solid #fff; }

/* ── General ── */
#gallery-1 img { border-radius: 10px; }
p.copyright span:first-child { display: none; }
.markup-format a:hover { color: #fff; }
.markup-format a:focus { color: #e2c504; }
figure img.align-center { text-align: center; }
.markup-format p a:hover { color: #000; }
#post-574 #blog .blog-post .blog-post-image img { border-radius: 10px; }
.round-border img, .blog-post-image img, .post-32 img { border-radius: 20px; }

/* ── Staff ── */
.staff-image img {
    border-radius: 50%;
    width: 100%;
    height: auto;
}

/* ── Events ── */
.event-category-loop {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.event-cat-link {
    padding: 8px 16px;
    background: #004E7A;
    color: #87E3E6;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}
.event-cat-link:hover { background: #000; color: #fff; }

/* ── WooCommerce account ── */
.woocommerce-MyAccount-navigation .markup-format a:hover { color: #000; }

/* ── Utility ── */
.hidden-menu-item { display: none !important; }

/* ── TCCC dashboard tables ── */
.tccc-section-title { color: #7a1c2e; font-weight: 700; margin-bottom: 10px; }
.tccc-campers-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.tccc-campers-table th { background: #7a1c2e; color: white; padding: 10px; }
.tccc-campers-table td { padding: 10px; border-bottom: 1px solid #eee; }
.tccc-actions span { cursor: pointer; color: #7a1c2e; font-weight: 600; }
.tccc-actions span:hover { text-decoration: underline; }

/* ── Buttons ── */
button,
.button {
    background: #7a1c2e;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
}
button:hover { background: #5a1421; }

/* ── Links ── */
.markup-format a:hover,
.markup-format a:focus { color: #000; }

/* ── Register/Camp menu button ── */
#menu-item-42207 a {
    background: #016636;
    padding: 3px 25px;
    border: .5px solid #fff;
    text-shadow: none;
    font-weight: normal;
}
.is-active a:active { text-decoration: underline; }
.logged-in a #register-link { display: none; }

/* ── WooCommerce page layout ── */
#post-42822 h2, #post-42650 h2 { padding-left: 30px; }
#post-42822 .woocommerce .col2-set .col-2 { width: 100%; float: none; }
#post-42822 .woocommerce .col2-set .col-1 { display: none; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register { border: none; }
#post-42650 .woocommerce .col2-set .col-1 { width: 100%; float: none; }
#post-42650 .woocommerce .col2-set .col-2 { display: none; }

/* ── The Events Calendar ── */
.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:focus,
.tribe-common .tribe-common-anchor-thin:hover { color: #004E7A; }
.tribe-events .tribe-events-calendar-list__event-title-link { color: #016636; }
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text { color: #016636; }
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border { border-color: #016636; }
.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button { background-color: #016636; }
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover { background-color: #016636; }
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:hover,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:hover { color: #87E3E6; }
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus { color: #87E3E6; }
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus { color: #87E3E6; }
/* ── TCC Brand color palette — block editor ── */
.has-tcc-navy-color { color: #001729 !important; }
.has-tcc-navy-background-color { background-color: #001729 !important; }

.has-tcc-blue-color { color: #004E7A !important; }
.has-tcc-blue-background-color { background-color: #004E7A !important; }

.has-tcc-aqua-color { color: #87E3E6 !important; }
.has-tcc-aqua-background-color { background-color: #87E3E6 !important; }

.has-tcc-cream-color { color: #EFEFEA !important; }
.has-tcc-cream-background-color { background-color: #EFEFEA !important; }

.has-tcc-green-color { color: #016636 !important; }
.has-tcc-green-background-color { background-color: #016636 !important; }
/* ── Hero countdown overlay ── */
/* ── Ensure countdown stays visible over video ── */
.tcc-hero-countdown {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding-bottom: 30px;
}

/* Prevent jumbotron video layer from capturing pointer events over content */
.illdy-jumbotron-background {
    pointer-events: none;
}

/* Re-enable pointer events on the pause button */
.wp-custom-header-video-button {
    pointer-events: auto;
}

/* ── Upcoming Events Strip ── */
.tcc-upcoming-events {
    background: #001729;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 40px 20px;
    z-index: 5;
}
.tcc-upcoming-events__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.tcc-upcoming-events__heading {
    color: #87E3E6;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.tcc-upcoming-events__grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.tcc-event-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #004E7A;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.tcc-event-card:hover {
    background: #016636;
    transform: translateY(-3px);
}
.tcc-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #001729;
    border-radius: 6px;
    padding: 10px 15px;
    min-width: 55px;
}
.tcc-event-card__month {
    color: #87E3E6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Glacial Indifference', Arial, sans-serif;
}
.tcc-event-card__day {
    color: #EFEFEA;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Glacial Indifference', Arial, sans-serif;
}
.tcc-event-card__info {
    flex: 1;
    text-align: left;
}
.tcc-event-card__title {
    color: #EFEFEA;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
    font-family: 'Glacial Indifference', Arial, sans-serif;
}
.tcc-event-card__time {
    color: #87E3E6;
    font-size: 13px;
    margin: 0;
    font-family: 'Glacial Indifference', Arial, sans-serif;
}
.tcc-event-card__cta {
    color: #87E3E6;
    font-size: 22px;
}
.tcc-upcoming-events__all {
    display: inline-block;
    margin-top: 25px;
    color: #EFEFEA;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #87E3E6;
    padding-bottom: 2px;
}
.tcc-upcoming-events__all:hover {
    color: #87E3E6;
}

/* Responsive — stack on mobile */
@media (max-width: 768px) {
    .tcc-upcoming-events__grid {
        flex-direction: column;
        align-items: center;
    }
    .tcc-event-card {
        max-width: 100%;
        width: 100%;
    }
}

/* ── Override Bootstrap column on projects block-3 ── */
#projects .section-content .container-fluid .row.inline-columns #block-3 {
    width: 83.33% !important;
    max-width: 83.33% !important;
    flex: 0 0 83.33% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* ── Featured Staff Strip ── */
.tcc-featured-staff {
    background: #EFEFEA;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 50px 20px;
}
.tcc-featured-staff__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.tcc-featured-staff__heading {
    color: #001729;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
}
.tcc-featured-staff__grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.tcc-staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
}
.tcc-staff-card__photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 4px solid #004E7A;
}
.tcc-staff-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tcc-staff-card__name {
    color: #001729;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 5px;
}
.tcc-staff-card__title {
    color: #004E7A;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}
.tcc-featured-staff__all {
    display: inline-block;
    margin-top: 30px;
    color: #001729;
    font-family: 'Glacial Indifference', Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #004E7A;
    padding-bottom: 2px;
}
.tcc-featured-staff__all:hover {
    color: #004E7A;
}

@media (max-width: 768px) {
    .tcc-featured-staff__grid {
        flex-direction: column;
        align-items: center;
    }
}

/* ── Featured Staff fixes ── */
.tcc-featured-staff__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 40px !important;
}

.tcc-staff-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 220px !important;
    float: none !important;
}

.tcc-staff-card__photo {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    border: 4px solid #004E7A !important;
}

.tcc-staff-card__photo img,
.tcc-staff-card__img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}
/* ── Full width section gradient background ── */
#full-width {
    background: linear-gradient(
        90deg, rgba(0, 23, 41, 1) 0%, rgba(0, 78, 122, 1) 100%) !important;
}

#full-width,
#full-width h1,
#full-width h2,
#full-width h3,
#full-width h4,
#full-width h5,
#full-width p,
#full-width a,
#full-width li,
#full-width span,
#full-width div {
    color: #EFEFEA !important;
}

/* ── Increase featured staff image size to 200px ── */
.tcc-staff-card__photo {
    width: 200px !important;
    height: 200px !important;
}

.tcc-staff-card__photo img,
.tcc-staff-card__img {
    width: 200px !important;
    height: 200px !important;
}

/* ── Staff card border-radius fix ── */
.tcc-staff-card__photo {
    border-radius: 47% !important;
}

.tcc-staff-card__photo img,
.tcc-staff-card__img {
    border-radius: 47% !important;
}

/* ── Featured staff section gradient background ── */
.tcc-featured-staff {
    background: linear-gradient(
        90deg, rgba(0, 23, 41, 1) 0%, rgba(0, 78, 122, 1) 100%) !important;
}

.tcc-featured-staff__heading,
.tcc-featured-staff__inner,
.tcc-staff-card__name,
.tcc-staff-card__title,
.tcc-featured-staff__all {
    color: #EFEFEA !important;
}

.tcc-featured-staff__all:hover {
    color: #87E3E6 !important;
}

.tcc-staff-card__photo {
    border-color: #87E3E6 !important;
}
/* ── 4 staff cards in a single row ── */
.tcc-featured-staff__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.tcc-staff-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 0 !important;
    max-width: 200px !important;
    width: auto !important;
    float: none !important;
}
/* ── Staff card link wrapper ── */
.tcc-staff-card__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
}

.tcc-staff-card__link:hover .tcc-staff-card__name {
    color: #87E3E6 !important;
    text-decoration: underline !important;
}

.tcc-staff-card__link:hover .tcc-staff-card__photo {
    border-color: #87E3E6 !important;
    opacity: 0.9;
}
