/* =====================================================================
   IJRCSIT PUBLICATION ETHICS  (assets/css/ijrcsit-plagiarism.css)
   The hero banner uses the site's own CSS and is NOT touched here.
   Sections: 1 Tokens · 2 Layout · 3 Principles · 4 Ethics · 5 Steps
             6 Author checklist · 7 Rights · 8 Responsive
   All classes start with "pe-".
   ===================================================================== */

/* ---------- 1. TOKENS (change colours here) ---------- */
.pe-page {
    --pe-ink:    #102b38;
    --pe-brand:  #1e4356;
    --pe-accent: #4f8eae;
    --pe-light:  #68a4c4;
    --pe-tint:   #eaf4f9;
    --pe-line:   #d8e5eb;
    --pe-text:   #263746;
    --pe-muted:  #647482;
    --pe-radius: 16px;
    --pe-head:   'Manrope', 'Inter', sans-serif;

    background: #fff; color: var(--pe-text); font-family: 'Inter', system-ui, sans-serif;
}
.pe-page *, .pe-page *::before, .pe-page *::after { box-sizing: border-box; }
.pe-page h2, .pe-page h3, .pe-page p, .pe-page ul, .pe-page ol, .pe-page figure { margin: 0; padding: 0; }
.pe-page button { font-family: inherit; }
.pe-page :focus-visible { outline: 3px solid var(--pe-light); outline-offset: 3px; }

/* ---------- 2. LAYOUT + SHARED TYPE ---------- */
.pe-wrap { width: min(1100px, 100% - 32px); margin-inline: auto; padding-block: 44px 64px; }
.pe-wrap > section { margin-bottom: 52px; }
.pe-wrap > section:last-child { margin-bottom: 0; }

.pe-page h2 { font: 800 clamp(22px, 2.6vw, 28px)/1.2 var(--pe-head); color: var(--pe-brand); letter-spacing: -.015em; }
.pe-page h3 { font: 700 16px/1.3 var(--pe-head); color: var(--pe-ink); }
.pe-page p  { font-size: 15px; line-height: 1.7; color: var(--pe-muted); }

.pe-head { margin-bottom: 20px; padding-left: 14px; border-left: 3px solid var(--pe-accent); }
.pe-head h2 { margin-bottom: 4px; }
.pe-head p  { max-width: 64ch; }

.pe-icon {                                    /* round icon tile, used on dark and light */
    flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 21px;
}
.pe-icon--soft { background: var(--pe-tint); border-color: transparent; color: var(--pe-brand); }

.pe-photo {
    position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--pe-brand), var(--pe-ink));
    box-shadow: 0 18px 44px rgba(16, 43, 56, .16);
}
.pe-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pe-photo figcaption {
    position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: max-content; padding: 10px 14px;
    border-radius: 10px; font-size: 13.5px; line-height: 1.4; color: #d8e5eb;
    background: rgba(16, 43, 56, .8); backdrop-filter: blur(6px);
}
.pe-photo figcaption strong { display: block; font-family: var(--pe-head); font-size: 14px; color: #fff; }

/* ---------- 3. PRINCIPLES (dark focal panel) ---------- */
.pe-principles {
    position: relative; overflow: hidden; padding: 30px; border-radius: 22px; color: #fff;
    background: linear-gradient(135deg, var(--pe-ink) 0%, var(--pe-brand) 100%);
    box-shadow: 0 24px 56px rgba(16, 43, 56, .22);
}
.pe-principles::before {
    content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -170px; border-radius: 50%;
    background: radial-gradient(circle, rgba(104, 164, 196, .35), transparent 70%); pointer-events: none;
}
.pe-principles > * { position: relative; }
.pe-principles h2 { margin-bottom: 20px; color: #fff; }
.pe-principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pe-principle {
    padding: 20px; border-radius: var(--pe-radius); background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16); transition: background .25s, border-color .25s;
}
.pe-principle:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .32); }
.pe-principle .pe-icon { margin-bottom: 14px; }
.pe-principle h3 { margin-bottom: 4px; font-size: 17px; color: #fff; }
.pe-principle p  { font-size: 14.5px; line-height: 1.6; color: #b9d2df; }

/* ---------- 4. ORIGINALITY / ETHICS ---------- */
.pe-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.pe-split .pe-photo { aspect-ratio: auto; min-height: 340px; }
.pe-ethics { display: grid; gap: 12px; }
.pe-ethic {
    display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
    border: 1px solid var(--pe-line); border-radius: var(--pe-radius); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.pe-ethic:hover { border-color: var(--pe-accent); box-shadow: 0 10px 26px rgba(30, 67, 86, .09); }
.pe-ethic h3 { margin-bottom: 3px; }
.pe-ethic p  { font-size: 14px; line-height: 1.6; }

.pe-alert {
    display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 18px;
    border-radius: 14px; background: var(--pe-tint); border: 1px solid var(--pe-line); border-left: 4px solid var(--pe-brand);
}
.pe-alert i { margin-top: 2px; font-size: 19px; color: var(--pe-brand); }
.pe-alert p { font-size: 14.5px; color: var(--pe-text); }

/* ---------- 5. REVIEW STEPS (a real sequence, so numbered) ---------- */
.pe-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.pe-line  { position: absolute; top: 21px; left: 22px; right: calc(25% - 22px); height: 2px; background: var(--pe-line); border-radius: 2px; }
.pe-line-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--pe-brand), var(--pe-light)); border-radius: 2px;
                transform-origin: left; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1); }
.pe-step { position: relative; }
.pe-step-marker {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
    border-radius: 50%; background: var(--pe-brand); color: #fff; font: 800 16px/1 var(--pe-head);
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--pe-line); transition: opacity .4s, transform .4s;
}
.pe-step h3 { margin-bottom: 4px; }
.pe-step p  { font-size: 14px; line-height: 1.6; max-width: 30ch; }

/* animation only when JS runs; without JS everything is visible */
.pe-js .pe-steps:not(.is-in) .pe-line-fill   { transform: scaleX(0); }
.pe-js .pe-steps:not(.is-in) .pe-step-marker { opacity: .35; transform: scale(.85); }
.pe-js .pe-steps.is-in .pe-step:nth-of-type(2) .pe-step-marker { transition-delay: .3s; }
.pe-js .pe-steps.is-in .pe-step:nth-of-type(3) .pe-step-marker { transition-delay: .6s; }
.pe-js .pe-steps.is-in .pe-step:nth-of-type(4) .pe-step-marker { transition-delay: .9s; }

.pe-time {
    display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 18px 22px;
    border-radius: var(--pe-radius); background: var(--pe-tint); border: 1px solid var(--pe-line);
}
.pe-time strong { flex: none; font: 800 26px/1.1 var(--pe-head); color: var(--pe-brand); letter-spacing: -.02em; }
.pe-time p { font-size: 14.5px; }

/* ---------- 6. AUTHOR RESPONSIBILITY (tickable checklist) ---------- */
.pe-author {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; padding: 30px;
    border: 1px solid var(--pe-line); border-radius: 22px; background: linear-gradient(180deg, #fff, var(--pe-tint));
}
.pe-author-copy h2 { margin-bottom: 12px; }
.pe-btn {
    display: inline-block; margin-top: 20px; padding: 12px 22px; border-radius: 12px; text-decoration: none;
    background: var(--pe-brand); color: #fff; font: 700 14.5px/1 var(--pe-head);
    transition: background .2s, transform .2s;
}
.pe-btn:hover { background: var(--pe-ink); color: #fff; transform: translateY(-1px); }

.pe-checks { display: grid; gap: 10px; list-style: none; }
.pe-check {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px; text-align: left; cursor: pointer;
    background: #fff; border: 1px solid var(--pe-line); border-radius: 14px; transition: border-color .2s, background .2s;
}
.pe-check:hover { border-color: var(--pe-accent); }
.pe-box {
    flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
    border: 2px solid var(--pe-line); background: #fff; color: transparent; font-size: 14px;
    transition: background .2s, border-color .2s, color .2s;
}
.pe-check-text strong { display: block; font: 700 15px/1.3 var(--pe-head); color: var(--pe-ink); }
.pe-check-text small  { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.5; color: var(--pe-muted); }
.pe-check[aria-pressed="true"] { border-color: var(--pe-accent); background: #f6fbfd; }
.pe-check[aria-pressed="true"] .pe-box { background: var(--pe-brand); border-color: var(--pe-brand); color: #fff; }

.pe-progress { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.pe-progress[hidden] { display: none; }
.pe-progress-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--pe-line); overflow: hidden; }
.pe-progress-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--pe-accent), var(--pe-brand)); transition: width .35s ease; }
.pe-progress p { flex: none; font-size: 14px; }
.pe-progress strong { color: var(--pe-ink); }

/* ---------- 7. RIGHTS ---------- */
.pe-rights { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.pe-photo--side { aspect-ratio: 5 / 4; }
.pe-rights-text h2 { margin-bottom: 12px; }
.pe-rights-text p + p { margin-top: 10px; }
.pe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.pe-tags li { padding: 7px 14px; border-radius: 99px; background: var(--pe-tint); border: 1px solid var(--pe-line);
              font-size: 13.5px; font-weight: 600; color: var(--pe-brand); }

/* ---------- 8. RESPONSIVE ---------- */
@media (max-width: 960px) {
    .pe-split, .pe-author, .pe-rights { grid-template-columns: 1fr; gap: 24px; }
    .pe-split .pe-photo { min-height: 0; aspect-ratio: 16 / 9; }
    .pe-photo--side { aspect-ratio: 16 / 9; }
    .pe-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .pe-line { display: none; }
}

@media (max-width: 640px) {
    .pe-wrap { padding-block: 32px 48px; }
    .pe-wrap > section { margin-bottom: 40px; }
    .pe-principles, .pe-author { padding: 22px 16px; }
    .pe-principle-grid { grid-template-columns: 1fr; }
    .pe-steps { grid-template-columns: 1fr; gap: 22px; }
    .pe-step { padding-left: 60px; }
    .pe-step-marker { position: absolute; left: 0; top: 0; margin: 0; }
    .pe-time { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .pe-page *, .pe-page *::before { transition: none !important; animation: none !important; }
}