/* T4 Custom CSS Document */

/* ===================================================
		Highlights Cards Content Type
======================================================*/

/* 1. Default Card Layout: Title Link & Arrow Alignment */
.highlights__title__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: underline; /* Fully underlines the title by default */
}

.highlights__title__link:hover,
.highlights__title__link:focus {
  text-decoration: underline;
}

/* Ensure the arrow wrapper inside the default card link behaves cleanly */
.highlights__title__link .highlights__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.highlights__title__link .highlights__arrow svg {
  width: 1em;
  height: 1em;
  color: #21314d!important;
}

.router--grid .router__item__text {
  padding: 1rem!important;
}


/* ===================================================
   2. Icon Card Layout (.highlights--icon) Fixes
======================================================*/

/* Restore proper grid behavior for the icon card container */
.highlights__highlight.bg--white.highlights--icon {
  display: grid;
  width: 100%;
}

.highlights--icon .highlights__text-container {
  display: grid;
  /* Preserves original theme grid-template-areas */
}

/* Ensure the standalone arrow in the icon layout maps correctly back to its grid area */
.highlights--icon .highlights__arrow {
  grid-area: arrow; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlights__arrow:hover,
  .highlights__arrow:focus {
    background-color: #cc4628 !important;
    transition: background-color 0.2s ease;
    color: white !important;
  }

/* ===================================================
  				BUTTON OVERRIDES
======================================================*/
.btn, .btn-blue, .btn-colorado-red, .btn-ghost, .btn-ghost-white, .btn-white, .form_button_submit {
  margin: 2px;
}

/* ===================================================
  	Faculty Directory: Bold Faculty Titles
======================================================*/
p.faculty--list__position {
  font-weight: 600;
}


/* ===================================================
Offset Terminalfour content links for fixed navigation
======================================================*/
[id^="d.en."] {
  scroll-margin-top: 200px;
}


/* ===================================================
Add spacing at the top of the Tabs Simple container
======================================================*/
.t4-tab-container {
    padding-top: 1rem;
}


