dodanie poradnika

This commit is contained in:
2026-07-20 02:06:11 +02:00
parent 08f8058efc
commit e9673551ce
2 changed files with 1678 additions and 13 deletions
+984
View File
@@ -24858,3 +24858,987 @@ svg {
grid-template-columns: 1fr !important;
}
}
/* ===== Poradnik: Kupno mieszkania ===== */
.guide-article {
background: linear-gradient(180deg, #f8fafc 0%, #f3f7fb 100%);
min-height: calc(100vh - 82px);
padding-bottom: 56px;
}
.guide-hero {
min-height: 340px;
overflow: hidden;
position: relative;
}
.guide-hero img {
height: 100%;
inset: 0;
object-fit: cover;
object-position: right center;
position: absolute;
width: 100%;
}
.guide-hero-shade {
background:
linear-gradient(180deg, rgba(248, 250, 252, 0) 72%, #f8fafc 100%),
linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.97) 40%, rgba(248, 250, 252, 0.6) 62%, rgba(248, 250, 252, 0.06) 96%);
inset: 0;
position: absolute;
}
.guide-hero-inner {
min-height: 340px;
padding: 30px 48px 46px;
position: relative;
z-index: 1;
}
.guide-back {
align-items: center;
background: rgba(255, 255, 255, 0.72);
border: 1px solid #dce4ec;
border-radius: 999px;
color: #14223a;
cursor: pointer;
display: inline-flex;
font-size: 12px;
font-weight: 850;
gap: 6px;
padding: 7px 14px 7px 10px;
}
.guide-back svg {
height: 15px;
transform: rotate(180deg);
width: 15px;
}
.guide-hero-badge {
align-items: center;
background: #0b9f5c;
border-radius: 999px;
color: #ffffff;
display: inline-flex;
font-size: 12px;
font-weight: 900;
gap: 7px;
margin-top: 20px;
padding: 7px 14px;
}
.guide-hero-badge svg {
height: 15px;
width: 15px;
}
.guide-hero h1 {
color: #14223a;
font-size: clamp(38px, 3.8vw, 60px);
line-height: 1.02;
margin: 16px 0 0;
max-width: 720px;
}
.guide-hero-lead {
color: #4a5766;
font-size: 17px;
font-weight: 650;
line-height: 1.5;
margin: 16px 0 0;
max-width: 680px;
}
.guide-hero-chips {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 22px;
}
.guide-hero-chips span {
align-items: center;
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
color: #33465c;
display: inline-flex;
font-size: 12px;
font-weight: 800;
gap: 7px;
padding: 8px 12px;
}
.guide-hero-chips svg {
color: #0b9f5c;
height: 15px;
width: 15px;
}
.guide-article-layout {
align-items: start;
display: grid;
gap: 28px;
grid-template-columns: 232px minmax(0, 1fr) 312px;
margin-top: 26px;
}
/* Spis treści */
.guide-toc {
position: sticky;
top: 20px;
}
.guide-toc-inner {
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
max-height: calc(100vh - 40px);
overflow-y: auto;
padding: 18px 16px;
}
.guide-toc-inner h2 {
color: #14223a;
font-size: 15px;
margin: 0 0 12px;
}
.guide-toc-inner ol {
counter-reset: none;
display: flex;
flex-direction: column;
gap: 2px;
list-style: none;
margin: 0;
padding: 0;
}
.guide-toc-inner li button {
align-items: center;
background: transparent;
border: 0;
border-radius: 6px;
color: #46586c;
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 700;
gap: 10px;
padding: 7px 8px;
text-align: left;
width: 100%;
}
.guide-toc-inner li button span {
align-items: center;
background: #eef3f8;
border-radius: 6px;
color: #0b9f5c;
display: grid;
flex-shrink: 0;
font-size: 11px;
font-weight: 900;
height: 22px;
place-items: center;
width: 22px;
}
.guide-toc-inner li button:hover {
background: #f2f7fb;
color: #14223a;
}
/* Blok główny */
.guide-body {
display: flex;
flex-direction: column;
gap: 20px;
min-width: 0;
}
.guide-block-head h2 {
color: #14223a;
font-size: 22px;
margin: 0;
}
.guide-block-head p {
color: #607085;
font-size: 14px;
font-weight: 650;
margin: 6px 0 0;
}
/* Proces 12 kroków */
.guide-process {
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
padding: 22px;
}
.guide-process-grid {
display: grid;
gap: 12px;
grid-template-columns: repeat(6, minmax(0, 1fr));
margin-top: 18px;
}
.guide-process-card {
background: #f8fafc;
border: 1px solid #e6edf3;
border-radius: 8px;
display: flex;
flex-direction: column;
gap: 6px;
padding: 14px 12px;
position: relative;
}
.guide-process-num {
align-items: center;
background: #0b9f5c;
border-radius: 6px;
color: #ffffff;
display: grid;
font-size: 12px;
font-weight: 900;
height: 24px;
place-items: center;
width: 24px;
}
.guide-process-icon {
color: #13a360;
}
.guide-process-icon svg {
height: 22px;
width: 22px;
}
.guide-process-card strong {
color: #14223a;
font-size: 13px;
font-weight: 900;
line-height: 1.25;
}
.guide-process-card small {
color: #64748b;
font-size: 11px;
font-weight: 650;
line-height: 1.35;
}
/* Rozdziały */
.guide-chapter {
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
padding: 26px 28px;
position: relative;
scroll-margin-top: 20px;
}
.guide-chapter-index {
color: #d7e6dc;
font-size: 40px;
font-weight: 950;
letter-spacing: -1px;
line-height: 1;
}
.guide-chapter h2 {
color: #14223a;
font-size: 24px;
margin: 8px 0 14px;
}
.guide-chapter p {
color: #3f4d5e;
font-size: 15px;
font-weight: 550;
line-height: 1.62;
margin: 0 0 14px;
}
.guide-chapter p:last-child {
margin-bottom: 0;
}
.guide-list {
color: #3f4d5e;
display: flex;
flex-direction: column;
gap: 9px;
list-style: none;
margin: 4px 0 14px;
padding: 0;
}
.guide-list li {
font-size: 15px;
font-weight: 550;
line-height: 1.5;
padding-left: 22px;
position: relative;
}
.guide-list li::before {
background: #0b9f5c;
border-radius: 50%;
content: "";
height: 7px;
left: 4px;
position: absolute;
top: 9px;
width: 7px;
}
.guide-list li strong {
color: #14223a;
}
/* Callouty */
.guide-callout {
border-radius: 8px;
display: grid;
gap: 12px;
grid-template-columns: 24px minmax(0, 1fr);
margin-top: 6px;
padding: 16px 18px;
}
.guide-callout svg {
height: 22px;
margin-top: 2px;
width: 22px;
}
.guide-callout strong {
display: block;
font-size: 14px;
font-weight: 900;
margin-bottom: 4px;
}
.guide-callout p {
font-size: 14px !important;
margin: 0 !important;
}
.guide-callout-tip {
background: #edf8f1;
border: 1px solid #c6e8d4;
}
.guide-callout-tip svg,
.guide-callout-tip strong {
color: #0b7a47;
}
.guide-callout-warn {
background: #fef6ec;
border: 1px solid #f6dcb6;
}
.guide-callout-warn svg,
.guide-callout-warn strong {
color: #b9791b;
}
.guide-callout-info {
background: #eef4fd;
border: 1px solid #cfe0f7;
}
.guide-callout-info svg,
.guide-callout-info strong {
color: #2c62c6;
}
.guide-callout p,
.guide-callout-tip p,
.guide-callout-warn p,
.guide-callout-info p {
color: #3f4d5e;
}
/* Tabela kosztów */
.guide-table-wrap {
border: 1px solid #e2e9f0;
border-radius: 8px;
margin: 4px 0 16px;
overflow-x: auto;
}
.guide-table {
border-collapse: collapse;
min-width: 560px;
width: 100%;
}
.guide-table th {
background: #f4f8fb;
border-bottom: 1px solid #e2e9f0;
color: #52627a;
font-size: 11px;
font-weight: 900;
letter-spacing: 0.03em;
padding: 11px 14px;
text-align: left;
text-transform: uppercase;
}
.guide-table td {
border-bottom: 1px solid #eef2f6;
color: #3f4d5e;
font-size: 13px;
font-weight: 600;
padding: 12px 14px;
vertical-align: top;
}
.guide-table tr:last-child td {
border-bottom: 0;
}
.guide-table td strong {
color: #14223a;
}
/* Dwie kolumny (za/przeciw, rynki) */
.guide-two-col {
display: grid;
gap: 14px;
grid-template-columns: 1fr 1fr;
margin-top: 4px;
}
.guide-pro,
.guide-con,
.guide-market {
border: 1px solid #e2e9f0;
border-radius: 8px;
padding: 16px 18px;
}
.guide-pro {
background: #edf8f1;
border-color: #c6e8d4;
}
.guide-con {
background: #fbfdff;
}
.guide-market {
background: #f8fafc;
}
.guide-pro h4,
.guide-con h4,
.guide-market h4 {
align-items: center;
color: #14223a;
display: flex;
font-size: 15px;
gap: 8px;
margin: 0 0 12px;
}
.guide-pro h4 svg,
.guide-market h4 svg {
color: #0b9f5c;
height: 17px;
width: 17px;
}
.guide-con h4 svg {
color: #2c62c6;
height: 17px;
width: 17px;
}
.guide-pro ul,
.guide-con ul,
.guide-market ul {
color: #3f4d5e;
display: flex;
flex-direction: column;
gap: 8px;
list-style: none;
margin: 0;
padding: 0;
}
.guide-pro li,
.guide-con li,
.guide-market li {
font-size: 13px;
font-weight: 600;
line-height: 1.45;
padding-left: 18px;
position: relative;
}
.guide-pro li::before,
.guide-con li::before,
.guide-market li::before {
color: #0b9f5c;
content: "";
font-weight: 900;
left: 3px;
position: absolute;
top: 0;
}
/* Checklista */
.guide-checklist {
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
padding: 24px 26px;
scroll-margin-top: 20px;
}
.guide-checklist-grid {
display: grid;
gap: 10px;
grid-template-columns: 1fr 1fr;
margin: 16px 0 18px;
}
.guide-checklist-item {
align-items: flex-start;
background: #f8fafc;
border: 1px solid #e6edf3;
border-radius: 8px;
color: #33465c;
cursor: pointer;
display: flex;
font-size: 13px;
font-weight: 650;
gap: 10px;
line-height: 1.4;
padding: 12px 14px;
}
.guide-checklist-item input {
display: none;
}
.guide-check-box {
align-items: center;
background: #ffffff;
border: 1.5px solid #cdd7e1;
border-radius: 5px;
color: transparent;
display: grid;
flex-shrink: 0;
height: 20px;
place-items: center;
width: 20px;
}
.guide-check-box svg {
height: 13px;
width: 13px;
}
.guide-checklist-item input:checked ~ .guide-check-box {
background: #0b9f5c;
border-color: #0b9f5c;
color: #ffffff;
}
.guide-checklist-item input:checked ~ span:last-child {
color: #8a97a6;
text-decoration: line-through;
}
.guide-download-btn,
.guide-cta button {
align-items: center;
background: #0b9f5c;
border: 0;
border-radius: 8px;
color: #ffffff;
cursor: pointer;
display: inline-flex;
font-size: 14px;
font-weight: 900;
gap: 8px;
padding: 12px 20px;
}
.guide-download-btn svg {
height: 17px;
width: 17px;
}
.guide-download-btn:hover,
.guide-cta button:hover {
background: #0a8b50;
}
/* Najczęstsze błędy */
.guide-mistakes {
display: grid;
gap: 12px;
grid-template-columns: 1fr 1fr;
margin-top: 4px;
}
.guide-mistake {
background: #fef6ec;
border: 1px solid #f6dcb6;
border-radius: 8px;
display: grid;
gap: 12px;
grid-template-columns: 34px minmax(0, 1fr);
padding: 14px 16px;
}
.guide-mistake-icon {
align-items: center;
background: #fbe4c4;
border-radius: 8px;
color: #b9791b;
display: grid;
height: 34px;
place-items: center;
width: 34px;
}
.guide-mistake-icon svg {
height: 18px;
width: 18px;
}
.guide-mistake strong {
color: #14223a;
display: block;
font-size: 14px;
font-weight: 900;
margin-bottom: 4px;
}
.guide-mistake p {
color: #4a5766 !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.45 !important;
margin: 0 !important;
}
/* FAQ */
.guide-faq {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 4px;
}
.guide-faq-item {
background: #f8fafc;
border: 1px solid #e6edf3;
border-radius: 8px;
padding: 0 16px;
}
.guide-faq-item summary {
align-items: center;
color: #14223a;
cursor: pointer;
display: flex;
font-size: 15px;
font-weight: 850;
gap: 12px;
justify-content: space-between;
list-style: none;
padding: 15px 0;
}
.guide-faq-item summary::-webkit-details-marker {
display: none;
}
.guide-faq-item summary svg {
color: #0b9f5c;
flex-shrink: 0;
height: 18px;
transition: transform 0.2s ease;
width: 18px;
}
.guide-faq-item[open] summary svg {
transform: rotate(180deg);
}
.guide-faq-item p {
color: #4a5766 !important;
font-size: 14px !important;
font-weight: 550 !important;
line-height: 1.6 !important;
margin: 0 !important;
padding: 0 0 16px !important;
}
/* Podsumowanie + CTA */
.guide-summary {
background: #f5faf7;
border-color: #cfe9da;
}
.guide-summary-note {
align-items: flex-start;
background: #ffffff;
border: 1px solid #e2e9f0;
border-radius: 8px;
display: grid;
gap: 10px;
grid-template-columns: 20px minmax(0, 1fr);
margin-top: 8px;
padding: 14px 16px;
}
.guide-summary-note svg {
color: #8793a3;
height: 18px;
width: 18px;
}
.guide-summary-note p {
color: #64748b !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 1.5 !important;
margin: 0 !important;
}
.guide-cta {
align-items: center;
background: linear-gradient(120deg, #0b9f5c 0%, #0c7f4c 100%);
border-radius: 10px;
color: #ffffff;
display: flex;
flex-wrap: wrap;
gap: 18px;
justify-content: space-between;
padding: 26px 30px;
}
.guide-cta h2 {
color: #ffffff;
font-size: 22px;
margin: 0;
}
.guide-cta p {
color: rgba(255, 255, 255, 0.9);
font-size: 14px;
font-weight: 650;
margin: 6px 0 0;
}
.guide-cta button {
background: #ffffff;
color: #0b7a47;
}
.guide-cta button:hover {
background: #f0f5f2;
}
.guide-cta button svg {
height: 16px;
width: 16px;
}
/* Prawy sidebar */
.guide-aside {
display: flex;
flex-direction: column;
gap: 16px;
position: sticky;
top: 20px;
}
.guide-aside-card {
background: #ffffff;
border: 1px solid #dce4ec;
border-radius: 8px;
padding: 18px;
}
.guide-aside-card h3 {
align-items: center;
color: #14223a;
display: flex;
font-size: 15px;
gap: 8px;
margin: 0 0 14px;
}
.guide-aside-card h3 svg {
color: #0b9f5c;
height: 17px;
width: 17px;
}
.guide-aside-list,
.guide-aside-downloads {
display: flex;
flex-direction: column;
gap: 8px;
}
.guide-aside-list button,
.guide-aside-downloads button {
align-items: center;
background: #f8fafc;
border: 1px solid #e6edf3;
border-radius: 8px;
color: #14223a;
cursor: pointer;
display: flex;
gap: 10px;
padding: 11px 12px;
text-align: left;
width: 100%;
}
.guide-aside-list button:hover,
.guide-aside-downloads button:hover {
background: #eef4f9;
border-color: #d3e0ea;
}
.guide-aside-list button > span,
.guide-aside-downloads button > span {
display: flex;
flex-direction: column;
flex: 1;
gap: 2px;
min-width: 0;
}
.guide-aside-list strong,
.guide-aside-downloads strong {
font-size: 13px;
font-weight: 850;
}
.guide-aside-list small,
.guide-aside-downloads small {
color: #64748b;
font-size: 11px;
font-weight: 650;
}
.guide-aside-list button > svg {
color: #9aa5b4;
flex-shrink: 0;
height: 16px;
transform: rotate(-90deg);
width: 16px;
}
.guide-aside-downloads button > svg:first-child {
color: #0b9f5c;
flex-shrink: 0;
height: 20px;
width: 20px;
}
.guide-aside-downloads button > svg:last-child {
color: #9aa5b4;
flex-shrink: 0;
height: 16px;
width: 16px;
}
.guide-aside-mistakes ul {
display: flex;
flex-direction: column;
gap: 9px;
list-style: none;
margin: 0;
padding: 0;
}
.guide-aside-mistakes li {
align-items: center;
color: #46586c;
display: flex;
font-size: 13px;
font-weight: 700;
gap: 9px;
line-height: 1.35;
}
.guide-aside-mistakes li svg {
color: #d99a3a;
flex-shrink: 0;
height: 15px;
width: 15px;
}
@media (max-width: 1200px) {
.guide-article-layout {
grid-template-columns: minmax(0, 1fr) 300px;
}
.guide-toc {
display: none;
}
.guide-process-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
.guide-hero-inner {
padding: 24px 20px 34px;
}
.guide-article-layout {
grid-template-columns: minmax(0, 1fr);
padding: 0 20px;
}
.guide-aside {
position: static;
}
.guide-process-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-two-col,
.guide-checklist-grid,
.guide-mistakes {
grid-template-columns: 1fr;
}
}
@media (max-width: 560px) {
.guide-chapter {
padding: 20px 18px;
}
.guide-process-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.guide-cta {
flex-direction: column;
align-items: flex-start;
}
}