.ogl { --ogl-akcent: #c8102e; --ogl-wyr: #fff8e1; --ogl-prem: #fff1f1; --ogl-ramka: #e3e3e3; --ogl-szary: #6b6b6b; font-size: 15px; }
.ogl *, .ogl *::before, .ogl *::after { box-sizing: border-box; }
.ogl h2 { margin: 1em 0 .6em; }
.ogl-btn, .ogl button[type=submit] { display: inline-block; background: var(--ogl-akcent); color: #fff !important; border: 0; border-radius: 4px; padding: 8px 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ogl-btn:hover, .ogl button[type=submit]:hover { filter: brightness(.9); }
.ogl button.ogl-link { background: none; color: var(--ogl-akcent) !important; padding: 0; font-weight: 400; text-decoration: underline; }

.ogl-szukaj { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.ogl-szukaj input[type=search] { flex: 1 1 220px; padding: 8px 10px; border: 1px solid var(--ogl-ramka); border-radius: 4px; }

.ogl-kategorie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 24px; }
.ogl-grupa h3 { font-size: 16px; text-transform: uppercase; border-bottom: 2px solid var(--ogl-akcent); padding-bottom: 4px; margin: 0 0 6px; }
.ogl-grupa ul, .ogl-boczne ul { list-style: none; margin: 0; padding: 0; }
.ogl-grupa li { padding: 2px 0; }
.ogl-grupa li span { color: var(--ogl-szary); font-size: 13px; }

.ogl-sekcja h2, .ogl-sekcja h3 { text-transform: uppercase; font-size: 18px; border-bottom: 1px solid var(--ogl-ramka); padding-bottom: 4px; }
.ogl-uklad { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.ogl-boczne { font-size: 13px; }
.ogl-boczne li { padding: 3px 0; border-bottom: 1px dotted var(--ogl-ramka); }
.ogl-boczne li.ogl-akt a { font-weight: 700; color: var(--ogl-akcent); }

.ogl-lista { display: flex; flex-direction: column; gap: 10px; }
.ogl-karta { display: flex; gap: 14px; padding: 10px; border: 1px solid var(--ogl-ramka); border-radius: 6px; background: #fff; }
.ogl-karta.ogl-wyroznione { background: var(--ogl-wyr); }
.ogl-karta.ogl-premium { background: var(--ogl-prem); border-color: var(--ogl-akcent); }
.ogl-foto { flex: 0 0 110px; }
.ogl-premium .ogl-foto, .ogl-wyroznione .ogl-foto { flex-basis: 180px; }
.ogl-foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.ogl-brak-foto { display: block; aspect-ratio: 3 / 2; background: #f0f0f0; border-radius: 4px; }
.ogl-tresc { flex: 1; min-width: 0; }
.ogl-tresc h3 { margin: 0 0 4px; font-size: 16px; overflow-wrap: anywhere; }
.ogl-tresc p { margin: 4px 0; color: #333; font-size: 14px; }
.ogl-tresc time { color: var(--ogl-szary); font-size: 12px; }
.ogl-znaczek { display: inline-block; background: var(--ogl-akcent); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; margin-bottom: 4px; }
.ogl-cena { font-weight: 700; color: var(--ogl-akcent); }
.ogl-cena-duza { font-size: 24px; margin: 10px 0; }
.ogl-kompakt .ogl-foto { flex-basis: 80px !important; }
.ogl-kompakt .ogl-znaczek { display: none; }
.ogl-strony { margin: 16px 0; }
.ogl-strony .page-numbers { padding: 4px 9px; border: 1px solid var(--ogl-ramka); border-radius: 3px; margin-right: 3px; text-decoration: none; }
.ogl-strony .current { background: var(--ogl-akcent); color: #fff; }

.ogl-pojedyncze .ogl-galeria { margin-bottom: 12px; }
.ogl-duze img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #f6f6f6; border-radius: 6px; }
.ogl-duze { cursor: zoom-in; }
dialog.ogl-lightbox { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.ogl-lightbox::backdrop { background: rgba(24,24,27,.94); }
.ogl-lb-ramka { position: relative; }
.ogl-lightbox .ogl-lb-ramka img { display: block; max-width: 92vw; max-height: 88vh; width: auto; height: auto; margin: 0; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ogl-lb-licz { position: fixed; top: 14px; left: 18px; color: rgba(255,255,255,.7); font: 14px/1 Arial, sans-serif; }
.ogl-lightbox button.ogl-lb-x, .ogl-lightbox button.ogl-lb-nav { display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; min-width: 0; border: 0; color: #fff; cursor: pointer; text-shadow: none; box-shadow: none; transition: background .15s; }
.ogl-lightbox button svg { display: block; pointer-events: none; }
.ogl-lightbox button.ogl-lb-x { position: fixed; top: 0; right: 0; width: 44px; height: 44px; border-radius: 0; background: rgba(30,30,30,.6); }
.ogl-lightbox button.ogl-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(30,30,30,.45); }
.ogl-lightbox button.ogl-lb-x:hover, .ogl-lightbox button.ogl-lb-nav:hover { background: rgba(30,30,30,.85); color: #fff; }
.ogl-lightbox button.ogl-lb-prev { left: 14px; }
.ogl-lightbox button.ogl-lb-next { right: 14px; }
.ogl-lb-jedno button.ogl-lb-nav, .ogl-lb-jedno .ogl-lb-licz { display: none; }
.ogl-miniatury { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ogl-miniatury img { width: 90px; height: 64px; object-fit: cover; border-radius: 4px; cursor: pointer; }
.ogl-meta { list-style: none; padding: 10px 14px; background: #f7f7f7; border-radius: 6px; }
.ogl-meta li { padding: 3px 0; }
.ogl-okruszki { font-size: 13px; color: var(--ogl-szary); }

.ogl-form { max-width: 640px; margin: 20px 0; }
.ogl-form label { display: block; font-weight: 600; }
.ogl-form input[type=text], .ogl-form input[type=email], .ogl-form input[type=url], .ogl-form input[type=password], .ogl-form select, .ogl-form textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; font: inherit; font-weight: 400; }
.ogl-form label.ogl-check { display: inline-block; font-weight: 400; }
.ogl-form small, .ogl-pomoc { color: var(--ogl-szary); font-size: 13px; font-weight: 400; }
.ogl-licznik { display: block; text-align: right; font-size: 12px; color: var(--ogl-szary); font-weight: 400; }
.ogl-form fieldset { border: 1px dashed #ccc; border-radius: 6px; padding: 10px 14px; margin-bottom: 14px; }
.ogl-podglad, .ogl-edycja-zdjec { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ogl-podglad img { width: 100px; height: 70px; object-fit: cover; border-radius: 4px; }
.ogl-zdj { font-weight: 400 !important; font-size: 13px; text-align: center; }
.ogl-zdj img { display: block; width: 100px; height: 70px; object-fit: cover; border-radius: 4px; }
.ogl-zdj span { display: block; }
.ogl-hp { position: absolute !important; left: -9999px !important; }
.ogl-captcha input[name=ogl_cap] { width: 80px !important; display: inline-block !important; margin-left: 6px; }
.ogl-zglos { margin: 20px 0; font-size: 14px; }
.ogl-zglos summary { cursor: pointer; color: var(--ogl-szary); }
.ogl-wyswietlenia { margin: -10px 0 20px; font-size: 13px; color: var(--ogl-szary); }
.ogl-edytor { margin-top: 4px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
.ogl-edytor .ogl-edytor-pasek { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-bottom: 1px solid #ddd; background: #f6f6f6; border-radius: 4px 4px 0 0; }
.ogl-edytor .ogl-edytor-pasek button { min-width: 36px; margin: 0; padding: 5px 8px; border: 1px solid transparent; border-radius: 3px; background: none; color: #222; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
.ogl-edytor .ogl-edytor-pasek button:hover, .ogl-edytor .ogl-edytor-pasek button:focus { border-color: #bbb; background: #fff; }
.ogl-edytor-pole { padding: 8px 10px; outline: 0; overflow-wrap: anywhere; font-weight: 400; }
.ogl-edytor-pole h2 { font-size: 1.4em; margin: .5em 0; }
.ogl-edytor-pole h3 { font-size: 1.2em; margin: .5em 0; }
.ogl-edytor-pole ul, .ogl-edytor-pole ol { margin: .5em 0; padding-left: 1.5em; }
.ogl-edytor-pole ul { list-style: disc; }
.ogl-edytor-pole p { margin: 0 0 .6em; }
.ogl-za-duzo { color: #c00; font-weight: 600; }

.ogl-pakiety { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.ogl-pakiety th, .ogl-pakiety td { border: 1px solid var(--ogl-ramka); padding: 8px; text-align: center; }
.ogl-pakiety tbody th { text-align: left; font-weight: 600; }
.ogl-pakiety thead th { background: #222; color: #fff; }

.ogl-msg { padding: 10px 14px; border-radius: 4px; margin: 10px 0; }
.ogl-msg-ok { background: #e7f6ea; border-left: 4px solid #2e8b3d; }
.ogl-msg-blad { background: #fdecec; border-left: 4px solid #c8102e; }
.ogl-saldo { padding: 10px 14px; background: #f7f7f7; border-radius: 6px; margin-bottom: 14px; }
.ogl-moje { width: 100%; border-collapse: collapse; font-size: 14px; }
.ogl-moje th, .ogl-moje td { border-bottom: 1px solid var(--ogl-ramka); padding: 8px 6px; text-align: left; }
.ogl-inline { display: inline; margin: 0 6px 0 0; }


/* Motywy (np. Soledad) dodają kropki i odstępy listom w treści. */
.ogl ul li { list-style: none; margin: 0 0 2px; padding-left: 0; }
.ogl ul li::before { content: none; }

/* Katalog firm */
.ogl-branze { font-size: 13px; color: var(--ogl-szary); margin-bottom: 4px; }
.ogl-dodatki { font-size: 13px; }
.ogl-firma .ogl-tresc p { margin: 2px 0 6px; }
.ogl-branze-grid .ogl-grupa h3 a { color: inherit; text-decoration: none; }
.ogl-popularne { margin-bottom: 4px !important; }
.ogl-grupa details summary { cursor: pointer; font-size: 13px; color: var(--ogl-akcent); margin: 4px 0; }
.ogl-grupa details ul { font-size: 14px; }
.ogl-dwie { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.ogl-dane-firmy { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.ogl-dane-firmy .ogl-meta { flex: 1 1 280px; margin: 0; }
.ogl-logo img { max-width: 220px; height: auto; border-radius: 6px; }
.ogl-mapa { width: 100%; height: 340px; border: 0; border-radius: 6px; }
.ogl-film { margin: 14px 0; }
.ogl-film iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }


.ogl-www-nieaktywny { color: #777; }

/* Banery */
/* .ogl-baner — podstawowe style idą razem z HTML banera (ogl_baner_html), bo baner bywa poza stronami wtyczki. */
.ogl-lista > .ogl-baner { margin: 4px 0; }
.ogl-uklad.ogl-z-prawa { grid-template-columns: 240px minmax(0, 1fr) 300px; }
.ogl-prawa .ogl-baner { position: sticky; top: 90px; margin-top: 0; }
@media (max-width: 1100px) {
	.ogl-uklad.ogl-z-prawa { grid-template-columns: 220px minmax(0, 1fr); }
	.ogl-prawa { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.ogl-uklad.ogl-z-prawa { grid-template-columns: 1fr; }
	.ogl-dwie { grid-template-columns: 1fr; }
	.ogl-uklad { grid-template-columns: 1fr; }
	.ogl-boczne { order: 2; }
	.ogl-foto, .ogl-premium .ogl-foto, .ogl-wyroznione .ogl-foto { flex-basis: 96px; }
	.ogl-pakiety { font-size: 12px; }
	.ogl-pakiety th, .ogl-pakiety td { padding: 5px 3px; }
	.ogl-moje thead { display: none; }
	.ogl-moje td { display: block; border: 0; padding: 2px 0; }
	.ogl-moje tr { display: block; border-bottom: 1px solid var(--ogl-ramka); padding: 8px 0; }
}
.ogl-link-wiz { width: 100%; max-width: 420px; font-size: 13px; padding: 2px 6px; }
.ogl-klauzula { margin-top: 24px; font-size: 12px; color: #777; }
.ogl-regulamin { font-size: 13px; white-space: nowrap; }
.single-ogl_firma .penci-single-pheader .post-image { display: none; }
.ogl-firma .ogl-foto img { object-fit: contain; background: #fff; }

/* Słowa kluczowe jako tagi pod opisem wizytówki */
.ogl-tagi { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; }
.ogl-tagi a { display: inline-block; padding: 3px 10px; font-size: 13px; line-height: 1.5; color: #444; background: #f1f1f1; border: 1px solid var(--ogl-ramka); border-radius: 14px; text-decoration: none; }
.ogl-tagi a::before { content: "#"; color: var(--ogl-akcent); margin-right: 1px; }
.ogl-tagi a:hover { background: var(--ogl-akcent); border-color: var(--ogl-akcent); color: #fff; }
.ogl-tagi a:hover::before { color: #fff; }
