/* Style wizualne dla artykułów Podróżne Miejsca (Front-end) */

/* Moduł Pigułka - Quick Facts */
.pm-quick-facts {
    background: #f0fdf4;
    border-left: 5px solid #10b981;
    padding: 22px 26px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}
.pm-quick-facts h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #065f46;
    font-weight: 700;
}
.pm-quick-facts ul {
    margin: 0;
    padding-left: 20px;
}
.pm-quick-facts li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #1f2937;
}

/* Zdjęcia w treści */
.pm-content-image {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
}
.pm-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.09);
    display: inline-block;
}

/* Tabela kosztów i logistyki */
.pm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.pm-table th {
    background: #0f766e;
    color: #ffffff;
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
}
.pm-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    line-height: 1.5;
}
.pm-table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.pm-table tbody tr:hover {
    background: #f1f5f9;
}

/* Ramka z patentami / tipami */
.pm-box-tip {
    background: #eff6ff;
    border-left: 5px solid #3b82f6;
    padding: 22px 26px;
    margin: 35px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.08);
}
.pm-box-tip h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1e40af;
    font-weight: 700;
}
.pm-box-tip ul {
    margin: 0;
    padding-left: 20px;
}
.pm-box-tip li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #1e293b;
}

/* Ciekawostki */
.pm-curiosities-box {
    background: #fffbeb;
    border-left: 5px solid #f59e0b;
    padding: 24px 28px;
    margin: 35px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}
.pm-curiosities-box h4 {
    margin: 0 0 14px 0;
    font-size: 19px;
    color: #b45309;
    font-weight: 700;
}
.pm-curiosities-box ul {
    margin: 0;
    padding-left: 20px;
}
.pm-curiosities-box li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #1f2937;
}

/* Sekcja FAQ */
.pm-faq-section {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 26px 30px;
    margin: 40px 0;
}
.pm-faq-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}
.pm-faq-item {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e5e7eb;
}
.pm-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.pm-faq-q {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #0f172a;
    font-weight: 700;
}
.pm-faq-a {
    margin: 0;
    line-height: 1.6;
    color: #4b5563;
}

/* Badge Czasu Czytania */
.pm-reading-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    margin: 0 0 25px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}
.pm-reading-badge-sep {
    color: #cbd5e1;
}

/* Spis Treści (Table of Contents) */
.pm-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.pm-toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}
.pm-toc-icon {
    font-size: 18px;
}
.pm-toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}
.pm-toc-list {
    margin: 0;
    padding-left: 20px;
}
.pm-toc-list li {
    margin-bottom: 7px;
    line-height: 1.5;
    font-size: 14px;
}
.pm-toc-list li a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.pm-toc-list li a:hover {
    color: #0d9488;
    text-decoration: underline;
}

/* Płynne przewijanie do kotwic */
html {
    scroll-behavior: smooth;
}
h2[id^="sekcja-"] {
    scroll-margin-top: 40px;
}

