/* ByShip × Next visual mirror — looks like Next.js frontend, colors from admin CSS vars */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0;700;0;900;1;700&family=Oxygen:wght@400;700&display=swap');

body.body_byship {
  --heading-font: "Merriweather", serif;
  --body-font: "Oxygen", sans-serif;
  --byship-ink: var(--text-primary-color, #1a1f2b);
  --byship-muted: var(--text-secondary-color, #666);
  --byship-surface: var(--section-background-color, #f2f2f2);
  --byship-card: var(--card-background-color, #fff);
  --byship-border: var(--card-border-color, #e0e0e0);
  --byship-base: var(--primary-color, #160792);
  --byship-base-two: color-mix(in srgb, var(--primary-color, #160792) 82%, #0a0618);
  --byship-warn: var(--secondary-color, #da1f08);
  --byship-accent: var(--accent-color, #28a745);
  --header-height: 72px;
  font-family: var(--body-font);
  color: var(--byship-ink);
  background: #fff;
}

body.body_byship h1,
body.body_byship h2,
body.body_byship h3,
body.body_byship .banner-content__title,
body.body_byship .section-heading__title,
body.body_byship .cta-section-content__title {
  font-family: var(--heading-font);
}

body.body_byship .byship-page-wrap {
  background: #fff;
  min-height: 45vh;
}

body.body_byship .py-50 { padding-block: 50px; }
body.body_byship .py-60 { padding-block: 60px; }
body.body_byship .py-80 { padding-block: 80px; }

/* ========== Buttons (Next .btn--base / shadow) ========== */
body.body_byship .btn.btn--base,
body.body_byship .btn--base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  border: none;
  background: var(--byship-base) !important;
  color: #fff !important;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.body_byship .btn--shadow:hover,
body.body_byship .btn--shadow:focus,
body.body_byship .btn--base:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 var(--byship-warn) !important;
  color: #fff !important;
}

body.body_byship .btn--transparent,
body.body_byship .btn.btn--transparent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--byship-border);
  background: transparent !important;
  color: var(--byship-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.body_byship .btn--transparent:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 var(--byship-base);
  border-color: var(--byship-base);
  color: var(--byship-base) !important;
}

body.body_byship .btn--warning,
body.body_byship .btn.btn--warning {
  background: var(--byship-warn) !important;
  color: #fff !important;
  border: none;
  font-weight: 700;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none !important;
}

body.body_byship .btn--white-shadow:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 #fff !important;
  color: #fff !important;
}

body.body_byship .btn-primary {
  background: var(--byship-base);
  border-color: var(--byship-base);
}

/* ========== Header (Next .header) ========== */
body.body_byship .site-header.byship-header.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--byship-border);
  box-shadow: none;
  animation: byship-slide-down 0.7s ease;
}

@keyframes byship-slide-down {
  from { opacity: 0; transform: translateY(-60%); }
  to { opacity: 1; transform: none; }
}

body.body_byship .byship-header .topbar {
  padding: 0.55rem 0;
}

body.body_byship .byship-header .site-branding .site-logo img {
  max-height: 46px;
  width: auto;
}

body.body_byship .byship-header .navbar {
  border-top: 1px solid var(--byship-border);
  background: #fff;
  padding: 0;
}

body.body_byship .byship-header .site-menu > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.body_byship .byship-header .site-menu > ul > li {
  padding: 0.85rem 1.15rem 0.85rem 0;
}

body.body_byship .byship-header .site-menu > ul > li > a,
body.body_byship .byship-header .site-menu > ul > li > .main-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--byship-ink) 75%, transparent);
  text-decoration: none;
  text-transform: none;
  opacity: 1;
}

body.body_byship .byship-header .site-menu > ul > li > a:hover,
body.body_byship .byship-header .site-menu > ul > li.active > a {
  color: var(--byship-base);
}

body.body_byship .byship-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

body.body_byship .byship-header-cta .btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ========== Banner (Next .banner-section) ========== */
body.body_byship .banner-section {
  position: relative;
  z-index: 1;
  padding: 110px 0 100px;
  background: #fff;
  overflow: hidden;
}

body.body_byship .banner-section::before {
  content: "";
  position: absolute;
  width: 54%;
  height: 100%;
  left: 0;
  top: 0;
  background: url("../images/byship/banner-shape.png") center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

body.body_byship .banner-section .container {
  position: relative;
  z-index: 1;
}

body.body_byship .banner-content__brand {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--byship-base);
  margin: 0 0 0.75rem;
}

body.body_byship .banner-title-message {
  display: block;
  font-weight: 700;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  height: 42px;
  margin-bottom: 20px;
}

body.body_byship .banner-title-message1,
body.body_byship .banner-title-message2,
body.body_byship .banner-title-message3,
body.body_byship .banner-title-message4 {
  position: absolute;
  width: auto;
  opacity: 0;
  padding: 6px 24px;
  border-radius: 6px;
  color: var(--byship-ink);
  font-size: 1.15rem;
  height: 100%;
  transform: translateY(100%);
  font-family: var(--heading-font);
  font-style: italic;
}

body.body_byship .banner-title-message1 { background: linear-gradient(45deg, #ffb6c1, #ffd700); animation: byshipSlideMessage 8s cubic-bezier(0.4,0,0.2,1) infinite; }
body.body_byship .banner-title-message2 { background: linear-gradient(45deg, #98fb98, #20b2aa); animation: byshipSlideMessage 8s cubic-bezier(0.4,0,0.2,1) infinite 2s; }
body.body_byship .banner-title-message3 { background: linear-gradient(45deg, #ffb6c1, #ffd700); animation: byshipSlideMessage 8s cubic-bezier(0.4,0,0.2,1) infinite 4s; }
body.body_byship .banner-title-message4 { background: linear-gradient(45deg, #dda0dd, #9370db); animation: byshipSlideMessage 8s cubic-bezier(0.4,0,0.2,1) infinite 6s; }

@keyframes byshipSlideMessage {
  0%, 3% { transform: translateY(100%); opacity: 0; }
  5%, 22% { transform: translateY(0); opacity: 1; }
  25%, 100% { transform: translateY(-100%); opacity: 0; }
}

body.body_byship .banner-content__title {
  color: var(--byship-ink);
  margin: 0 0 12px;
  font-weight: 900;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.35;
}

body.body_byship .banner-content__desc {
  max-width: 635px;
  color: var(--byship-ink);
  font-size: 1.1rem;
  margin: 1.25rem 0 2rem;
  opacity: 0.85;
}

body.body_byship .banner-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 14px 14px 0 0 color-mix(in srgb, var(--byship-base) 28%, transparent);
}

body.body_byship .banner-thumb img,
body.body_byship .banner-thumb .fit-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

body.body_byship .banner-thumb-slider .owl-dots {
  margin-top: 0.85rem;
  text-align: center;
}

/* ========== Section heading ========== */
body.body_byship .section-heading {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

body.body_byship .section-heading.style-left {
  text-align: left;
  margin-left: 0;
}

body.body_byship .section-heading__title {
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: var(--byship-ink);
  margin: 0 0 0.65rem;
}

body.body_byship .section-heading__desc {
  color: var(--byship-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ========== Services / feature cards ========== */
body.body_byship .services-section {
  background: var(--byship-surface);
}

body.body_byship .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

body.body_byship .service-card {
  background: #fff;
  border: 1px solid var(--byship-border);
  border-radius: 8px;
  padding: 1.5rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.body_byship .service-card:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 color-mix(in srgb, var(--byship-base) 40%, transparent);
}

body.body_byship .service-card__icon {
  max-height: 48px;
  margin-bottom: 1rem;
}

body.body_byship .service-card__title {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

body.body_byship .service-card__desc {
  color: var(--byship-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== How it works / steps (Next teach-step vibe) ========== */
body.body_byship .steps-section .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.body_byship .step-card__num {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--byship-base);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

body.body_byship .step-card__media {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--byship-surface);
}

body.body_byship .step-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.body_byship .step-card__eyebrow {
  color: var(--byship-warn);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 0.35rem;
}

body.body_byship .step-card__title {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

body.body_byship .step-card__desc {
  color: var(--byship-muted);
  margin: 0 0 0.75rem;
}

body.body_byship .step-card__link {
  color: var(--byship-base);
  font-weight: 700;
  text-decoration: none;
}

body.body_byship .step-card__link:hover { text-decoration: underline; }

/* ========== Blog strip ========== */
body.body_byship .blog-section {
  background: var(--byship-surface);
}

body.body_byship .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

body.body_byship .blog-card {
  background: #fff;
  border: 1px solid var(--byship-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

body.body_byship .blog-card:hover {
  transform: translate(2px, -2px);
  box-shadow: -4px 4px 0 0 color-mix(in srgb, var(--byship-base) 30%, transparent);
  color: inherit;
}

body.body_byship .blog-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

body.body_byship .blog-card__body { padding: 1.15rem 1.2rem 1.35rem; }
body.body_byship .blog-card__title {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
body.body_byship .blog-card__excerpt {
  color: var(--byship-muted);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}
body.body_byship .blog-card__more {
  color: var(--byship-base);
  font-weight: 700;
}

/* ========== About ========== */
body.body_byship .about-section__panel {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
body.body_byship .about-section__panel p {
  color: var(--byship-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
body.body_byship .about-section__links a {
  color: var(--byship-base);
  font-weight: 700;
}

/* ========== CTA (Next .cta-section) ========== */
body.body_byship .cta-section {
  background: var(--byship-base);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}

body.body_byship .cta-section-content {
  max-width: 734px;
  margin: 0 auto;
}

body.body_byship .cta-section-content__brand {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin: 0 0 0.5rem;
}

body.body_byship .cta-section-content__title {
  color: #fff;
  margin: 0 0 16px;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

body.body_byship .cta-section-content__desc {
  color: #fff;
  opacity: 0.95;
  margin: 0 auto 1.5rem;
  max-width: 34rem;
}

body.body_byship .cta-section-content__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

body.body_byship .cta-section-content__meta {
  margin-top: 1.35rem;
  opacity: 0.9;
}

body.body_byship .cta-section-content__meta a {
  color: #fff;
  font-weight: 700;
}

/* ========== Footer (Next .footer-area) ========== */
body.body_byship .site-footer.byship-footer.footer-area {
  background: var(--byship-base-two);
  color: rgba(255,255,255,0.88);
  padding-top: 3.5rem;
  margin-top: auto;
}

body.body_byship .byship-footer .widget-title,
body.body_byship .byship-footer a,
body.body_byship .byship-footer p,
body.body_byship .byship-footer li,
body.body_byship .byship-footer .footer-copyright {
  color: rgba(255,255,255,0.88) !important;
}

body.body_byship .byship-footer a:hover { color: #fff !important; }

body.body_byship .byship-footer .widget-title {
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.body_byship .byship-footer .footer-logo img {
  max-height: 44px;
  margin-bottom: 1rem;
}

body.body_byship .byship-footer .footer-contact-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

body.body_byship .byship-footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.body_byship .byship-footer .footer-menu li { margin-bottom: 0.55rem; }

body.body_byship .byship-footer .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

body.body_byship .byship-footer .footer-social-links a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  margin-right: 0.4rem;
}

/* ========== CMS / list / auth pages ========== */
body.body_byship .page-wrapper,
body.body_byship .byship-page-shell {
  padding: 2.5rem 0 3.5rem;
}

body.body_byship .byship-list-hero,
body.body_byship .byship-contact-hero {
  padding: 2.5rem 0 1.5rem;
  background: var(--byship-surface);
  border-bottom: 1px solid var(--byship-border);
  margin-bottom: 0;
}

body.body_byship .byship-list-hero h1,
body.body_byship .byship-contact-hero h1 {
  font-family: var(--heading-font);
  font-weight: 900;
  margin: 0 0 0.35rem;
}

body.body_byship .byship-list-hero p,
body.body_byship .byship-contact-hero p {
  margin: 0;
  color: var(--byship-muted);
}

body.body_byship .byship-banner__brand {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--byship-base);
}

body.body_byship .byship-cms-hero {
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

body.body_byship .byship-cms-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,24,0.15), rgba(10,12,24,0.8));
}

body.body_byship .byship-cms-hero__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.5rem;
  max-width: 42rem;
}

body.body_byship .byship-cms-hero__brand {
  font-family: var(--heading-font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

body.body_byship .byship-cms-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
}

body.body_byship .byship-cms-hero__sub {
  margin: 0;
  opacity: 0.92;
}

body.body_byship .cms-static-page--byship .cms-page-article,
body.body_byship .user-form-card,
body.body_byship .byship-auth-card,
body.body_byship .blog-page .card,
body.body_byship .contact-area .card {
  border: 1px solid var(--byship-border) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

body.body_byship .byship-auth-heading {
  font-family: var(--heading-font);
  font-weight: 900;
}

body.body_byship .byship-cms-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.body_byship .page-title {
  background: linear-gradient(180deg, var(--byship-surface), #fff);
  border-bottom: 1px solid var(--byship-border);
  padding: 1.75rem 0 1.25rem;
}

body.body_byship .page-title .breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
}

body.body_byship .page-title .breadcrumbs a {
  color: var(--byship-base);
  font-weight: 700;
}

/* Reveal */
body.body_byship .byship-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.body_byship .byship-reveal.is-visible {
  opacity: 1;
  transform: none;
}
body.body_byship .byship-reveal--delay-1 { transition-delay: 0.08s; }
body.body_byship .byship-reveal--delay-2 { transition-delay: 0.16s; }

/* Fallbacks kept for older classes */
body.body_byship .byship-btn { display: inline-flex; }
body.body_byship .byship-hero--fallback {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: linear-gradient(120deg, var(--byship-base), #0f172a 70%);
}
body.body_byship .byship-hero__inner { position: relative; z-index: 2; padding: 4rem 0 3rem; max-width: 40rem; }
body.body_byship .byship-hero__veil { position: absolute; inset: 0; background: rgba(0,0,0,0.25); }

@media (max-width: 991.98px) {
  body.body_byship .banner-section { padding: 70px 0 60px; }
  body.body_byship .banner-section::before { width: 100%; opacity: 0.45; }
  body.body_byship .steps-section .steps-grid,
  body.body_byship .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.body_byship .blog-grid { grid-template-columns: repeat(2, 1fr); }
  body.body_byship .steps-section .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  body.body_byship .banner-title-message { height: 32px; }
  body.body_byship .banner-title-message1,
  body.body_byship .banner-title-message2,
  body.body_byship .banner-title-message3,
  body.body_byship .banner-title-message4 {
    font-size: 1rem;
    padding: 4px 12px;
  }
}
