/* 
Datalife Engine template - Modern Cinema 2025
*/

:root {
	--bg: #0d1117;
	--bg-lighter: #161b22;
	--bg-lightest: #21262d;
	--bg-darker: #010409;
	--bg-black: #000000;
	--tt: #8b949e;
	--tt-lighter: #c9d1d9;
	--tt-lighter-2: #e6edf3;
	--tt-darker: #484f58;
	--tt-darker-2: #6e7681;
	--bdc: #30363d;
	--bdc-lighter: #ffffff10;
	--bsh: 0 8px 24px rgba(0,0,0,0.4);
	--bsh-2: 0 2px 8px rgba(0,0,0,0.3);
	--gradient: linear-gradient(135deg, #f59e0b, #fbbf24);
	--gradient-accent: linear-gradient(135deg, #d97706, #f59e0b);
	--accent: #fbbf24;
	--accent-darker: #1f6feb;
	--accent-2: #f0883e;
	--accent-3: #56d364;
	--ui-bg: #0d1117;
	--ui-bg-darker: #010409;
	--ui-bg-darkest: #000;
	--ui-bg-accent: #21262d;
	--ui-text-color-on-accent: #fff;
	--ui-bdc: #30363d;
	--indent-negative: -30px;
	--indent: 30px;
	--max-width: 1400px;
}

@media screen and (max-width: 1420px) {
	:root {
		--indent-negative: -20px;
		--indent: 20px;
	}
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: transparent; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
ol, ul {list-style: none;}
table {border-collapse: collapse; border-spacing: 0;}
img, table, iframe, video, frame, embed, object {max-width: 100%;}
body {
	font: 14px 'Inter', 'Segoe UI', sans-serif;
	line-height: 1.5;
	padding: 0;
	margin: 0;
	color: var(--tt);
	background: var(--bg-black);
	min-height: 100%;
	width: 100%;
	font-weight: 400;
	overflow-x: hidden;
}
a {color: var(--tt-lighter-2); text-decoration: none;}
a:hover, a:focus {color: var(--accent); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 600; font-size: 22px; color: var(--tt-lighter);}
::selection {background: var(--accent); color: #fff;}
b, strong, .bolder {font-weight: 600;}

button, select, textarea, input[type="text"], input[type="password"], input[type="button"], input[type="submit"] 
	{appearance: none; -webkit-appearance: none; font-size: 14px; font-family: inherit;}
button, .btn, input[type="button"], input[type="reset"], input[type="submit"], .form__btn, 
.qq-upload-button, .pm__links a, .usp__btn a {display: inline-flex; align-items: center; justify-content: center; 
	cursor: pointer; text-align: center; padding: 0 24px; height: 42px; font-size: 13px; font-weight: 600; 
	white-space: nowrap; background: var(--gradient); color:#fff; border-radius: 8px; box-shadow: none; 
	text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;}
button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, 
.form__btn:hover, .qq-upload-button:hover, .pm__links a:hover, .usp__btn a:hover 
{opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);}
button:active, input[type="button"]:active, input[type="submit"]:active {transform: translateY(0);}
.color-btn, [class*=fr], [class*=plyr], [class*=owl-], [id*=mceu] {padding: 0; margin: 0; 
	line-height: normal; border: 0; box-shadow: none; background: none; border-radius: 0;}

input[type="text"], input[type="password"] {height: 42px; line-height: 42px; border-radius: 8px; padding: 0 16px;}
select {height: 42px; padding: 0 16px; display: block;}
select:not([multiple]) {background-image: url(../dleimages/chevron.svg); padding-right: 30px;
	background-repeat: no-repeat; background-position: right 15px top 50%; background-size: .6em auto;}
select option {padding: 6px 10px;}
select[multiple] {padding: 0 5px;}
textarea {padding: 16px; overflow: auto; vertical-align: top; resize: vertical; border-radius: 8px;}
input[type="text"], input[type="password"], select, textarea {width: 100%; background-color: var(--bg-darker); color: var(--tt-lighter); 
	border: 1px solid var(--bdc);}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus 
	{border-color: var(--accent); box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);}
input::placeholder, textarea::placeholder {color: var(--tt-darker); font-size: 13px;} 
input:focus::placeholder, textarea:focus::placeholder {color: transparent}

/* SNIPPETS
----------------------------------------------- */
.img-box, .img-wide, .img-responsive, .img-fit-cover {overflow: hidden; position: relative;}
.img-responsive {padding-top: 60%;}
.img-responsive--portrait {padding-top: 150%;}
.img-box > img, .img-responsive > img {width: 100%; min-height: 100%; display: block;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a {width: 100%; display: block;}
.img-fit-cover img {width: 100%; height: 100%; object-fit: cover;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.line-clamp {display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::before {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.9;}
.d-flex, .fx-row {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column, .fx-col {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between, .fx-row {justify-content: space-between;}
.jc-flex-start, .fx-start {justify-content: flex-start;}
.jc-center, .fx-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center, .fx-middle {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .fx-1, .stretch-free-width {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.btn-icon, .centered-content {display: inline-flex; justify-content: center; align-items: center;}
.icon-at-left [class*="fa-"], .icon-left .icon {margin-right: 0.5em;}
.icon-at-right [class*="fa-"], .icon-right .icon {margin-left: 0.5em;}
.hidden, #dofullsearch, .form__header .form__btn, .comment-item__main .quote + br, .d-none {display: none;}
.anim, button, .btn, a, a img, .btn-accent, .header__btn-search {transition: all .2s;}
.d-grid {display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));}

/* LIGHT THEME */
.lt-is-active {
	--bg: #ffffff;
	--bg-lighter: #f6f8fa;
	--bg-lightest: #eaeef2;
	--bg-darker: #f0f3f6;
	--bg-black: #ffffff;
	--tt: #57606a;
	--tt-lighter: #24292f;
	--tt-lighter-2: #1f2328;
	--tt-darker: #8c959f;
	--tt-darker-2: #6e7781;
	--bdc: #d0d7de;
	--bdc-lighter: #00000008;
	--accent: #0969da;
	--accent-darker: #0550ae;
	--accent-2: #bf8700;
	--accent-3: #1a7f37;
	--ui-bg: #ffffff;
	--ui-bg-darker: #f6f8fa;
	--ui-bg-darkest: #eaeef2;
	--ui-bdc: #d0d7de;
}

.lt-is-active .top__title, .lt-is-active .footer__text {color: var(--tt-lighter);}
.lt-is-active .nav-title {color: var(--accent);}
.lt-is-active .col-side {box-shadow: inset -1px 0 var(--bdc);}
