/* CSS for 3D Magazine App */
/* Suffix: 39952b61 */

.magazine-viewport-39952b61 {
	--primary-color: #111111;
	--accent-color: #c5a059; /* Corporate Gold */
	--bg-page-color: #fcfbf9; /* Soft cream book color */
	--text-color: #2c2c2c;
	--border-color: rgba(0,0,0,0.08);
	--font-title: 'Cinzel', 'Playfair Display', serif;
	--font-body: 'Montserrat', sans-serif;
	
	position: relative;
	width: 100%;
	height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	background: #121212;
	color: var(--text-color);
	font-family: var(--font-body);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

body.admin-bar .magazine-viewport-39952b61 {
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
	body.admin-bar .magazine-viewport-39952b61 {
		height: calc(100vh - 46px);
	}
}

.magazine-container-39952b61 {
	position: relative;
	width: 90%;
	max-width: 1200px;
	height: 80%;
	max-height: 750px;
	perspective: 2000px;
	box-shadow: 0 30px 70px rgba(0,0,0,0.6);
	background: #000;
	border-radius: 4px;
}

/* Base style for every page spread */
.magazine-page-39952b61 {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	background: var(--bg-page-color);
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
	transform-origin: left center;
	pointer-events: none;
	opacity: 0;
	z-index: 1;
}

/* Active Page Spread showing */
.magazine-page-39952b61.active-spread {
	pointer-events: auto;
	opacity: 1;
	z-index: 5;
}

/* Left and Right Page Sides inside Spread */
.page-side-39952b61 {
	flex: 1;
	padding: 40px 50px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	background: var(--bg-page-color);
	border-right: 1px solid var(--border-color);
	overflow-y: auto;
}

.page-side-39952b61::-webkit-scrollbar {
	width: 4px;
}
.page-side-39952b61::-webkit-scrollbar-thumb {
	background: var(--accent-color);
	border-radius: 2px;
}

.right-side-39952b61 {
	border-right: none;
	border-left: 1px solid var(--border-color);
}

/* Book fold shadow effect */
.page-side-39952b61::after {
	content: '';
	position: absolute;
	top: 0;
	width: 25px;
	height: 100%;
	pointer-events: none;
}
.left-side-39952b61::after {
	right: 0;
	background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 100%);
}
.right-side-39952b61::after {
	left: 0;
	background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 100%);
}

/* Typography styles */
.page-header-39952b61 h2 {
	font-family: var(--font-title);
	color: var(--primary-color);
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 15px 0;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 8px;
}

.page-footer-39952b61 {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999;
	border-top: 1px solid var(--border-color);
	padding-top: 15px;
	text-align: center;
}

/* COVER PAGE SPECIFICS */
.cover-page-39952b61 {
	flex-direction: column;
	justify-content: space-between;
	background: #0d0d0d;
	color: #ffffff;
	padding: 50px;
	pointer-events: auto;
}

.video-background-39952b61 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.video-background-39952b61 video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-overlay-39952b61 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(13, 13, 13, 0.85); /* Dimmed back to prevent overwhelming text */
}

.cover-content-39952b61 {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.magazine-tag-39952b61 {
	color: var(--accent-color);
	font-size: 0.9rem;
	letter-spacing: 5px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 10px;
}

.magazine-title-39952b61 {
	font-family: var(--font-title);
	font-size: 3.5rem;
	font-weight: 900;
	letter-spacing: 4px;
	margin: 0;
	line-height: 1.1;
	color: #ffffff;
}

.magazine-subtitle-39952b61 {
	font-size: 1.1rem;
	letter-spacing: 2px;
	color: #cccccc;
	margin-top: 10px;
	text-transform: uppercase;
}

.cover-body-39952b61 {
	margin: 40px 0;
}

.highlights-39952b61 {
	display: flex;
	gap: 40px;
	margin-bottom: 30px;
}

.highlight-item-39952b61 h3 {
	font-family: var(--font-title);
	color: var(--accent-color);
	font-size: 1.8rem;
	margin: 0 0 5px 0;
}

.highlight-item-39952b61 p {
	font-size: 0.85rem;
	color: #bbbbbb;
	margin: 0;
}

.contact-info-39952b61 {
	border-left: 3px solid var(--accent-color);
	padding-left: 15px;
}

.contact-name-39952b61 {
	font-weight: 700;
	margin: 0;
}

.contact-email-39952b61 {
	font-size: 0.9rem;
	color: #999;
	margin: 5px 0 0 0;
}

.cover-footer-39952b61 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.btn-turn-page-39952b61 {
	align-self: flex-start;
	background: transparent;
	border: 2px solid var(--accent-color);
	color: #ffffff;
	padding: 15px 30px;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: all 0.3s ease;
}

.btn-turn-page-39952b61 svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.btn-turn-page-39952b61:hover {
	background: var(--accent-color);
	color: #000000;
}

.btn-turn-page-39952b61:hover svg {
	transform: translateX(5px);
}

.disclaimer-39952b61 {
	font-size: 0.65rem;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

/* TOC PAGE */
.toc-list-39952b61 {
	list-style: none;
	padding: 0;
	margin: 0;
}

.toc-list-39952b61 li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.3s ease;
}

.toc-list-39952b61 li span {
	font-family: var(--font-title);
	color: var(--accent-color);
	margin-right: 10px;
}

.toc-dots-39952b61 {
	flex-grow: 1;
	border-bottom: 1px dotted var(--border-color);
	margin: 0 10px;
}

.toc-list-39952b61 li:hover {
	color: var(--accent-color);
}

/* PREFACE */
.preface-content-39952b61 {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-color);
}

.dropcap-39952b61 {
	float: left;
	font-family: var(--font-title);
	font-size: 4rem;
	line-height: 0.8;
	padding-right: 8px;
	color: var(--accent-color);
	font-weight: 700;
}

/* ANALYSIS PAGE */
.analysis-content-39952b61 h3 {
	font-family: var(--font-title);
	font-size: 1.2rem;
	color: var(--primary-color);
	margin-top: 0;
}

.analysis-content-39952b61 p {
	font-size: 0.95rem;
	line-height: 1.6;
}

/* CHART PLACEHOLDER */
.chart-placeholder-39952b61 {
	background: rgba(0,0,0,0.03);
	border: 1px dashed var(--border-color);
	padding: 20px;
	border-radius: 4px;
	margin-top: 25px;
}

.chart-bar-container-39952b61 {
	display: flex;
	height: 120px;
	align-items: flex-end;
	gap: 20px;
	justify-content: center;
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 5px;
}

.chart-bar-39952b61 {
	width: 40px;
	background: var(--accent-color);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	border-radius: 2px 2px 0 0;
	transition: height 1s ease;
}

.chart-bar-39952b61 span {
	font-size: 0.75rem;
	font-weight: 700;
	color: #000;
	margin-bottom: 5px;
}

.chart-labels-39952b61 {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 10px;
}

.chart-labels-39952b61 span {
	width: 40px;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 600;
}

.chart-caption-39952b61 {
	font-size: 0.75rem;
	color: #888;
	margin-top: 15px;
	text-align: center;
}

/* IDX CONTAINER */
.idx-container-39952b61 {
	height: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.idx-placeholder-39952b61 {
	border: 2px dashed var(--border-color);
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	background: rgba(0,0,0,0.01);
	width: 100%;
}

.idx-icon-39952b61 {
	width: 48px;
	height: 48px;
	margin: 0 auto 15px;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.idx-placeholder-39952b61 p {
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.idx-note-39952b61 {
	font-size: 0.8rem;
	color: #888;
	display: block;
	max-width: 250px;
	margin: 0 auto;
	line-height: 1.4;
}

/* NAVIGATION CONTROLS */
.magazine-controls-39952b61 {
	display: flex;
	gap: 20px;
	margin-top: 30px;
	z-index: 10;
}

.ctrl-btn-39952b61 {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	color: #ffffff;
	padding: 10px 20px;
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 30px;
	transition: all 0.3s ease;
}

.ctrl-btn-39952b61 svg {
	width: 16px;
	height: 16px;
}

.ctrl-btn-39952b61:hover:not(:disabled) {
	background: var(--accent-color);
	color: #000000;
	border-color: var(--accent-color);
}

.ctrl-btn-39952b61:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}
