/* ============================================================
   Glossary Page – design-main.css
   ============================================================ */

/* ============================================================
   Hero
   ============================================================ */
.gl-hero {
    background-color: #F69924;
    position: relative;
    overflow: hidden;
    padding: 75px 0 375px;
    margin-top: -10px;
}

.gl-hero-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 325px;
    background-color: #ffffff;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    pointer-events: none;
}

.gl-hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.gl-hero-left {
    flex: 0 0 39%;
}

.gl-hero-title {
    color: #FFF;
    font-family: Unbounded;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.gl-hero-right {
    flex: 1;
}

.gl-hero-desc {
    color: #FFF;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.gl-stats {
    background-color: transparent;
    position: relative;
    z-index: 5;
    padding: 0 0 100px;
}

.gl-stats-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.05);
    margin-top: -285px;
    padding: 50px;
    justify-content: space-between;
}

.gl-stats-item {
    position: relative;
}

.gl-stats-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -112px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px;
    background-color: rgba(23, 27, 28, 0.10);
}

.gl-stats-item:last-child {

}

.gl-stats-number {
    color: #F69924;
    font-family: Unbounded;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 15px;
}

.gl-stats-label {
    color: #171B1C;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px; /* 125% */
}

/* ============================================================
   Features
   ============================================================ */
.gl-features {
    background-color: #ffffff;
    padding: 35px 0 50px 0;
}

.gl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gl-features-item {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.gl-features-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.gl-features-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gl-features-title {
    color: #171B1C;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px;
    padding-bottom: 20px;
}

.gl-features-text {
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.gl-features-buttons {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.gl-features-buttons-wrap {
    border-radius: 1000px;
    background: #F69924;
    padding: 10px;
}

/* Shared button styles */
/* .gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid var(--gl-orange);
} */

.gl-btn-primary {
    border-radius: 100px;
    background: #FFF;
    color: #F69924;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.5s;
    cursor: pointer;
}

.gl-btn-outline {
    border-radius: 100px;
    color: #FFFFFF;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.5s;
    cursor: pointer;
}

.gl-btn-primary:hover,
.gl-btn-outline:hover {
    color: #171B1C;
}

/* ============================================================
   Search / Filter + Glossary List
   ============================================================ */
.gl-search-section {
    background-color: #fff;
    padding: 0px 0 100px 0;
}

.gl-search-section-wrap {
        border-radius: 25px;
    background: #FFF;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.05);
    padding: 50px;
}

.gl-search-box {

}

/* Search input */
.gl-search-input-wrap {
    
}

.gl-search-box .gl-search-input-wrap input {
    margin-bottom: 15px;
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    padding: 15px 30px;
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    box-shadow: none;
}

.gl-search-box .gl-search-input-wrap input::placeholder {
    color: #8D8D8D;
}

/* Filters row */
.gl-search-filters {
    display: flex;
    gap: 15px;
}

.gl-search-filters select {
    width: 300px;
    padding: 15px 30px;
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    color: #171B1C;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

/* Alphabet navigation */
.gl-search-alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-top: 30px;
}

.gl-alpha-btn {
    width: 50px;
    height: 50px;
    background: none;
    border-radius: 10px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171B1C;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.5s;
}
.gl-alpha-btn:hover {
    border-color: #F69924;
    color: #F69924;
}

.gl-alpha-btn.active {
    border-color: #F69924;
    color: #F69924;
}


/* Meta row */
.gl-search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 30px;
}

.gl-search-count {
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.gl-search-actions {
    display: flex;
    gap: 15px;
}

.gl-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    transition: all 0.5s;
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    color: #171B1C;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    background: none;
    cursor: pointer;
}

.gl-action-btn:hover {
    border-color: #F69924;
    color: #F69924;
}

/* ── Glossary list ──────────────────────────────────────────── */
.gl-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gl-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gl-group-badge {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #F69924;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.gl-group-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-top: 30px;
    border-top: 1px solid rgba(23, 27, 28, 0.10);
}

.gl-group-items--single .gl-item {
    grid-column: 1 / -1;
}

.gl-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.5s;
    border-radius: 15px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    padding: 30px;
}

.gl-item:hover {
    border-color: #F69924;
}

.gl-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.gl-item-title {
    color: #171B1C;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: capitalize;
}

.gl-item-title:hover {
    color: #F69924;
}

.gl-item-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.gl-item-bookmark,
.gl-item-share-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    color: #8D8D8D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-item-bookmark:hover,
.gl-item-share-btn:hover {
    color: var(--gl-orange);
}

.gl-item-excerpt {
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.gl-item-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gl-item-cat {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    color: #171B1C;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    transition: all 0.5s;
}

.gl-item-cat:hover {
    border-color: #F69924;
    color: #F69924;
}

.gl-item-meta {
    display: flex;
    gap: 15px;
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
}

.gl-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── Pagination ─────────────────────────────────────────────── */
.gl-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gl-page-btn {
    width: 50px;
    height: 50px;
    background: none;
    border-radius: 10px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171B1C;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.5s;
}

.gl-page-btn:hover,
.gl-page-btn.active {
    color: #F69924;
    border-color: #F69924;
}

.gl-page-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: var(--gl-gray);
}

.gl-no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--gl-gray);
    font-size: 16px;
}

/* ============================================================
   Browse by Category
   ============================================================ */
.gl-cats-section {
    background-color: #ffffff;
    padding: 0px 0 100px 0;
}

.gl-cats-title {
    color: #171B1C;
    font-family: Unbounded;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    padding-bottom: 50px;
    margin: 0;
}

.gl-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gl-cat-card {
    padding: 30px;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.5s;
}

.gl-cat-card:hover {
    border-color: #F69924;
}

.gl-cat-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gl-cat-name {
    color: #171B1C;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.gl-cat-name:hover {
    color: #F69924;
}

.gl-cat-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gl-border);
    color: var(--gl-gray);
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.15s;
}

.gl-cat-plus:hover {
    background-color: var(--gl-orange);
    border-color: var(--gl-orange);
    color: #ffffff;
}

.gl-cat-term-count {
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171B1C;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
}

.gl-cat-subcount {
    color: #8D8D8D;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.gl-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
}

.gl-cat-tag {
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    padding: 10px 15px;
    color: #171B1C;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
}

.gl-cat-tag:hover {
    border-color: #F69924;
    color: #F69924;
}

.gl-cat-more {
    border-radius: 100px;
    border: 1px solid rgba(23, 27, 28, 0.10);
    padding: 10px 15px;
    color: #171B1C;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    background: none;
    cursor: pointer;
}

.gl-cat-more:hover {
    border-color: #F69924;
    color: #F69924;
}
.gl-cat-tags-hidden[hidden] {

display: none;}

.gl-cat-tags-hidden {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.gl-cta-section {
    padding: 0 0 100px 0;
}

.gl-cta-banner {
    border-radius: 25px;
    background: #F69924;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.05);
    padding: 80px;
}

.gl-cta-title {
    color: #FFF;
    text-align: center;
    font-family: Unbounded;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 30px;
}

.gl-cta-desc {
    margin: 0 auto 30px;
    max-width: 760px;
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.gl-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.gl-btn-white {
    border-radius: 100px;
    background: #FFF;
    color: #F69924;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    padding: 15px 25px;
    border: 1px solid #FFF;
    transition: all 0.5s;
}

.gl-btn-white:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: none;
}

.gl-btn-outline-white {
    border-radius: 100px;
    color: #FFFFFF;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.5s;
}

.gl-btn-outline-white:hover {
    background-color: #ffffff;
    border: 1px solid #FFF;
    color: #F69924;
}

/* ── Loading overlay ────────────────────────────────────────────────────────── */
.gl-list.gl-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ── Share tooltip ──────────────────────────────────────────────────────────── */
.gl-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: var(--gl-dark);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 10;
    animation: gl-fade-in 0.15s ease;
}

.gl-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 12px;
    border: 5px solid transparent;
    border-top-color: var(--gl-dark);
}

@keyframes gl-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Print / Export PDF ─────────────────────────────────────────────────────── */
@media print {
    body.glossary-tpl-page > *:not(.gl-search-section) { display: none !important; }
    .gl-search-box,
    .gl-search-meta,
    .gl-item-actions,
    .gl-pagination { display: none !important; }
    .gl-search-section { padding: 0; }
    .gl-item { border: 1px solid #ccc; page-break-inside: avoid; }
}

@media (max-width: 1439px) {
    .gl-hero {
        padding: 105px 0 275px;
    }
    .gl-hero-content {
        gap: 25px;
    }
    .gl-hero-left {
        flex: 0 0 56%;
    }
    .gl-stats {
        padding: 0 0 30px;
    }
    .gl-stats-wrap {
        margin-top: -215px;
    }
    .gl-hero-shape {
        height: 275px;
    }
    .gl-stats-item:not(:last-child)::after {
        right: -40px;
    }
    .gl-features {
        padding: 90px 0 50px 0;
    }
    .gl-group-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .gl-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gl-cta-banner {
        padding: 80px 50px;
    }
}

@media (max-width: 1023px) {
    .gl-hero {
        padding: 100px 0 335px;
    }
    .gl-stats {
        padding: 0;
    }
    .gl-hero-content {
        flex-direction: column;
    }
    .gl-hero-left {
        flex: 0 0 100%;
        max-width: 540px;
        text-align: center;
    }
    .gl-hero-right {
        text-align: center;
    }
    .gl-stats-wrap {
        margin-top: -260px;
        padding: 30px;
        flex-wrap: wrap;
        gap: 30px 60px;
    }
    .gl-stats-item {
        width: calc(50% - 30px);
    }
    .gl-stats-label {
        text-align: left;
    }
    .gl-stats-item:not(:last-child)::after {
        right: -30px;
    }
    .gl-stats-item:not(:last-child):nth-child(2):after {
        display: none;
    }
    .gl-features {
        padding: 50px 0 50px 0;
    }
    .gl-features-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .gl-features-buttons {
        margin-top: 50px;
    }
    .gl-search-filters select {
        width: 50%;
    }
    .gl-item-head {
        gap: 15px;
        flex-direction: column-reverse;
    }
    .gl-item-actions {
        justify-content: space-between;
        width: 100%;
    }
    .gl-search-section {
        padding: 0px 0 50px 0;
    }
    .gl-cats-section {
        padding: 0px 0 50px 0;
    }
    .gl-cta-section {
        padding: 0 0 50px 0;
    }
}
@media (max-width: 767px) {
    .gl-hero {
        padding: 100px 0 565px;
    }
    .gl-hero-title {
        font-size: 24px;
    }
    .gl-hero-desc {
        font-size: 14px;
    }
    .gl-stats-wrap {
        margin-top: -490px;
        gap: 30px 30px;
    }
    .gl-stats-item {
        width: 100%;
    }
    .gl-stats-item:not(:last-child)::after {
        display: none;
    }
    .gl-stats-number {
        text-align: center;
    }
    .gl-stats-label {
        text-align: center;
    }
    .gl-hero-shape {
        height: 425px;
    }
    .gl-features-title {
        font-size: 18px;
    }
    .gl-features-text {
        font-size: 14px;
    }
    .gl-btn-primary {
        padding: 10px 15px;
    }
    .gl-btn-outline {
        padding: 10px 15px;
    }
    .gl-search-section-wrap {
        padding: 30px;
    }
    .gl-search-filters {
        flex-direction: column;
    }
    .gl-search-filters select {
        width: 100%;
    }
    .gl-alpha-btn {
        width: 43px;
        height: 43px;
    }
    .gl-search-meta {
        flex-direction: column;
        gap: 30px;
    }
    .gl-group-items {
        grid-template-columns: repeat(1, 1fr);
    }
    .gl-cats-title {
        font-size: 24px;
    }
    .gl-cats-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .gl-cta-banner {
        padding: 30px;
    }
    .gl-cta-title {
        font-size: 24px;
    }
    .gl-cta-buttons {
        flex-direction: column;
    }
    .gl-btn-white {
        text-align: center;
    }
    .gl-btn-outline-white {
        text-align: center;
    }
}