@charset "utf-8";

/* ==========================================================================
   CamTalk / customer/notice.php - 공지사항, the wide window (ntd4, 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-notice-mobile.css
   is `max-width: 1000px` from its first rule to its last). It is linked
   from notice.php only, so the few rules for the shared bar (.gnb) reach
   no other page; everything else is under `.cnt-page` (a class only this
   page puts on <body>) or `.cnt`, the page's own <main>.

   ONE PAGE FOR BOTH WIDTHS. The wide window lays out the phone's own
   markup and the list js/camtalk-notice-mobile.js builds for both widths
   (one script, one set of handlers, one state - crossing the breakpoint
   changes the layout only).

   THE MEASURE IS UPDATE NOTE'S (ntd4). customer/updatenote.php is the model
   of the support pages, so its values are taken here as they are, from
   css/camtalk-updatenote-desktop.css (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 same wide drawing (img/updatenote-desktop/
               hero-wide.webp) cover-fitted at 50% 34%; the same dark pool
               and foot shade; the heading and its line one group in the
               hero's middle, both ways, in Update Note's hero type
     body      a 1160px column (1240 with its 40px gutters), 36px under the
               hero, 96px over the footer
     tools     one panel: the filters left, the search right
     list      one panel, one row per notice
   The crumbs stay, laid over the hero's top left on the column's line, so
   they never move the middle group. The phone's closing pink line is the
   phone's only: a wide window ends with the list, then the footer.

   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) {

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

	/* ---- the shared bar, white from the first frame ----------------------------
	   As on the phone and on customer/updatenote.php's wide window: js/common.js
	   gives .gnb the class gnb_invert (white ground, dark type, red "Cam") past
	   150px and takes it away above; on this page the bar looks like that in
	   BOTH states - the same values as common.css's .gnb_invert, and the
	   shadow camtalk-header.css gives the transparent bar dropped. The open
	   mega menu keeps its own dark skin (body.ctn-open). The class itself is
	   never touched. */
	body.cnt-page:not(.ctn-open) .gnb {
		color: #333;
		background-color: #fff;
	}
	body.cnt-page:not(.ctn-open) .gnb .logo,
	body.cnt-page:not(.ctn-open) .gnb .menu,
	body.cnt-page:not(.ctn-open) .gnb .right { text-shadow: none; }
	body.cnt-page:not(.ctn-open) .gnb .right img { filter: invert(100%); opacity: .2; }
	body.cnt-page:not(.ctn-open) .gnb .logo a b { color: #cc0c0c; }

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

	.cnt-page .cnt[hidden] { display: block; }
	.cnt {
		position: relative;
		z-index: 0;
		isolation: isolate;
		color: var(--nd-ink);
		background: #fff;
		overflow-x: clip;
	}
	.cnt img { display: block; max-width: none; }
	:where(.cnt) :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; }
	:where(.cnt) :where(ul) { list-style: none; }
	:where(.cnt) button {
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		font: inherit;
		color: inherit;
		cursor: pointer;
	}
	.cnt [hidden] { display: none !important; }
	.cnt mark {
		background: linear-gradient(transparent 55%, rgba(245, 18, 63, .16) 55%);   /* Update Note's .cun mark */
		color: inherit;
		border-radius: 2px;
	}
	.cnt :focus-visible {
		outline: 2px solid var(--nd-red);
		outline-offset: 3px;
	}
	.cnt-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)
	   ====================================================================== */

	.cnt-hero {
		position: relative;
		z-index: 0;
		isolation: isolate;
		display: flex;
		margin-top: var(--nd-header);
		height: clamp(320px, 25vw, 380px);
		padding: 0;
		background: #0c0b0d;
		color: #fff;
		overflow: hidden;
	}
	.cnt-hero__img {
		position: absolute;
		inset: 0;
		z-index: -2;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 50% 34%;
	}
	/* .cun-hero__shade: a dark pool under the words, a little weight at the foot */
	.cnt-hero::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		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%);
	}

	/* the crumbs lie over the hero's top left, on the column's line: out of
	   the flow, so the middle group is the hero's own centre */
	.cnt-crumbs {
		position: absolute;
		z-index: 1;
		top: 24px;
		left: max(var(--nd-gutter), calc((100% - var(--nd-w)) / 2));
		display: flex;
		align-items: center;
		gap: 9px;
		min-height: 24px;
		font-size: 15px;
		line-height: 1.3;
		letter-spacing: -0.02em;
		color: rgba(255, 255, 255, .74);
		white-space: nowrap;
	}
	.cnt-crumbs__home {
		display: grid;
		place-items: center;
		width: 26px;
		height: 26px;
		margin: -1px -4px -1px -5px;
		color: #fff;
	}
	.cnt-crumbs__home svg { width: 17px; height: 17px; }
	.cnt-crumbs__sep {
		flex: none;
		width: 13px;
		height: 13px;
		color: rgba(255, 255, 255, .5);
	}
	.cnt-crumbs__sep--bar {
		width: 1px;
		height: 12px;
		background: rgba(255, 255, 255, .34);
	}
	.cnt-crumbs__item { color: rgba(255, 255, 255, .74); }
	.cnt-crumbs__item--here { font-weight: 700; color: #fff; }

	/* .cun-hero__words: the group fills the band and stands in its middle */
	.cnt-hero__words {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 0 var(--nd-gutter);
		text-align: center;
	}
	/* .cun-hero__title: 42 at 1001, 49 at 1440, 52 from 1530 */
	.cnt-hero__title {
		font-size: clamp(42px, 3.4vw, 52px);
		font-weight: 800;
		line-height: 1.12;
		letter-spacing: -0.04em;
		color: #fff;
		word-break: keep-all;
	}
	/* .cun-hero__desc: CAMTALK NOTICE as Update Note's line */
	.cnt-hero__eyebrow {
		margin-top: 12px;
		font-size: 18px;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: -0.02em;
		color: rgba(255, 255, 255, .86);
		white-space: nowrap;
	}

	/* ======================================================================
	   2. BODY + TOOLS - Update Note's column and panel (.cun-body, .cun-tools)
	   ====================================================================== */

	.cnt-body {
		position: relative;
		width: 100%;
		max-width: calc(var(--nd-w) + 2 * var(--nd-gutter));
		margin: 0 auto;
		padding: 36px var(--nd-gutter) 96px;
	}

	/* the filters left, the search right; on a narrow wide window the field
	   takes a line of its own rather than squeezing the filters */
	.cnt-tools {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px 16px;
		padding: 10px;
		border: 1px solid var(--nd-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);
	}
	.cnt-filters {
		order: 1;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	/* .cun-chip; the count after the name is Notice's own */
	.cnt-chip {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		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(--nd-ink);
		white-space: nowrap;
		transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
	}
	.cnt-chip:hover { border-color: #cfd1d8; background: #fafafb; }
	.cnt-chip__n {
		font-weight: 500;
		font-variant-numeric: tabular-nums;
		color: var(--nd-mute);
	}
	.cnt-chip[aria-pressed="true"],
	.cnt-chip[aria-pressed="true"]:hover {
		border-color: #f5123f;
		background: #f5123f;
		color: #fff;
		font-weight: 700;
		box-shadow: 0 6px 14px -6px rgba(245, 18, 63, .55);
	}
	.cnt-chip[aria-pressed="true"] .cnt-chip__n { color: rgba(255, 255, 255, .9); }

	/* .cun-search: the field 44px tall; Notice's own search button (the
	   field searches on Enter or on it) sits inside its right end */
	.cnt-search {
		order: 2;
		position: relative;
		flex: 0 1 400px;
		min-width: 320px;
		margin-left: auto;
	}
	.cnt-search__field { position: relative; }
	.cnt-search__icon {
		position: absolute;
		left: 15px;
		top: 50%;
		width: 19px;
		height: 19px;
		margin-top: -9.5px;
		color: #6f727c;
		pointer-events: none;
	}
	.cnt-search__input {
		display: block;
		width: 100%;
		height: 44px;
		padding: 0 84px 0 44px;
		border: 1px solid #e6e7ec;
		border-radius: 12px;
		background: #f8f8fa;
		font: inherit;
		font-size: 15px;
		letter-spacing: -0.02em;
		color: var(--nd-ink);
		-webkit-appearance: none;
		appearance: none;
		transition: border-color .2s, background-color .2s;
	}
	.cnt-search__input::placeholder { color: #9a9ca5; opacity: 1; }
	.cnt-search__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
	.cnt-search__input:hover { border-color: #d9dbe1; }
	.cnt-search__input:focus {
		outline: none;
		border-color: #f2a3b4;
		background: #fff;
		box-shadow: 0 0 0 3px rgba(245, 18, 63, .08);
	}
	.cnt-search__clear {
		position: absolute;
		right: 44px;
		top: 50%;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		border-radius: 50%;
		color: #6f727c;
	}
	.cnt-search__clear:hover { background: #eeeff2; color: var(--nd-ink); }
	.cnt-search__clear svg { width: 18px; height: 18px; }
	.cnt-search__go {
		position: absolute;
		right: 4px;
		top: 50%;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		border-radius: 10px;
		background: #f5123f;
		color: #fff;
		transition: background-color .2s;
	}
	.cnt-search__go:hover { background: #d6102b; }
	.cnt-search__go svg { width: 18px; height: 18px; }

	/* .cun-result's type; under the panel, where the list begins */
	.cnt-result {
		margin-top: 18px;
		padding: 0 4px;
		font-size: 14px;
		line-height: 1.4;
		letter-spacing: -0.01em;
		color: var(--nd-mute);
		word-break: keep-all;
	}

	/* ======================================================================
	   3. LIST - one panel, one row per notice
	   ====================================================================== */

	/* One white panel with quiet lines between the rows. A row is the
	   notice's link (its own page, notice_contents/): the title - with the
	   source's tag and pin above it when it has them - at the left, the
	   date in a column of its own, the arrow at the right. A long title
	   wraps; the row grows. */
	.cnt-list {
		margin-top: 24px;
		border: 1px solid var(--nd-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;
	}
	.cnt-result:not(.cnt-sr) + .cnt-list { margin-top: 12px; }
	.cnt-list:empty { display: none; }
	.cnt-item + .cnt-item { border-top: 1px solid var(--nd-line-2); }

	.cnt-card {
		display: flex;
		align-items: center;
		gap: 32px;
		padding: 26px 32px;
		background: #fff;
		color: inherit;
		text-decoration: none;
		transition: background-color .2s;
	}
	.cnt-card:hover { background: #fafafb; }
	.cnt-card--pinned { background: #fff7f8; }
	.cnt-card--pinned:hover { background: #fff0f2; }
	.cnt-card:focus-visible { outline-offset: -3px; border-radius: 18px; }
	/* title (tag above it, a match note under it) left; the date in its
	   own column */
	.cnt-card__main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 40px;
		align-items: center;
		flex: 1 1 auto;
		min-width: 0;
	}
	.cnt-card__main > * { grid-column: 1; }
	.cnt-tag { justify-self: start; }
	/* 20.4 at 1001, 21.6 at 1440, 22.9 at 1920 */
	.cnt-card__title {
		display: block;
		font-size: clamp(20px, .28vw + 17.6px, 23px);
		font-weight: 700;
		line-height: 1.45;
		letter-spacing: -0.035em;
		color: var(--nd-ink);
		word-break: keep-all;
		overflow-wrap: anywhere;
	}
	.cnt-card__date {
		grid-column: 2;
		grid-row: 1 / span 9;
		align-self: center;
		font-size: 15px;
		line-height: 1.3;
		letter-spacing: 0;
		font-variant-numeric: tabular-nums;
		color: var(--nd-mute);
		white-space: nowrap;
	}
	.cnt-card__hit {
		display: block;
		margin-top: 6px;
		font-size: 14.5px;
		line-height: 1.35;
		letter-spacing: -0.02em;
		color: var(--nd-red);
	}
	/* the row's arrow, on a light disc that turns red with the row */
	.cnt-card__chev {
		flex: none;
		width: 40px;
		height: 40px;
		padding: 11px;
		border-radius: 50%;
		background: #f4f4f6;
		color: #3a3b41;
		transition: background-color .2s, color .2s, transform .25s var(--nd-ease);
	}
	.cnt-card:hover .cnt-card__chev { background: #f5123f; color: #fff; transform: translateX(3px); }

	/* the category and the pin, from the source only */
	.cnt-tag {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		height: 26px;
		margin-bottom: 8px;
		padding: 0 11px;
		border-radius: 999px;
		background: #fde7eb;
		font-size: 13.5px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: -0.02em;
		color: var(--nd-red);
	}
	.cnt-tag--update { background: #fff0f2; color: #e0233f; }
	.cnt-tag--policy { background: #eaf1fd; color: #2f6fd6; }
	.cnt-tag__pin { width: 15px; height: 15px; color: var(--nd-red); }

	.cnt-more {
		display: block;
		min-width: 240px;
		height: 48px;
		margin: 20px auto 0;
		padding: 0 28px;
		border: 1px solid #e0e1e6;
		border-radius: 999px;
		background: #fff;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: -0.02em;
		color: var(--nd-ink-2);
		transition: border-color .2s, background-color .2s;
	}
	.cnt-more:hover { border-color: #cfd1d8; background: #fafafb; }

	.cnt-empty {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 24px;
		padding: 56px 32px 52px;
		border: 1px dashed #dfe0e5;
		border-radius: 18px;
		text-align: center;
	}
	.cnt-empty__icon { width: 48px; height: 48px; color: #c3c5cc; }
	.cnt-empty__title {
		margin-top: 14px;
		font-size: 20px;
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: -0.03em;
		color: var(--nd-ink);
		word-break: keep-all;
	}
	.cnt-empty__desc {
		margin-top: 8px;
		font-size: 16px;
		line-height: 1.55;
		letter-spacing: -0.02em;
		color: var(--nd-mute);
		word-break: keep-all;
		text-wrap: balance;
	}
	.cnt-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(--nd-red);
		transition: background-color .2s;
	}
	.cnt-empty__reset:hover { background: #fff5f7; }

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

	/* the phone's closing pink line: not on a wide window (ntd4) */
	.cnt-banner { display: none; }

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

	.lang-en .cnt-hero__title { letter-spacing: -0.03em; }      /* Update Note's ENG value */
	.lang-en .cnt-chip { letter-spacing: -0.01em; }
	.lang-en .cnt-card__title { letter-spacing: -0.015em; word-break: normal; overflow-wrap: break-word; }
	.lang-en .cnt-result,
	.lang-en .cnt-empty__desc { letter-spacing: -0.005em; }

	@media (prefers-reduced-motion: reduce) {
		.cnt-card,
		.cnt-card__chev,
		.cnt-chip,
		.cnt-search__input,
		.cnt-search__go,
		.cnt-more,
		.cnt-empty__reset { transition: none; }
		.cnt-card:hover .cnt-card__chev { transform: none; }
	}
}
