:root {
  --primary: #075a7a;
  --primary-hover: #064762;
  --primary-dark: #043c52;
  --secondary: #0b2433;
  --title: #0b2433;
  --rgba-primary-1: rgba(7, 90, 122, 0.1);
  --rgba-primary-2: rgba(7, 90, 122, 0.2);
  --rgba-primary-3: rgba(7, 90, 122, 0.3);
  --rgba-primary-4: rgba(7, 90, 122, 0.4);
  --rgba-primary-5: rgba(7, 90, 122, 0.5);
  --rgba-primary-6: rgba(7, 90, 122, 0.6);
  --rgba-primary-7: rgba(7, 90, 122, 0.7);
  --rgba-primary-8: rgba(7, 90, 122, 0.8);
  --rgba-primary-9: rgba(7, 90, 122, 0.9);
  --hulltech-accent: #e87824;
  --hulltech-accent-hover: #c95f16;
  --hulltech-deep-navy: #071b27;
}

/* Preserve the local RTL template layout; these rules apply Hulltech branding only. */
.main-slider1 {
  background: linear-gradient(135deg, var(--hulltech-deep-navy), #0c3447);
}

.main-slider1 .banner-inner {
  border-color: var(--hulltech-accent);
}

.main-slider1 .swiper-button .swiper-button-prev,
.main-slider1 .swiper-button .swiper-button-next {
  background-color: var(--hulltech-accent);
}

.main-slider1 .swiper-button .swiper-button-prev:hover,
.main-slider1 .swiper-button .swiper-button-next:hover {
  background-color: var(--primary);
}

.btn-primary,
.wp-block-button__link {
  --bs-btn-bg: var(--hulltech-accent);
  --bs-btn-border-color: var(--hulltech-accent);
  --bs-btn-hover-bg: var(--hulltech-accent-hover);
  --bs-btn-hover-border-color: var(--hulltech-accent-hover);
  --bs-btn-active-bg: var(--hulltech-accent-hover);
  --bs-btn-active-border-color: var(--hulltech-accent-hover);
  --bs-btn-disabled-bg: var(--hulltech-accent);
  --bs-btn-disabled-border-color: var(--hulltech-accent);
  background-color: var(--hulltech-accent);
  border-color: var(--hulltech-accent);
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.wp-block-button__link:hover {
  background-color: var(--hulltech-accent-hover);
  border-color: var(--hulltech-accent-hover);
}

.hulltech-footer-top {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  background-image:
    linear-gradient(rgba(3, 17, 25, 0.72), rgba(3, 17, 25, 0.72)),
    url("../images/project-shipyard.jpg");
}

.hulltech-footer-background,
.hulltech-footer-overlay {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hulltech-footer-background {
  z-index: 0;
}

.hulltech-footer-background img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hulltech-footer-overlay {
  background-color: rgba(3, 17, 25, 0.72);
  z-index: 1;
}

.hulltech-footer-top > .container {
  position: relative;
  z-index: 2;
}

.hulltech-page-hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hulltech-about-hero::before,
.hulltech-contact-hero::before,
.hulltech-sustainability-hero::before,
.hulltech-services-hero::before {
  z-index: 1;
}

.hulltech-about-hero > .container,
.hulltech-contact-hero > .container,
.hulltech-sustainability-hero > .container,
.hulltech-services-hero > .container {
  position: relative;
  z-index: 2;
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a:focus,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a:hover {
  color: #f8fafc !important;
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a.hulltech-header-contact,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a.hulltech-header-contact:focus,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li .title a.hulltech-header-contact:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li span,
.site-header.header-sidenav-1 .header-content-bx .service-list ul li i {
  color: var(--hulltech-accent);
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li i {
  border-color: var(--hulltech-accent);
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li i::after {
  background-color: var(--hulltech-accent);
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li:hover i {
  color: #ffffff !important;
}

.site-header.header-sidenav-1 .header-content-bx .service-list ul li:hover i::after {
  background-color: var(--hulltech-accent) !important;
  transform: translate(-50%, -50%) scale(1);
}

.site-header.header-sidenav-1 .header-content-bx {
  position: relative;
}

.site-header.header-sidenav-1 .header-content-bx > .extra-nav {
  left: 0;
  padding: 0 !important;
  position: absolute;
  right: auto !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

@media only screen and (min-width: 1440px) {
  .site-header.header-sidenav-1 .header-content-bx > .service-list {
    transform: translateX(120px);
  }
}

.hulltech-language-selector {
  display: flex;
  gap: 0.4rem;
}

.hulltech-language-selector a {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.45rem 0.5rem;
}

.hulltech-language-selector a[aria-current="page"],
.hulltech-language-selector a:focus,
.hulltech-language-selector a:hover {
  background: var(--hulltech-accent);
  border-color: var(--hulltech-accent);
  color: #ffffff;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector {
  align-items: center;
  direction: ltr;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector a {
  align-items: center;
  background: #eef3f5;
  border: 1px solid rgba(11, 34, 53, 0.18);
  color: #0b2235;
  display: inline-flex;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 0.6rem;
  letter-spacing: 0.02em;
  min-width: 8.5rem;
  padding: 0.7rem 0.85rem;
  text-transform: uppercase;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector .hulltech-language-flag {
  box-shadow: 0 1px 4px rgba(11, 34, 53, 0.28);
  display: block;
  height: 1.25rem;
  object-fit: cover;
  width: 1.875rem;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector a[aria-current="page"],
.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector a:focus,
.site-header.header-sidenav-1 .header-nav.full-sidenav .hulltech-sidenav-language-selector a:hover {
  background: var(--hulltech-accent);
  border-color: var(--hulltech-accent);
  color: #ffffff;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li .title,
.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li .title a,
.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li .title a:focus,
.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li .title a:hover {
  color: #0b2235 !important;
  opacity: 1;
  -webkit-text-fill-color: #0b2235 !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li span {
  color: var(--hulltech-accent) !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li i {
  color: var(--hulltech-accent) !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li:hover i {
  color: #ffffff !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li:hover i::after {
  background-color: var(--hulltech-accent) !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a,
.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a span {
  color: #0b2235 !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a:focus,
.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a:hover,
.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a:focus span,
.site-header.header-sidenav-1 .header-nav.full-sidenav .navbar-nav > li > a:hover span {
  color: var(--hulltech-accent) !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .social-menu li a {
  background-color: #e6f3f5;
  color: #006d8c !important;
}

.site-header.header-sidenav-1 .header-nav.full-sidenav .social-menu li a:focus,
.site-header.header-sidenav-1 .header-nav.full-sidenav .social-menu li a:hover {
  background-color: var(--hulltech-accent);
  color: #ffffff !important;
}

@media only screen and (max-width: 1439px) {
  .site-header.header-sidenav-1 .header-content-bx > .service-list {
    display: none !important;
  }
}

@media only screen and (max-width: 991px) {
  .site-header.header-sidenav-1 .header-nav.full-sidenav .service-list {
    display: block !important;
  }

  .site-header.header-sidenav-1 .header-nav.full-sidenav .service-list ul li {
    margin-bottom: 1.25rem;
  }

}

a[href^="tel:"],
a[href^="tel:"] bdi {
  direction: ltr;
  unicode-bidi: isolate;
}

#loading-area {
  animation: hulltech-loader-failsafe 300ms ease 3500ms forwards;
}

.hulltech-blog-hero,
.hulltech-article-header {
  background:
    linear-gradient(135deg, rgba(4, 28, 42, 0.96), rgba(7, 90, 122, 0.88)),
    var(--hulltech-deep-navy);
  color: #ffffff;
  direction: ltr;
  padding: 9rem 0 5rem;
  text-align: center;
}

.hulltech-error-page {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(4, 28, 42, 0.96), rgba(7, 90, 122, 0.88)),
    var(--hulltech-deep-navy);
  color: #ffffff;
  display: flex;
  min-height: 70vh;
  padding: 12rem 0 6rem;
  text-align: center;
}

.hulltech-error-page .container {
  max-width: 48rem;
}

.hulltech-error-code {
  color: var(--hulltech-accent);
  font-family: "Oswald", sans-serif;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.9;
  margin-bottom: 1rem;
}

.hulltech-error-page h1 {
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.hulltech-error-page p:not(.hulltech-error-code) {
  font-size: 1.1rem;
  margin: 1.25rem auto 0;
  max-width: 38rem;
}

.hulltech-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hulltech-blog-eyebrow {
  color: var(--hulltech-accent);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hulltech-blog-hero h1,
.hulltech-article-header h1 {
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.4rem, 4.75vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.hulltech-blog-intro,
.hulltech-article-intro {
  font-size: 1.15rem;
  margin: 1.5rem auto 0;
  max-width: 46rem;
}

.hulltech-blog-listing,
.hulltech-article {
  background: #f6f8fa;
  direction: ltr;
  padding: 5rem 0;
}

.hulltech-blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hulltech-blog-card {
  background: #ffffff;
  box-shadow: 0 0.75rem 2rem rgba(7, 27, 39, 0.12);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hulltech-blog-card-image {
  display: block;
  overflow: hidden;
}

.hulltech-blog-card-image img {
  display: block;
  height: 15rem;
  object-fit: cover;
  transition: transform 200ms ease;
  width: 100%;
}

.hulltech-blog-card-image:hover img {
  transform: scale(1.04);
}

.hulltech-blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem;
}

.hulltech-blog-date,
.hulltech-article-date {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hulltech-blog-card h2 {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hulltech-blog-card h2 a {
  color: var(--title);
}

.hulltech-blog-card p:not(.hulltech-blog-date) {
  color: #4e5b63;
  margin-bottom: 1.5rem;
}

.hulltech-blog-card .btn {
  margin-top: auto;
  width: fit-content;
}

.hulltech-blog-empty {
  color: #4e5b63;
  grid-column: 1 / -1;
  text-align: center;
}

.hulltech-article {
  padding: 0;
}

.hulltech-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.hulltech-article-meta span {
  color: #cfe8f0;
  font-size: 0.95rem;
  font-weight: 700;
}

.hulltech-article-layout {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) 18rem;
  padding-bottom: 5rem;
  padding-top: 4rem;
}

.hulltech-article-main {
  min-width: 0;
}

.hulltech-article-image-wrap {
  margin-bottom: 3.5rem;
}

.hulltech-article-image {
  box-shadow: 0 1rem 2rem rgba(7, 27, 39, 0.18);
  display: block;
  height: auto;
  max-height: 42rem;
  object-fit: cover;
  width: 100%;
}

.hulltech-article-body {
  color: #233542;
  font-size: 1.1rem;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 48rem;
}

.hulltech-article-body p {
  margin-bottom: 1.6rem;
}

.hulltech-article-body h2,
.hulltech-article-body h3 {
  color: var(--title);
  font-family: "Oswald", sans-serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.hulltech-article-body figure,
.hulltech-article-body img {
  height: auto;
  margin: 2.5rem 0;
  max-width: 100%;
}

.hulltech-article-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 2rem;
}

.hulltech-article-sidebar-card {
  background: #ffffff;
  border-top: 4px solid var(--hulltech-accent);
  box-shadow: 0 0.5rem 1.5rem rgba(7, 27, 39, 0.1);
  padding: 1.5rem;
}

.hulltech-article-sidebar-card dl {
  margin: 0;
}

.hulltech-article-sidebar-card dl > div {
  border-top: 1px solid #dbe2e6;
  padding: 0.85rem 0;
}

.hulltech-article-sidebar-card dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.hulltech-article-sidebar-card dt {
  color: #64747d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hulltech-article-sidebar-card dd {
  color: var(--title);
  font-weight: 700;
  margin: 0.25rem 0 0;
}

.hulltech-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hulltech-article-tags span {
  background: #e5f0f3;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
}

.hulltech-article-sidebar-link {
  border-top: 1px solid #dbe2e6;
  color: var(--title);
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.hulltech-article-sidebar-link:last-child {
  padding-bottom: 0;
}

.hulltech-article-pagination {
  border-bottom: 1px solid #cbd7dc;
  border-top: 1px solid #cbd7dc;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4rem;
  padding: 1.5rem 0;
}

.hulltech-article-pagination-link {
  color: var(--title);
  display: grid;
  gap: 0.35rem;
}

.hulltech-article-pagination-link span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hulltech-article-pagination-next {
  text-align: right;
}

.hulltech-comments {
  margin: 4rem auto 0;
  max-width: 48rem;
}

.hulltech-comments-heading h2,
.hulltech-related-articles-heading h2 {
  color: var(--title);
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.hulltech-comment {
  border-top: 1px solid #cbd7dc;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: 1.5rem 0;
}

.hulltech-comment-avatar {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.hulltech-comment h3 {
  color: var(--title);
  font-size: 1.05rem;
  margin: 0;
}

.hulltech-comment time {
  color: #64747d;
  display: block;
  font-size: 0.85rem;
  margin: 0.25rem 0 0.75rem;
}

.hulltech-comments-empty {
  border-top: 1px solid #cbd7dc;
  padding-top: 1.5rem;
}

.hulltech-comment-form {
  background: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(7, 27, 39, 0.1);
  margin-top: 2rem;
  padding: 2rem;
}

.hulltech-comment-form h3 {
  color: var(--title);
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
}

.hulltech-comment-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hulltech-comment-form label {
  color: var(--title);
  display: block;
  font-weight: 700;
  margin: 1rem 0 0.45rem;
}

.hulltech-comment-form input,
.hulltech-comment-form textarea {
  border: 1px solid #b9c7cd;
  border-radius: 0;
  padding: 0.75rem;
  width: 100%;
}

.hulltech-comment-form textarea {
  resize: vertical;
}

.hulltech-comment-form .btn {
  margin-top: 1.5rem;
}

.hulltech-form-errors,
.hulltech-comment-form .errorlist {
  color: #b42318;
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
}

.hulltech-related-articles {
  background: #e9f0f3;
  padding: 5rem 0;
}

.hulltech-related-articles-heading {
  text-align: center;
}

.hulltech-related-articles-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hulltech-related-article {
  background: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(7, 27, 39, 0.1);
}

.hulltech-related-article img {
  display: block;
  height: 14rem;
  object-fit: cover;
  width: 100%;
}

.hulltech-related-article > div {
  padding: 1.5rem;
}

.hulltech-related-article p {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.hulltech-related-article h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
}

.hulltech-related-article h3 a {
  color: var(--title);
}

@media only screen and (max-width: 991px) {
  .hulltech-blog-grid {
    grid-template-columns: 1fr;
  }

  .hulltech-blog-hero,
  .hulltech-article-header {
    padding: 7.5rem 0 4rem;
  }

  .hulltech-article-layout {
    grid-template-columns: 1fr;
  }

  .hulltech-article-sidebar {
    position: static;
  }
}

@media only screen and (max-width: 575px) {
  .hulltech-article-pagination,
  .hulltech-comment-form-grid,
  .hulltech-related-articles-grid {
    grid-template-columns: 1fr;
  }

  .hulltech-article-pagination-next {
    text-align: left;
  }

  .hulltech-error-page {
    min-height: 60vh;
    padding: 8rem 0 4rem;
  }
}

@keyframes hulltech-loader-failsafe {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}
