/* ============================================================
   pages.css – Wspólne style stron publicznych (regulamin, regulations)
   Używane przez: regulamin.php, regulations.php
   ============================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.pdf-page-main {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* Przycisk powrotu – współdzielony z accessibility.css */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.btn-back:hover {
    background-color: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 45, 105, 0.08);
}

.pdf-title {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.85rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.pdf-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.pdf-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: clamp(1.25rem, 3vw, 2rem);
    max-width: 1160px;
    margin-inline: auto;
}

.pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1rem;
}

.pdf-frame {
    width: 100%;
    min-height: 75vh;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
}

.pdf-help {
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.site-footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 0.5rem 0 0;
    padding: 0;
}
