/* ---------------------------------------------------------
   GLOBAL LAYOUT
--------------------------------------------------------- */

.fti-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.fti-section {
    background: #f8f9fb;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 30px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.fti-section h2 {
    margin-top: 0;
    font-size: 1.6rem;
    color: #1a2a3a;
    border-bottom: 2px solid #d0d6df;
    padding-bottom: 6px;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------
   ANSWER BOX (TOP SUMMARY)
--------------------------------------------------------- */

.fti-answer-box {
    background: #ffffff;
    border: 2px solid #0a6cff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.fti-answer-box h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: #0a2a4a;
}

.fti-answer-box .fti-answer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.fti-answer-item {
    background: #f0f6ff;
    border: 1px solid #cfe0ff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.fti-answer-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* ---------------------------------------------------------
   TIDE TABLE
--------------------------------------------------------- */

.fti-tide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.fti-tide-table th,
.fti-tide-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e5ea;
    font-size: 0.95rem;
}

.fti-tide-table th {
    background: #eef1f5;
    font-weight: 600;
}

/* ---------------------------------------------------------
   INFO BLOCKS (TIDE / SOLUNAR / WIND)
--------------------------------------------------------- */

.fti-tide-block p,
.fti-solunar-block p,
.fti-wind-block p {
    margin: 6px 0;
    font-size: 1rem;
    color: #2a3a4a;
}

.fti-highlight {
    font-weight: 600;
    color: #0a6cff;
}

/* ---------------------------------------------------------
   GEAR LIST
--------------------------------------------------------- */

.fti-gear-list li {
    margin: 6px 0;
    font-size: 1rem;
    color: #2a3a4a;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 600px) {
    .fti-section {
        padding: 16px;
    }

    .fti-answer-box {
        padding: 16px;
    }

    .fti-answer-box h1 {
        font-size: 1.6rem;
    }
}

/*enhancements*/

/*Hero header*/
.fti-hero {
    text-align: center;
    margin-bottom: 30px;
}

.fti-hero h1 {
    font-size: 2.4rem;
    margin: 0;
    color: #0a2a4a;
}

.fti-hero-sub {
    font-size: 1.1rem;
    color: #4a5a6a;
    margin-top: 6px;
}

/*Two‑column layout*/
.fti-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 800px) {
    .fti-main-grid {
        grid-template-columns: 1fr;
    }
}


/*Icons (simple placeholders you can replace later)*/
.fti-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px auto;
    background-size: contain;
    background-repeat: no-repeat;
}

.tide-icon {
    background-image: url('https://img.icons8.com/ios-filled/50/0a6cff/wave.png');
}

.moon-icon {
    background-image: url('https://img.icons8.com/ios-filled/50/0a6cff/moon.png');
}

.wind-icon {
    background-image: url('https://img.icons8.com/ios-filled/50/0a6cff/wind.png');
}

.moonphase-icon {
    background-image: url('https://img.icons8.com/ios-filled/50/0a6cff/bright-moon.png');
}
