/* Paginile de informatii: Despre noi, Termeni si conditii, Politica de confidentialitate, Partener (prefix .ps)
 * Acelasi limbaj vizual ca articolele (.ca) si paginile de certificare (.cp). */

.ps {
    --ps-navy: #091057;
    --ps-navy-2: #0F1C6C;
    --ps-albastru: #376FF7;
    --ps-albastru-hover: #255FEA;
    --ps-albastru-text: #2257D6;
    --ps-verde: #80C454;
    --ps-verde-text: #A6E07F;
    --ps-verde-inchis: #3F8A1E;
    --ps-cer: #8FC3FF;
    --ps-cer-text: #C8E1FF;
    --ps-cer-stins: #93A6D8;
    --ps-hartie: #F4F7FF;
    --ps-linie: #E3E9F8;
    --ps-text: #43536F;
    --ps-titluri: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --ps-umbra: 0 1px 2px rgba(9, 16, 87, .04), 0 8px 24px rgba(9, 16, 87, .06);
    --ps-umbra-mare: 0 2px 4px rgba(9, 16, 87, .05), 0 24px 48px rgba(9, 16, 87, .14);
    --ps-ease: cubic-bezier(.2, .7, .2, 1);
    --ps-antet: 120px;
    display: block;
    color: #fff;
    overflow: clip;
}

.ps section {
    padding: 0;
    background: transparent;
    color: inherit;
}

.ps h1, .ps h2, .ps h3 {
    font-family: var(--ps-titluri);
    margin: 0;
}

.ps p, .ps figure, .ps blockquote {
    margin: 0;
}

.ps ul, .ps ol, .ps dl {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-ico {
    width: 18px;
    height: 18px;
    flex: none;
}

/* ---------- Elemente comune ---------- */

.ps-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    margin-bottom: 22px;
    border: 1px solid #102B90;
    border-radius: 999px;
    background-color: var(--ps-navy-2);
    color: #fff;
    font-size: .875rem;
    line-height: 1.3;
}

.ps-pill > img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ps-ease), box-shadow .2s ease;
}

.ps-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.ps-btn .ps-ico {
    transition: transform .25s var(--ps-ease);
}

.ps-btn:hover .ps-ico {
    transform: translateX(3px);
}

.ps-btn:focus-visible,
.ps a:focus-visible,
.ps button:focus-visible,
.ps summary:focus-visible,
.ps .ca-tabel:focus-visible {
    outline: 3px solid var(--ps-cer);
    outline-offset: 3px;
}

.ps-btn--primary {
    background-color: var(--ps-albastru);
    color: #fff;
    box-shadow: 0 10px 24px rgba(55, 111, 247, .32);
}

.ps-btn--primary:hover {
    background-color: var(--ps-albastru-hover);
    color: #fff;
}

.ps-btn--verde {
    background-color: var(--ps-verde);
    color: var(--ps-navy);
}

.ps-btn--verde:hover {
    background-color: #8FD162;
    color: var(--ps-navy);
}

.ps-btn--ghost {
    border-color: rgba(143, 195, 255, .4);
    color: #fff;
}

.ps-btn--ghost:hover {
    background-color: rgba(255, 255, 255, .08);
    color: #fff;
}

.ps-btn--wa .ps-ico,
.ps-btn--verde .ps-ico:first-child {
    width: 20px;
    height: 20px;
}

.ps-btn--wa .ps-ico {
    color: var(--ps-verde);
}

.ps-btn--wa:hover .ps-ico,
.ps-btn--verde:hover .ps-ico,
.ps-btn--ghost:hover .ps-ico:first-child {
    transform: none;
}

.ps-btn--bloc {
    display: flex;
    width: 100%;
}

/* ---------- Hero ---------- */

.ps .ps-hero {
    padding: 150px 0 72px;
    background:
        radial-gradient(50% 60% at 85% 20%, rgba(55, 111, 247, .38) 0%, rgba(55, 111, 247, 0) 70%),
        radial-gradient(40% 50% at 5% 95%, rgba(128, 196, 84, .1) 0%, rgba(128, 196, 84, 0) 70%),
        var(--ps-navy);
}

.ps-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 36px !important;
    color: var(--ps-cer-stins);
    font-size: .82rem;
}

.ps-crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: .6;
}

.ps-crumbs a {
    color: var(--ps-cer-text);
}

.ps-crumbs a:hover {
    color: #fff;
}

.ps-crumbs [aria-current] {
    color: #fff;
}

.ps-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 64px;
    align-items: center;
}

.ps--partener .ps-hero__grid {
    grid-template-columns: minmax(0, 1fr);
}

.ps-hero__title {
    max-width: 820px;
    color: #fff;
    font-size: clamp(2.2rem, 4.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.ps-hero__lead {
    max-width: 640px;
    margin-top: 22px;
    color: var(--ps-cer-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.ps-hero__lead strong {
    color: #fff;
    font-weight: 600;
}

.ps-hero__lead a {
    color: var(--ps-cer);
    text-decoration: underline;
}

.ps-hero__lead p + p {
    margin-top: 12px !important;
}

.ps-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-top: 24px !important;
    color: var(--ps-cer-stins);
    font-size: .88rem;
}

.ps-meta span + span::before {
    content: "·";
    margin: 0 10px;
    opacity: .7;
}

.ps-meta time {
    color: var(--ps-cer-text);
}

.ps-facts {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    margin-top: 32px !important;
}

.ps-facts div {
    padding: 0 22px;
    border-left: 1px solid rgba(143, 195, 255, .2);
}

.ps-facts div:first-child {
    padding-left: 0;
    border-left: 0;
}

.ps-facts dt {
    color: var(--ps-cer-stins);
    font-size: .76rem;
    font-weight: 400;
}

.ps-facts dd {
    margin: 2px 0 0;
    color: #fff;
    font-family: var(--ps-titluri);
    font-size: 1.3rem;
    font-weight: 800;
    white-space: nowrap;
}

.ps-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

/* portretul fondatorului */
.ps-portret {
    position: relative;
    justify-self: end;
    width: min(100%, 420px);
    padding: 0 0 26px 26px;
}

.ps-portret::before {
    content: "";
    position: absolute;
    inset: 34px 30px 0 0;
    border-radius: 36px 36px 36px 110px;
    background: linear-gradient(160deg, #8FC3FF 0%, #376FF7 100%);
}

.ps-portret__frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 32px 32px 32px 100px;
    overflow: hidden;
    background: var(--ps-navy-2);
    box-shadow: 0 34px 70px rgba(0, 0, 30, .5);
}

.ps-portret__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-portret__card {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 300px;
    padding: 14px 20px;
    border: 1px solid rgba(143, 195, 255, .25);
    border-radius: 20px;
    background: rgba(9, 16, 87, .85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 30, .4);
}

.ps-portret__card strong {
    font-family: var(--ps-titluri);
    font-size: 1.05rem;
    font-weight: 800;
}

.ps-portret__card span {
    color: var(--ps-cer-text);
    font-size: .8rem;
    line-height: 1.35;
}

.ps-portret__badge {
    position: absolute;
    top: 18px;
    right: -14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 10px;
    border-radius: 999px;
    background: var(--ps-verde);
    color: var(--ps-navy);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(0, 0, 30, .35);
}

/* operatorul (paginile legale) */
.ps-operator {
    justify-self: end;
    width: min(100%, 360px);
    padding: 26px;
    border: 1px solid rgba(143, 195, 255, .18);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(55, 111, 247, .16) 0%, rgba(55, 111, 247, .04) 100%);
}

.ps-operator__eticheta {
    color: var(--ps-cer);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ps-operator__nume {
    margin-top: 4px !important;
    font-family: var(--ps-titluri);
    font-size: 1.35rem;
    font-weight: 800;
}

.ps-operator dl {
    display: grid;
    gap: 0;
    margin: 16px 0 18px !important;
    border-top: 1px solid rgba(143, 195, 255, .16);
}

.ps-operator dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(143, 195, 255, .16);
    font-size: .88rem;
}

.ps-operator dt {
    color: var(--ps-cer-stins);
    font-weight: 400;
}

.ps-operator dd {
    margin: 0;
    color: #fff;
    font-weight: 500;
}

.ps .ps-operator__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--ps-cer-text);
    font-size: .92rem;
}

.ps .ps-operator__link:hover {
    color: #fff;
    text-decoration: none;
}

.ps-operator__link .ps-ico {
    color: var(--ps-verde);
}

/* ---------- Continut ---------- */

.ps-body {
    padding: 48px 0 96px;
    background: var(--ps-navy);
}

.ps-sheet {
    padding: clamp(20px, 4vw, 56px);
    border-radius: 40px;
    background: var(--ps-hartie);
    color: var(--ps-navy);
}

.ps-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.ps-layout--simplu {
    grid-template-columns: minmax(0, 1fr);
}

.ps-continut {
    max-width: 800px;
    min-width: 0;
}

.ps-layout--simplu .ps-continut {
    margin: 0 auto;
}

/* cuprins */
.ps-toc {
    position: sticky;
    top: var(--ps-antet);
    max-height: calc(100vh - var(--ps-antet) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.ps-toc__titlu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--ps-navy);
    font-family: var(--ps-titluri);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

.ps-toc__titlu::-webkit-details-marker {
    display: none;
}

.ps-toc__sageata {
    transition: transform .25s var(--ps-ease);
}

.ps-toc__details:not([open]) .ps-toc__sageata {
    transform: rotate(-90deg);
}

.ps-toc__lista {
    border-left: 2px solid var(--ps-linie);
}

.ps-toc__lista a {
    display: block;
    margin-left: -2px;
    padding: 7px 0 7px 14px;
    border-left: 2px solid transparent;
    color: var(--ps-text);
    font-size: .88rem;
    line-height: 1.4;
    transition: color .2s ease, border-color .2s ease;
}

.ps-toc__lista a:hover {
    color: var(--ps-navy);
    text-decoration: none;
}

.ps-toc__lista a.is-activ {
    border-left-color: var(--ps-albastru);
    color: var(--ps-albastru-text);
    font-weight: 500;
}

/* nota fondatorului */
.ps-nota {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 4px 24px;
    align-items: center;
    margin-bottom: 56px !important;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(55, 111, 247, .3) 0%, rgba(55, 111, 247, 0) 70%),
        var(--ps-navy);
    color: #fff;
    box-shadow: 0 24px 50px rgba(9, 16, 87, .2);
}

.ps-nota__foto {
    grid-row: span 2;
    width: 96px;
    height: 96px;
    border: 3px solid var(--ps-verde);
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 22%;
}

.ps-nota__text p {
    font-family: var(--ps-titluri);
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    font-weight: 600;
    line-height: 1.5;
}

.ps-nota__semnatura {
    color: var(--ps-cer-text);
    font-size: .88rem;
}

.ps-nota__semnatura strong {
    color: var(--ps-verde-text);
}

/* sectiunile */
.ps-sec {
    scroll-margin-top: var(--ps-antet);
}

.ps-prose--intro + .ps-sec,
.ps-sec + .ps-sec {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--ps-linie);
}

.ps .ps-sec__title {
    margin-bottom: 18px;
    color: var(--ps-navy);
    font-size: clamp(1.4rem, 2.3vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.ps-prose {
    color: var(--ps-text);
    font-size: 1.04rem;
    line-height: 1.78;
}

.ps-prose > * + * {
    margin-top: 18px !important;
}

.ps-prose h3,
.ps-prose h4 {
    color: var(--ps-navy);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
}

.ps-prose strong {
    color: var(--ps-navy);
    font-weight: 600;
}

.ps-prose a {
    color: var(--ps-albastru-text);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(55, 111, 247, .35);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color .2s ease, color .2s ease;
}

.ps-prose a:hover {
    color: var(--ps-albastru-hover);
    text-decoration-color: currentColor;
}

.ps-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.ps-prose ul,
.ps-prose ol {
    display: grid;
    gap: 10px;
}

.ps-prose ul li {
    position: relative;
    padding-left: 34px;
}

.ps-prose ul li::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%233F8A1E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat,
        rgba(128, 196, 84, .2);
}

.ps-prose ol {
    counter-reset: ps-pas;
}

.ps-prose ol li {
    position: relative;
    padding-left: 40px;
    counter-increment: ps-pas;
}

.ps-prose ol li::before {
    content: counter(ps-pas);
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ps-navy);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
}

/* listele care incep cu un link (ex. standardele din catalog) devin carduri clicabile */
.ps-prose ul:has(> li > a:first-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ps-prose ul:has(> li > a:first-child) li {
    padding: 16px 52px 16px 18px;
    border: 1px solid var(--ps-linie);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ps-umbra);
    font-size: .9rem;
    line-height: 1.5;
    transition: transform .3s var(--ps-ease), box-shadow .3s var(--ps-ease), border-color .3s ease;
}

.ps-prose ul:has(> li > a:first-child) li::before {
    top: 50%;
    right: 16px;
    left: auto;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11m-4.5-4.5L15 10l-4.5 4.5' fill='none' stroke='%23091057' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat,
        var(--ps-hartie);
    transition: background-color .3s ease;
}

.ps-prose ul:has(> li > a:first-child) li > a:first-child {
    display: block;
    margin-bottom: 2px;
    color: var(--ps-navy);
    font-family: var(--ps-titluri);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.ps-prose ul:has(> li > a:first-child) li > a:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
}

.ps-prose ul:has(> li > a:first-child) li:hover {
    transform: translateY(-3px);
    border-color: #CFDBF7;
    box-shadow: var(--ps-umbra-mare);
}

.ps-prose ul:has(> li > a:first-child) li:hover::before {
    background-color: var(--ps-verde);
}

/* pasii numerotati cu titlu ingrosat: cronologie */
.ps-prose ol:has(> li > strong:first-child) {
    gap: 0;
}

.ps-prose ol:has(> li > strong:first-child) li {
    padding: 0 0 26px 58px;
}

.ps-prose ol:has(> li > strong:first-child) li::before {
    width: 38px;
    height: 38px;
    background: var(--ps-albastru);
    box-shadow: 0 0 0 6px rgba(55, 111, 247, .14);
    font-family: var(--ps-titluri);
    font-size: .95rem;
    font-weight: 800;
}

.ps-prose ol:has(> li > strong:first-child) li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    bottom: 6px;
    left: 18px;
    width: 2px;
    border-radius: 2px;
    background: var(--ps-linie);
}

.ps-prose ol:has(> li > strong:first-child) li > strong:first-child {
    display: block;
    padding-top: 6px;
    font-family: var(--ps-titluri);
    font-size: 1.06rem;
    font-weight: 800;
}

/* listele cu titlu ingrosat (ex. avantaje) devin carduri */
.ps-prose ul:has(> li > strong:first-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ps-prose ul:has(> li > strong:first-child) li {
    padding: 20px 20px 20px 62px;
    border: 1px solid var(--ps-linie);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ps-umbra);
    font-size: .94rem;
    line-height: 1.6;
}

.ps-prose ul:has(> li > strong:first-child) li::before {
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background-size: 18px;
}

.ps-prose ul:has(> li > strong:first-child) li > strong:first-child {
    display: block;
    margin-bottom: 4px;
    font-family: var(--ps-titluri);
    font-size: 1.02rem;
    font-weight: 800;
}

/* tabelele (container derulabil din Front_functions::ambaleaza_tabele) */
.ps .ca-tabel {
    overflow-x: auto;
    border: 1px solid var(--ps-linie);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ps-umbra);
    -webkit-overflow-scrolling: touch;
}

.ps-prose table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: .92rem;
    line-height: 1.55;
}

.ps-prose th,
.ps-prose td {
    padding: 13px 18px;
    text-align: left;
    vertical-align: top;
}

.ps-prose thead th {
    background: var(--ps-navy);
    color: #fff;
    font-family: var(--ps-titluri);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.ps-prose tbody tr + tr td {
    border-top: 1px solid var(--ps-linie);
}

.ps-prose tbody tr:nth-child(even) td {
    background: #F8FAFF;
}

.ps-prose tbody td:first-child {
    color: var(--ps-navy);
    font-weight: 600;
}

/* intrebari despre document (paginile legale) */
.ps-intrebari {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 56px;
    padding: 22px 24px;
    border: 1px solid var(--ps-linie);
    border-radius: 20px;
    background: #fff;
    color: var(--ps-text);
    font-size: .95rem;
    line-height: 1.6;
}

.ps-intrebari__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(128, 196, 84, .18);
    color: var(--ps-verde-inchis);
}

.ps-intrebari strong {
    color: var(--ps-navy);
}

.ps-intrebari a {
    color: var(--ps-albastru-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Indemnul final (Despre noi) ---------- */

.ps .ps-indemn {
    padding: 0 0 110px;
    background: var(--ps-navy);
    scroll-margin-top: var(--ps-antet);
}

.ps-indemn__card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
    gap: 40px;
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
    border: 1px solid rgba(143, 195, 255, .16);
    border-radius: 36px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(55, 111, 247, .38) 0%, rgba(55, 111, 247, 0) 70%),
        radial-gradient(40% 70% at 0% 100%, rgba(128, 196, 84, .14) 0%, rgba(128, 196, 84, 0) 70%),
        var(--ps-navy-2);
}

.ps-indemn__titlu {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.ps-indemn__prose {
    max-width: 620px;
    margin-top: 14px;
    color: var(--ps-cer-text);
    font-size: 1rem;
    line-height: 1.7;
}

.ps-indemn__prose p + p {
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(143, 195, 255, .14);
    color: var(--ps-cer-stins);
    font-size: .84rem;
}

.ps-indemn__prose strong {
    color: #fff;
}

.ps-indemn__prose a {
    color: var(--ps-verde-text);
    font-weight: 500;
}

.ps-indemn__actiuni {
    display: grid;
    gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
    .ps-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ps-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .ps-toc__details {
        padding: 6px 22px;
        border: 1px solid var(--ps-linie);
        border-radius: 20px;
        background: #fff;
    }

    .ps-toc__titlu {
        margin: 0;
        padding: 14px 0;
    }

    .ps-toc__details[open] .ps-toc__lista {
        margin-bottom: 16px;
    }

    .ps-continut {
        max-width: none;
    }

    .ps-facts {
        grid-template-columns: repeat(2, auto);
        gap: 18px 0;
    }

    .ps-facts div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 1000px) {
    .ps {
        --ps-antet: 24px;
    }
}

@media (max-width: 991.98px) {
    .ps .ps-hero {
        padding: 130px 0 56px;
    }

    .ps-hero__grid,
    .ps-indemn__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .ps-portret,
    .ps-operator {
        justify-self: start;
    }

    .ps-portret {
        width: min(100%, 360px);
    }
}

@media (max-width: 767.98px) {
    .ps-prose ul:has(> li > a:first-child),
    .ps-prose ul:has(> li > strong:first-child) {
        grid-template-columns: minmax(0, 1fr);
    }

    .ps-nota {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 22px;
    }

    .ps-nota__foto {
        width: 64px;
        height: 64px;
        grid-row: auto;
    }

    .ps-nota__text {
        grid-column: 1 / -1;
        order: 3;
    }

    .ps-nota__semnatura {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    .ps .ps-hero {
        padding-top: 170px;
    }

    .ps-crumbs ol {
        margin-bottom: 24px !important;
    }

    .ps-hero__actions .ps-btn {
        width: 100%;
    }

    .ps-portret {
        padding: 0 0 20px 14px;
    }

    .ps-portret::before {
        inset: 24px 18px 0 0;
        border-radius: 28px 28px 28px 80px;
    }

    .ps-portret__frame {
        aspect-ratio: 4 / 5;
        border-radius: 26px 26px 26px 80px;
    }

    .ps-portret__badge {
        right: 8px;
    }

    .ps-sheet {
        border-radius: 28px;
    }

    .ps-prose {
        font-size: 1rem;
    }

    .ps .ps-indemn {
        padding-bottom: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps *,
    .ps *::before,
    .ps *::after {
        animation: none !important;
        transition: none !important;
    }
}
