.geo-quick-links-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(3, 55, 32, 0.06);
}

.geo-quick-links-card--heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ececec;
}

.geo-quick-links-card--heading i {
    color: var(--jmg-kelly-green);
    font-size: 20px;
}

.geo-quick-links-card--heading h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.geo-quick-links-card .geo-quick-links-card--list {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

@media (max-width: 480px) {
    .geo-quick-links-card .geo-quick-links-card--list {
        grid-template-columns: 1fr;
    }
}

.geo-quick-links-card .geo-quick-links-card--list li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 6px;
    border-bottom: 1px solid #f2f2f2;
}

/* Last visual row (2-col grid) shouldn't carry a bottom border. */
.geo-quick-links-card .geo-quick-links-card--list li:nth-last-child(-n+2) {
    border-bottom: none;
}

@media (max-width: 480px) {
    .geo-quick-links-card--list li:nth-last-child(-n+2) {
        border-bottom: 1px solid #f2f2f2;
    }
    .geo-quick-links-card--list li:last-child {
        border-bottom: none;
    }
}

.geo-quick-links-card .geo-quick-links-card--list li a,
.geo-quick-links-card .geo-quick-links-card--list li span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.geo-quick-links-card .geo-quick-links-card--list li span {
    padding: 10px 0;
    color: #55575c;
    font-size: 15px;
}

.geo-quick-links-card .geo-quick-links-card--list li a {
    text-decoration: none;
}

.geo-quick-links-card .geo-quick-links-card--list li a:hover span {
    color: var(--jmg-kelly-green);
}

/* Arrow icon: always visible, right after the label. Nudges forward slightly
   on hover for a bit of motion feedback. */
.geo-quick-links-card--arrow {
    color: var(--jmg-kelly-green);
    font-size: 13px;
    transition: transform 0.2s ease;
}

.geo-quick-links-card .geo-quick-links-card--list li a:hover .geo-quick-links-card--arrow {
    transform: translateX(3px);
}

.geo-quick-links-card .geo-quick-links-card--list li.is-primary span {
    padding: 12px 0;
    color: var(--jmg-kelly-green);
    font-weight: 700;
    font-size: 16px;
}

.geo-quick-links-card .geo-quick-links-card--list li.is-primary .geo-quick-links-card--arrow {
    font-size: 14px;
}

/* JMG's theme styles every list item inside a Genesis Blocks column
   (.gb-layout-column-wrap ul li, style.css ~2778) with flex alignment and a
   1.5rem top margin. 123junk's theme has no such rule, so the source block
   never had to defend against it. These reset it for this card's list —
   block.css loads after style.css, so equal specificity wins here. */
.geo-quick-links-card .geo-quick-links-card--list li:not(:first-child) {
    margin-top: 0;
}

.geo-quick-links-card .geo-quick-links-card--list li::before {
    content: none;
}
