:root {
  --prim_c: #bd162d;
  --seco_c: #1d3341;
  --acce-c: #c84f19;
}

* {
  font-family: "Gilroy", sans-serif;
}

p {
  font-size: clamp(16px, 1.5vw, 18px);
}

.link-with-icon a {
  text-decoration: none;
  transition: 300ms;
}

.link-with-icon a:hover {
  color: var(--prim_c);
}

.link-with-icon {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.link-with-icon i {
  font-size: 1.4rem;
  color: var(--prim_c);
}

.link-with-icon img {
  width: 25px;
  height: auto;
  object-fit: cover;
}

.site-btn-primary a {
  transition: 300ms;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-btn-primary a:hover {
  background-color: transparent !important;
}

.ukaht-box-shadow {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* social media icons */

.g-smi {
  gap: 0.5rem !important;
  font-size: 1.5rem;
}

.g-smi a {
  min-width: 70px;
  height: 70px;
  transition: 300ms;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-smi img {
  width: 30px;
  height: auto;
  object-fit: cover;
}

.g-smi a:hover {
  min-width: 70px;
  opacity: 0.8;
}

/* custom-header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.header-navs-wrapper {
  width: 100%;
}

.nav-buttons {
  gap: 1px !important;
  width: 100%;
}

.main-header_content {
  max-width: 1600px;
}

.nav-buttons a,
.mobile-nav-buttons a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem;
  align-items: center;
  min-width: 80px;
  transition: 300ms;
}

.nav-buttons a:hover,
.mobile-nav-buttons a:hover {
  background-color: var(--acce-c) !important;
}

.nav-buttons i,
.mobile-nav-buttons i {
  font-size: 1.2rem;
}

.nav-buttons i {
  height: 20px;
}

.nav-column-stack {
  gap: 0.5rem;
  transition: 0.3s;
}

.header-search {
  max-width: 350px;
  width: 100%;
  border-radius: 5px;
}

.wp-block-search__inside-wrapper {
  border-radius: 5px;
  border-color: #dadada;
}

.header-search input[type="search"],
.header-search .wp-block-search__input {
  background: #fff;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.header-search button,
.header-search .wp-block-search__button {
  background: var(--acce-c);
  color: white;
  border: none;
  font-size: 1.7rem !important;
  padding: 0.5rem 1rem;
  transition: 300ms;
  border-radius: 0 5px 5px 0;
  margin-left: 0;
}

.header-search button,
.header-search .wp-block-search__button:hover {
  background-color: var(--prim_c);
}

.header-search .wp-block-search__inside-wrapper {
  padding: 0;
}

.main-desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-main-menu a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 1rem 0.5rem;
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.desktop-main-menu {
  display: flex;
  align-items: center;
  position: relative;
}

.desktop-main-menu > li {
  position: relative;
}

.desktop-main-menu a:hover {
  color: white;
  background: var(--seco_c);
}

.desktop-main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.desktop-main-menu .menu-item-has-children:hover > .sub-menu,
.desktop-main-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.desktop-main-menu .sub-menu a {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  color: #333;
}

.desktop-main-menu .sub-menu a:hover {
  background-color: var(--seco_c);
  color: #fff !important;
}

.desktop-main-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
  transform: translateX(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.desktop-main-menu .sub-menu li.menu-item-has-children:hover > .sub-menu,
.desktop-main-menu
  .sub-menu
  li.menu-item-has-children:focus-within
  > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.desktop-main-menu .sub-menu .sub-menu .sub-menu {
  left: 100%;
  top: 0;
  margin-left: 0.5rem;
}

.desktop-main-menu .sub-menu li {
  position: relative;
}

.desktop-main-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 0;
  transform: translateX(0);
}

.desktop-main-menu .sub-menu li:hover > .desktop-main-menu .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.desktop-main-menu .menu-item-has-children > a::after {
  content: "⏷";
  font-size: 1rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.desktop-main-menu .sub-menu .menu-item-has-children > a::after {
  content: "⏷";
  float: right;
  margin-left: 0.5rem;
  font-size: 1rem;
}

.desktop-main-menu .menu-item-has-children:hover > a::after {
  transform: rotate(270deg);
}

/* mobile header */

.mobile-menu {
  display: none !important;
}

.mobile-header-wrap {
  display: grid !important;
  padding: 0.75rem 1rem;
  top: 0;
  left: 0;
  z-index: 1000;
  position: fixed;
  width: 100%;
  z-index: 99;
}

.mh-logo {
  width: 100%;
  max-width: 220px !important;
}

.mobile-header-grid {
  position: relative;
  z-index: 999;
}

.mobile-header-wrap i {
  font-size: 1.5rem;
  color: #1d3341;
}

.mobile-header-wrap button,
.mobile-header-wrap a {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: center;
  padding: 1rem 0;
}

.mobile-header-wrap a:hover i,
.mobile-header-wrap button:hover i {
  color: #bd162d;
}

.mobile-header-img-wrap {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.mobile-dropdown {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  transition: 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.mobile-dropdown.open {
  transform: translateY(100%);
  opacity: 1;
  visibility: visible;
}

.main-mobile-nav {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  font-family: "Gilroy", sans-serif;
}

.mobile-main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-main-menu > li {
  border-bottom: 1px solid #eee;
  position: relative;
}

.mobile-main-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.mobile-main-menu a:hover,
.mobile-main-menu a:focus {
  background-color: var(--seco_c, #0073e6);
  color: #fff !important;
}

.mobile-main-menu .menu-item-has-children > a::after {
  content: "⏷";
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-main-menu .sub-menu {
  display: none;
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-left: 2px solid #ddd;
  background-color: #fafafa;
}

.mobile-main-menu .sub-menu a {
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  color: #333;
}

.mobile-main-menu .menu-item-has-children.active > a::after {
  transform: rotate(-180deg);
}

.mobile-main-menu .sub-menu {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

/* footer */

.footer-subscribe .subs-form label {
  color: white;
}

.footer-subscribe .subs-form .wpcf7-submit {
  color: white;
  background-color: var(--prim_c);
  border-color: var(--prim_c);
}

.footer-subscribe .subs-form .wpcf7-submit:hover {
  background-color: transparent;
  color: white;
}

.footer-disc a {
  color: #000;
  text-decoration: none;
  transition: 300ms;
}

.footer-disc a:hover {
  color: var(--acce-c);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-family: "Gilroy";
}

.form-grid .wpcf7-submit {
  background-color: var(--prim_c) !important;
  border: solid 2px var(--prim_c) !important;
  transition: 300ms;
}

.form-grid .wpcf7-submit:hover,
.form-flex .wpcf7-submit:hover {
  background-color: transparent !important;
}

.form-flex {
  font-family: "Gilroy";
}

.form-flex .wpcf7-submit {
  background-color: var(--acce-c) !important;
  border: solid 2px var(--acce-c) !important;
  transition: 300ms;
  font-family: "Gilroy";
}

.form-flex .form-row {
  display: flex;
  flex-direction: column;
}

.form-flex label {
  color: white;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.form-flex input {
  width: 100%;
  font-size: 16px !important;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.form-flex .wpcf7-submit {
  color: white;
  cursor: pointer;
  width: 100%;
  font-size: 18px !important;
}

.form-row input {
  width: 100%;
  height: 45px;
  border-radius: 5px;
  border: 0;
  margin-top: 0.5rem;
  outline: none;
  font-size: 18px;
  box-sizing: border-box;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0.5rem 0 0 0;
}

.form-row p {
  margin: 0;
}

.span-2 {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.span-2 input[type="submit"] {
  width: 100%;
  max-width: 180px;
  background-color: var(--prim-c);
  color: white;
  border: 0;
  height: 45px;
  font-size: 1.1rem;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.span-2 input[type="checkbox"] {
  width: 100%;
  max-width: 20px;
  height: 20px;
  color: white;
  border: 0;
  font-size: 1.1rem;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.cf-disclaimer label {
  display: flex !important;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.span-2 p {
  margin: 0;
}

/* welcome section */

.welcome-section-wrap {
  padding: 3vw 3vw 0 0 !important;
}

.welcome-desc {
  margin-bottom: 3rem !important;
}

/* post office section */

.postOffice-desc .g-smi a:hover {
  color: var(--prim_c);
}

.postOffice-section-wrap {
  padding: 3vw 0 0 3vw !important;
}

.postOffice-embed {
  position: relative;
  width: 100%;
}

.postOffice-embed:before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #bd162d;
  top: 1.5rem;
  left: 1.5rem;
}

/* Slideshow */

.gslider-flexi-content-wrapper {
  margin-top: 0;
}

.slideshow-img {
  object-fit: cover;
}

.slideshow-img .wp-block-cover__inner-container {
  align-self: flex-end;
  margin-bottom: 7vh;
}

.slide-cta a {
  min-width: 200px;
  transition: 300ms;
}

.slide-cta a:hover {
  background-color: var(--acce-c) !important;
}

.slideshow-details h3,
.slideshow-details p {
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))
    drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.hp-slideshow .swiper-button-next {
  right: 5vw;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))
    drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
  background: transparent;
}

.hp-slideshow .swiper-button-prev {
  left: 5vw;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))
    drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
  background: transparent;
}

.hp-slideshow .swiper-button-next:hover,
.hp-slideshow .swiper-button-prev:hover {
  background: transparent;
}

/* location-section */

.custom-item {
  position: relative;
  overflow: hidden;
}

.custom-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  margin: 0;
  margin-top: 0 !important;
  transition: 300ms;
  transform: translateY(-100%);
  opacity: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.custom-hover a {
  color: white !important;
}

.custom-hover p {
  max-width: 700px;
  width: 100%;
  font-size: 1rem;
}

.custom-item:hover .custom-hover {
  transform: translateY(0);
  opacity: 1;
}

.custom-item:hover .custom-item p {
  display: none;
}

.item-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5vw 1vw !important;
}

.item-label p {
  margin: 0 !important;
}

/* main content */

section,
footer {
  overflow: hidden;
}

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
}

/* antarctica in sight section */

.ais-section {
  padding-left: 3vw !important;
}

.ais-template li {
  height: 100%;
  display: flex;
}

.ais-item-title {
  min-height: 40px;
  margin: 0.5rem 0;
}

.ais-template img {
  transition: 300ms;
}

.ais-template figure,
.ip-features-external .wp-block-image {
  overflow: hidden;
}

.ais-template img:hover,
.ip-features-external img:hover {
  transition: 300ms;
  transform: scale(1.1) !important;
}

.ais-template .wp-block-post-excerpt__more-link,
.ip-features-external .wp-block-button__link {
  background-color: var(--prim_c);
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 300ms;
}

.ais-template .wp-block-post-excerpt__more-link:hover,
.ip-features-external .wp-block-button__link:hover {
  background-color: var(--acce-c);
}

.ftd-type {
  position: relative;
  overflow: hidden;
  text-decoration: unset !important;
  margin: 0.5rem 0 !important;
}

.ftd-type a {
  background-color: white;
  z-index: 5;
  position: relative;
  width: max-content;
  text-decoration: none;
}

.ftd-btn {
  padding: 1rem;
  background-color: white;
}

/* inner page settings */

.ip-banner {
  min-height: 600px;
}

.ip-breadcrumbs a {
  text-decoration: none;
}

.ip-banner-title {
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))
    drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.ip-section-desc h2,
.heritage-subhead {
  position: relative;
}

.ip-section-desc h2:before,
.heritage-subhead::before {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 5px;
  content: "";
  background-color: #bd162d;
}

.ip-section-desc p,
.ip-section-desc h2 {
  max-width: 1200px;
  width: 100%;
  display: block;
  margin: auto;
}

.ip-section-desc p a,
.heritage-desc p a,
.blog-content p a {
  color: var(--prim_c);
  text-decoration: none;
  transition: 300ms;
  font-weight: 500;
}

.ip-section-desc p a:hover,
.heritage-desc p a:hover,
.blog-content p a:hover {
  text-decoration: underline;
}

/* full width cover */

.fw-img-desc {
  position: relative;
}

.fw-subheading {
  position: relative;
}

.fw-subheading::before {
  content: "";
  width: 55px;
  height: 5px;
  background-color: #bd162d;
  position: absolute;
  left: 0;
  bottom: -10px;
}

/* web default 2x column layout */

.default-col-ftd {
  display: flex;
  align-items: center;
  justify-content: center;
}

.default-col-ftd img {
  position: relative;
  z-index: 10;
  width: 100%;
}

.default-col-img-d {
  position: relative;
}

.default-col-img-d::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, #1d3341 0%, #4b83a7 99%, #4b83a7 100%);
  bottom: 3vh;
  right: 3vh;
}

.default-col-img-d iframe {
  position: relative;
  width: 100% !important;
}

.default-btns a {
  transition: 300ms;
  transition: 300ms;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 220px;
}

.default-btns a:hover {
  background-color: #c84f19 !important;
}

/* virtual visit */

.vv-ftd img {
  width: 100% !important;
}

.vv-desc {
  margin: 3vh !important;
  display: flex;
  align-items: center;
}

/* ais page */

.ais-card img {
  max-width: 600px;
  width: 100%;
}

.events-container .item-label {
  min-height: 110px !important;
}

/* custom-query */

.cq-excerpt a {
  transition: 300ms;
  display: block;
  background-color: var(--prim_c);
  border: solid 2px var(--prim_c);
  text-decoration: unset;
  margin: auto;
  padding: 0.5rem 1rem;
  max-width: 160px;
  text-align: center;
}

.cq-excerpt a:hover {
  background-color: transparent;
}

.cq-excerpt .wp-block-post-excerpt {
  font-size: 0.9rem;
}

/* news page */

.news-image-wrapper {
  position: relative;
  overflow: hidden;
}

.news-img:hover {
  transform: scale(1.1);
  transition: 300ms;
}

.news-query ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.news-sort .ajax-post-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-sort #taxonomy-select {
  border-radius: 5px;
  padding: 0.5rem 0.5rem;
  font-family: "Gilroy";
  outline: none;
  border-color: #d4d4d4;
  font-weight: 500;
  font-size: 16px;
}

.wp-block-query-pagination a {
  text-decoration: none;
  margin: 0 0.5rem;
  transition: 300ms;
}

.wp-block-query-pagination a:hover {
  color: var(--acce-c);
}

/* support page */

.support-grid {
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
}

.support-grid img {
  display: block;
  margin: auto;
}

.section-heading {
  position: relative;
}

.section-heading::before {
  content: "";
  width: 55px;
  height: 5px;
  background-color: #bd162d;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.donor-name {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.donor-name i {
  font-size: 2rem;
  color: var(--prim_c);
}

/* ukaht Accordion */

.ukaht-acc-title {
  cursor: pointer;
}

.ukaht-acc-title,
.ukaht-acc-content {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
}

.ukaht-acc-title i {
  font-size: 2rem;
  margin-left: 0.5rem;
  transition: 300ms;
}

.ukaht-acc-content .wp-block-button a {
  width: 100%;
  min-width: 180px;
  transition: 300ms;
}

.ukaht-acc-content .wp-block-button a:hover {
  background-color: var(--prim_c) !important;
}

.ukaht-acc-content p a,
.default-col-rev p a,
.default-col-ftd p a,
.tab-content p a,
.post-main-content a {
  color: var(--prim_c);
  text-decoration: none;
  transition: 300ms;
}

.ukaht-acc-content p a:hover,
.default-col-rev p a:hover,
.default-col-ftd p a:hover,
.default-col-ftd p a,
.tab-content p a:hover,
.post-main-content a:hover {
  color: var(--seco_c);
  text-decoration: none;
}

/* tabs */

.tab-btn {
  background-color: var(--seco_c);
  color: white;
  cursor: pointer;
  transition: 300ms;
}

.tab-btn:hover {
  background-color: var(--acce-c);
}

.tab-btn.active {
  background-color: var(--acce-c);
}

.tab-btn-cont {
  gap: 0.5rem !important;
}

/* post */

.post-main-content {
  margin-top: 18vh;
}

.post-main-content .container {
  max-width: unset !important;
}

.post-main-content iframe {
  aspect-ratio: 16 / 9;
}

.post-main-content img {
  width: 100%;
  object-fit: contain;
}

.post-main-content .col-lg-12 {
  padding: 0 !important;
}

.post-sidebar {
  height: max-content;
  position: sticky;
  top: 150px;
}

.related-items h3 {
  margin: 0;
  color: white;
  font-weight: 400;
}

.related-items ul {
  padding: 0;
  list-style-type: none;
  margin: 0;
}

.related-items a {
  color: #242424;
  padding: 0.5rem;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: block;
  background-color: white;
  margin: 0.5rem 0;
  border-radius: 5px;
  box-sizing: border-box;
  transition: 300ms;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-items a:hover {
  color: wheat;
  background-color: var(--acce-c);
}

.post-details {
  display: none;
}

.post-donate {
  gap: 0 !important;
  margin-top: 0;
}
.post-donate a {
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: solid 2px var(--prim_c);
  height: 45px;
}

.post-donate i {
  font-size: 1.3rem;
}

.post-donate a:hover {
  background-color: transparent !important;
  color: white !important;
}

/* mirgated post items */

.headingMark {
  width: 40px;
  margin-bottom: 30px;
  border-bottom: 5px solid rgb(29, 51, 65);
}

a.linkRightArrow {
  color: #bd162c;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
}

.mediaText h3 {
  font-weight: bold;
}

.contentCards .col-12 {
  text-align: center;
}

/* subscribe form */

.subscribe-section h2 {
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07))
    drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.subs-form {
  font-family: "Gilroy";
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

.subs-form input {
  border: solid 1px #b4b4b4;
}

.subs-form .wpcf7-submit {
  background-color: var(--seco_c);
  border: solid 2px var(--seco_c);
  border-radius: 0;
  transition: 300ms;
  font-family: "Gilroy";
  font-size: 1.2rem;
  color: white;
  max-width: 180px;
  cursor: pointer;
}
.subs-form .wpcf7-submit:hover {
  background-color: transparent !important;
  color: var(--seco_c);
}

.subs-form .form-row {
  display: flex;
  flex-direction: column;
}

.subs-form label {
  color: #242424;
  font-size: 18px;
  font-weight: 400;
}

.wpcf7-not-valid-tip {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  background: #fff;
  border: solid 1px red;
  text-align: center;
  opacity: 1;
  transition: 300ms ease;
}

.wpcf7-hide {
  opacity: 0;
  z-index: -10;
}

/* contact us page */

.cu-form input,
.cu-form textarea {
  border: solid 2px #242424;
}

.cu-form textarea {
  width: 100%;
  font-size: 18px;
}

.cu-form input[type="submit"] {
  margin: unset;
  background-color: var(--seco_c) !important;
  border: 0 !important;
  color: white;
  font-size: 18px;
  max-width: 180px;
  width: 100%;
}

.cu-form .span-2 {
  display: block;
}

.cu-form input[type="submit"]:hover {
  background-color: var(--acce-c) !important;
  cursor: pointer;
}

/* members post */

.member-socials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.member-socials > * {
  flex: 1 1 calc(50% - 1rem); /* two per row accounting for gap */
  box-sizing: border-box;
}

.member-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.member-smi {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.member-socials a {
  text-decoration: none;
  transition: 300ms;
  font-size: 1rem;
}

.member-socials a:hover {
  color: var(--acce-c);
}

.members-featured {
  max-width: 500px;
  display: block;
  margin: 2rem auto;
}

.member-socials i {
  font-size: 1.6rem;
}

.member-smi i {
  font-size: 2rem;
}

.member-phone i {
  font-size: 1.5rem;
}

.member-socials p {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.members-role {
  margin-bottom: 1.5rem;
  position: relative;
  text-transform: uppercase;
}

.members-role:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  background-color: var(--prim_c);
  width: 100%;
  height: 7px;
}

.member-role a {
  text-decoration: none;
}

/* Features Pattern */

.ip-features-external .item-label {
  padding: 0 !important;
}

.ip-features-external .item-label h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ip-features-external .item-label p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* pop-up form  */

.pop-up-control {
  display: none;
  position: relative;
  z-index: 99999;
}

.pop-up-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 200;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.subscribe-pop-up {
  max-width: 600px !important;
  width: 100%;
}

.subscribe-pop-up .wp-block-column {
  background-color: white;
  padding: 1rem;
}

.subscribe-pop-up .wpcf7-submit {
  display: block;
  margin: auto;
}

.pop-up-close i {
  color: #000;
  transition: 300ms;
}

.pop-up-close:hover i {
  color: var(--prim_c);
}

.pop-up-close img {
    width: 20px;
    height: auto;
    object-fit: cover;
}

.xr-block p {
  margin-top: 0 !important;
}

.xr-title-tag {
  display: none;
  visibility: hidden;
}

.xr-controls {
  position: absolute;
  z-index: 50;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: #00000052;
  transition: 300ms;
}

.xr-controls .fa-pause {
  display: none;
}

.xr-controls p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: solid 3px white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 40px;
  transition: 300ms;
}

.xr-controls p:hover {
  background-color: black;
  border-color: transparent;
  cursor: pointer;
}

.xr-controls p.to-corner {
  width: 60px;
  height: 60px;
  font-size: 24px;
  bottom: 20px;
  right: 20px;
  top: auto;
  left: auto;
  transform: none;
}

.header-btn img {
  width: 30px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .card-body.p-5 {
    padding: 1rem !important;
  }
  .footer-cred {
    display: flex;
    flex-direction: column;
  }

  .custom-hover p {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .postOffice-desc {
    padding: 0 !important;
  }

  .post-main-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 3 / 2;
  }
  .location-section .wp-block-cover {
    min-height: unset !important;
    height: 350px;
  }
  .masonry-grid {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
    gap: 1.5rem;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .alignwide,
  .alignfull {
    max-width: 100% !important;
  }
  .main-header {
    display: none;
  }
  .mobile-menu {
    display: block !important;
  }

  .slideshow-img {
    min-height: 70vh !important;
  }
  .slideshow-details h3 {
    font-size: 3rem !important;
    line-height: 3rem !important;
  }
  .support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .ais-query-loop ul,
  .custom-query ul,
  .news-query ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .fw-img-desc {
    margin-top: 0 !important;
    padding: 0 !important;
  }
  .fw-img-cover {
    min-height: 50vh !important;
  }

  .content-gridx3 {
    grid-template-columns: 1fr 1fr;
  }
  .vv-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .vv-grid-reverse {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  .vv-desc {
    margin: 2vh 0 !important;
  }

  .default-col-rev .wp-block-columns > .wp-block-column:first-child {
    order: 2;
  }
  .default-col-rev .wp-block-columns > .wp-block-column:last-child {
    order: 1;
  }
  .donors-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
  .ip-banner {
    min-height: 40vh;
  }
  .tab-btn-cont {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr !important;
  }
  .post-main-content {
    margin-top: 3vh;
  }
  .subs-form .wpcf7-submit {
    display: block;
    margin: auto;
  }
  .cu-form {
    margin-bottom: 4rem;
  }
  .mobile-menu .header-search {
    max-width: 500px;
    width: 100%;
    border-radius: 5px;
  }
}

@media (max-width: 767px) {
  .ukaht-acc-content {
    flex-wrap: wrap;
  }
}

@media (max-width: 567px) {
  .ais-query-loop ul,
  .custom-query ul,
  .news-query ul,
  .support-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .slideshow-img {
    min-height: 60vh !important;
  }
  .slideshow-details h3 {
    font-size: 2rem !important;
    line-height: 2rem !important;
  }

  .slideshow-details p {
    margin-top: 0 !important;
  }
  .slideshow-img .wp-block-cover__inner-container {
    align-self: flex-end;
    margin-bottom: 5vh;
  }
  .content-gridx3 {
    grid-template-columns: 1fr;
  }
  .cq-excerpt p {
    font-size: 0.9rem !important;
  }

  .item-label {
    align-items: center;
  }
  .donors-grid,
  .tab-btn-cont {
    grid-template-columns: 1fr 1fr !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .span-2 {
    grid-column: unset;
  }
  .mh-logo {
    max-width: 160px !important;
  }
  .header-search .wp-block-search__inside-wrapper {
    height: 40px;
  }
  .header-search button,
  .header-search .wp-block-search__button {
    padding: 0 0.5rem;
  }
}
