/* Entaleq — modern platform styles */

/* Font Awesome icons — restore after Cairo font rules */
.fa,
.fas,
.far,
.fal,
.fad,
.fa-solid,
.fa-regular,
i[class*="fa-solid"],
i[class*="fa-regular"],
i[class*="fa-"]:not(.fab):not(.fa-brands):not([class*="fa-brands"]) {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fab,
.fa-brands,
i.fab,
i[class*="fa-brands"] {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fas,
.fa-solid,
i[class*="fa-solid"] {
    font-weight: 900 !important;
}

.far,
.fa-regular,
i[class*="fa-regular"] {
    font-weight: 400 !important;
}

:root {
    --eq-yellow: #FFCF00;
    --eq-yellow-dark: #e6b800;
    --eq-dark: #1a1a1a;
    --eq-text: #2d2d2d;
    --eq-muted: #666;
    --eq-bg: #f8f9fb;
    --eq-bg-alt: #ffffff;
    --eq-radius: 16px;
    --eq-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --eq-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --eq-max: 1140px;
}

[data-theme="dark"] {
    --eq-text: #e8e8e8;
    --eq-muted: #aaa;
    --eq-bg: #1e1e1e;
    --eq-bg-alt: #2a2a2a;
    --eq-dark: #f0f0f0;
}

/* ── Layout ── */
.eq-section {
    padding: 72px 0;
}

.eq-section--alt {
    background: var(--eq-bg);
}

.eq-container {
    max-width: var(--eq-max);
    margin: 0 auto;
    padding: 0 20px;
}

.eq-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.eq-section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--eq-text);
    margin-bottom: 12px;
}

.eq-section-header p {
    font-size: 1.05rem;
    color: var(--eq-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.eq-label {
    display: inline-block;
    background: var(--eq-yellow);
    color: #000;
    font-size: 0.98rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ── Hero ── */
.eq-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.82) 0%, rgba(26, 26, 26, 0.55) 100%),
        url('/static/images/extern/mitWolkenComp.jpg') center/cover no-repeat;
    color: #fff !important;
    text-align: center;
    padding: 100px 20px 80px;
}

.eq-hero h1,
.eq-hero p,
.eq-hero .eq-hero__sub,
.eq-hero .eq-trust-item,
.eq-hero .eq-trust-item span {
    color: #fff !important;
}

.eq-hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.eq-hero .eq-hero__sub {
    opacity: 1;
    color: rgba(255, 255, 255, 0.95) !important;
}

.eq-hero a.eq-btn--outline {
    color: #fff !important;
    border-color: #fff !important;
}

.eq-hero a.eq-btn--outline:hover {
    color: #fff !important;
}

.eq-hero__content {
    max-width: 820px;
    margin: 0 auto;
}

.eq-hero__badge {
    display: inline-block;
    background: rgba(255, 207, 0, 0.15);
    border: 1px solid rgba(255, 207, 0, 0.4);
    color: var(--eq-yellow);
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.eq-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
    color: #fff !important;
}

.eq-hero-title-rotator {
    position: relative;
    min-height: 2.8em;
}

.eq-hero-title-rotator span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px);
    animation: eq-hero-phrase 9s ease-in-out infinite;
    will-change: opacity, transform;
}

.eq-hero-title-rotator span:nth-child(2) {
    animation-delay: 3s;
}

.eq-hero-title-rotator span:nth-child(3) {
    animation-delay: 6s;
}

@keyframes eq-hero-phrase {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    8%,
    29% {
        opacity: 1;
        transform: translateY(0);
    }

    37%,
    100% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

.eq-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.85;
    opacity: 0.92;
    margin-bottom: 32px;
}

.eq-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

.eq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.eq-btn:focus-visible {
    outline: 3px solid var(--eq-yellow);
    outline-offset: 2px;
}

.eq-btn--primary {
    background: var(--eq-yellow);
    color: #000 !important;
}

.eq-btn--primary:hover {
    background: var(--eq-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 207, 0, 0.35);
    color: #000 !important;
    text-decoration: none;
}

.eq-btn--outline {
    background: transparent;
    border-color: #fff !important;
    color: #fff !important;
}

.eq-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    text-decoration: none;
}

.eq-btn--outline-dark {
    background: transparent;
    border-color: var(--eq-dark) !important;
    color: var(--eq-text) !important;
}

.eq-btn--outline-dark:hover {
    background: var(--eq-dark);
    color: #fff !important;
    text-decoration: none;
}

.eq-btn--dark {
    background: var(--eq-dark);
    color: #fff;
}

.eq-btn--dark:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.eq-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    justify-content: center;
}

.eq-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.eq-trust-item i {
    color: var(--eq-yellow);
}

/* ── Problem / Solution ── */
.eq-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .eq-problem-grid {
        grid-template-columns: 1fr;
    }
}

.eq-pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eq-pain-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--eq-text);
}

[data-theme="dark"] .eq-pain-list li {
    border-color: rgba(255, 255, 255, 0.08);
}

.eq-pain-list li i {
    color: #e53935;
    margin-top: 4px;
    flex-shrink: 0;
}

.eq-solution-box {
    background: var(--eq-bg-alt);
    border-radius: var(--eq-radius);
    padding: 32px;
    box-shadow: var(--eq-shadow);
    border-right: 4px solid var(--eq-yellow);
}

.eq-solution-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--eq-text);
}

.eq-solution-box p {
    line-height: 1.85;
    color: var(--eq-muted);
    margin-bottom: 12px;
}

/* ── Comparison ── */
.eq-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.eq-compare--single {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

.eq-compare--single .eq-compare-col {
    padding: 34px;
}

@media (max-width: 768px) {
    .eq-compare {
        grid-template-columns: 1fr;
    }
}

.eq-compare-col {
    background: var(--eq-bg-alt);
    border-radius: var(--eq-radius);
    padding: 28px;
    box-shadow: var(--eq-shadow);
}

.eq-compare-col--highlight {
    border: 2px solid var(--eq-yellow);
    background: linear-gradient(180deg, rgba(255, 207, 0, 0.06) 0%, var(--eq-bg-alt) 100%);
}

.eq-compare-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--eq-text);
}

.eq-compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eq-compare-col li {
    padding: 8px 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--eq-muted);
    display: flex;
    gap: 10px;
}

.eq-compare-col li i {
    color: var(--eq-yellow);
    margin-top: 3px;
}

/* ── Service cards ── */
.eq-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.eq-service-card {
    background: var(--eq-bg-alt);
    border-radius: var(--eq-radius);
    padding: 28px 24px;
    box-shadow: var(--eq-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.eq-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--eq-shadow-hover);
}

.eq-service-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 207, 0, 0.15);
    border-radius: 14px;
}

.eq-service-card__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.eq-service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eq-text);
}

.eq-service-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--eq-muted);
    flex: 1;
}

.eq-service-card a {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--eq-yellow-dark);
    text-decoration: none;
}

.eq-service-card a:hover {
    text-decoration: underline;
}

/* ── Timeline / Journey ── */
.eq-timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-right: 32px;
}

.eq-timeline::before {
    content: '';
    position: absolute;
    right: 11px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--eq-yellow) 0%, rgba(255, 207, 0, 0.2) 100%);
    border-radius: 2px;
}

.eq-timeline-item {
    position: relative;
    padding: 0 36px 32px 0;
}

.eq-timeline-item::before {
    content: attr(data-step);
    position: absolute;
    right: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--eq-yellow);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.eq-timeline-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--eq-text);
}

.eq-timeline-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--eq-muted);
    margin: 0;
}

.eq-roadmap {
    --roadmap-progress: 0;
    max-width: 860px;
    padding-right: 46px;
}

.eq-roadmap-visual {
    position: relative;
    max-width: 960px;
    margin: 0 auto 42px;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--eq-shadow);
    background: #111;
}

.eq-roadmap-visual picture,
.eq-roadmap-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.eq-roadmap-visual img {
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: brightness(1.16) saturate(1.04);
}

.eq-roadmap-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 56%, rgba(0, 0, 0, 0.28)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.3));
}

.eq-roadmap-visual figcaption {
    position: absolute;
    right: 28px;
    bottom: 24px;
    left: 28px;
    z-index: 1;
    max-width: 520px;
    color: #fff;
    text-align: right;
}

.eq-roadmap-visual figcaption span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 14px;
    color: #111;
    background: var(--eq-yellow);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.eq-roadmap-visual figcaption strong {
    display: block;
    color: #fff;
    font-size: clamp(1.05rem, 2.4vw, 1.55rem);
    font-weight: 900;
    line-height: 1.55;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.eq-roadmap::before {
    right: 14px;
    width: 4px;
    background: rgba(255, 207, 0, 0.24);
}

.eq-roadmap-progress {
    position: absolute;
    right: 14px;
    top: 0;
    width: 4px;
    height: 100%;
    min-height: 34px;
    max-height: 100%;
    background: linear-gradient(180deg, var(--eq-yellow) 0%, #ff9f1c 62%, var(--eq-yellow-dark) 100%);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(255, 207, 0, 0.45);
    transform: scaleY(var(--roadmap-progress));
    transform-origin: top;
    transition: transform 0.16s ease-out;
    will-change: transform;
    z-index: 1;
}

.eq-roadmap-step {
    padding: 0 44px 42px 0;
}

.eq-roadmap-step:last-child {
    padding-bottom: 0;
}

.eq-roadmap-step::before {
    right: 0;
    top: 22px;
    width: 32px;
    height: 32px;
    border: 4px solid var(--eq-bg);
    box-shadow: 0 0 0 3px rgba(255, 207, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
    z-index: 2;
}

.eq-roadmap-step.is-active::before {
    transform: scale(1.12);
    background: var(--eq-yellow-dark);
    box-shadow: 0 0 0 7px rgba(255, 207, 0, 0.2), 0 8px 22px rgba(255, 180, 0, 0.32);
}

.eq-roadmap-card {
    background: var(--eq-bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 4px solid rgba(255, 207, 0, 0.5);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--eq-shadow);
    transform: translateY(14px);
    opacity: 0.76;
    transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.eq-roadmap-step.is-active .eq-roadmap-card {
    transform: translateY(0);
    opacity: 1;
    border-right-color: var(--eq-yellow);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.eq-roadmap-card h3 {
    margin-bottom: 18px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.eq-roadmap-placeholder {
    min-height: 150px;
    border: 2px dashed rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 207, 0, 0.08) 0%, rgba(255, 207, 0, 0) 48%),
        rgba(255, 255, 255, 0.5);
}

.eq-roadmap-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(255, 207, 0, 0.16), rgba(255, 207, 0, 0.04));
    border: 1px solid rgba(255, 207, 0, 0.38);
    border-radius: 8px;
}

.eq-roadmap-intro i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #111;
    background: var(--eq-yellow);
    border-radius: 50%;
    font-size: 1.05rem;
}

.eq-roadmap-intro strong,
.eq-roadmap-intro span {
    display: block;
    text-align: right;
}

.eq-roadmap-intro strong {
    margin-bottom: 4px;
    color: var(--eq-text);
    font-size: 0.98rem;
    line-height: 1.7;
}

.eq-roadmap-intro span {
    color: var(--eq-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.eq-prep-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.eq-prep-card {
    min-height: 160px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
}

.eq-prep-card i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--eq-yellow-dark);
    background: rgba(255, 207, 0, 0.16);
    border-radius: 8px;
    font-size: 1.05rem;
}

.eq-prep-card h4 {
    margin: 0 0 8px;
    color: var(--eq-text);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.5;
}

.eq-prep-card p {
    color: var(--eq-muted);
    font-size: 0.84rem;
    line-height: 1.75;
    margin: 0;
}

.eq-language-grid {
    gap: 16px;
}

.eq-language-card {
    min-height: 235px;
    padding: 22px;
}

.eq-language-card i {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
}

.eq-language-card h4 {
    font-size: 1.02rem;
}

.eq-language-card p {
    font-size: 0.9rem;
    line-height: 1.85;
}

.eq-uni-intro {
    border-color: rgba(255, 207, 0, 0.58);
    background: linear-gradient(135deg, rgba(255, 207, 0, 0.2), rgba(255, 207, 0, 0.06));
}

.eq-uni-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
    margin-bottom: 18px;
    color: #111;
    background: var(--eq-yellow);
    border-radius: 8px;
}

.eq-uni-highlight i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    font-size: 1.25rem;
}

.eq-uni-highlight h4 {
    margin: 0 0 6px;
    color: #111;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.6;
}

.eq-uni-highlight p {
    color: rgba(0, 0, 0, 0.74);
    font-size: 0.93rem;
    line-height: 1.85;
    margin: 0;
}

.eq-uni-grid {
    gap: 16px;
}

.eq-uni-card {
    min-height: 265px;
}

.eq-uni-card h4 {
    font-size: 1rem;
}

.eq-uni-note {
    align-items: center;
    flex-wrap: wrap;
}

.eq-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    color: #111;
    background: var(--eq-yellow);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.eq-inline-link:hover {
    color: #111;
    background: var(--eq-yellow-dark);
    text-decoration: none;
}

.eq-roadmap-finale {
    position: relative;
    margin: 42px 44px 0 0;
    padding: 28px;
    text-align: center;
    color: var(--eq-text);
    background:
        linear-gradient(135deg, rgba(255, 207, 0, 0.14), rgba(255, 207, 0, 0.03)),
        var(--eq-bg-alt);
    border: 1px solid rgba(255, 207, 0, 0.38);
    border-top: 4px solid var(--eq-yellow);
    border-radius: 8px;
    box-shadow: var(--eq-shadow);
    overflow: hidden;
}

.eq-roadmap-finale::before {
    content: '';
    position: absolute;
    right: -45px;
    top: 50%;
    width: 34px;
    height: 34px;
    background: var(--eq-yellow-dark);
    border: 5px solid var(--eq-bg);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 7px rgba(255, 207, 0, 0.18);
}

.eq-roadmap-finale span {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.4;
    color: var(--eq-text);
}

.eq-roadmap-finale p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--eq-muted);
    font-size: 0.98rem;
    line-height: 1.9;
}

.eq-roadmap-finale.is-celebrating::after {
    content: '';
    position: absolute;
    inset: -18px 0 auto;
    height: 120px;
    pointer-events: none;
    background:
        radial-gradient(circle, #ffcf00 0 4px, transparent 5px) 8% 22% / 42px 42px,
        radial-gradient(circle, #111 0 3px, transparent 4px) 18% 4% / 48px 48px,
        radial-gradient(circle, #ff8c00 0 4px, transparent 5px) 29% 18% / 44px 44px,
        radial-gradient(circle, #ffffff 0 3px, transparent 4px) 43% 0 / 46px 46px,
        radial-gradient(circle, #ffcf00 0 4px, transparent 5px) 57% 16% / 42px 42px,
        radial-gradient(circle, #111 0 3px, transparent 4px) 71% 6% / 48px 48px,
        radial-gradient(circle, #ff8c00 0 4px, transparent 5px) 84% 20% / 44px 44px,
        radial-gradient(circle, #ffffff 0 3px, transparent 4px) 95% 2% / 46px 46px;
    animation: eq-confetti-fall 1.35s ease-out forwards;
}

@keyframes eq-confetti-fall {
    0% {
        opacity: 0;
        transform: translateY(-70px) scale(0.92);
    }

    16% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(125px) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eq-hero-title-rotator span {
        position: static;
        display: none;
        animation: none;
        opacity: 1;
        transform: none;
    }

    .eq-hero-title-rotator span:first-child {
        display: block;
    }

    .eq-roadmap-progress,
    .eq-roadmap-card,
    .eq-roadmap-step::before {
        transition: none;
    }
}

.eq-roadmap-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 14px;
    color: var(--eq-text);
    background: rgba(255, 207, 0, 0.1);
    border: 1px solid rgba(255, 207, 0, 0.32);
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.8;
}

.eq-roadmap-note i {
    color: var(--eq-yellow-dark);
    margin-top: 5px;
}

[data-theme="dark"] .eq-roadmap-step::before {
    border-color: var(--eq-bg);
}

[data-theme="dark"] .eq-roadmap-card {
    border-color: rgba(255, 255, 255, 0.08);
    border-right-color: rgba(255, 207, 0, 0.5);
}

[data-theme="dark"] .eq-roadmap-step.is-active .eq-roadmap-card {
    border-right-color: var(--eq-yellow);
}

[data-theme="dark"] .eq-roadmap-visual {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .eq-roadmap-placeholder {
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 207, 0, 0.12) 0%, rgba(255, 207, 0, 0) 48%),
        rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .eq-prep-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .eq-uni-highlight {
    color: #111;
}

[data-theme="dark"] .eq-roadmap-finale::before {
    border-color: var(--eq-bg);
}

@media (max-width: 576px) {
    .eq-roadmap {
        padding-right: 34px;
    }

    .eq-roadmap-visual {
        aspect-ratio: 4 / 3;
        margin-bottom: 34px;
    }

    .eq-roadmap-visual figcaption {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .eq-roadmap-step {
        padding-right: 34px;
        padding-bottom: 30px;
    }

    .eq-roadmap-card {
        padding: 18px;
    }

    .eq-roadmap-placeholder {
        min-height: 118px;
    }

    .eq-roadmap-intro {
        display: block;
    }

    .eq-roadmap-intro i {
        margin-bottom: 10px;
    }

    .eq-prep-grid {
        grid-template-columns: 1fr;
    }

    .eq-prep-card {
        min-height: auto;
    }

    .eq-language-card {
        padding: 20px;
    }

    .eq-uni-highlight {
        grid-template-columns: 1fr;
    }

    .eq-inline-link {
        width: 100%;
    }

    .eq-roadmap-finale {
        margin-right: 34px;
        padding: 22px;
    }

    .eq-roadmap-finale::before {
        right: -35px;
    }
}

/* ── Community / Feature blocks ── */
.eq-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.eq-feature-item {
    background: var(--eq-bg-alt);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--eq-shadow);
}

.eq-feature-item i {
    font-size: 1.5rem;
    color: var(--eq-yellow);
    margin-bottom: 10px;
}

.eq-feature-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--eq-text);
}

/* ── Resources ── */
.eq-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.eq-resource-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--eq-bg-alt);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--eq-text);
    box-shadow: var(--eq-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.eq-resource-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--eq-shadow-hover);
    border-color: var(--eq-yellow);
    color: var(--eq-text);
    text-decoration: none;
}

.eq-resource-link i {
    font-size: 1.25rem;
    color: var(--eq-yellow);
}

.eq-resource-link span {
    font-size: 0.92rem;
    font-weight: 600;
}

/* ── FAQ ── */
.eq-faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.eq-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

[data-theme="dark"] .eq-faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.eq-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.65;
    color: var(--eq-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

[dir="rtl"] .eq-faq-question {
    text-align: right;
}

.eq-faq-question:hover {
    color: var(--eq-yellow-dark);
}

.eq-faq-question i {
    transition: transform 0.25s;
    color: var(--eq-yellow);
}

.eq-faq-item.is-open .eq-faq-question i {
    transform: rotate(180deg);
}

.eq-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.eq-faq-answer-inner {
    padding: 0 0 22px;
    font-size: 1rem;
    line-height: 2;
    color: var(--eq-muted);
}

.eq-faq-item.is-open .eq-faq-answer {
    max-height: 500px;
}

/* ── CTA band ── */
.eq-cta-band {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff !important;
    text-align: center;
    padding: 72px 20px;
}

.eq-cta-band h2,
.eq-cta-band p {
    color: #fff !important;
}

.eq-cta-band h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.eq-cta-band p {
    font-size: 1.05rem;
    opacity: 1;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.eq-cta-band .eq-btn--outline {
    border-color: #fff !important;
    color: #fff !important;
}

.eq-cta-band .eq-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.eq-cta-band .eq-hero__actions {
    margin-bottom: 0;
}

/* ── Honest promise ── */
.eq-promise {
    background: linear-gradient(135deg, rgba(255, 207, 0, 0.12) 0%, rgba(255, 207, 0, 0.04) 100%);
    border: 1px solid rgba(255, 207, 0, 0.3);
    border-radius: var(--eq-radius);
    padding: 36px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.eq-promise h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--eq-text);
}

.eq-promise p {
    line-height: 1.85;
    color: var(--eq-muted);
    margin: 0;
}

/* ── Bureaucracy checklist ── */
.eq-bureau-body {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.eq-arrival-highlight {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.eq-bureau-checklist {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .eq-bureau-checklist {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.eq-service-card--featured {
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.eq-service-card--featured:hover {
    transform: none;
    box-shadow: none;
}

.eq-service-card--featured .eq-service-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
}

.eq-service-card--featured h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.eq-service-card--featured p {
    font-size: 0.95rem;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.75;
}

.eq-bureau-grid-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--eq-muted);
    text-align: center;
    margin: 0;
}

.eq-bureau-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 20px;
    direction: rtl;
}

.eq-bureau-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--eq-bg-alt);
    border-radius: 12px;
    box-shadow: var(--eq-shadow);
    direction: rtl;
    text-align: right;
}

.eq-bureau-item > div {
    flex: 1;
    min-width: 0;
}

.eq-bureau-item i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eq-yellow);
    font-size: 1rem;
    background: rgba(255, 207, 0, 0.12);
    border-radius: 10px;
}

.eq-bureau-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--eq-text);
    margin-bottom: 4px;
    line-height: 1.45;
}

.eq-bureau-item span {
    display: block;
    font-size: 0.82rem;
    color: var(--eq-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .eq-bureau-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }
}

@media (max-width: 640px) {
    .eq-bureau-body {
        gap: 36px;
    }

    .eq-bureau-checklist {
        gap: 20px;
        padding-top: 4px;
    }

    .eq-service-card--featured {
        padding: 0;
    }

    .eq-bureau-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
    }

    .eq-bureau-item {
        padding: 14px 16px;
        gap: 12px;
        align-items: center;
    }

    .eq-bureau-item strong {
        font-size: 0.95rem;
    }

    .eq-bureau-item span {
        font-size: 0.85rem;
    }

    .eq-section.eq-bureau-section {
        padding-bottom: 108px;
    }
}

/* ── Past events list ── */
.eq-past-events .event_items {
    margin-top: 40px;
}

.eq-past-events--preview .eq-past-event:nth-child(n+4) {
    display: none;
}

.eq-past-events__cta {
    margin-top: 28px;
}

.eq-past-event {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) minmax(220px, 32%);
    gap: 28px 32px;
    align-items: end;
    direction: rtl;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.eq-more-events > .eq-past-event:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.eq-past-events .event_date {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: solid 2px var(--eq-yellow);
    border-radius: 10px;
    background: var(--eq-bg-alt);
    box-sizing: border-box;
}

.eq-past-events .event_day {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--eq-yellow) !important;
    margin-bottom: 4px;
    line-height: 1.25;
    text-align: center;
    padding: 0 8px;
}

.eq-past-events .event_month {
    font-size: 0.95rem !important;
    font-weight: 700;
    color: var(--eq-yellow) !important;
}

.eq-past-events .event_content {
    text-align: right;
    min-width: 0;
}

.eq-past-events .event_name a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--eq-text) !important;
    text-decoration: none;
}

.eq-past-events .event_name a:hover {
    color: var(--eq-yellow) !important;
}

.eq-past-events .event_content p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--eq-muted) !important;
    margin-top: 12px;
    margin-bottom: 0;
}

.eq-past-events .event_image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--eq-radius);
    display: block;
    box-shadow: var(--eq-shadow);
}

.eq-more-events[hidden] {
    display: none !important;
}

[data-theme="dark"] .eq-past-event {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .eq-past-event {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }

    .eq-past-events .event_image {
        order: 1;
    }

    .eq-past-events .event_date {
        order: 2;
        margin: 0 auto;
    }

    .eq-past-events .event_content {
        order: 3;
    }

    .eq-past-events .event_image img {
        aspect-ratio: 16 / 10;
    }
}

/* ── Page hero (inner pages) ── */
.eq-page-hero {
    --eq-page-hero-offset: calc(45px + 104px);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 100%),
        url('/static/images/heidelberg_bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: calc(var(--eq-page-hero-offset) + 3.5rem) 20px 60px;
    margin-top: 0;
}

.eq-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff !important;
}

.eq-page-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    color: #fff !important;
}

@media (max-width: 991px) {
    .eq-page-hero {
        --eq-page-hero-offset: calc(10px + 74px);
        padding-top: calc(var(--eq-page-hero-offset) + 2.5rem);
    }
}

@media (max-width: 575px) {
    .eq-page-hero {
        --eq-page-hero-offset: calc(10px + 60px);
    }
}

/* ── Contact form enhancements ── */
.eq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .eq-form-grid {
        grid-template-columns: 1fr;
    }
}

.eq-form-group {
    margin-bottom: 16px;
}

.eq-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--eq-text);
}

[dir="rtl"] .eq-form-group label {
    text-align: right;
}

.eq-form-group input,
.eq-form-group select,
.eq-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--eq-bg-alt);
    color: var(--eq-text);
}

[dir="rtl"] .eq-form-group input,
[dir="rtl"] .eq-form-group select,
[dir="rtl"] .eq-form-group textarea {
    direction: rtl;
}

.eq-form-group input.eq-input-ltr,
[dir="rtl"] .eq-form-group input.eq-input-ltr {
    direction: ltr;
    text-align: left;
}

.eq-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.eq-form-group input:focus,
.eq-form-group select:focus,
.eq-form-group textarea:focus {
    outline: none;
    border-color: var(--eq-yellow);
    box-shadow: 0 0 0 3px rgba(255, 207, 0, 0.2);
}

.eq-form-errors {
    background: #ffebee;
    color: #c62828;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

[dir="rtl"] .eq-form-errors {
    text-align: right;
    direction: rtl;
}

.eq-form-errors ul {
    margin: 0;
    padding-right: 20px;
}

/* ── Footer improvements ── */
.eq-footer {
    background: #222;
    color: #ccc;
    padding: 48px 0 24px;
}

.eq-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    max-width: var(--eq-max);
    margin: 0 auto 32px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .eq-footer-grid {
        grid-template-columns: 1fr;
    }
}

.eq-footer-brand .eq-footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.eq-footer-brand .eq-footer-logo-link img {
    max-width: 140px;
    height: auto;
    display: block;
    filter: brightness(1.1);
}

.eq-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
    margin: 0;
}

.eq-footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.eq-footer-social-block {
    display: inline-block;
    max-width: 100%;
    margin-top: 24px;
}

.eq-footer-social-block h4 {
    margin-bottom: 12px;
    text-align: center;
}

.eq-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eq-footer ul li {
    margin-bottom: 8px;
}

.eq-footer ul a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.eq-footer ul a:hover {
    color: var(--eq-yellow);
}

.eq-footer-cta-item {
    margin-top: 12px;
}

.eq-footer-cta {
    display: inline-block;
    background: var(--eq-yellow);
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(255, 207, 0, 0.35);
}

.eq-footer-cta:hover {
    background: var(--eq-yellow-dark);
    color: #000 !important;
}

.eq-footer-phone {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
    font-weight: 600;
}

.eq-footer-whatsapp {
    color: var(--eq-yellow) !important;
    font-weight: 700;
}

.eq-footer-whatsapp:hover {
    color: var(--eq-yellow-dark) !important;
}

.eq-footer-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.eq-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.eq-footer-social a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.eq-footer-social a:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.eq-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

.ltr-term {
    direction: ltr;
    unicode-bidi: embed;
    display: inline;
}

/* ── Gallery page ── */
.eq-page-hero--activities {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.93) 0%, rgba(15, 15, 15, 0.78) 100%),
        url('/static/images/pastEvents/galleryWall.webp') center/cover no-repeat;
}

.eq-page-hero--activities h1,
.eq-page-hero--activities p {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.eq-video-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--eq-radius);
    overflow: hidden;
    box-shadow: var(--eq-shadow);
    background: #000;
}

.eq-media-showcase__label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--eq-text);
    margin-bottom: 16px;
}

.eq-media-showcase__label a {
    color: inherit;
    text-decoration: none;
}

.eq-media-showcase__label a:hover {
    color: var(--eq-yellow-dark);
}

.eq-media-showcase__label .fa-youtube {
    color: #ff0000;
}

.eq-media-showcase__label .fa-instagram {
    color: #e4405f;
}

.eq-media-showcase {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.eq-media-showcase__item--instagram {
    width: 100%;
}

.eq-instagram-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.eq-instagram-wrap {
    flex: 0 0 326px;
    width: 326px;
    max-width: 326px;
    border-radius: var(--eq-radius);
    overflow: hidden;
    box-shadow: var(--eq-shadow);
    background: #fff;
}

.eq-instagram-wrap .instagram-media {
    margin: 0 auto !important;
    max-width: 326px !important;
    min-width: 326px !important;
    width: 326px !important;
    border-radius: var(--eq-radius) !important;
}

@media (max-width: 1099px) {
    .eq-instagram-grid {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .eq-instagram-wrap {
        scroll-snap-align: center;
    }
}

.eq-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.eq-gallery-counter {
    font-size: 0.95rem;
    color: var(--eq-muted);
    margin-top: 8px;
}

.eq-gallery-toolbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.eq-gallery-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.eq-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.eq-gallery-card {
    border-radius: 10px;
    overflow: hidden;
    background: var(--eq-bg-alt);
    transition: opacity 0.2s ease;
    cursor: zoom-in;
    margin: 0;
}

.eq-gallery-card:hover {
    opacity: 0.92;
}

.eq-gallery-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef1f6;
}

.eq-gallery-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.eq-gallery-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.eq-gallery-card:hover .eq-gallery-card__media img {
    transform: scale(1.04);
}

.eq-gallery-card__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.eq-gallery-card:hover .eq-gallery-card__zoom {
    opacity: 1;
}

.eq-gallery-status {
    text-align: center;
    color: var(--eq-muted);
    margin-top: 24px;
}

.eq-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1050;
    padding: 4vw;
}

.eq-lightbox.is-open {
    display: flex;
}

.eq-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.eq-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
}

.eq-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background 0.2s ease;
}

.eq-lightbox__nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.eq-lightbox__prev {
    left: 16px;
}

.eq-lightbox__next {
    right: 16px;
}

.eq-lightbox__count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

@media (min-width: 576px) {
    .eq-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (min-width: 768px) {
    .eq-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .eq-gallery-card {
        border-radius: 12px;
    }
}

@media (min-width: 992px) {
    .eq-gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {
    .eq-gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .eq-lightbox__nav {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
}
