/* =============================
   🌐 Polylang Widget Styling
   ============================= */

/* Main widget styling */
.widget_polylang {
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Widget title */
.widget_polylang .qodef-widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #383838;
}

/* =============================
   📌 Language List Styling
   ============================= */

/* Language list */
.widget_polylang ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Language items */
.widget_polylang li {
    margin: 8px 0;
    transition: all 0.3s ease;
}

/* Language links */
.widget_polylang li a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.widget_polylang li a:hover {
    border-radius: 5px;
    background: #e61700;
    color: #fff;
    transform: translateX(5px);
}

/* Flag images */
.widget_polylang img {
    margin-right: 8px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Language text */
.widget_polylang a {
    font-size: 15px;
    font-weight: 500;
}

/* Current language styling */
.widget_polylang .current-lang a {
    background: #2e2e2e;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
}

/* =============================
   📱 Responsive Design
   ============================= */

@media (max-width: 768px) {
    .widget_polylang {
        padding: 12px;
    }
    .widget_polylang .qodef-widget-title {
        font-size: 16px;
    }
    .widget_polylang span {
        font-size: 14px;
    }
}

/* =============================
   🖼 Blog Content Styling
   ============================= */

.qodef-blog .qodef-e-content, 
.qodef-blog .qodef-e-inner, 
.qodef-blog .qodef-e-media {
    margin-top: 20px;
}

.qodef-e-media-image img {
    border-radius: 10px;
    height: 350px;
    object-fit: cover;
    object-position: center;
}

/* =============================
   🌍 Custom Language Switcher
   ============================= */

.custom-lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
	background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn img.flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.lang-btn .change-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

/* =============================
   📌 Language Dropdown Menu
   ============================= */

.lang-dropdown {
	padding: 10px;
    display: none;
    position: absolute;
    top: 120%;
    right: 1%;
    background: rgba(40, 39, 43, 0.5); 
    border-radius: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    width: 180px;
    z-index: 1000;
	border: 1px solid #48474a;
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Dropdown arrow */
/* .lang-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
} */

.lang-dropdown li {
    display: flex;
    align-items: center;
}

.lang-dropdown li a {
	font-weight:500;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    padding: 10px 20px 10px 14px;
    width: 100%;
}

.lang-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
	backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.lang-dropdown img.flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

/* Show dropdown on hover */
.lang-dropdown.show-dropdown {
    display: block; /* แสดงเมื่อมี class .show-dropdown */
}

/* =============================
   🖼 Image Styling
   ============================= */

.img-round-10 img {
    border-radius: 10px;
    display: block;
    width: 100%;
    height: auto;
}

.img-round-15 img {
    border-radius: 15px;
    display: block;
    width: 100%;
    height: auto;
}

/* =============================
   🏷 Badge & Borders
   ============================= */

.badge-tag {
    display: inline-block;
    background: rgba(200, 200, 200, 0.2);
    padding: 5px 10px;
    margin: 3px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
}

.rounded-border {
    border-radius: 15px;
    overflow: hidden;
}


/* =============================
   🏷 image map hotspot
   ============================= */

.imh-6310-main-image{
	border-radius: 20px;
}
/* .mfp-img{
    filter: blur(100px); 
	transform: scale(1.2);
	animation: fadeBlur .5s ease-in-out forwards;

} */
@keyframes fadeBlur {
    0% {
        opacity: 0; 
      
    }
    100% {
        opacity: 1;
    }
}
.mfp-fade.mfp-bg {
    background-color: rgba(0, 0, 0, .5); 
    backdrop-filter: blur(30px); 
}
.elementor-lightbox .elementor-lightbox-image {
    box-shadow: none !important;
}

.dialog-type-lightbox {
	background-color: rgba(0, 0, 0, 0.6) !important;
	backdrop-filter: blur(80px); 
}
.img-hover-zoom img {
    transition: transform 0.3s ease; 
}

.img-hover-zoom img:hover {
    transform: scale(1.03); 
}
.bw-hover img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.bw-hover img:hover {
    filter: grayscale(0%);
}
/* ซ่อนไอคอน reCAPTCHA แต่ยังใช้งานได้ */
.grecaptcha-badge { 
/*     display: none;  */
/* 	height:0 !important; */
}
.page-id-3362 .grecaptcha-badge,
.page-id-9985 .grecaptcha-badge { 
    display: block; 
}
.qodef-image-hotspots .qodef-e-content{
	right: -230px;
	bottom:30px;
}

.qodef-swapping-image-gallery .qodef-m-thumbnails-holder .qodef-m-thumbnail .qodef-m-text {
	font-size:14px;
}

.qodef-section-title .qodef-m-tagline {
    font-family: inherit !important;
    font-size: 14px !important;
}
.qodef-contact-form-style input,
.qodef-contact-form-style label {
    font-family: inherit !important;
    font-size: 14px !important;
}
.qodef-image-hotspots .qodef-e-content {
    height: auto !important;
}
.AM1 {
    width: 20px !important;
    height: 20px !important;
}
.b1-8-cw.bf-cw label {
  flex-wrap: nowrap !important;
}


