@font-face {
  font-family: "simple-line-icons";
  src:
    url("../fonts/simple-line-icons/Simple-Line-Icons.woff2") format("woff2"),
    url("../fonts/simple-line-icons/Simple-Line-Icons.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 5 Free";
  src:
    url("../fonts/font-awesome/fa-solid-900.woff2") format("woff2"),
    url("../fonts/font-awesome/fa-solid-900.woff") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 5 Free";
  src:
    url("../fonts/font-awesome/fa-regular-400.woff2") format("woff2"),
    url("../fonts/font-awesome/fa-regular-400.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.fa,
.fas {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900;
}

.far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: "simple-line-icons" !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#site-navigation-wrap .main-menu > li.sura-language-switcher-item {
  display: inline-flex !important;
  align-items: stretch;
  float: none !important;
}

.sura-language-switcher {
  display: inline-flex;
  align-items: center;
}

.sura-language-switcher--inline {
  gap: 0;
  height: 100%;
  padding: 0 8px 0 14px;
  color: #f9f9f9;
}

.sura-language-switcher--floating {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 99999;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(30, 125, 188, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.sura-language-switcher__button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: "Roboto Slab", serif;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.sura-language-switcher--inline .sura-language-switcher__button {
  display: inline-flex;
  align-items: center;
  height: 74px;
  min-width: auto;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  opacity: 0.82;
  text-decoration: none;
}

.sura-language-switcher--inline .sura-language-switcher__button + .sura-language-switcher__button {
  margin-left: 18px;
}

.sura-language-switcher--inline .sura-language-switcher__button:hover,
.sura-language-switcher--inline .sura-language-switcher__button:focus-visible {
  color: #02d3cc;
  opacity: 1;
  outline: none;
  transform: none;
}

.sura-language-switcher--inline .sura-language-switcher__button.is-active {
  font-weight: 700;
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.sura-language-switcher--floating .sura-language-switcher__button {
  min-width: 40px;
  padding: 9px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sura-language-switcher--floating .sura-language-switcher__button:hover,
.sura-language-switcher--floating .sura-language-switcher__button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.sura-language-switcher--floating .sura-language-switcher__button.is-active {
  background: #ffffff;
  color: #1e7dbc;
}

@media (max-width: 767px) {
  .sura-language-switcher--floating {
    right: 12px;
    top: 12px;
  }
}

body.search #local-search-results {
  max-width: 1170px;
  margin: 0 auto;
}

body.search #transparent-header-wrap {
  position: relative;
  min-height: 74px;
  /* Must stay visible so open dropdown menus aren't clipped to the bar. The
     hero ::before below is bounded by inset:0, so it needs no clipping here. */
  overflow: visible;
}

body.search #transparent-header-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(61, 129, 160, 0.82), rgba(61, 129, 160, 0.82)),
    url("../images/main-page-hero.jpg") center top / cover no-repeat;
  z-index: 0;
}

body.search #site-header,
body.search #site-header.transparent-header {
  background-color: transparent !important;
  position: relative;
  z-index: 2;
}

body.search #site-navigation-wrap .dropdown-menu > li > a,
body.search .oceanwp-mobile-menu-icon a,
body.search .search-toggle-li .site-search-toggle,
body.search .sura-language-switcher--inline .sura-language-switcher__button {
  color: #f9f9f9 !important;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

body.search #primary.content-area {
  float: none;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

body.search #content.site-content {
  float: none;
  width: 100%;
}

body.search #local-search-results .page-header {
  margin: 0;
  background:
    linear-gradient(rgba(61, 129, 160, 0.8), rgba(61, 129, 160, 0.8)),
    url("../images/main-page-hero.jpg") center / cover no-repeat;
}

body.search #local-search-results .page-header .page-header-inner {
  width: 100%;
  padding-top: 128px;
  padding-bottom: 104px;
}

body.search #local-search-results .page-header-title,
body.search #local-search-results .page-header .page-header-title a {
  color: #ffffff;
}

body.search #local-search-results .page-header .page-subheading {
  color: rgba(255, 255, 255, 0.9);
}

body.search #local-search-results .page-content {
  max-width: 1170px;
  margin: 0 auto;
}

body.search.search-no-results #local-search-results .page-content {
  padding: 120px 0 150px;
}

body.search.search-no-results #local-search-results .page-content p {
  max-width: 1120px;
}

/* Search-in-progress indicator. The results header shows this instead of a
   "0 found" count while the site index is still being read, so a working
   search is never mistaken for an empty one. */
.sura-search-spinner {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-inline-end: 0.5em;
  vertical-align: baseline;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.85;
  animation: sura-spin 0.7s linear infinite;
}
@keyframes sura-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .sura-search-spinner { animation: none; border-right-color: currentColor; opacity: 0.5; }
}
