/* Visit Togo page */
#page-travel {
    scroll-margin-top: calc(var(--nav-h) + 20px);
}

/* Quick navigation bar */
.visit-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--green-pale);
    border: 1px solid rgba(0, 133, 76, 0.18);
    border-radius: var(--radius);
}

.visit-toc a {
    display: inline-block;
    padding: 5px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.visit-toc a:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

/* Country visa cards */
.visa-countries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.visa-card {
    background: #f8fafb;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.visa-card.free {
    background: var(--green-pale);
    border-color: rgba(0, 133, 76, 0.25);
}

.visa-card-flag {
    font-size: 22px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.visa-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 4px 0 4px;
}

.visa-card p {
    font-size: 13px;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-required {
    background: var(--red-pale);
    color: var(--red);
}

.badge-free {
    background: var(--green-pale);
    color: var(--green);
}

.badge-info {
    background: var(--gold-pale);
    color: #7a5800;
}

/* Tourism site cards */
.tourism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.tourism-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: box-shadow 0.18s;
}

.tourism-card:hover {
    box-shadow: var(--shadow-sm);
}

.tourism-card-body {
    padding: 14px;
}

.tourism-card-body h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
}

.tourism-card-body p {
    font-size: 13px;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}

.tourism-card-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    background: var(--green-pale);
    color: var(--green);
    margin-bottom: 8px;
}

/* Hotel list */
.hotel-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.hotel-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8fafb;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.hotel-item-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 3px;
}

.hotel-item-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.hotel-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Info boxes */
.info-box {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.info-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.info-box-warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #6d4c00;
}

.info-box-danger {
    background: var(--red-pale);
    border: 1px solid rgba(206, 17, 38, 0.22);
    color: #8b0000;
}

.info-box-success {
    background: var(--green-pale);
    border: 1px solid rgba(0, 133, 76, 0.2);
    color: #004d2a;
}

/* Emergency contacts grid */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.emergency-card {
    padding: 14px 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.emergency-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.emergency-number {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 4px;
    line-height: 1.2;
}

.emergency-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 760px) {
    .visa-countries {
        grid-template-columns: 1fr 1fr;
    }

    .tourism-grid {
        grid-template-columns: 1fr;
    }

    .emergency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hotel-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .visa-countries {
        grid-template-columns: 1fr;
    }

    .emergency-number {
        font-size: 14px;
    }
}
