.fote-inf {
  font-family: inherit;
  background: #f7f8fd;
  padding: 0 18px 75px;
  color: #17213b;
}
.fote-inf * { box-sizing: border-box; }
.fote-inf-wrap { max-width: 1250px; margin: auto; }

.fote-inf-hero {
  padding: 85px 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(115deg,#6575f5,#6350f1,#7832ee);
  color: white;
  margin-bottom: 40px;
}
.fote-inf-badge {
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.3);
  padding: 9px 17px;
  border-radius: 30px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 20px;
}
.fote-inf-hero h1 {
  color: white !important;
  font-size: clamp(32px,5vw,54px);
  line-height: 1.2;
  margin: 0 0 20px;
}
.fote-inf-hero p {
  color: #fff;
  opacity: .95;
  font-size: 17px;
  max-width: 760px;
  line-height: 1.8;
  margin: 0;
}
.fote-inf-card,.fote-inf-content {
  background: white;
  padding: 35px;
  border: 1px solid #e3e7f2;
  border-radius: 19px;
  box-shadow: 0 12px 35px rgba(25,30,75,.045);
}
.fote-inf-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.fote-inf h2 { font-size: 25px; color: #17213b; margin: 0 0 12px; }
.fote-inf h3 { font-size: 19px; color: #17213b; margin: 24px 0 9px; }
.fote-inf p { line-height: 1.7; }
.fote-inf-heading p,.fote-inf-muted { color: #69758a; margin: 0 0 17px; }
.fote-inf-free {
  background: #e6f8ec;
  color: #138553;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.fote-inf-featured {
  background: #f5f3ff;
  border: 1px solid #ded7ff;
  padding: 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.fote-inf-big {
  font-size: 78px;
  line-height: 1;
  color: #6844f5;
}
.fote-inf-featured strong,.fote-inf-featured small {
  display: block;
}
.fote-inf-featured small { color: #69758a; margin-top: 6px; }
.fote-inf-featured button { margin-left: auto; }

.fote-inf-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
  margin-top: 18px;
}
.fote-inf-symbol {
  border: 1px solid #e1e5f1;
  border-radius: 13px;
  background: #fafbff;
  padding: 18px 8px;
  cursor: pointer;
  text-align: center;
  color: #17213b;
  transition: .2s;
  min-width: 0;
}
.fote-inf-symbol:hover,.fote-inf-symbol:focus-visible {
  border-color: #6748f5;
  background: #f2efff;
  transform: translateY(-2px);
}
.fote-inf-symbol span {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.fote-inf-symbol small { color: #6d7690; font-size: 12px; }

.fote-inf-generator {
  background: #f7f8fd;
  border-radius: 15px;
  padding: 27px;
  margin-top: 35px;
}
.fote-inf label {
  display: block;
  font-weight: 700;
  margin: 17px 0 8px;
  font-size: 14px;
}
.fote-inf input,.fote-inf select,.fote-inf textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d8ddeb;
  border-radius: 10px;
  font: inherit;
  background: white;
  color: #17213b;
}
.fote-inf textarea { resize: vertical; }
.fote-inf input:focus,.fote-inf select:focus,.fote-inf textarea:focus {
  outline: 2px solid #b9adff;
}
.fote-inf-btn,.fote-inf-btn-outline {
  border: 1px solid #6342f4;
  border-radius: 10px;
  padding: 13px 22px;
  min-height: 48px;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}
.fote-inf-btn { background: #6342f4; color: white; }
.fote-inf-btn:hover { background: #4e2ddb; color: white; }
.fote-inf-btn-outline { background: white; color: #6342f4; }
.fote-inf-generate { margin-top: 20px; }
.fote-inf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.fote-inf-status { min-height: 22px; color: #148557; font-weight: 700; font-size: 13px; }
.fote-inf-content { margin-top: 30px; }
.fote-inf-content h2 { margin: 28px 0 14px; }
.fote-inf-content h2:first-child { margin-top: 0; }
.fote-inf-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.fote-inf-steps>div { background: #f7f8fd; border-radius: 13px; padding: 20px; }
.fote-inf-steps strong { font-size: 25px; color: #6342f4; }
.fote-inf-steps h3 { margin: 12px 0 7px; }
.fote-inf details { border: 1px solid #e3e7f2; border-radius: 10px; padding: 16px; margin: 10px 0; }
.fote-inf summary { cursor: pointer; font-weight: 700; }
.fote-inf details p { margin: 12px 0 0; color: #657086; }

@media(max-width:767px) {
  .fote-inf { padding: 0 12px 50px; }
  .fote-inf-hero { padding: 55px 18px; min-height: 320px; }
  .fote-inf-hero h1 { font-size: 32px; }
  .fote-inf-card,.fote-inf-content { padding: 20px; }
  .fote-inf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fote-inf-featured { flex-wrap: wrap; }
  .fote-inf-featured button { margin-left: 0; }
  .fote-inf-heading { flex-wrap: wrap; }
  .fote-inf-steps { grid-template-columns: 1fr; }
  .fote-inf-generator { padding: 18px; }
}


/* ====================================
   INFINITY SYMBOL TOOL - LAYOUT FIX
   ==================================== */

/* Prevent theme layout conflicts */
#foteInfinityTool {
    position: relative !important;
    clear: both !important;
    width: 100% !important;
    overflow: visible !important;
    z-index: 1 !important;
}

/* Keep hero below the site header */
#foteInfinityTool .fote-inf-hero {
    position: relative !important;
    z-index: 1 !important;
}

/* Fix symbol cards */
#foteInfinityTool .fote-inf-symbol {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;

    min-height: 125px !important;
    height: auto !important;
    padding: 20px 12px !important;

    border: 1px solid #e1e5f1 !important;
    border-radius: 14px !important;
    background: #fafbff !important;

    line-height: 1.4 !important;
    text-align: center !important;
}

/* Symbol display */
#foteInfinityTool .fote-inf-symbol span {
    display: block !important;
    font-size: 30px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    color: #17213b !important;
    overflow-wrap: anywhere !important;
}

/* Symbol label */
#foteInfinityTool .fote-inf-symbol small {
    display: block !important;
    position: static !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #69758a !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Grid spacing */
#foteInfinityTool .fote-inf-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

/* Hover */
#foteInfinityTool .fote-inf-symbol:hover {
    background: #f2efff !important;
    border-color: #6748f5 !important;
}

/* Mobile */
@media (max-width: 767px) {
    #foteInfinityTool .fote-inf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    #foteInfinityTool .fote-inf-symbol {
        min-height: 115px !important;
        padding: 15px 8px !important;
    }

    #foteInfinityTool .fote-inf-symbol span {
        font-size: 25px !important;
    }
}

