/* ==============================
   HYBRID theme
   ============================== */
.theme-hybrid{
    --brand-primary:#4b0082;
    --brand-primary-dark:#4b0082;
    --brand-text:#4b0082;
    --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/c4HomeBanner.png") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.products{
    position:relative;padding:4rem 0;
    background:#fff url("../images/c4Products.png") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.result{
    position:relative;padding:4rem 0;
    background:#fff url("../images/WashMonumentCB.webp") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero.team{
    position:relative;padding:4rem 0;
    background:#fff url("../images/CherryCareersSuit.png") center/cover no-repeat;
    color:var(--brand-text);
}
.theme-hybrid .usa-hero{
    position:relative;padding:4rem 0;
    background:#fff url("../images/c4AboutBanner.png") 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: 50px;
    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 #4b0082 !important; /* maroon stripe */
    border-color: #4b0082 !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: #4b0082 !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: #4b0082; /* 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: #4b0082;
}

/* 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: #4b0082 !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: #4b0082;
    --usa-link-hover-color: #5f141f;
    --usa-link-visited-color: #4b0082;
    --usa-link-underline-color: #4b0082;
}

.usa-header .usa-nav__primary .usa-nav__link,
.usa-header .usa-nav__link,
.usa-header a.usa-nav__link {
    color: #4b0082 !important;
    text-decoration-color: #4b0082 !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: #4b0082 !important;
    text-decoration-color: #4b0082 !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: #4b0082 !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 */
}

.create-account-btn{
	background: var(--brand-primary);
	border-radius: 30px;
	color: #fff !important;
}
.create-account-btn:hover{
	text-decoration: none !important;
	background: var(--brand-primary);
	border-radius: 30px;
	color: #fff !important;
	box-shadow:
	  0 0 0 4px rgba(75, 0, 130, 0.25),
	  0 10px 20px rgba(0, 0, 0, 0.15);
}
.create-account-btn {
  transition: all 0.3s ease;
}


/* ==============================
   Card Quick View Modal
   ============================== */
.theme-hybrid .c4-modal[aria-hidden="true"] { display:none; }
.theme-hybrid .c4-modal { position:fixed; inset:0; z-index:9999; }

.theme-hybrid .c4-modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}

.theme-hybrid .c4-modal__panel{
  position:relative;
  margin: 4vh auto;
  width: min(980px, 92vw);
  border-radius: 1rem;
  background:#fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow:hidden;
}

.theme-hybrid .c4-modal__close{
  position:absolute; right:.75rem; top:.75rem;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  font-size: 26px;
  line-height: 1;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}

.theme-hybrid .c4-modal__content{
  display:flex;
  grid-template-columns: 360px 1fr;
}

@media (max-width: 760px){
  .theme-hybrid .c4-modal__panel{ margin: 2vh auto; }
  .theme-hybrid .c4-modal__content{ grid-template-columns: 1fr; }
}

.theme-hybrid .c4-modal__img{
  margin:0;
  background:#f6f6f8;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1rem;
}

.theme-hybrid .c4-modal__img img{
  width:100%;
  height:auto;
  border-radius: .75rem;
  object-fit: contain;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
}

.theme-hybrid .c4-modal__body{
  padding: 1.25rem 1.25rem 1rem;
}

.theme-hybrid .c4-modal__serial{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-bottom: .75rem;
}

.theme-hybrid .c4-chip{
  display:inline-flex;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: .8rem;
}

.theme-hybrid .c4-chip--primary{
  border-color: rgba(75,0,130,.28);
  color: var(--brand-primary);
  font-weight: 800;
}

.theme-hybrid .c4-modal__titleRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.75rem;
}

.theme-hybrid .c4-modal__title{
  margin:0;
  font-size: 1.6rem;
  color: #1b1b1b;
}

.theme-hybrid .c4-like{
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor:pointer;
  color: var(--brand-primary);
  font-size: 18px;
}

.theme-hybrid .c4-modal__author{
  margin-top: .4rem;
  display:flex;
  gap:.5rem;
  color:#444;
}

.theme-hybrid .c4-muted{ color:#666; font-size:.85rem; }

.theme-hybrid .c4-modal__info{
  margin-top: 1rem;
  border-top: 1px solid var(--border-neutral);
  padding-top: 1rem;
}

.theme-hybrid .c4-infoRow{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

.theme-hybrid .c4-infoBox{
  border: 1px solid var(--border-neutral);
  border-radius: .75rem;
  padding: .6rem .75rem;
  min-width: 220px;
  background:#fff;
}

.theme-hybrid .c4-desc{
  margin-top: 1rem;
}

.theme-hybrid .c4-desc__section{
  border: 1px solid var(--border-neutral);
  border-radius: .75rem;
  padding: .75rem;
  background:#fff;
  margin-top: .75rem;
}

.theme-hybrid .c4-desc__heading{
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: .35rem;
}

.theme-hybrid .c4-desc__text{
  color:#1b1b1b;
  white-space: pre-line;
}

.theme-hybrid .c4-modal__footer{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-top: 1rem;
}

.theme-hybrid .card-tile__quickview{
  position:absolute;
  top:.5rem;
  right:.5rem;
  padding:.35rem .6rem;
  font-size:.75rem;
  background: rgba(255,255,255,.92);
}


/* ==============================
   Card Detail Page
   ============================== */
.theme-hybrid .c4-detail-card{
  border: 1px solid var(--border-neutral);
  border-radius: 1rem;
  background:#fff;
  overflow:hidden;
}

.theme-hybrid .c4-detail-media{
  background:#f6f6f8;
  padding: 1rem;
  display:flex;
  justify-content:center;
  align-items:center;
}

.theme-hybrid .c4-detail-media img{
  width:100%;
  height:auto;
  border-radius: .85rem;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
}

.theme-hybrid .c4-noimg{
  width:100%;
  height: 360px;
  border-radius: .85rem;
  border: 1px dashed rgba(0,0,0,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#666;
}

.theme-hybrid .c4-detail-actions{
  padding: 1rem;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.theme-hybrid .c4-detail-header{
  border: 1px solid var(--border-neutral);
  border-radius: 1rem;
  background:#fff;
  padding: 1rem 1.25rem;
}

.theme-hybrid .c4-detail-serial{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}

.theme-hybrid .c4-chip{
  display:inline-flex;
  padding:.25rem .6rem;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:.8rem;
}

.theme-hybrid .c4-chip--primary{
  border-color: rgba(75,0,130,.28);
  color: var(--brand-primary);
  font-weight:800;
}

.theme-hybrid .c4-subline{
  color:#444;
  font-size:.95rem;
}

.theme-hybrid .c4-author{
  display:flex;
  gap:.5rem;
  align-items:center;
}

.theme-hybrid .c4-muted{ color:#666; font-size:.85rem; }
.theme-hybrid .c4-strong{ font-weight:800; color:#1b1b1b; }

.theme-hybrid .c4-infoBox{
  border: 1px solid var(--border-neutral);
  border-radius: 1rem;
  background:#fff;
  padding: .85rem 1rem;
}

.theme-hybrid .c4-block{
  border: 1px solid var(--border-neutral);
  border-radius: 1rem;
  background:#fff;
  padding: 1rem;
}

.theme-hybrid .c4-block__title{
  font-weight:900;
  color: var(--brand-primary);
  margin-bottom: .5rem;
}

.theme-hybrid .c4-block__body{
  /*white-space: pre-line;*/
  color:#1b1b1b;
}

/* ==============================
   Card Detail Page - layout safety
   ============================== */

/* Right column: allow children to shrink, prevents overflow into left */
.theme-hybrid .c4-detail-right{
  min-width: 0;          
}

/* If any long text exists, wrap it */
.theme-hybrid .c4-detail-right *{
  overflow-wrap: anywhere;
}

/* Info boxes grid (replaces nested USWDS grid-row) */
.theme-hybrid .c4-infoGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

@media (max-width: 1024px){
  .theme-hybrid .c4-infoGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .theme-hybrid .c4-infoGrid{
    grid-template-columns: 1fr;
  }
}

/* Make info boxes always fit their cell */
.theme-hybrid .c4-infoBox{
  min-width: 0; 
}


@media (min-width: 640px){
  .theme-hybrid .c4-detail-right{ padding-left: 1rem; }
}
@media (min-width: 1024px){
  .theme-hybrid .c4-detail-right{ padding-left: 1.5rem; }
}

/* Detail: nicer header + blocks */
.theme-hybrid .c4-detail-header{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background: radial-gradient(120% 140% at 10% 0%, #faf6ff 0%, #ffffff 55%, #ffffff 100%);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.theme-hybrid .c4-detail-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.theme-hybrid .c4-detail-media{
  background: radial-gradient(120% 120% at 20% 0%, #f7f2ff 0%, #f6f6f8 55%, #f6f6f8 100%);
}

.theme-hybrid .c4-block,
.theme-hybrid .c4-infoBox{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.theme-hybrid .c4-block__title{
  font-weight: 950;
  letter-spacing: .2px;
}

/* pokemon energy icon*/
.icon-colorless {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -25px 0px;
    width: 25px;
    height: 25px
}

.icon-darkness {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: 0px -50px;
    width: 25px;
    height: 25px
}

.icon-dragon {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: 0px -25px;
    width: 25px;
    height: 25px
}

.icon-electric {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -25px -25px;
    width: 25px;
    height: 25px
}

.icon-fairy {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -50px 0px;
    width: 25px;
    height: 25px
}

.icon-fighting {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -50px -25px;
    width: 25px;
    height: 25px
}

.icon-fire {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: 0px 0px;
    width: 25px;
    height: 25px
}

.icon-grass {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -25px -50px;
    width: 25px;
    height: 25px
}

.icon-lightning {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -50px -50px;
    width: 25px;
    height: 25px
}

.icon-metal {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -75px 0px;
    width: 25px;
    height: 25px
}

.icon-psychic {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -75px -25px;
    width: 25px;
    height: 25px
}

.icon-water {
    background-image: url(../images/cards/pokemon/energy-types.png);
    background-position: -75px -50px;
    width: 25px;
    height: 25px
}






