/**
 * FG Theme - Main Stylesheet
 *
 * This file is for template-specific overrides and future CSS additions.
 * The base styles and CSS variables are defined in style.css.
 *
 * @package FG_Theme
 */

/* ====================================
   Accessibility
   ==================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--fg-primary);
    color: var(--fg-white);
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* ====================================
   Badges
   ==================================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: var(--fg-font-size-sm);
    font-weight: var(--fg-font-weight-medium);
    border-radius: 4px;
    margin: 0.25rem;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--fg-light);
    color: var(--fg-primary);
}

.badge-accent {
    background: var(--fg-accent);
    color: var(--fg-primary);
}

/* ====================================
   Pagination
   ==================================== */
.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--fg-light);
    border-radius: 4px;
    text-decoration: none;
    color: var(--fg-primary);
    transition: all 0.2s ease;
}

.pagination .page-numbers.current {
    background: var(--fg-secondary);
    border-color: var(--fg-secondary);
    color: var(--fg-primary);
    font-weight: var(--fg-font-weight-bold);
}

.pagination .page-numbers:hover {
    background: var(--fg-light);
}

/* ====================================
   Link with arrow
   ==================================== */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--fg-font-heading);
    font-weight: var(--fg-font-weight-semibold);
    color: var(--fg-accent-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.link-arrow::after {
    content: "→";
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    gap: 0.75rem;
    color: var(--fg-text);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ====================================
   Widget styles
   ==================================== */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: var(--fg-font-size-lg);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--fg-secondary);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 0.5rem;
}

.widget a {
    color: var(--fg-primary);
    text-decoration: none;
}

.widget a:hover {
    color: var(--fg-accent-dark);
}

/* ====================================
   Comments
   ==================================== */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--fg-light);
}

.comment-meta {
    font-size: var(--fg-font-size-sm);
    color: #666;
    margin-bottom: 0.75rem;
}

.comment-author .fn {
    font-weight: var(--fg-font-weight-semibold);
    font-style: normal;
}

.reply a {
    font-size: var(--fg-font-size-sm);
    color: var(--fg-accent-dark);
    text-decoration: none;
}

/* ====================================
   Responsive helpers
   ==================================== */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }
}