@charset "UTF-8";

/* Global */

/* body {
  font-family: sans-serif !important;
} */

:root {
  --cassiopeia-color-primary: #004200;
  --cassiopeia-color-secondary: #F4F6F8;
  --cassiopeia-color-text: #F4F6F8;
  --cassiopeia-color-background: var(--cassiopeia-color-primary);
  --body-bg: #F4F6F8;
  --body-color: #004200;
  --link-color: #004200;
  --info: #004200;
  --info-rgb: 0, 68, 0;
  --link-hover-color: #004200;
  --body-font-size: 1.2rem;
  /* --link-color: #F5DEB3; */
  --border-radius: 0.5rem;
}

body.theme-blue {
  /* --cassiopeia-color-primary: #7E94A9; */
  --cassiopeia-color-primary: #2B4659;
  --cassiopeia-color-secondary: #fff;
  --cassiopeia-color-text: #fff;
  --cassiopeia-color-background: var(--cassiopeia-color-primary);
  /* --body-bg: #F5DEB3; */
  --body-color: #16242F;
  --link-color: #16242F;
  --info: #004200;
  --info-rgb: 0, 68, 0;
  --link-hover-color: #16242F;
  --body-font-size: 1.2rem;
  /* --link-color: #F5DEB3; */
}


/* :root {
  --cassiopeia-color-primary: #748A9F;
  --cassiopeia-color-secondary: #16242F;
  --cassiopeia-color-text: #16242F;
  --cassiopeia-color-background: var(--cassiopeia-color-primary);
  --body-bg: #F5DEB3;
  --body-color: #16242F;
  --link-color: #16242F;
  --info: #004200;
  --info-rgb: 0, 68, 0;
  --link-hover-color: #16242F;
  --body-font-size: 1.2rem;
  --link-color: #F5DEB3;
} */


@media (max-width: 768px) {
  :root {
    --body-font-size: 1rem;
  }
}

/* hits */
.badge {
  --badge-color: var(--cassiopeia-color-secondary);
}

/* hits */

/* Global */


/* Layout */

/* .container-component {
  max-width: 1000px !important;
} */

/* .container-sidebar-left,
.container-sidebar-right {
  min-width: 160px;
} */

.pagination {
  --pagination-border-color: var(--cassiopeia-color-primary);
  --pagination-disabled-border-color: var(--cassiopeia-color-primary);
  --pagination-hover-border-color: var(--cassiopeia-color-primary);
  --pagination-active-bg: var(--cassiopeia-color-primary);
  --pagination-active-color: var(--cassiopeia-color-secondary);
  margin: auto;
  justify-content: center;
}

.page-item.active .page-link:hover,
.page-item.active .page-link {
  background-color: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-secondary);
}

.back-to-top-link {
  background-color: var(--body-bg);
}

.back-to-top-link:hover,
.back-to-top-link:focus {
  background-color: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-secondary);
  border-color: var(--cassiopeia-color-secondary);
}

.navbar-toggler {
  color: var(--cassiopeia-color-secondary) !important;
  border-color: var(--cassiopeia-color-secondary) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.readmore a {
  background: var(--body-bg);
  border: none;
  color: var(--cassiopeia-color-primary);
  font-size: 12px;
  font-style: italic;
}

.readmore a:hover {
  background: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-secondary);
  text-decoration: none !important;
}

/* Layout */

/* HOME PAGE */

.home-page-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cassiopeia-color-primary);
  margin-bottom: 1.5rem;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-top:50px;
  margin-bottom:24px;
}

.home-page-title-banner {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Overlay to Darken the Background */
/*.home-page-title-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}*/

.home-page-title-banner .custom-banner-main {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), 0 1px 0 #222;
  max-width: 1200px;
  font-size: 50px;
  color: var(--cassiopeia-color-secondary) !important;
}

.home-page-title-banner .custom-banner-main {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), 0 1px 0 #222;
  max-width: 1200px;
  font-size: 50px;
  color: var(--cassiopeia-color-secondary) !important;
}

.theme-blue .home-page-title-banner .custom-banner-main {
  color: var(--cassiopeia-color-secondary) !important;
}

@media (max-width: 768px) {
  .home-page-title-banner .custom-banner-main {
    width: 100%;
    font-size: 30px;
  }
}

@supports (-webkit-touch-callout: none) {
  .home-page-title-banner .banner-overlay {
    background-attachment: scroll !important;
  }
}

@media (max-width: 1000px) {
  .home-page-title-banner .banner-overlay {
    background-size: cover !important;
    background-position-x: 40% !important;
  }
}

.home-page-title-banner .banner-overlay {
  height: calc(100svh - 80px);
  background-size: 120%;
  background-position-x: 10%;
}

.home-page-reconstruction-banner {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: var(--border-radius);
}

.home-page-reconstruction-banner {
  background-color: #FFCC00;
  font-size: 30px;
  color: var(--cassiopeia-color-primary);
  margin-top: 19px !important;
  display: flex;
  padding: 30px;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
}

.home-page-reconstruction-banner p {
  margin: auto;
}

.home-page-entrance-banner a,
.home-page-entrance-banner a:hover {
  text-decoration: none !important;
}

.home-page-entrance-banner a {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 30px;
  font-size: 40px;
}

/* HOME PAGE INDICATORS */

.home-page-key-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0rem;
}

.home-page-key-indicators .indicator {
  flex: 1 1 250px;
  /* background-color: #fff; */
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page-key-indicators .indicator:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.home-page-key-indicators .indicator i {
  font-size: 3rem;
  color: var(--cassiopeia-color-primary);
  margin-bottom: 1rem;
  display: block;
}

.home-page-key-indicators .indicator .text {
  font-size: 1.3rem;
  color: #333;
  font-weight: 500;
}

.home-page-key-indicators .indicator .text strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cassiopeia-color-primary);
}

@media (max-width: 768px) {
  .home-page-key-indicators .indicator {
    flex: 1 1 100%;
  }
}

/* HOME PAGE INDICATORS */

/* HOME PAGE ABOUT */

.home-page-about .content {
  display: flex;
  flex-wrap: wrap;
  /* background: #ffffff; */
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  align-items: stretch;
  width: 100%;
}

.home-page-about .image {
  flex: 1 1 300px;
  min-width: 300px;
}

.home-page-about .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.home-page-about .text {
  flex: 1 1 400px;
  min-width: 280px;
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.home-page-about .text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}

/* HOME PAGE ABOUT */

/* HOME PAGE */

/* ARTICLE LIST*/

.content-category h1 {
  text-align: center;
}

/* ARTICLE LIST*/

/* ARTICLE CONTENT */

.com-content-article {
  max-width: 1200px;
  margin: auto;
}

.com-content-article .page-header {
  color: var(--cassiopeia-color-primary);
  text-align: center;
}

.section-title {
  font-size: 30px;
  /* background-color: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-text); */
  /* background-color: var(--cassiopeia-color-primary); */
  color: var(--cassiopeia-color-primary);
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 50px;
  display: flex;
  border-radius: var(--border-radius);
}

.com-content-article .com-content-article__body {
  margin-top: 1rem;
}

/* ARTICLE CONTENT */


/* Footer */

.container-footer {
  background: var(--cassiopeia-color-background);
  background-image: none;
  text-align: center;
}

.container-footer .grid-child {
  display: block;
  color: var(--cassiopeia-color-text);
}

/* Footer */


/* NEWS LIST */

.home-page-latest-news .tiles-grid {
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 768px) {
  .home-page-latest-news .tiles-grid {
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* NEWS LIST */


/* EMPLOYEE LIST */

.employee-list .mod-articles-item-content {
  display: flex;
  width: 100%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.employee-list .employee-image {
  width: 250px;
  margin: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 2px solid var(--cassiopeia-color-primary);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 4px 4px rgba(0, 0, 0, 0.12);
}

.employee-list .employee-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: auto;
  object-fit: cover;
  object-position: center;
}

.employee-list .no-item-image {
  filter: opacity(0.5);
}

.employee-list .employee-content {
  width: 100%;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
}

.employee-list .employee-content .readmore {
  align-self: flex-end;
  margin-top: auto;
}

.employee-list .employee-content .mod-articles-title {
  font-size: 30px;
}

.employee-list ul li {
  border-bottom: 1px solid var(--cassiopeia-color-primary);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.employee-list ul li:last-child {
  border-bottom: none;
}

.employee-list>div {
  font-size: 30px;
  background-color: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-text);
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 50px;
  display: flex;
}

.employee-list .mod-articles-introtext * {
  display: inline;
}

@media (max-width: 768px) {
  .employee-list {
    width: 100%;
    margin: auto;
  }

  .employee-list .mod-articles-item {
    height: auto;
    display: block;
  }

  .employee-list .mod-articles-item-content {
    display: block;
    width: 100%;
  }

  .employee-list .employee-image {
    width: 100%;
  }

  .employee-list .employee-image img {
    max-width: none;
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .employee-list .no-item-image {
    display: none;
  }

  .employee-list .employee-content {
    padding: 0px;
  }


  .employee-list>div {
    font-size: 25px;
  }

  .employee-list .employee-content .mod-articles-title {
    font-size: 20px;
  }
}

/* EMPLOYEE LIST */


/* EMPLOYEE DETAILS */

.item-page-employee-details ul.fields-container {
  list-style: none;
  text-align: center;
  font-size: 20px;
  padding: 0px;
}

.item-page-employee-details .item-image {
  float: none !important;
  display: block;
  margin: 0 auto;
  text-align: center;
  max-width: 300px;
}

/* EMPLOYEE DETAILS */

/* EMPLOYEE PROFILE */

.employee-profile .employee-profile-section {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.employee-profile .employee-profile-section:has(.field-list) {
  display: block;
}

.employee-profile .employee-profile-section .title {
  white-space: nowrap;
  font-weight: 700;
  /* bold via CSS instead of <strong> */
}

.employee-profile .employee-profile-section .field-list {
  margin: 0;
  padding-left: 1.25em;
}

.employee-profile .employee-profile-section .field-list li {
  list-style: disc;
  margin: 0.25em 0;
}


/* EMPLOYEE PROFILE */

/* EMPLOYEE PROFILE */

.profile-card {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: flex-start;
  margin: 2em auto;
}

.profile-photo {
  width: 300px;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #e9efe6;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--border-radius);
  display: block;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.profile-title {
  margin-bottom: 0.5em;
}

.profile-facts {
  list-style: none;
  padding: 0;
}

.profile-facts li {
  margin-bottom: 0.5em;
}

@media (max-width: 800px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    gap: 1.3em;
  }
  .profile-photo {
    margin-bottom: 1em;
  }
}

/* EMPLOYEE PROFILE */


/* SUBJECTS COMMISION LIST */

.subjects-commission-list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 20px 0px;
  list-style: none;
  overflow: visible;
}

.subjects-commission-list .tile-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  padding: 5px;
}

@media (max-width: 768px) {
  .subjects-commission-list ul {
    grid-template-columns: 1fr;
  }
}

/* SUBJECTS COMMISION LIST */

/* LESSON TIMELINE WIDGET */

.lesson-timeline-widget .slot {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  position: relative;
}

.lesson-timeline-widget .slot:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 100%;
  width: 2px;
  height: 0.75rem;
  background: var(--cassiopeia-color-primary);
}

.lesson-timeline-widget .marker {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--cassiopeia-color-primary);
  margin-right: 0.5rem;
}

.lesson-timeline-widget .break .marker {
  background: var(--body-bg);
  border: 1px solid var(--cassiopeia-color-primary);
}

.lesson-timeline-widget .time-label {
  font-size: 15px;
  line-height: 1.2;
  color: var(--theme-text);
}

.lesson-timeline-widget .time-label .time {
  display: block;
}

.lesson-timeline-widget .time-label .label {
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .lesson-timeline-widget .widget-title {
    font-size: 30px;
  }

  .lesson-timeline-widget .time-label {
    font-size: 20px;
  }

  .lesson-timeline-widget .widget-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
  }

  .lesson-timeline-widget .slot {
    width: 50%;
  }
}

/* LESSON TIMELINE WIDGET */

/* SIDE WIDGET */

.side-widget {
  margin: 0 auto;
}

.side-widget .widget-title {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background: var(--cassiopeia-color-primary);
  color: var(--cassiopeia-color-secondary);
  height: 50px;
  border-radius: var(--border-radius);
}

.side-widget .widget-content {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .side-widget .widget-title {
    font-size: 30px;
  }
}

/* SIDE WIDGET */



/* REFERENCES WIDGET */

.references-widget {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.references-widgets {
  margin-bottom: 1rem;
}

.references-widget .widget-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  text-decoration: none;
  height: 50px;
}

.references-widget .widget-item img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.references-widget .widget-item .widget-label {
  font-weight: 600;
  font-size: 1rem;
  margin-left: 10px;
}

.new-btn {
  background: var(--cassiopeia-color-primary);
  transition: transform 0.3s ease-in-out;
  border-radius: var(--border-radius);
  text-decoration: none;
}

.new-btn,
.new-btn a {
  color: var(--cassiopeia-color-secondary);
}

.new-btn:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: var(--cassiopeia-color-secondary);
}

.references-widget .widget-item img.icon-edebo {
  /* height: auto; */
  filter: contrast(0.5);
  width: auto;
  /* filter:
    drop-shadow( 0  0 0 #2E59A7)
    drop-shadow( 0  0 0 #2E59A7)
    drop-shadow( 0  0 0 #2E59A7)
    drop-shadow( 0  0 0 #2E59A7)
    drop-shadow( 0  0 1px #2E59A7); */
}

@media (max-width: 768px) {
  .references-widgets {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .references-widget {
    width: calc(50% - 0.5rem);
    margin-bottom: 0;

  }

  .references-widget .widget-item .widget-label {
    color: var(--cassiopeia-color-secondary);
    font-weight: 600;
    font-size: 12px;
    margin-left: 10px;
  }
}


/* REFERENCES WIDGET */

#carouselExampleControls .carousel-control-prev,
#carouselExampleControls .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.3);
  /* semi-transparent circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 10;
  color: var(--cassiopeia-color-primary) !important;
}

#carouselExampleControls .carousel-control-prev-icon,
#carouselExampleControls .carousel-control-next-icon {
  background: none !important;
  width: auto;
  height: auto;
  color: var(--cassiopeia-color-primary) !important;
}


/* body { font-family: "Segoe UI", Arial, sans-serif; background: #fff; margin: 40px; } */

.tabs .tab-labels {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 1.5em;
  gap: 2em;
}

.tabs .tab-labels button {
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  border-bottom: 2px solid transparent;
  font-size: 1em;
  transition: color 0.2s, border-color 0.2s;
}

.tabs .tab-labels button.active,
.tabs .tab-labels button:focus {
  color: var(--cassiopeia-color-primary);
  border-bottom: 2px solid var(--cassiopeia-color-primary);
  outline: none;
}

.tabs .tab-content>div {
  display: none;
  animation: fadein .4s;
}

.tabs .tab-content>div.active {
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.home-page-invitation-banner {
  background: transparent;
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 0;
}

.home-page-invitation-banner a {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: url('https://stpdatu.com.ua/images/ogolosenna_pro_vstup/zaprosenna_na_navcanna_baner.jpg') center center/cover no-repeat;
  background-position: unset;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.home-page-invitation-banner a:hover,
.home-page-invitation-banner a:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.home-page-invitation-banner a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  border-radius: 0.2em;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.5) 100%);

}

.home-page-invitation-banner .invite-text {
  position: relative;
  z-index: 2;
  color: var(--cassiopeia-color-secondary);
  font-size: 3.2rem;
  font-weight: 700;
  padding: 1em 2em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85), 0 1px 0 #222;
  letter-spacing: 1.5px;
  border-radius: 0.5em;
}

@media (max-width: 600px) {
  .home-page-invitation-banner a {
    min-height: 200px;
  }

  .home-page-invitation-banner .invite-text {
    font-size: 1.2rem;
    padding: 0.5em 1em;
  }
}

/* TILE GRID */

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: auto;
  padding: 0px;
  padding: 20px;
  justify-content: center;
}

@media (max-width: 900px) {
  .tiles-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 600px) {
  .tiles-grid {
    grid-template-columns: 1fr;
  }
}

.tiles-grid .tile a {
  text-decoration: none !important;
}

.tiles-grid .tile {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 250px;
  background: #222;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.tiles-grid .tile:hover {
  transform: scale(1.05);
  z-index: 2;
}

.tiles-grid .tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.tiles-grid .tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tiles-grid .tile-content {
  position: relative;
  z-index: 2;
  color: var(--cassiopeia-color-secondary);
  padding: 0.5em 1em;
  background: rgba(0, 0, 0, 0.48);
  display: block;
  flex-direction: column;
  gap: 0.6em;
  text-decoration: none !important;
}

.tiles-grid .tile-meta {
  display: flex;
  gap: 1.2em;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.93;
}

.tiles-grid .tile-meta .icon {
  font-size: 1.1em;
  margin-right: 0.25em;
  vertical-align: -2px;
}

.tiles-grid .tile-title {
  font-size: 1.35rem;
  font-weight: bold;
  margin: 0.2em 0 0.15em 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tiles-grid .tile-intro {
  font-size: 0.8rem;
  line-height: 1.38;
  color: #e6e6e6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  max-height: 3.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25em;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .tiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }
}

@media (max-width: 600px) {
  .tiles-grid .tile-content {
    padding: 1em 0.7em 1em 0.7em;
  }

 .tiles-grid .tile-title {
    font-size: 1.12rem;
  }
}

.employee-list .tiles-grid .tile-content {
  height: 170px;
  background-color: var(--cassiopeia-color-primary);
}

.employee-list .tiles-grid .tile-title{
  white-space: break-spaces;
  overflow: visible;
}

.tiles-grid .tile-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  object-position: top;
}

.employee-list .tiles-grid {
  grid-template-columns: repeat(auto-fit, 250px);
}

@media (max-width: 768px) {
  .employee-list .tiles-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .employee-list .tiles-grid {
    grid-template-columns: 1fr;
  }
}

.tile-list {
  max-width: 1200px;
  margin: auto;
}

.tile-list .tiles-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 768px) {
  .tile-list .tile-title {
    max-width: 100%;
  }

  .tile-list .tiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .tile-list .tile-title {
    white-space: break-spaces;
  }
}

/* TILE GRID */


/* RESOURCE CENTER */

.virtual-resource-center-page .intro-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.virtual-resource-center-page .intro-image {
  flex: 1 1 300px;
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.virtual-resource-center-page .intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  text-align: center;
}

.virtual-resource-center-page .top-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.virtual-resource-center-page .top-section > div {
  flex: 1 1;
  min-width: 550px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: var(--border-radius);
}

.virtual-resource-center-page .employee-list .tiles-grid {
  grid-template-columns: repeat(auto-fit, 220px);
}

.virtual-resource-center-page .employee-list .tiles-grid .tile-content {
  height: 120px;
}

@media (max-width: 768px) {
  .virtual-resource-center-page .top-section > div {
    flex: auto;
    max-width: 100%;
    min-width: unset;
  }
}

/* RESOURCE CENTER */

.subjects-commission-list .tile-title {
  font-size: 1.1rem;
  text-align: center;
}

.subjects-commission-list .tile {
  min-height: 200px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 3);
}

/* Simple Image Gallery */

ul.sigFreeContainer.sigFreeClassic > em { display: contents; }

ul.sigFreeContainer.sigFreeClassic li.sigFreeThumb {
  float: none !important;
}

.sigFreeContainer.sigFreeClassic{
  display:grid !important;
  grid-template-columns: repeat(auto-fill, minmax(15%, 1fr)) !important;
  gap:5px !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeLink{
  width:100% !important; height:auto !important; display:block !important;
  aspect-ratio: 3/2 !important;
}

.sigFreeContainer.sigFreeClassic .sigFreeImg{
  width:100% !important; height:100% !important; display:block !important;
  background-size:cover !important;
  background-position:25% 25% !important;
}

@media (max-width: 768px) {
  .sigFreeContainer.sigFreeClassic{
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr)) !important;
  }
}

/* Simple Image Gallery */

/* CREDO */

.credo-wrap{
  max-width:980px;
  margin:24px auto;
}

.credo{
  --accent:#1e7a3a;
  --accent-soft: rgba(30,122,58,.10);
  --border: rgba(30,122,58,.18);
  --bg1:#f6fff8;
  --bg2:#ffffff;

  margin:14px 0;
  padding:20px 22px;
  border-left:6px solid var(--accent);
  border-radius:14px;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 80%);
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.credo__title{
  font-weight:700;
  font-size:15px;
  color:var(--accent);
  margin-bottom:8px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.credo__quote{
  font-size:20px;
  font-weight:800;
  line-height:1.4;
  color:#0b1b12;
}

/* Themes */
.credo--green{
  --accent:#1e7a3a;
  --accent-soft: rgba(30,122,58,.10);
  --border: rgba(30,122,58,.18);
  --bg1:#f6fff8;
}

.credo--blue{
  --accent:#0f6a9c;
  --accent-soft: rgba(15,106,156,.10);
  --border: rgba(15,106,156,.18);
  --bg1:#f7fbff;
}

@media (max-width:760px){
  .credo__quote{ font-size:18px; }
}

/* CREDO */

/* TITLE WITH LINES */
.title-with-lines{
  display:flex;
  align-items:center;
  gap:20px;
}

.title-with-lines::before,
.title-with-lines::after{
  content:"";
  flex:1;
  height:1px;
  background:currentColor;
  opacity:.25;
}

@media (max-width: 768px){
  .title-with-lines{
    flex-wrap:wrap;
    text-align:center;
  }

  .title-with-lines::before,
  .title-with-lines::after{
    min-width:40px;
  }
}
/* TITLE WITH LINES */


/* ========================================
   SEARCH OPEN DOWNWARD INSTEAD OF OVERLAY
======================================== */

/* anchor for dropdown search */
.container-header .container-nav > .moduletable:last-child {
  position: relative;
}

/* closed state */
.container-header .container-nav > .moduletable:last-child .mod-finder {
  min-width: 42px;
}

/* open state: place below header, not over menu */
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  min-width: 320px;
  max-width: min(90vw, 360px);
  z-index: 1205;
}

/* open input wrapper */
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open .form-search,
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open .awesomplete {
  width: 100%;
}

/* visual panel */
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open .form-control,
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open input[type="text"],
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open input[type="search"] {
  width: 100%;
}

/* optional: small shadow for dropdown feel */
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open .awesomplete > input,
.container-header .container-nav > .moduletable:last-child .mod-finder.is-open input.form-control {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* mobile untouched */
@media (max-width: 992px) {
  .container-header .container-nav > .moduletable:last-child .mod-finder.is-open {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}