@charset "utf-8";

/* ==========================================================================
   CamTalk / customer/faq.php - FAQ, the wide window (fqd1, 2026-10-26).

   SCOPE. Every rule is inside `@media only screen and (min-width: 1001px)`,
   the other side of the project's breakpoint (css/camtalk-faq-mobile.css is
   `max-width: 1000px` from its first rule to its last). It is linked from
   faq.php only, so the few rules for the shared bar (.gnb) reach no other
   page; everything else is under `.cfq-page` (a class only this page puts
   on <body>) or `.cfq`, the page's own <main>.

   ONE PAGE FOR BOTH WIDTHS. The wide window lays out the phone's markup and
   the categories js/camtalk-faq-mobile.js builds (and opens) for both
   widths; the panel above them is js/camtalk-faq-desktop.js's.

   THE MEASURE IS UPDATE NOTE'S, as on notice.php (ntd4): the values below
   are css/camtalk-updatenote-desktop.css's, taken as they are (the selector
   each one comes from is named beside it):
     hero      the bar counted once as a 96px margin; clamp(320px, 25vw,
               380px) tall; the wide drawing (img/updatenote-desktop/
               hero-wide.webp) cover-fitted at 50% 34%; the same dark pool
               and foot shade; THE CAMTALK / FAQ / its line one group in the
               middle, both ways, in Update Note's hero type (the eyebrow
               with its short red mark)
     column    1160px (1240 with its 40px gutters), the panel 36px under
               the hero, 96px over the footer
     tools     one panel: the categories left, the search right
     list      the categories one under another, each one white panel:
               its mark, name and line, then its questions; an answer opens
               in the flow, under its question

   THE RESETS of common.css win against single-class rules (`*` colour,
   li break-all, a inline-block, bare buttons) - so text sets its own
   colour and keep-all, element resets are written with :where(), and
   everything hidden with the attribute is hidden here explicitly.
   ========================================================================== */

@media only screen and (min-width: 1001px) {

	.cfq-page {
		--fd-red: #f5123f;                          /* Update Note's --un-red */
		--fd-ink: #17181d;                          /* --un-ink */
		--fd-ink-2: #4a4c55;                        /* --un-ink-2 */
		--fd-mute: #8b8e98;                         /* --un-mute */
		--fd-line: #ececf0;                         /* --un-line */
		--fd-line-2: #f1f1f4;                       /* --un-line-2 */
		--fd-rose: #fff0f3;
		--fd-header: 96px;                          /* .gnb's height on a wide window (camtalk-header.css) */
		--fd-w: 1160px;                             /* the content column (--ud-w) */
		--fd-gutter: 40px;                          /* --ud-gutter */
		--fd-ease: cubic-bezier(.22, .7, .2, 1);    /* --un-ease */
	}

	/* ---- the shared bar, white from the first frame ----------------------------
	   As on the phone and on updatenote.php / notice.php's wide windows: the
	   bar looks like common.css's .gnb_invert in BOTH of js/common.js's
	   states; the open mega menu keeps its own dark skin. The class itself
	   is never touched. */
	body.cfq-page:not(.ctn-open) .gnb {
		color: #333;
		background-color: #fff;
	}
	body.cfq-page:not(.ctn-open) .gnb .logo,
	body.cfq-page:not(.ctn-open) .gnb .menu,
	body.cfq-page:not(.ctn-open) .gnb .right { text-shadow: none; }
	body.cfq-page:not(.ctn-open) .gnb .right img { filter: invert(100%); opacity: .2; }
	body.cfq-page:not(.ctn-open) .gnb .logo a b { color: #cc0c0c; }

	.cfq, .cfq *, .cfq *::before, .cfq *::after { box-sizing: border-box; }

	.cfq-page .cfq[hidden] { display: block; }
	/* its own stacking context under the fixed bar (.gnb is z-index 1) */
	.cfq {
		position: relative;
		z-index: 0;
		isolation: isolate;
		color: var(--fd-ink);
		background: #fff;
		overflow-x: clip;
	}
	.cfq img { display: block; max-width: none; }
	:where(.cfq) :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; }
	:where(.cfq) :where(ul) { list-style: none; }
	.cfq li { word-break: keep-all; overflow-wrap: anywhere; }
	:where(.cfq) button {
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		font: inherit;
		color: inherit;
		cursor: pointer;
	}
	.cfq [hidden] { display: none !important; }
	.cfq mark {
		background: linear-gradient(transparent 55%, rgba(245, 18, 63, .16) 55%);   /* .cun mark */
		color: inherit;
		border-radius: 2px;
	}
	.cfq :focus-visible {
		outline: 2px solid var(--fd-red);
		outline-offset: 3px;
	}
	.cfq-sr {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	/* ======================================================================
	   1. HERO - Update Note's band (.cun-hero and its parts)
	   ====================================================================== */

	.cfq-hero {
		position: relative;
		z-index: 0;
		isolation: isolate;
		display: flex;
		flex-direction: row;
		align-items: stretch;
		justify-content: flex-start;
		margin-top: var(--fd-header);
		margin-bottom: 0;
		height: clamp(320px, 25vw, 380px);
		padding: 0;
		background: #0c0b0d;
		color: #fff;
		text-align: center;
		overflow: hidden;
	}
	.cfq .cfq-hero__img {
		position: absolute;
		inset: 0;
		z-index: -2;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 34%;
	}
	.cfq-hero__shade {
		position: absolute;
		inset: 0;
		z-index: -1;
		pointer-events: none;
		background:
			radial-gradient(46% 62% at 50% 52%, rgba(8, 7, 9, .72) 0%, rgba(8, 7, 9, .44) 55%, rgba(8, 7, 9, 0) 100%),
			linear-gradient(180deg, rgba(8, 7, 9, 0) 60%, rgba(8, 7, 9, .35) 100%);
	}
	.cfq-hero__words {
		position: static;
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 0 var(--fd-gutter);
		text-align: center;
	}
	/* .cun-hero__eyebrow, its short red mark (.cun-hero__mark) drawn here */
	.cfq-hero__eyebrow {
		display: inline-flex;
		align-items: center;
		gap: 9px;
		margin: 0;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.3;
		letter-spacing: -0.01em;
		color: rgba(255, 255, 255, .88);
		text-transform: none;
	}
	.cfq-hero__eyebrow::before {
		content: "";
		flex: none;
		width: 20px;
		height: 6px;
		border-radius: 3px;
		background: linear-gradient(90deg, #f5123f, #ff7f96);
		box-shadow: 0 0 12px rgba(245, 18, 63, .6);
	}
	/* .cun-hero__title */
	.cfq-hero__title {
		margin-top: 10px;
		font-family: inherit;
		font-size: clamp(42px, 3.4vw, 52px);
		font-weight: 800;
		line-height: 1.12;
		letter-spacing: -0.04em;
		color: #fff;
		text-shadow: none;
		word-break: keep-all;
	}
	/* .cun-hero__desc */
	.cfq-hero__desc {
		margin-top: 12px;
		max-width: none;
		font-size: 18px;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: -0.02em;
		color: rgba(255, 255, 255, .86);
		word-break: keep-all;
	}

	/* ======================================================================
	   2. THE COLUMN + TOOLS - Update Note's (.cun-body, .cun-tools)
	   ====================================================================== */

	.cfq-tools,
	.cfq-result,
	.cfq-groups,
	.cfq-empty {
		width: calc(100% - 2 * var(--fd-gutter));
		max-width: var(--fd-w);
		margin-left: auto;
		margin-right: auto;
	}
	.cfq-tools {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px 16px;
		margin-top: 36px;
		padding: 10px;
		border: 1px solid var(--fd-line);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 1px 2px rgba(20, 20, 30, .03), 0 14px 34px -26px rgba(20, 20, 30, .22);
	}
	.cfq-filters {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	/* .cun-chip */
	.cfq-chip {
		height: 42px;
		padding: 0 20px;
		border: 1px solid #e3e4e9;
		border-radius: 999px;
		background: #fff;
		font-size: 15px;
		font-weight: 500;
		line-height: 1;
		letter-spacing: -0.02em;
		color: var(--fd-ink);
		white-space: nowrap;
		transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
	}
	.cfq-chip:hover { border-color: #cfd1d8; background: #fafafb; }
	.cfq-chip[aria-pressed="true"],
	.cfq-chip[aria-pressed="true"]:hover {
		border-color: var(--fd-red);
		background: var(--fd-red);
		color: #fff;
		font-weight: 700;
		box-shadow: 0 6px 14px -6px rgba(245, 18, 63, .55);
	}
	/* .cun-search; seven categories fill the panel's first line, so the
	   field usually takes the next line, at its whole width */
	.cfq-search {
		position: relative;
		flex: 1 1 320px;
		min-width: 320px;
		margin-left: auto;
	}
	.cfq-search__icon {
		position: absolute;
		left: 15px;
		top: 50%;
		width: 19px;
		height: 19px;
		margin-top: -9.5px;
		color: #6f727c;
		pointer-events: none;
	}
	.cfq-search__input {
		display: block;
		width: 100%;
		height: 44px;
		padding: 0 46px 0 44px;
		border: 1px solid #e6e7ec;
		border-radius: 12px;
		background: #f8f8fa;
		font: inherit;
		font-size: 15px;
		letter-spacing: -0.02em;
		color: var(--fd-ink);
		-webkit-appearance: none;
		appearance: none;
		transition: border-color .2s, background-color .2s;
	}
	.cfq-search__input::placeholder { color: #9a9ca5; opacity: 1; }
	.cfq-search__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
	.cfq-search__input:hover { border-color: #d9dbe1; }
	.cfq-search__input:focus {
		outline: none;
		border-color: #f2a3b4;
		background: #fff;
		box-shadow: 0 0 0 3px rgba(245, 18, 63, .08);
	}
	.cfq-search__clear {
		position: absolute;
		right: 4px;
		top: 50%;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		border-radius: 50%;
		color: #6f727c;
	}
	.cfq-search__clear:hover { background: #eeeff2; color: var(--fd-ink); }
	.cfq-search__clear svg { width: 18px; height: 18px; }

	/* .cun-result's type, under the panel */
	.cfq-result {
		margin-top: 18px;
		padding: 0 4px;
		font-size: 14px;
		line-height: 1.4;
		letter-spacing: -0.01em;
		color: var(--fd-mute);
	}

	/* ======================================================================
	   3. THE CATEGORIES AND THEIR QUESTIONS
	   ====================================================================== */

	.cfq-groups {
		display: grid;
		gap: 24px;
		margin-top: 24px;
		padding: 0 0 96px;
	}
	.cfq-result:not([hidden]) + .cfq-groups { margin-top: 12px; }
	.cfq-group {
		padding: 0;
		border: 1px solid var(--fd-line);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 1px 2px rgba(20, 20, 30, .03), 0 14px 34px -26px rgba(20, 20, 30, .22);
		overflow: hidden;
	}
	/* the head: the category's red mark, its name, its short line */
	.cfq-group__head {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 16px;
		align-items: center;
		padding: 28px 32px 24px;
		border-bottom: 1px solid var(--fd-line-2);
		background: linear-gradient(180deg, #fffafb 0%, #fff 100%);
	}
	.cfq-group__badge {
		display: contents;
	}
	.cfq-group__icon {
		grid-row: 1 / span 2;
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background: linear-gradient(150deg, #ff2f55 0%, #e00b37 100%);
		box-shadow: 0 6px 14px -6px rgba(224, 11, 55, .55);
		color: #fff;
	}
	.cfq-group__icon svg { width: 24px; height: 24px; }
	.cfq-group__title {
		grid-column: 2;
		padding: 0;
		font-size: 22px;
		font-weight: 800;
		line-height: 1.3;
		letter-spacing: -0.04em;
		color: var(--fd-ink);
		word-break: keep-all;
	}
	.cfq-group__desc {
		grid-column: 2;
		margin-top: 4px;
		padding: 0;
		font-size: 16px;
		line-height: 1.5;
		letter-spacing: -0.02em;
		color: var(--fd-mute);
		word-break: keep-all;
	}

	.cfq-list { display: block; margin: 0; }
	.cfq-item {
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
		transition: background-color .2s;
	}
	.cfq-item + .cfq-item { border-top: 1px solid var(--fd-line-2); }
	.cfq-item.is-open { background: #fffbfc; }

	/* the whole row is the button (Enter and Space; aria-expanded with
	   aria-controls on its answer); a long question wraps, the row grows */
	.cfq-q {
		display: flex;
		align-items: center;
		gap: 16px;
		width: 100%;
		min-height: 76px;
		padding: 18px 32px;
		border-radius: 0;
		text-align: left;
	}
	.cfq-q:hover .cfq-q__text { color: #000; }
	.cfq-q:focus-visible { outline-offset: -3px; }
	.cfq-q__mark {
		display: grid;
		place-items: center;
		flex: none;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: var(--fd-rose);
		font-size: 16px;
		font-weight: 800;
		line-height: 1;
		color: var(--fd-red);
	}
	/* 20 at 1001, 20.6 at 1440, 21.4 at 1920 */
	.cfq-q__text {
		flex: 1 1 auto;
		min-width: 0;
		font-size: clamp(20px, .16vw + 18.3px, 21.5px);
		font-weight: 600;
		line-height: 1.45;
		letter-spacing: -0.03em;
		color: var(--fd-ink);
		word-break: keep-all;
		overflow-wrap: anywhere;
		transition: color .2s;
	}
	.cfq-q__chev {
		flex: none;
		width: 36px;
		height: 36px;
		padding: 9px;
		border-radius: 50%;
		background: #f4f4f6;
		color: #6f727c;
		transition: transform .26s var(--fd-ease), color .2s, background-color .2s;
	}
	.cfq-q:hover .cfq-q__chev { background: #eeeff2; color: var(--fd-ink); }
	.cfq-item.is-open .cfq-q__chev { transform: rotate(180deg); background: var(--fd-rose); color: var(--fd-red); }

	/* the answer, in the flow, under its question's words (the phone's
	   mechanism: grid rows 0fr -> 1fr) */
	.cfq-a {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows .28s var(--fd-ease);
	}
	.cfq-item.is-open .cfq-a { grid-template-rows: 1fr; }
	.cfq-a__in {
		min-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: visibility 0s linear .28s;
	}
	.cfq-item.is-open .cfq-a__in {
		visibility: visible;
		transition-delay: 0s;
	}
	/* 17.5px, 1.75: under the question's words, clear of the arrow */
	.cfq-a__body {
		margin: 0 84px 0 82px;
		padding: 2px 0 26px;
		border-top: 0;
		font-size: 17.5px;
		line-height: 1.75;
		letter-spacing: -0.02em;
		color: var(--fd-ink-2);
		word-break: keep-all;
		overflow-wrap: anywhere;
	}
	.cfq-a__body p + p,
	.cfq-a__body ul,
	.cfq-a__body ol { margin-top: 10px; }
	.cfq-a__body ul { list-style: disc; padding-left: 22px; }
	.cfq-a__body ol { list-style: decimal; padding-left: 24px; }
	.cfq-a__body li { word-break: keep-all; }
	.cfq-a__body a {
		display: inline;
		color: var(--fd-red);
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.cfq-item.is-instant .cfq-a,
	.cfq-item.is-instant .cfq-a__in,
	.cfq-item.is-instant .cfq-q__chev { transition: none !important; }

	/* ---- the empty result -------------------------------------------------------- */

	.cfq-empty {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 24px;
		margin-bottom: 96px;
		padding: 56px 32px 52px;
		border: 1px dashed #dfe0e5;
		border-radius: 18px;
		text-align: center;
	}
	.cfq-empty__icon { width: 48px; height: 48px; color: #c3c5cc; }
	.cfq-empty__title {
		margin-top: 14px;
		font-size: 20px;
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: -0.03em;
		color: var(--fd-ink);
		word-break: keep-all;
	}
	.cfq-empty__desc {
		margin-top: 8px;
		font-size: 16px;
		line-height: 1.55;
		letter-spacing: -0.02em;
		color: var(--fd-mute);
		word-break: keep-all;
		text-wrap: balance;
	}
	.cfq-empty__reset {
		min-height: 44px;
		margin-top: 20px;
		padding: 0 24px;
		border: 1px solid #f0c4cc;
		border-radius: 999px;
		background: #fff;
		font-size: 15px;
		font-weight: 600;
		color: var(--fd-red);
		transition: background-color .2s;
	}
	.cfq-empty__reset:hover { background: #fff5f7; }
	/* with nothing to list, the empty box carries the footer's distance */
	.cfq-groups:not(:has(.cfq-group:not([hidden]))) { padding-bottom: 0; }

	/* a narrow wide window: Update Note's own step (its @media (max-width:
	   1199px) sets --ud-gutter to 32px) */
	@media (max-width: 1199px) {
		.cfq-page { --fd-gutter: 32px; }
	}

	/* ---- ENG ------------------------------------------------------------------- */

	.lang-en .cfq-hero__eyebrow { letter-spacing: 0; }          /* Update Note's ENG values */
	.lang-en .cfq-hero__title { letter-spacing: -0.03em; }
	.lang-en .cfq-chip { letter-spacing: -0.01em; }
	.lang-en .cfq-group__title { letter-spacing: -0.02em; }
	.lang-en .cfq-q__text { letter-spacing: -0.012em; word-break: normal; overflow-wrap: break-word; }
	.lang-en .cfq-a__body,
	.lang-en .cfq-group__desc,
	.lang-en .cfq-result,
	.lang-en .cfq-empty__desc { letter-spacing: -0.005em; }
	.lang-en .cfq-a__body { word-break: normal; overflow-wrap: break-word; }

	@media (prefers-reduced-motion: reduce) {
		.cfq-a,
		.cfq-a__in,
		.cfq-q__chev,
		.cfq-q__text,
		.cfq-item,
		.cfq-chip,
		.cfq-search__input,
		.cfq-empty__reset { transition: none !important; }
	}
}
