/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
@media (max-width: 767px) {
    .e-con.e-flex {
        overflow-x: hidden;
    }
}

/* Remove last spacing for Text Editor widget */
p:last-child {
margin-bottom: 0;
}

/* CSS FOR UNIT TAB */
.tank-image {
  cursor: pointer;
  transition: transform .2s;
  border: 2px solid transparent;
  /* optional: scale on hover */
}
.tank-image:hover {
  transform: scale(1.03);
}
.tank-image.active-tank {
  border-color: #52F9D7; /* your highlight color */
}
.tank-detail-container {
  margin-top: 1.5em;
}


/* Shared styles for all corners */
.tank-image.active-tank::before,
.tank-image.active-tank::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Top-left and bottom-right Ls using border tricks */
.tank-image.active-tank::before {
  border-top: 2px solid #52F9D7;
  border-left: 2px solid #52F9D7;
  width: 15px;
  height: 15px;
  top: 0;
  left: 0;
}

.tank-image.active-tank::after {
  border-bottom: 2px solid #52F9D7;
  border-right: 2px solid #52F9D7;
  width: 15px;
  height: 15px;
  bottom: 0;
  right: 0;
}

/* Optional: Add a second set of pseudo-elements using inner container (optional) */
.tank-image.active-tank .elementor-widget-container::before,
.tank-image.active-tank .elementor-widget-container::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  pointer-events: none;
  z-index: 2;
}

.tank-image.active-tank .elementor-widget-container::before {
  border-top: 2px solid #52F9D7;
  border-right: 2px solid #52F9D7;
  top: 0;
  right: 0;
}

.tank-image.active-tank .elementor-widget-container::after {
  border-bottom: 2px solid #52F9D7;
  border-left: 2px solid #52F9D7;
  bottom: 0;
  left: 0;
}
/* CSS FOR CHARACTER TAB */
.character-image {
  cursor: pointer;
  transition: transform .2s;
  border: 2px solid transparent;

}

.character-image:hover {
  transform: scale(1.03);
}

/* Active border + corner frames */
.character-image.active-char {
  border-color: #52F9D7; /* your highlight color */
}

/* Top‑Left & Top‑Right corners */
.character-image.active-char::before,
.character-image.active-char::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 2px solid #52F9D7;
  z-index: 2;
}

.character-image.active-char::before {
  top: 0;
  left: 0;
  border-left: 2px solid #52F9D7;
}

.character-image.active-char::after {
  top: 0;
  right: 0;
  border-right: 2px solid #52F9D7;
}

/* Bottom‑Left & Bottom‑Right via widget container */
.character-image.active-char .elementor-widget-container::before,
.character-image.active-char .elementor-widget-container::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid #52F9D7;
  z-index: 2;
}

.character-image.active-char .elementor-widget-container::before {
  bottom: 0;
  left: 0;
  border-left: 2px solid #52F9D7;
}

.character-image.active-char .elementor-widget-container::after {
  bottom: 0;
  right: 0;
  border-right: 2px solid #52F9D7;
}

/*Radial background for Banner Title*/
.title-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 996px;  /* Adjust based on how big the blur should be */
	height: 260px; /* Same as above */
	border-radius: 996px;
	opacity: 0.2;
	background: #52F9D7;
	filter: blur(128px);
	z-index: 0;
}

/* Laptop (1025px to 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  /* Laptop styles here */
	#title-bg {
		width: 800px;
	}
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Tablet styles here */
	#title-bg {
		width: 600px;
	}
}

/* Mobile (below 767px) */
@media (max-width: 767px) {
  /* Mobile styles here */
	#title-bg {
		width: 400px;
	}
}
