/* ==========================================================================
   CMS pages - premium redesign (The Fly Factory)
   Brand: #df1f26 red · scoped to body#cms
   ========================================================================== */

body#cms .breadcrumb,
body#cms .breadcrumb a {
  color: #5b667a;
}

body#cms .tff-cms-hero {
  margin: 0 0 24px;
  padding: 34px 32px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(223, 31, 38, .28) 0%, rgba(223, 31, 38, 0) 55%),
    linear-gradient(135deg, #1a0a0c 0%, #4a1014 42%, #df1f26 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(223, 31, 38, .22);
  position: relative;
  overflow: hidden;
}

body#cms .tff-cms-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #df1f26, #ff6b6f);
  opacity: .95;
}

body#cms .tff-cms-hero__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

body#cms .rte.tff-cms-content {
  padding: 28px 32px 32px;
  background: linear-gradient(180deg, #ffffff, #fcfcfc);
  border: 1.5px solid #e6e6e6;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 20px 44px -28px rgba(15, 23, 42, .22);
  font-size: 15px;
  line-height: 1.7;
  color: #243247;
}

body#cms .rte.tff-cms-content p {
  margin: 0 0 14px;
}

body#cms .rte.tff-cms-content h3,
body#cms .rte.tff-cms-content h2 {
  margin: 26px 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #1a0a0c;
  position: relative;
  padding-bottom: 10px;
}

body#cms .rte.tff-cms-content h3::after,
body#cms .rte.tff-cms-content h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #df1f26, #ff6b6f);
}

body#cms .rte.tff-cms-content strong {
  color: #1a0a0c;
  font-weight: 700;
}

body#cms .rte.tff-cms-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body#cms .rte.tff-cms-content ul li {
  position: relative;
  padding: 12px 16px 12px 42px;
  background: linear-gradient(180deg, #fff6f6, #fff);
  border: 1px solid #f1d6d8;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #243247;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body#cms .rte.tff-cms-content ul li:hover {
  transform: translateY(-1px);
  border-color: #df1f26;
  box-shadow: 0 4px 12px rgba(223, 31, 38, .12);
}

body#cms .rte.tff-cms-content ul li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #df1f26, #ff6b6f);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

body#cms .rte.tff-cms-content ul li p {
  margin: 0;
}

body#cms .rte.tff-cms-content a {
  color: #df1f26;
  font-weight: 600;
  text-decoration: none;
}

body#cms .rte.tff-cms-content a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  body#cms .tff-cms-hero {
    padding: 24px 20px;
  }
  body#cms .tff-cms-hero__title {
    font-size: 24px;
  }
  body#cms .rte.tff-cms-content {
    padding: 22px 18px 24px;
  }
  body#cms .rte.tff-cms-content h3,
  body#cms .rte.tff-cms-content h2 {
    font-size: 18px;
  }
}

/* text in front */
body#cms .tff-cms-hero__title { position: relative; z-index: 1; }
