/* CBK Footer Socials Widget Styles */
/* Neutral defaults: the theme styles the widget inside the Subfooter
   (.footer-two-row), and anywhere else it takes on the surrounding colours. */
.cbk-footer-socials-widget {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px; /* Space between copyright and social icons */
}

.cbk-footer-copyright {
  flex-grow: 1;
  text-align: left;
}

.cbk-footer-social-icons {
  display: flex;
  gap: 10px; /* Space between social icons */
  flex-wrap: wrap; /* Allow icons to wrap */
  justify-content: flex-end; /* Align icons to the right */
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px; /* Size of the square button */
  height: 35px; /* Size of the square button */
  background-color: #2c3e50; /* Dark blue background for icons */
  border-radius: 4px; /* Slightly rounded corners for the squares */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  overflow: hidden; /* Ensure content doesn't spill */
}

.social-icon-link:hover {
  background-color: #34495e; /* Slightly lighter blue on hover */
  transform: translateY(-2px);
}

.social-icon-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.social-icon-link i {
  color: #fff; /* White icon color */
  font-size: 18px; /* Size of the icon */
  /* For the outlined effect, you can use text-shadow or adjust Font Awesome's styling */
  /* text-shadow: 1px 1px 0 #d4af37, -1px -1px 0 #d4af37, 1px -1px 0 #d4af37, -1px 1px 0 #d4af37; */
}

.social-icon-link .social-icon-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensure image fits within the square */
}

.social-icon-link .social-icon-svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.social-icon-link .social-icon-svg-wrapper svg {
  max-width: 80%; /* Adjust SVG size within the wrapper */
  max-height: 80%;
  fill: #fff; /* Default fill color for SVG if not specified in SVG code */
  stroke: #fff; /* Default stroke color for SVG if not specified in SVG code */
  stroke-width: 0; /* Default stroke width */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cbk-footer-socials-widget {
    flex-direction: column;
    text-align: center;
  }
  .cbk-footer-copyright {
    text-align: center;
    margin-bottom: 15px;
  }
  .cbk-footer-social-icons {
    justify-content: center;
  }
}
