:root {
	--line: #161616;
	--bg: #ffffff;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	background: var(--bg);
	color: #111;
}

.layout {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 0 24px;
}

.home-bg-video {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #111 url("/assets/media/home-bg-poster.jpg") center center / cover no-repeat;
	pointer-events: none;
}

.home-bg-video-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 900px) {
	.home-bg-video {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-bg-video {
		display: none;
	}
}

.section {
	padding: 10px 20px;
}

main.section {
	max-width: 1200px;
	margin: 0 auto;
}

.logo-box {
	height: 78px;
	width: 108px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.header-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 38px;
	flex: 1;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.menu-toggle-line {
	display: block;
	width: 20px;
	height: 2px;
	background: #111;
}

.menu-link {
	position: relative;
	text-decoration: none;
	color: #111;
	font-size: 26px;
	font-family: "Arial Narrow", Arial, sans-serif;
	letter-spacing: 0.4px;
	font-weight: 700;
	line-height: 1;
}

.menu-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: #111;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.menu-link:hover::after,
.menu-link:focus::after {
	transform: scaleX(1);
}

.menu-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-bottom: 10px;
	margin-bottom: -10px;
}

.menu-dropdown::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 12px;
}

.submenu {
	display: none;
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	min-width: 170px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 10;
}

.submenu-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	text-decoration: none;
	color: #111;
	font-size: 12px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 6px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu-item + .submenu-item {
	margin-top: 6px;
}

.submenu-item:hover,
.submenu-item:focus {
	background: #111;
	color: #fff;
}

.menu-dropdown:hover .submenu,
.menu-dropdown:focus-within .submenu {
	display: block;
}

.social-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-height: 78px;
	flex-shrink: 0;
}

.social-link {
	text-decoration: none;
	color: #111;
	line-height: 1;
	min-width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 50%;
}

.social-link:hover,
.social-link:focus {
	border-color: #111;
}

.social-link svg {
	width: 15px;
	height: 15px;
	display: block;
	fill: currentColor;
}

.social-fallback {
	font-size: 11px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	text-transform: lowercase;
}

.hero-quote {
	margin: 28px auto 42px;
	max-width: 760px;
	text-align: center;
		font-size: 20px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

.works-section {
	margin-bottom: 30px;
}

.works-title,
.section-title {
	margin: 0 0 26px;
	text-align: center;
	font-size: 64px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	line-height: 1;
}

.thumb-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(120px, 1fr));
	gap: 12px;
}

.thumb-item {
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
}

.works-video-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.works-video-card {
	background: #fff;
	padding: 0;
}

.works-video-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}

.works-video-thumb-wrap {
	display: block;
	aspect-ratio: 1 / 1;
	background: transparent;
	position: relative;
	overflow: hidden;
}

.works-video-thumb {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.28s ease;
}

.works-video-title-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	background: rgba(0, 0, 0, 0.52);
	color: #fff;
	font-size: 12px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.25;
	letter-spacing: 0.4px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.works-video-trigger:hover .works-video-title-overlay,
.works-video-trigger:focus-visible .works-video-title-overlay {
	opacity: 1;
	transform: scale(1);
}

.works-video-trigger:hover .works-video-thumb,
.works-video-trigger:focus-visible .works-video-thumb {
	transform: scale(1.20);
}

.works-video-title {
	margin: 10px 0 0;
	font-size: 18px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

.works-video-desc {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.4;
}

.works-video-seo-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #111;
}

.works-modal {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.works-modal[hidden] {
	display: none;
}

.works-modal-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.72);
	cursor: pointer;
}

.works-modal-dialog {
	position: relative;
	width: min(960px, 100%);
	background: #111;
	color: #fff;
	padding: 14px;
	z-index: 1;
}

.works-modal-close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 34px;
	height: 34px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.works-modal-title {
	margin: 0 44px 10px 0;
	font-size: 22px;
	font-family: "Arial Narrow", Arial, sans-serif;
}

.works-modal-embed-wrap {
	aspect-ratio: 16 / 9;
	background: #000;
}

.works-modal-embed {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.directors-section {
	margin-top: 34px;
}

.directors-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.director-item {
	display: block;
	text-decoration: none;
	color: inherit;
}

.director-thumb-wrap {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #e9e9e9;
}

.director-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.28s ease;
}

.director-thumb-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #efefef 0%, #dedede 100%);
}

.director-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 12px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.84) 100%);
	color: #fff;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.director-portfolio-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.96);
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 8px 14px;
	border: 1px solid #fff;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.9px;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.director-item:hover .director-portfolio-badge,
.director-item:focus-visible .director-portfolio-badge {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.director-item:hover .director-thumb,
.director-item:focus-visible .director-thumb {
	transform: scale(1.12);
}


.director-page main.section {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.director-hero-section {
	padding: 0;
}

.director-hero {
	display: grid;
	grid-template-columns: minmax(0, 62%) minmax(280px, 1fr);
	align-items: stretch;
	background: #fff;
}

.director-hero-media {
	position: relative;
	background: #e6e6e6;
	min-height: 420px;
}

.director-hero-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.director-hero-fallback {
	width: 100%;
	height: 100%;
	min-height: 420px;
	background: linear-gradient(135deg, #efefef 0%, #d8d8d8 100%);
}

.director-hero-content {
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.director-hero-title {
	margin: 0 0 12px;
	font-size: 56px;
	line-height: 0.95;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}

.director-hero-text {
	margin: 0;
	font-size: 23px;
	line-height: 1.35;
	max-width: 620px;
}

.anchor-section {
	height: 1px;
}

.footer-contact {
	border-top: 1px solid #9a9a9a;
	padding-top: 20px;
}

.footer-contact-center {
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-title {
	margin: 0 0 16px;
	font-size: 56px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 1;
}

.footer-address {
	margin: 0 0 6px;
	font-style: normal;
}

.footer-line {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.25;
}

.footer-line-tight {
	margin-bottom: 2px;
}

.footer-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 4px 0;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	touch-action: manipulation;
}

.footer-link:hover,
.footer-link:focus {
	border-bottom-color: #111;
}

@media (max-width: 900px) {
	.footer-link {
		min-height: 48px;
	}
}

.footer-signature-line {
	margin-top: 10px;
	text-align: right;
}

.footer-signature-link {
	font-size: 13px;
}

.contact-map-wrap {
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	background: transparent;
	padding: 0;
	margin-left: calc(-1 * 20px);
	margin-right: calc(-1 * 20px);
}

.contact-map-wrap--full {
	width: calc(100% + 40px);
	margin-left: -20px;
	margin-right: -20px;
}

.contact-map-frame {
	display: block;
	width: 100%;
	min-height: 330px;
	border: 0;
}

.about-section {
	padding-top: 20px;
}

.about-image-wrap {
	max-width: 620px;
	margin: 0 auto 22px;
}

.about-image {
	display: block;
	width: 100%;
	height: auto;
}

.about-text-wrap {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.about-text-line {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.45;
}

.team-section {
	padding-top: 34px;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.team-card {
	text-align: center;
}

.team-name {
	margin: 0 0 8px;
	font-size: 26px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
}

.team-role {
	margin: 0;
	font-size: 20px;
}

.team-email {
	margin: 8px 0 0;
	font-size: 16px;
}

.team-email-link {
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.team-email-link:hover,
.team-email-link:focus {
	border-bottom-color: #111;
}

.line-production-page main.section {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.line-production-page .line-section > .section-title {
	padding-left: 20px;
	padding-right: 20px;
}

.line-section {
	padding-top: 6px;
}

.line-services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.line-service-card {
	border-bottom: 1px solid #b8b8b8;
	background: transparent;
	display: grid;
	grid-template-columns: minmax(260px, 50%) 1fr;
	align-items: stretch;
}

.line-service-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.line-service-card:nth-child(even) .line-service-image {
	order: 2;
}

.line-service-card:nth-child(even) .line-service-body {
	order: 1;
}

.line-service-body {
	padding: 18px 18px 16px;
}

.line-subtitle {
	margin: 0 0 6px;
	text-align: left;
	font-size: 44px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.3px;
}

.line-subtitle-rule {
	display: block;
	width: 54px;
	height: 2px;
	background: #111;
	margin-bottom: 14px;
}

.line-service-body h3 {
	margin: 0 0 8px;
	font-size: 40px;
	font-family: "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.05;
}

.line-service-body p {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.header-bar {
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
	}

	.logo-box {
		order: 1;
		width: 86px;
		height: 62px;
	}

	.menu-toggle {
		order: 2;
		display: inline-flex;
	}

	.social-links {
		order: 3;
		margin-left: auto;
		min-height: 62px;
	}

	.header-menu {
		order: 4;
		flex: 0 0 100%;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 12px;
		background: #fff;
		border: 1px solid #d9d9d9;
		border-radius: 10px;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	}

	.header-bar.menu-open .header-menu {
		display: flex;
	}

	.header-bar.menu-open .menu-toggle-line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.header-bar.menu-open .menu-toggle-line:nth-child(2) {
		opacity: 0;
	}

	.header-bar.menu-open .menu-toggle-line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.menu-link {
		font-size: 17px;
	}

	.menu-link::after {
		display: none;
	}

	.menu-dropdown {
		display: block;
		width: 100%;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.menu-dropdown::after {
		display: none;
	}

	.header-bar.menu-open .submenu {
		display: block;
		position: static;
		transform: none;
		top: auto;
		left: auto;
		min-width: 0;
		margin-top: 8px;
		border-radius: 8px;
		box-shadow: none;
	}

	.works-title,
	.section-title {
		font-size: 42px;
	}

	.footer-title {
		font-size: 38px;
	}

	.thumb-grid {
		grid-template-columns: repeat(2, minmax(120px, 1fr));
	}

	.works-video-grid {
		grid-template-columns: 1fr;
	}

	.works-video-title {
		font-size: 16px;
	}

	.works-modal-title {
		font-size: 18px;
	}

	.directors-row {
		grid-template-columns: 1fr;
	}

	.director-hero {
		grid-template-columns: 1fr;
	}

	.director-hero-media,
	.director-hero-fallback {
		min-height: 280px;
	}

	.director-hero-content {
		padding: 14px 12px 0;
	}

	.director-hero-title {
		font-size: 40px;
	}

	.director-hero-text {
		font-size: 18px;
	}

	.contact-map-frame {
		min-height: 260px;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.team-name {
		font-size: 22px;
	}

	.team-role {
		font-size: 18px;
	}

	.line-subtitle {
		font-size: 30px;
	}

	.line-service-body h3 {
		font-size: 22px;
	}

	.line-service-body p {
		font-size: 15px;
		line-height: 1.45;
	}

	.line-service-card {
		grid-template-columns: 1fr;
	}

	.line-service-card:nth-child(even) .line-service-image,
	.line-service-card:nth-child(even) .line-service-body {
		order: initial;
	}

	.line-production-page .line-section > .section-title {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.login-main {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-card {
	width: 100%;
	max-width: 420px;
	border: 1px solid #1a1a1a;
	padding: 22px 18px;
	background: #fff;
}

.login-title {
	margin: 0 0 10px;
	font-size: 34px;
	font-family: "Arial Narrow", Arial, sans-serif;
	text-align: center;
	line-height: 1;
}

.login-subtitle {
	margin: 0 0 16px;
	font-size: 14px;
	text-align: center;
	line-height: 1.4;
}

.login-message {
	margin: 0 0 14px;
	padding: 10px;
	font-size: 13px;
	line-height: 1.4;
	border: 1px solid #1a1a1a;
}

.login-message-error {
	background: #fff4f4;
	border-color: #990000;
	color: #990000;
}

.login-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.login-label {
	font-size: 13px;
	font-weight: 700;
}

.login-input {
	width: 100%;
	min-height: 40px;
	border: 1px solid #1a1a1a;
	padding: 8px 10px;
	font-size: 14px;
}

.login-button {
	margin-top: 8px;
	min-height: 42px;
	border: 1px solid #1a1a1a;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.login-button:hover,
.login-button:focus {
	background: #2f2f2f;
}

.admin-main {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 14px;
	max-width: none;
	margin: 0 auto;
}

.admin-page main.section.admin-main {
	max-width: none;
	width: 100%;
}

.admin-sidebar {
	border: 1px solid #1a1a1a;
	padding: 14px;
	min-height: 78vh;
}

.admin-brand {
	margin: 0 0 14px;
	font-size: 28px;
	font-family: "Arial Narrow", Arial, sans-serif;
	line-height: 1;
}

.admin-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.admin-nav-link {
	display: block;
	padding: 10px 12px;
	border: 1px solid #1a1a1a;
	color: #111;
	text-decoration: none;
	font-size: 14px;
}

.admin-nav-link.is-active {
	background: #111;
	color: #fff;
}

.admin-nav-divider {
	height: 1px;
	background: #b9b9b9;
	margin: 6px 0 2px;
}

.admin-nav-group-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.7px;
	color: #555;
	padding: 2px 2px 0;
}

.admin-logout-form {
	margin-top: 14px;
}

.admin-logout-button {
	width: 100%;
	min-height: 40px;
	border: 1px solid #1a1a1a;
	background: #fff;
	cursor: pointer;
	font-weight: 700;
}

.admin-content {
	border: 1px solid #1a1a1a;
	padding: 14px;
}

.admin-topbar {
	border-bottom: 1px solid #d2d2d2;
	padding-bottom: 10px;
	margin-bottom: 12px;
}

.admin-welcome {
	margin: 0;
	font-size: 14px;
}

.admin-block {
	display: block;
}

.admin-title {
	margin: 0 0 14px;
	font-size: 28px;
	font-family: "Arial Narrow", Arial, sans-serif;
	line-height: 1;
}

.admin-subtitle {
	margin: 18px 0 10px;
	font-size: 20px;
	font-family: "Arial Narrow", Arial, sans-serif;
	line-height: 1.1;
}

.admin-info {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.45;
}

.admin-alert {
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid #990000;
	background: #fff4f4;
	color: #990000;
	font-size: 13px;
}

.admin-success {
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid #0b6b2b;
	background: #f1fff6;
	color: #0b6b2b;
	font-size: 13px;
}

.admin-inline-form {
	display: grid;
	grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
	gap: 8px;
	align-items: end;
	margin-bottom: 14px;
}

.admin-form-label {
	font-size: 12px;
	font-weight: 700;
}

.admin-form-input {
	width: 100%;
	min-height: 38px;
	border: 1px solid #1a1a1a;
	padding: 6px 8px;
	font-size: 13px;
}

.admin-form-textarea {
	grid-column: 1 / -1;
	min-height: 300px;
	resize: vertical;
}

.admin-director-info-editor {
	min-height: 250px;
}

#yonetmen-ekle-modal .ck-editor__editable_inline,
#yonetmen-duzenle-modal .ck-editor__editable_inline {
	min-height: 250px;
}

#video-ekle-modal .ck-editor__editable_inline,
#video-duzenle-modal .ck-editor__editable_inline {
	min-height: 300px;
}

.admin-action-button {
	min-height: 36px;
	border: 1px solid #1a1a1a;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 0 10px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.admin-action-button:hover,
.admin-action-button:focus {
	background: #2b2b2b;
}

.admin-table-form {
	margin: 0;
}

.admin-actions-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.admin-order-cell {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.admin-order-value {
	min-width: 18px;
	text-align: center;
	font-weight: 700;
}

.admin-order-actions {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
}

.admin-order-button {
	width: 24px;
	height: 20px;
	border: 1px solid #1a1a1a;
	background: #fff;
	color: #111;
	font-size: 11px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.admin-order-button:hover,
.admin-order-button:focus {
	background: #f0f0f0;
}

.admin-action-button--secondary {
	background: #ffffff;
	color: #111;
}

.admin-action-button--secondary:hover,
.admin-action-button--secondary:focus {
	background: #ececec;
}

.admin-action-button--danger {
	background: #b30000;
	border-color: #8a0000;
}

.admin-action-button--danger:hover,
.admin-action-button--danger:focus {
	background: #8a0000;
}

.admin-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 12px;
}

body.modal-open {
	overflow: hidden;
}

.admin-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.admin-modal[hidden] {
	display: none;
}

.admin-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.admin-modal-card {
	position: relative;
	width: 100%;
	max-width: 760px;
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border: 1px solid #1a1a1a;
	padding: 14px;
	z-index: 1;
}

.admin-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e4e4e4;
}

.admin-modal-title {
	margin: 0;
	font-size: 24px;
	font-family: "Arial Narrow", Arial, sans-serif;
	line-height: 1;
}

.admin-modal-close {
	border: 1px solid #1a1a1a;
	background: #fff;
	width: 34px;
	height: 34px;
	line-height: 1;
	font-size: 18px;
	cursor: pointer;
}

.admin-modal-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px 12px;
}

.admin-modal-actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 6px;
}

.admin-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	gap: 12px;
}

.admin-stat-card {
	border: 1px solid #1a1a1a;
	padding: 12px;
}

.admin-stat-title {
	margin: 0 0 8px;
	font-size: 16px;
}

.admin-stat-value {
	margin: 0;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

.admin-table-wrap {
	overflow: visible;
	position: relative;
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
}

.admin-table th,
.admin-table td {
	border: 1px solid #1a1a1a;
	padding: 8px;
	font-size: 13px;
	text-align: left;
}

.admin-table th {
	background: #f5f5f5;
}

.admin-log-message,
.admin-log-context,
.admin-log-user-agent {
	max-width: 280px;
	white-space: pre-wrap;
	word-break: break-word;
}

.admin-video-thumb {
	display: block;
	width: 72px;
	height: 72px;
	border: 1px solid #1a1a1a;
	object-fit: cover;
	object-position: center center;
}

.admin-video-thumb-size {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #555;
	line-height: 1.2;
}

.admin-video-inline-desc {
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.3;
	color: #444;
	white-space: pre-wrap;
	word-break: break-word;
}

.admin-works-toggle {
	border: 0;
	background: transparent;
	padding: 0;
	min-height: 0;
	line-height: 1;
}

.admin-works-toggle i {
	font-size: 20px;
}

.admin-works-toggle--on i {
	color: #1e9f4d;
}

.admin-works-toggle--off i {
	color: #9a9a9a;
}

.admin-works-toggle:hover,
.admin-works-toggle:focus {
	background: transparent;
}

.admin-category-cell-button {
	display: block;
	width: 100%;
	text-align: left;
}

.admin-category-stack {
	display: grid;
	gap: 2px;
}

.admin-category-chip {
	display: block;
	font-size: 11px;
	line-height: 1.15;
}

.admin-video-preview {
	margin: 0 0 14px;
	padding: 10px;
	border: 1px solid #1a1a1a;
	background: #fff;
}

.admin-video-embed-wrap {
	position: relative;
	width: 100%;
	max-width: 760px;
	aspect-ratio: 16 / 9;
	background: #000;
}

.admin-video-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.admin-notification-source {
	display: none;
}

.admin-notifications {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(360px, calc(100vw - 32px));
	pointer-events: none;
}

.admin-toast {
	padding: 10px 12px;
	border: 1px solid #1a1a1a;
	background: #fff;
	color: #111;
	font-size: 13px;
	line-height: 1.4;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-toast--success {
	border-color: #0b6b2b;
	background: #f1fff6;
	color: #0b6b2b;
}

.admin-toast--error {
	border-color: #990000;
	background: #fff4f4;
	color: #990000;
}

.admin-toast.is-hide {
	opacity: 0;
	transform: translateY(-8px);
}

.admin-dropdown {
	position: relative;
	display: inline-block;
	z-index: 200;
}

.admin-dropdown-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	min-width: 130px;
	background: #fff;
	border: 1px solid #1a1a1a;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
	z-index: 9999;
}

.admin-dropdown-item {
	width: 100%;
	display: block;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
	padding: 8px 10px;
	text-align: left;
	font-size: 12px;
	cursor: pointer;
}

.admin-dropdown-item:last-child {
	border-bottom: 0;
}

.admin-dropdown-item:hover,
.admin-dropdown-item:focus {
	background: #f5f5f5;
}

.admin-dropdown-item--danger {
	color: #9e0000;
}

.admin-action-button--small {
	min-height: 28px;
	padding: 0 8px;
	font-size: 11px;
}

.admin-directors-menu-list {
	display: grid;
	gap: 6px;
}

.admin-directors-menu-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 0;
	border-bottom: 1px dashed #dedede;
}

.admin-directors-menu-item:last-child {
	border-bottom: 0;
}

.admin-directors-menu-remove {
	border: 0;
	background: transparent;
	color: #970000;
	cursor: pointer;
	padding: 2px 4px;
	font-size: 12px;
}

.admin-directors-menu-remove:hover,
.admin-directors-menu-remove:focus {
	color: #c70000;
}

.admin-directors-menu-empty {
	font-size: 12px;
	color: #666;
}

.admin-directors-menu-add-wrap {
	margin-top: 8px;
}

.admin-directors-add-list {
	display: grid;
	gap: 8px;
	max-height: 360px;
	overflow-y: auto;
}

.admin-directors-add-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 8px;
	border: 1px solid #e5e5e5;
}

@media (max-width: 900px) {
	.admin-main {
		grid-template-columns: 1fr;
	}

	.admin-sidebar {
		min-height: auto;
	}

	.admin-stats {
		grid-template-columns: 1fr;
	}

	.admin-inline-form {
		grid-template-columns: 1fr;
	}

	.admin-modal-form {
		grid-template-columns: 1fr;
	}
}
