/* ck-faqrel 11/18 (owner: the /volume and /market-cap look on every page) - "자주 묻는 질문" and "함께 보면 좋은 페이지".
   Built by extend/coinkaja_faqrel.extend.php (ck_faq / ck_rel). PC + tablet: two questions a row; phone: one. */

/* FAQ - ck-faq2 11/20 (owner mockup "말풍선, Q 자 로고 스타일, 자주묻는질문에 파란색 바탕 … 위에 표하고 간격들 다보고 모든페이지에"):
   a heading band (speech-bubble FAQ logo + the title on a light-blue band that fades out to the right), then white cards two a row
   (one when the box is narrower than 660px) with a 44px blue round Q, the question in bold and a thin + that turns into a -.
   Every FAQ on the site: 40px above the band (phones 28px), 28px down to the related-page tiles (phones 20px). */
.ck-faq{container-type:inline-size;margin:40px 0 28px;padding:0}
.ck-faq .ck-faqh{display:flex;align-items:center;gap:14px;box-sizing:border-box;min-height:64px;margin:0 0 20px;padding:4px 18px 4px 10px;border:0;border-radius:16px;background:linear-gradient(90deg,#E8F2FF 0,rgba(232,242,255,.6) 55%,rgba(232,242,255,0) 100%);font-size:22px;font-weight:900;line-height:1.35;letter-spacing:-.5px;color:#15264A;text-align:left;word-break:keep-all;overflow-wrap:anywhere}
.ck-faq .ck-faqh::before,.ck-faq .ck-faqh::after{content:none}
.ck-faq .ck-faqlg{display:block;flex:none;width:60px;height:54px}   /* ck-faq3: the round "?" with rays */
.ck-faq .ck-faqlg svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 6px rgba(29,99,232,.25))}
.ck-faq .ck-faqtt{min-width:0}
.ck-faq .ck-faqsub{margin:-8px 0 18px;padding:0 0 0 12px;font-size:14px;line-height:1.6;color:#5B6B82}
.ck-faq .ck-faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:start;margin:0;padding:0}
.ck-faq .ck-qa{min-width:0;margin:0;padding:0;border:1px solid #DDE5F0;border-radius:18px;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.045)}
.ck-faq .ck-qa summary{display:flex;align-items:center;gap:16px;box-sizing:border-box;min-height:74px;margin:0;padding:15px 26px 15px 22px;list-style:none;font-size:17px;font-weight:700;line-height:1.45;letter-spacing:-.3px;color:#15264A;cursor:pointer;word-break:keep-all;overflow-wrap:anywhere}
.ck-faq .ck-qa summary::-webkit-details-marker{display:none}
.ck-faq .ck-qa summary::marker{content:""}
.ck-faq .ck-q{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6AAEFF,#1A63E8);box-shadow:0 3px 8px rgba(26,99,232,.25);color:#fff;font-size:20px;font-weight:900;line-height:1}
.ck-faq .ck-qt{flex:1 1 auto;min-width:0}
.ck-faq .ck-qp{position:relative;flex:none;width:22px;height:22px}
.ck-faq .ck-qp::before,.ck-faq .ck-qp::after{content:"";position:absolute;left:0;top:10px;width:22px;height:2px;border-radius:1px;background:#1F2937}
.ck-faq .ck-qp::after{transform:rotate(90deg);transition:transform .2s}
.ck-faq .ck-qa[open] .ck-qp::after{transform:rotate(0deg)}
.ck-faq .ck-qaa{padding:0 26px 20px 82px;font-size:15px;line-height:1.7;color:#374151;word-break:keep-all;overflow-wrap:anywhere}
.ck-faq .ck-qaa p{margin:0;padding:0;font-size:inherit;line-height:inherit;color:inherit}
.ck-faq .ck-qaa p+p{margin-top:6px}
.ck-faq .ck-qaa a{color:#1565E8;font-size:inherit}
@container (max-width:660px){.ck-faq .ck-faqs{grid-template-columns:minmax(0,1fr)}}
/* tablets: the cards are narrower, so a little smaller (the question keeps about 13 letters a line) */
@media (min-width:641px) and (max-width:900px){
	.ck-faq .ck-faqh{font-size:22px}   /* ck-faq5: = the srcbox title */
	.ck-faq .ck-faqs{gap:14px 16px}
	.ck-faq .ck-qa summary{gap:14px;min-height:70px;padding:14px 20px 14px 16px;font-size:16px}
	.ck-faq .ck-q{width:40px;height:40px;font-size:18px}
	.ck-faq .ck-qp{width:20px;height:20px}
	.ck-faq .ck-qp::before,.ck-faq .ck-qp::after{top:9px;width:20px}
	.ck-faq .ck-qaa{padding:0 20px 16px 70px;font-size:14.5px}
}
/* phones: one a row, everything in the mockup's proportions */
@media (max-width:640px){
	.ck-faq{margin:28px 0 20px}
	.ck-faq .ck-faqh{gap:10px;min-height:50px;margin-bottom:14px;padding:4px 12px 4px 8px;border-radius:13px;font-size:18px;letter-spacing:-.4px}
	.ck-faq .ck-faqlg{width:46px;height:41px}
	.ck-faq .ck-faqsub{margin:-6px 0 12px;padding-left:8px;font-size:13px}
	.ck-faq .ck-faqs{gap:10px}
	.ck-faq .ck-qa{border-radius:15px}
	.ck-faq .ck-qa summary{gap:12px;min-height:62px;padding:12px 18px 12px 13px;font-size:15px}
	.ck-faq .ck-q{width:36px;height:36px;font-size:17px}
	.ck-faq .ck-qp{width:18px;height:18px}
	.ck-faq .ck-qp::before,.ck-faq .ck-qp::after{top:8px;width:18px}
	.ck-faq .ck-qaa{padding:0 18px 14px 61px;font-size:14px}
}
/* ck-faq5 11/20: the title = the srcbox title (.ck-srct 22px / phones 18px, 900) */
/* dark: the same look - dark cards, the band from deep navy to clear, the logo and Q stay blue */
body.dm .ck-faq .ck-faqh{background:linear-gradient(90deg,#1B2D4F 0,rgba(27,45,79,.55) 55%,rgba(27,45,79,0) 100%);color:#F1F5F9}
body.dm .ck-faq .ck-faqsub{color:#94A3B8}
body.dm .ck-faq .ck-qa summary{color:#F1F5F9}
body.dm .ck-faq .ck-qa{border-color:#344458;background:#1E2937;box-shadow:none}
body.dm .ck-faq .ck-qp::before,body.dm .ck-faq .ck-qp::after{background:#E2E8F0}
body.dm .ck-faq .ck-qaa{color:#A8B8CC}
body.dm .ck-faq .ck-qaa a{color:#7FB2FF}

/* related pages: tiles with a colour icon; up to five in one row, each as wide as its words want (the /volume mockup) */
.ck-rel{display:flex;gap:12px;margin:0 0 8px;padding:0}
.ck-rel a{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:70px;margin:0;padding:12px;border:1px solid #E3E9F2;border-radius:14px;background:linear-gradient(180deg,#fff,#F7FAFE);box-shadow:0 2px 8px rgba(15,23,42,.05);font-size:14px;font-weight:800;line-height:1.45;letter-spacing:-.3px;color:#1F2937;text-decoration:none;word-break:keep-all;overflow-wrap:anywhere}
@media (hover:hover){.ck-rel a:hover{border-color:#C9D8EE;box-shadow:0 4px 12px rgba(15,23,42,.09);color:#1F2937;text-decoration:none}}
.ck-rel .ck-ri{display:inline-flex;flex:none;width:30px;height:30px}
.ck-rel .ck-ri svg,.ck-rel .ck-ri img{display:block;width:100%;height:100%}
.ck-rel .ck-ri img{border-radius:50%}
.ck-rel .ck-rt{min-width:0}
/* more than five: even rows in a grid */
.ck-rel.ck-rg{display:grid}
.ck-rel.ck-rc3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ck-rel.ck-rc4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ck-rel.ck-rc5{grid-template-columns:repeat(5,minmax(0,1fr))}

@media (max-width:900px){
	.ck-rel,.ck-rel.ck-rg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
	.ck-rel a:last-child:nth-child(3n+1){grid-column:1 / -1}
}
@media (max-width:640px){
	.ck-rel,.ck-rel.ck-rg{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	.ck-rel a{gap:9px;min-height:62px;padding:10px 11px;font-size:13.5px}
	.ck-rel a:last-child:nth-child(3n+1){grid-column:auto}
	.ck-rel a:last-child:nth-child(odd){grid-column:1 / -1}
	.ck-rel .ck-ri{width:26px;height:26px}
}

/* dark (tiles; the FAQ's dark look is with the FAQ above) */
body.dm .ck-rel a{border-color:#344458;background:#192330;box-shadow:none;color:#F1F5F9}
@media (hover:hover){body.dm .ck-rel a:hover{border-color:#4B5D75;color:#F1F5F9}}
