/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/* ===============================
   HOME – NEWS SLIDER – DONUT HOVER (center hole + border ring) + ZOOM
================================ */

.home .vk_post_list_slider .vk_post_imgOuter{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 330px;
}

/* Ensure zoom works consistently */
.home .vk_post_list_slider .vk_post_imgOuter a{
  display: block;
  width: 100%;
  height: 100%;
}
.home .vk_post_list_slider .vk_post_imgOuter img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  will-change: transform;
}

/* Donut controls */
.home .vk_post_list_slider .vk_post_imgOuter{
  --donut-hole: 34%;     /* hole radius (increase for bigger hole) */
  --ring: 6px;           /* ring thickness */
  --fill: rgba(255, 200, 0, 0.35);
  --ring-color: rgba(255, 200, 0, 0.85);
}

/* DONUT fill (outside of the hole) */
.home .vk_post_list_slider .vk_post_imgOuter::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width: 170%;
  height: 170%;
  border-radius:50%;
  background: radial-gradient(circle at center,
    transparent 0 var(--donut-hole),
    var(--fill) calc(var(--donut-hole) + 1px) 100%
  );
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
  pointer-events:none;
  z-index: 2;
}

/* Ring border around the hole */
.home .vk_post_list_slider .vk_post_imgOuter::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width: 165%;
  height: 165%;
  border-radius:50%;
  background: radial-gradient(circle at center,
    transparent 0 calc(var(--donut-hole) - (var(--ring) / 2)),
    var(--ring-color) calc(var(--donut-hole) - (var(--ring) / 2)) calc(var(--donut-hole) + (var(--ring) / 2)),
    transparent calc(var(--donut-hole) + (var(--ring) / 2)) 100%
  );
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
  pointer-events:none;
  z-index: 3;
}

/* Hover */
.home .vk_post_list_slider .vk_post:hover .vk_post_imgOuter::before,
.home .vk_post_list_slider .vk_post:hover .vk_post_imgOuter::after{
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.home .vk_post_list_slider .vk_post:hover .vk_post_imgOuter img{
  transform: scale(1.08);
}

/* Card cleanup */
.home .vk_post_list_slider .vk_post{
  border: none;
  background: transparent;
}

/* Touch devices: disable hover UI */
@media (hover: none){
  .home .vk_post_list_slider .vk_post_imgOuter::before,
  .home .vk_post_list_slider .vk_post_imgOuter::after{
    display:none;
  }
}

/* Additional Custom css */
.cf7-contact-wrap.fc-inquiry p.cf7-field {
    margin-bottom: 10px;
}
.cf7-contact-wrap.fc-inquiry p {
    margin-bottom: 15px;
}
.cf7-contact-wrap.fc-inquiry p.cf7-field br {
    display: none;
}

.cf7-contact-wrap.fc-inquiry .cf7-required{
	background: #f31f2e;
    padding: 1px 5px;
    border-radius: 5px;
    color: #fff;
}

.cf7-contact-wrap.fc-inquiry .cf7-success-container {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cf7-contact-wrap.fc-inquiry .cf7-success-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #f4ffe6;
    border: 1px solid #c9f2a6;
    padding: 18px 28px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cf7-contact-wrap.fc-inquiry .cf7-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #6ccf00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.cf7-contact-wrap.fc-inquiry .cf7-success-text {
    font-size: 20px;
    font-weight: 600;
}

.cf7-contact-wrap.fc-inquiry .cf7-message {
    font-size: 16px;
    color: #555;
}



