/* BESTPAY 02 — blue editorial system. Local fonts and existing components only. */
:root{--accent:#0759b5;--tint:#eaf3ff;--cream:#f3f7fb;--amber:#0759b5;--ap-line:#d5e2ef;--ap-ink:#172b3c;--ap-muted:#50616d;--ap-section:80px}
body.theme-2{background:#fff;color:var(--ap-ink);font-family:Pretendard,system-ui,sans-serif;font-size:16px;line-height:1.8}
.theme-2 h1,.theme-2 h2,.theme-2 h3,.theme-2 .faq summary{font-family:Pretendard,system-ui,sans-serif;text-wrap:balance}
.theme-2 h1{letter-spacing:-.035em}.theme-2 p{color:var(--ap-muted)}
.theme-2 :focus-visible,.theme-2 .bp-dock :focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.theme-2 .button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700}
.theme-2 .breadcrumb{margin-bottom:18px;font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.theme-2 .breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
.theme-2 .nav-group summary,.theme-2 #main-nav>a,.theme-2 .bp-nav-panel a{min-height:44px;display:flex;align-items:center}
.theme-2 .nav-group summary{gap:6px}.theme-2 .bp-nav-panel{border:1px solid var(--ap-line);border-radius:12px;box-shadow:0 12px 36px #102b4312}
.theme-2 #main-nav a:hover{color:var(--accent)}

/* Main: full-width backgrounds with one spacing rhythm. */
.v2-2 .v2-section{padding:var(--ap-section) 0;margin:0;border-bottom:1px solid var(--ap-line)}
.v2-2 .section-head{margin-bottom:32px}.v2-2 .section-head>p:not(.eyebrow){font-size:16px;line-height:1.8;margin-top:18px}
.v2-2 .eyebrow,.seo-kicker{font-size:11px;line-height:1.5;letter-spacing:.14em;font-weight:700}
.v2-2 .v2-section .eyebrow{color:var(--accent)}
.v2-editorial-hero{position:relative;isolation:isolate;padding:28px 0 0;margin:0}
.v2-editorial-hero:before,.ap-band:before{content:'';position:absolute;inset:0 calc(50% - 50vw);background:var(--cream);z-index:-1}
.journal-mast{border-color:var(--ap-line);color:var(--accent)}
.v2-2 .journal-title{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px 64px;padding:52px 0 44px}
.journal-title>h1{font-size:clamp(40px,3.8vw,54px);line-height:1.3;margin:0}
.journal-title>p:not(.eyebrow){font-size:16px;line-height:1.8}
.journal-title .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.journal-title .actions .button{width:100%;min-height:56px;padding:14px 12px;font-size:14px;border-radius:8px}
.journal-cover>aside{display:none}
.journal-cover>img,.theme-2 .seo-article .subhero>img,.theme-2 .ap-figure img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:contain;object-position:center;border-radius:14px}
.journal-cover>img{border-radius:16px 16px 0 0}
.ap-band{position:relative;isolation:isolate;margin:0;padding:var(--ap-section) 0}
.ap-band .v2-section{padding:0;border:0}
.ap-band .section-head{margin-bottom:28px}
.v2-2 .seo-focus{padding:72px 0;margin:0;border-bottom:1px solid var(--ap-line)}
.v2-2 .seo-focus p:not(.eyebrow),.v2-2 .seo-focus li{font-size:16px;line-height:1.8}
.seo-focus-grid{gap:48px}.seo-checklist{background:var(--tint);border:1px solid var(--ap-line);border-radius:14px}
.seo-checklist.ap-photo{padding:0;border:0;background:transparent}.seo-checklist.ap-photo .ap-figure{margin:0}
.ap-editorial{padding:72px 0;border-bottom:1px solid var(--ap-line)}
.ap-editorial .ap-editorial-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:64px}
.ap-editorial h2{font-size:34px;line-height:1.4;margin:12px 0 20px}
.ap-editorial p{font-size:16px;line-height:1.8}.ap-editorial p:first-child{margin-top:0}
.ap-editorial .ap-summary-line{font-size:15px;line-height:1.8;color:var(--accent);border-left:3px solid var(--accent);padding-left:18px;margin-top:24px}

/* Glance: the requested plain editorial strip, without circular badges. */
.theme-2 #glance{margin:0;padding:0;border-top:1px solid var(--ap-line);border-bottom:1px solid var(--ap-line);background:#fff}
.theme-2 #glance .gl-wrap{max-width:1240px;margin:0 auto;padding:34px 0 32px;background:transparent;border:0;border-radius:0}
.theme-2 #glance .gl-title{font-size:11px;line-height:1.5;letter-spacing:.18em;font-weight:700;color:var(--accent);margin:0 0 22px}
.theme-2 #glance ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;padding:0;list-style:none;counter-reset:gl}
.theme-2 #glance li{position:relative;min-width:0;padding:0 0 0 32px;font-size:15px;line-height:1.8;counter-increment:gl}
.theme-2 #glance li:before{content:counter(gl,decimal-leading-zero);position:absolute;left:0;top:2px;display:block;width:auto;height:auto;padding:0;margin:0;border:0;border-radius:0;background:none;color:var(--accent);font-size:12px;line-height:1.8;letter-spacing:.06em;font-weight:700}
.theme-2 #glance strong{display:block;color:var(--accent);font-size:16px;line-height:1.5;margin:0 0 9px}
.theme-2 #glance li p{font-size:15px;line-height:1.8;color:var(--ap-muted);margin:0}
.theme-2 #glance a{font-weight:700;color:inherit;text-decoration:underline;text-underline-offset:4px}

/* Scannable rows and tiles. */
.v2-2 .v2-settlement{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0}
.v2-2 .v2-settlement li{min-width:0;background:white;border:1px solid var(--ap-line);border-radius:12px;padding:28px 24px}
.v2-2 .v2-settlement li:after{display:none}.v2-2 .v2-settlement li>span{display:block;color:var(--accent);font-size:14px;font-weight:700;margin:0 0 22px}
.v2-2 .v2-settlement h3{font-size:21px;line-height:1.45;margin:0}.v2-2 .v2-settlement p{font-size:15px;line-height:1.8;margin-top:12px}
.ap-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
.ap-tiles a{display:flex;flex-direction:column;min-width:0;padding:26px 22px;border:1px solid var(--ap-line);border-radius:12px;background:#fff;color:var(--ap-ink);transition:border-color .18s,box-shadow .18s}
.ap-tiles a:hover{border-color:var(--accent);box-shadow:0 8px 22px #0759b50a}
.ap-tiles span{display:block;font-size:12px;letter-spacing:.08em;color:var(--accent);font-weight:700;margin-bottom:18px}
.ap-tiles strong{font-size:17px;line-height:1.5;margin-bottom:12px}.ap-tiles p{font-size:15px;line-height:1.8;margin:0}
.table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--ap-line);border-radius:12px;overscroll-behavior-x:contain}
.table-scroll table{width:100%;margin:0;border-collapse:collapse;font-size:15px;line-height:1.8}
.table-scroll caption{text-align:left;font-size:13px;padding:16px 20px;color:var(--ap-muted);background:#fff}
.table-scroll th,.table-scroll td{padding:18px 20px;border-color:var(--ap-line);vertical-align:top}
.table-scroll thead th{background:var(--tint);color:var(--ap-ink)}
.ap-table th[scope=row]{white-space:nowrap}.ap-ok{color:var(--accent);font-weight:700}.ap-no{color:#b3261e;font-weight:700}
.ap-compact-table{margin:24px 0 0}.ap-compact-table th:first-child{min-width:110px}.ap-compact-table td{min-width:150px}

/* Articles keep a readable measure; the desktop contents sits in the right margin. */
.theme-2 .seo-article{max-width:720px;width:calc(100% - 40px);margin:0 auto;padding:0}
.theme-2 .seo-article .subhero{padding:40px 0 32px;margin:0;border:0;display:block}
.theme-2 .seo-article .subhero h1{font-size:40px;line-height:1.4}
.theme-2 .seo-article .subhero .lead{font-size:17px;line-height:1.8;margin:20px 0 0}
.theme-2 .seo-article .subhero>img{margin-top:28px}
.theme-2 .seo-article>.reading{display:flex;flex-direction:column;position:relative;gap:28px;margin:0;padding:56px 0 0}
.theme-2 .seo-article .reading>div{min-width:0;width:100%}
.theme-2 .seo-article .reading>aside{order:-1;position:static;width:100%;padding:22px;border:1px solid var(--ap-line);border-radius:12px;background:var(--cream)}
.theme-2 .reading aside ul{list-style:none;padding:0;margin:14px 0}.theme-2 .reading aside li+li{border-top:1px solid var(--ap-line)}
.theme-2 .reading aside li a{display:flex;align-items:center;min-height:44px;padding:10px 0;font-size:14px;line-height:1.6}
.theme-2 .reading aside .button{width:100%;font-size:14px;padding:12px}
.theme-2 .article-rows article{grid-template-columns:32px minmax(0,1fr);gap:18px;margin:0 0 38px;padding:0 0 38px;border-bottom:1px solid var(--ap-line)}
.theme-2 .article-num{color:var(--accent);font-size:12px;font-weight:700;padding-top:8px}
.theme-2 .reading h2{font-size:28px;line-height:1.45;letter-spacing:-.025em;margin:0 0 18px;text-wrap:pretty}
.theme-2 .reading p{font-size:16px;line-height:1.8;margin:0}.theme-2 .reading p+p{margin-top:18px}
.theme-2 .article-rows b{color:var(--accent)}
.ap-figure{margin:28px 0 0}.ap-figure figcaption{padding-top:10px;font-size:13px;line-height:1.7;color:var(--ap-muted)}
.theme-2 .seo-article>section:not(.subhero):not(#glance){padding:56px 0;margin:0}
.theme-2 .seo-article .section-head{margin-bottom:24px}.theme-2 .seo-article .section-head h2{font-size:28px;line-height:1.45}
.theme-2 .faq-list{border-top:1px solid var(--ap-line)}
.theme-2 .faq{padding:0;border-bottom:1px solid var(--ap-line)}
.theme-2 .faq summary{min-height:64px;position:relative;display:flex;align-items:center;list-style:none;padding:20px 36px 20px 0;font-size:17px;line-height:1.6;text-wrap:pretty;color:var(--ap-ink)}
.theme-2 .faq summary::-webkit-details-marker{display:none}.theme-2 .faq summary:after{content:'+';position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;color:var(--accent)}
.theme-2 .faq[open] summary{color:var(--accent)}.theme-2 .faq[open] summary:after{content:'−'}
.theme-2 .faq p{font-size:16px;line-height:1.8;padding:0 0 18px;margin:0}.theme-2 .faq p:last-child{padding-bottom:26px}
.v2-2 .faq-list{display:block}.v2-2 .questions-block{display:block}.v2-2 .questions-block .faq-list{max-width:880px}
.ap-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ap-next>div{padding:22px 18px;border:1px solid var(--ap-line);border-radius:12px;background:var(--cream)}
.ap-next strong{display:block;color:var(--accent);font-size:16px;line-height:1.5;margin-bottom:10px}.ap-next p{font-size:15px;line-height:1.8;margin:0}
.theme-2 .seo-article .inline-cta.seo-home{padding:30px;margin:0 0 80px;background:var(--tint);border:1px solid var(--ap-line);border-radius:14px}
.theme-2 .seo-home h2{font-size:24px;line-height:1.45}.theme-2 .seo-home .button{margin-top:20px;min-height:52px}
.related-links.ap-related{grid-template-columns:1fr}
.privacy-list{display:grid;gap:20px;margin:0;padding:0}.privacy-list>div{padding:24px;border:1px solid var(--ap-line);border-radius:12px}
.privacy-list dt{font-weight:700;color:var(--accent);margin-bottom:10px}.privacy-list dd{margin:0;font-size:16px;line-height:1.8}

/* Contact markup stays intact; only its visual treatment is adjusted. */
.theme-2 .final-consult{margin:0;border:0;gap:64px}.theme-2 .final-consult h2{font-size:36px;line-height:1.4}
.theme-2 .consult-form{border:1px solid var(--ap-line);border-radius:14px;box-shadow:0 16px 44px #102b430c}
.theme-2 .consult-form h2{font-size:24px}.theme-2 .consult-form input:not([type=checkbox]){min-height:48px;font-size:16px}
.theme-2 .consult-form .button{width:100%;min-height:52px}.theme-2 .consent a{display:inline-block;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.theme-2 .bp-modal-head>[data-consult-close]{display:grid;place-items:center;min-width:44px;width:44px;height:44px;min-height:44px;padding:0;line-height:1;border-radius:50%;font-size:28px}
.theme-2 .bp-modal{max-height:calc(100dvh - 32px);overflow-y:auto;border-color:var(--ap-line)}
.theme-2 .bp-dock .bp-dock-form{border:0;border-radius:0;box-shadow:none}
.theme-2 .site-footer{margin-top:0;background:#102b43;color:#f4f8fc;padding-top:48px;padding-bottom:32px;border:0}
.theme-2 .site-footer p,.theme-2 .site-footer .business{color:#c8d8e6}.theme-2 .site-footer a{color:#edf5ff}.theme-2 .site-footer a:hover{color:#a7d0ff}
.theme-2 .site-footer .footer-top,.theme-2 .site-footer .footer-nav,.theme-2 .site-footer .business{border-color:#365066}
.theme-2 .footer-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:13px}
.theme-2 .site-footer .business p:last-child a{display:inline-flex;align-items:center;min-height:44px}
.theme-2 .privacy-note,.theme-2 .v2-fine{font-size:13px;line-height:1.7;color:var(--ap-muted)}
@media(min-width:1280px){.theme-2 .seo-article>.reading{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:36px;width:calc(100% + 256px);align-items:start}.theme-2 .seo-article .reading>aside{order:initial;position:sticky;top:112px;width:220px}}
@media(max-width:1100px){.ap-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-2 .v2-settlement{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-2 .journal-title{column-gap:36px}.journal-title .actions{grid-template-columns:1fr}.ap-editorial .ap-editorial-layout{gap:36px}}
@media(max-width:1024px){.theme-2 .contact-rail{display:none!important}.theme-2 .bp-dock-mobile>*{height:60px;min-height:60px;font-size:14px}.theme-2 .final-consult{gap:36px}}
@media(max-width:900px){.theme-2 #glance ol{grid-template-columns:1fr;gap:20px}.theme-2 #glance li+li{border-top:1px solid var(--ap-line);padding-top:18px}.theme-2 #glance li+li:before{top:20px}.ap-next{grid-template-columns:1fr}.ap-editorial .ap-editorial-layout{grid-template-columns:1fr;gap:24px}}
@media(max-width:720px){
 :root{--ap-section:52px}.theme-2 .site-header nav{padding:12px 20px 20px;max-height:calc(100dvh - 140px)}
 .theme-2 .site-header nav.open{display:block}.theme-2 .nav-group summary{width:100%}.theme-2 .bp-nav-panel{box-shadow:none;border:0;border-left:2px solid var(--ap-line);border-radius:0;margin:0 0 10px;padding:0 0 0 14px}
 .v2-2 .journal-title{display:block;padding:30px 0 32px}.journal-title>h1{font-size:36px;line-height:1.3}.journal-title>p:not(.eyebrow){font-size:16px;line-height:1.8;margin-top:22px}
 .journal-title .actions{display:grid;grid-template-columns:1fr;margin-top:24px}.journal-title .actions .button{font-size:15px;min-height:52px}
 .journal-mast{padding-bottom:18px;gap:20px;font-size:9px}.journal-mast span:last-child{max-width:140px}
 .journal-cover>img{border-radius:12px 12px 0 0}.theme-2 #glance .gl-wrap{padding:28px 0}.theme-2 #glance .gl-title{margin-bottom:20px}
 .theme-2 #glance li,.theme-2 #glance li p{font-size:15px;line-height:1.8}.theme-2 #glance strong{font-size:16px}
 .v2-2 .section-head{margin-bottom:24px}.v2-2 .section-head h2,.ap-editorial h2{font-size:28px;line-height:1.4}.v2-2 .section-head>p:not(.eyebrow){font-size:16px}
 .v2-2 .seo-focus,.ap-editorial{padding:48px 0}.seo-focus-grid{gap:26px}.seo-focus h2{font-size:27px;line-height:1.4}
 .v2-2 .v2-settlement{grid-template-columns:1fr;gap:14px}.v2-2 .v2-settlement li{padding:24px}.v2-2 .v2-settlement li>span{margin-bottom:12px}
 .table-scroll table{min-width:660px;font-size:15px}.table-scroll th,.table-scroll td{padding:16px}.table-scroll caption{white-space:normal;max-width:360px}
 .theme-2 .seo-article .subhero{padding:24px 0 28px}.theme-2 .seo-article .subhero h1{font-size:27px;line-height:1.4}.theme-2 .seo-article .subhero .lead{font-size:16px;line-height:1.8;margin-top:18px}
 .theme-2 .seo-article .subhero>img{margin-top:24px}.theme-2 .seo-article>.reading{padding-top:36px;gap:32px}
 .theme-2 .reading aside{padding:20px}.theme-2 .article-rows article{display:block;margin-bottom:32px;padding-bottom:32px}.theme-2 .article-num{display:block;margin-bottom:10px;padding:0}
 .theme-2 .reading h2,.theme-2 .seo-article .section-head h2{font-size:24px;line-height:1.45}.theme-2 .reading p{font-size:16px;line-height:1.8}
 .theme-2 .seo-article>section:not(.subhero):not(#glance){padding:40px 0}.theme-2 .faq summary{font-size:16px;min-height:64px}.theme-2 .faq p{font-size:16px;line-height:1.8}
 .theme-2 .seo-article .inline-cta.seo-home{padding:26px 22px;margin-bottom:56px}.theme-2 .seo-home h2{font-size:24px}.theme-2 .seo-home .button{width:100%;white-space:normal;text-align:center;font-size:15px}
 .theme-2 .final-consult{grid-template-columns:1fr;gap:30px}.theme-2 .final-consult h2{font-size:28px}.theme-2 .final-consult .consult-form{padding:24px 20px}
 .theme-2 .bp-modal{width:calc(100% - 24px);margin:auto;padding:24px 20px}.theme-2 .bp-modal-head{gap:12px}.theme-2 .bp-modal-head h2{font-size:23px}.theme-2 .bp-modal-head>[data-consult-close]{flex-shrink:0}
 .theme-2 .site-footer{padding-top:36px;padding-bottom:24px}.theme-2 .footer-top{gap:20px}.theme-2 .footer-nav{gap:0 20px}.theme-2 .footer-nav a{font-size:13px}
}
@media(max-width:560px){.ap-tiles{grid-template-columns:1fr;gap:14px}.ap-tiles a{padding:24px}.ap-tiles span{margin-bottom:12px}.ap-tiles strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.ap-tiles a{transition:none}}

/* Nine image guides: exact titles in the JPGs, searchable captions in HTML. */
.ap-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px}
.ap-guide-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--ap-line);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--ap-ink);transition:border-color .18s,box-shadow .18s}
.ap-guide-card:hover{border-color:var(--accent);box-shadow:0 12px 30px #0759b514}
.ap-guide-card>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.ap-guide-caption{flex:1;display:flex;flex-direction:column;padding:24px}
.ap-guide-caption>p{font-size:16px;line-height:1.8;margin:0 0 22px}
.ap-guide-link{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:16px;border-top:1px solid var(--ap-line);margin-top:auto;color:var(--accent);font-size:14px;font-weight:700}
.ap-guide-link>span{font-size:20px;line-height:1}
.ap-guides-title>span{white-space:nowrap}
@media(min-width:721px) and (max-width:1100px){.ap-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ap-guide-grid{grid-template-columns:1fr;gap:24px}.ap-guide-caption{padding:22px}.v2-2 .section-head .ap-guides-title{font-size:clamp(23px,6.5vw,28px);line-height:1.45;letter-spacing:-.035em}}
@media(prefers-reduced-motion:reduce){.ap-guide-card{transition:none}}
.theme-2 .consent a,.theme-2 .bp-modal-phone a,.theme-2 .footer-top>a{display:inline-flex;align-items:center;min-height:44px}
/* Reserve separate space for the reading contents and the fixed contact rail. */
@media(min-width:1280px) and (max-width:1791px){.theme-2 .seo-article{margin-left:max(24px,calc((100vw - 1232px)/2));margin-right:auto}}
/* overlay-0923 */
.theme-2 h1,.theme-2 h2,.theme-2 h3,.theme-2 .faq summary,.theme-2 .reading h2,.ap-guide-caption p{text-wrap:balance}
.m-br{display:none}@media(max-width:720px){.m-br{display:inline}}
/* overlay-0923b */
body.theme-2 main .questions-block .faq-list{max-width:none;width:100%}
/* overlay-0924 emphasis */body.theme-2 main p b,body.theme-2 main li b{color:var(--accent);font-weight:700}
