/* Odzyskaj samodzielność — style sekcji (v1.1.0) */

.os-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.os-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.os-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #2b2b2b;
}

.os-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #3d3d3d;
}

/* --- Siatka kafelków: 4 / 2 / 1 --- */
.os-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .os-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .os-grid {
        grid-template-columns: 1fr;
    }
}

.os-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 40px 0;
}

/* --- Sekcje archiwum: Codzienność Elizabeth / Odzyskałam odwagę --- */
.os-section {
    margin-bottom: 64px;
}

.os-section-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.os-section-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #2b2b2b;
}

.os-section-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.os-daily-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .os-daily-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .os-daily-grid {
        grid-template-columns: 1fr;
    }
}

.os-daily-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.os-daily-image {
    aspect-ratio: 4 / 3;
    background: #f0eee9;
    overflow: hidden;
}

.os-daily-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.os-daily-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.os-daily-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0 0 8px;
    color: #2b2b2b;
}

.os-daily-excerpt {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #555;
    flex: 1;
    margin-bottom: 14px;
}

.os-daily-excerpt p {
    margin: 0 0 8px;
}

.os-daily-link {
    display: inline-block;
    font-weight: 600;
    color: #a98a5b;
    text-decoration: none;
}

.os-daily-link:hover {
    color: #7c6540;
}

/* --- Pojedynczy kafelek --- */
.os-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.os-card:hover,
.os-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.os-card-image {
    aspect-ratio: 4 / 3;
    background: #f0eee9;
    overflow: hidden;
}

.os-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.os-card-placeholder {
    width: 100%;
    height: 100%;
    background: #ece7df;
}

.os-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.os-card-title {
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #2b2b2b;
}

.os-card-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 16px;
    flex: 1;
}

.os-card-btn {
    display: inline-block;
    margin-top: auto;
    padding: 12px 20px;
    background: #a98a5b;
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* --- Pojedynczy poradnik --- */
.os-single-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2b2b2b;
}

.os-back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: #a98a5b;
    text-decoration: none;
}

.os-single-title {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.os-info-card {
    background: #fbf9f5;
    border: 1px solid #e6e0d4;
    border-radius: 18px;
    padding: 26px 28px;
    margin-bottom: 32px;
}

.os-info-card > *:last-child {
    margin-bottom: 0;
}

.os-single-lead {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 20px;
}

.os-tiktok-embed {
    margin-bottom: 0;
    margin-top: 20px;
}

.os-info-card > .os-tiktok-embed:first-child {
    margin-top: 0;
}

.os-tiktok-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #2b2b2b;
    color: #fff;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.os-tiktok-btn:hover {
    background: #000;
}

.os-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
    margin-top: 20px;
}

.os-info-card > .os-info-bar:first-child {
    margin-top: 0;
}

.os-info-item {
    flex: 1;
    min-width: 150px;
    background: #fff;
    border: 1px solid #e6e0d4;
    border-radius: 12px;
    padding: 14px 18px;
}

.os-info-label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 4px;
}

.os-info-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b2b2b;
}

.os-related {
    margin-top: 56px;
}

.os-related-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}

.os-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 640px) {
    .os-related-grid {
        grid-template-columns: 1fr;
    }
}

.os-instruction-note {
    background: #f4efe6;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.os-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 12px;
}

.os-content img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 16px 0;
}

.os-content p {
    margin-bottom: 16px;
}

.os-different-box {
    background: #fbf6ec;
    border-left: 6px solid #a98a5b;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 40px 0;
}

.os-different-box h2 {
    margin-top: 0;
    font-size: 1.3rem;
}

.os-finish-box {
    text-align: center;
    background: #f4efe6;
    border-radius: 16px;
    padding: 40px 28px;
    margin-top: 48px;
}

.os-finish-box h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.os-finish-box p {
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto 24px;
    color: #444;
}

.os-elizabeth-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #a98a5b;
    color: #fff;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
}

.os-elizabeth-btn:hover {
    background: #94764a;
}

/* =========================================================
   MASTER SZABLON: KARTA POMOCY (Etap 3 — makieta 1:1)
   ========================================================= */
.os-karta-pomocy {
    max-width: 1040px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    color: #2b2b2b;
}

.os-karta-pomocy .os-card-placeholder {
    background: #ece7f7;
    border-radius: 12px;
    min-height: 120px;
}

/* --- Wspólne: karty sekcji --- */
.os-kp-hero,
.os-kp-section {
    background: #fbfaf8;
    border: 1px solid #e8e3da;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 24px;
}

.os-kp-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6d3fd1;
    margin: 0 0 24px;
    text-align: left;
}

/* --- Sekcja 1: Hero --- */
.os-kp-hero {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 28px;
    align-items: center;
}

@media (max-width: 760px) {
    .os-kp-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.os-kp-hero-photo {
    width: 105px;
    height: 105px;
    border-radius: 50% / 45%;
    overflow: hidden;
    background: #ece7f7;
}

.os-kp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.os-single-title {
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: 800;
    color: #241c4d;
    margin: 0 0 12px;
}

.os-kp-hero-monolog {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #444;
}

/* --- Sekcja 2: To może być Twój problem --- */
.os-kp-problem-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 760px) {
    .os-kp-problem-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.os-kp-screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 560px) {
    .os-kp-screens {
        grid-template-columns: 1fr;
    }
}

.os-kp-screen {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(36, 28, 77, 0.12);
}

.os-kp-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.os-kp-problem-note {
    text-align: right;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 760px) {
    .os-kp-problem-note {
        text-align: center;
    }
}

.os-kp-problem-note-strong {
    font-weight: 800;
    color: #6d3fd1;
    margin-top: 8px;
}

/* --- Sekcja 3: Zacznij tutaj --- */
.os-kp-start-wrap {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

@media (max-width: 760px) {
    .os-kp-start-wrap {
        flex-direction: column;
    }
}

.os-kp-chat-mockup {
    flex: 1;
    display: grid;
    grid-template-columns: 160px 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(36, 28, 77, 0.12);
}

@media (max-width: 560px) {
    .os-kp-chat-mockup {
        grid-template-columns: 1fr;
    }
    .os-kp-chat-sidebar {
        display: none;
    }
}

.os-kp-chat-sidebar {
    background: #17171a;
    color: #cfcfcf;
    padding: 16px 12px;
    font-size: 0.82rem;
}

.os-kp-chat-newchat {
    color: #fff;
    margin-bottom: 20px;
}

.os-kp-chat-daylabel {
    color: #888;
    font-size: 0.72rem;
    margin-bottom: 6px;
}

.os-kp-chat-histitem {
    background: #2a2a2e;
    border-radius: 6px;
    padding: 6px 8px;
}

.os-kp-chat-main {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
}

.os-kp-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.os-kp-chat-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #6d3fd1;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.os-kp-chat-body {
    text-align: center;
    padding: 8px 0 20px;
}

.os-kp-chat-logo {
    color: #2b2b2b;
    margin-bottom: 10px;
}

.os-kp-chat-greeting {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.os-kp-chat-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.os-kp-chat-pills span {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #555;
}

.os-kp-chat-inputbox {
    background: #f4f2f8;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #2b2b2b;
    min-height: 24px;
}

.os-kp-chat-inputbox p {
    margin: 0;
}

.os-kp-chat-input-placeholder {
    color: #999;
}

.os-kp-chat-disclaimer {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    margin: 10px 0 0;
}

.os-kp-start-callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    flex-shrink: 0;
    color: #6d3fd1;
    padding-bottom: 10px;
}

@media (max-width: 760px) {
    .os-kp-start-callout {
        width: auto;
        flex-direction: row;
    }
    .os-kp-start-arrow {
        transform: rotate(-90deg);
    }
}

.os-kp-start-arrow {
    width: 70px;
    height: auto;
}

.os-kp-start-label {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.3;
    text-align: center;
    margin-top: 4px;
}

/* --- Sekcja 4: Elizabeth --- */
.os-kp-elizabeth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 760px) {
    .os-kp-elizabeth {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.os-kp-elizabeth-heading {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #241c4d;
    line-height: 1.3;
    margin: 0 0 18px;
}

.os-kp-elizabeth-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
}

.os-kp-elizabeth-text p {
    margin: 0 0 14px;
}

.os-kp-elizabeth-signature {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: #6d3fd1;
    font-size: 1.1rem;
    margin-top: 16px;
}

.os-kp-elizabeth-image {
    border-radius: 18px;
    overflow: hidden;
}

.os-kp-elizabeth-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Sekcja 5: Zakończenie (stała) --- */
.os-kp-closing {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #efe9fb;
    border-radius: 18px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 760px) {
    .os-kp-closing {
        flex-direction: column;
        text-align: center;
    }
}

.os-kp-closing-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d9cdf5;
    color: #6d3fd1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.os-kp-closing-text {
    flex: 1;
}

.os-kp-closing-heading {
    font-weight: 800;
    font-size: 1.05rem;
    color: #241c4d;
    text-transform: uppercase;
    margin: 0 0 6px;
    line-height: 1.35;
}

.os-kp-closing-sub {
    margin: 0;
    color: #444;
}

.os-kp-closing-decor {
    color: #b9a6e6;
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .os-kp-closing-decor {
        display: none;
    }
}


/* --- Sekcja 6: Co dalej (stała) --- */
.os-kp-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 760px) {
    .os-kp-next-grid {
        grid-template-columns: 1fr;
    }
}

.os-kp-next-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.os-kp-next-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.os-kp-next-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.os-kp-next-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #241c4d;
    margin: 0 0 10px;
}

.os-kp-next-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #444;
    margin: 0 0 20px;
    flex: 1;
}

.os-kp-next-btn {
    display: inline-block;
    background: #a98a5b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 999px;
    text-align: center;
    transition: background 0.15s ease;
}

.os-kp-next-btn:hover,
.os-kp-next-btn:focus {
    background: #7c6540;
}
