/* ==============================
   HYBRID theme
   ============================== */
.theme-hybrid{
    --brand-primary:#7f1d2d;
    --brand-primary-dark:#641622;
    --brand-text:#0b0c0c;
    --border-neutral:#e5e5e5;
}

/* Base + links */
.theme-hybrid body{color:var(--brand-text);background:#fff}
.theme-hybrid a,.theme-hybrid .usa-link{color:var(--brand-primary);text-decoration:none}
.theme-hybrid a:hover,.theme-hybrid .usa-link:hover{color:var(--brand-primary-dark);text-decoration:underline}
.theme-hybrid a:visited,.theme-hybrid .usa-link:visited{color:var(--brand-primary)}

/* Hero */
.theme-hybrid .usa-hero.home{
    position:relative;padding:4rem 0;
    background:#fff url("../images/cherryBlossomTidalBasin.jpg") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.products{
    position:relative;padding:4rem 0;
    background:#fff url("../images/LincolnMemRight.jpg") center/cover no-repeat;
	background-size: 120%;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.result{
    position:relative;padding:4rem 0;
    background:#fff url("../images/WashMonumentCB.jpg") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.team{
    position:relative;padding:4rem 0;
    background:#fff url("../images/CherryCareersSuit.jpg") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero{
    position:relative;padding:4rem 0;
    background:#fff url("../images/cherryBlossomBanner.jpg") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero::before{content:"";position:absolute;inset:0;background:rgba(127,29,45,.06)}
.theme-hybrid .usa-hero__callout{position:relative;background:rgba(255,255,255,.92);padding:2rem;border-radius:.5rem;max-width:30rem}
.theme-hybrid .usa-hero__heading--alt{color:var(--brand-primary)}

/* Focus (only on interactive) */
.theme-hybrid a:focus-visible,
.theme-hybrid button:focus-visible,
.theme-hybrid .usa-button:focus-visible,
.theme-hybrid input:focus-visible,
.theme-hybrid select:focus-visible,
.theme-hybrid textarea:focus-visible{outline:3px solid var(--brand-primary);outline-offset:2px}

/* Buttons – unified reset */
.theme-hybrid .usa-button,
.theme-hybrid .usa-button--primary,
.theme-hybrid .usa-button--secondary,
.theme-hybrid .usa-button--outline,
.theme-hybrid a.usa-button,
.theme-hybrid a.usa-button--primary,
.theme-hybrid a.usa-button--secondary,
.theme-hybrid a.usa-button--outline{
    box-shadow:none;text-shadow:none;border-radius:.375rem;
    transition:background-color .15s,border-color .15s,color .15s;
}

/* Filled / primary */
.theme-hybrid .usa-button:not(.usa-button--outline):not(.usa-button--secondary),
.theme-hybrid a.usa-button:not(.usa-button--outline):not(.usa-button--secondary){
    background:var(--brand-primary);border:2px solid var(--brand-primary);color:#fff;
}
.theme-hybrid .usa-button:not(.usa-button--outline):not(.usa-button--secondary):hover,
.theme-hybrid a.usa-button:not(.usa-button--outline):not(.usa-button--secondary):hover{
    background:var(--brand-primary-dark);border-color:var(--brand-primary-dark);color:#fff;
}
/* keep text white even when visited */
.theme-hybrid a.usa-button:not(.usa-button--outline):not(.usa-button--secondary):visited{color:#fff}

/* Outline / secondary */
.theme-hybrid .usa-button--outline,
.theme-hybrid .usa-button--secondary,
.theme-hybrid a.usa-button--outline,
.theme-hybrid a.usa-button--secondary{
    background:transparent;border:2px solid var(--brand-primary);color:var(--brand-primary);
}
.theme-hybrid .usa-button--outline:hover,
.theme-hybrid .usa-button--secondary:hover,
.theme-hybrid a.usa-button--outline:hover,
.theme-hybrid a.usa-button--secondary:hover{
    background:var(--brand-primary);border-color:var(--brand-primary);color:#fff;
}
/* visited outline keeps maroon label */
.theme-hybrid a.usa-button--outline:visited,
.theme-hybrid a.usa-button--secondary:visited{color:var(--brand-primary)}

/* Cards – single neutral border */
.theme-hybrid .usa-card{border:none;box-shadow:none}
.theme-hybrid .usa-card__container{border:1px solid var(--border-neutral);box-shadow:none}

/* Header brand sizing + alignment */
.theme-hybrid .header-brand,
.theme-hybrid .usa-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    margin: 0;
}

/* Constrain the logo image */
.theme-hybrid .usa-logo img,
.theme-hybrid .brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Tighter header vertical space */
.theme-hybrid .usa-navbar { padding-block: .75rem; }

/* --- text-visibility --- */
.theme-hybrid a.usa-button--outline:visited:hover,
.theme-hybrid a.usa-button--secondary:visited:hover,
.theme-hybrid a.usa-button:not(.usa-button--outline):not(.usa-button--secondary):visited:hover {
    color:#fff !important;             /* text stays white */
}


.theme-hybrid header {
    background: #ffffff;
}

.theme-hybrid body,
.theme-hybrid main,
.theme-hybrid .usa-section--light { background: #fff; }

.theme-hybrid .usa-section--gray { background: #f5f5f5; }

/* Override the default blue border on summary boxes */
.usa-summary-box {
    border-left: 0.5rem solid #7f1d2d !important; /* maroon stripe */
    border-color: #7f1d2d !important; /* ensures no blue border remains */
    background-color: #f8f8f8 !important; /* soft gray background */
}

.usa-summary-box__heading,
.usa-summary-box__text,
.usa-summary-box__body a {
    color: #7f1d2d !important;
    text-decoration: none;
}

.usa-summary-box__body a:hover,
.usa-summary-box__body a:focus {
    color: #5f141f !important; /* darker maroon hover */
    text-decoration: underline;
}

/* remove that subtle USWDS outline */
.usa-summary-box:focus-within {
    outline: none !important;
}

.usa-hero__heading {
    color: #4b0f1e; /* deep maroon */
}

.usa-hero__heading--alt {
    color: #7f1d2d; /* maroon accent */
}

/* nav link color and the active/hover underline */
.usa-header .usa-nav__link {
    color: #1b1b1b; /* keep body text color */
}

.usa-header .usa-nav__link:hover,
.usa-header .usa-nav__link:focus,
.usa-header .usa-nav__link[aria-current="page"],
.usa-header .usa-current {
    color: #7f1d2d;
}

/* The blue bar under the active link is this ::after element */
.usa-header .usa-nav__primary .usa-nav__link::after,
.usa-header .usa-nav__primary .usa-current::after,
.usa-header .usa-nav__primary .usa-nav__link:hover::after,
.usa-header .usa-nav__primary .usa-nav__link:focus::after {
    background-color: #7f1d2d !important;
}

/* adjust focus outline to a maroon tone while keeping contrast */
.usa-header .usa-nav__link:focus {
    outline: 3px solid #b93c54; /* accessible focus color */
    outline-offset: 2px;
}

/* Scope USWDS link tokens to maroon inside the header */
.usa-header {
    --usa-link-color: #7f1d2d;
    --usa-link-hover-color: #5f141f;
    --usa-link-visited-color: #7f1d2d;
    --usa-link-underline-color: #7f1d2d;
}

.usa-header .usa-nav__primary .usa-nav__link,
.usa-header .usa-nav__link,
.usa-header a.usa-nav__link {
    color: #7f1d2d !important;
    text-decoration-color: #7f1d2d !important;
}

.usa-header .usa-nav__link:hover,
.usa-header .usa-nav__link:focus,
.usa-header .usa-nav__link[aria-current="page"],
.usa-header .usa-current {
    color: #7f1d2d !important;
    text-decoration-color: #7f1d2d !important;
}

.usa-header .usa-nav__primary .usa-nav__link::after,
.usa-header .usa-nav__primary .usa-current::after,
.usa-header .usa-nav__primary .usa-nav__link:hover::after,
.usa-header .usa-nav__primary .usa-nav__link:focus::after {
    background-color: #7f1d2d !important;
}

/* Cards – ensure radii render on all corners */
.theme-hybrid .usa-card,
.theme-hybrid .usa-card__container {
    border-radius: .75rem;            /* show the curve */
}

.theme-hybrid .usa-card__container {
    border: 1px solid var(--border-neutral);
    background: #fff;                 /* ensure opaque background */
    overflow: hidden;                 /* clip child backgrounds to radius */
    background-clip: padding-box;     /* avoid border/bleed artifacts */
}

/* Make inner sections match so no square corners peek through */
.theme-hybrid .usa-card__header,
.theme-hybrid .usa-card__media,
.theme-hybrid .usa-card__body,
.theme-hybrid .usa-card__footer {
    background: #fff;
}

/* Force override the USWDS blue focus ring on accordions */
.theme-hybrid .usa-accordion__button:focus,
.theme-hybrid .usa-accordion__button:focus-visible {
    outline: 3px solid var(--brand-primary) !important; /* maroon outline */
    outline-offset: 2px !important;
    box-shadow: none !important; /* kills the USWDS blue glow */
}


