/* =============================================================================
   css_trust_new.css - Yellow Pages Vietnam International
   VERSION: v1.0 (2026-08-14)
   PURPOSE: Shared design system for the two trust pages:
              /subpages/verified.asp   - what the Verified mark means
              /subpages/editorial.asp  - editorial team, process, principles

   WHY A SHARED FILE INSTEAD OF INLINE STYLES
     aboutus.asp carries ~140 lines of inline CSS scoped to
     body[data-yp-page="about"]. Two more pages needing the same cards,
     section titles and FAQ accordion would mean the same block copied three
     times and drifting apart. Everything here is scoped to body.yp-trust, so
     aboutus.asp can adopt it later by adding one class and deleting its
     inline block - no visual change either way.

   TOKENS (unchanged from the existing subpage system, nothing new invented)
     #00512b  brand green     headings, accents
     #FFD400  brand yellow    section underline, hero top rule
     #0a7a44  secondary green small caps labels
     #f5f5f5  page background
     #e9ecef  card border
============================================================================= */

/* -- Page shell ------------------------------------------------------------ */
body.yp-trust .yp-trust-page { background: #f5f5f5; }
body.yp-trust .yp-trust-page main { padding-top: 1.25rem; padding-bottom: 2.5rem; }

body.yp-trust .yp-skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: #00512b; color: #fff; padding: .6rem 1rem; border-radius: 0 0 6px 0;
    text-decoration: none; font-weight: 600;
}
body.yp-trust .yp-skip-link:focus { left: 0; }

/* -- Cards and hero -------------------------------------------------------- */
body.yp-trust .yp-card {
    background: #fff; border: 1px solid #e9ecef; border-radius: 10px;
    padding: 1.5rem; margin-bottom: 1.25rem;
}

body.yp-trust .yp-hero {
    background: #fff; border: 1px solid #e9ecef; border-top: 4px solid #FFD400;
    color: #1a1a1a; border-radius: 12px; padding: 2.75rem 1.75rem 2.5rem;
    margin-bottom: 1.5rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
body.yp-trust .yp-hero h1 {
    font-size: 2rem; font-weight: 800; margin-bottom: .85rem; line-height: 1.22; color: #00512b;
}
body.yp-trust .yp-hero .lead {
    font-size: 1.05rem; color: #444; max-width: 780px; margin: 0 auto; line-height: 1.65;
}
body.yp-trust .yp-pill {
    display: inline-block; background: #eef7f1; border: 1px solid #cfe6da; color: #00512b;
    border-radius: 30px; padding: .35rem 1.1rem; font-size: .82rem; font-weight: 700;
    margin-bottom: 1.1rem; letter-spacing: .4px; text-transform: uppercase;
}

body.yp-trust .yp-section-title {
    display: inline-block; background: none; color: #00512b;
    padding: 0 0 .5rem; font-size: 1.15rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .6px; margin-bottom: 1.1rem; position: relative;
}
body.yp-trust .yp-section-title::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 48px; height: 3px; background: #FFD400; border-radius: 2px;
}
body.yp-trust .yp-lead-under {
    text-align: center; max-width: 760px; margin: 0 auto 1.35rem; color: #444;
}

/* -- The Verified mark, rendered inline in running text -------------------- */
body.yp-trust .yp-tick {
    display: inline-flex; align-items: center; gap: .3rem;
    background: #eef7f1; border: 1px solid #cfe6da; color: #00512b;
    border-radius: 20px; padding: .1rem .55rem; font-weight: 700; font-size: .9em;
    white-space: nowrap;
}

/* -- Evidence / feature cards ---------------------------------------------- */
body.yp-trust .yp-evidence {
    border: 1px solid #e3e6ea; border-left: 4px solid #00512b; border-radius: 8px;
    padding: 1.25rem; height: 100%; background: #fbfdfb;
}
body.yp-trust .yp-evidence.alt { border-left-color: #0a7a44; }
body.yp-trust .yp-evidence h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: #00512b; }
body.yp-trust .yp-evidence .who {
    display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
    color: #0a7a44; letter-spacing: .5px; margin-bottom: .35rem;
}
body.yp-trust .yp-evidence p:last-child { margin-bottom: 0; }

/* -- Scope contrast: what it confirms vs what it does not ------------------ */
body.yp-trust .yp-scope {
    border-radius: 8px; padding: 1.25rem; height: 100%; border: 1px solid #e3e6ea;
}
body.yp-trust .yp-scope.does { background: #f2f9f5; border-color: #cfe6da; }
body.yp-trust .yp-scope.does-not { background: #fbf7f2; border-color: #ecdcc8; }
body.yp-trust .yp-scope h3 {
    font-size: 1rem; font-weight: 800; margin-bottom: .85rem; text-transform: uppercase;
    letter-spacing: .4px;
}
body.yp-trust .yp-scope.does h3 { color: #00512b; }
body.yp-trust .yp-scope.does-not h3 { color: #8a5a1c; }
body.yp-trust .yp-scope ul { list-style: none; margin: 0; padding: 0; }
body.yp-trust .yp-scope li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; line-height: 1.55; }
body.yp-trust .yp-scope li:last-child { margin-bottom: 0; }
body.yp-trust .yp-scope li i { position: absolute; left: 0; top: .25rem; }
body.yp-trust .yp-scope.does li i { color: #0a7a44; }
body.yp-trust .yp-scope.does-not li i { color: #b8863b; }

/* -- Numbered process steps ------------------------------------------------ */
body.yp-trust .yp-steps { counter-reset: ypstep; }
body.yp-trust .yp-step {
    position: relative; padding-left: 3.25rem; margin-bottom: 1.15rem;
}
body.yp-trust .yp-step:last-child { margin-bottom: 0; }
body.yp-trust .yp-step::before {
    counter-increment: ypstep; content: counter(ypstep);
    position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem;
    border-radius: 50%; background: #eef7f1; color: #00512b;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .95rem; border: 1px solid #cfe6da;
}
body.yp-trust .yp-step h3 { font-size: 1rem; font-weight: 700; color: #00512b; margin-bottom: .3rem; }
body.yp-trust .yp-step p { margin-bottom: 0; color: #444; }
body.yp-trust .yp-step.is-en::before { background: #fffbe6; border-color: #f0dfa0; color: #8a6d00; }
body.yp-trust .yp-step-tag {
    display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .5px; background: #FFD400; color: #1a1a1a;
    border-radius: 4px; padding: .1rem .45rem; margin-left: .45rem; vertical-align: .1rem;
}

/* -- Principles ------------------------------------------------------------ */
body.yp-trust .yp-principle {
    display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem;
}
body.yp-trust .yp-principle:last-child { margin-bottom: 0; }
body.yp-trust .yp-principle .ic {
    flex: 0 0 40px; height: 40px; width: 40px; border-radius: 50%;
    background: #eef7f1; color: #00512b; display: flex; align-items: center;
    justify-content: center; font-size: 1.05rem;
}
body.yp-trust .yp-principle h3 { font-size: 1rem; font-weight: 700; color: #00512b; margin-bottom: .25rem; }
body.yp-trust .yp-principle p { margin-bottom: 0; color: #444; }

/* -- Responsibility split -------------------------------------------------- */
body.yp-trust .yp-resp {
    border: 1px solid #e3e6ea; border-top: 4px solid #00512b; border-radius: 8px;
    padding: 1.15rem; height: 100%; background: #fff;
}
body.yp-trust .yp-resp.narrow { border-top-color: #0a7a44; }
body.yp-trust .yp-resp.none { border-top-color: #b8863b; }
body.yp-trust .yp-resp .who {
    display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .5px; color: #666; margin-bottom: .4rem;
}
body.yp-trust .yp-resp h3 { font-size: 1rem; font-weight: 700; color: #00512b; margin-bottom: .45rem; }
body.yp-trust .yp-resp p { margin-bottom: 0; color: #444; font-size: .95rem; }

/* -- Note / callout -------------------------------------------------------- */
body.yp-trust .yp-note {
    background: #fbfdfb; border: 1px solid #e3e6ea; border-left: 4px solid #FFD400;
    border-radius: 8px; padding: 1.1rem 1.25rem; margin-top: 1.25rem;
}
body.yp-trust .yp-note p:last-child { margin-bottom: 0; }

/* -- Checklist for buyers -------------------------------------------------- */
body.yp-trust .yp-check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .95rem; }
body.yp-trust .yp-check:last-child { margin-bottom: 0; }
body.yp-trust .yp-check .ic {
    flex: 0 0 28px; height: 28px; width: 28px; border-radius: 6px;
    background: #eef7f1; color: #00512b; display: flex; align-items: center;
    justify-content: center; font-size: .85rem;
}
body.yp-trust .yp-check strong { color: #00512b; }

/* -- Contact / CTA --------------------------------------------------------- */
body.yp-trust .yp-contact-box {
    background: #fbfdfb; border: 1px solid #e3e6ea; border-radius: 8px; padding: 1.1rem;
}
body.yp-trust .yp-contact-box .hd {
    background: #FFD400; color: #1a1a1a; border-radius: 6px; padding: .5rem;
    text-align: center; font-weight: 700; margin-bottom: .85rem;
}
body.yp-trust .yp-contact-box .ln {
    background: #fff; border: 1px solid #eceff1; border-radius: 6px;
    padding: .5rem .7rem; margin-bottom: .55rem;
}
body.yp-trust .yp-contact-box .ln:last-child { margin-bottom: 0; }

body.yp-trust .yp-cta {
    display: inline-block; background: #00512b; color: #fff; text-decoration: none;
    border-radius: 8px; padding: .7rem 1.35rem; font-weight: 700;
    transition: background-color .15s ease;
}
body.yp-trust .yp-cta:hover { background: #0a7a44; color: #fff; }
body.yp-trust .yp-cta-ghost {
    display: inline-block; background: #fff; color: #00512b; text-decoration: none;
    border: 1px solid #cfe6da; border-radius: 8px; padding: .7rem 1.35rem; font-weight: 700;
}
body.yp-trust .yp-cta-ghost:hover { border-color: #00512b; color: #00512b; }

/* -- Cross-link cards between the two trust pages -------------------------- */
body.yp-trust .yp-xlink {
    display: block; text-decoration: none; border: 1px solid #e3e6ea; border-radius: 8px;
    padding: .95rem 1.1rem; background: #fff; height: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.yp-trust .yp-xlink:hover { border-color: #00512b; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
body.yp-trust .yp-xlink-name { display: block; font-weight: 700; color: #00512b; font-size: .98rem; }
body.yp-trust .yp-xlink-desc { display: block; font-size: .84rem; color: #555; margin-top: .25rem; line-height: 1.45; }

/* -- FAQ accordion --------------------------------------------------------- */
body.yp-trust .yp-faq { max-width: 860px; margin: 0 auto; }
body.yp-trust .yp-faq-item {
    border: 1px solid #e3e6ea; border-radius: 8px; margin-bottom: .65rem;
    background: #fff; overflow: hidden;
}
body.yp-trust .yp-faq-item summary {
    cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-weight: 700;
    color: #00512b; font-size: .98rem; position: relative; padding-right: 2.5rem;
}
body.yp-trust .yp-faq-item summary::-webkit-details-marker { display: none; }
body.yp-trust .yp-faq-item summary::after {
    content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    font-size: 1.3rem; font-weight: 400; color: #0a7a44;
}
body.yp-trust .yp-faq-item[open] summary::after { content: "\2212"; }
body.yp-trust .yp-faq-item summary:hover { background: #fbfdfb; }
body.yp-trust .yp-faq-a { padding: 0 1.1rem 1rem; color: #444; font-size: .92rem; line-height: 1.6; }

/* -- Responsive ------------------------------------------------------------ */
@media screen and (max-width: 575px) {
    body.yp-trust .yp-hero { padding: 2rem 1.1rem 1.85rem; }
    body.yp-trust .yp-hero h1 { font-size: 1.55rem; }
    body.yp-trust .yp-card { padding: 1.15rem; }
    body.yp-trust .yp-step { padding-left: 2.9rem; }
}
