.pirate-home {
  display: block;
}

.pirate-home section {
  padding: 20px 8px;
}

.pirate-home__hero {
  color: #ffffff;
  text-align: center;
  border-radius: 0;
  margin: 0;
}

.pirate-home__hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.pirate-home__hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pirate-home__hero-copy {
  width: 100%;
}

.pirate-home__hero-slideshow {
  width: 100%;
}

.pirate-home__hero h1 {
  margin: 0 0 8px;
  font-weight: 700;
  font-family: "industry", "Arial Black", "Impact", "Haettenschweiler", "Franklin Gothic Heavy", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  overflow: hidden;
  font-size: clamp(22px, 7vw, 48px);
}

.pirate-home__hero-title-top,
.pirate-home__hero-title-bottom {
  display: block;
  line-height: 1.1;
  text-align: center;
}

.pirate-home__hero-title-top {
  color: #363435;
  font-size: clamp(16px, 4vw, 24px);
}

.pirate-home__hero-title-bottom {
  color: #0043b4;
  white-space: nowrap;
  max-width: 100%;
  font-size: clamp(26px, 9vw, 56px);
}

.pirate-home__hero-subtext {
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 600;
  color: #6b6b6b;
}

.pirate-home__hero-desc {
  margin: 0 auto 16px;
  max-width: 640px;
  color: #6b6b6b;
}

.pirate-home__hero-actions .button {
  display: inline-block;
  margin: 8px 8px 0;
  padding: 12px 20px;
  background: #f4b740;
  color: #0b1a2b;
  text-decoration: none;
  font-weight: 600;
}

.pirate-home__hero-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

.pirate-home__hero-actions .button {
  width: 100%;
  text-align: center;
}

.pirate-home__hero-actions .button.outline {
  background: #f3f5f8;
  border: 1px solid rgba(0, 67, 180, 0.18);
  color: #0043b4;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 14px rgba(0, 67, 180, 0.12);
}

.pirate-home__hero-actions .button.outline:hover {
  background: #e9eef6;
}

.pirate-home__hero-actions .button {
  border-radius: 10px;
  padding: 12px 18px;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 18px rgba(0, 67, 180, 0.18);
}

.pirate-home__hero-actions .button:last-child {
  background: #0043b4;
  color: #f3f5f8;
  font-weight: 700;
  border: 1px solid rgba(0, 67, 180, 0.18);
  box-shadow: 0 10px 18px rgba(0, 67, 180, 0.22);
}

.pirate-home__hero-actions .button:last-child:hover {
  background: #003eaa;
}

.pirate-home__team-tabs {
  margin-top: 22px;
  width: 100%;
}

.pirate-home__tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid rgba(0, 67, 180, 0.12);
  padding-bottom: 10px;
}

.pirate-home__tab {
  appearance: none;
  border: 1px solid rgba(0, 67, 180, 0.18);
  border-bottom: 0;
  background: #e9eef6;
  color: #3a3a3a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  box-shadow: 0 8px 12px rgba(0, 67, 180, 0.08);
}

.pirate-home__tab-label--short {
  display: none;
}

.pirate-home__tab-label--long {
  display: inline;
}

.pirate-home__tab.is-active {
  background: #ffffff;
  color: #0043b4;
  border-color: rgba(0, 67, 180, 0.3);
  position: relative;
  top: 1px;
}

.pirate-home__tab:focus {
  outline: 2px solid rgba(0, 67, 180, 0.4);
  outline-offset: 2px;
}

.pirate-home__tab-panels {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.pirate-home__tab-panel {
  display: none;
}

.pirate-home__tab-panel.is-active {
  display: block;
}

.pirate-home__panel-widget {
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  padding: 0;
}

@media (max-width: 720px) {
  .pirate-home__tab {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 8px 10px;
  }

  .pirate-home__tab-label--short {
    display: inline;
  }

  .pirate-home__tab-label--long {
    display: none;
  }
}

.pirate-home__slides {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.pirate-home__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
}

.pirate-home__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.pirate-home__slide-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  text-transform: none;
  letter-spacing: 0.5px;
  color: #363435;
  text-align: left;
  font-weight: 700;
  font-family: "industry", "Arial Black", "Impact", "Haettenschweiler", "Franklin Gothic Heavy", Arial, sans-serif;
}

.pirate-home__slide-media {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.pirate-home__slide .slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.pirate-home__slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.pirate-home__slide-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.pirate-home__slide-info {
  position: static;
  max-width: 65%;
}

.pirate-home__slide-actions {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 2;
}

.pirate-home__slide-info-box {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.pirate-home__slide-info-box h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
}

.pirate-home__slide-info-box p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.3;
}


.pirate-home__slide-cta {
  background: #f3f5f8;
  color: #0043b4;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.pirate-home__slide-pips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.pirate-home__pip {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c7c7c7;
  cursor: pointer;
  padding: 0;
}

.pirate-home__pip.is-active {
  background: #0043b4;
}

@media (min-width: 960px) {
  .pirate-home__hero-inner {
    max-width: 1100px;
  }

  .pirate-home__hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .pirate-home__hero-copy {
    flex: 1 1 55%;
    text-align: left;
  }

  .pirate-home__hero-title-top,
  .pirate-home__hero-title-bottom {
    text-align: left;
  }

  .pirate-home__hero-actions {
    margin: 0;
  }

  .pirate-home__hero-slideshow {
    flex: 1 1 45%;
  }

  .pirate-home__slides {
    height: 320px;
  }
}

.pirate-home__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.pirate-home__card {
  border: 1px solid #e6e6e6;
  padding: 16px;
  background: #ffffff;
}

.pirate-home__cta {
  text-align: center;
  background: #f6f6f6;
}

.pirate-home__cta .button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  background: #0b1a2b;
  color: #ffffff;
  text-decoration: none;
}

.pirate-home__info-rows {
  max-width: none;
  width: 100%;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.pirate-home__info-row {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 22px rgba(0, 67, 180, 0.08);
  border: 1px solid rgba(0, 67, 180, 0.12);
  backdrop-filter: blur(6px);
}

.pirate-home__info-row:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .pirate-home__info-rows {
    grid-template-columns: 1fr;
  }
}

.pirate-home__info-title {
  color: #0043b4;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.pirate-home__info-subtitle {
  color: #363435;
  font-weight: 600;
  margin-bottom: 8px;
}

.pirate-home__info-row p {
  margin: 0 0 12px;
  color: #4b4b4b;
  line-height: 1.5;
}

.pirate-home__info-row p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .pirate-home__slide-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .pirate-home__slide-info {
    max-width: 100%;
  }
}
