/* ==========================================================
   LINKS
========================================================== */

a {

    color: inherit;

    text-decoration: none;

    transition: .2s ease;

}

a:hover {

    color: var(--color-primary);

}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    margin: 0;

    font-family: var(--font-heading);

    font-weight: 700;

    line-height: 1.2;

    color: var(--text-primary);

}

h1 {

    font-size: 3.25rem;

}

h2 {

    font-size: 2.25rem;

}

h3 {

    font-size: 1.5rem;

}

h4 {

    font-size: 1.25rem;

}

p {

    margin: 0;

    color: var(--text-secondary);

}


/* ==========================================================
   HELPERS
========================================================== */

.text-center {

    text-align: center;

}

.hidden {

    display: none !important;

}

.w-100 {

    width: 100%;

}


/* ==========================================================
   HERO
========================================================== */

.hero-stat-icon {

    width: 24px !important;

    height: 24px !important;

    flex-shrink: 0;

    object-fit: contain;

}


/* ==========================================================
   ALPHABET FILTER
========================================================== */

.alphabet-filter-wrapper {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

}

.alphabet-button {

    width: 42px;

    height: 42px;

    background: #ffffff;

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

    border-radius: 8px;

    cursor: pointer;

    transition: .2s ease;

}

.alphabet-button:hover,
.alphabet-button.active {

    background: var(--color-primary);

    border-color: var(--color-primary);

    color: #ffffff;

}


/* ==========================================================
   HOMEPAGE
========================================================== */

.homepage-section {

    padding: 50px 0;

}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;

}

.section-header h2 {

    margin: 0;

    font-size: 2rem;

    font-weight: 800;

    letter-spacing: -.02em;

}

.section-header a {

    font-weight: 600;

}


/* ==========================================================
   SEARCH DROPDOWN
========================================================== */

.search-box {

    position: relative;

    flex: 1;

}

.search-results {

    position: absolute;

    top: calc(100%+8px);

    left: 0;

    display: none;

    width: 100%;

    margin-top: 8px;

    max-height: 320px;

    overflow-y: auto;

    opacity: 1;

    z-index: 10002;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-shadow:
        0 20px 40px rgba(0,0,0,.15);

}

.search-results.active {

    display: block;

}

.search-result {

    display: block;

    padding: 14px 20px;

    background: #ffffff;

    border-bottom: 1px solid #f1f5f9;

    cursor: pointer;

    text-decoration: none;

}

.search-result:last-child {

    border-bottom: none;

}

.search-result:hover {

    background: #f8fafc;

}

.search-type {

    margin-bottom: 4px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    color: #6b7280;

}

.search-label {

    font-size: 16px;

    font-weight: 600;

    color: #111827;

}

.search-subtitle {

    margin-top: 4px;

    font-size: 13px;

    color: #6b7280;

}