/* body > * {
  width: 1100px;
  margin: auto;
} */

#welcome-ribbon.ribbon,
.ribbon,
.breadcrumb,
nav:has(.breadcrumb) {
  background: var(--secondary-color);
}

nav ol.breadcrumb {
  width: var(--container-6xl);
  margin: auto;
}

button#search {
  background: var(--primary-color);
  padding: 10px;
}

button#search:hover {
  background: var(--secondary-color);
}

button#search > svg {
  height: 15px;
  width: 15px;
}

.home #featured {
  background-color: #f7f8fa;
}

.learning .breadcrumb,
.learning nav:has(.breadcrumb) {
  background: #ecf1f4;
}

/* hero 2nd link arrow right */
#featured .hero-featured a:nth-of-type(2) {
  background: transparent;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: none;
}

#featured .hero-featured a:nth-of-type(2):hover {
  background: var(--secondary-color);
  color: white;
}
/* END hero 2nd link arrow right */

.home .featured-slide,
.home #programTiles,
.home #lc-carousel,
.learning .lc-hero > section,
.learning #main > div > section,
.learning #lc-carousel,
#footer,
.topic-page,
.query-page,
.content article,
.content #article-toolbar,
.content footer {
  max-width: var(--container-6xl);
  margin: auto;
}

.collection > section:has(ui-tab-group) {
  max-width: var(--container-7xl);
  margin: auto;
}

#programTiles {
  margin: auto;
  gap: 1rem;
}
#programTiles .tile {
  max-width: 330px;
  max-height: 330px;
}

#programTiles .tile > div {
  background: rgb(236, 243, 249);
  color: var(--primary-color);
}

#programTiles .tile > div h3 {
  color: var(--secondary-color);
  font-weight: 500;
}

.lg\:w-\[70\%\] {
  width: 100%;
}

.xl\:w-1\/4 {
  display: none;
}

#lc-carousel {
  background: #f7f8fa;
}

#lc-carousel h2 {
  color: black;
  font-weight: normal;
}

#lc-carousel h3 {
  color: black;
}

#lc-carousel p {
  color: black;
}

#lc-carousel ul[role="tablist"] {
  background: #f7f8fa;
}

#lc-carousel ul[role="tablist"] svg {
  outline: none;
}

#lc-carousel circle.fill-white {
  fill: var(--secondary-color);
}

#lc-carousel button.lc-button {
  background: #f7f8fa;
  color: var(--primary-color);
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#lc-carousel button.lc-button:hover {
  background: var(--primary-color);
  color: white;
}

#footer li a {
  color: black;
}

#footer button > span,
#footer h2 a {
  color: var(--secondary-color);
}

#footer-workplace {
	margin-bottom: 0;
}
/* 'subpages' */

/* breadcrumbs customizations */
.learning #breadcrumb-nav .breadcrumb-item a {
  color: var(--primary-color);
}
/* centering article body */
div.xl\:w-7\/10:has(#copy) {
  margin: auto;
  width: 100%;
}

.topic-page #topic-carousel,
.query-page #topic-carousel {
  display: none;
}

.collection-hero-inner h1 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  font-weight: normal;
}
/* END 'subpages' */

@media (min-width: 768px) {
  button#search > svg {
    height: 30px;
    width: 30px;
  }
}

@media (min-width: 1024px) {
  .home #featured .hero-left {
    border: 3rem solid #f7f8fa;
    border-left: 0;
    background-position: 15%;
  }

  .hero-featured {
    align-items: start;
    text-align: left;
  }

  .hero-featured h2 {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 600;
  }

  .hero-featured h3 {
    font-size: 2rem;
  }

  .hero-featured div a {
    font-size: 1rem;
    text-align: center;
  }

  #featured .hero-featured a:nth-of-type(2) {
    border: none;
  }

  #footer .lg\:columns-3 {
    columns: 2;
  }

  #footer-personal > div {
    margin-bottom: 1rem;
  }

  #footer-personal > div:has(#footer-favorites) {
    break-after: column;
  }

  .collection-hero-bg {
    width: 50rem;
    height: 16rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
  }

  .collection-hero-inner {
    text-align: start;
  }

  .collection-hero-inner h1 {
    font-size: 2.5rem;
  }

  .collection-hero-inner h2 {
    font-size: 2rem;
    font-weight: normal;
  }
}

@media screen and (min-width: 1280px) {
  #lc-carousel .min-h-\[500px\] {
    min-height: 500px;
  }

  #lc-carousel div.lg\:px-32 {
    padding: 1rem;
  }

  #lc-carousel section div:has(header) {
    justify-content: center;
    align-items: start;
    padding-left: 6rem !important;
  }

  #lc-carousel h2 {
    font-size: 2.4rem;
  }

  #lc-carousel h3 {
    font-size: 2rem;
  }

  #lc-carousel p {
    font-size: 1.25rem;
    text-align: left;
  }

  #lc-carousel img {
    height: 20rem;
  }

  #lc-carousel button[aria-haspopup="dialog"] {
    margin: 1rem auto;
  }

  /* subpages */
  .topic-page .lg\:px-8,
  .query-page .lg\:px-8 {
    padding-left: 0;
    padding-right: 0;
  }

  .topic-page #category-card > div,
  .query-page #category-card > div {
    width: 85%;
  }
  /* END subpages */
}