@import url('https://fonts.googleapis.com/css2?family=Averia+Libre:wght@400&display=swap');

/* === CATEGORY PAGE LINK (kept if used elsewhere) === */
.view-leadership-program-category-page-link-wrapper {
    text-align: center;
    margin: 20px auto 0;
}

.view-leadership-program-category-page-link {
    display: inline-block !important;
    color: #1976d2 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    font-family: 'Averia Serif Libre', serif !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.view-leadership-program-category-page-link:hover {
    color: #FFCC33;
    text-decoration-color: #FFCC33;
}

/* === LEARN MORE BUTTON – PILL SHAPED & NO TOP/BOTTOM MARGINS === */
.leadership-learn-more-btn-wrapper {
    text-align: center !important;
    margin: 0 auto !important;              /* ← zero top/bottom, keep horizontal centering */
    padding: 0 !important;                  /* ← remove any wrapper padding if present */
}

/* The button – no margins at all */
.leadership-learn-more-btn {
    display: inline-block !important;
    font-family: 'Averia Serif Libre', serif !important;
    font-weight: bold !important;
    font-size: 13.5pt !important;           /* matched to contact button size */
    color: #FFFFFF !important;
    background-color: #446344 !important;
    padding: 0.75em 2em !important;         /* consistent with contact button */
    border-radius: 9999px !important;       /* pill shape */
    border: 2px solid #446344 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin: 0 !important;                   /* ← explicitly kill all margins on the button */
    line-height: 1.35 !important;           /* better vertical centering */
}

/* Hover/focus/active states (unchanged) */
.leadership-learn-more-btn:hover,
.leadership-learn-more-btn:focus,
.leadership-learn-more-btn:active {
    background-color: #A3C586 !important;
    color: #446344 !important;
    border: 2px solid #446344 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Optional: Slightly larger on desktop/print for hierarchy */
@media (max-width: 769px), print {
    .leadership-learn-more-btn {
        font-size: 12pt !important;
        padding: 0.85em 2.4em !important;
    }
}

/* Optional: Tighter on very small screens */
@media (max-width: 480px) {
    .leadership-learn-more-btn {
        font-size: 12pt !important;
        padding: 0.65em 1.8em !important;
    }
}