@import "css/bootstrap.min.css";
@import "css/font-awesome.min.css";
@import "css/font.min.css";
@import "css/hamburgers.css";
/* Scroll
 ========================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece {
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #ccc;
  width: 8px;
  height: 4px;
}
/* Placeholder / Help text inside input
 ========================================== */
::-webkit-input-placeholder {
  color: #333;
  transition: opacity 2s 2s ease;
  -webkit-transition: opacity 2s 2s ease;
  opacity: 1;
}
:-moz-placeholder {
  color: #333;
  transition: opacity 2s 2s ease;
  -webkit-transition: opacity 2s 2s ease;
  opacity: 1;
}
::-moz-placeholder {
  color: #333;
  transition: opacity 2s 2s ease;
  -webkit-transition: opacity 2s 2s ease;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #333;
  transition: opacity 2s 2s ease;
  -webkit-transition: opacity 2s 2s ease;
  opacity: 1;
}
/* General
 ========================================== */
html,
body {
  margin: 0px;
  overflow: auto;
}
body {
  background: #f1f1f1 url(img/logo-big.png) -150px 35px no-repeat;
  overflow: hidden;
  height: 100%;
  direction: ltr;
  font-family: 'Open Sans', sans-serif;
  font-weight: lighter;
  -webkit-text-size-adjust: none;
  font-size: 16px;
}
a,
a:hover {
  text-decoration: none !important;
}
.btn-default {
  background-color: #282828;
}
.s-search-advances {
  color: #fff;
}
.s-search-advances:hover {
  color: #ff0;
}
.s-search-advances:focus {
  color: #fff;
}
@media only screen and (min-width: 768px) {
  .s-main-page .s-search-advances {
    font-size: 12px;
    position: absolute;
    top: 70px;
    right: 190px;
  }
}
/* Header
 ========================================== */
.s-header {
  width: 100%;
  padding: 0 50px 20px 50px;
  margin: 0;
  top: 25px;
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.05);
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
  position: relative;
  z-index: 1000;
}
@media only screen and (min-width: 768px) {
  .s-header {
    position: absolute;
  }
}
/* Mobile Header Responsive */
@media (max-width: 767px) {
  .s-header {
    padding: 8px 10px;
    top: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .s-header .container {
    padding-left: 0;
    padding-right: 0;
  }
  
  .s-header .row {
    margin: 0;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }
  
  .s-header .col-lg-10 {
    flex: 1 1 auto;
    padding: 0;
    min-width: 0;
    overflow: hidden;
    max-width: none;
  }
  
  .s-header .col-lg-2 {
    flex: 0 0 auto;
    padding: 0;
    min-width: 32px;
    width: 32px;
  }
  
  /* Add padding to main content when header is fixed */
  .hero-section {
    padding-top: 70px;
    min-height: auto;
  }
}
/* Brand
 ========================================== */
.s-brand {
  color: #fff;
  width: 100%;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .s-brand {
    text-align: left;
  }
}
.s-brand:visited,
.s-brand:active,
.s-brand:hover {
  color: #fff;
}
.s-brand h1 {
  text-transform: uppercase;
  font-size: 20pt;
  margin: 0;
  font-weight: lighter;
}
.s-brand-tagline {
  font-size: 10pt;
}
.s-logo {
  display: block;
  padding: 0;
  margin: 10px auto;
}
@media only screen and (min-width: 768px) {
  .s-logo {
    float: left;
    padding: 0 20px 0 0;
    margin: -7px 0 0 0;
  }
}
/* Mobile Brand Responsive */
@media (max-width: 767px) {
  .s-brand {
    display: flex;
    align-items: center;
    gap: 3px;
    text-align: left;
    min-width: 0;
    flex: 1;
    width: 100%;
    max-width: calc(100% - 42px);
    overflow: hidden;
    padding-right: 2px;
  }
  
  .s-brand h1 {
    font-size: 6.5pt;
    line-height: 1;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0;
    min-width: 0;
    max-width: 100%;
  }
  
  .s-brand-tagline {
    display: none;
  }
  
  .s-logo {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    min-width: 24px;
    max-width: 24px;
  }
  
  .s-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .s-brand {
    gap: 2px;
    max-width: calc(100% - 38px);
    padding-right: 2px;
  }
  
  .s-brand h1 {
    font-size: 6pt;
    letter-spacing: 0;
    line-height: 1;
  }
  
  .s-logo {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .s-header {
    padding: 5px 6px;
  }
  
  .s-brand {
    gap: 1px;
    max-width: calc(100% - 34px);
    padding-right: 1px;
  }
  
  .s-brand h1 {
    font-size: 5.5pt;
    letter-spacing: 0;
    line-height: 1;
  }
  
  .s-logo {
    width: 18px;
    height: 18px;
    min-width: 20px;
    max-width: 20px;
  }
  
  .s-header .col-lg-2 {
    min-width: 30px;
    width: 30px;
  }
  
  .s-menu-toggle {
    width: 30px;
    height: 30px;
  }
  
  .hamburger {
    width: 16px;
    height: 11px;
  }
  
  .hamburger-box {
    width: 16px;
    height: 11px;
  }
  
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 16px;
  }
}
/* Menu
 ================================ */
.s-pmenu {
  position: relative;
  margin: 0 auto;
}
@media (max-width: 468px) {
  .s-pmenu {
    position: relative;
    margin: 0;
    left: auto;
    top: auto;
    z-index: 10000;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .s-pmenu {
    top: -50px;
  }
}
.s-menu {
  position: fixed;
  right: 35px;
  top: 35px;
  margin: 0 auto;
}
.s-menu a {
  display: block;
  color: #fff;
  background-color: #fff;
  width: 30px;
  border-radius: 50px;
  padding: 15px 0 0 8px;
  height: 30px;
  margin: 20px auto 0 auto;
}
@media only screen and (min-width: 768px) {
  .s-menu {
    z-index: 2099;
    left: auto;
    margin: 0;
  }
  .s-menu a {
    margin: 0;
    width: 30px;
    height: 30px;
  }
}
/* Mobile Menu Toggle */
@media (max-width: 767px) {
  .s-menu {
    position: relative;
    right: auto;
    top: auto;
    margin: 0;
    z-index: 10001;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .s-pmenu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .s-menu-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: background 0.3s ease;
    flex-shrink: 0;
  }
  
  .s-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .hamburger {
    width: 20px;
    height: 14px;
  }
  
  .hamburger-box {
    width: 20px;
    height: 14px;
  }
  
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 20px;
    background-color: #fff;
  }
  
  .hamburger-inner {
    height: 2px;
  }
  
  .hamburger-inner::before {
    top: -6px;
    height: 2px;
  }
  
  .hamburger-inner::after {
    bottom: -6px;
    height: 2px;
  }
}
@media only screen and (max-width: 480px) {
  .s-header {
    padding: 6px 8px;
  }
  
  .s-menu-toggle {
    width: 32px;
    height: 32px;
  }
  
  .hamburger {
    width: 18px;
    height: 12px;
  }
  
  .hamburger-box {
    width: 18px;
    height: 12px;
  }
  
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 18px;
  }
  
  .s-header .col-lg-2 {
    min-width: 32px;
    width: 32px;
  }
  
  .s-header .col-lg-10 {
    max-width: calc(100% - 40px);
  }
}
.s-menu-content {
  background-color: #eee;
  width: 100%;
  left: 100%;
  position: fixed;
  top: 0;
  height: 100%;
  transition: all 0.5s ease;
  z-index: 2005;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(300px);
  padding: 10px 30px;
}
@media only screen and (min-width: 768px) {
  .s-menu-content {
    width: 300px;
  }
}
.s-menu-content.active {
  transform: translateX(-300px);
}
/* Mobile Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2004;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Menu Content */
@media (max-width: 767px) {
  .s-menu-content {
    width: 85%;
    max-width: 320px;
    transform: translateX(100%);
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2005;
  }
  
  .s-menu-content.active {
    transform: translateX(0);
  }
  
  .s-menu-content h1 {
    font-size: 18pt;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-top: 0;
  }
  
  .s-menu-content li {
    line-height: 24pt;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .s-menu-content li:last-child {
    border-bottom: none;
  }
  
  .s-menu-content a {
    font-size: 14pt;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }
  
  .s-menu-content a:hover {
    padding-left: 10px;
  }
  
  .s-menu-content .s-menu-toggle {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .s-menu-content .s-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .s-menu-info {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #d5d5d5;
  }
  
  .s-menu-info label {
    font-size: 9pt;
    margin-bottom: 10px;
    display: block;
  }
  
  .custom-dropdown {
    width: 100%;
  }
  
  .custom-dropdown__select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
}
.s-menu-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.s-menu-content li {
  line-height: 30pt;
}
.s-menu-content a {
  font-family: 'Montserrat', sans-serif;
  color: #000;
}
.s-menu-content a:hover {
  color: #DE0707;
  text-decoration: line-through;
}
.s-menu-content h1 {
  font-weight: lighter !important;
  font-size: 20pt;
  text-transform: uppercase;
  border-bottom: solid 1px #d5d5d5;
  padding-bottom: 30px;
  padding-top: 0;
}
.s-menu-content .s-menu-toggle {
  position: absolute;
  top: 45px;
  right: 45px;
  width: 30px;
  height: 30px;
}
.s-menu-content .s-menu-toggle span,
.s-menu-content .s-menu-toggle span:before,
.s-menu-content .s-menu-toggle span:after {
  background-color: #333;
}
.s-menu-content .s-menu-toggle:hover span,
.s-menu-content .s-menu-toggle:hover span:before,
.s-menu-content .s-menu-toggle:hover span:after {
  background-color: #000;
}
.s-menu-content .s-menu-toggle span {
  transform: rotate(-45deg);
  top: 0;
}
.s-menu-content .s-menu-toggle span:before {
  opacity: 0;
}
.s-menu-content .s-menu-toggle span:after {
  transform: rotate(-90deg);
  top: 0;
}
.s-menu-info {
  text-transform: uppercase;
  letter-spacing: 4px;
  padding-top: 25px;
  color: #000;
}
.s-menu-info label {
  font-size: 8pt;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bbb;
  padding: 0 0 12px 0;
  margin: 0;
}
/* Custom Select Dropdown
 ================================ */
.custom-dropdown--large {
  font-size: 1.5em;
}
.custom-dropdown--small {
  font-size: 1em;
}
.custom-dropdown__select {
  font-size: inherit;
  /* inherit size from .custom-dropdown */
  padding: 0.5em;
  /* add some space*/
  margin: 0;
  /* remove default margins */
}
.custom-dropdown__select--white {
  background-color: #fff;
  color: #444;
}
.custom-dropdown__select--emerald {
  background-color: #20b390;
  color: #fff;
}
.custom-dropdown__select--red {
  background-color: #d53a22;
  color: #fff;
}
@supports (pointer-events: none) and
       ((-webkit-appearance: none) or
       (-moz-appearance: none) or
       (appearance: none)) {
  .custom-dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
  }
  .custom-dropdown__select {
    padding-right: 5em;
    /* accommodate with the pseudo elements for the dropdown arrow */
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  .custom-dropdown::before,
  .custom-dropdown::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .custom-dropdown::after {
    /*  Custom dropdown arrow */
    content: "\25BC";
    height: 1em;
    font-size: 0.625em;
    line-height: 1;
    right: 1.2em;
    top: 50%;
    margin-top: -0.5em;
  }
  .custom-dropdown::before {
    /*  Custom dropdown arrow cover */
    width: 2.6em;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0 0 0 0;
  }
  .custom-dropdown__select[disabled] {
    color: rgba(0, 0, 0, 0.3);
  }
  .custom-dropdown.custom-dropdown--disabled::after {
    color: rgba(0, 0, 0, 0.1);
  }
  /* White dropdown style */
  .custom-dropdown--white::before {
    background-color: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }
  .custom-dropdown--white::after {
    color: rgba(0, 0, 0, 0.9);
  }
  /* Emerald dropdown style */
  .custom-dropdown--emerald::before {
    background-color: #1aa181;
  }
  .custom-dropdown--emerald::after {
    color: rgba(0, 0, 0, 0.4);
  }
  /* Red dropdown style */
  .custom-dropdown--red::before {
    background-color: #d53a22;
  }
  .custom-dropdown--red::after {
    color: rgba(0, 0, 0, 0.4);
  }
  /* FF only temporary & ugly fixes */
  /* the "appearance: none" applied on select still shows a dropdown arrow on Firefox */
  /* https://bugzilla.mozilla.org/show_bug.cgi?id=649849 */
  @-moz-document url-prefix() {
    .custom-dropdown__select {
      padding-right: 0.9em;
    }
    .custom-dropdown--large .custom-dropdown__select {
      padding-right: 1.3em;
    }
    .custom-dropdown--small .custom-dropdown__select {
      padding-right: 0.5em;
    }
  }
}
/* Background
 ================================ */
.s-background {
  z-index: -1;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.s-background > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-size: cover;
}
.s-background .slider {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
  background-size: cover;
}
.gradients {
  background-position: center center;
  background-repeat: no-repeat;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1099;
  opacity: 0.75;
}
.gradients div {
  height: 100%;
  position: absolute;
  width: 100%;
}
.red {
  background: #054365;
  background: -webkit-gradient(left bottom, right top, color-stop(0%, #054365), color-stop(100%, #ff0000));
  background: -webkit-linear-gradient(45deg, #054365 0%, #ff0000 100%);
  background: -moz-linear-gradient(45deg, #054365 0%, #ff0000 100%);
  background: -o-linear-gradient(45deg, #054365 0%, #ff0000 100%);
  background: -ms-linear-gradient(45deg, #054365 0%, #ff0000 100%);
  background: linear-gradient(45deg, #054365 0%, #ff0000 100%);
}
.pink {
  background: #fc963f;
  background: -webkit-gradient(left bottom, right top, color-stop(0%, #e02d6f), color-stop(100%, #fc963f));
  background: -webkit-linear-gradient(45deg, #e02d6f 0%, #fc963f 100%);
  background: -moz-linear-gradient(45deg, #e02d6f 0%, #fc963f 100%);
  background: -o-linear-gradient(45deg, #e02d6f 0%, #fc963f 100%);
  background: -ms-linear-gradient(45deg, #e02d6f 0%, #fc963f 100%);
  background: linear-gradient(45deg, #e02d6f 0%, #fc963f 100%);
}
.purple {
  background: #edaa9c;
  background: -webkit-gradient(left bottom, right 45deg, color-stop(0%, #8217b7), color-stop(100%, #edaa9c));
  background: -webkit-linear-gradient(45deg, #8217b7 0%, #edaa9c 100%);
  background: -moz-linear-gradient(45deg, #8217b7 0%, #edaa9c 100%);
  background: -o-linear-gradient(45deg, #8217b7 0%, #edaa9c 100%);
  background: -ms-linear-gradient(45deg, #8217b7 0%, #edaa9c 100%);
  background: linear-gradient(45deg, #8217b7 0%, #edaa9c 100%);
}
.default,
.blue {
  background: #05c6d1;
  background: -webkit-gradient(left bottom, right 45deg, color-stop(0%, #194fb8), color-stop(100%, #05c6d1));
  background: -webkit-linear-gradient(45deg, #194fb8 0%, #05c6d1 100%);
  background: -moz-linear-gradient(45deg, #194fb8 0%, #05c6d1 100%);
  background: -o-linear-gradient(45deg, #194fb8 0%, #05c6d1 100%);
  background: -ms-linear-gradient(45deg, #194fb8 0%, #05c6d1 100%);
  background: linear-gradient(45deg, #194fb8 0%, #05c6d1 100%);
}
.green {
  background: #e7dd4b;
  background: -webkit-gradient(left bottom, right 45deg, color-stop(0%, #44cd9e), color-stop(100%, #e7dd4b));
  background: -webkit-linear-gradient(45deg, #44cd9e 0%, #e7dd4b 100%);
  background: -moz-linear-gradient(45deg, #44cd9e 0%, #e7dd4b 100%);
  background: -o-linear-gradient(45deg, #44cd9e 0%, #e7dd4b 100%);
  background: -ms-linear-gradient(45deg, #44cd9e 0%, #e7dd4b 100%);
  background: linear-gradient(45deg, #44cd9e 0%, #e7dd4b 100%);
}
.mint {
  background: #dfcee5;
  background: -webkit-gradient(left bottom, right 45deg, color-stop(0%, #0fa9a8), color-stop(100%, #dfcee5));
  background: -webkit-linear-gradient(45deg, #0fa9a8 0%, #dfcee5 100%);
  background: -moz-linear-gradient(45deg, #0fa9a8 0%, #dfcee5 100%);
  background: -o-linear-gradient(45deg, #0fa9a8 0%, #dfcee5 100%);
  background: -ms-linear-gradient(45deg, #0fa9a8 0%, #dfcee5 100%);
  background: linear-gradient(45deg, #0fa9a8 0%, #dfcee5 100%);
}
.beach {
  background: #e5d8b9;
  background: -webkit-gradient(left bottom, right 45deg, color-stop(0%, #2cbedf), color-stop(100%, #e5d8b9));
  background: -webkit-linear-gradient(45deg, #2cbedf 0%, #e5d8b9 100%);
  background: -moz-linear-gradient(45deg, #2cbedf 0%, #e5d8b9 100%);
  background: -o-linear-gradient(45deg, #2cbedf 0%, #e5d8b9 100%);
  background: -ms-linear-gradient(45deg, #2cbedf 0%, #e5d8b9 100%);
  background: linear-gradient(45deg, #2cbedf 0%, #e5d8b9 100%);
}
.current {
  opacity: 0;
}
.slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-size: cover;
  -webkit-animation: slideImg 16s infinite;
  animation: slideImg 16s infinite;
  opacity: 0;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
@-webkit-keyframes slideImg {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
@keyframes slideImg {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
.slider:nth-child(1) {
  -webkit-animation-delay: 0;
  animation-delay: 0;
}
.slider:nth-child(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}
.slider:nth-child(3) {
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
}
.slider:nth-child(4) {
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
}
.hide-header {
  position: absolute !important;
  top: 530px !important;
  transform: translateY(0%);
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
}
.hide-background {
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.5);
  top: 500px !important;
  transform: translateY(0%);
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  /* older webkit */
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* easeOutBack */
}
#advance-search {
  opacity: 0;
  width: 100%;
  margin: 0 auto;
  z-index: -1;
}
@media only screen and (min-width: 768px) {
  #advance-search {
    top: 0;
    position: fixed;
    width: 50%;
    left: 300px;
  }
}
#advance-search select,
#advance-search input[type='text'] {
  border: none;
  border-radius: 3px;
  box-shadow: none;
  margin-bottom: 2px !important;
}
@media only screen and (min-width: 768px) {
  #advance-search select,
  #advance-search input[type='text'] {
    padding: 10px 15px;
    height: 45px;
    margin-bottom: 5px !important;
  }
}
#advance-search .label {
  line-height: 1;
  letter-spacing: 1px;
  font-size: 9pt;
  color: #999;
  font-weight: bold;
  text-transform: capitalize;
}
@media only screen and (min-width: 768px) {
  #advance-search .label {
    line-height: 2;
  }
}
#advance-search h2 {
  font-size: 10pt;
  color: #39c;
  line-height: 2;
}
@media only screen and (min-width: 768px) {
  #advance-search h2 {
    font-size: 16pt;
  }
}
#advance-search button {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
}
#advance-search .hamburger {
  position: fixed;
  top: 40px;
  right: 40px;
}
/* Footer
 ================================ */
.s-footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  zoom: 1;
  display: block;
}
.s-footer-content {
  background-color: #000;
  width: 100%;
  padding: 20px 50px;
  margin: 0 auto;
  font-size: 8pt;
  color: #ccc;
  text-transform: uppercase;
  z-index: 3001;
  line-height: 20px;
  position: relative;
  text-align: center;
  z-index: 0;
}
@media only screen and (min-width: 768px) {
  .s-footer {
    line-height: normal;
    text-align: left;
  }
}
.s-footer a {
  color: #ccc;
}
.s-footer a:hover {
  color: #fff;
}
.s-footer-menu {
  float: right;
  margin: 0 30px 0 0;
  padding: 0;
  list-style: none;
}
.s-footer-menu li {
  display: inline-block;
  float: none;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .s-footer-menu li {
    padding-right: 20px;
    float: left;
    text-align: left;
  }
}
.s-footer-menu li:hover {
  bottom: 2px;
}
.s-footer-tagline a {
  position: relative;
}
.s-footer-tagline a:hover {
  bottom: 2px;
}
.s-footer-menu li:last-child {
  padding-right: 0px;
}
.rss {
  color: #fc0 !important;
}
/* Feature
 ================================ */
.s-feature-list {
  width: 100%;
  padding: 0;
  margin: 0 auto !important;
  text-align: center;
  position: relative;
  bottom: -35px;
  background: transparent url(img/shelf.png) 0 100px no-repeat;
  z-index: 2002;
}
@media only screen and (min-width: 768px) {
  .s-feature-list {
    width: 100%;
    top: 49px;
  }
}
@media only screen and (min-width: 1024px) {
  .s-feature-list {
    top: 35px;
  }
}
.s-feature-list:after {
  bottom: -30px;
  content: '';
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.2)), color-stop(50%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0.2)), color-stop(50%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 75px;
  display: inline-block;
  z-index: 2001;
}
.s-feature-list ul {
  list-style: none;
  margin: 0 auto;
}
.s-feature-list li {
  display: inline;
  padding-right: 25px;
  overflow: hidden;
  position: relative;
}
.s-feature-list li:last-child {
  padding-right: 0;
}
.s-feature-list img {
  overflow: hidden;
  vertical-align: bottom;
  border-radius: 4px;
  border: none;
  width: 90px;
  height: 125px;
  background: transparent url(img/book.png) top left no-repeat;
  background-size: cover;
  background-color: #FFF;
}
.s-feature-list li:hover {
  -webkit-transition: left 500ms ease-in-out;
  transition: left 500ms ease-in-out;
  -webkit-animation-name: coverShake;
  animation-name: coverShake;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
}
@-webkit-keyframes coverShake {
  0% {
    left: 0px;
  }
  50% {
    left: 10px;
  }
  100% {
    left: 0px;
  }
}
@keyframes coverShake {
  0% {
    left: 0px;
  }
}
@keyframes coverShake {
  50% {
    left: 10px;
  }
}
@keyframes coverShake {
  100% {
    left: 0px;
  }
}
.s-feature {
  top: 150px;
  color: #ccc;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  -o-transition: color 1s ease;
  -ms-transition: color 1s ease;
  transition: color 1s ease;
}
.s-feature:visited,
.s-feature:active,
.s-feature:hover {
  color: #fff;
}
.s-feature-content {
  margin: 0 auto;
  text-align: center;
  z-index: 2002;
}
.s-feature-title {
  background-color: #19A181;
  color: #fff;
  width: 100%;
  font-size: 10px;
  position: absolute;
  text-transform: uppercase;
  text-align: center;
  bottom: 8px;
  left: 0;
  z-index: 3099;
  padding: 5px;
  white-space: pre-line;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .s-footer-tagline {
    text-align: left;
  }
}
.jcarousel-skin-tango .jcarousel-container {
  margin: 0 auto;
}
.jcarousel-skin-tango .jcarousel-direction-rtl {
  direction: rtl;
}
.jcarousel-skin-tango .jcarousel-container-horizontal {
  width: 100%;
  padding: 0 40px;
}
@media only screen and (min-width: 768px) {
  .jcarousel-skin-tango .jcarousel-container-horizontal {
    width: 89%;
    padding: 0px 85px;
  }
}
.jcarousel-skin-tango .jcarousel-clip {
  overflow: hidden;
}
.jcarousel-skin-tango .jcarousel-clip-horizontal {
  width: 100%;
  height: 125px;
  top: 35px;
}
.jcarousel-skin-tango .jcarousel-item {
  border-radius: 4px;
  width: 90px;
  height: 125px;
  box-shadow: 0 0 10px #000;
  position: relative;
}
.jcarousel-skin-tango .jcarousel-item:before {
  content: '';
  background: transparent url(img/book-side.png) top center no-repeat;
  width: 10px;
  height: 100%;
  position: absolute;
  z-index: 2002;
  left: -3px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
  margin-left: 0px;
  margin-right: 18px;
}
@media only screen and (min-width: 768px) {
  .jcarousel-skin-tango .jcarousel-item-horizontal {
    margin-left: 20px;
    margin-right: 20px;
  }
}
.jcarousel-skin-tango .jcarousel-direction-rtl .jcarousel-item-horizontal {
  margin-left: 10px;
  margin-right: 0;
}
.jcarousel-skin-tango .jcarousel-item-placeholder {
  background: #fff;
  color: #000;
}
/**
 *  Horizontal Buttons
 */
.jcarousel-skin-tango .jcarousel-next-horizontal {
  position: absolute;
  top: 110px;
  right: 5px;
  width: 32px;
  height: 32px;
}
.jcarousel-skin-tango .jcarousel-next-horizontal:before {
  content: '\f054';
  font-family: FontAwesome;
  font-size: 24pt;
  color: #333;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal:before {
  content: '\f053';
  font-family: FontAwesome;
  font-size: 24pt;
  color: #333;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.jcarousel-skin-tango .jcarousel-next-horizontal:hover:before {
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal:hover:before {
  color: #fff;
  cursor: pointer;
  margin-right: 10px;
}
.jcarousel-skin-tango .jcarousel-direction-rtl .jcarousel-next-horizontal {
  left: 5px;
  right: auto;
}
.jcarousel-skin-tango .jcarousel-next-horizontal:hover,
.jcarousel-skin-tango .jcarousel-next-horizontal:focus {
  background-position: -32px 0;
}
.jcarousel-skin-tango .jcarousel-next-horizontal:active {
  background-position: -64px 0;
}
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal,
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:hover,
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:focus,
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:active {
  cursor: default;
  background-position: -96px 0;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal {
  position: absolute;
  top: 110px;
  left: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.jcarousel-skin-tango .jcarousel-direction-rtl .jcarousel-prev-horizontal {
  left: auto;
  right: 5px;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal:hover,
.jcarousel-skin-tango .jcarousel-prev-horizontal:focus {
  background-position: -32px 0;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal:active {
  background-position: -64px 0;
}
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal,
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:hover,
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:focus,
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:active {
  cursor: default;
  background-position: -96px 0;
}
/* Main
 ================================ */
.s-main {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  font-size: 12pt;
  font-weight: light;
}
.s-main h1 {
  font-family: Raleway, serif;
  font-weight: bold;
  font-size: 26pt;
}
@media only screen and (min-width: 768px) {
  .s-main-search {
    margin-bottom: 0;
    margin-top: 25%;
  }
}
@media only screen and (min-width: 1025px) {
  .s-main-search {
    margin-top: 15%;
  }
}
.s-search-info {
  padding: 10px 15px;
}
@media only screen and (min-width: 768px) {
  .s-search-info {
    padding: 10px 0 0px 0;
  }
}
.s-search {
  border-radius: 50px;
  border: none;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px;
  font-size: 12pt;
  text-align: center;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;
  -o-transition: background-color 1s ease;
  -ms-transition: background-color 1s ease;
  transition: background-color 1s ease;
}
@media only screen and (min-width: 768px) {
  .s-search {
    font-size: 15pt;
    text-align: left;
    width: 100px;
    border-radius: 50px 0 0 50px;
    padding: 14px 14px 14px 28px;
  }
}
@media only screen and (min-width: 768px) {
  .s-search {
    width: 500px;
  }
}
#loginform input[type="text"],
.s-search:focus,
.s-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.s-search:focus,
.s-search:not(:empty) {
  background-color: rgba(255, 255, 255, 0.5);
}
.s-btn {
  display: list-item;
  border: none;
  border-radius: 50px;
  background-color: #fff;
  padding: 10px;
  color: #666;
  width: 100%;
  margin: 10px auto;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
@media only screen and (min-width: 768px) {
  .s-btn {
    margin-right: 32px;
    width: 125px;
    border-radius: 0 50px 50px 0;
    display: inline-block;
    margin-left: -5px;
    padding: 20px 18px 16px 18px;
  }
}
.s-btn:hover {
  background-color: #000;
  color: #fff;
}
/* Biblio
 ================================ */
.label {
  border-radius: 0;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.label-important {
  background-color: #f00;
}
.detailLink {
  background-color: #f2f2f2;
  color: #000;
  margin-right: -5px;
  padding: 10px 10px;
}
.xmlDetailLink {
  background-color: #282828;
  color: #fff;
  padding: 10px;
}
.s-xml-detail {
  padding: 10px 49px !important;
}
.citationLink {
  background-color: #777;
  color: #fff;
  margin-right: -5px;
  padding: 10px 10px;
}
.biblioRecord {
  position: relative;
  float: left;
  z-index: 0;
  width: 45%;
  padding: 10px 20px;
  min-height: 440px;
  text-align: center;
  margin-right: 15px;
  border: solid 1px #f2f2f2;
  margin-bottom: 15px;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
@media only screen and (max-width: 768px) {
  .biblioRecord {
    float: none;
    width: 100%;
  }
}
.biblioRecord:hover {
  border-color: #ccc;
}
.biblioRecord:last-child {
  margin-right: 0;
}
.biblioRecord .cover-list {
  border-radius: 4px;
  background: transparent url(img/book.png) top left no-repeat;
  background-size: cover;
  background-color: #FFF;
  margin: 0 auto;
  -webkit-box-shadow: 0 2px 7.68px 0.32px rgba(0, 0, 0, 0.1), 0 12px 26px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 7.68px 0.32px rgba(0, 0, 0, 0.1), 0 12px 26px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  width: 120px;
  height: 165px;
  margin: 50px auto 15px auto;
  overflow: hidden;
}
.biblioRecord:hover .cover-list {
  -webkit-transition: bottom 1s ease-in-out;
  transition: bottom 1s ease-in-out;
  -webkit-animation-name: coverUp;
  animation-name: coverUp;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
@-webkit-keyframes coverUp {
  0% {
    bottom: 0px;
  }
  50% {
    bottom: 10px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes coverUp {
  0% {
    bottom: 0px;
  }
}
@keyframes coverUp {
  50% {
    bottom: 10px;
  }
}
@keyframes coverUp {
  100% {
    bottom: 0px;
  }
}
.biblioRecord .cover-list .img-thumbnail {
  padding: 0;
  border-radius: 0;
  height: 166px;
  width: 121px;
  border: none;
  vertical-align: top;
  font-size: 0;
  top: -1px;
  left: -1px;
  bottom: -1px;
  right: -1px;
  position: absolute;
  z-index: 1;
}
.biblioRecord .cover-list:before {
  content: '';
  background: transparent url(img/book-side.png) top center no-repeat;
  width: 10px;
  height: 100%;
  position: absolute;
  z-index: 2002;
  left: -2px;
}
.biblioRecord .cover-list:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  -webkit-box-shadow: inset 4px 0px 10px -4px rgba(0, 0, 0, 0.3), inset 0 1px 0 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 0 rgba(255, 255, 255, 0.2);
  box-shadow: inset 4px 0px 10px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 0 rgba(255, 255, 255, 0.2);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.2)), color-stop(50%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-gradient(linear, top left, bottom left, from(rgba(255, 255, 255, 0.2)), color-stop(50%, rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}
.biblioRecord .detail-list h4 {
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.8em;
  line-height: 1.4em;
}
.biblioRecord .author {
  font-family: Georgia, serif;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  max-height: 1em;
  line-height: 1em;
  margin-bottom: 10px;
}
.biblioRecord .author-name {
  font-size: 10pt;
  padding: 0;
  margin-top: 0;
}
@media only screen and (min-width: 1024px) {
  .biblioRecord .subItem {
    bottom: 10px;
    margin-left: 18px;
    position: relative;
  }
}
.biblioRecord .detailLink,
.biblioRecord .xmlDetailLink,
.biblioRecord .citationLink {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  -webkit-transition: background-color 500ms;
  transition: background-color 500ms;
  color: #fff;
  padding: 10px 10px;
}
.biblioRecord .detailLink {
  background-color: #f2f2f2;
  color: #000;
}
.biblioRecord .xmlDetailLink {
  background-color: #777;
}
.biblioRecord .citationLink {
  background-color: #282828;
}
.biblioRecord .detailLink:hover,
.biblioRecord .xmlDetailLink:hover,
.biblioRecord .citationLink:hover {
  background-color: #852836;
  color: #fff;
}
.customField {
  font-size: 8pt;
  line-height: 14pt;
  text-align: center;
  border: solid 1px #f2f2f2;
  margin-bottom: -1px;
  background-color: #fff;
  padding: 0;
}
/* Biblio Detail
 ================================ */
.s-detail .cover {
  height: 250px;
  max-width: 185px;
  border-radius: 4px;
  background: transparent url(img/book.png) top left no-repeat;
  background-size: cover;
  background-color: #FFF;
  margin: 0 auto;
  -webkit-box-shadow: 0 2px 7.68px 0.32px rgba(0, 0, 0, 0.1), 0 12px 26px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 7.68px 0.32px rgba(0, 0, 0, 0.1), 0 12px 26px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}
.s-detail .cover:before {
  content: '';
  background: transparent url(img/book-side.png) top center no-repeat;
  width: 10px;
  height: 100%;
  position: absolute;
  z-index: 2002;
}
@media only screen and (min-width: 768px) {
  .s-detail .cover {
    float: right;
    overflow: hidden;
    margin: 50px 0 0 50px;
  }
}
.s-detail-type {
  padding: 20px 0 0 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .s-detail-type {
    padding: 0;
    margin: 0;
    width: auto;
    text-align: left;
  }
}
.s-detail .share-buttons {
  float: right;
  padding-top: 0;
}
.s-detail .s-detail-abstract p {
  display: block;
  text-align: justify !important;
}
.s-detail .s-detail-abstract {
  width: 100%;
  font-style: italic;
  font-family: Raleway, serif;
  line-height: 1.6em;
  font-size: 11pt;
}
.s-detail .s-detail-abstract:empty {
  display: none;
}
.s-detail .s-detail-abstract br:not(:first-child) {
  /*display: none;*/
}
.s-detail .cover img {
  background-size: 100%;
  height: 250px;
}
.s-detail .s-detail-title {
  font-family: Arial, serif;
  font-weight: 900 !important;
  font-size: 18pt;
  line-height: 24pt;
  padding-top: 5px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.s-detail .form-horizontal {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}
.s-detail .form-horizontal .control-group {
  margin: 0;
  -webkit-column-break-inside: avoid;
  /* Chrome, Safari */
  page-break-inside: avoid;
  /* Theoretically FF 20+ */
  break-inside: avoid-column;
  /* IE 11 */
  display: table;
}
.control-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 4px;
  width: 100%;
  display: inline-block;
  width: 500px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.s-detail-author {
  display: inline;
  font-family: Raleway, serif;
}
.s-detail-author a:first-child:before {
  content: '';
}
.s-detail-author a:before {
  content: ' | ';
}
.s-detail-author br {
  display: none;
}
.labels {
  width: 48px;
  display: inline-block;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1099;
}
/* Collection Mark
 ================================ */
.biblioRecord .biblioCheck {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: -1;
}
.biblioRecord .biblioCheck + label {
  cursor: pointer;
  background: #282828;
  width: 100%;
  position: relative;
  margin-top: 10px;
  top: 0px;
  right: 0px;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 0;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.biblioRecord .biblioCheck:checked + label:before {
  font-family: FontAwesome;
  content: "\f00c";
  color: #fff;
  padding-right: 10px;
}
.biblioRecord .biblioCheck:checked + label,
.biblioRecord .biblioCheck + label:hover {
  background: #060;
  color: #fff;
}
.biblioMarkFormAction {
  padding: 10px 0;
}
.biblioMarkFormAction:first-child {
  margin-bottom: 10px;
}
.biblioMarkFormAction:last-child {
  margin-bottom: -15px;
}
.biblioMarkFormAction input {
  border: none;
  background: #282828;
  color: #fff;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 5px 26px;
  margin-left: -10px;
}
/* Download
 ================================ */
.attachList {
  position: relative;
  padding: 0;
}
.attachment-pdf,
.attachment-audio-video,
.attachment-audio-audio,
.attachment-url-list,
.attachment-image {
  position: relative;
  list-style: none;
  list-style-image: none !important;
  margin: -1px 0 0 0;
  border: solid 1px #f2f2f2;
  padding: 15px 28px;
  font-size: 14px;
  line-height: 18pt;
  vertical-align: middle;
}
.attachment-pdf:before,
.attachment-audio-video:before,
.attachment-audio-audio:before,
.attachment-url-list:before,
.attachment-image:before {
  position: absolute;
  right: 10px;
  top: 30%;
  font-family: 'FontAwesome';
  display: block;
  color: #20b390;
  font-size: 28px;
}
.attachment-pdf:before {
  content: "\f1c1";
}
.attachment-image:before {
  content: "\f1c5";
}
.attachment-audio-audio:before {
  content: "\f1c7";
}
.attachment-audio-video:before {
  content: "\f1c8";
}
.attachment-url-list:before {
  content: "\f1c9";
}
/* Librarian
 ================================ */
.librarian {
  position: relative;
  float: left;
  width: 45%;
  padding: 10px 20px;
  min-height: 423px;
  text-align: center;
  margin-right: 15px;
  border: solid 1px #f2f2f2;
  margin-bottom: 15px;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
.librarian .span2 div,
.librarian-image {
  width: 125px;
  height: 125px;
  overflow: hidden;
  border-radius: 50%;
  margin: 20px auto;
  border: solid 1px #f2f2f2;
}
.librarian img {
  width: 125px;
}
.librarian .key {
  font-size: 12px;
  margin-bottom: -15px;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #000;
}
.librarian .key + div {
  border-bottom: solid 1px #f2f2f2;
  padding-bottom: 15px;
}
.librarian div:empty:before {
  content: '-';
}
.librarian-social {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Comments
 ================================ */
.comments {
  padding-top: 10px;
  padding-bottom: 14px;
}
.comment-found {
  font-size: 10px;
}
.comment-member {
  text-transform: uppercase;
  font-size: 10pt;
  font-weight: 300px;
}
.comment-content {
  background: #f2f2f2;
  padding: 15px;
}
.comment-form textarea {
  width: 100%;
  padding: 15px;
  border-color: #f2f2f2;
}
.comment-form .button {
  border: none;
  background: #282828;
  color: #fff;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 5px 15px;
  width: 100%;
}
/* Member
 ================================ */
.tagline {
  font-size: 30px;
  border-bottom: solid 1px #f2f2f2;
  padding-top: 53px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.loginInfo {
  padding-bottom: 50px;
}
.loginInfo .login_input input {
  border: none;
  padding: 5px 10px;
  background: #f2f2f2;
  color: #333;
  width: 300px;
}
.memberButton {
  padding: 2px 20px !important;
  margin-top: 20px;
}
.loginInfo .fieldLabel {
  font-size: 10pt;
  padding: 10px 0;
}
/* Member Detail
 ================================ */
.memberBasketList,
.memberDetail {
  border: none;
}
.memberDetail .alterCell {
  background-color: #f2f2f2;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 0px 15px;
  width: auto !important;
  text-align: right;
  border-color: #E1E1E1;
}
.memberDetail .alterCell2 {
  border-color: #eee;
  padding: 0px 15px;
}
.memberLoanList {
  border: none;
}
.memberBasketList .alterCell td,
.memberLoanList .alterCell td {
  background: #ddd;
}
.memberBasketList .alterCell2 td,
.memberLoanList .alterCell2 td {
  background: #f2f2f2;
}
.memberBasketList .alterCell td,
.memberBasketList .alterCell2 td,
.memberLoanList .alterCell td,
.memberLoanList .alterCell2 td {
  border: none;
  padding: 10px;
  font-size: 10pt;
}
.dataListHeader {
  background: #282828 !important;
  color: #fff;
  letter-spacing: 4px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.dataListHeader a {
  color: #fff;
  display: block;
  padding: 5px 10px;
}
.dataListHeader a:hover {
  color: #fff;
  background: #852836;
}
#loginButton {
  padding: 5px 35px !important;
  margin: 10px 0 10px -15px;
}
.memberDetail input {
  width: 100%;
  border: solid 1px #f2f2f2;
  margin: 5px -10px;
}
.memberBasketInfo {
  font-size: 12pt;
}
.memberBasketAction a {
  background-color: #282828;
  color: #fff;
  padding: 10px 15px;
  letter-spacing: 4px;
  font-size: 8px;
  text-transform: uppercase;
  -webkit-transition: all 500ms;
  transition: all 500ms;
}
.memberBasketAction a:hover {
  background: #852836;
}
#memberChangePassword .alterCell2 {
  border-color: #f2f2f2;
}
/* Member Logged
 ================================ */
.alert-member-login {
  background: transparent;
  text-align: left !important;
  border: none !important;
  box-shadow: none;
}
#memberLogout {
  clear: both;
  color: #fff !important;
  background-color: #282828;
}
#memberLogout {
  clear: both;
  color: #fff !important;
  background-color: #852836;
}
/* Page
 ================================ */
.s-main-page {
  background-color: #fff;
  margin-top: 200px;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .s-main-page {
    margin-top: 217px;
    min-height: 100%;
    width: 100%;
  }
}
.s-main-page .s-main-search {
  top: -175px;
  left: 0;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .s-main-page .s-main-search {
    top: -95px;
    text-align: right;
    right: 0;
    position: absolute;
  }
}
.s-main-page .s-main-title {
  color: #fff;
  text-align: center;
  position: absolute;
  left: 0;
  top: 120px;
  padding-bottom: 25px;
  font-size: 20pt;
  width: 100%;
  display: inline-block;
  margin: 0;
}
@media only screen and (min-width: 768px) {
  .s-main-page .s-main-title {
    max-width: 50%;
    top: 20px;
    text-align: left;
    padding-left: 50px;
  }
}
.s-main-page form h1,
.s-main-page form .s-search-info {
  display: none;
}
.s-main-page .s-main-content {
  line-height: 24pt;
}
@media only screen and (max-width: 480px) {
  .s-main-page .s-main-content {
    margin-top: -90px;
  }
}
.s-main-page .s-main-search .s-search {
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .s-main-page .s-main-content {
    line-height: 24pt;
    padding: 50px 50px 100px 35px;
  }
  .s-main-page .s-main-search .s-search {
    width: 300px;
  }
}
/*Cluster*/
.cluster-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.cluster-title {
  font-weight: bold;
  font-size: 12pt;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-bottom: solid 1px #f2f2f2;
  padding-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.cluster-list .cluster-item a {
  padding: 0;
  margin: 0;
  color: #000;
  font-size: 9pt;
  letter-spacing: normal;
  text-transform: none;
  border-bottom: solid 1px #f2f2f2;
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-right: 50px;
  box-sizing: border-box;
}
.cluster-list .cluster-item a:hover {
  color: blue;
  background-color: #f2f2f2;
  padding-left: 10px;
}
.cluster-item-count {
  position: absolute;
  right: 0;
  background-color: #282828;
  color: #fff;
  min-width: 30px;
  text-align: center;
  padding: 2px 5px !important;
  line-height: normal;
  margin-top: 5px;
  flex-shrink: 0;
}
/* Mobile Cluster Responsive */
@media (max-width: 768px) {
  .cluster-title {
    font-size: 14px;
    letter-spacing: 2px;
    padding-bottom: 15px;
  }
  
  .cluster-list .cluster-item a {
    font-size: 13px;
    padding: 10px 45px 10px 0;
    line-height: 1.5;
  }
  
  .cluster-item-count {
    min-width: 28px;
    font-size: 11px;
    padding: 4px 6px !important;
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .cluster-title {
    font-size: 12px;
    letter-spacing: 1px;
    padding-bottom: 12px;
  }
  
  .cluster-list .cluster-item a {
    font-size: 12px;
    padding: 8px 40px 8px 0;
  }
  
  .cluster-item-count {
    min-width: 25px;
    font-size: 10px;
    padding: 3px 5px !important;
  }
}
/* Table
 ================================ */
.s-table {
  border-width: 0;
  border-collapse: collapse;
  margin: 1.5em 0;
  padding: 5px 10px;
  line-height: 2;
  max-width: 100%;
  width: 100%;
  border-spacing: 0;
}
.s-table tr {
  border-bottom: 1px dotted #f2f2f2;
}
.s-table td,
.s-table th {
  vertical-align: top;
  padding-top: 8px;
  border-width: 0;
  padding-bottom: 0;
}
.s-table td {
  border-collapse: collapse;
  margin: 1.5em 0;
  padding: 5px 10px;
}
.s-table th {
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 2px;
  text-align: right;
  text-transform: uppercase;
  vertical-align: middle;
  background-color: #f2f2f2;
  color: #000;
  padding: 0px 10px;
  width: 150px;
}
.s-subject a {
  -webkit-transition: background-color 500ms ease;
  transition: background-color 500ms ease;
}
/* Paging
 ================================ */
.biblioPaging {
  width: 100%;
  padding: 20px 0;
  margin-left: 2px;
}
@media screen and (min-width: 768px) {
  .biblioPaging {
    float: left;
  }
}
.biblioPaging b,
.biblioPaging a {
  display: inline;
  margin: 0 -7px;
  padding: 10px 11px;
  font-size: 7pt;
  letter-spacing: 4px;
  text-transform: uppercase;
  background-color: #fff;
  border: solid 1px #f2f2f2;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webikit-transition: all 500ms;
  transition: all 500ms;
}
.biblioPaging a:hover,
.biblioPaging b {
  background: #282828;
  color: #fff;
}
/* Login
 ================================ */
#loginForm {
  padding: 75px 20px 50px 20px;
  position: relative;
  margin: 0 auto 26px auto;
  background-color: #fff;
  min-height: 100%;
}
@media only screen and (min-width: 768px) {
  #loginForm {
    border-radius: 4px;
    width: 300px;
  }
}
.s-login-content {
  position: relative;
}
#loginForm .heading1 {
  letter-spacing: 4px;
  font-size: 8pt;
  text-transform: uppercase;
  color: #000;
}
#loginForm input[type="password"],
#loginForm #userName {
  padding: 8px 20px 8px;
  font-size: 15pt;
  width: 100%;
  color: #000 !important;
  margin: 10px auto;
  text-align: center;
  border: solid 1px #f2f2f2;
}
#loginForm input[type=text].login_input,
#loginForm input[type=password].login_input {
  color: #333;
  border-radius: 50px;
}
#loginForm input[type=text].login_input {
  background: transparent url(img/username.png) 7px 6px no-repeat;
  background-size: 32px;
}
#loginForm input[type=password].login_input {
  background: transparent url(img/password.png) 7px 6px no-repeat;
  background-size: 32px;
}
#loginForm input[type=text]:focus,
#loginForm input[type=password]:focus {
  outline: 0;
}
#loginForm input[type=text]:focus:-webkit-autofill,
#loginForm input[type=password]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 500px #fff inset;
}
.login_input {
  position: relative;
}
.loginButton {
  border-radius: 50px;
  color: #ccc;
  background-color: #282828;
  border: none;
  width: 100%;
  -webkit-transition: background-color 500ms ease;
  transition: background-color 500ms ease;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 10px;
}
.homeButton:hover,
.loginButton:hover {
  background-color: #ff0;
  color: #000;
}
.loginButton {
  margin-top: 10px;
  padding: 15px 0;
}
.homeButton {
  position: absolute;
  padding: 15px 0;
  background: #ccc;
  border: none;
  color: #000;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 10px;
  width: 100%;
  margin: 0 auto;
  bottom: -28px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  left: 0;
}
@media only screen and (min-width: 768px) {
  .s-login {
    margin-top: 75px;
  }
}
#loginButton,
.memberButton,
.s-main-content .col-lg-4 a,
.s-detail .btn,
.xmlResultLink {
  border-radius: 0;
  border: none;
  background-color: #282828;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #fff;
  padding: 10px 29px;
  -webkit-transition: background-color 500ms ease;
  transition: background-color 500ms ease;
}
#loginButton:hover,
.memberButton a:hover,
.s-subject a:hover,
.xmlResultLink:hover {
  background-color: #f00;
  color: #000;
}
/*Recaptch*/
#loginForm #recaptcha_area {
  padding: 20px 0;
  position: relative;
}
#loginForm #recaptcha_area table {
  border: none !important;
}
#loginForm .recaptchatable .recaptcha_image_cell {
  background-color: white;
  height: 55px !important;
  padding: 0px 7px !important;
  width: 220px;
}
#loginForm .recaptchatable .recaptcha_image_cell center img {
  height: 55px !important;
  width: 213px;
}
#loginForm .recaptchatable #recaptcha_image {
  border: medium none !important;
  float: left;
  margin: auto;
  width: 215px !important;
}
#loginForm .recaptchatable #recaptcha_response_field {
  left: -8px;
  text-align: center;
  position: absolute;
  top: -20px;
  width: 255px !important;
  padding: 10px;
  border-color: #f2f2f2 !important;
  border-radius: 50px;
}
#loginForm #recaptcha_logo,
#recaptcha_tagline {
  display: none;
}
#loginForm #recaptcha_area td {
  border: 0 none !important;
  border-collapse: collapse !important;
  float: left;
  margin: 0 !important;
  vertical-align: middle !important;
}
#loginForm .recaptchatable .recaptcha_only_if_privacy a {
  position: absolute;
  top: 0px;
  float: none !important;
  text-align: center !important;
  width: 255px !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 8pt !important;
  color: #000;
}
.remember_forgot {
  display: flex;
  justify-content: space-between;
}
.remember label {
  color: black;
}
.s-visitor {
  padding-bottom: 30px;
}
@media only screen and (min-width: 768px) {
  .s-visitor {
    width: 640px;
    margin-top: 100px;
    padding-bottom: 0;
  }
}
.s-visitor header span {
  font-size: 8;
  font-weight: light;
}
.s-visitor input {
  border-radius: 50px;
  border: none;
  text-align: center;
}
.s-visitor input[type=submit] {
  padding: 0;
  background-color: #282828;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}
.s-visitor label {
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.s-visitor header h1 {
  text-transform: uppercase;
}
.s-visitor-photo {
  border-radius: 100px;
  width: 100px;
  height: 100px;
  margin: 50px auto;
  overflow: hidden;
}
.s-visitor-photo img {
  vertical-align: bottom;
}
#visitorCounterPhoto {
  margin: 0;
}
/* Social Icon
 ================================ */
.share-buttons {
  clear: both;
  list-style: none;
  margin: 3px auto;
  text-align: center;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  left: -20px;
  padding-bottom: 35px;
}
.share-buttons li:not(:first-child) {
  display: inline;
  padding-right: 5px;
}
.share-buttons li:first-child {
  padding-top: 10px;
  margin-bottom: 5px;
  line-height: 5px;
}
.share-buttons li:last-child {
  padding-right: 0;
}
.share-buttons li:not(:first-child) img {
  width: 18px;
  height: 18px;
  border-radius: 10px;
}
/* Colorbox for PDF Preview
 ================================ */
#cboxOverlay {
  background: #282828;
  opacity: 0.7;
}
#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight,
#cboxMiddleLeft,
#cboxMiddleRight {
  display: none;
}
#cboxTitle {
  bottom: 0px;
  position: absolute;
  padding: 20px 10px;
  background-color: #282828;
  color: #fff;
  overflow: hidden;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: lighter;
  font-size: 10px;
  white-space: nowrap;
}
#cboxClose {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: none;
  width: 25px;
  height: 25px;
  text-indent: 0px;
}
#cboxClose:before {
  font-family: 'FontAwesome';
  content: '\f00d';
  font-size: 20px;
  padding-right: 20px;
  padding-left: 8px;
  color: #fff;
}
#cboxClose:hover {
  background-position: 0;
}
/* Higlight search result
 ================================ */
.highlight {
  background: #930;
  color: #fff;
}
/* Alert
 ================================ */
.s-alert {
  background-color: #f2f2f2;
  color: red;
  padding: 10px;
  text-align: center;
}
/* Error
 ================================ */
.errorBox {
  border: none;
  background-color: #900;
  padding: 10px;
  color: #fff;
  position: relative;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  display: inline-block;
}
/* For support browser
 ================================ */
.chromeframe {
  position: fixed !important;
  z-index: 9099;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #fff;
}
#cboxContent {
  min-height: 375px;
}
/* Chat
 ================================ */
.s-pchat {
  position: relative;
  left: -25px;
  z-index: 9;
}
@media only screen and (min-width: 768px) {
  .s-pchat {
    position: absolute;
    left: auto;
    right: 55px;
    margin: 0;
    top: -10px;
  }
}
.s-pchat a {
  display: block;
  color: #000;
  background-color: #fff;
  width: 30px;
  border-radius: 50px;
  padding: 3px 0 0 8px;
  height: 30px;
  margin: 20px auto 0 auto;
}
.s-pchat-toggle {
  width: 60px;
  height: 60px;
  cursor: pointer;
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 25px 0 0 25px;
  color: #000;
  display: block;
  background: #fafafa;
  font-size: 8pt;
}
@media only screen and (min-width: 768px) {
  #show-pchat {
    right: 0px;
  }
}
.s-chat {
  z-index: 9;
  position: fixed;
  bottom: 0;
  right: -275px;
  -webkit-transition: all 150ms ease 0s;
  transition: all 150ms ease 0s;
  text-align: left;
  width: 275px;
  background: #fff;
  padding: 0;
  box-shadow: 0 0 2px rgba(100, 100, 100, 0.5);
}
@media only screen and (min-width: 768px) {
  .s-chat {
    bottom: 60px;
  }
}
.s-chat-header {
  text-align: center;
  display: block;
  background-color: #282828;
  width: 275px;
  padding: 21px 0;
  position: relative;
  font-size: 7pt;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.s-chat-content {
  padding: 18px 20px;
}
.s-chat-content label {
  padding: 10px 0;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.s-chat-content #log {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 200px;
  padding: 10px;
  width: 100%;
  border: solid 1px #f8f8f8;
  font-size: 12px;
}
.s-chat-content #log p {
  line-height: 1;
  padding-bottom: 5px;
  margin: 0;
}
/* Chat theme */
.c1,
.c6,
.c11,
.c16 {
  color: #3E966E !important;
}
.c2,
.c7,
.c12,
.c17 {
  color: #F36C32 !important;
}
.c3,
.c8,
.c13,
.c18 {
  color: #2A7BCC !important;
}
.c4,
.c9,
.c14,
.c19 {
  color: #7C378A !important;
}
.c5,
.c10,
.c15,
.c20 {
  color: #333333 !important;
}
.s-chat-content textarea,
#message {
  width: 100%;
  border: solid 1px #f8f8f8;
  font-size: 12px;
  padding: 10px;
}
.s-chat-content #log,
.s-chat-content textarea {
  min-height: 200px;
  line-height: 24px;
}
.s-chat footer {
  border-top: solid 1px #f8f8f8;
  font-size: 10px;
  padding: 8pt !important;
}
.s-maximize {
  right: 0;
  bottom: 0;
  -webkit-transition: all 150ms ease 0s;
  transition: all 150ms ease 0s;
}
@media only screen and (min-width: 768px) {
  .s-maximize {
    bottom: 60px;
  }
}
.s-chat .btn {
  border-radius: 0;
  margin-top: 5px;
}
.s-chat hr {
  margin: 16px 0;
}

/* Book Flip Slider Styles - Modern & Elegant
============================================= */
.news-section-book {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  margin-top: 60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.news-section-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.news-header-content {
  flex: 1;
  max-width: 600px;
}

.news-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  animation: fadeInUp 0.6s ease-out;
}

.news-section-badge i {
  font-size: 14px;
}

.news-section-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 15px 0;
  color: #1a1a2e;
  line-height: 1.2;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.news-section-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #2d3748;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.news-section-description {
  font-size: 15px;
  margin: 0;
  color: #718096;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.news-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
  border: 2px solid transparent;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.news-view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.news-view-all-btn i {
  transition: transform 0.3s ease;
}

.news-view-all-btn:hover i {
  transform: translateX(5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-flip-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 2000px;
  z-index: 1;
}

.book-flip-wrapper {
  display: flex;
  gap: 30px;
  padding: 20px 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.book-page {
  flex: 0 0 calc(50% - 15px);
  min-width: calc(50% - 15px);
  height: 480px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.book-page:hover {
  transform: translateY(-10px);
}

.book-page-content {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.book-page:hover .book-page-content {
  transform: rotateY(-180deg);
}

.book-page-front {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

.book-page:hover .book-page-front {
  box-shadow: 
    0 30px 80px rgba(102, 126, 234, 0.25),
    0 15px 40px rgba(118, 75, 162, 0.15);
}

.book-page-front,
.book-page-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.book-page-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: 
    0 30px 80px rgba(102, 126, 234, 0.35),
    0 15px 40px rgba(118, 75, 162, 0.25);
  position: relative;
  overflow: hidden;
}

.book-page-back::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.book-page-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.book-page-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.book-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.book-page:hover .book-page-image img {
  transform: scale(1.15);
}

.book-page-image-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 64px;
  opacity: 0.8;
}

.book-page-info {
  padding: 28px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.book-page-date {
  color: #667eea;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-page-date i {
  font-size: 12px;
}

.book-page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #1a1a2e;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.book-page:hover .book-page-title {
  color: #667eea;
}

.book-page-summary {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.book-page-back-content {
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.book-page-back-content .book-page-title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  -webkit-line-clamp: 3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.book-page-summary-full {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.book-page-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.book-page-readmore:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.book-page-readmore i {
  transition: transform 0.3s ease;
}

.book-page-readmore:hover i {
  transform: translateX(5px);
}

.book-flip-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.book-flip-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #667eea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.book-flip-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.book-flip-btn:hover::before {
  width: 100%;
  height: 100%;
}

.book-flip-btn:hover {
  color: #fff;
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.book-flip-btn:active {
  transform: scale(1.05) translateY(0);
}

.book-flip-btn i {
  position: relative;
  z-index: 1;
}

.book-flip-indicators {
  display: flex;
  gap: 12px;
  align-items: center;
}

.book-flip-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.book-flip-indicators .indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #667eea;
  transition: width 0.4s ease, height 0.4s ease;
}

.book-flip-indicators .indicator.active {
  background: #667eea;
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.book-flip-indicators .indicator:hover {
  transform: scale(1.2);
  background: rgba(102, 126, 234, 0.6);
}

@media (max-width: 768px) {
  .news-section-book {
    padding: 60px 0;
  }
  
  .news-section-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .news-section-title {
    font-size: 32px;
  }
  
  .news-section-subtitle {
    font-size: 16px;
  }
  
  .news-view-all-btn {
    width: 100%;
    justify-content: center;
  }
  
  .book-page {
    flex: 0 0 100%;
    min-width: 100%;
    height: 420px;
  }
  
  .book-flip-wrapper {
    gap: 20px;
  }
  
  .book-page-image {
    height: 180px;
  }
  
  .book-page-info {
    padding: 20px;
  }
  
  .book-page-title {
    font-size: 20px;
  }
  
  .book-flip-controls {
    margin-top: 30px;
    gap: 16px;
  }
  
  .book-flip-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* Modern Hero Section
============================================= */
body:has(.hero-section) {
  overflow: auto !important;
  height: auto !important;
}

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%),
    url('img/logo-big.png') -150px 35px/cover no-repeat,
    linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  overflow: hidden;
}

.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 40px 20px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 24px 0;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 40px 0;
  color: rgba(255, 255, 255, 0.95);
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-feature-item i {
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Smart Search Box
============================================= */
.smart-search-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.smart-search-box {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 520px;
  position: relative;
  overflow: hidden;
}

.smart-search-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.smart-search-header {
  margin-bottom: 32px;
  text-align: center;
}

.smart-search-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.smart-search-title i {
  color: #667eea;
  font-size: 28px;
}

.smart-search-description {
  font-size: 14px;
  color: #718096;
  margin: 0;
  line-height: 1.6;
}

.smart-search-form {
  margin-bottom: 20px;
}

.auto-suggest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 20px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.auto-suggest-badge i {
  font-size: 14px;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.search-icon-left,
.search-icon-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}

.search-icon-left {
  left: 20px;
}

.search-icon-right {
  right: 20px;
  cursor: pointer;
  pointer-events: all;
  transition: color 0.3s ease;
}

.search-icon-right:hover {
  color: #667eea;
}

.smart-search-input {
  width: 100%;
  padding: 18px 55px 18px 55px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  font-size: 15px;
  color: #2d3748;
  background: #f7fafc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.smart-search-input:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.smart-search-input::placeholder {
  color: #a0aec0;
}

.smart-search-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.smart-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.smart-search-btn:active {
  transform: translateY(0);
}

.smart-search-btn i {
  transition: transform 0.3s ease;
}

.smart-search-btn:hover i {
  transform: translateX(5px);
}

.smart-search-advanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 12px;
}

.smart-search-advanced:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #764ba2;
  transform: translateX(3px);
}

.smart-search-advanced i {
  transition: transform 0.3s ease;
}

.smart-search-advanced:hover i {
  transform: rotate(90deg);
}

/* Hero Button Default Styles - Smaller Size */
.hero-content a,
.hero-content .btn,
.hero-content button,
.hero-content a.btn {
  display: inline-block;
  padding: 10px 16px !important;
  font-size: 12px !important;
  margin: 6px 4px !important;
  border-radius: 8px !important;
  text-align: center;
  white-space: nowrap;
  max-width: 160px !important;
  box-sizing: border-box;
  line-height: 1.3 !important;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .smart-search-container {
    min-height: auto;
    padding: 20px 0;
    margin-top: 40px;
  }
  
  .smart-search-box {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  .hero-section .row {
    margin: 0;
    flex-direction: column;
  }
  
  .hero-section .col-lg-6,
  .hero-section .col-md-12 {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-section {
    min-height: auto;
    padding: 80px 0 30px;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 20px 0;
    text-align: center;
    width: 100%;
  }
  
  .hero-badge {
    font-size: 10px;
    padding: 8px 16px;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .hero-badge i {
    font-size: 12px;
  }
  
  .hero-title {
    font-size: 28px;
    margin: 0 0 16px 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
  }
  
  .hero-features {
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 10px;
  }
  
  .hero-feature-item {
    font-size: 13px;
    gap: 10px;
    justify-content: center;
  }
  
  .hero-feature-item i {
    font-size: 16px;
  }
  
  /* Hero Buttons Responsive */
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    width: 75% !important;
    max-width: 150px !important;
    padding: 9px 12px !important;
    font-size: 11px !important;
    margin: 5px auto 6px !important;
    display: inline-block !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
  }
  
  /* Button container for better spacing */
  .hero-content .btn + .btn,
  .hero-content a.btn + a.btn,
  .hero-content button + button {
    margin-top: 6px;
  }
  
  .smart-search-container {
    min-height: auto;
    padding: 0 15px 20px;
    margin-top: 0;
    width: 100%;
  }
  
  .smart-search-box {
    padding: 24px 18px;
    border-radius: 16px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .smart-search-header {
    margin-bottom: 20px;
  }
  
  .smart-search-title {
    font-size: 18px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    word-wrap: break-word;
  }
  
  .smart-search-title i {
    font-size: 20px;
  }
  
  .smart-search-description {
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
    padding: 0 5px;
  }
  
  .auto-suggest-badge {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 16px;
    display: inline-flex;
  }
  
  .search-input-wrapper {
    margin-bottom: 16px;
    width: 100%;
  }
  
  .smart-search-input {
    padding: 14px 45px 14px 45px;
    font-size: 14px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .search-icon-left,
  .search-icon-right {
    font-size: 16px;
  }
  
  .search-icon-left {
    left: 14px;
  }
  
  .search-icon-right {
    right: 14px;
  }
  
  .smart-search-btn {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .smart-search-advanced {
    font-size: 12px;
    padding: 10px;
    display: block;
    text-align: center;
    margin-top: 12px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .hero-section {
    padding: 70px 0 20px;
  }
  
  .hero-section .col-lg-6,
  .hero-section .col-md-12 {
    padding: 0 12px;
    margin-bottom: 24px;
  }
  
  .hero-content {
    padding: 15px 0;
  }
  
  .hero-badge {
    font-size: 9px;
    padding: 6px 12px;
    margin-bottom: 16px;
    letter-spacing: 1px;
  }
  
  .hero-title {
    font-size: 22px;
    margin: 0 0 14px 0;
    line-height: 1.25;
    padding: 0 5px;
  }
  
  .hero-subtitle {
    font-size: 12px;
    margin: 0 0 20px 0;
    line-height: 1.5;
    padding: 0 5px;
  }
  
  .hero-features {
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .hero-feature-item {
    font-size: 12px;
    gap: 8px;
  }
  
  .hero-feature-item i {
    font-size: 14px;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    max-width: 140px !important;
    padding: 8px 11px !important;
    font-size: 10px !important;
    margin: 5px auto !important;
    border-radius: 7px !important;
    line-height: 1.2 !important;
  }

  .hero-content .btn + .btn,
  .hero-content a.btn + a.btn,
  .hero-content button + button {
    margin-top: 6px;
  }

  .smart-search-container {
    padding: 0 12px 15px;
    margin-top: 0;
  }

  .smart-search-box {
    padding: 20px 14px;
    border-radius: 14px;
  }
  
  .smart-search-header {
    margin-bottom: 18px;
  }
  
  .smart-search-title {
    font-size: 16px;
    gap: 6px;
  }
  
  .smart-search-title i {
    font-size: 18px;
  }
  
  .smart-search-description {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .auto-suggest-badge {
    font-size: 9px;
    padding: 5px 10px;
    margin-bottom: 14px;
  }
  
  .smart-search-input {
    padding: 12px 38px 12px 38px;
    font-size: 13px;
    border-radius: 10px;
  }
  
  .search-icon-left {
    left: 12px;
    font-size: 14px;
  }
  
  .search-icon-right {
    right: 12px;
    font-size: 14px;
  }
  
  .smart-search-btn {
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 10px;
  }
  
  .smart-search-advanced {
    font-size: 11px;
    padding: 8px;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .hero-section {
    padding: 60px 0 15px;
  }
  
  .hero-section .col-lg-6,
  .hero-section .col-md-12 {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  
  .hero-content {
    padding: 12px 0;
  }
  
  .hero-badge {
    font-size: 8px;
    padding: 5px 10px;
    margin-bottom: 14px;
  }
  
  .hero-title {
    font-size: 20px;
    margin: 0 0 12px 0;
    padding: 0;
  }
  
  .hero-subtitle {
    font-size: 11px;
    margin: 0 0 18px 0;
    padding: 0;
  }
  
  .hero-features {
    gap: 8px;
    margin-bottom: 18px;
  }
  
  .hero-feature-item {
    font-size: 11px;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    padding: 7px 10px !important;
    font-size: 10px !important;
    margin: 4px auto !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
    width: 65% !important;
    max-width: 130px !important;
    display: inline-block !important;
    box-sizing: border-box !important;
  }

  .hero-content .btn + .btn,
  .hero-content a.btn + a.btn,
  .hero-content button + button {
    margin-top: 5px;
  }

  .smart-search-container {
    padding: 0 10px 12px;
  }

  .smart-search-box {
    padding: 18px 12px;
    border-radius: 12px;
  }
  
  .smart-search-title {
    font-size: 15px;
    gap: 5px;
  }
  
  .smart-search-title i {
    font-size: 16px;
  }
  
  .smart-search-description {
    font-size: 10px;
  }
  
  .smart-search-input {
    padding: 10px 32px 10px 32px;
    font-size: 12px;
  }
  
  .smart-search-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* Modern News Card Styles
============================================= */
.news-page-header {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0 60px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.news-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.news-header-modern {
  text-align: center;
  position: relative;
  z-index: 1;
}

.news-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.news-header-badge i {
  font-size: 16px;
}

.news-header-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #1a1a2e;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-header-subtitle {
  font-size: 18px;
  color: #718096;
  margin: 0;
  line-height: 1.6;
}

.news-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.news-empty-state i {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 24px;
}

.news-empty-state h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 12px 0;
}

.news-empty-state p {
  font-size: 16px;
  color: #718096;
  margin: 0;
}

.news-list-section {
  padding: 0 0 80px;
  background: #f7fafc;
}

.news-list-section .container {
  max-width: 1200px;
}

.modern-news-card {
  margin-bottom: 30px;
  height: 100%;
}

.news-card-wrapper {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(102, 126, 234, 0.2),
    0 8px 25px rgba(118, 75, 162, 0.15);
}

.news-card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.news-card-wrapper:hover .news-card-hover-effect {
  opacity: 1;
}

.news-card-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card-wrapper:hover .news-card-image {
  transform: scale(1.1);
}

.news-card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.news-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-placeholder-icon {
  position: absolute;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.news-card-category {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-card-category i {
  font-size: 14px;
}

.news-card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: #fff;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card-date i {
  font-size: 14px;
}

.news-card-title {
  margin: 0 0 16px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a2e;
  transition: color 0.3s ease;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
}

.news-card-wrapper:hover .news-card-title {
  color: #667eea;
}

.news-card-summary {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #667eea;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.news-card-readmore:hover {
  color: #764ba2;
  gap: 12px;
}

.news-card-readmore i {
  transition: transform 0.3s ease;
}

.news-card-readmore:hover i {
  transform: translateX(5px);
}

.news-pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.news-pagination-wrapper .paging {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-pagination-wrapper .paging a,
.news-pagination-wrapper .paging span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #4a5568;
}

.news-pagination-wrapper .paging a:hover {
  border-color: #667eea;
  background: #667eea;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.news-pagination-wrapper .paging span.current {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive News Cards */
@media (max-width: 768px) {
  .news-page-header {
    padding: 60px 0 40px;
    margin-bottom: 40px;
  }
  
  .news-header-title {
    font-size: 36px;
  }
  
  .news-header-subtitle {
    font-size: 16px;
  }
  
  .news-list-section {
    padding: 0 0 60px;
  }
  
  .modern-news-card {
    margin-bottom: 24px;
  }
  
  .news-card-image-container {
    height: 200px;
  }
  
  .news-card-content {
    padding: 24px;
  }
  
  .news-card-title {
    font-size: 20px;
  }
}

/* Visit Us Section
============================================= */
.visit-us-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 80px 0;
  margin-top: 60px;
}

.visit-us-content {
  padding: 20px;
}

.visit-us-eyebrow {
  color: #667eea;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 16px 0;
}

.visit-us-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.visit-us-description {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.visit-us-description p {
  margin: 8px 0;
}

.visit-us-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook {
  background: #3b5998;
}

.social-icon.twitter {
  background: #1da1f2;
}

.social-icon.youtube {
  background: #ff0000;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.visit-us-map {
  padding: 20px;
  height: 100%;
}

.visit-us-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Responsive Visit Us Section */
@media (max-width: 768px) {
  .visit-us-section {
    padding: 60px 0;
  }
  
  .visit-us-title {
    font-size: 28px;
  }
  
  .visit-us-map {
    margin-top: 32px;
    padding: 0 20px;
  }
  
  .visit-us-map iframe {
    height: 300px;
  }
  
  .visit-us-social {
    justify-content: center;
  }
}

/* ==========================================
   RESPONSIVE FIXES FOR MOBILE DEVICES
   ========================================== */

/* Availability/Copy Status Container - Mobile Responsive */
.availability-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.availability-row {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.availability-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.availability-location {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #f7fafc;
}

.availability-location-icon {
  font-weight: 700;
  color: #667eea;
  margin-right: 12px;
  font-size: 18px;
  min-width: 24px;
}

.availability-location-info {
  flex: 1;
  min-width: 0;
}

.availability-location-name {
  display: block;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
  word-wrap: break-word;
  word-break: break-word;
}

.availability-call-number {
  display: block;
  font-size: 13px;
  color: #718096;
  word-wrap: break-word;
  word-break: break-word;
}

.availability-item-code {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  gap: 8px;
  flex-wrap: wrap;
}

.availability-code-label {
  font-size: 12px;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.availability-code-value {
  font-weight: 600;
  color: #2d3748;
  word-break: break-all;
}

.availability-status {
  padding: 12px 16px;
  background: #fff;
}

.availability-item {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  line-height: 1.5;
  max-width: 100%;
}

.availability-item.item-available {
  background: #c6f6d5;
  color: #22543d;
}

.availability-item.item-onloan {
  background: #fed7d7;
  color: #742a2a;
}

.availability-item.item-notforloan {
  background: #feebc8;
  color: #7c2d12;
}

/* Detail Page Responsive Styles */
.s-detail {
  padding: 20px;
  max-width: 100%;
  overflow-x: hidden;
}

.s-detail .cover {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 30px;
}

.s-detail-title {
  font-size: 24px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.s-detail-author {
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.s-detail-abstract {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Detail Tables Responsive */
.s-detail .row {
  margin: 0;
}

.s-detail .col-lg-6 {
  padding: 0 15px;
  margin-bottom: 20px;
}

.s-table {
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.s-table th {
  width: auto;
  min-width: 120px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.s-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 0;
}

.s-table td > div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Mobile Responsive for Detail Page */
@media (max-width: 768px) {
  .s-detail {
    padding: 15px;
  }

  .s-detail .cover {
    max-width: 150px;
    margin: 0 auto 20px;
  }

  .s-detail-title {
    font-size: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .s-detail-author {
    font-size: 14px;
  }

  .s-detail .row {
    flex-direction: column;
  }

  .s-detail .col-lg-6 {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
  }

  .s-table {
    font-size: 14px;
  }

  .s-table th {
    font-size: 11px;
    padding: 8px 10px;
    width: 35%;
    min-width: 100px;
  }

  .s-table td {
    padding: 8px 10px;
    font-size: 13px;
  }

  .s-subject a {
    display: inline-block;
    margin: 4px 4px 4px 0;
    padding: 6px 12px;
    font-size: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Availability Mobile */
  .availability-row {
    margin-bottom: 12px;
  }

  .availability-location,
  .availability-item-code,
  .availability-status {
    padding: 12px;
  }

  .availability-item {
    font-size: 12px;
    padding: 6px 12px;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .s-detail {
    padding: 10px;
  }

  .s-detail-title {
    font-size: 18px;
  }

  .s-table th {
    font-size: 10px;
    padding: 6px 8px;
    width: 40%;
  }

  .s-table td {
    font-size: 12px;
    padding: 6px 8px;
  }

  .availability-location-icon {
    font-size: 16px;
    margin-right: 8px;
  }

  .availability-location-name {
    font-size: 14px;
  }

  .availability-call-number {
    font-size: 12px;
  }
}

/* Main Page Content Responsive */
.s-main-page {
  padding: 20px 15px;
}

.s-main-content {
  padding: 20px 15px !important;
}

@media (max-width: 768px) {
  .s-main-page {
    margin-top: 0;
    padding: 15px 10px;
    padding-top: 90px;
  }

  .s-main-content {
    padding: 15px 10px !important;
  }

  .s-main-title {
    font-size: 24px !important;
    padding: 15px 10px !important;
  }

  .col-lg-8,
  .col-lg-4 {
    width: 100%;
    padding: 0 10px;
  }

  .col-sm-9,
  .col-sm-3 {
    width: 100%;
  }
}

/* Biblio Record Cards Responsive */
.biblioRecord {
  width: 100% !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .biblioRecord {
    padding: 15px;
    min-height: auto;
  }

  .biblioRecord .cover-list {
    width: 100px;
    height: 140px;
    margin: 20px auto 15px;
  }

  .biblioRecord .detail-list h4 {
    font-size: 16px;
  }

  .biblioRecord .author {
    font-size: 13px;
  }
}

/* Search Result Info Responsive */
@media (max-width: 768px) {
  .col-lg-4 h2 {
    font-size: 20px;
    margin-top: 30px;
  }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .s-footer-content {
    padding: 15px 20px;
    text-align: center;
  }

  .s-footer-menu {
    float: none;
    margin: 15px 0 0 0;
    text-align: center;
  }

  .s-footer-menu li {
    display: block;
    padding: 5px 0;
    margin: 0;
  }
}

/* General Mobile Fixes */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  /* Fix any overflow issues */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Tables responsive wrapper */
  .table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 20px 0;
  }

  .table-responsive-wrapper table {
    min-width: 600px;
  }
  
  /* Row and Column fixes */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Ensure all text wraps */
  h1, h2, h3, h4, h5, h6,
  p, span, div, a, button {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Button fixes */
  .btn, button, a.btn {
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Form elements */
  input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .s-detail-title {
    font-size: 16px;
  }

  .s-table {
    font-size: 12px;
  }

  .s-table th,
  .s-table td {
    padding: 5px;
  }

  .availability-item {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  /* Container adjustments */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .row {
    margin-left: -8px;
    margin-right: -8px;
  }
  
  .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE FIXES FOR ALL DEVICES
   ========================================== */

/* Tablet Responsive (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    padding: 90px 0 50px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    padding: 10px 14px !important;
    font-size: 11px !important;
    margin: 6px auto !important;
    border-radius: 8px !important;
    max-width: 160px !important;
  }
  
  .smart-search-box {
    padding: 30px 24px;
  }
  
  .s-detail .col-lg-6 {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Large Mobile / Small Tablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-section {
    padding: 75px 0 25px;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    padding: 9px 13px !important;
    font-size: 11px !important;
    margin: 5px auto !important;
    border-radius: 7px !important;
    max-width: 150px !important;
  }
  
  .smart-search-box {
    padding: 22px 16px;
  }
}

/* Extra fixes for all mobile devices */
@media (max-width: 767px) {
  /* Ensure no horizontal overflow */
  html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
  }
  
  /* Fix container width */
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fix row spacing */
  .row {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
  }
  
  /* Fix column padding */
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Fix all text elements */
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  
  /* Fix paragraphs and text */
  p, span, div, a, button {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  /* Button fixes */
  .btn, button, a.btn {
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
  }
  
  /* Form elements */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Card and box elements */
  .card, .box, [class*="-box"], [class*="-card"] {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix flex containers */
  [class*="flex"] {
    flex-wrap: wrap;
  }
  
  /* Fix absolute positioned elements */
  [style*="position: absolute"],
  [class*="absolute"] {
    max-width: 100vw;
  }
  
  /* Curated For You Section */
  [class*="curated"],
  [class*="subject"],
  .cluster-list,
  .cluster-title {
    padding: 15px;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .cluster-list {
    padding: 10px 15px;
  }
  
  .cluster-title {
    font-size: 14px;
    padding-bottom: 15px;
  }
  
  .cluster-item a {
    font-size: 12px;
    padding: 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ensure proper spacing between sections */
  section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  
  /* Fix any negative margins */
  [style*="margin"] {
    max-width: 100%;
  }
  
  /* Fix overflow for all containers */
  [class*="container"],
  [class*="wrapper"],
  [class*="content"] {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure proper text wrapping */
  .s-main,
  .s-main-page,
  .s-main-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* Additional fixes for very small devices */
@media (max-width: 320px) {
  .hero-section {
    padding: 60px 0 10px;
  }
  
  .hero-title {
    font-size: 18px;
  }
  
  .hero-subtitle {
    font-size: 10px;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    padding: 6px 9px !important;
    font-size: 9px !important;
    margin: 3px auto !important;
    border-radius: 5px !important;
    width: 60% !important;
    max-width: 120px !important;
  }
  
  .smart-search-box {
    padding: 16px 10px;
  }
  
  .smart-search-title {
    font-size: 14px;
  }
  
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  
  .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }
  
  .cluster-title {
    font-size: 12px;
  }
  
  .cluster-item a {
    font-size: 11px;
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    padding: 60px 0 20px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  .smart-search-container {
    padding: 10px 15px;
  }
  
  .hero-content {
    padding: 15px 0;
  }
  
  .smart-search-box {
    padding: 20px 16px;
  }
}

/* Print styles - ensure no issues when printing */
@media print {
  .s-header,
  .s-menu,
  .smart-search-container,
  .hero-section {
    position: relative !important;
  }
  
  body {
    overflow: visible !important;
  }
}

/* ==========================================
   FINAL RESPONSIVE FIXES - ALL DEVICES
   ========================================== */

/* Ensure all containers respect viewport */
@media (max-width: 767px) {
  /* Fix any remaining overflow issues */
  * {
    max-width: 100vw;
  }
  
  /* Ensure proper box-sizing */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* Fix any fixed widths that might cause overflow */
  [style*="width"] {
    max-width: 100% !important;
  }
  
  /* Ensure flex items wrap properly */
  .row,
  [class*="flex"],
  [class*="grid"] {
    flex-wrap: wrap;
    max-width: 100%;
  }
  
  /* Fix any absolute positioning issues */
  [style*="position: absolute"] {
    max-width: 100vw;
    left: auto !important;
    right: auto !important;
  }
  
  /* Ensure text never overflows */
  h1, h2, h3, h4, h5, h6,
  p, span, div, a, li, td, th {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Fix buttons and interactive elements */
  button, .btn, a[role="button"],
  input[type="submit"],
  input[type="button"] {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  
  /* Fix form elements */
  form {
    max-width: 100%;
  }
  
  input, textarea, select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix images and media */
  img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix tables */
  table {
    width: 100% !important;
    table-layout: auto !important;
  }
  
  /* Ensure sections don't overflow */
  section, article, aside, nav, header, footer, main {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* Specific fixes for foldable devices */
@media (max-width: 344px) {
  .hero-section {
    padding: 60px 0 15px;
  }
  
  .hero-title {
    font-size: 20px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .hero-content .btn,
  .hero-content a.btn,
  .hero-content a,
  .hero-content button {
    padding: 7px 10px !important;
    font-size: 9px !important;
    margin: 3px auto !important;
    border-radius: 6px !important;
    width: 62% !important;
    max-width: 125px !important;
  }
  
  .smart-search-box {
    padding: 18px 12px;
  }
  
  .smart-search-title {
    font-size: 15px;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}