/* ── تنسيق التمريض العادي — تصميم مستقل (ptn) ── */
.ptn-wrap {
    width: min(100%, 1140px);
    margin-inline: auto;
    padding-inline: 16px;
}

.ptn-hero {
    background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 35%, #fff1f2 100%);
    border-bottom: 3px solid #be185d;
    padding: 24px 0 36px;
}

.ptn-hero__shell {
    text-align: center;
    max-width: 920px;
    margin-inline: auto;
    padding-top: 8px;
}

.ptn-hero__ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ptn-hero__ribbon span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f9a8d4;
    color: #9d174d;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(190, 24, 93, 0.12);
}

.ptn-hero__title {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 900;
    line-height: 1.55;
    color: #831843;
}

.ptn-hero__lead {
    margin: 0 auto 20px;
    max-width: 780px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #9d174d;
}

.ptn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ptn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.ptn-btn--primary {
    background: linear-gradient(135deg, #db2777, #be185d);
    color: #fff;
    box-shadow: 0 4px 14px rgba(190, 24, 93, 0.35);
}

.ptn-btn--ghost {
    background: #fff;
    color: #9d174d;
    border: 1px solid #f9a8d4;
}

.ptn-btn:hover {
    transform: translateY(-1px);
}

.ptn-section-title {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 900;
    color: #831843;
}

.ptn-section-title i {
    color: #db2777;
    margin-left: 6px;
}

.ptn-calc {
    padding: 32px 0;
    background: #fff;
}

.ptn-calc__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
}

.ptn-calc__panel {
    background: linear-gradient(145deg, #fff 0%, #fdf2f8 100%);
    border: 2px solid #fbcfe8;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(190, 24, 93, 0.08);
}

.ptn-calc__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fce7f3;
    color: #be185d;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.ptn-calc__head h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 900;
    color: #831843;
}

.ptn-calc__head p {
    margin: 0 0 16px;
    color: #9d174d;
    font-size: 0.92rem;
    line-height: 1.65;
}

.ptn-calc__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.ptn-field span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #9d174d;
    margin-bottom: 6px;
}

.ptn-calc__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: #9d174d;
}

.ptn-quick-btn {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #f9a8d4;
    background: #fff;
    color: #be185d;
    font-weight: 800;
    cursor: pointer;
}

.ptn-quick-btn:hover {
    background: #fce7f3;
}

.ptn-calc__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #db2777, #be185d);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(219, 39, 119, 0.3);
}

.ptn-calc__result {
    margin-top: 16px;
}

.ptn-tracks {
    background: #500724;
    color: #fce7f3;
    border-radius: 20px;
    padding: 20px;
}

.ptn-tracks h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 900;
}

.ptn-tracks h3 i {
    color: #f472b6;
    margin-left: 6px;
}

.ptn-tracks__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ptn-tracks__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.ptn-tracks__ico {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(244, 114, 182, 0.15);
    color: #f472b6;
    flex-shrink: 0;
}

.ptn-tracks__item strong {
    display: block;
    font-size: 0.92rem;
}

.ptn-tracks__item small {
    color: rgba(252, 231, 243, 0.75);
    font-size: 0.78rem;
}

.ptn-tracks__note {
    margin: 14px 0 0;
    font-size: 0.78rem;
    color: rgba(252, 231, 243, 0.65);
}

.ptn-process {
    padding: 36px 0;
}

.ptn-process__list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ptn-process__item {
    background: #fff;
    border: 1px solid #fbcfe8;
    border-radius: 16px;
    padding: 16px;
}

.ptn-process__num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #db2777;
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}

.ptn-process__item strong {
    display: block;
    margin-bottom: 6px;
    color: #831843;
    font-size: 0.95rem;
}

.ptn-process__item p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #9d174d;
}

.ptn-govs {
    padding: 8px 0 36px;
}

.ptn-govs__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.ptn-govs__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #f9a8d4;
    background: #fff;
    min-width: min(100%, 280px);
}

.ptn-govs__search input {
    border: none;
    outline: none;
    flex: 1;
    font: inherit;
    background: transparent;
}

.ptn-gov-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ptn-gov-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #fbcfe8;
    color: #831843;
    text-decoration: none;
    font-size: 0.88rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ptn-gov-chip:hover {
    border-color: #be185d;
    box-shadow: 0 4px 12px rgba(190, 24, 93, 0.15);
}

.ptn-gov-chip__name {
    font-weight: 900;
}

.ptn-gov-chip__min {
    color: #be185d;
    font-weight: 800;
    font-size: 0.8rem;
}

.ptn-gov-chip__status {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fce7f3;
    color: #9d174d;
}

.ptn-gov-chip__arrow {
    font-size: 0.75rem;
    opacity: 0.5;
}

.ptn-govs__empty {
    margin-top: 12px;
    color: #9d174d;
    font-size: 0.9rem;
}

.ptn-gov-details {
    padding: 8px 0 40px;
}

.ptn-gov-details__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ptn-gov-block {
    scroll-margin-top: 88px;
    background: #fff;
    border: 1px solid #fbcfe8;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 4px 18px rgba(190, 24, 93, 0.06);
}

.ptn-gov-block__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.ptn-gov-block__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: #831843;
}

.ptn-gov-block__head p {
    margin: 6px 0 0;
    font-size: 0.88rem;
    color: #9d174d;
    line-height: 1.65;
}

.ptn-gov-block__badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fce7f3;
    color: #be185d;
    font-weight: 800;
}

.ptn-gov-block__tracks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.ptn-gov-block__tracks li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    font-size: 0.85rem;
}

.ptn-gov-block__tracks strong {
    color: #be185d;
}

.ptn-gov-block__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    font-size: 0.82rem;
}

.ptn-gov-block__foot a {
    color: #be185d;
    font-weight: 800;
    text-decoration: none;
}

.ptn-keywords {
    background: linear-gradient(180deg, #fff1f2, #fdf2f8);
    padding: 36px 0 40px;
    border-block: 1px solid #fbcfe8;
}

.ptn-keywords__head {
    margin-bottom: 20px;
}

.ptn-keywords__head p {
    margin: 0;
    color: #9d174d;
    font-size: 0.92rem;
}

.ptn-keywords__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ptn-kw-group {
    background: #fff;
    border: 1px solid #fbcfe8;
    border-radius: 16px;
    padding: 16px;
}

.ptn-kw-group h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 900;
    color: #831843;
}

.ptn-kw-group h3 i {
    color: #db2777;
    margin-left: 6px;
}

.ptn-kw-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ptn-kw-group__list li {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #9d174d;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fdf2f8;
    border-right: 3px solid #f472b6;
}

.ptn-faq {
    padding: 36px 0;
}

.ptn-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.ptn-faq__item {
    background: #fff;
    border: 1px solid #fbcfe8;
    border-radius: 14px;
    padding: 0 14px;
}

.ptn-faq__item summary {
    padding: 14px 0;
    font-weight: 800;
    color: #831843;
    cursor: pointer;
    list-style: none;
}

.ptn-faq__item summary::-webkit-details-marker {
    display: none;
}

.ptn-faq__item p {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #9d174d;
}

.ptn-related {
    background: #500724;
    color: #fce7f3;
    padding: 32px 0 44px;
}

.ptn-related .ptn-section-title {
    color: #fce7f3;
}

.ptn-related .ptn-section-title i {
    color: #f472b6;
}

.ptn-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.ptn-related__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 114, 182, 0.2);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s;
}

.ptn-related__card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ptn-related__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(244, 114, 182, 0.15);
    color: #f472b6;
    flex-shrink: 0;
}

.ptn-related__card strong {
    display: block;
    font-size: 0.9rem;
}

.ptn-related__card small {
    display: block;
    font-size: 0.78rem;
    opacity: 0.75;
    margin-top: 2px;
}

.ptn-related__card > .fa-arrow-left {
    margin-right: auto;
    opacity: 0.5;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .ptn-calc__layout {
        grid-template-columns: 1fr;
    }

    .ptn-process__list {
        grid-template-columns: 1fr 1fr;
    }

    .ptn-keywords__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ptn-calc__fields {
        grid-template-columns: 1fr;
    }

    .ptn-process__list {
        grid-template-columns: 1fr;
    }

    .ptn-keywords__grid,
    .ptn-faq__grid,
    .ptn-related__grid {
        grid-template-columns: 1fr;
    }
}
