/*
 * YC v6.2 — cleaned September 28, 2026
 * Full replacement for the supplied CSS, not an additional override sheet.
 *
 * Header styles are shared by the V6 and news sites. Maintain the marked
 * header sections in header-v6.2.css. Retain legacy copies until all pages
 * referencing this stylesheet also load header-v6.2.css.
 *
 * Cleanup: decoded pasted markup; consolidated font imports and duplicate
 * declarations; removed empty rules; corrected the vertical transform;
 * preserved effective search dimensions/colors and existing visual styling.
 */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap");

/* =========================================================
   HEADER — maintain in header-v6.2.css
   ========================================================= */

/* Exclude icon elements/classes so the text font does not replace icon fonts. */
.header-v62 *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not([class*="ycflat"]) {
    font-family: 'Barlow Semi Condensed', sans-serif !important;
}

.header-v62 {
    background-color: #005a3c;
}

/* Navigation search */
.header-v62-search .navsearchbox {
    max-width: 71px;
    height: 38px;
    padding-top: 5px;
    color: #ffffff;
    background-color: #003c28;
    border: 0;
    border-radius: 0.25rem 0 0 0.25rem;
    box-shadow: none;
    font-style: italic;
}

.header-v62-search .navsearchbox::placeholder {
    color: #ffffff;
    opacity: 1;
}

/* Kept separately for legacy placeholder parsing. */
.header-v62-search .navsearchbox::-webkit-input-placeholder {
    color: #ffffff;
    opacity: 1;
}

.header-v62-search .navsearchbox::-moz-placeholder {
    color: #ffffff;
    opacity: 1;
}

.header-v62-search .navsearchbox:-ms-input-placeholder {
    color: #ffffff;
}

.header-v62-search .navsearchbox::-ms-input-placeholder {
    color: #ffffff;
}

.header-v62-search .navsearchbox:focus {
    color: #ffffff;
    background-color: #343a40;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.35);
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.header-v62-search .btn {
    min-width: 42px;
}

.header-v62-search .btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; /* Original 30px width was constrained by min-width: 42px. */
    height: 38px;
    padding: 0;
    background-color: #003c28;
    border: 1px solid #003c28;
    border-left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

.header-v62-search .btn-dark:hover {
    background-color: #003c28;
    border-color: #003c28;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.35);
}

.header-v62-search .btn-dark:focus {
    background-color: #000000;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.35);
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* MyYC navigation button */
.nav-myyc {
    background-color: #ffcc33 !important;
    color: #212121 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.nav-myyc:hover,
.nav-myyc:focus {
    background-color: #ffcc33 !important;
    color: #000000 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 76, 151, 0.25) !important;
}

.nav-myyc i {
    color: #212121 !important;
}

/* Navigation layout */
.header-v62 .megamenu {
    position: static;
}

.header-v62 .border-left-light {
    border-left: 1px solid #eeeeee;
}

.header-v62 .megamenu .dropdown-menu {
    width: 100%;
    background: none;
    border: none;
}

.header-v62 .megamenu .megamenu-backdrop {
    min-height: 325px;
    padding: 0.5rem;
    box-shadow: 1px 3px 10px #0005;
}

.header-v62 .megamenu .megamenu-feature-image {
    background-repeat: no-repeat;
    background-position: right;
}

.header-v62 .megamenu ul {
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid #16513736;
}

.header-v62 .nav-container {
    width: 100%;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
}

.header-v62 .navbar {
    padding: 1rem;
}

.header-v62 .navbar-brand img {
    max-height: 40px;
}

.header-v62 .navbar-collapse .navbar-nav {
    margin-top: 1rem;
}

.header-v62 .navbar .navbar-nav .nav-item .nav-link {
    display: inline-block;
    padding: 0.5rem 0;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.header-v62 .navbar .dropdown .nav-item .nav-link {
    padding: 0.5rem;
    color: #0008;
}

.header-v62 .navbar .dropdown .nav-item .nav-link:hover {
    color: #13442d;
}

.header-v62 .navbar .navbar-nav .nav-item .nav-link.disabled {
    color: rgba(255, 255, 255, 0.25);
}

.header-v62 .nav-ribbon {
    background-color: #0005;
}

.header-v62 .nav-ribbon .btn-font-resize {
    width: 100%;
    background-color: #0005;
    border-left: 3px solid #0008;
    font-size: unset; /* Reset the 25px applied to .btn-aa. */
}

.header-v62 .nav-ribbon ul li a {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    color: #ffffff;
    font-style: italic;
    text-decoration: none;
}

.header-v62 .nav-ribbon ul li a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .header-v62-search {
        width: 100% !important;
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .header-v62 .megamenu .megamenu-backdrop {
        position: relative;
        top: -10px;
    }

    .header-v62 .navbar {
        padding: 0 1rem;
    }

    .header-v62 .navbar-collapse .navbar-nav {
        margin-top: 0;
    }

    .header-v62 .navbar .navbar-nav .nav-item .nav-link {
        padding: 2rem 1.65rem;
    }

    .header-v62 .nav-ribbon ul li a.nav-myyc {
        padding: 0.5rem 1.25rem;
    }

    .header-v62 .nav-ribbon ul li a.nav-myyc:hover {
        text-decoration: none;
    }

    .header-v62 .navbar .navbar-nav .nav-item .nav-link:hover {
        background-color: #00452f;
    }

    .header-v62 .navbar .navbar-nav .megamenu-backdrop .nav-item .nav-link:hover {
        background-color: transparent;
    }
}

/* Important alerts */
.important-alerts-v62 .carousel {
    height: auto;
    min-height: 0;
    background-color: #ffffff;
}

.important-alerts-v62-alert-heading {
    min-height: 40px;
    color: inherit;
    font-family: 'Barlow Semi Condensed', sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.important-alerts-v62-alert-item {
    border-color: transparent;
}

.important-alerts-v62-alert-item .container {
    max-width: 1275px;
    padding: 0;
}

.important-alerts-v62-alert-item.alert {
    border-radius: 0;
}

/* Fallback for alert-info items outside the v6.2 alert wrapper. */
.important-alerts-v62-alert-item.alert-info {
    background-color: #ffffff;
    color: #165137;
}

.important-alerts-v62-alert-item.alert-danger {
    background-color: #ab0000 !important;
    color: #ffffff;
    text-transform: uppercase;
}

.important-alerts-v62-alert-item.alert-danger .btn.btn-myyc {
    background-color: #ffffff;
    color: #ab0000 !important;
    font-weight: bold;
}

/* Legacy important alerts */
#important-alerts .alert {
    padding: 1rem 2rem 0.15rem !important;
    background-color: #ffffff;
    color: #000000;
    border: 0;
    border-radius: 0;
}

#important-alerts .alert * {
    text-align: left !important;
    line-height: 1.25;
}

#important-alerts .alert .important-alerts-v62-alert-heading {
    margin-bottom: 1rem;
    line-height: 1;
}

#important-alerts .alert .important-alerts-v62-alert-heading a.alert-link {
    color: #165137;
    font-family: 'Barlow Semi Condensed', sans-serif !important;
    font-size: 1.25rem !important;
    text-decoration: none;
}

#important-alerts .alert .important-alerts-v62-alert-heading a::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid currentColor;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

#important-alerts .alert .important-alerts-v62-alert-heading + div div {
    margin-bottom: 1rem;
}

/* Light green and yellow selections — September 28, 2026 */
.important-alerts-v62 .important-alerts-v62-alert-item.alert-info {
    background-color: #e8f3ec;
    color: #003c28;
}

.important-alerts-v62 .important-alerts-v62-alert-item.alertyc-yellow {
    background-color: #fff4cc;
    color: #493b00;
}

.important-alerts-v62 .alert-info .important-alerts-v62-alert-heading,
.important-alerts-v62 .alertyc-yellow .important-alerts-v62-alert-heading {
    color: inherit;
}

.important-alerts-v62 .alert-info a:not(.btn),
.important-alerts-v62 .alertyc-yellow a:not(.btn) {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.important-alerts-v62 .alert-info .btn.btn-myyc,
.important-alerts-v62 .alertyc-yellow .btn.btn-myyc {
    background-color: #006747;
    border-color: #006747;
    color: #ffffff;
}

.important-alerts-v62 .alert-info .btn.btn-myyc:hover,
.important-alerts-v62 .alertyc-yellow .btn.btn-myyc:hover,
.important-alerts-v62 .alert-info .btn.btn-myyc:focus,
.important-alerts-v62 .alertyc-yellow .btn.btn-myyc:focus {
    background-color: #003c28;
    border-color: #003c28;
    color: #ffffff;
}

.important-alerts-v62 .alert-info a:focus,
.important-alerts-v62 .alertyc-yellow a:focus {
    outline: 3px solid #003c28;
    outline-offset: 3px;
}

.important-alerts-v62 .alert-info .btn.btn-myyc:active,
.important-alerts-v62 .alertyc-yellow .btn.btn-myyc:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .important-alerts-v62 .alert-info .important-alerts-v62-alert-heading,
    .important-alerts-v62 .alertyc-yellow .important-alerts-v62-alert-heading {
        font-size: 20px;
        line-height: 1.4;
    }
}

/* END HEADER */

/* =========================================================
   SHARED BUTTONS
   ========================================================= */
.btn-ask-yc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.8rem 1.65rem;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #ffffff !important;
    background: linear-gradient(180deg, #18b9ac 0%, #079488 100%);
    border: 2px solid #20c4b6;
    border-radius: 0.5rem;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: background 0.18s ease, border-color 0.18s ease,
        box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-ask-yc:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #20c9ba 0%, #0a9f93 100%);
    border-color: #62e0d5;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ask-yc:focus {
    color: #ffffff !important;
    background: linear-gradient(180deg, #20c9ba 0%, #0a9f93 100%);
    border-color: #ffffff;
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.38),
        0 6px 14px rgba(0, 0, 0, 0.3);
}

.btn-ask-yc:focus-visible {
    outline: 3px solid #ffc107;
    outline-offset: 3px;
}

.btn-ask-yc:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28),
        inset 0 2px 3px rgba(0, 0, 0, 0.18);
}

.btn-ask-yc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .btn-ask-yc {
        min-height: 48px;
        padding: 0.72rem 1.35rem;
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-ask-yc {
        transition: none;
    }

    .btn-ask-yc:hover,
    .btn-ask-yc:active {
        transform: none;
    }
}

.btn-myyc {
    background-color: #ffc107;
    color: #000000;
    border-radius: 18px;
    font-weight: bold;
}

.btn-myyc:hover {
    color: #000c;
}

/* =========================================================
   CAROUSELS
   ========================================================= */
.carousel-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 500;
}

.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.carousel-v62 {
    height: 70vh;
    min-height: 425px;
    max-height: 700px;
    overflow: hidden;
}

.carousel-v62 .carousel-control-prev,
.carousel-v62 .carousel-control-next {
    opacity: 1;
}

.carousel-v62 .carousel-inner {
    height: 100%;
}

.carousel-v62 .carousel-item {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-v62 .carousel-indicators li {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-left: 5px;
    outline: 1px solid #16513755;
    background-color: #fffc;
}

.carousel-v62 .carousel-indicators li.active {
    background-color: #ffffff;
}

.carousel-v62-overlay {
    width: 500px;
    max-width: 100% !important;
    padding: 2rem;
    background-color: #165137a8;
    border-radius: 1.75rem;
}

.carousel-v62-overlay-heading {
    font-size: 1.5rem !important;
}

.carousel-v62 .carousel-image-frame {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.18);
}

@media (min-height: 700px) {
    .carousel-v62-overlay-heading {
        font-size: 2.5rem !important;
    }
}

.carousel-v62-overlay .btn {
    max-width: 100%;
    padding: 0.75rem;
    font-size: 1.25rem;
    white-space: normal;
}

/* Modals — retain the existing scrollbar-padding override. */
.modal,
body.modal-open {
    padding-right: 0 !important;
}

.modal-title {
    position: static;
}

/* Breadcrumbs */
.body-v62 nav.breadcrumbs .breadcrumb a {
    color: #111111;
    font-weight: bold;
}

.body-v62 nav.breadcrumbs .breadcrumb {
    padding: 0.5rem;
    background-color: #ccc6;
}

.body-v62 nav.breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: #1116;
}
