.pojecie-main {
padding-bottom: 0;
}
.pojecie-hero {
position: relative;
min-height: 340px;
display: flex;
align-items: flex-end;
overflow: hidden;
} .pojecie-hero::before {
content: '';
position: absolute;
inset: 0;
background-image: url(//iwdpartner.pl/wp-content/plugins/iwd-slownik-pojec/assets/hero-bg.jpg);
background-size: cover;
background-position: center 30%;
} .pojecie-hero__overlay {
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgba(13, 30, 56, 0.35) 0%,
rgba(13, 30, 56, 0.72) 55%,
rgba(13, 30, 56, 0.96) 100%
);
}
.pojecie-hero__content {
position: relative;
z-index: 1;
padding-bottom: 2.5rem;
padding-top: 2rem;
width: 100%;
}
.pojecie-hero__breadcrumbs {
font-size: 0.8rem;
color: #7090b0;
margin-bottom: 0.75rem;
display: flex;
align-items: center;
gap: 0.4rem;
flex-wrap: wrap;
}
.pojecie-hero__breadcrumbs a {
color: #4a9eff;
text-decoration: none;
}
.pojecie-hero__breadcrumbs a:hover {
text-decoration: underline;
}
.pojecie-hero__title {
font-size: clamp(2rem, 5vw, 3.25rem);
font-family: 'Syne', sans-serif;
font-weight: 800;
color: #edf2ff;
margin: 0;
text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
line-height: 1.15;
} .pojecie-outer {
padding-top: 2.5rem;
padding-bottom: 4rem;
} .pojecie-layout {
display: grid;
grid-template-columns: 1fr;
column-gap: 28px;
row-gap: 0;
align-items: start;
}
@media (min-width: 781px) {
.pojecie-layout {
grid-template-columns: minmax(0, 1fr) 280px;
}
.pojecie-content { grid-column: 1; grid-row: 1; }
.pojecie-nav     { grid-column: 1; grid-row: 2; align-self: start; }
.pojecie-sidebar { grid-column: 2; grid-row: 1 / span 2; }
} .pojecie-content {
background: rgba(10, 22, 40, 0.82);
border-radius: 20px;
padding: 2.5rem;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.07);
}
.pojecie-content .entry-content {
font-size: 1.075rem;
line-height: 1.85;
color: #c8d6e8;
}
.pojecie-content .entry-content p {
margin-bottom: 1.25em;
} .pojecie-nav {
display: flex;
flex-direction: row;
gap: 1rem;
border-top: 1px solid rgba(74, 158, 255, 0.18);
padding-top: 1.75rem;
padding-bottom: 1rem;
margin-top: 0;
}
.pojecie-nav__prev {
flex: 1;
}
.pojecie-nav__next {
flex: 1;
display: flex;
justify-content: flex-end;
}
.pojecie-nav__btn {
display: inline-flex;
flex-direction: column;
gap: 4px;
padding: 1rem 1.25rem;
background: var(--glass, rgba(28, 52, 86, 0.93));
border: 1px solid rgba(74, 158, 255, 0.22);
border-radius: 8px;
text-decoration: none;
transition: border-color 0.2s, background 0.2s, transform 0.2s;
max-width: 100%;
}
.pojecie-nav__btn:hover {
border-color: rgba(74, 158, 255, 0.55);
background: rgba(74, 158, 255, 0.12);
transform: translateY(-2px);
}
.pojecie-nav__label {
font-size: 0.72rem;
color: #7090b0;
text-transform: uppercase;
letter-spacing: 0.07em;
}
.pojecie-nav__name {
font-size: 0.95rem;
font-weight: 600;
color: #4a9eff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 260px;
} .pojecie-sidebar__widget {
background: var(--glass, rgba(28, 52, 86, 0.93));
border: 1px solid rgba(255, 255, 255, 0.11);
border-radius: 14px;
padding: 20px;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
margin-top: 2.5rem; }
@media (min-width: 781px) {
.pojecie-sidebar__widget {
position: sticky;
top: 92px;
margin-top: 0;
}
}
.pojecie-sidebar__heading {
font-family: 'Syne', 'Poppins', sans-serif;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #7090b0;
margin: 0 0 14px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pojecie-sidebar__post {
display: flex;
gap: 12px;
align-items: flex-start;
padding: 10px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
text-decoration: none;
}
.pojecie-sidebar__post:last-child {
border-bottom: none;
padding-bottom: 0;
}
.pojecie-sidebar__post img {
width: 56px;
height: 56px;
object-fit: cover;
border-radius: 6px;
flex-shrink: 0;
}
.pojecie-sidebar__post-title {
font-size: 13px;
font-weight: 600;
color: #d0e4f8;
line-height: 1.45;
transition: color 0.2s;
}
.pojecie-sidebar__post:hover .pojecie-sidebar__post-title {
color: #4a9eff;
} .slownik-alphabet {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 1.5rem 0 3rem;
}
.slownik-alphabet__link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
background: var(--glass, rgba(28, 52, 86, 0.93));
border: 1px solid rgba(74, 158, 255, 0.2);
border-radius: 6px;
color: #4a9eff;
font-weight: 700;
font-size: 0.9rem;
font-family: 'Syne', sans-serif;
text-decoration: none;
transition: background 0.2s, border-color 0.2s;
}
.slownik-alphabet__link:hover {
background: rgba(74, 158, 255, 0.18);
border-color: #4a9eff;
}
.slownik-section {
margin-bottom: 3rem;
scroll-margin-top: 90px;
}
.slownik-section__letter {
font-size: 1.75rem;
font-family: 'Syne', sans-serif;
font-weight: 800;
color: #4a9eff;
border-bottom: 1px solid rgba(74, 158, 255, 0.2);
padding-bottom: 0.5rem;
margin-bottom: 1.25rem;
}
.slownik-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 1rem;
}
.slownik-card {
display: flex;
gap: 0.75rem;
padding: 1rem;
background: var(--glass, rgba(28, 52, 86, 0.93));
border: 1px solid rgba(74, 158, 255, 0.14);
border-radius: 8px;
text-decoration: none;
transition: border-color 0.2s, transform 0.2s;
}
.slownik-card:hover {
border-color: rgba(74, 158, 255, 0.48);
transform: translateY(-2px);
}
.slownik-card__thumb img {
width: 54px;
height: 54px;
object-fit: cover;
border-radius: 4px;
flex-shrink: 0;
}
.slownik-card__body {
flex: 1;
min-width: 0;
}
.slownik-card__title {
font-size: 0.95rem;
font-weight: 600;
color: #edf2ff;
margin: 0 0 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.slownik-card__excerpt {
font-size: 0.8rem;
color: #7090b0;
margin: 0;
line-height: 1.4;
} @media (max-width: 640px) {
.pojecie-hero {
min-height: 260px;
}
.pojecie-nav__name {
max-width: 140px;
}
.slownik-grid {
grid-template-columns: 1fr;
}
}