/**
 * FAQ Skin - Tailwind CSS Companion Styles
 * Minimal CSS for elements Tailwind doesn't handle
 */

/* ===== Screen Reader Only ===== */
.sr-only,
.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Pagination (Gnuboard Default) ===== */
.pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 40px 0;
}

.pg_page,
.pg_current,
.pg_start,
.pg_end,
.pg_prev,
.pg_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.pg_page {
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.pg_page:hover {
    color: var(--theme-primary-dark);
    background: var(--theme-primary-light);
    border-color: var(--theme-primary-border);
}

.pg_current {
    color: #fff;
    background: var(--theme-primary);
    border: 1px solid var(--theme-primary-dark);
}

.pg_start,
.pg_end,
.pg_prev,
.pg_next {
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.pg_start:hover,
.pg_end:hover,
.pg_prev:hover,
.pg_next:hover {
    color: #334155;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* ===== FAQ Content Styling ===== */
#faq_con .con_inner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#faq_con .con_inner iframe,
#faq_con .con_inner video {
    max-width: 100%;
}

#faq_con .con_inner a {
    color: var(--theme-primary);
    text-decoration: underline;
}

#faq_con .con_inner a:hover {
    color: var(--theme-primary-dark);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#faq_con li {
    animation: fadeIn 0.3s ease forwards;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .pg_wrap {
        flex-wrap: wrap;
    }

    .pg_page,
    .pg_current,
    .pg_start,
    .pg_end,
    .pg_prev,
    .pg_next {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}
