/* Dreem Completed Jobs — Frontend styles
   Loaded only on single avada_portfolio pages. */

/* ---------- Project Details info box ---------- */
.dcj-project-details {
	background: #f7f7f8;
	border-left: 4px solid var(--awb-color5, #5B6770);
	border-radius: 3px;
	padding: 16px 20px;
	margin: 10px 0 30px;
}

.dcj-project-details-row {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px dashed #dcdcde;
	font-size: 14px;
	line-height: 1.5;
}

.dcj-project-details-row:last-child {
	border-bottom: none;
}

.dcj-project-details-label {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 12px;
	color: #4a4a4a;
	align-self: start;
}

.dcj-project-details-value {
	color: #1d2327;
}

@media (max-width: 600px) {
	.dcj-project-details-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* ---------- Map embed ---------- */
.dcj-project-map {
	margin: 16px 0 30px;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.dcj-project-map iframe {
	display: block;
	width: 100%;
	min-height: 400px;
	border: 0;
}

/* ---------- FAQ accordion ---------- */
/* Avada's [fusion_accordion] styles itself, but we can add minor tweaks: */
.fusion-accordian.dcj-faq .fusion-panel,
.dcj-faq .fusion-panel {
	border-radius: 3px;
}

.dcj-faq .panel-title {
	font-weight: 600;
}

/* ---------- Related projects ---------- */
.dcj-related {
	margin: 30px 0 10px;
}

.dcj-related-title {
	margin-bottom: 18px;
	font-size: 1.4em;
}

.dcj-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.dcj-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.dcj-related-grid { grid-template-columns: 1fr; }
}

.dcj-related-card {
	display: block;
	background: #fff;
	border: 1px solid #e5e5e7;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dcj-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0,0,0,0.12);
	border-color: var(--awb-color5, #5B6770);
}

.dcj-related-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #e5e5e7;
	background-size: cover;
	background-position: center;
}

.dcj-related-thumb-empty {
	background: linear-gradient(135deg, #e5e5e7 25%, #f2f2f3 25%, #f2f2f3 50%, #e5e5e7 50%, #e5e5e7 75%, #f2f2f3 75%, #f2f2f3 100%);
	background-size: 20px 20px;
}

.dcj-related-body {
	padding: 14px 16px;
}

.dcj-related-h {
	margin: 0 0 6px;
	font-size: 1em;
	line-height: 1.3;
	color: #1d2327;
}

.dcj-related-meta {
	margin: 0;
	font-size: 12px;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

/* ---------- GBP review button ---------- */
.dcj-gbp-wrap {
	margin: 24px 0 12px;
}

.dcj-gbp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	background: #fff;
	border: 2px solid #4285F4;
	border-radius: 6px;
	color: #1d2327 !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14px;
	transition: all .18s ease;
	box-shadow: 0 2px 8px rgba(66, 133, 244, 0.08);
}

.dcj-gbp-btn:hover {
	background: #4285F4;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(66, 133, 244, 0.22);
}

.dcj-gbp-stars {
	color: #fbbc04;
	font-size: 16px;
	letter-spacing: 1px;
	line-height: 1;
}

.dcj-gbp-btn:hover .dcj-gbp-stars {
	color: #fff;
}

.dcj-gbp-arrow {
	font-size: 16px;
	transition: transform .18s ease;
}

.dcj-gbp-btn:hover .dcj-gbp-arrow {
	transform: translateX(3px);
}

/* ---------- Injected internal links ---------- */
/* Subtle styling that blends with body prose — visible as a link but not
   shouting for attention. Inherits theme color; we just add a dotted
   underline that brightens on hover. */
.dcj-internal-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(66, 133, 244, 0.4);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color .15s ease, color .15s ease;
}

.dcj-internal-link:hover,
.dcj-internal-link:focus {
	color: #4285F4;
	text-decoration-color: #4285F4;
}
