/*
Theme Name: Posty
Theme URI: https://themedox.com/posty
Author: ThemeDox
Author URI: https://themedox.com
Description: News Magazine WordPress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: posty
Tags: two-columns, three-columns, four-columns, right-sidebar, custom-menu, featured-images, full-width-template
*/


.post-layout-style2 .single-blog-content .entry-content ol li {
    line-height: 1.5;
    text-align: justify !important;
    font-weight: 400;
}

.copyright-wrap p{
	 gap: 12PX;
    display: flex !important;
}
.copyright-text a{
    color: #a99999;
}




/* Toggle switch styling */
.toggle-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toggle-switch input {
  display: none;
}

.toggle-switch .slider {
  position: relative;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  display: inline-block;
  border-radius: 34px;
  cursor: pointer;
}

.toggle-switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

#darkModeToggle:checked + .slider {
  background-color: #2196F3;
}

#darkModeToggle:checked + .slider::before {
  transform: translateX(26px);
}

/* Dark mode styles */
body.dark-mode,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode ul,
body.dark-mode ol,
body.dark-mode a,
body.dark-mode blockquote,
body.dark-mode strong,
body.dark-mode em,
body.dark-mode b,
body.dark-mode i,
body.dark-mode td,
body.dark-mode th,
body.dark-mode label,
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode option,
body.dark-mode button {
  color: #ffffff !important;
  background-color: transparent !important;
}

/* Optional: dark background */
body.dark-mode {
  background-color: #121212 !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode button {
  background-color: #1e1e1e !important;
  border-color: #555 !important;
}
