/* === Wishes For - Mobile-First CSS === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #333;
    --primary-dark: #111;
    --text: #222;
    --text-light: #666;
    --bg: #fff;
    --bg-alt: #f5f5f5;
    --white: #ffffff;
    --border: #ddd;
    --shadow: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.08);
    --radius: 4px;
    --radius-sm: 3px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px; /* bottom bar space */
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* === HEADER === */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 12px;
}
.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 5px 0;
}
.site-header .site-logo-img {
    height: 36px;
    width: auto;
    max-width: none;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-nav > a {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}
.header-nav > a:hover { background: var(--bg-alt); text-decoration: none; }
.header-search input {
    padding: 8px 14px;
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    width: 180px;
    transition: border-color 0.2s, width 0.2s;
}
.header-search input:focus {
    border-color: var(--primary);
    outline: none;
    width: 220px;
}
/* Dropdown przelacznika jezykow */
.lang-switcher-dropdown {
    position: relative;
}
.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text-light);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.lang-switcher-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-switcher-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    min-width: 160px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    padding: 4px 0;
}
.lang-switcher-dropdown.open .lang-switcher-menu { display: block; }
.lang-switcher-item {
    display: block;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
}
.lang-switcher-item:hover { background: var(--bg-alt); text-decoration: none; }
.lang-switcher-item.active { font-weight: 700; color: var(--primary); }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .header-nav.open { display: flex; }
    .header-search { width: 100%; }
    .header-search input { width: 100%; }
    .menu-toggle { display: flex; }
}

/* === HERO === */
.hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    padding: 32px 0;
    text-align: center;
}
.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.hero-text {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary-link {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-primary-link:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

@media (min-width: 768px) {
    .hero { padding: 48px 0; }
    .hero-title { font-size: 32px; }
    .hero-text { font-size: 16px; }
}

/* === SEKCJE === */
.section { padding: 32px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}
.section-header .section-title { margin-bottom: 0; }
.section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.page-title {
    font-size: 26px;
    font-weight: 800;
    margin: 20px 0 8px;
}
.page-subtitle {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 24px;
}

/* === CHMURA KATEGORII === */
.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}
.category-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}
.category-count {
    font-size: 11px;
    background: var(--bg-alt);
    color: var(--text-light);
    padding: 2px 7px;
    border-radius: 10px;
}

/* === KATEGORIA - ZAJAWKA I TEKST SEO === */
.category-intro {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}
@media (max-width: 768px) {
    .category-intro { padding: 16px 18px; font-size: 14px; }
}
.category-seo-text {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* === GRID OPOWIADAŃ === */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
@media (min-width: 480px) {
    .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .stories-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === KARTA ZYCZENIA === */
.story-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.story-card-image {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--bg-alt);
}
.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.story-card:hover .story-card-image img { transform: scale(1.05); }
.story-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
}
.story-card-body { padding: 16px; }
.story-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.story-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}
.story-card-title a { color: var(--text); text-decoration: none; }
.story-card-title a:hover { color: var(--primary); }
.story-card-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 8px;
}
.story-card-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* === STRONA ZYCZENIA === */
.story-page { padding: 16px 0 40px; }
.story-hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.story-hero-image img {
    width: 100%;
    height: auto;
}
.story-header { margin-bottom: 32px; }
.story-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .story-title { font-size: 36px; }
}
.story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.story-category {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.story-category:hover { opacity: 0.9; text-decoration: none; }
.story-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}
.tag-link:hover { text-decoration: underline; }

/* Spis tresci */
.story-toc {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.story-toc h2 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
}
.story-toc ol {
    padding-left: 20px;
    list-style: decimal;
}
.story-toc li { margin-bottom: 6px; }
.story-toc a { font-size: 15px; color: var(--primary); }

/* Nawigacja typow zyczen */
.wish-types-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
}
.wish-type-link {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #555;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
}
.wish-type-link:hover { background: #f1f5f9; }
.wish-type-link.wish-type-short { border-color: #60a5fa; color: #2563eb; }
.wish-type-link.wish-type-medium { border-color: #34d399; color: #059669; }
.wish-type-link.wish-type-long { border-color: #a78bfa; color: #7c3aed; }
.wish-type-link.wish-type-funny { border-color: #fbbf24; color: #d97706; }
.wish-type-link.wish-type-formal { border-color: #94a3b8; color: #475569; }

/* Sekcja typu zyczen */
.wish-type-section { margin: 32px 0; }
.wish-type-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    padding-bottom: 8px;
    border-bottom: 3px solid #e2e8f0;
}
.wish-type-title.wish-type-short { border-color: #60a5fa; }
.wish-type-title.wish-type-medium { border-color: #34d399; }
.wish-type-title.wish-type-long { border-color: #a78bfa; }
.wish-type-title.wish-type-funny { border-color: #fbbf24; }
.wish-type-title.wish-type-formal { border-color: #94a3b8; }
.wish-type-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
}

/* Lista zyczen */
.wishes-list { display: flex; flex-direction: column; gap: 12px; }
.wish-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: box-shadow 0.15s;
}
.wish-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.wish-item-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.wish-count {
    font-size: 13px;
    color: #888;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 12px;
}

/* Przycisk kopiuj */
.btn-copy-wish {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-copy-wish:hover { background: #16a34a; }
.btn-copy-sm { padding: 6px 10px; font-size: 12px; }
.story-excerpt {
    font-size: 17px;
    color: #555;
    margin: 8px 0 12px;
    line-height: 1.6;
}

/* Podobne zyczenia */
.similar-stories {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

/* === WYSZUKIWARKA === */
.search-bar {
    margin-bottom: 24px;
}
.search-bar form {
    display: flex;
    gap: 8px;
}
.search-bar input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 16px;
    transition: border-color 0.2s;
}
.search-bar input:focus {
    border-color: var(--primary);
    outline: none;
}
.search-bar button {
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.search-bar button:hover { background: var(--primary-dark); }

/* === BREADCRUMBS === */
.breadcrumbs {
    margin: 16px 0;
    font-size: 13px;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
}
.breadcrumbs li::after { content: ' / '; color: var(--text-light); margin: 0 4px; }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li:last-child span { color: var(--text); font-weight: 600; }

/* === PAGINACJA === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 32px 0;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s;
}
.page-link:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.page-current { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-dots { color: var(--text-light); padding: 0 4px; }

/* === BOTTOM BAR (mobile) === */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.bottom-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.bottom-bar-btn:hover, .bottom-bar-btn:active {
    color: var(--primary);
    text-decoration: none;
}
@media (min-width: 768px) {
    .bottom-bar { display: none; }
    body { padding-bottom: 0; }
}

/* === FOOTER === */
.site-footer {
    background: var(--text);
    color: #b0b0c0;
    padding: 32px 0 16px;
    margin-top: 48px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.footer-brand { max-width: 560px; }
.footer-brand a { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.footer-brand p { font-size: 13px; margin-top: 4px; line-height: 1.5; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #b0b0c0; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copy {
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    text-align: center;
}
.footer-copy a { color: #b0b0c0; text-decoration: none; }
.footer-copy a:hover { color: #fff; }

/* === 404 === */
.error-page {
    text-align: center;
    padding: 60px 20px;
}
.error-code {
    font-size: 100px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}
.error-page h1 {
    font-size: 24px;
    margin: 12px 0;
}
.error-page p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
    font-size: 15px;
}

/* === BLOKI INFORMACYJNE (STRONA GLOWNA) === */

/* Blok 1: O serwisie */
.info-benefits { padding: 48px 0; }
.info-benefits .section-title { text-align: center; margin-bottom: 32px; }
.info-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.info-benefit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.info-benefit-icon {
    display: none;
}
.info-benefit-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.info-benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
@media (min-width: 480px) {
    .info-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 480px) {
    .info-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === SEKCJA PORADNIKOW === */
.section-guides {
    background: var(--bg-alt);
    padding-top: 36px;
    padding-bottom: 36px;
}
.guide-card-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.guide-card {
    border-left: 3px solid var(--primary);
}
.guide-badge-review {
    background: #d97706;
}
.guide-card:has(.guide-badge-review) {
    border-left-color: #d97706;
}

/* Spis tresci poradnika */
.guide-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
}
.guide-toc ol li {
    counter-increment: toc-counter;
}
.guide-toc ol li::before {
    content: counter(toc-counter) ". ";
    color: var(--text-light);
    font-weight: 600;
}
.guide-toc ol li.toc-sub {
    padding-left: 24px;
    font-size: 14px;
}
.guide-toc ol li.toc-sub::before {
    content: "— ";
    font-weight: 400;
}

/* Akapity w poradnikach */
.guide-content p {
    margin-bottom: 16px;
}
.guide-content p:last-child {
    margin-bottom: 0;
}

/* Listy w poradnikach */
.guide-content ul {
    margin: 14px 0;
    padding-left: 32px;
    list-style: disc;
}
.guide-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
    padding-left: 6px;
}

/* Tresc poradnika */
.guide-content h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--text);
    scroll-margin-top: 72px;
}
.guide-content h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 19px;
    color: var(--text);
    scroll-margin-top: 72px;
}

/* === BRAMKA 18+ === */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(255,255,255,0.97);
    align-items: center;
    justify-content: center;
}
.age-gate-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.age-gate-box h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}
.age-gate-box p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}
.age-gate-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}
.age-gate-btn {
    padding: 12px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.age-gate-yes {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.age-gate-yes:hover { background: var(--primary-dark); }
.age-gate-no {
    background: var(--white);
    color: var(--text-light);
}
.age-gate-no:hover { background: var(--bg-alt); text-decoration: none; }

/* === OCENA GWIAZDKAMI === */
.story-rating {
    margin-top: 48px;
    padding: 28px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}
.rating-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.rating-stars {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 12px;
}
.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.15s;
}
.star-btn svg {
    fill: #d1d5db;
    stroke: #d1d5db;
    stroke-width: 0.5;
    transition: fill 0.15s;
}
.star-btn.active svg { fill: #f59e0b; stroke: #f59e0b; }
.star-btn.half svg { fill: url(#starHalf); stroke: #f59e0b; }
.star-btn:not(.voted):hover { transform: scale(1.15); }
.star-btn.voted { cursor: default; }
.rating-info {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 6px;
}
.rating-avg {
    font-weight: 700;
    font-size: 20px;
}
.rating-count {
    color: var(--text-light);
    font-size: 14px;
}
.rating-msg {
    font-size: 13px;
    color: var(--text-light);
    min-height: 20px;
}
.rating-msg.success { color: #16a34a; }
.rating-msg.error { color: #dc2626; }

/* === UTILITIES === */
@media (max-width: 768px) {
    .page-title { font-size: 22px; }
    .section-title { font-size: 18px; }
}

/* === RTL (hebrajski, arabski) === */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .container {
    direction: rtl;
}
[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .header-nav {
    flex-direction: row-reverse;
}
[dir="rtl"] .stories-grid {
    direction: rtl;
}
[dir="rtl"] .story-card-body {
    text-align: right;
}
[dir="rtl"] .story-meta,
[dir="rtl"] .story-tags,
[dir="rtl"] .breadcrumbs {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .story-toc ol {
    padding-right: 20px;
    padding-left: 0;
}
[dir="rtl"] .pagination {
    direction: rtl;
}
[dir="rtl"] .search-bar input {
    text-align: right;
}
[dir="rtl"] .category-cloud {
    direction: rtl;
}
[dir="rtl"] .lang-switcher-menu {
    right: auto;
    left: 0;
}
[dir="rtl"] .story-chapter .chapter-text {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .footer-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .bottom-bar {
    direction: rtl;
}
