/* ==== TEST AREA (migrate confirmed rules to 109-csu-mainCSS.css) ==== */
.merchTitle {
    color: #1e4d2b;
}

.merchTitle:hover { 
text-decoration: 1px dotted underline; 
}

#ramtechHero {
  background-image: URL(/SiteImages/109-SchoolImages/109-ramtech-hero.jpg); 
  background-position: center center; 
  background-repeat: no-repeat;
}

.pageAlert,
.pageAlert * {
  color: #fff !important;
}


/* 1. Give the bar breathing room under the carousel */
#buybackRentalBar {
  margin-top: 12px;          /* space from the slider */
}

/* Optional: a bit more padding inside the bar */
#buybackRentalBar .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* 2. Make the countdown bigger & bolder */
#buybackRentalBar .bb-countdown {
  font-size: 1rem;           /* bump this up if you want it louder */
  font-weight: 600;
}

/* 3. Buttons: white, separated, high contrast, same color */
#buybackRentalBar .bb-buttons .btn {
  background-color: #ffffff; /* stands out against dark green */
  color: #1e4d2b;            /* CSU green text */
  border-color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;       /* gap so they don’t touch */
}

/* Remove left margin from the first button so it lines up nicely */
#buybackRentalBar .bb-buttons .btn:first-child {
  margin-left: 0;
}

/* Hover / focus for ADA contrast and clarity */
#buybackRentalBar .bb-buttons .btn:hover,
#buybackRentalBar .bb-buttons .btn:focus {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  color: #1e4d2b;
}

/* Strong visible focus ring for keyboard users */
#buybackRentalBar .bb-buttons .btn:focus-visible {
  outline: 2px solid #ffb000;  /* gold ring */
  outline-offset: 2px;
}


.banner-close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.pageAlert {
  background-color: #006144;
  border-bottom: 10px solid #D9782D;
  padding: 15px 0;
  z-index: 1050;
}

@media (max-width: 576px) {
  .pageAlert {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .pageAlert strong {
    font-size: 1rem !important;
  }

  .pageAlert li {
    margin-bottom: 0.25rem;
  }
}



#topBanner,
#topBanner * {
  color: #fff !important;
}

@media (max-width: 767px) {
  .pageAlert .row {
    text-align: center;
  }
  .pageAlert .col-auto.text-end {
    margin-top: 5px;
  }
}

.banner-close {
  position: absolute;
  top: 10px;
  right: 15px;

  font-size: 1.75rem;       /* bigger X */
  line-height: 1;           
  color: #ffffff;
  cursor: pointer;

  padding: 10px 15px;       /* increases hit target */
  margin: -10px -15px;      /* pulls it visually back into place */
  z-index: 9999;            /* ensures it's above everything */
}

/* Fix row alignment */
#buybackRentalBar .row {
    align-items: flex-start !important;
}

/* Let the three col-lg-4 columns behave like columns */
#buybackRentalBar .col-lg-4 {
    flex: 1 1 33% !important;
    max-width: 33% !important;
}

/* Center column countdown */
#buybackRentalBar .bb-countdown {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    font-size: 1.15rem !important;
}

/* Right column: stack buttons vertically */
#buybackRentalBar .rental-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0.5rem !important;
}

/* Button styling */
#buybackRentalBar .rental-btn {
    background: #ffffff !important;
    color: #1e4d2b !important;
    border: 2px solid #ffffff !important;
    padding: 0.6rem 1.4rem !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    width: auto !important;
    text-align: right;
}

.bg-csu-green {
    background-color: #1e4d2b !important;
    color: #ffffff !important;
}

#buybackRentalBar h2 {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
}

/* ==== RENTAL / BUYBACK BAR – FINAL OVERRIDES ==== */

/* Make sure the green shows up everywhere on this bar */
#buybackRentalBar {
    margin-top: 12px;
    background-color: #1e4d2b !important;
    color: #ffffff !important;
    border-radius: 10px;
    box-shadow: 5px 5px 15px #888888;
}

/* Heading – big, white, centered */
#buybackRentalBar h2 {
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 1.25rem !important;
}

/* Make all regular text in the bar white by default */
#buybackRentalBar p,
#buybackRentalBar .rental-count-label,
#buybackRentalBar .bb-countdown span {
  color: #ffffff !important;
}

/* Countdown styling */
#buybackRentalBar .bb-countdown {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  font-weight: 600 !important;
}

/* Buttons – white with CSU green text */
#buybackRentalBar .rental-btn {
  background: #ffffff !important;
  color: #1e4d2b !important;
  border: 2px solid #ffffff !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 4px !important;
  width: auto !important;
}

/* Desktop layout (lg and up): three columns, buttons stacked on right */
@media (min-width: 992px) {

  #buybackRentalBar .row {
    display: flex !important;
    align-items: center !important;
  }

  #buybackRentalBar .col-lg-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }

  /* left column aligned left */
  #buybackRentalBar .rental-copy {
    text-align: left !important;
  }

  /* right column: stack buttons vertically, aligned right */
  #buybackRentalBar .rental-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0.5rem !important;
  }
}

/* Mobile / tablet layout: stack sections, center everything, buttons full width */
@media (max-width: 991.98px) {

  #buybackRentalBar .row {
    display: block !important;
    text-align: center !important;
  }

  #buybackRentalBar .col-lg-4,
  #buybackRentalBar .rental-copy {
    max-width: 100% !important;
  }

  #buybackRentalBar .rental-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
  }

  #buybackRentalBar .rental-btn {
    width: 100% !important;
    max-width: 260px !important;
  }
}

/* Make right-column buttons equal width and full-column size */
#buybackRentalBar .rental-actions {
    width: 100% !important;
}

#buybackRentalBar .rental-actions .rental-btn {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
}

#buybackRentalBar .rental-actions .rental-btn {
    text-align: center !important;
    justify-content: center !important;
}

#buybackRentalBar .rental-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;       /* vertically centers within the column */
    gap: 0.35rem;                   /* consistent spacing between lines */
}

#buybackRentalBar .rental-copy p {
    margin: 0 !important;          /* remove random Bootstrap spacing */
    line-height: 1.35;
}

/* === Desktop-only spacing cleanup for Rental / Buyback bar === */
@media (min-width: 992px) {

  /* Stop the whole block from feeling so tall */
  #buybackRentalBar .container {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Bring the heading closer to the content below it */
  #buybackRentalBar h2.rental-bar-title {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* Nudge the left copy up so it lines up better with the countdown */
  #buybackRentalBar .rental-copy {
    margin-top: 0 !important;
  }

  #buybackRentalBar .rental-copy p {
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
  }
}

.site-alert {
  display: none;
  background-color: #006144;
  color: #ffffff;
  border-bottom: 2px solid #CFFC00; 
  padding: 0.35rem 0;
font-size: 0.85rem;
}

.site-alert p,
.site-alert li,
.site-alert strong,
.site-alert span,
.site-alert a {
  color: inherit;
}

.site-alert li::marker {
  color: #C8C372;
}

.site-alert a {
color: #C8C372;
  text-decoration: underline;
}

.site-alert a:hover { 
color: #82C503; 
text-decoration: underline dotted;
}


.banner-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

.site-alert p,
.site-alert li {
  margin-bottom: 0.25rem;
}

.site-alert p:last-child,
.site-alert li:last-child {
  margin-bottom: 0;
}

#popularFrames {
    background-color: lightgray;
    padding: 10px;
    padding-bottom: 2%;
    margin-top: 1%;
    border-bottom: 5px solid #1e4d2b;
}

#heritageFrames {
    background-color: rgba(200,195,114,.6);
    padding: 10px;
    padding-bottom: 2%;
    border-bottom: 5px solid #1e4d2b;
}

#essentialFrames {
    background-color: #006144;
    padding: 10px;
    padding-bottom: 2%;
    border-bottom: 5px solid #C8C372;
}

#essentialFrames .section-header h2,
#essentialFrames .section-header p {
  color: white;
}

.section-title {
  font-weight: 700;
  letter-spacing: .02em;
    font-size: xxx-large;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 26px;
}

.section-divider .line {
  height: 2px;
  width: 120px;
  background: rgba(0,0,0,0.18); /* works on light backgrounds */
}

.section-divider i {
  font-size: 24px;
  margin: 10px 14px;
  color: #1b5e3c; /* CSU green */
}

.section-divider.light .line {
  background: rgba(255,255,255,0.45);
}

.section-divider.light i {
  color: #ffffff;
}

.section-band {

}

.section-band h2 {
  margin-bottom: 10px;
}

.section-band .section-divider {
  margin-bottom: 14px;
}

.section-band .section-intro {
  margin-bottom: 28px;
}

#preorderIntro .gift-box p {
  font-size: 16px;
  line-height: 1.4;
}

#preorderIntro .gift-box h5 {
    font-size: x-large;
    color: #1e4d2b;
    font-weight: 700;
}

.hero-frame-img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

@media (min-width: 768px) {
  .hero-frame-img {
    max-width: 450px;
  }
}

.frameLine {
    font-size: larger;
    font-weight: 600;
    margin-bottom: 2%;
}

#essentialFrames h2, #essentialFrames .frameLine {
    color: white;
}

#greenSection {
    background-color: #006144;
    margin: 10px;
    padding: 10px;
}

#greenSection h2, #greenSection p {
    color: white;
}

#goldSection {
    background-color: rgba(200,195,114,.6);
    padding: 10px;
    padding-bottom: 2%;
    border-bottom: 5px solid #1e4d2b;
}

/* MOVE TO csu-custom-components when complete */ 

.hero-img {
  max-width: 110%;
  transform: translateY(10px);
}

#preorderIntro { 
  padding: 50px 0;
}

#preorderIntro p { 
  font-size: 32px;
  line-height: 1.25;
  margin: 20px 0;
}

  #remodelFAQ {
    background-color: #1E4D2B;
  }

  #remodelFAQ .faq-intro {
    color: rgba(255,255,255,0.9);
    max-width: 760px;
  }

  .csu-faq-accordion .accordion-item {
    border: 0;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
  }

  .csu-faq-accordion .accordion-button {
    background-color: #ffffff;
    color: #1E4D2B;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: none;
    border-left: 6px solid #C8C372;
  }

  .csu-faq-accordion .accordion-button:hover {
    background-color: #f7f7f2;
  }

  .csu-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #C8C372;
    color: #1E4D2B;
  }

  .csu-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(200, 195, 114, 0.35);
  }

  .csu-faq-accordion .accordion-button::after {
    transform: scale(0.85);
  }

  .csu-faq-accordion .accordion-button:not(.collapsed)::after {
    transform: scale(0.85) rotate(-180deg);
  }

  .csu-faq-accordion .accordion-body {
    background-color: #ffffff;
    color: #1E1E1E;
    border-left: 6px solid #C8C372;
  }

  .csu-faq-accordion .accordion-body p:last-child {
    margin-bottom: 0;
  }

.course-materials-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f4f4f4;
    border: 3px solid #D9782D;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #1E4D2B;
}

.course-materials-left {
    display: flex;
    align-items: center;
    gap: 10px;
font-weight: bold;
}

.course-materials-left em {
    font-size: 1rem;
    --fa-primary-color: #D9782D;
    --fa-secondary-color: #1E4D2B;
    --fa-secondary-opacity: 1;
}

.cm-btn {
    background: transparent;
    border: 1px solid #1E4D2B;
    color: #1E4D2B;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.cm-btn:hover {
    background: #1E4D2B;
    color: #fff;
}

#csuBookstoreServices {
  background-color: #1e4d2b;
}

#csuBookstoreServices .bookstore-service-card {
  border: 0;
  border-radius: .75rem;
}

#csuBookstoreServices .serviceIcon {
  --fa-primary-color: #1e4d2b;
  --fa-primary-opacity: 1;
  --fa-secondary-color: #c8c372;
  --fa-secondary-opacity: 1;
}

#csuBookstoreServices .card-body p {
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  #csuBookstoreServices .serviceIcon {
    font-size: 4rem;
  }
}