/**
 * Tools Page Styles
 *
 * @package Salient Child
 */

/* =============================================================================
   HEADER SECTION
   ============================================================================= */

.orbis-tools-header {
    background-color: var(--orbis-light-gray);
    padding: 80px 0 60px;
}

.orbis-tools-header-content {
    text-align: left;
}

.orbis-tools-title {
    text-align: center;
    color: var(--orbis-dark);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.orbis-tools-subtitle {
    color: var(--orbis-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.orbis-tools-subtitle strong {
    color: var(--orbis-dark);
    font-weight: 600;
}

/* Feature bullet list */
.orbis-tools-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.orbis-tools-features li {
    color: var(--orbis-dark);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orbis-tools-features .fa-check-circle {
    color: var(--orbis-red);
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0;
}

/* =============================================================================
   TOOLS TWO-COLUMN LAYOUT
   ============================================================================= */

.orbis-tools-grid-section {
    padding: 70px 0 90px;
    background-color: var(--orbis-white);
}

/* Side-by-side wrapper */
.orbis-tools-columns {
    display: flex;
    gap: 48px;
}

.orbis-tools-column {
    flex: 1;
    min-width: 0;
}

/* Vertical divider: right column only */
.orbis-tools-column:last-child {
    border-left: 1px solid var(--orbis-light-gray);
    padding-left: 48px;
}

.orbis-tools-column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--orbis-light-gray);
}

.orbis-tools-flag {
    width: 36px !important;
    height: 24px !important;
    max-width: 36px !important;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.orbis-tools-column-title {
    color: var(--orbis-dark);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

/* =============================================================================
   TOOL CARD
   ============================================================================= */

.orbis-tool-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: var(--orbis-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.orbis-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.orbis-tool-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 28px 24px 24px;
}

/* Icon + badge row */
.orbis-tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.orbis-tool-card-header .fa {
    color: var(--orbis-red);
    font-size: 1.5rem;
    margin-right: 0;
}

.orbis-tool-badge {
    display: inline-block;
    background-color: rgba(177, 0, 0, 0.08);
    color: var(--orbis-red);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Card body */
.orbis-tool-card-title {
    color: var(--orbis-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.orbis-tool-card-description {
    color: var(--orbis-gray);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.orbis-tool-card-hint {
    color: var(--orbis-red);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--orbis-light-gray);
}

.orbis-tool-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orbis-red);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 16px;
    transition: gap 0.25s ease;
}

.orbis-tool-card-cta .fa {
    font-size: 0.82rem;
    margin-right: 0;
    transition: transform 0.25s ease;
}

.orbis-tool-card:hover .orbis-tool-card-cta .fa {
    transform: translateX(4px);
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 768px) {
    .orbis-tools-header {
        padding: 60px 0 48px;
    }

    .orbis-tools-title {
        font-size: 2rem;
    }

    .orbis-tools-subtitle {
        font-size: 1rem;
    }

    .orbis-tools-grid-section {
        padding: 50px 0 70px;
    }

    /* Stack columns vertically – remove divider */
    .orbis-tools-columns {
        flex-direction: column;
        gap: 40px;
    }

    .orbis-tools-column:last-child {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .orbis-tools-title {
        font-size: 1.7rem;
    }

    .orbis-tool-card-link {
        padding: 22px 18px 20px;
    }
}
