/* HACKER WEB — ELEMENTOR HUB V1 */

:root {
    --el-bg: #05090b;
    --el-card: rgba(11,17,20,.84);
    --el-border: rgba(255,255,255,.085);
    --el-green: #63ffb4;
    --el-pink: #ff47e6;
    --el-violet: #9f72ff;
    --el-text: #edf7f2;
    --el-muted: #84958e;
}

.hw-elementor-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(255,71,230,.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 34%,
            rgba(99,255,180,.06),
            transparent 32%
        ),
        #05090b;

    color: var(--el-text);
}

.el-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.el-hero {
    position: relative;
    overflow: hidden;

    padding:
        clamp(90px, 11vw, 150px)
        0
        clamp(62px, 8vw, 105px);

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.el-hero::after {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,71,230,.14),
            transparent 66%
        );

    pointer-events: none;
}

.el-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: var(--el-green);
}

.el-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--el-green);
}

.el-hero h1 {
    max-width: 900px;

    margin: 0;

    font-size:
        clamp(44px, 7vw, 92px);

    line-height: .96;
    letter-spacing: -.055em;

    color: #fff;
}

.el-hero h1 span {
    color: var(--el-pink);
}

.el-lead {
    max-width: 720px;

    margin-top: 30px;

    font-size:
        clamp(17px, 2vw, 21px);

    line-height: 1.7;

    color: #a8b8b1;
}

.el-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.el-chip {
    padding: 9px 13px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 999px;

    background:
        rgba(255,255,255,.025);

    font-size: 12px;

    color: #b9c6c1;
}

.el-section {
    padding:
        clamp(62px, 8vw, 110px)
        0;
}

.el-section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;

    margin-bottom: 36px;
}

.el-section-label {
    margin-bottom: 12px;

    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: var(--el-green);
}

.el-section h2 {
    margin: 0;

    font-size:
        clamp(30px, 4vw, 50px);

    letter-spacing: -.035em;
    line-height: 1.02;
}

.el-feed {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.el-card {
    position: relative;
    overflow: hidden;

    min-height: 100%;

    border:
        1px solid var(--el-border);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(16,23,27,.94),
            rgba(7,11,13,.96)
        );

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.el-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255,71,230,.24);

    box-shadow:
        0 24px 70px rgba(0,0,0,.32);
}

.el-card-image {
    position: relative;
    aspect-ratio: 1 / .69;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255,71,230,.09),
            rgba(99,255,180,.05)
        );
}

.el-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.el-card:hover .el-card-image img {
    transform: scale(1.035);
}

.el-card-body {
    padding: 23px;
}

.el-card-date {
    margin-bottom: 11px;

    font-size: 11px;
    letter-spacing: .08em;

    color: #73857d;
}

.el-card h3 {
    margin: 0 0 13px;

    font-size: 20px;
    line-height: 1.25;

    color: #f6fbf8;
}

.el-card p {
    margin: 0;

    color: #91a29a;
    line-height: 1.65;
    font-size: 14px;
}

.el-card-link {
    position: absolute;
    inset: 0;

    z-index: 2;
}

.el-empty {
    grid-column: 1 / -1;

    padding:
        clamp(42px, 6vw, 80px);

    text-align: center;

    border:
        1px dashed rgba(255,255,255,.12);

    border-radius: 22px;

    background:
        rgba(255,255,255,.018);
}

.el-empty-symbol {
    font-size: 46px;
    margin-bottom: 18px;
}

.el-empty h3 {
    margin: 0 0 10px;
    font-size: 23px;
}

.el-empty p {
    max-width: 560px;
    margin: 0 auto;

    color: #87988f;
    line-height: 1.7;
}

.el-bottom-cta {
    margin-top: 28px;

    padding: 32px;

    border:
        1px solid rgba(99,255,180,.12);

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            rgba(99,255,180,.055),
            rgba(255,71,230,.045)
        );

    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
}

.el-bottom-cta strong {
    display: block;
    margin-bottom: 6px;

    font-size: 20px;
}

.el-bottom-cta p {
    margin: 0;
    color: #8fa098;
}

.el-button {
    display: inline-flex;

    padding: 12px 18px;

    border:
        1px solid rgba(99,255,180,.25);

    border-radius: 12px;

    color: var(--el-green);
    text-decoration: none;

    white-space: nowrap;
}

@media (max-width: 900px) {
    .el-feed {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .el-shell {
        width: min(100% - 28px, 1180px);
    }

    .el-feed {
        grid-template-columns: 1fr;
    }

    .el-section-head,
    .el-bottom-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* WEBHVA ELEMENTOR CARD META V1 */

.el-card {
    display: flex;
    flex-direction: column;
}

.el-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.el-card-meta {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-top: auto;
    padding-top: 17px;

    border-top:
        1px solid rgba(255,255,255,.095);
}

.el-card-body > p + .el-card-meta {
    margin-top: 20px;
}

.el-card-author {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 9px;
}

.el-card-avatar {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.13);

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(99,255,180,.08),
            rgba(255,71,230,.055)
        );

    color:
        rgba(222,236,229,.82);
}

.el-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.el-card-avatar svg {
    width: 19px;
    height: 19px;
}

.el-card-author-name {
    overflow: hidden;

    color:
        rgba(222,235,229,.84);

    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;

    letter-spacing: .035em;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.el-card-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;

    flex: 0 0 auto;
}

.el-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color:
        rgba(145,162,154,.82);

    font-size: 9px;
    line-height: 1;

    white-space: nowrap;
}

.el-card-stat svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: .82;
}

@media (max-width: 1180px) {
    .el-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .el-card-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .el-card-meta {
        flex-direction: row;
        align-items: center;
    }

    .el-card-author-name {
        max-width: 115px;
    }

    .el-card-stats {
        gap: 9px;
    }

    .el-card-stat {
        font-size: 8.5px;
    }
}

@media (max-width: 430px) {
    .el-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* WEBHVA ELEMENTOR CARD FOOTER BOTTOM ALIGN V1 */

/* усі картки одного ряду розтягуємо до однакової висоти */
.el-feed {
    align-items: stretch !important;
}

.el-card {
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
}

/* картинка не стискається */
.el-card-image {
    flex: 0 0 auto !important;
}

/* текстова частина займає весь залишок */
.el-card-body {
    flex: 1 1 auto !important;

    display: flex !important;
    flex-direction: column !important;

    height: 100% !important;
}

/* excerpt лишається зверху */
.el-card-body > p {
    flex: 0 0 auto !important;
}

/* footer завжди в самому низу */
.el-card-meta {
    margin-top: auto !important;

    padding-top: 17px !important;

    align-self: stretch !important;
}

/* стабільний проміжок між текстом і footer */
.el-card-body > p + .el-card-meta {
    margin-top: auto !important;
    padding-top: 20px !important;
}

