/* Basic FAQ Template Styles */
.alynt-faq-wrapper {
    padding: 40px 20px;
    min-height: 100vh;
}

.alynt-faq-container {
    margin: 0 auto;
    max-width: 960px;
    padding: 20px 0;
}

.alynt-faq-header {
    margin-bottom: 30px;
    text-align: center;
}

.alynt-faq-collections {
    margin-bottom: 20px;
}

.alynt-faq-collection-name {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 0.875rem;
    margin: 0 0.25rem;
}

.alynt-faq-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.alynt-faq-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
}

.alynt-faq-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.alynt-faq-content-wrap {
    margin: auto;
    max-width: 640px;
}

.alynt-faq-content h2,
.alynt-faq-content h3,
.alynt-faq-content h4,
.alynt-faq-content h5 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.alynt-faq-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1em;
}

.alynt-faq-content p:last-child {
    margin-bottom: 0;
}

.alynt-faq-content a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
    color: inherit;
}

.alynt-faq-content a:hover,
.alynt-faq-content a:focus:not(:focus-visible) {
    color: inherit;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
    outline: none;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.alynt-faq-content a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.alynt-faq-navigation {
    margin-top: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.alynt-faq-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.alynt-faq-nav-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
}

.alynt-faq-nav-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.alynt-faq-nav-item .nav-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 5px;
    opacity: 0.7;
}

.alynt-faq-nav-item h3 {
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 999px) {
    .alynt-faq-wrapper {
        padding: 50px 0;
    }

    .alynt-faq-container {
        padding: 0;
    }

    .alynt-faq-header {
        padding: 0 20px;
    }
    
    .alynt-faq-title {
        font-size: 1.7rem;
    }

    .alynt-faq-content {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 30px 20px;
    }

    .alynt-faq-navigation {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .alynt-faq-nav-grid {
        grid-template-columns: 1fr;
    }

    .alynt-faq-meta {
        flex-direction: column;
        gap: 10px;
    }

    .alynt-faq-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .alynt-faq-content {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alynt-faq-nav-item {
        transition: none;
    }
    .alynt-faq-nav-item:hover {
        transform: none;
    }
    .alynt-faq-content a {
        transition: none;
    }
}