
.ptns-history, .ptns-history * {
    box-sizing: border-box;
}

.ptns-history-premium {
    position: relative;
    overflow: hidden;
    padding: 95px 20px;
    background:
        linear-gradient(
            135deg,
            var(--ptns-history-color-0, rgba(247, 249, 252, 0.98)),
            var(--ptns-history-color-1, rgba(240, 244, 250, 0.96))
        );
    font-family: Arial, Helvetica, sans-serif;
}

/* decorative shapes */
.ptns-history-premium::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -170px;
    border-radius: 50%;
    border: 70px solid var(--ptns-history-color-2, rgba(237, 28, 36, 0.04));
}

.ptns-history-premium::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -180px;
    bottom: -190px;
    border-radius: 50%;
    background: var(--ptns-history-color-3, rgba(7, 25, 56, 0.035));
}

.ptns-history-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.ptns-history-header {
    text-align: center;
    margin-bottom: 55px;
}

.ptns-history-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 12px;

    color: var(--ptns-history-color-4, #071938);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.ptns-history-eyebrow::before,
.ptns-history-eyebrow::after {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--ptns-history-color-5, #ed1c24);
}

.ptns-history-header h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--ptns-history-color-4, #071938);
}

.ptns-history-header h2 span {
    color: var(--ptns-history-color-5, #ed1c24);
}

.ptns-history-header p {
    max-width: 760px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--ptns-history-color-6, #68768b);
}


/* =========================
   MAIN GRID
========================= */

.ptns-history-main {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 45px;
    align-items: stretch;
}


/* =========================
   LEFT SIDE
========================= */

.ptns-history-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 26px;

    background:
        linear-gradient(
            180deg,
            var(--ptns-history-color-7, rgba(7, 25, 56, 0.06)) 0%,
            var(--ptns-history-color-8, rgba(7, 25, 56, 0.20)) 45%,
            var(--ptns-history-color-9, rgba(7, 25, 56, 0.92)) 100%
        ),
        var(--ptnh-image);

    background-size: cover;
    background-position: center;

    box-shadow: 0 22px 55px var(--ptns-history-color-10, rgba(7, 25, 56, 0.17));
}

.ptns-history-visual-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 38px;
    color: var(--ptns-history-color-11, #ffffff);
}

.ptns-history-years-number {
    display: flex;
    align-items: flex-start;
    gap: 4px;

    font-size: 82px;
    line-height: .9;
    font-weight: 900;
    letter-spacing: -4px;
}

.ptns-history-years-number span {
    color: var(--ptns-history-color-5, #ed1c24);
    font-size: 42px;
    line-height: 1;
}

.ptns-history-years-label {
    margin-top: 10px;
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ptns-history-color-12, rgba(255,255,255,.88));
}

.ptns-history-visual-content p {
    margin: 0;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ptns-history-color-13, rgba(255,255,255,.82));
}


/* floating badge */

.ptns-history-badge {
    position: absolute;
    top: 25px;
    right: 25px;

    padding: 11px 16px;

    border-radius: 30px;

    background: var(--ptns-history-color-14, rgba(255,255,255,.94));

    color: var(--ptns-history-color-4, #071938);

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 10px 25px var(--ptns-history-color-15, rgba(0,0,0,.12));
}

.ptns-history-badge span {
    color: var(--ptns-history-color-5, #ed1c24);
}


/* =========================
   RIGHT SIDE
========================= */

.ptns-history-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ptns-history-content h3 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 900;
    color: var(--ptns-history-color-4, #071938);
}

.ptns-history-content h3 span {
    color: var(--ptns-history-color-5, #ed1c24);
}

.ptns-history-intro {
    margin-bottom: 30px;
}

.ptns-history-intro p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ptns-history-color-16, #66758b);
}


/* =========================
   TIMELINE
========================= */

.ptns-history-timeline {
    position: relative;
}

.ptns-history-timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 18px;
    bottom: 18px;

    width: 2px;
    background: var(--ptns-history-color-17, #dce3ed);
}

.ptns-history-step {
    position: relative;

    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;

    margin-bottom: 19px;
}

.ptns-history-step:last-child {
    margin-bottom: 0;
}

.ptns-history-step-number {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--ptns-history-color-4, #071938);
    color: var(--ptns-history-color-11, #ffffff);

    font-size: 14px;
    font-weight: 900;

    box-shadow: 0 8px 20px var(--ptns-history-color-18, rgba(7,25,56,.18));

    transition: .35s ease;
}

.ptns-history-step.red .ptns-history-step-number {
    background: var(--ptns-history-color-5, #ed1c24);
}

.ptns-history-step-card {
    position: relative;

    padding: 17px 20px;

    background: var(--ptns-history-color-11, #ffffff);

    border: 1px solid var(--ptns-history-color-19, #e9edf3);
    border-radius: 16px;

    box-shadow: 0 8px 24px var(--ptns-history-color-20, rgba(7,25,56,.06));

    transition: transform .35s ease, box-shadow .35s ease;
}

.ptns-history-step:hover .ptns-history-step-card {
    transform: translateX(7px);
    box-shadow: 0 14px 32px var(--ptns-history-color-21, rgba(7,25,56,.11));
}

.ptns-history-step:hover .ptns-history-step-number {
    transform: scale(1.08);
}

.ptns-history-step-label {
    margin-bottom: 5px;

    color: var(--ptns-history-color-5, #ed1c24);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.ptns-history-step-card h4 {
    margin: 0 0 6px;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;

    color: var(--ptns-history-color-4, #071938);
}

.ptns-history-step-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.65;

    color: var(--ptns-history-color-22, #6b788b);
}


/* =========================
   BOTTOM STATEMENT
========================= */

.ptns-history-bottom {
    margin-top: 42px;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;

    padding: 23px 27px;

    border-radius: 18px;

    background: var(--ptns-history-color-4, #071938);

    box-shadow: 0 14px 35px var(--ptns-history-color-23, rgba(7,25,56,.15));
}

.ptns-history-bottom-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--ptns-history-color-5, #ed1c24);
    color: var(--ptns-history-color-11, #ffffff);

    font-size: 22px;
}

.ptns-history-bottom h4 {
    margin: 0 0 5px;

    color: var(--ptns-history-color-11, #ffffff);

    font-size: 18px;
    font-weight: 800;
}

.ptns-history-bottom p {
    margin: 0;

    color: var(--ptns-history-color-24, rgba(255,255,255,.72));

    font-size: 13px;
    line-height: 1.65;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .ptns-history-main {
        grid-template-columns: 1fr;
    }

    .ptns-history-visual {
        min-height: 480px;
    }

}

@media (max-width: 767px) {

    .ptns-history-premium {
        padding: 65px 15px;
    }

    .ptns-history-header {
        margin-bottom: 38px;
    }

    .ptns-history-header h2 {
        font-size: 36px;
    }

    .ptns-history-visual {
        min-height: 400px;
        border-radius: 20px;
    }

    .ptns-history-visual-content {
        padding: 28px;
    }

    .ptns-history-years-number {
        font-size: 66px;
    }

    .ptns-history-content h3 {
        font-size: 27px;
    }

    .ptns-history-step {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .ptns-history-step-number {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .ptns-history-timeline::before {
        left: 21px;
    }

    .ptns-history-bottom {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .ptns-history-header h2 {
        font-size: 31px;
    }

    .ptns-history-header p {
        font-size: 14px;
    }

    .ptns-history-visual {
        min-height: 360px;
    }

    .ptns-history-badge {
        top: 15px;
        right: 15px;
    }

    .ptns-history-step-card {
        padding: 15px 16px;
    }

}

.ptns-history{isolation:isolate}.ptns-history::before,.ptns-history::after{pointer-events:none}
.ptns-history .ptns-history-visual{--ptnh-image:url("https://ptn.com.af/wp-content/uploads/2026/09/3f01ada4-97af-4550-ba5f-ebd506878fba.png")}
.ptns-history p{overflow-wrap:anywhere;white-space:pre-line}
@media(prefers-reduced-motion:reduce){.ptns-history *{transition:none!important;animation:none!important}.ptns-history .ptns-history-step:hover .ptns-history-step-card,.ptns-history .ptns-history-step:hover .ptns-history-step-number{transform:none}}
