/* Home Quick Links — redesign .ql / .qlink panel
   Width via outer .et-container-wide around .hql-panel (same as Press / HomeConnect). */

.hql {
    --hql-green-900: var(--green-900, #13401a);
    --hql-green-800: var(--green-800, #1b5e20);
    --hql-green-700: var(--green-700, #2e7d32);
    --hql-gold: var(--gold, #f2b632);
    --hql-font-serif: var(--font-serif, Fraunces, Georgia, serif);
    padding: 0 0 72px;
}

.hql-panel {
    background: linear-gradient(140deg, var(--hql-green-800), var(--hql-green-900));
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.hql-panel::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 40px solid rgba(242, 182, 50, 0.14);
    pointer-events: none;
}

.hql-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hql-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hql-gold);
}

.hql-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--hql-gold);
    border-radius: 2px;
}

.hql-title {
    font-family: var(--hql-font-serif);
    color: #fff;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    margin: 8px 0 0;
    line-height: 1.2;
}

.hql-panel .row {
    position: relative;
    z-index: 1;
    margin-left: -6px;
    margin-right: -6px;
}

.hql-panel .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
}

.hql-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    height: 100%;
    min-height: 72px;
}

.hql-link:hover {
    background: #fff;
    color: var(--hql-green-900);
    text-decoration: none !important;
    transform: translateY(-2px);
}

.hql-qi {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--hql-gold);
    color: var(--hql-green-900);
    display: grid;
    place-items: center;
}

.hql-qi i {
    font-size: 16px;
    line-height: 1;
}

.hql-text {
    flex: 1;
    min-width: 0;
}

.hql-text b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.hql-text small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.3;
    margin-top: 2px;
    color: inherit;
}

.hql-ext {
    margin-left: auto;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    flex: none;
    color: inherit;
}

.hql-link:hover .hql-ext {
    opacity: 0.85;
}

/* Scroll reveal */
.hql-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hql-reveal.in {
    opacity: 1;
    transform: none;
}

@media (max-width: 720px) {
    .hql {
        padding-bottom: 52px;
    }

    .hql-panel {
        padding: 24px 18px;
    }
}
