/* =========================================
   GOOGLE FONTS
========================================= */

@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap");


/* =========================================
   GLOBAL VARIABLES
========================================= */

:root {
  /* Fonts */
  --font-sans: "Figtree", sans-serif;
  --font-serif: "Libre Baskerville", serif;

  --type-body-family: var(--font-sans);
  --type-heading-family: var(--font-serif);
  --type-button-family: var(--font-sans);
  --type-link-family: var(--font-sans);
  --type-nav-family: var(--font-sans);

  /* Type */
  --font-size-body: 18px;
  --line-height-body: 1.61;
  --font-weight-body: 400;

  --font-size-h1: 60px;
  --line-height-h1: 1.2;
  --font-weight-h1: 400;

  --font-size-h2: 45px;
  --line-height-h2: 1.25;
  --font-weight-h2: 400;

  --font-size-h3: 26px;
  --line-height-h3: 1.31;
  --font-weight-h3: 600;

  --font-size-h4: 19px;
  --line-height-h4: 1.26;
  --font-weight-h4: 700;
  --letter-spacing-h4: 0.12em;

  --font-size-nav-main: 19px;
  --line-height-nav-main: 1.3;
  --font-weight-nav-main: 600;

  --font-size-nav-utility: 16px;
  --line-height-nav-utility: 1.25;
  --font-weight-nav-utility: 400;

  --font-size-dropdown: 16px;
  --line-height-dropdown: 1.35;
  --font-weight-dropdown: 600;

  --font-size-input: 16px;
  --line-height-input: 1.4;

  /* Colors */
  --color-red: #C8102E;
  --color-red-dark: #a50d26;
  --color-black: #000000;
  --color-text: #111111;
  --color-white: #ffffff;

  --color-gray-100: #f7f7f7;
  --color-gray-200: #f2f2f2;
  --color-gray-300: #e5e5e5;
  --color-gray-400: #d9d9d9;
  --color-gray-500: #cccccc;
  --color-gray-600: #bfbfbf;

  /* Layout */
  --library-max-width: 1200px;
  --library-content-width: 1100px;
  --library-page-padding: 40px 20px 60px;
  --library-page-padding-mobile: 30px 16px 50px;

  --library-gap: 24px;
  --library-card-padding: 32px;
  --library-card-padding-mobile: 24px;

  --library-border-radius: 8px;
  --library-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  --library-shadow-strong: 0 8px 22px rgba(0, 0, 0, 0.12);
}


/* =========================================
   GLOBAL TYPE APPLICATION
========================================= */

html,
body {
  font-family: var(--type-body-family);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--font-weight-body);
  color: var(--color-text);
}

body,
p,
li,
td,
th,
input,
textarea,
select,
button {
  font-family: var(--type-body-family);
}

h1,
.library-h1 {
  font-family: var(--type-heading-family);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-h1);
  margin-top: 0;
}

h2,
.library-h2 {
  font-family: var(--type-heading-family);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-h2);
}

h3,
.library-h3 {
  font-family: var(--font-sans);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

h4,
.library-h4 {
  font-family: var(--font-sans);
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-h4);
  letter-spacing: var(--letter-spacing-h4);
  text-transform: uppercase;
}

a,
.library-link-sm {
  font-family: var(--type-link-family);
}

button,
.btn,
.library-button,
.library-btn,
.library-quick-link,
.search-btn {
  font-family: var(--type-button-family);
}


/* =========================================
   GLOBAL REUSABLE PAGE SYSTEM
========================================= */

.library-page {
  max-width: var(--library-max-width);
  margin: 0 auto;
  padding: var(--library-page-padding);
  box-sizing: border-box;
}

.library-page *,
.library-page *::before,
.library-page *::after {
  box-sizing: border-box;
}

.library-content {
  max-width: var(--library-content-width);
  margin: 0 auto;
}

.library-full-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.library-section {
  margin-bottom: 40px;
}

.library-section-heading {
  margin: 40px 0 24px;
  text-align: center;
}

.text-center {
  text-align: center;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}


/* =========================================
   GLOBAL CARDS
========================================= */

.library-card {
  display: block;
  width: 100%;
  padding: var(--library-card-padding);
  background: var(--color-white);
  border: 1px solid var(--color-gray-400);
  border-top: 6px solid var(--color-red);
  box-shadow: var(--library-shadow);
}

.library-card + .library-card {
  margin-top: var(--library-gap);
}

.library-card h2,
.library-card h3 {
  margin-top: 0;
}

.library-card-header {
  margin-bottom: 20px;
}

.library-card-header h2,
.library-card-header h3 {
  margin: 0;
  color: var(--color-red);
}

.library-card-rounded {
  border: 5px solid var(--color-red);
  border-radius: 16px;
  box-shadow: none;
}


/* =========================================
   GLOBAL GRIDS
========================================= */

.library-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--library-gap);
}

.library-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--library-gap);
}

.library-grid-75-25 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--library-gap);
  align-items: start;
}

.library-grid-60-40 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--library-gap);
  align-items: start;
}

.library-table-layout {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-spacing: var(--library-gap) 0;
}

.library-table-main,
.library-table-sidebar {
  display: table-cell;
  vertical-align: top;
}

.library-table-main {
  width: 75%;
}

.library-table-sidebar {
  width: 25%;
}


/* =========================================
   GLOBAL BUTTONS
========================================= */

.library-btn,
.library-button,
.library-button-primary,
.library-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--library-border-radius);
  font-family: var(--type-button-family);
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.library-button-primary,
.library-btn-red {
  background: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.library-button-primary:hover,
.library-button-primary:focus,
.library-btn-red:hover,
.library-btn-red:focus {
  background: var(--color-white);
  color: var(--color-red);
  text-decoration: none;
}

.library-button-secondary {
  background: var(--color-white);
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.library-button-secondary:hover,
.library-button-secondary:focus {
  background: var(--color-red);
  color: var(--color-white);
  text-decoration: none;
}

.library-button-small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.95rem;
  line-height: 1;
}


/* =========================================
   GLOBAL ALERTS / NOTES
========================================= */

.library-alert,
.library-note {
  margin: 0 0 28px;
  padding: 18px 22px;
  background: var(--color-gray-100);
  border-left: 6px solid var(--color-red);
}

.library-alert p,
.library-note p {
  margin: 0;
}


/* =========================================
   ACCESSIBILITY HELPERS
========================================= */

.visually-hidden,
#custom-header .visually-hidden,
#dnl-footer .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* =========================================
   LIBRARY HEADER / NAVIGATION
========================================= */

#custom-header,
#custom-header *,
#custom-header *::before,
#custom-header *::after {
  box-sizing: border-box;
}

#custom-header,
#custom-header button,
#custom-header input,
#custom-header a,
#custom-header ul,
#custom-header li,
#custom-header span {
  font-family: var(--type-nav-family);
}

#custom-header {
  background-color: var(--color-white);
  width: 100%;
}

#custom-header .container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

#custom-header .utility-bar {
  padding-top: 10px;
  padding-bottom: 8px;
}

#custom-header .utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

#custom-header #header-hours,
#custom-header #header-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#custom-header #header-hours {
  gap: 4px;
  color: var(--color-black);
  font-size: var(--font-size-nav-utility);
  line-height: var(--line-height-nav-utility);
  font-weight: var(--font-weight-nav-utility);
}

#header-hours .hours-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-black);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

#header-hours .hours-link i {
  margin-right: 4px;
  font-size: 0.95em;
}

#dnl-hours-today {
  font-weight: 600;
}

#header-hours .hours-link:hover,
#header-hours .hours-link:focus {
  text-decoration: underline;
  color: var(--color-red);
  background-color: var(--color-gray-100);
}

#header-hours .hours-link:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

#custom-header #header-buttons {
  gap: 18px;
  margin-left: auto;
}

#custom-header .upper-nav-link,
#custom-header #dnl-hours-today a {
  color: var(--color-black) !important;
  text-decoration: none;
  font-size: var(--font-size-nav-utility);
  line-height: var(--line-height-nav-utility);
  font-weight: var(--font-weight-nav-utility);
}

#custom-header .upper-nav-link:hover,
#custom-header .upper-nav-link:focus,
#custom-header #dnl-hours-today a:hover,
#custom-header #dnl-hours-today a:focus {
  color: var(--color-red) !important;
  text-decoration: underline;
}

#custom-header .upper-nav-link:visited,
#custom-header #dnl-hours-today a:visited {
  color: var(--color-black) !important;
}

#custom-header #header-buttons .upper-nav-link.account-btn,
#custom-header #header-buttons .upper-nav-link.account-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black) !important;
  color: var(--color-white) !important;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
}

#custom-header #header-buttons .upper-nav-link.account-btn:hover,
#custom-header #header-buttons .upper-nav-link.account-btn:focus {
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
  text-decoration: none !important;
}

#custom-header #header-buttons .upper-nav-link.account-btn:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.upper-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-black);
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
}

.upper-nav-icon:hover,
.upper-nav-icon:focus {
  color: var(--color-red);
  background: transparent;
}

.upper-nav-icon:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.upper-nav-icon i {
  line-height: 1;
}

#custom-header .main-nav-wrap {
  padding-top: 16px;
  padding-bottom: 12px;
}

#custom-header .main-nav {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

#custom-header .navbar-brand {
  display: inline-block;
  flex: 0 0 auto;
  text-decoration: none;
}

#custom-header .navbar-brand img {
  display: block;
  width: 275px;
  max-width: 100%;
  height: auto;
}

#custom-header .navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 20px;
  cursor: pointer;
}

#custom-header .navbar-toggler:hover,
#custom-header .navbar-toggler:focus {
  color: var(--color-red);
  border-color: var(--color-red);
}

#custom-header .navbar-collapse {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
}

#custom-header .navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

#custom-header .nav-item {
  position: relative;
  margin: 0;
  padding: 0;
}

#custom-header .nav-link,
#custom-header .dropdown-trigger {
  background: transparent;
  border: 0;
  color: var(--color-black);
  text-decoration: none;
  font-size: var(--font-size-nav-main);
  line-height: var(--line-height-nav-main);
  font-weight: var(--font-weight-nav-main);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#custom-header .nav-link:hover,
#custom-header .nav-link:focus,
#custom-header .dropdown-trigger:hover,
#custom-header .dropdown-trigger:focus {
  color: var(--color-red);
  text-decoration: none;
}

#custom-header .dropdown-caret {
  font-size: 13px;
  line-height: 1;
  position: relative;
  top: 1px;
}

#custom-header .nav-link .fa-gift,
#custom-header .nav-link i,
#custom-header .nav-search-button i {
  font-size: 16px;
  line-height: 1;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

#custom-header .nav-search-button i {
  margin-left: 0;
}

#custom-header .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  max-width: 360px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-400);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 2000;
}

#custom-header .dropdown.is-open > .dropdown-menu {
  display: block;
}

#custom-header .dropdown-item {
  display: block;
  padding: 10px 16px;
  color: var(--color-black) !important;
  text-decoration: none;
  font-size: var(--font-size-dropdown);
  line-height: var(--line-height-dropdown);
  font-weight: var(--font-weight-dropdown);
  white-space: normal;
}

#custom-header .dropdown-item:hover,
#custom-header .dropdown-item:focus {
  background-color: var(--color-gray-200);
  color: var(--color-red) !important;
  text-decoration: none;
}

#custom-header .search-collapse {
  display: none;
  border-top: 2px solid var(--color-red);
  background: var(--color-white);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

#custom-header .search-collapse.is-open {
  display: block;
}

#custom-header .search-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px 18px;
}

#custom-header .search-form-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

#custom-header .form-control {
  flex: 1 1 auto;
  min-height: 50px;
  border: 1px solid var(--color-gray-500);
  border-right: 0;
  padding: 12px 14px;
  font-size: var(--font-size-input);
  line-height: var(--line-height-input);
  color: var(--color-black);
  background: var(--color-white);
}

#custom-header .form-control:focus {
  outline: 0;
  border-color: var(--color-red);
}

#custom-header .search-btn {
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--color-red);
  background: var(--color-red);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

#custom-header .search-btn:hover,
#custom-header .search-btn:focus {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

#custom-header a:visited {
  color: inherit;
}


/* =========================================
   HOME PAGE SEARCH
========================================= */

.library-search-hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  background-image: url("/render/file.act?path=/your-background-image.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.library-search-overlay {
  min-height: 300px;
  background: rgba(0, 0, 0, 0.30);
  padding: 50px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.library-search-inner {
  width: 100%;
  max-width: var(--library-max-width);
}

.library-search-wrap {
  width: 100%;
  max-width: var(--library-content-width);
  margin: 0 auto;
}

.library-search-streak {
  width: 100%;
  height: 5px;
  background: var(--color-red);
  border-radius: 2px 2px 0 0;
}

.library-search-form {
  margin: 0;
}

.library-search-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 2px solid var(--color-red);
  border-radius: 6px;
}

.library-search-bar:focus-within {
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.25);
}

.library-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  padding: 18px 22px;
  font-family: var(--type-body-family);
  font-size: 17px;
  line-height: 1.2;
  outline: none;
  background: var(--color-white);
  color: var(--color-text);
}

.library-search-select {
  flex: 0 0 220px;
  border: none;
  border-left: 1px solid var(--color-gray-400);
  padding: 18px 16px;
  font-family: var(--type-body-family);
  font-size: 16px;
  background: var(--color-white);
  color: #222222;
  outline: none;
  cursor: pointer;
}

.library-search-button {
  flex: 0 0 72px;
  border: none;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.library-search-button:hover,
.library-search-button:focus {
  background: #222222;
}


/* =========================================
   QUICK LINKS / BUTTON ROWS
========================================= */

.library-quick-links,
.library-button-row,
.library-callout-row,
.library-callout-row-3 {
  max-width: var(--library-content-width);
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.library-quick-links {
  padding: 18px 0 0 0;
  justify-content: flex-start;
}

.library-quick-link {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-gray-200);
  border: 1px solid var(--color-red);
  border-radius: 3px;
  color: #333333;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.library-quick-link:hover,
.library-quick-link:focus {
  background: var(--color-red);
  color: var(--color-white);
  text-decoration: none;
}

.lib-btn {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 96px;
  padding: 18px 10px;
  border: 2px solid var(--color-red);
  border-radius: 6px;
  background: var(--color-gray-100);
  color: #333333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lib-btn i {
  font-size: 28px;
  margin-bottom: 8px;
}

.lib-btn:hover,
.lib-btn:focus {
  background: var(--color-red);
  color: var(--color-white);
  text-decoration: none;
}

.lib-btn-primary {
  flex: 1.5 1 220px;
  flex-direction: row;
  gap: 14px;
  background: var(--color-red);
  color: var(--color-white);
}

.lib-btn-primary:hover,
.lib-btn-primary:focus {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.lib-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lib-btn-icon i {
  font-size: 34px;
  margin: 0;
}

.lib-btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lib-btn-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lib-btn-sub {
  font-size: 13px;
  line-height: 1.3;
}

.lib-btn.lib-btn-callout {
  flex: 1 1 calc(50% - 7px);
  min-height: 96px;
}

.library-callout-row-3 .lib-btn.lib-btn-callout {
  flex: 1 1 calc(33.333% - 9.5px);
}

.ask-librarian-btn {
  background-color: var(--color-red);
  color: var(--color-white);
}

.ask-librarian-btn .lib-btn-title,
.ask-librarian-btn .lib-btn-sub,
.ask-librarian-btn .lib-btn-text,
.ask-librarian-btn i {
  color: var(--color-white);
}

.ask-librarian-btn:hover,
.ask-librarian-btn:focus {
  color: var(--color-black);
}

.ask-librarian-btn:hover .lib-btn-title,
.ask-librarian-btn:hover .lib-btn-sub,
.ask-librarian-btn:hover .lib-btn-text,
.ask-librarian-btn:hover i,
.ask-librarian-btn:focus .lib-btn-title,
.ask-librarian-btn:focus .lib-btn-sub,
.ask-librarian-btn:focus .lib-btn-text,
.ask-librarian-btn:focus i {
  color: var(--color-black);
}

.ask-librarian-btn:visited,
.ask-librarian-btn:visited .lib-btn-title,
.ask-librarian-btn:visited .lib-btn-sub,
.ask-librarian-btn:visited .lib-btn-text,
.ask-librarian-btn:visited i {
  color: var(--color-white);
}


/* =========================================
   NEWS AND EVENTS
========================================= */

.library-news-events-wrap {
  width: 100%;
  max-width: var(--library-content-width);
  margin: 30px auto;
}

.library-news-events-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.library-news-col,
.library-events-col {
  box-sizing: border-box;
  width: 50%;
}

.library-news-col {
  padding-right: 28px;
  border-right: 1px solid var(--color-gray-600);
}

.library-events-col {
  padding-left: 28px;
}

.simple-carousel {
  position: relative;
}

.simple-carousel-inner {
  position: relative;
}

.simple-slide {
  display: none;
  width: 100%;
  height: auto;
}

.simple-slide.is-active {
  display: block;
}

.simple-prev,
.simple-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-red);
  font-size: 24px;
  cursor: pointer;
}

.simple-prev {
  left: 12px;
}

.simple-next {
  right: 12px;
}

.simple-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.simple-dots button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--color-gray-500);
  cursor: pointer;
}

.simple-dots button.is-active {
  background: #888888;
}

.library-events-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.library-event-li {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}

.library-event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-decoration: none;
  color: #222222;
}

.library-event-datebox {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-width: 92px;
  height: 82px;
  border: 1.5px solid var(--color-red);
  border-radius: 4px;
  background: var(--color-white);
  line-height: 1.05;
  flex-shrink: 0;
}

.library-event-month {
  display: block;
  font-size: 18px;
  color: #333333;
  font-weight: 400;
}

.library-event-day {
  display: block;
  font-family: var(--type-heading-family);
  font-size: 34px;
  color: #222222;
  font-weight: 400;
}

.library-event-text {
  display: inline-block;
  font-size: 18px;
  line-height: 1.25;
  color: #222222;
}

.library-event-item:hover .library-event-text,
.library-event-item:focus .library-event-text {
  color: var(--color-red);
  text-decoration: underline;
}

.library-events-footer {
  margin-top: 16px;
  text-align: right;
}

.library-events-link {
  font-size: 16px;
  color: #222222;
  text-decoration: none;
}

.library-events-link:hover,
.library-events-link:focus {
  text-decoration: underline;
  color: var(--color-red);
}


/* =========================================
   ACADEMIC COMMONS / OFFICE CARDS
========================================= */

.mission-box {
  border: 5px solid var(--color-red);
  border-radius: 16px;
  display: flex;
  gap: 30px;
  padding: 30px;
  margin: 0 auto 40px;
  align-items: stretch;
  overflow: hidden;
  background: var(--color-white);
}

.mission-content {
  flex: 1;
}

.mission-image {
  flex: 1;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 30px 0 10px;
}

.office-card {
  border: 5px solid var(--color-red);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
}

.office-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.office-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.office-card-title {
  margin: 0;
  font-size: 20px;
}

.office-card-text {
  margin: 0;
  font-size: 16px;
}

.ac-offices .ac-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ac-offices a.ac-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid var(--color-red);
  transition: all 0.2s ease;
}

.ac-btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.ac-btn-primary:hover {
  background: var(--color-white);
  color: var(--color-red);
}

.ac-btn-secondary {
  background: var(--color-white);
  color: var(--color-red);
}

.ac-btn-secondary:hover {
  background: var(--color-red);
  color: var(--color-white);
}


/* =========================================
   FOOTER
========================================= */

#dnl-footer {
  background: var(--color-white);
  display: block;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: auto;
  max-width: none;
  color: var(--color-black);
  font-family: var(--font-sans);
}

#dnl-footer,
#dnl-footer p,
#dnl-footer li,
#dnl-footer a,
#dnl-footer span {
  font-family: var(--font-sans);
}

#dnl-footer a {
  color: var(--color-black);
  text-decoration: none;
}

#dnl-footer a:focus,
#dnl-footer a:hover {
  text-decoration: underline;
}

#dnl-footer .dnl-sep {
  padding: 0 6px;
}

#dnl-footer .dnl-wrap {
  width: 100%;
  max-width: var(--library-max-width);
  margin: 0 auto;
  padding: 24px 16px;
  line-height: 1.45;
  font-size: 14px;
  box-sizing: border-box;
}

#dnl-footer .dnl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#dnl-footer .dnl-list li {
  margin: 0 0 6px 0;
}

#dnl-footer .dnl-logo {
  max-width: 220px;
  height: auto;
  border: 0;
  display: block;
  margin: 0 0 25px 0;
}

#dnl-footer .dnl-line {
  border: 0;
  height: 1px;
  background: #2a2a2b;
  margin: 16px 0;
}

#dnl-footer .dnl-meta {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 8px;
}

#dnl-footer .dnl-cols::before,
#dnl-footer .dnl-cols::after {
  content: "";
  display: table;
}

#dnl-footer .dnl-cols::after {
  clear: both;
}

#dnl-footer .dnl-col {
  float: left;
  width: 100%;
  padding: 8px 8px;
  box-sizing: border-box;
  min-width: 200px;
}

#dnl-footer .dnl-social {
  margin-top: 12px;
}

#dnl-footer .dnl-social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
}

#dnl-footer .dnl-social a:hover,
#dnl-footer .dnl-social a:focus {
  background-color: var(--color-red);
  color: var(--color-white);
  text-decoration: none;
}

#dnl-footer .dnl-social i {
  line-height: inherit;
}

@media screen and (min-width: 768px) {
  #dnl-footer .dnl-col-1 {
    width: 50%;
  }

  #dnl-footer .dnl-col-2 {
    width: 25%;
  }

  #dnl-footer .dnl-col-3 {
    width: 25%;
  }
}

@supports (display: flex) {
  #dnl-footer .dnl-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  #dnl-footer .dnl-col {
    float: none;
    width: auto;
    padding: 0;
    flex: 1 1 100%;
  }

  @media screen and (min-width: 768px) {
    #dnl-footer .dnl-col-1 {
      flex: 2 1 0;
    }

    #dnl-footer .dnl-col-2 {
      flex: 1 1 0;
    }

    #dnl-footer .dnl-col-3 {
      flex: 1 1 0;
    }
  }
}


/* =========================================
   FLOATING CHAT
========================================= */

.libraryh3lp.floating {
  position: fixed;
  bottom: -400px;
  right: 20px;
  padding-top: 0;
  z-index: 1001;
  transition: bottom 1.2s ease;
  background: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.libraryh3lp.floating iframe {
  width: 275px !important;
  height: 350px;
  display: block;
  border: 1px solid #cccccc;
  background: var(--color-white);
}

#toggle-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  background: var(--color-red);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

#toggle-chat i {
  margin-right: 8px;
}

#close-chat {
  text-align: right;
  padding: 6px 10px;
  background: var(--color-gray-100);
  border-bottom: 1px solid #dddddd;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}


/* =========================================
   RESPONSIVE: HEADER / NAVIGATION
========================================= */

@media screen and (max-width: 991.98px) {
  #custom-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  #custom-header .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #custom-header #header-buttons {
    margin-left: 0;
    gap: 12px 16px;
  }

  #custom-header .main-nav {
    align-items: center;
    flex-wrap: wrap;
  }

  #custom-header .navbar-brand img {
    width: 240px;
  }

  #custom-header .navbar-toggler {
    display: inline-flex;
    margin-left: auto;
  }

  #custom-header .navbar-collapse {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    border-top: 1px solid var(--color-gray-300);
    margin-top: 14px;
    padding-top: 14px;
  }

  #custom-header .navbar-collapse.is-open {
    display: block;
  }

  #custom-header .navbar-nav {
    display: block;
    width: 100%;
  }

  #custom-header .nav-item {
    width: 100%;
  }

  #custom-header .nav-link,
  #custom-header .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 18px;
  }

  #custom-header .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    max-width: 100%;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-bottom: 8px;
  }

  #custom-header .search-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  #custom-header .search-form-row {
    flex-direction: column;
  }

  #custom-header .form-control {
    border-right: 1px solid var(--color-gray-500);
    margin-bottom: 8px;
  }

  #custom-header .search-btn {
    width: 100%;
  }
}


/* =========================================
   RESPONSIVE: GLOBAL COMPONENTS
========================================= */

@media screen and (max-width: 900px) {
  .library-page {
    padding: var(--library-page-padding-mobile);
  }

  .library-grid-2,
  .library-grid-3,
  .library-grid-75-25,
  .library-grid-60-40,
  .offices-grid {
    grid-template-columns: 1fr;
  }

  .library-table-layout,
  .library-table-main,
  .library-table-sidebar {
    display: block;
    width: 100%;
  }

  .library-table-main {
    margin-bottom: var(--library-gap);
  }

  .library-card {
    padding: var(--library-card-padding-mobile);
  }

  .mission-box {
    flex-direction: column;
  }

  .mission-image {
    height: 220px;
  }

  .library-callout-row-3 .lib-btn.lib-btn-callout {
    flex: 1 1 calc(50% - 7px);
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    font-size: 17px;
  }

  h1,
  .library-h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  h2,
  .library-h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  h3,
  .library-h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  h4,
  .library-h4 {
    font-size: 17px;
  }

  .library-search-bar {
    flex-direction: column;
  }

  .library-search-select {
    flex: 1 1 auto;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--color-gray-400);
  }

  .library-search-button {
    width: 100%;
    padding: 16px 0;
  }

  .library-news-col,
  .library-events-col {
    width: 100%;
    padding: 0;
    border-right: 0;
  }

  .library-news-col {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 640px) {
  .library-callout-row-3 .lib-btn.lib-btn-callout,
  .lib-btn.lib-btn-callout {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 360px) {
  #dnl-footer .dnl-wrap {
    padding: 16px 12px;
  }
}

/* =========================================
   Library Comments & Feedback Page
========================================= */

.about-feedback-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.about-feedback-page,
.about-feedback-page * {
  box-sizing: border-box;
}

/* =========================================
   Page Heading
========================================= */

.about-feedback-page h1 {
  margin: 0 0 32px;
}

/* =========================================
   Page Columns
========================================= */

.about-feedback-columns {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-spacing: 24px 0;
}

.about-feedback-left,
.about-feedback-right {
  display: table-cell;
  vertical-align: top;
}

.about-feedback-left {
  width: 75%;
}

.about-feedback-right {
  width: 25%;
}

/* =========================================
   Cards
========================================= */

.about-feedback-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr) !important;
  gap: var(--library-gap);
  align-items: start;
  width: 100%;
  border-spacing: 0 !important;
}

.about-feedback-left,
.about-feedback-right {
  display: block !important;
  width: auto !important;
  min-width: 0;
  vertical-align: initial !important;
}

.about-feedback-card {
  display: block;
  width: 100%;
  padding: var(--library-card-padding);
  background: var(--color-white);
  border: 1px solid var(--color-gray-400);
  border-top: 6px solid var(--color-red);
  box-shadow: var(--library-shadow);
}

.about-feedback-card-header h2 {
  margin-top: 0;
  white-space: nowrap;
}

.about-contact-text,
.about-contact-item,
.about-contact-address,
.about-contact-label,
.about-contact-value {
  display: block;
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

@media screen and (max-width: 900px) {
  .about-feedback-columns {
    grid-template-columns: 1fr !important;
  }

  .about-feedback-card {
    padding: var(--library-card-padding-mobile);
  }

  .about-feedback-card-header h2 {
    white-space: normal;
  }
/* =========================================
   Form
========================================= */

.about-feedback-form {
  display: block;
  width: 100%;
  margin-top: 10px;
}

/* =========================================
   Contact Content
========================================= */

.about-contact-text,
.about-contact-item,
.about-contact-address {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  line-height: 1.6;
  text-align: left;
  white-space: normal;
}

.about-contact-label {
  display: block;
  width: 100%;
  margin: 0 0 2px;
  font-weight: 700;
  line-height: 1.5;
}

.about-contact-value {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 1.5;
}

.about-contact-list {
  display: block;
  width: 100%;
  margin: 24px 0;
  padding: 0;
}

.about-contact-item {
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid #d9d9d9;
}

.about-contact-address {
  padding-top: 20px;
  margin-top: 24px;
  font-style: normal;
}

/* =========================================
   Responsive
========================================= */

@media screen and (max-width: 900px) {

  .about-feedback-columns,
  .about-feedback-left,
  .about-feedback-right {
    display: block;
    width: 100%;
  }

  .about-feedback-left {
    margin-bottom: 24px;
  }

  .about-feedback-card {
    padding: 24px;
  }
}

/* Library Research Prize Page */

.research-prize-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.research-prize-page,
.research-prize-page * {
  box-sizing: border-box;
}

/* Hero */

.lrp-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  margin-bottom: 40px;
}

.lrp-hero img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.lrp-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}

.lrp-hero-content h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.lrp-hero-content p {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* General Sections */

.lrp-section {
  margin-bottom: 40px;
}

.lrp-card {
  width: 100%;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-top: 6px solid #C8102E;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lrp-card h2 {
  margin-top: 0;
  color: #C8102E;
}

.lrp-centered-heading {
  margin: 0 0 24px;
  text-align: center;
}

/* What Is Section */

.lrp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.lrp-intro-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid #d9d9d9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lrp-deadlines {
  margin: 20px 0;
}

.lrp-deadlines p {
  margin: 0 0 10px;
}

/* Buttons */

.lrp-button {
  display: inline-block;
  padding: 12px 20px;
  background: #C8102E;
  color: #ffffff;
  border: 2px solid #C8102E;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.lrp-button:hover,
.lrp-button:focus {
  background: #ffffff;
  color: #C8102E;
}

/* Selection Criteria */

.lrp-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lrp-criteria-card {
  padding: 28px 22px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-top: 6px solid #C8102E;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.lrp-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 3px solid #C8102E;
  border-radius: 50%;
  color: #C8102E;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Divider */

.lrp-red-divider {
  width: 100%;
  height: 4px;
  margin: 44px 0;
  background: #C8102E;
}

/* Accordion */

.lrp-acc {
  border: 1px solid #d9d9d9;
  background: #ffffff;
  overflow: hidden;
}

.lrp-acc-item {
  position: relative;
  border-top: 1px solid #d9d9d9;
}

.lrp-acc-item:first-child {
  border-top: none;
}

.lrp-acc-toggle {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: auto;
}

.lrp-acc-label {
  display: block;
  position: relative;
  z-index: 2;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
}

.lrp-acc-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #C8102E;
  border-bottom: 2px solid #C8102E;
  transform: translateY(-50%) rotate(45deg);
}

.lrp-acc-toggle:checked ~ .lrp-acc-label .lrp-acc-arrow {
  transform: translateY(-50%) rotate(-135deg);
}

.lrp-acc-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  line-height: 1.6;
  transition: max-height 0.25s ease;
}

.lrp-acc-toggle:checked ~ .lrp-acc-panel {
  max-height: 900px;
  padding: 0 20px 22px;
}

/* CTA */

.lrp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lrp-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 28px;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.lrp-cta-card:hover,
.lrp-cta-card:focus {
  text-decoration: underline;
}

.lrp-winners-card {
  background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("https://www.fairfield.edu/library/about/researchprize/2025.jpg");
  background-size: cover;
  background-position: center;
}

.lrp-apply-card {
  background: #C8102E;
}

/* Responsive */

@media screen and (max-width: 900px) {
  .research-prize-page {
    padding: 30px 16px 50px;
  }

  .lrp-hero-content h1 {
    font-size: 2.3rem;
  }

  .lrp-intro-grid,
  .lrp-criteria-grid,
  .lrp-cta-grid {
    grid-template-columns: 1fr;
  }

  .lrp-card {
    padding: 24px;
  }

  .lrp-intro-image img {
    height: 280px;
  }
}

/* =========================================
   Student Library Advisory Board Page
========================================= */

.slab-page,
.slab-page * {
  box-sizing: border-box;
}

.slab-layout {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-spacing: 24px 0;
}

.slab-main,
.slab-sidebar {
  display: table-cell;
  vertical-align: top;
}

.slab-main {
  width: 65%;
}

.slab-sidebar {
  width: 35%;
}

.slab-card {
  display: block;
  width: 100%;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-top: 6px solid #C8102E;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.slab-card + .slab-card {
  margin-top: 24px;
}

.slab-card h2 {
  margin-top: 0;
  color: #C8102E;
}

.slab-notice {
  font-weight: 700;
}

.slab-button {
  display: inline-block;
  padding: 14px 28px;
  background: #C8102E;
  color: #ffffff;
  border: 2px solid #C8102E;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.slab-button:hover,
.slab-button:focus {
  background: #ffffff;
  color: #C8102E;
}

.slab-testimonials {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slab-testimonials li {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9d9d9;
}

.slab-testimonials li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media screen and (max-width: 900px) {
  .slab-page {
    padding: 30px 16px 50px;
  }

  .slab-layout,
  .slab-main,
  .slab-sidebar {
    display: block;
    width: 100%;
  }

  .slab-main {
    margin-bottom: 24px;
  }

  .slab-card {
    padding: 24px;
  }
}

/* =========================================
   Mission, Values, and Strategic Plan Page
========================================= */

.mission-values-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.mission-values-page,
.mission-values-page * {
  box-sizing: border-box;
}

.mission-hero-image {
  float: right;
  width: 400px;
  max-width: 40%;
  height: auto;
  margin: 0 0 24px 32px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mission-card {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-top: 6px solid #C8102E;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mission-card h2 {
  margin-top: 0;
  color: #C8102E;
}

.values-list {
  margin: 0;
}

.values-list dt {
  margin-top: 20px;
  font-weight: 700;
}

.values-list dt:first-child {
  margin-top: 0;
}

.values-list dd {
  margin: 6px 0 0 0;
}

.strategic-plan-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

@media screen and (max-width: 800px) {
  .mission-values-page {
    padding: 30px 16px 50px;
  }

  .mission-hero-image {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
  }

  .mission-card {
    padding: 24px;
  }
}