﻿/*
 * Bilin Framework
 * Translation Language Taxonomy
 *
 * @package Bilin_Framework
 */

.translation-language-page {
    direction: rtl;
}

.translation-language-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* =========================================================
   Hero
   ========================================================= */

.translation-language-hero {
    padding: 80px 0 72px;
    background: var(--bilin-color-cream, #fffaf3);
}

.translation-language-hero-content {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.translation-language-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    font-size: 46px;
    line-height: 1;
}

.translation-language-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--bilin-color-primary, #e85d4a);
    font-size: 0.95rem;
    font-weight: 700;
}

.translation-language-hero h1 {
    margin: 0 0 20px;
    color: var(--bilin-color-dark, #202020);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.35;
}

.translation-language-description {
    max-width: 760px;
    margin: 0 auto;
    color: var(--bilin-color-text, #555555);
    font-size: 1.08rem;
    line-height: 2;
}

/* =========================================================
   Buttons
   ========================================================= */

.translation-language-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.translation-language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.translation-language-button:hover {
    transform: translateY(-2px);
}

.translation-language-button-primary {
    background: var(--bilin-color-primary, #e85d4a);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(232, 93, 74, 0.20);
}

.translation-language-button-primary:hover {
    background: #d94e3c;
    color: #ffffff;
}

.translation-language-button-secondary {
    background: #ffffff;
    color: var(--bilin-color-dark, #202020);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.translation-language-button-secondary:hover {
    color: var(--bilin-color-primary, #e85d4a);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

/* =========================================================
   Main Content
   ========================================================= */

.translation-language-content {
    padding: 80px 0;
    background: #ffffff;
}

.translation-language-main {
    max-width: 900px;
    margin-inline: auto;
}

.translation-language-section-heading {
    margin-bottom: 34px;
}

.translation-language-section-heading h2 {
    margin: 0;
    color: var(--bilin-color-dark, #202020);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.5;
}

.translation-language-rich-content {
    color: var(--bilin-color-text, #555555);
    font-size: 1.02rem;
    line-height: 2.15;
}

.translation-language-rich-content p {
    margin: 0 0 22px;
}

.translation-language-rich-content p:last-child {
    margin-bottom: 0;
}

.translation-language-rich-content h2,
.translation-language-rich-content h3,
.translation-language-rich-content h4 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--bilin-color-dark, #202020);
    line-height: 1.6;
}

.translation-language-rich-content ul,
.translation-language-rich-content ol {
    margin: 0 0 24px;
    padding-right: 24px;
}

.translation-language-rich-content li {
    margin-bottom: 8px;
}

.translation-language-rich-content a {
    color: var(--bilin-color-primary, #e85d4a);
}

/* =========================================================
   CTA
   ========================================================= */

.translation-language-cta {
    padding: 0 0 80px;
    background: #ffffff;
}

.translation-language-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 42px;
    border-radius: 24px;
    background: var(--bilin-color-cream, #fffaf3);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.translation-language-cta-box > div {
    flex: 1;
}

.translation-language-cta-box h2 {
    margin: 0 0 14px;
    color: var(--bilin-color-dark, #202020);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.6;
}

.translation-language-cta-box p {
    margin: 0;
    color: var(--bilin-color-text, #555555);
    line-height: 2;
}

.translation-language-cta-box .translation-language-button {
    flex-shrink: 0;
}

/* =========================================================
   Empty State
   ========================================================= */

.translation-language-empty {
    padding: 100px 20px;
    text-align: center;
}

.translation-language-empty p {
    margin: 0;
    color: var(--bilin-color-text, #555555);
    font-size: 1.05rem;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {

    .translation-language-container {
        width: min(100% - 28px, 1180px);
    }

    .translation-language-hero {
        padding: 58px 0 52px;
    }

    .translation-language-content {
        padding: 58px 0;
    }

    .translation-language-cta {
        padding-bottom: 58px;
    }

    .translation-language-icon {
        width: 76px;
        height: 76px;
        font-size: 38px;
        border-radius: 20px;
    }

    .translation-language-actions {
        flex-direction: column;
    }

    .translation-language-actions .translation-language-button {
        width: 100%;
    }

    .translation-language-cta-box {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 24px;
        text-align: center;
    }

    .translation-language-cta-box .translation-language-button {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .translation-language-container {
        width: min(100% - 22px, 1180px);
    }

    .translation-language-hero {
        padding: 46px 0 42px;
    }

    .translation-language-button {
        min-height: 50px;
        padding: 11px 20px;
    }

    .translation-language-cta-box {
        padding: 26px 18px;
        border-radius: 20px;
    }
}
