/**
 * Single report styles — 칼럼 상세
 *
 * @package AriawellTheme
 */

body:has(.report-single) {
	background: var(--fp-color-white);
	color: var(--fp-color-text);
}

/* ── Layout ── */
.report-single__section {
	padding-block: 140px 160px;
}

.report-single__layout {
	align-items: flex-start;
	display: flex;
	gap: 60px;
	justify-content: space-between;
}

.report-single__content {
	display: flex;
	flex: 1 1 900px;
	flex-direction: column;
	gap: 60px;
	max-width: 900px;
	min-width: 0;
}

.report-single__sidebar {
	display: flex;
	flex-direction: column;
	flex: 0 0 360px;
	gap: 24px;
	max-width: 360px;
	min-width: 0;
	position: sticky;
	top: 120px;
}

/* ── Sidebar ── */
.report-single__sidebar-title {
	color: var(--fp-color-text-sub1);
	font-size: 24px;
	font-weight: 600;
	line-height: normal;
	margin: 0;
}

.report-single__related-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-single__related-divider {
	border-top: 1px solid #dadee4;
	height: 0;
	margin: 0;
	padding: 0;
	width: 100%;
}

.report-single__related-item {
	margin: 0;
}

.report-single__related-link {
	color: var(--fp-color-text-sub2);
	display: block;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	word-break: break-word;
}

.report-single__related-link.is-current {
	font-weight: 600;
	color: var(--fp-color-text-sub1);
}

.report-single__related-link:hover {
	color: var(--fp-color-text-sub1);
}

/* ── Header ── */
.report-single__header {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.report-single__title {
	color: var(--fp-color-text);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.report-single__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.report-single__date,
.report-single__author {
	color: var(--fp-color-text-sub2);
	font-size: 16px;
	line-height: 1;
	margin: 0;
}

.report-single__meta-divider {
	background: #dadee4;
	display: block;
	height: 14px;
	width: 1px;
}

/* ── Featured image ── */
.report-single__thumb {
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
}

.report-single__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.report-single__video {
	aspect-ratio: 16 / 9;
	background: #000;
	height: auto;
}

.report-single--tv .report-single__thumb {
	height: auto;
}

.report-single__video iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

/* ── Library single ── */
.report-single__library-top {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 60px;
	width: 100%;
}

.report-single__library-top .report-single__header {
	width: 100%;
}

.report-single__book {
	aspect-ratio: 352 / 507;
	border-radius: 8px;
	box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.15);
	height: auto;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	width: 352px;
}

.report-single__book img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.report-single__book-trigger {
	border: 0;
	cursor: pointer;
	padding: 0;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-single__book-trigger:hover {
	box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.report-single__book-trigger:focus-visible {
	outline: 2px solid #1c3154;
	outline-offset: 4px;
}

.report-single__ebook-btn {
	align-items: center;
	background: #1c3154;
	border-radius: 40px;
	color: var(--fp-color-white);
	display: inline-flex;
	font-size: 18px;
	font-weight: 600;
	height: 52px;
	justify-content: center;
	line-height: 1;
	min-width: 192px;
	padding: 0 24px;
	text-decoration: none;
}

.report-single__ebook-btn:hover {
	background: #152644;
	color: var(--fp-color-white);
}

.report-single__ebook-btn--disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

button.report-single__ebook-btn {
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

/* ── Publuu viewer modal ── */
.publuu-viewer {
	inset: 0;
	position: fixed;
	z-index: 10000;
}

.publuu-viewer[hidden] {
	display: none;
}

.publuu-viewer:not([hidden]) {
	display: flex;
}

.publuu-viewer__overlay {
	background: rgba(0, 0, 0, 0.75);
	cursor: pointer;
	inset: 0;
	position: absolute;
}

.publuu-viewer__panel {
	display: flex;
	flex-direction: column;
	height: min(90vh, 900px);
	margin: auto;
	max-width: 1200px;
	position: relative;
	width: min(94vw, 1200px);
	z-index: 1;
}

.publuu-viewer__close {
	align-items: center;
	background: rgba(255, 255, 255, 0.95);
	border: 0;
	border-radius: 50%;
	color: #333;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: -12px;
	top: -12px;
	width: 40px;
	z-index: 2;
}

.publuu-viewer__close:hover {
	background: #fff;
	color: #000;
}

.publuu-viewer__seo {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.publuu-viewer__title {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
}

.publuu-viewer__title[hidden],
.publuu-viewer__summary[hidden] {
	display: none;
}

.publuu-viewer__summary {
	margin: 0;
}

.publuu-viewer__iframe {
	border: 0;
	border-radius: 8px;
	display: block;
	flex: 1;
	height: 100%;
	width: 100%;
}

body.is-publuu-viewer-open {
	overflow: hidden;
}

/* ── Table of contents ── */
.report-single__toc-group {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.report-single__toc {
	background: #f8f8f8;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 42px;
	padding: 30px;
}

.report-single__toc-title {
	color: var(--fp-color-text);
	font-family: var(--fp-font-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	margin: 0;
}

.report-single__toc-list {
	color: var(--fp-color-text);
	display: flex;
	flex-direction: column;
	font-size: 18px;
	font-weight: 500;
	gap: 8px;
	line-height: 1.4;
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-single__toc-content {
	color: var(--fp-color-text);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.report-single__toc-content > :first-child {
	margin-top: 0;
}

.report-single__toc-content > :last-child {
	margin-bottom: 0;
}

.report-single__toc-content ul,
.report-single__toc-content ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.report-single__toc-content li {
	margin: 0;
}

.report-single__toc-content p {
	margin: 0 0 8px;
}

.report-single__toc-content p:last-child {
	margin-bottom: 0;
}

/* ── Body ── */
.report-single__body {
	color: var(--fp-color-text-sub1);
	font-size: 18px;
	line-height: 1.6;
}

.report-single__body > :first-child {
	margin-top: 0;
}

.report-single__body > :last-child {
	margin-bottom: 0;
}

.report-single__body p,
.report-single__body ul,
.report-single__body ol {
	margin: 0 0 1em;
}

.report-single__body h2 {
	color: var(--fp-color-text);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 20px;
}

.report-single__body h3 {
	color: var(--fp-color-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 16px;
}

.report-single__body a {
	color: var(--fp-color-brand);
	text-decoration: underline;
}

.report-single__body img {
	border-radius: 10px;
	height: auto;
	max-width: 100%;
}

/* ── Tags ── */
.report-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.report-single__tag {
	border: 1px solid #dadee4;
	border-radius: 8px;
	color: var(--fp-color-text-sub3);
	display: inline-flex;
	font-size: 16px;
	line-height: 1;
	padding: 10px 14px;
	text-decoration: none;
}

.report-single__tag:hover {
	border-color: var(--fp-color-brand);
	color: var(--fp-color-brand);
}

/* ── Author profile ── */
.report-single__profile {
	align-items: center;
	background: #f8f8f8;
	border-radius: 16px;
	display: flex;
	gap: 40px;
	padding: 30px;
}

.report-single__profile-photo {
	border-radius: 50%;
	flex-shrink: 0;
	height: 208px;
	overflow: hidden;
	width: 208px;
}

.report-single__profile-photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.report-single__profile-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.report-single__profile-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.report-single__profile-firm {
	color: var(--fp-color-text-sub3);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.report-single__profile-name {
	color: var(--fp-color-text);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.report-single__profile-desc {
	color: var(--fp-color-text-sub2);
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
}

.report-single__profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.report-single__profile-btn {
	align-items: center;
	background: var(--fp-color-white);
	border: 1px solid var(--fp-color-border);
	border-radius: 6px;
	color: var(--fp-color-text);
	display: inline-flex;
	font-size: 16px;
	font-weight: 500;
	gap: 6px;
	line-height: 1.6;
	padding: 10px 16px 10px 20px;
	text-decoration: none;
}

.report-single__profile-btn img {
	display: block;
	flex-shrink: 0;
	height: 20px;
	width: 20px;
}

.report-single__profile-btn:hover {
	border-color: var(--fp-color-brand);
	color: var(--fp-color-brand);
}

/* ── Archive back link (divorce-btn--more 스타일) ── */
.report-single__back-wrap {
	margin: 0;
}

.report-single__back-wrap .divorce-btn {
	cursor: pointer;
	display: inline-flex;
	font-family: var(--fp-font-sans);
	text-decoration: none;
}

.report-single__back-wrap .divorce-btn--more {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 0;
	height: 48px;
	margin-top: 0;
	padding: 0;
	position: relative;
	transition: none;
}

.report-single__back-wrap .divorce-btn--more:hover {
	opacity: 1;
}

.report-single__back-wrap .divorce-btn--more strong {
	color: #121619;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	margin-left: 20px;
	position: relative;
	transition: color 0.2s ease-in-out;
	white-space: nowrap;
	z-index: 20;
}

.report-single__back-wrap .divorce-btn--more::before {
	background-color: #cdd3db;
	border-radius: 27px;
	bottom: 0;
	content: "";
	display: block;
	height: 48px;
	left: 0;
	position: absolute;
	top: 0;
	transition: width 0.2s ease-in-out, background-color 0.2s ease-in-out;
	width: 48px;
	z-index: 10;
}

.report-single__back-wrap .divorce-btn--more::after {
	background: url("../images/divorce-page/icon-arrow-white.svg") center / 24px 24px no-repeat;
	content: "";
	display: block;
	height: 24px;
	margin-left: 6px;
	margin-right: 20px;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
	width: 24px;
	z-index: 20;
}

.report-single__back-wrap .divorce-btn--more:hover strong {
	color: var(--fp-color-white);
}

.report-single__back-wrap .divorce-btn--more:hover::before {
	background-color: #425166;
	width: 100%;
}

.report-single__back-wrap .divorce-btn--more:hover::after {
	opacity: 1;
}

@media (max-width: 1024px) {
	.report-single__back-wrap .divorce-btn--more {
		height: 42px;
	}

	.report-single__back-wrap .divorce-btn--more strong {
		font-size: 16px;
		margin-left: 16px;
	}

	.report-single__back-wrap .divorce-btn--more::before {
		border-radius: 21px;
		height: 42px;
		width: 42px;
	}

	.report-single__back-wrap .divorce-btn--more::after {
		background-size: 20px 20px;
		height: 20px;
		margin-left: 4px;
		margin-right: 16px;
		width: 20px;
	}
}

@media (max-width: 767px) {
	.report-single__back-wrap .divorce-btn--more {
		height: 38px;
	}

	.report-single__back-wrap .divorce-btn--more strong {
		font-size: 15px;
		margin-left: 14px;
	}

	.report-single__back-wrap .divorce-btn--more::before {
		border-radius: 19px;
		height: 38px;
		width: 38px;
	}

	.report-single__back-wrap .divorce-btn--more::after {
		background-size: 18px 18px;
		height: 18px;
		margin-left: 4px;
		margin-right: 14px;
		width: 18px;
	}
}

/* ── Post navigation ── */
.report-single__nav {
	display: flex;
	gap: 80px;
}

.report-single__nav-item {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.report-single__nav-item--next {
	align-items: flex-end;
	text-align: right;
}

.report-single__nav-label {
	align-items: center;
	color: var(--fp-color-text);
	display: inline-flex;
	font-size: 18px;
	font-weight: 500;
	gap: 6px;
	line-height: 1.6;
	text-decoration: none;
}

.report-single__nav-label img {
	display: block;
	flex-shrink: 0;
	height: 20px;
	width: 20px;
}

.report-single__nav-label--disabled {
	opacity: 0.45;
}

.report-single__nav-title {
	color: var(--fp-color-text);
	display: -webkit-box;
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-decoration: none;
}

.report-single__nav-title--empty {
	color: var(--fp-color-text-sub3);
}

a.report-single__nav-title:hover {
	color: var(--fp-color-brand);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
	.report-single__section {
		padding-block: 100px 120px;
	}

	.report-single__layout {
		flex-direction: column;
		gap: 60px;
	}

	.report-single__content,
	.report-single__sidebar {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.report-single__sidebar {
		position: static;
	}

	.report-single__thumb {
	}

	.report-single--tv .report-single__thumb {
		height: auto;
	}

	.report-single__book {
		height: auto;
		width: 280px;
	}

	.report-single__profile {
		align-items: flex-start;
	}

	.report-single__nav {
		gap: 40px;
	}

	.report-single__nav-label {
		font-size: 16px;
	}

	.report-single__nav-title {
		font-size: 14px;
	}
}

/* ── Mobile ── */
@media (max-width: 767px) {
	.report-single__section {
		padding-block: 80px 80px;
	}

	.report-single__content {
		gap: 40px;
	}

	.report-single__title {
		font-size: 24px;
	}

	.report-single__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.report-single__meta-divider {
		display: none;
	}

	.report-single__thumb {
	}

	.report-single--tv .report-single__thumb {
		height: auto;
	}

	.report-single__book {
		width: 220px;
	}

	.report-single__ebook-btn {
		font-size: 16px;
		height: 48px;
		min-width: 180px;
	}

	.publuu-viewer__panel {
		height: min(88vh, 900px);
		width: 96vw;
	}

	.publuu-viewer__close {
		right: 8px;
		top: 8px;
	}

	.report-single__toc,
	.report-single__profile {
		padding: 24px 20px;
	}

	.report-single__toc-title {
		font-size: 20px;
	}

	.report-single__toc-list {
		font-size: 16px;
	}

	.report-single__body {
		font-size: 16px;
	}

	.report-single__body h2 {
		font-size: 20px;
	}

	.report-single__profile {
		flex-direction: column;
		gap: 24px;
	}

	.report-single__profile-photo {
		height: 160px;
		width: 160px;
	}

	.report-single__profile-name {
		font-size: 26px;
	}

	.report-single__profile-actions {
		flex-direction: column;
		width: 100%;
	}

	.report-single__profile-btn {
		justify-content: center;
		width: 100%;
	}

	.report-single__nav {
		gap: 24px;
	}

	.report-single__nav-label {
		font-size: 14px;
	}

	.report-single__nav-title {
		font-size: 13px;
	}

	.report-single__sidebar-title {
		font-size: 20px;
	}

	.report-single__related-link {
		font-size: 16px;
	}
}

/* ── Post FAQ (상세 하단 FAQ 드롭다운) ── */
.report-single__faq {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.report-single__faq-title {
	color: var(--fp-color-text);
	font-family: var(--fp-font-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.report-single__faq-list {
	border-bottom: 1px solid #dadee4;
}

.report-single__faq-item {
	border-top: 1px solid #dadee4;
}

.report-single__faq-question {
	align-items: center;
	color: var(--fp-color-text);
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 600;
	gap: 16px;
	justify-content: space-between;
	line-height: 1.4;
	list-style: none;
	padding: 20px;
}

.report-single__faq-question::-webkit-details-marker {
	display: none;
}

.report-single__faq-question span {
	flex: 1;
}

.report-single__faq-icon {
	flex-shrink: 0;
	height: 32px;
	width: 32px;
}

.report-single__faq-icon--open,
.report-single__faq-item[open] .report-single__faq-icon--closed {
	display: none;
}

.report-single__faq-item[open] .report-single__faq-icon--open {
	display: block;
}

.report-single__faq-answer {
	color: var(--fp-color-text-sub1);
	font-size: 16px;
	line-height: 1.6;
	padding: 0 20px 32px;
}

.report-single__faq-answer p {
	margin: 0 0 8px;
}

.report-single__faq-answer p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.report-single__faq-title {
		font-size: 20px;
	}

	.report-single__faq-question {
		font-size: 16px;
		padding: 16px 8px;
	}

	.report-single__faq-icon {
		height: 24px;
		width: 24px;
	}

	.report-single__faq-answer {
		font-size: 15px;
		padding: 0 8px 24px;
	}
}
