/* =========================================================
   CRUISE LINES — BASE LAYOUT (PHASE 1)
   Applies only to cruise line pages
   ========================================================= */

.page-cruise-line {
  background: #ffffff;
  color: #222;
  font-family: "Inter", system-ui, sans-serif;
}

/* ------------------------------
   SECTION SPACING
------------------------------ */
.page-cruise-line .section {
  padding: 70px 0;
  background: #ffffff;
}

@media (max-width: 768px) {
  .page-cruise-line .section {
    padding: 50px 0;
  }
}

/* ------------------------------
   CONTAINER
------------------------------ */
.page-cruise-line .container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ------------------------------
   HEADINGS
------------------------------ */
.page-cruise-line .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111;
  letter-spacing: -0.5px;
  text-align: center !important;
}

@media (max-width: 768px) {
  .page-cruise-line .section-title {
    font-size: 1.8rem;
  }
}

/* ------------------------------
   PARAGRAPHS
------------------------------ */
.page-cruise-line p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 18px;
}

/* =========================================================
   SECTION DIVIDERS — CLEANED + PREMIUM VERSION
   ========================================================= */

.page-cruise-line .section:not(:last-of-type) {
  border-bottom: none !important;
  margin-bottom: 40px !important;
  padding-bottom: 40px !important;
}

.page-cruise-line .section:not(:last-of-type)::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
  margin: 35px auto 0 auto;
  border-radius: 2px;
}

/* =========================================================
   CRUISE LINES — CARD SYSTEM (PHASE 2)
   ========================================================= */

.page-cruise-line .line-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 25px;
}

@media (max-width: 992px) {
  .page-cruise-line .line-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .page-cruise-line .line-list-grid {
    grid-template-columns: 1fr;
  }
}

.page-cruise-line .line-list-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 26px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.page-cruise-line .cruise-list-card {
  background: linear-gradient(145deg, #d0dcff 0%, #b0c4ff 100%);
  border: 2px solid #c2c8d3;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

/* CTA text inside ship cards */
.page-cruise-line .cruise-list-card .cruise-list-cta {
  margin-top: 10px;
  font-weight: 600;
  color: #003f7f;
}

/* Hover underline for CTA */
.page-cruise-line .cruise-list-card .cruise-list-cta:hover {
  text-decoration: underline;
}


/* Make ship titles blue (premium look) */
.page-cruise-line .cruise-list-card .cruise-list-title {
  color: #0055ff;
  font-weight: 700;
}


.page-cruise-line .cruise-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  border-color: #a8b0bb;
}

.page-cruise-line .line-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}

.page-cruise-line .line-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
  letter-spacing: -0.3px;
}

.page-cruise-line .line-list-title a {
  color: #111;
  text-decoration: none;
}

.page-cruise-line .line-list-title a:hover {
  text-decoration: underline;
}

.page-cruise-line .line-list-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.55;
}

/* =========================================================
   HERO SECTION (PHASE 3)
   ========================================================= */

.page-cruise-line .hero {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-cruise-line .hero {
    height: 280px;
  }
}

.page-cruise-line .hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.page-cruise-line .hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(255, 255, 255, 0.15) 100%
  );
  z-index: 2;
}

.page-cruise-line .hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
}

.page-cruise-line .hero .hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .page-cruise-line .hero .hero-title {
    font-size: 2rem;
  }
}

.page-cruise-line .hero .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .page-cruise-line .hero .hero-subtitle {
    font-size: 1rem;
  }
}

/* =========================================================
   OFFICIAL WEBSITE SECTION
   ========================================================= */

.page-cruise-line .line-official {
  text-align: center;
  margin-top: 20px;
}

.page-cruise-line .line-official p {
  max-width: 700px;
  margin: 0 auto 25px auto;
  font-size: 1.05rem;
  color: #444;
}

.page-cruise-line .btn-primary {
  display: inline-block;
  background: #0055ff;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.2px;
  box-shadow: 0 6px 18px rgba(0, 85, 255, 0.35);
  transition: all 0.25s ease;
}

.page-cruise-line .btn-primary:hover {
  background: #003fcc;
  box-shadow: 0 10px 26px rgba(0, 85, 255, 0.45);
  transform: translateY(-3px);
}

.page-cruise-line .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 85, 255, 0.25);
}

/* =========================================================
   HEADER + BREADCRUMB SPACING FIX
========================================================= */

.page-cruise-line .breadcrumb {
  margin-top: 110px !important;
}

/* =========================================================
   SECTION SPACING FIX (PHASE 1)
========================================================= */

.page-cruise-line .section {
  padding: 40px 0 !important;
}

/* ==================================================
   GLOBAL FOOTER — APPLIED TO CRUISE-LINE PAGES
   ================================================== */

.page-cruise-line .site-footer {
  background: #0d2247 !important;
  padding: 28px 0 18px !important;
  border-top: 1px solid #0b1a33 !important;
  margin-top: 0 !important;
}

/* Force global footer font */
.page-cruise-line .site-footer {
  font-family: 'Montserrat', sans-serif !important;
}


.page-cruise-line .site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px !important;
  padding: 0 !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #0b1a33 !important;
}

.page-cruise-line .site-footer .footer-col h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
  text-decoration: none !important; /* remove underline */
}

.page-cruise-line .site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cruise-line .site-footer .footer-col ul li {
  margin-bottom: 4px !important;
}

.page-cruise-line .site-footer .footer-col ul li a {
  font-size: 0.97rem;
  color: #dbe4f3 !important;
  text-decoration: none;
  transition: 0.2s ease;
}

.page-cruise-line .site-footer .footer-col ul li a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-cruise-line .site-footer .footer-col ul li a::before {
  content: "•";
  margin-right: 6px;
  color: #9bb0d4 !important;
  font-size: 0.7rem;
  position: relative;
  top: -1px;
}

.page-cruise-line .site-footer .footer-bottom {
  text-align: center;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid #0b1a33 !important;
}

.page-cruise-line .site-footer .footer-bottom p {
  font-size: 0.93rem;
  color: #dbe4f3 !important;
  letter-spacing: 0.25px;
}

/* Back to Top button — match global footer */
.page-cruise-line #backToTop {
  background: #0d2247;                 /* same dark blue as footer */
  border: 1px solid #9bb0d4;           /* same border as index footer */
  padding: 8px 14px;                   /* identical spacing */
  border-radius: 6px;                  /* same rounded corners */
  color: #dbe4f3;                      /* footer text colour */
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.page-cruise-line #backToTop:hover {
  background: #123064;                 /* lighter hover blue */
  border-color: #ffffff;               /* white border on hover */
}

