/* Drone Service Thailand: depth styling for the home page */
body.home .wp-block-post-content > .wp-block-group:first-child,
body.home .entry-content > .wp-block-group:first-child {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: clamp(28px, 6vw, 76px);
	color: #fff;
	background: radial-gradient(circle at 86% 18%, rgba(38, 198, 218, .34), transparent 28%), radial-gradient(circle at 12% 92%, rgba(24, 112, 210, .38), transparent 32%), linear-gradient(135deg, #071a2b 0%, #0c2e50 58%, #0b4560 100%);
	box-shadow: 0 30px 70px rgba(5, 30, 54, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
	transform-style: preserve-3d;
}

body.home .wp-block-post-content > .wp-block-group:first-child :is(h1, h2, h3, p),
body.home .entry-content > .wp-block-group:first-child :is(h1, h2, h3, p) {
	color: #fff !important;
}

body.home .wp-block-post-content .wp-block-columns,
body.home .entry-content .wp-block-columns {
	perspective: 1100px;
}

body.home .wp-block-post-content .wp-block-columns > .wp-block-column,
body.home .entry-content .wp-block-columns > .wp-block-column {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid rgba(22, 71, 107, .12);
	border-radius: 22px;
	background: linear-gradient(145deg, #fff 0%, #f0f7fc 100%);
	box-shadow: 0 16px 32px rgba(10, 43, 73, .12), inset 0 1px 0 #fff;
	transform: translateZ(0);
	transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	body.home .wp-block-post-content .wp-block-columns > .wp-block-column:hover,
		  body.home .entry-content .wp-block-columns > .wp-block-column:hover {
		transform: translate3d(0, -6px, 12px) rotateX(1deg);
		box-shadow: 0 24px 42px rgba(10, 43, 73, .18), inset 0 1px 0 #fff;
	}
}

body.home .wp-block-post-content .wp-block-button__link,
body.home .entry-content .wp-block-button__link {
	border-radius: 999px;
	padding: .85em 1.35em;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(4, 28, 48, .2);
	transition: transform .2s ease, box-shadow .2s ease;
}

body.home .wp-block-post-content .wp-block-button__link:hover,
body.home .entry-content .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(4, 28, 48, .25);
}

@media (max-width: 680px) {
	body.home .wp-block-post-content > .wp-block-group:first-child,
		  body.home .entry-content > .wp-block-group:first-child {
		border-radius: 18px;
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .wp-block-post-content *,
		  body.home .entry-content * {
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Clean, compact header navigation */
header .wp-block-navigation__container {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	justify-content: flex-end !important;
	gap: .35rem .55rem !important;
}

header .wp-block-navigation-item:nth-child(1),
header .wp-block-navigation-item:nth-child(3),
header .wp-block-navigation-item:nth-child(4),
header .wp-block-navigation-item:nth-child(5),
header .wp-block-navigation-item:nth-child(6),
header .wp-block-navigation-item:nth-child(10) {
	display: none !important;
}

header .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	padding: .5rem .8rem;
	border-radius: 999px;
	background: #f1f6fa;
	color: #0c2e50 !important;
	font-size: .88rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

header .wp-block-navigation-item__content:hover {
	background: #0b4560;
	color: #fff !important;
}

header .wp-block-site-title {
	max-width: 240px;
	font-size: clamp(1rem, 1.3vw, 1.4rem);
	line-height: 1.2;
}

header .wp-block-buttons {
	display: none !important;
}

@media (max-width: 820px) {
	header .wp-block-navigation__container {
		justify-content: center !important;
	}
	
	header .wp-block-site-title {
		max-width: none;
		text-align: center;
	}
}

/* Portfolio-led homepage refresh: existing drone work and layered depth */
body.home .wp-block-post-content > .wp-block-group:first-child,
body.home .entry-content > .wp-block-group:first-child {
	min-height: min(76vh, 720px);
	margin: 28px auto 64px;
	padding: clamp(32px, 7vw, 96px);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 34px;
	background-image: linear-gradient(90deg, rgba(4,16,29,.96) 0%, rgba(4,20,36,.84) 42%, rgba(4,22,38,.18) 100%), url('https://droneservicethailand.com/wp-content/uploads/2026/06/eed73-dji_0565.jpg');
	background-size: cover;
	background-position: center, 62% center;
	box-shadow: 0 34px 90px rgba(3,25,47,.30), inset 0 1px 0 rgba(255,255,255,.20);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

body.home .wp-block-post-content > .wp-block-group:first-child > *,
body.home .entry-content > .wp-block-group:first-child > * {
	width: min(100%, 680px);
	max-width: 62%;
	margin-left: 0;
	margin-right: auto;
}

body.home .wp-block-post-content > .wp-block-group:first-child > p:first-child,
body.home .entry-content > .wp-block-group:first-child > p:first-child {
	width: fit-content;
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 999px;
	background: rgba(5,22,38,.42);
	letter-spacing: .12em;
	font-size: .76rem;
}

body.home .wp-block-post-content > .wp-block-group:first-child h2,
body.home .entry-content > .wp-block-group:first-child h2 {
	font-size: clamp(2.2rem, 4.8vw, 4.6rem);
	line-height: 1.12;
	letter-spacing: -.035em;
	text-wrap: balance;
}

body.home .wp-block-post-content > .wp-block-group:first-child p,
body.home .entry-content > .wp-block-group:first-child p {
	line-height: 1.8;
}

body.home .wp-block-post-content > .wp-block-group:first-child .wp-block-button__link,
body.home .entry-content > .wp-block-group:first-child .wp-block-button__link {
	padding: 14px 22px;
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(0,0,0,.22);
	transition: transform .2s ease, box-shadow .2s ease;
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column {
	position: relative;
	overflow: hidden;
	min-height: 430px;
	padding: 220px 26px 28px !important;
	border: 1px solid rgba(18,59,91,.13);
	border-radius: 26px;
	background: linear-gradient(150deg,#fff 0%,#f0f6fb 100%);
	box-shadow: 0 22px 50px rgba(8,35,60,.14), inset 0 1px 0 #fff;
	transform: translateZ(0);
	transition: transform .28s ease, box-shadow .28s ease;
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column::before,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column::before {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	height: 184px;
	border-radius: 18px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 12px 28px rgba(6,25,42,.22);
	content: '';
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(1)::before,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(1)::before {
	background-image: url('https://droneservicethailand.com/wp-content/uploads/2026/06/eed73-dji_0565.jpg');
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(2)::before,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(2)::before {
	background-image: url('https://droneservicethailand.com/wp-content/uploads/2026/03/e0b895e0b8b1e0b894e0b8a5e0b988e0b8b2e0b8aae0b8b8e0b894-mp3-image.jpg');
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(3)::before,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-column:nth-child(3)::before {
	background-image: linear-gradient(135deg,rgba(9,33,55,.12),rgba(9,33,55,.12)), url('https://droneservicethailand.com/wp-content/uploads/2026/06/9cf71-s__8060945_0-edited.jpg');
}

body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column:hover,
body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column:hover {
	transform: translateY(-8px) rotateX(1deg);
	box-shadow: 0 30px 60px rgba(8,35,60,.20);
}

body.home .wp-block-post-content > .wp-block-group:not(:first-child),
body.home .entry-content > .wp-block-group:not(:first-child) {
	max-width: 1280px;
	margin: clamp(38px,6vw,84px) auto;
	padding: clamp(24px,4vw,54px);
}

@media (max-width: 780px) {
	body.home .wp-block-post-content > .wp-block-group:first-child,
	  body.home .entry-content > .wp-block-group:first-child {
		min-height: 640px;
		padding: 34px 24px;
		background-image: linear-gradient(180deg,rgba(4,16,29,.64),rgba(4,16,29,.94) 52%,rgba(4,16,29,.97)), url('https://droneservicethailand.com/wp-content/uploads/2026/06/eed73-dji_0565.jpg');
		background-position: center, 58% top;
	}
	
	body.home .wp-block-post-content > .wp-block-group:first-child > *,
	  body.home .entry-content > .wp-block-group:first-child > * {
		max-width: 100%;
	}
	
	body.home .wp-block-post-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column,
	  body.home .entry-content > .wp-block-group:nth-of-type(2) .wp-block-columns > .wp-block-column {
		min-height: 380px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .wp-block-post-content > .wp-block-columns > .wp-block-column,
	  body.home .entry-content .wp-block-columns > .wp-block-column {
		transition: none;
	}
}

/* Ensure the live homepage uses the featured aerial photograph */
body.home .wp-block-post-content > .wp-block-group:first-child,
body.home .entry-content > .wp-block-group:first-child {
	background: linear-gradient(90deg,rgba(4,16,29,.72),rgba(4,16,29,.48) 48%,rgba(4,16,29,.12)), url('https://droneservicethailand.com/wp-content/uploads/2026/06/eed73-dji_0565.jpg') center / cover no-repeat !important;
}

/* Keep the hero copy anchored to the left on wide screens */
body.home .wp-block-post-content > .wp-block-group:first-child > *,
body.home .entry-content > .wp-block-group:first-child > * {
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left !important;
}