:root {
  --bg: #1c1e24;
  --bg-alt: #262932;
  --paper: #fbf9f5;
  --card: #ffffff;
  --text: #2b2e35;
  --text-light: #6b6f7a;
  --text-dim: #9498a3;
  --accent: #d4610a;
  --accent-hover: #b8530a;
  --border: #e6e2d9;
  --shadow-sm: 0 1px 3px rgba(30,30,30,.08);
  --shadow-md: 0 4px 14px rgba(30,30,30,.1);
  --shadow-lg: 0 12px 32px rgba(30,30,30,.14);
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--paper); line-height: 1.75; -webkit-font-smoothing: antialiased; font-size: 16.5px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.article { max-width: 760px; padding: 40px 24px; }
.notice-bar { background: #f3e9d7; color: #6b4c1a; text-align: center; padding: 10px 20px; font-size: .9em; font-style: italic; border-bottom: 1px solid #e0d4bc; }
.site-header { background: var(--bg); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #33363e; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; }
.site-header a { color: #fff; text-decoration: none; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1em; letter-spacing: -0.2px; }
.logo-img { width: 40px; height: 40px; border-radius: var(--radius); object-fit: cover; background: var(--accent); }
.site-header nav a { margin-left: 22px; opacity: .82; font-size: .95em; transition: opacity .15s; }
.site-header nav a:hover { opacity: 1; color: var(--accent-hover); }
.hero-home { background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%); color: #fff; padding: 50px 0 56px; border-bottom: 3px solid var(--accent); }
.hero-home-inner { display: flex; align-items: center; gap: 40px; }
.hero-home-text { flex: 1; }
.hero-home-img { flex: 0 0 200px; display: flex; justify-content: center; }
.hero-home-img img { width: 200px; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); border: 3px solid var(--accent); }
.hero-home h1 { font-family: Georgia, serif; font-size: 2.4em; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.5px; font-weight: 700; }
.hero-home .intro { font-size: 1.1em; color: #c0c4d0; max-width: 680px; margin: 0; line-height: 1.6; }
.hero-home .intro b { color: var(--accent); font-weight: 700; }
.breadcrumb { display: inline-block; color: var(--text-light); text-decoration: none; font-size: .9em; margin-bottom: 20px; transition: color .15s; }
.breadcrumb:hover { color: var(--accent); }
.article h1 { font-family: Georgia, serif; font-size: 2.1em; line-height: 1.25; margin: 0 0 14px; letter-spacing: -0.3px; font-weight: 700; color: #1a1c22; }
.meta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .88em; margin-bottom: 28px; padding: 5px 13px; background: #f0ebe1; border-radius: 20px; border: 1px solid var(--border); }
.hero { margin: 26px 0 36px; border-radius: var(--radius); overflow: hidden; background: #eee; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.hero img { width: 100%; height: auto; display: block; }
.content { font-family: Georgia, serif; font-size: 1.08em; color: #2a2d35; line-height: 1.8; }
.content p { margin: 0 0 20px; }
.content h2, .content h3 { font-family: -apple-system, "Segoe UI", Arial, sans-serif; margin-top: 40px; margin-bottom: 12px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 700; color: #1a1c22; }
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.25em; }
.content img { max-width: 100%; height: auto; display: block; margin: 26px auto; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.content a { color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content a:hover { color: var(--accent-hover); }
.content ul, .content ol { padding-left: 24px; margin: 0 0 20px; }
.content li { margin-bottom: 8px; }
.content blockquote { border-left: 3px solid var(--accent); margin: 22px 0; padding: 6px 20px; color: #4a4d55; background: #fbf3e8; border-radius: 0 6px 6px 0; font-style: italic; }
.content strong { color: #1a1c22; }
.back { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); font-family: -apple-system, "Segoe UI", Arial, sans-serif; }
.back a { color: var(--accent); text-decoration: none; font-weight: 600; }
.back a:hover { text-decoration: underline; }

/* Galeria - listy z obrazkami */
.content ul, .content ol { list-style: none; padding-left: 0; }
.content ul li, .content ol li { list-style: none; }
.content ul:has(li img), .content ol:has(li img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 0; margin: 24px 0; }
.content ul:has(li img) li, .content ol:has(li img) li { margin: 0; padding: 0; list-style: none; }
.content ul:has(li img) li img, .content ol:has(li img) li img { margin: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; border-radius: 8px; }
.content li:empty { display: none; }
.content ul:not(:has(img)), .content ol:not(:has(img)) { padding-left: 24px; list-style: disc; }
.content ul:not(:has(img)) li, .content ol:not(:has(img)) li { list-style: disc; padding-left: 4px; }
.content ol:not(:has(img)) li { list-style: decimal; }

main.wrap { padding-top: 44px; padding-bottom: 44px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; border: 1px solid var(--border); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile-img { aspect-ratio: 4/3; overflow: hidden; background: #f2ede3; display: flex; align-items: center; justify-content: center; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-placeholder { color: #cdc7b8; }
.tile-body { padding: 14px 16px 16px; flex: 1; }
.tile-date { color: var(--text-dim); font-size: .75em; margin-bottom: 5px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }
.tile-title { font-family: Georgia, serif; font-weight: 700; font-size: 1.05em; line-height: 1.35; color: var(--text); letter-spacing: -0.1px; }
.site-footer { background: var(--bg); color: #8a90a0; margin-top: 80px; padding: 28px 0; font-size: .9em; text-align: center; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.footer-small { font-size: .82em; color: #5a6070; font-style: italic; }
#toTop { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border: none; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.4em; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s, background .15s; z-index: 100; }
#toTop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#toTop:hover { background: var(--accent-hover); }
@media (max-width: 780px) { .hero-home-inner { flex-direction: column-reverse; gap: 24px; text-align: center; } .hero-home-img { flex: 0 0 auto; } .hero-home-img img { width: 140px; height: 140px; } .hero-home .intro { max-width: 100%; } }
@media (max-width: 700px) { .hero-home { padding: 36px 0 44px; } .hero-home h1 { font-size: 1.8em; } .hero-home .intro { font-size: 1em; } .article { padding: 24px 20px; } .article h1 { font-size: 1.55em; } .site-header .wrap { padding: 12px 20px; } .logo { font-size: 1em; } .logo-img { width: 34px; height: 34px; } .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; } .tile-body { padding: 12px 14px 14px; } .tile-title { font-size: .95em; } .notice-bar { font-size: .82em; padding: 8px 16px; } #toTop { right: 16px; bottom: 16px; width: 42px; height: 42px; } .content ul:has(li img), .content ol:has(li img) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; } }

/* YouTube embed */
.yt-embed { margin: 40px 0 20px; padding: 20px; background: #fff8f2; border-radius: 8px; border: 1px solid #e6e2d9; }
.yt-embed h3 { margin: 0 0 15px; font-size: 1.2em; color: #d4610a; font-family: -apple-system, "Segoe UI", Arial, sans-serif; }
.yt-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.yt-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.yt-link { text-align: center; margin: 15px 0 0; }
.yt-link a { display: inline-block; padding: 10px 24px; background: #ff0000; color: #fff !important; text-decoration: none !important; border-radius: 6px; font-weight: 600; font-family: -apple-system, "Segoe UI", Arial, sans-serif; }
.yt-link a:hover { background: #cc0000; }

/* Galeria dodatkowa (Google Photos) */
.gfoto-galeria { margin: 40px 0 20px; padding: 20px; background: #f5f8fa; border-radius: 8px; border: 1px solid #e6e2d9; }
.gfoto-galeria h3 { margin: 0 0 15px; font-size: 1.2em; color: #d4610a; font-family: -apple-system, "Segoe UI", Arial, sans-serif; }
.gfoto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gfoto-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.1); cursor: zoom-in; transition: transform .15s; }
.gfoto-grid img:hover { transform: scale(1.03); }

/* === Menu z 3 misiami === */
.site-header .wrap { justify-content: space-between; }
.nav-left { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.miboy-cross-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.15s;
    text-decoration: none;
}
.miboy-cross-link:hover { background: rgba(255,255,255,0.15); }

.miboy-cross-link img {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
}
.miboy-cross-link span {
    color: white;
    font-size: 12px;
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}
.miboy-cross-link b { font-size: 13px; font-weight: 900; }
@media (max-width: 900px) {
    .miboy-cross-link span { display: none; }
    .miboy-cross-link { padding: 4px 6px; }
}


/* UNIFIED COLOR #fde68a FOR RECENZJE SUB-BRAND TEXTS */
.miboy-brand-sub, .brand-line-bottom, .badge-text { 
    color: #fde68a !important; 
}


/* === UNIFIED COLOR #fde68a FOR ALL SUB-BRANDS AND MIBOY AI === */
.miboy-brand-sub,
.brand-line-bottom,
.brand-sub,
header .miboy-brand-sub,
.miboy-header .miboy-brand-sub,
.topbar .brand-line-bottom,
.miboy-header-nav .miboy-brand-sub,
.current-brand .miboy-brand-sub,
a.miboy-brand .miboy-brand-sub,
a.brand .brand-line-bottom,
.badge-text,
span.badge-text,
.highlight-ai,
span.highlight-ai {
    color: #fde68a !important;
}
