/* ─── Guideline Page ─────────────────────────────────────────────── */

.gl-page {
    position: relative;
    background-image: url('../img/hero.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gl-page__overlay {
    position: absolute;
    inset: 0;
    background: #0000008a;
    z-index: 0;
}

.gl-page__content {
    position: relative;
    z-index: 1;
}

/* ─── Page Title ─────────────────────────────────────────────────── */
.gl-page-title {
    text-align: center;
    padding: 28px 0 18px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    margin: 0;
}

/* ─── Crystal / Glassmorphism Cards ──────────────────────────────── */
.gl-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

/* ─── Card Image ─────────────────────────────────────────────────── */
.gl-card__img-wrap {
    width: 100%;
    height: 245px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .35s ease;
    padding: 4px;
}

.gl-card:hover .gl-card__img-wrap img {
    transform: scale(1.04);
}

/* ─── Card Body ──────────────────────────────────────────────────── */
.gl-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gl-card__title {
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 8px;
    flex: 1;
}

.gl-card__title a {
    color: #fff;
    text-decoration: none;
}

.gl-card__title a:hover {
    color: #f0c040;
    text-decoration: underline;
}

/* ─── Card Footer ────────────────────────────────────────────────── */
.gl-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.gl-card__date {
    font-size: .75rem;
    color: rgba(255,255,255,.75);
    margin: 0;
}

/* ─── Latest Badge Blink ─────────────────────────────────────────── */
.badge-latest {
    background: #d62828;
    color: #fff;
    font-size: .62rem;
    padding: 2px 7px;
    border-radius: 20px;
    vertical-align: middle;
    animation: gl-blink 1.2s step-start infinite;
    display: inline-block;
    margin-left: 4px;
}

@keyframes gl-blink {
    50% { opacity: 0; }
}

/* ─── Pagination ─────────────────────────────────────────────────── */
.gl-pagination .page-link {
    border-radius: 6px !important;
    margin: 0 2px;
    border: 1px solid #1a7a1a;
    background: #1a7a1a;
    color: #fff;
    font-size: .8rem;
}

.gl-pagination .page-link:hover {
    background: #145e14;
    border-color: #145e14;
    color: #fff;
}

.gl-pagination .page-item.active .page-link {
    background: #f0a500;
    border-color: #f0a500;
    color: #fff;
}

.gl-pagination .page-item.disabled .page-link {
    background: #555;
    border-color: #555;
    color: #aaa;
    opacity: 1;
}
.pagination div p.text-muted{
    color: #fff !important
}