/* ==========================================================================
   Cloud King Art Gallery — Unified Stylesheet
   Replaces: inc/screen.css, /-/css/screen/core.css, reset.css, IE patches
   ========================================================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
	--font-heading: 'Bitter', Georgia, serif;
	--font-body: 'DM Sans', Arial, sans-serif;
	--font-script: 'Satisfy', cursive;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li,
form, fieldset, legend, input, textarea, button, img, a { margin: 0; padding: 0; }
img { border: 0; display: block; }
ul { list-style: none; }


/* --- BASE TYPOGRAPHY --- */
body {
	margin: 0;
	padding: 10px 0 0;
	font-style: normal; font-weight: normal; font-size: 15px; line-height: 1.6; font-family: var(--font-body);
	color: #666;
	background: #e5dab8;
}

a { color: #99994c; text-decoration: none; }
a:hover { color: #535313; }


/* --- LAYOUT CONTAINER --- */
/* Both old-template (div.content) and new-template (div#mainContainer) */
div.content,
div#mainContainer {
	position: relative;
	left: auto;
	width: 728px;
	margin: 0 auto;
	background: #fff url(/img/bg_content.gif) repeat-y;
}

div#mainContent { min-height: 68vh; }


/* --- MASTHEAD --- */
/* The masthead GIF is 728px with a baked-in tan/sunburst background.
   We match the body tan so the masthead area looks seamless above the
   white content area, even though it's inside the container div. */
h1 {
	height: 100px;
	margin: 0;
	padding: 0;
	background: #e5dab8;
}
h1 a {
	display: block;
	height: 100px;
	background: #e5dab8 url(/img/masthead.gif) center bottom no-repeat;
	text-indent: -9999px;
	text-decoration: none;
}


/* --- NAVIGATION --- */
/* Old template: ul.nav  |  New template: ul#mainNav */
ul.nav,
ul#mainNav {
	height: auto;
	margin: 0 20px 20px;
	padding: 8px 0;
	text-align: center;
	font-style: normal; font-weight: bold; font-size: 14px; line-height: 1; font-family: var(--font-heading);
	border: dotted #eee;
	border-width: 2px 0;
	letter-spacing: 1px;
}

ul.nav li,
ul#mainNav li {
	display: inline;
	list-style-type: none;
}

ul.nav li a,
ul#mainNav li a {
	display: inline-block;
	margin: 0 10px;
	padding: 4px 0;
	text-transform: uppercase;
	text-decoration: none;
	color: #999;
	font-size: 14px;
	font-family: var(--font-heading);
	/* Remove all old GIF backgrounds */
	background-image: none;
	width: auto;
	height: auto;
}

ul.nav li a:hover,
ul#mainNav li a:hover { color: #535313; }

ul.nav li:first-child a,
ul#mainNav li:first-child a { font-weight: bold; }

/* Show the hidden span text in old-template nav */
ul.nav li a span { display: inline; }

/* Separators between nav items */
ul.nav li,
ul#mainNav li { padding: 0 14px 0 6px; background: url(/img/bullet.gif) 100% 50% no-repeat; }
ul.nav li:first-child,
ul#mainNav li:first-child { padding-left: 0; }
ul.nav li:last-child,
ul#mainNav li:last-child { padding-right: 0; background-image: none; }


/* --- ARTIST BIO PAGE LAYOUT --- */
/* The infoSpace (other links) is inside .majorColumn.artistBio in the DOM,
   floated right so bio paragraphs wrap around it. */

div.majorColumn {
	float: none;
	width: auto;
	margin: 20px 0 0;
}

div.minorColumn {
	float: none;
	width: auto;
	margin: 0;
}


/* --- ARTIST BIO --- */
div.artistBio {
	margin: 0;
	padding: 0 30px 0 63px;
	width: auto;
}

div.artistBio h2,
div.contact h2 {
	margin: 0 0 -6px;
	padding: 0;
	font-style: normal; font-weight: normal; font-size: 22px; font-family: var(--font-script);
	text-transform: lowercase;
	color: #EEBAB9;
	letter-spacing: 1px;
}

div.artistBio h3,
div.contact h3 {
	margin: 0 0 0;
	padding: 0;
	font-style: normal; font-weight: 800; font-size: 36px; font-family: var(--font-heading);
	color: #666;
	letter-spacing: 1px;
}

div.artistBio h4,
div.contact h4 {
	margin: 0;
	padding: 0;
	font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-heading);
	color: #EEBAB9;
	text-transform: capitalize;
}

div.artistBio h6 { margin: 0 0 15px; font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-body); }

div.artistBio p {
	margin: 0 0 1em;
	font-size: 16px; line-height: 26px; font-family: var(--font-body);
	color: #666;
}
div.artistBio p.ck-bio-hidden { display: none; }
p.ck-read-more {
	margin: 0 0 1em;
}
p.ck-read-more a {
	font-style: normal; font-weight: 500; font-size: 14px; font-family: var(--font-body);
	color: #99994c;
}
p.ck-read-more a:hover { color: #535313; }

div.artistBio ul { font-size: 15px; }

div.content div.majorColumn ul {
	margin-bottom: 20px;
	color: #666;
	font-style: normal; font-weight: normal; font-size: 14px; line-height: 1.6; font-family: var(--font-body);
	list-style-image: url(/img/bullet.gif);
}
div.content div.majorColumn ul li { margin-bottom: 5px; }


/* --- FEATURE SECTION --- */
div.majorColumn div.feature { width: 85%; margin-left: 8%; }
div.majorColumn div.feature img { display: block; padding: 3px; border: 2px solid #e8e8e8; max-width: 100%; height: auto; }
div.majorColumn div.feature a:hover img { border-color: #ccc; background: #eee; }
div.majorColumn div.feature h2 { margin: 10px 0 0; padding: 0 0 0 10px; color: #bababc; font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-heading); }
div.majorColumn div.feature h3 { margin: 0 0 4px; padding: 0 0 4px 10px; font-style: normal; font-weight: bold; font-size: 20px; font-family: var(--font-heading); font-style: normal; color: #7e807f; background: #fff url(/img/bg_rule.gif) bottom repeat-x; }
div.majorColumn div.feature p { margin: 0 0 15px 10px; font-size: 15px; line-height: 24px; font-family: var(--font-body); color: #7a7a7a; }
div.majorColumn div.feature p span.date { padding-right: 5px; font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-heading); color: #e5c972; }


/* --- CARD (full-width works grid) --- */
div.minorColumn div.card {
	width: auto;
	margin: 0;
	padding: 20px 63px 30px;
	background: transparent;
	border: none;
	border-radius: 0;
}

/* Override old GIF-based card styling */
div.minorColumn div.card div.cardContent {
	padding-bottom: 5px;
	background: none;
}

div.minorColumn div.card div.cardBottom { display: none; }

div.minorColumn div.card div.cardContent h2 {
	height: auto;
	margin: 15px 0 10px;
	clear: both;
	font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-heading);
	color: #666;
	background: none;
}

/* Show hidden span text in card headings */
div.minorColumn div.card div.cardContent h2 span { display: inline; }
div.minorColumn div.card div.cardContent h2.worksBy span,
div.minorColumn div.card div.cardContent h2.latest span,
div.minorColumn div.card div.cardContent h2.rated span,
div.minorColumn div.card div.cardContent h2.external span,
div.minorColumn div.card div.cardContent h2.updates span,
div.minorColumn div.card div.cardContent h2.gallery span { display: inline; }

div.minorColumn div.card div.cardContent p {
	height: auto;
	margin: 0 1px 8px;
	padding: 6px 10px;
}

div.minorColumn div.card div.cardContent p a {
	display: block;
	font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-heading);
	color: #7f8183;
}

div.minorColumn div.card div.cardContent p a img {
	margin-right: 8px;
	margin-bottom: 1px;
	padding: 2px;
	border: 1px solid #e8e8e9;
	background: #fff;
	vertical-align: middle;
	display: inline;
}

div.minorColumn div.card div.cardContent p:hover { background: #fbfaf5; }
div.minorColumn div.card div.cardContent p a:hover { color: #000; }
div.minorColumn div.card div.cardContent p a:hover img { border-color: #ccc; }

div.minorColumn div.card div.cardContent ul { margin: 0 10px 0 0; padding: 0; }
div.minorColumn div.card div.cardContent ul li { margin: 0 0 1em 10px; }
div.minorColumn div.card div.cardContent ul li a {
	padding-left: 22px;
	font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-body);
	color: #7f8183;
	background: #fff url(/img/chevron.gif) left no-repeat;
}
div.minorColumn div.card div.cardContent ul li a span { color: #99994c; }
div.minorColumn div.card div.cardContent ul li a:hover { color: #333; background-image: url(/img/chevron_on.gif); }
div.minorColumn div.card div.cardContent ul li a:hover span { color: #535313; }


/* --- WORKS THUMBNAILS (CSS grid, 3 per row, medium images) --- */
/* Hide the "Works by" title */
div.minorColumn div.card div.thumbs h2.worksBy { display: none; }

div.minorColumn div.card div.thumbs div.indent {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding: 0;
}

/* Hide the inline <br> clearfixes */
div.minorColumn div.card div.thumbs br,
div.minorColumn div.card div.thumbs div.indent > br { display: none; }

div.minorColumn div.card div.thumbs p {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
}

div.minorColumn div.card div.thumbs p a {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	color: #999;
	border: none;
	border-radius: 8px;
	background-color: #eee;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	font-size: 12px;
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 1;
}
div.minorColumn div.card div.thumbs p.new a { background-color: transparent; }

div.minorColumn div.card div.thumbs p a span {
	display: block;
	position: absolute;
	z-index: 100;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	padding: 6px 4px;
	font-style: normal; font-weight: bold; font-size: 14px; line-height: 1.3; font-family: var(--font-body);
	color: #666;
	background: none;
	border-radius: 0 0 6px 6px;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
}

div.minorColumn div.card div.thumbs p a img {
	width: 100%;
	height: 100%;
	margin: 0;
	background: transparent;
	border: 0;
	opacity: 0;
	position: absolute;
	inset: 0;
}

div.minorColumn div.card div.thumbs p a::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url(/-/img/bg_cloud-trans-big-75.png) right bottom / 100% auto no-repeat;
	background-position-y: calc(100% + 42px);
	z-index: 50;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
div.minorColumn div.card div.thumbs p:nth-child(even) a::after { transform: scaleX(-1); }
div.minorColumn div.card div.thumbs p a:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
div.minorColumn div.card div.thumbs p a:hover::after { opacity: 1; }
div.minorColumn div.card div.thumbs p a:hover span { opacity: 1; }


/* --- ARTISTS LISTING --- */
div.artistsColumn {
	width: 90%;
	margin: 20px auto 0;
	padding-bottom: 50px;
	border: solid #fbfaf5;
	border-width: 0 1px 1px;
}

div.artistsColumn h2 {
	clear: both;
	font-size: 13px;
	text-align: center;
	color: #bbb;
	font-style: italic;
	border: dotted #f3f3f3;
	border-width: 2px 0;
	padding: 4px 0;
	margin: 10px 0;
}
div.artistsColumn h2.top { margin-top: 0; }

div.artistsColumn p {
	float: left;
	width: 190px;
	height: auto;
	min-height: 42px;
	margin: 0 5px 8px;
}

div.artistsColumn p a {
	display: block;
	font-style: normal; font-weight: bold; font-size: 13px; font-family: var(--font-heading);
	color: #7f8183;
}

div.artistsColumn p a img {
	margin-right: 4px;
	margin-bottom: 1px;
	margin-left: 10px;
	padding: 2px;
	border: 1px solid #e8e8e9;
	background: #fff;
	vertical-align: middle;
	display: inline;
}

div.artistsColumn p:hover { background: #fbfaf5; }
div.artistsColumn p a:hover { color: #000; }
div.artistsColumn p a:hover img { border-color: #ccc; }


/* --- ARTIST LIST (New template) --- */
div.basicContent { padding: 24px 60px 36px; }
div.artistList { padding: 24px 40px 36px; }

div.basicContent h2 {
	margin: 0 0 12px;
	font-style: normal; font-weight: bold; font-size: 24px; font-family: var(--font-heading);
	color: #666;
}
div.basicContent h2.top {
	display: none;
}

div.basicContent h3,
div.basicContent h4 {
	margin: 26px 0 12px;
	font-style: normal; font-weight: normal; font-size: 22px; line-height: 1.4; font-family: var(--font-script);
	text-transform: lowercase;
	color: #EEBAB9;
	letter-spacing: 1px;
}

div.basicContent p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 26px;
}

div.artistList {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
}

div.artistList p {
	margin: 0;
	padding: 0;
}

div.artistList p a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: #666;
	font-style: normal; font-weight: normal; font-size: 14px; font-family: var(--font-body);
	background: #faf9f6;
	border: none;
	border-radius: 6px;
	margin: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

div.artistList p img {
	display: block;
	width: 36px;
	height: 36px;
	opacity: 0.8;
	border-radius: 4px;
	flex-shrink: 0;
}

div.artistList p span {
	position: static;
	display: inline;
	width: auto;
	padding: 0;
	text-align: left;
	line-height: 1.3;
}

div.artistList a:hover { background: #f5f3ec; color: #333; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
div.artistList a:hover img { opacity: 1; }


/* --- ARTWORK DETAIL (workSpace) --- */
div.workSpace {
	max-width: 860px;
	min-height: 200px;
	margin: 30px auto 0;
	padding: 0 30px 30px;
}

div.workSpace div.left {
	float: left;
	width: 55%;
	text-align: right;
}

div.workSpace div.right {
	float: right;
	width: 40%;
}
/* otherLinks inside bio should fill the infoSpace width */
div.artistBio div.infoSpace div.otherLinks {
	width: 100%;
	float: none;
}

div.workSpace div.work a img {
	padding: 2px;
	border: 2px solid #e4e5e5;
	max-width: 100%;
	height: auto;
	image-rendering: auto;
}
div.workSpace div.work a:hover img { border-color: #ccc; }

div.workSpace div.credits { width: 100%; }

div.workSpace div.credits h2 {
	margin: 0 0 0 9px;
	font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-body);
	color: #000;
}

div.workSpace div.credits h3 {
	margin: 0 0 15px;
	padding: 0;
	font-style: normal; font-weight: bold; font-size: 22px; font-family: var(--font-heading);
	font-style: italic;
	color: #999;
}

div.workSpace div.credits p {
	margin: 0 0 35px 9px;
	color: #999;
	font-size: 15px;
	line-height: 1.5;
}
div.workSpace div.credits p span.media { display: block; color: #aaa; font-style: italic; padding: 0; }

div.workSpace div.credits ul { margin: 0; padding: 0; }

div.workSpace div.credits ul li {
	display: block;
	margin: 0 0 10px 10px;
	font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-body);
	text-transform: uppercase;
	list-style-type: none;
}

div.workSpace div.credits ul li a {
	color: #999;
	background-image: none;
}
div.workSpace div.credits ul li a img { display: none; }

div.workSpace div.credits ul li a.larger { padding-left: 22px; background: url(/img/larger.gif) left no-repeat; }
div.workSpace div.credits ul li a.larger:hover { background-image: url(/img/larger_on.gif); }
div.workSpace div.credits ul li a.allWork { padding-left: 22px; background: url(/img/all-works.gif) left no-repeat; }
div.workSpace div.credits ul li a.allWork:hover { background-image: url(/img/all-works_on.gif); }
div.workSpace div.credits ul li a.external { padding-left: 22px; background: url(/img/chevron.gif) left no-repeat; }
div.workSpace div.credits ul li a.external:hover { background-image: url(/img/chevron_on.gif); }

div.workSpace div.credits ul li a span { font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-heading); }
div.workSpace div.credits ul li a strong { font-weight: normal; color: #acac6e; }
div.workSpace div.credits ul li a:hover { color: #000; }
div.workSpace div.credits ul li a:hover strong { color: #535313; }


/* --- RELATED WORKS (infoSpace) --- */
/* On artist index pages, infoSpace is inside .majorColumn and floated right
   so bio paragraphs wrap around it.
   On artwork detail pages, it sits below the work. */
div.infoSpace {
	padding: 20px 30px 0 0;
	background: none;
}
/* Float the infoSpace right inside the bio */
div.artistBio div.infoSpace {
	float: right;
	padding: 0 0 0 20px;
	margin: 0;
}
/* Hide the clearfix <br> inside infoSpace on artist bio pages */
div.artistBio div.infoSpace > br { display: none; }

/* Hide the "other works" list — redundant with the thumbnail grid */
div.infoSpace div.otherWorks { display: none; }

div.infoSpace div.otherLinks {
	margin: 0;
	line-height: 24px;
	padding-bottom: 20px;
}
div.artistBio div.infoSpace div.otherLinks h4 { display: none; }
div.artistBio div.infoSpace ul { list-style-image: none; list-style: none; }
div.infoSpace div.otherLinks ul { margin: 0; padding: 0 0 0 1rem; border-left: 2px solid #ccc; list-style-type: none; }
div.infoSpace div.otherLinks ul li { margin-bottom: 4px; padding-left: 1em; text-indent: -1em; }
div.infoSpace div.otherLinks ul li a {
	font-style: normal; font-weight: normal; font-size: 14px; line-height: 1.6; font-family: var(--font-body);
	color: #99994c;
}
div.infoSpace div.otherLinks ul li a:hover { color: #535313; }


/* --- HOMEPAGE VIEWERS --- */
div.homeViewer {
	position: relative;
	margin: 0 24px 24px;
	overflow: hidden;
}

div.homeViewer:first-child { margin-bottom: 12px; }

div.homeViewer a span { display: block; }

div.homeViewer a span.artistName {
	position: absolute;
	display: none;
	z-index: 100;
	bottom: 4px;
	right: 4px;
	margin: 0;
	padding: 6px 12px;
	color: #fff;
	background: rgba(0,0,0,0.6);
	font-size: 15px;
	border-radius: 7px;
}

div.homeViewer a:hover span.artistName { display: block; }

div.homeViewer.double div.doubleArtist:first-child a span.artistName { font-size: 14px; }
div.homeViewer.double div.doubleArtist:last-child a span.artistName { left: auto; font-size: 14px; }

div.homeViewer a.viewerImg {
	display: block;
	text-align: center;
	overflow: hidden;
}
div.homeViewer a.viewerImg:hover { }

div.homeViewer.double div.doubleArtist {
	position: relative;
	float: left;
	width: calc(50% - 6px);
}
div.homeViewer.double div.doubleArtist:first-child { margin-right: 12px; }

div.homeViewer.offsetLeft div.doubleArtist:first-child { width: calc(33% - 6px); }
div.homeViewer.offsetLeft div.doubleArtist:last-child { width: calc(67% - 6px); }

div.homeViewer.offsetRight div.doubleArtist:first-child { width: calc(67% - 6px); }
div.homeViewer.offsetRight div.doubleArtist:last-child { width: calc(33% - 6px); }

div.homeViewer a.viewerImg img {
	max-width: 100%;
	height: auto;
}


/* --- ARTIST THUMBNAIL VIEWER (homepage) --- */
div.artistViewer {
	max-width: 95%;
	margin: 0 auto;
	padding: 6px 0;
	overflow: hidden;
}
div.artistViewer div.artistsInner { width: 9000px; }

div.artistViewer a {
	display: block;
	float: left;
	width: 48px;
	height: 48px;
	margin: 0 4px 12px;
	border-radius: 4px;
	box-shadow: 0 0 3px #ccc;
}
div.artistViewer a img { border-radius: 4px; }
div.artistViewer a:hover { box-shadow: 0 0 3px #666; }


/* --- ABOUT / CONTACT --- */
div.aboutBox {
	margin: 50px auto 0;
	max-width: 520px;
}
div.aboutBox ul { list-style-image: url(/img/bullet.gif); line-height: 20px; }
div.aboutBox ul li { margin-bottom: 5px; }

div.awardsBox { text-align: center; }
div.awardsBox img { margin: 0; }
div.awardsBox a { float: left; width: 88px; height: 31px; margin: 0 20px 20px 0; background: #eee; font-weight: bold; font-size: 14px; text-decoration: underline; white-space: nowrap; overflow: hidden; line-height: 30px; }

div.contact { margin-left: 60px; max-width: 500px; }
div.contact h2, div.contact h3 { margin-left: 10px; }
div.contact form { margin: 20px 0 60px; border: 1px solid #fbfaf5; }
div.contact form div.formField { margin-bottom: 10px; padding: 5px 10px; }
div.contact form div.formField p { line-height: 1.5; font-size: 13px; margin: 0; text-transform: uppercase; }
div.contact form div.formField p label { margin: 0; padding: 0; }
div.contact form div.formField p input { vertical-align: middle; }
div.contact form div.alt { background: #fbfaf5; }
div.contact form p.note { font-size: 13px; margin-left: 10px; }
div.contact form textarea { width: 100%; max-width: 400px; height: 9em; }
div.linkbar { float: right; text-align: right; margin-top: 80px; margin-right: 60px; width: 156px; }
div.linkbar a { display: block; }

input.submit {
	color: #666;
	border-color: #fbfaf5;
	background: #e5dab8;
	font-style: normal; font-weight: normal; font-size: 14px; font-family: var(--font-body);
	padding: 4px 12px;
	cursor: pointer;
}


/* --- MISC --- */
.note { font-style: normal; font-weight: normal; font-size: 12px; font-family: var(--font-body); text-transform: none; }
h5.confirm { margin: 15px 0 15px 9px; font-style: normal; font-weight: bold; font-size: 14px; font-family: var(--font-heading); }


/* --- FOOTER --- */
/* Footer sits inside the container but visually transitions back to tan,
   matching the body background. The bg_footer.gif provides a decorative
   top edge where the white content meets the tan footer. */
div.footer,
div#footer {
	clear: both;
	padding: 6px 0 12px;
	background: #e5dab8 url(/img/bg_footer.gif) top center no-repeat;
	text-align: center;
	font-size: 11px;
	color: #666;
}



/* --- LIGHTBOX --- */
#ck-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0,0,0,0.85);
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
#ck-lightbox.active { display: flex; }
#ck-lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
	cursor: default;
}
#ck-lightbox .ck-lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 32px;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}


/* --- ARTWORK MODAL --- */
#ck-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: rgba(0,0,0,0.7);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	justify-content: center;
	align-items: center;
}
#ck-modal.active { display: flex; }

.ck-modal-inner {
	position: relative;
	max-width: 85vw;
	max-height: 85vh;
	overflow-y: auto;
	margin: 40px;
	padding: 48px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.ck-modal-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 28px;
	color: #999;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	z-index: 1;
}
.ck-modal-close:hover { color: #333; }

.ck-modal-image {
	text-align: center;
	margin-bottom: 10px;
}
.ck-modal-image img {
	max-width: 100%;
	max-height: 70vh;
	height: auto;
	display: inline-block;
	border: none;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
}

.ck-modal-info {
	text-align: center;
}
.ck-modal-info h3 {
	margin: 0 0 2px;
	font-style: normal; font-weight: bold; font-size: 20px; font-family: var(--font-heading);
	color: #666;
}
.ck-modal-info p {
	margin: 0 0 4px;
	font-style: normal; font-weight: normal; font-size: 14px; line-height: 1.4; font-family: var(--font-body);
	color: #999;
}
.ck-modal-info p span.media {
	display: block;
	color: #aaa;
	font-style: italic;
}

.ck-modal-links {
	padding-top: 8px;
}
.ck-modal-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ck-modal-links ul li {
	margin: 0 0 8px;
	font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-body);
	text-transform: uppercase;
}
.ck-modal-links ul li a {
	color: #999;
}
.ck-modal-links ul li a:hover { color: #333; }
.ck-modal-links ul li a span { font-style: normal; font-weight: normal; font-size: 13px; font-family: var(--font-heading); }
.ck-modal-links ul li a strong { font-weight: normal; color: #acac6e; }
.ck-modal-links ul li a:hover strong { color: #535313; }

.ck-modal-loading {
	padding: 40px 0;
	text-align: center;
	color: #999;
	font-style: normal; font-weight: normal; font-size: 14px; font-family: var(--font-body);
}



/* --- CLEARFIX --- */
div.basicContent::after,
div.artistViewer::after,
div.workSpace::after,
div.majorColumn::after,
div.minorColumn::after,
div.homeViewer.double::after,
div.artistsColumn::after,
div.artistList::after {
	content: "";
	display: block;
	clear: both;
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
	div.artistBio div.infoSpace {
		float: none;
		padding: 0;
	}

	div.majorColumn,
	div.minorColumn {
		float: none;
		width: 95%;
		margin: 20px auto;
	}

	div.workSpace div.left,
	div.workSpace div.right {
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}

	div.artistList p { width: 50%; }

	div.homeViewer { height: 150px; }
	div.homeViewer a.viewerImg { height: 150px; }

	div.basicContent { padding: 20px; }

	ul.nav li a,
	ul#mainNav li a { font-size: 12px; margin: 0 6px; }

	div.minorColumn div.card div.thumbs div.indent {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	div.artistList p { width: 100%; }
	div.homeViewer.double div.doubleArtist,
	div.homeViewer.double div.doubleArtist:first-child,
	div.homeViewer.offsetLeft div.doubleArtist:first-child,
	div.homeViewer.offsetLeft div.doubleArtist:last-child,
	div.homeViewer.offsetRight div.doubleArtist:first-child,
	div.homeViewer.offsetRight div.doubleArtist:last-child {
		float: none;
		width: 100%;
		margin: 0 0 12px;
	}
}


/* --- PRINT --- */
@media print {
	body { background: #fff; font-size: 12pt; }
	div.content, div#mainContainer { box-shadow: none; width: 100%; }
	ul.nav, ul#mainNav, div.footer, div#footer { display: none; }
	a { color: #000; }
	a::after { content: " (" attr(href) ")"; font-size: 10pt; }
	#ck-lightbox { display: none; }
}
