/* Peblog Custom Styles
=======================

Credits:
- Fonts: Inter (https://fonts.google.com/specimen/Inter) by Rasmus Andersson
- Sliders: Swiper (https://swiperjs.com/)
- Icons: Icônes (https://icones.js.org/)

*/

/* Inter font is loaded locally - Variable font supports all weights */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-Variable.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
}

::-webkit-scrollbar {
  width: 7px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color-dark);
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-color-light);
  border: 1px solid var(--bg-color-dark);
}

:root {
  --main-color: #f4545d;
  --bg-color: #fffefe;
  --bg-color-dark: #121519;
  --text-color: #121212;
  --text-color-light: #ffffff;
  --text-color-secondary: #7a859f;
  --second-color: #121519;
  --nav-color: #686868;
  --dark-mode-background: #181821;
  --primary-color: #f4545d;
  --border-color: rgba(0, 0, 0, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.1);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  z-index: 999999;
  padding: 1em;
  background: var(--main-color);
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  position: fixed;
}

/* Keyboard navigation - Focus indicators (only for keyboard navigation) */
a:focus {
  outline: none; /* Mouse click doesn't show outline */
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

/* Ensure focus-visible is applied to interactive elements */
.navbar a:focus-visible,
.subscribe:focus-visible,
.dark-mode:focus-visible,
.mobile-burger-menu:focus-visible,
.mobile-burger-menu:focus,
.social-links a:focus-visible,
.share-link:focus-visible,
.tag-link:focus-visible,
.pagination-btn:focus-visible,
.pagination-numbers a:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

/* Mobile burger menu focus styles - ensure visible on mobile */
.mobile-burger-menu:focus,
.mobile-burger-menu:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
  border-radius: 4px;
}

.dark .mobile-burger-menu:focus,
.dark .mobile-burger-menu:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
}

/* dark mode  */
body.dark,
.dark #footer {
  background-color: var(--dark-mode-background);
  color: var(--text-color-light);
}

.dark header,
.dark .home-two {
  background-color: var(--dark-mode-background);
}

.dark .navbar a {
  color: var(--text-color-light);
}

.dark .home-section {
  background-image: none;
}

.dark .heading,
.dark .author-full-name,
.dark .related-tags h5,
.dark .entry-title {
  color: var(--text-color-light);
}

.dark .site-logo-text {
  color: #fff;
}

.dark .articles-container article,
.dark .right-author,
.dark .related-tags,
.dark #latest-post .latest-post-slider article,
.dark .related-articles .right-author,
.dark .filter-post {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12.992px;
}

.dark .latest-post,
.dark #filter-cateogries {
  background: rgba(255, 255, 255, 0.1);
}
.dark #related-articles  {
  background-color: var(--dark-mode-background);
  color: var(--text-color-light);
}
 #related-articles {
  background: #f6f6f6
}

.articles-container article,
.dark .left-article .entry-title,
.related-tags h5,
.dark .right-article .entry-title {
  color: var(--text-color-light);
}

.dark .left-article .entry-expert p,
.dark .right-article .entry-expert p {
  color: rgba(255, 255, 255, 0.67);
}

.dark .footer-box form input,
.dark .home-section form input {
  background: rgb(255 255 255 / 25%);
}

.dark .light-logo {
  display: none;
}

.dark .dark-logo {
  display: block;
}

.dark .dark-mode .dark-icon {
  display: inline-block;
}

.dark .dark-mode .light-icon {
  display: none;
}

/* dark finish */
section {
  padding: 5rem 20% 5rem;
}

/* Laptop screen styles (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1480px) {
  section {
    padding: 3rem 9% 3rem;
  }
  .latest-post .card-image img {
    width: 100%!important;
  }
  body .header {
    padding: 1.9rem 9%
  }
   #footer {
    padding: 10rem 10% 2rem;
  }
}
@media (min-width: 1024px) and (max-width: 1480px) {
  section {
    padding: 3rem 9% 3rem;
  }
  .latest-post .card-image img {
    width: 100%!important;
  }
  body .header {
    padding: 1.9rem 9%
  }

}


/* 1 header */
.header {
  width: 100%;
  padding: 1.9rem 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  min-height: 84px;
  position: fixed;
  background-color: var(--bg-color);
  background-image: none !important;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 2px 51px;
}

/* Ensure header has no background images */
.header::before,
.header::after {
  background-image: none !important;
}

/* Header Layout */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

/* WordPress Menu Styling */
.navbar {
  display: flex;
  align-items: center;
  justify-content: end;
  flex: 1;
  margin-right: 20px;
}

/* Hide navbar controls on desktop (shown in header-controls) */
.navbar .navbar-controls {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
  position: relative;
}

.nav-menu li {
  position: relative;
}

/* Dropdown Menu Styling */
.nav-menu .has-dropdown {
  position: relative;
}

.nav-menu .has-dropdown:hover > .sub-menu,
.nav-menu .has-dropdown:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
}

.nav-menu .sub-menu li {
  margin: 0;
  width: 100%;
  position: relative;
}

.nav-menu .sub-menu a {
  padding: 0.75rem 1rem 0.75rem 2rem;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: block;
}

.nav-menu .sub-menu a:hover {
  color: var(--text-color);
  padding-left: 2.5rem;
}

.nav-menu .sub-menu li:last-child a {
  border-bottom: none;
}

/* Nested Sub-menu (3rd level and deeper) */
.nav-menu .sub-menu .has-dropdown {
  position: relative;
}

.nav-menu .sub-menu .has-dropdown:hover > .sub-menu,
.nav-menu .sub-menu .has-dropdown:focus-within > .sub-menu {
  display: block;
}

.nav-menu .sub-menu .sub-menu {
  position: static;
  display: none;
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-menu .sub-menu .sub-menu li a {
  padding-left: 3rem;
}

.nav-menu .sub-menu .sub-menu .sub-menu {
  margin-left: 1.5rem;
}

.nav-menu .sub-menu .sub-menu .sub-menu li a {
  padding-left: 3.75rem;
}

.nav-menu .sub-menu .sub-menu .sub-menu .sub-menu {
  margin-left: 1.5rem;
}

.nav-menu .sub-menu .sub-menu .sub-menu .sub-menu li a {
  padding-left: 4.5rem;
}

/* Dropdown Arrow */
.dropdown-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.dropdown-arrow svg {
  width: 24px;
  height: 22px;
  transition: transform 0.3s ease;
}

.nav-menu .has-dropdown:hover > a > .dropdown-arrow svg,
.nav-menu .has-dropdown:focus-within > a > .dropdown-arrow svg {
  transform: rotate(180deg);
}

/* Nested dropdown arrows */
.nav-menu .sub-menu .has-dropdown > a > .dropdown-arrow svg {
  transform: rotate(0deg);
}

.nav-menu .sub-menu .has-dropdown:hover > a > .dropdown-arrow svg,
.nav-menu .sub-menu .has-dropdown:focus-within > a > .dropdown-arrow svg {
  transform: rotate(180deg);
}

/* Dark Mode Menu */
.dark .nav-menu .sub-menu {
  background: var(--bg-color-dark);
  border-color: var(--border-color-dark);
}

.dark .nav-menu .sub-menu a {
  color: var(--text-color-light);
  border-color: var(--border-color-dark);
}

.dark .nav-menu .sub-menu a:hover {
  color: white;
}

/* Dark Mode Nested Sub-menu */
.dark .nav-menu .sub-menu .sub-menu {
  background: transparent;
  border: none;
}

.dark .nav-menu .sub-menu .sub-menu a {
  color: var(--text-color-light);
  border-color: var(--border-color-dark);
}

.dark .nav-menu .sub-menu .sub-menu a:hover {
  color: white;
}

/* No Posts Message Styling */
.no-posts-message {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-color);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  margin: 2rem 0;
}

.no-posts-icon {
  margin-bottom: 1rem;
  opacity: 0.6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-posts-icon img {
  width: 64px;
  height: 64px;
  opacity: 0.6;
  color: var(--text-color-secondary);
}

.no-posts-message h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.no-posts-message p {
  color: var(--text-color-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.no-posts-message .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.no-posts-message .btn:hover {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123, 88, 206, 0.3);
}

/* Dark Mode No Posts */
.dark .no-posts-message {
  background: var(--bg-color-dark);
  border-color: var(--border-color-dark);
}

.dark .no-posts-message h3 {
  color: var(--text-color-light);
}

.dark .no-posts-message p {
  color: rgba(255, 255, 255, 0.7);
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--main-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

/* Dark Mode Toggle */
.dark-mode {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  transition: all 0.3s ease;
}

.dark-mode:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.dark-mode img,
.dark-mode svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

/* SVG Icons */
.dark-mode svg {
  display: block;
  color: currentColor;
}

.dark-mode i {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Light mode - show moon icon (dark-icon) */
.dark-mode .dark-icon {
  display: block;
  color: #000;
}

.dark-mode .light-icon {
  display: none;
}

/* Dark mode - show sun icon (light-icon) */
.dark .dark-mode .dark-icon {
  display: none;
}

.dark .dark-mode .light-icon {
  display: block;
  color: #fff;
}

header.header.sticky {
  position: fixed;
  animation: slideTop;
  animation: slideBottom 0.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.dark-logo {
  display: none;
}

.logo {
  font-size: 2.5rem;
  color: var(--text-color);
  cursor: default;
  font-weight: 600;
  text-decoration: none;
  background: transparent !important;
  background-image: none !important;
}

.logo::before,
.logo::after {
  background-image: none !important;
}

.custom-logo-link {
  background: transparent !important;
  background-image: none !important;
}

.custom-logo-link::before,
.custom-logo-link::after {
  background-image: none !important;
}

.site-logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.5px;
  display: inline-block;
  transition: color 0.3s ease;
  margin-left: 10px;
}

.logo img {
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

/* Site branding - ensure no background images */
.site-branding {
  background: transparent !important;
  background-image: none !important;
  position: relative;
  z-index: 1;
}

.footer-logo .site-logo-text {
  font-size: 2rem;
  color: var(--text-color-light);
  font-weight: 700;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
  height: auto;
  display: block;
}

/* Footer logo light/dark mode support */
.footer-logo-light {
  display: block;
}

.footer-logo-dark {
  display: none;
}

.dark .footer-logo-light {
  display: none;
}

.dark .footer-logo-dark {
  display: block;
}

.navbar a{
  display: inline-block;
  font-size: 16px;
  color: var(--nav-color);
  margin-left: 2rem;
  text-decoration: none;
  position: relative;
  padding: 6px;
  opacity: 0;
  animation: slideLeft 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  transition: 0.5s ease;
  cursor: pointer;
}
.navbar .dropdown-arrow {
  position: absolute;
  left: 92%;
  top: 22%;
}
.navbar .sub-menu .dropdown-arrow {
  position: absolute;
  left: 77%;
  top: 24%;
}
.navbar a:hover {
  color: var(--main-color);
}

.subscribe {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  background-color: #f4545d;
  color: var(--text-color-light);
  margin-left: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  animation: slideLeft 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  cursor: pointer;
}



/* SVG icons - no need for img styles */

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}
.mobile-burger-menu span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: var(--text-color-light);
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

.mobile-burger-menu span:first-child {
  transform-origin: 0% 0%;
}

.mobile-burger-menu span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

.mobile-burger-menu.open span {
  opacity: 1;
  transform: rotate(45deg) translate(-6px, -17px);
  background: var(--text-color-light);
}

.mobile-burger-menu.open span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.mobile-burger-menu.open span:nth-last-child(2) {
  transform: rotate(-45deg) translate(-1px, 15px);
}

/* 2 home*/

.home-section {
  background-image: url("../images/home.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px;
}

.home-section::after {
  content: "";
  width: 1000%;
  height: 392px;
  left: 0;
  top: 0;
  position: absolute;
  background: url(../images/home-line.svg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slideLeft 0.8s ease forwards;
}

.home-content {
  width: 100%;
  color: var(--text-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  z-index: 1;
}

.home-content h3 {
  color: #f25959;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.6s;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding: 2rem 0%;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}

.home-content p {
  font-size: 2rem;
  font-weight: 400;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.8s;
  position: relative;
}

.home-details {
  text-align: center;
  position: relative;
}

.home-section form {
  position: relative;
  margin: 6rem 0%;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 1s;
}

.home-section form input {
  background: rgba(107, 104, 255, 0.25);
  border-radius: 30px;
  padding: 1.7rem 3%;
  color: var(--text-color-light);
  width: 50%;
}

.home-section form input[type="submit"] {
  background: linear-gradient(285.94deg, #4f4bff 20.78%, #f25959 100%);
  border-radius: 30px;
  position: absolute;
  right: 26%;
  top: 0.8rem;
  width: 164px;
  padding: 0.9rem;
  cursor: pointer;
}

input::placeholder {
  color: var(--text-color-light);
}

/* 3 related post */
.articles-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  grid-gap: 30px;
  align-items: stretch;
}

.articles-container article {
  padding: 24px;
  border: 1px solid #eeeeee;
  box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
  border-radius: 16px;
}

article .card-image img {
  width: 100%;
  border-radius: 16px;
}

/* Left article image - bigger size */
.left-article .card-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.left-article {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.right-article {
  grid-column: 2 / 3;
  grid-row: auto;
}

.heading {
  font-weight: 500;
  font-size: 36px;
  color: var(--text-color);
  margin: 20px 0%;
}

.card-content ul {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  margin: 16px 0%;
}

.card-content ul li {
  list-style-type: none;
}

.card-content .post-author a::after {
  content: "";
  width: 1px;
  height: 17px;
  background: var(--text-color-secondary);
  position: absolute;
  margin-left: 5px;
}

.card-content ul li a,
.card-content ul li span {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: var(--text-color-secondary);
  margin-right: 10px;
  text-decoration: none;
}

.post-author-image img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.left-article .post-author-image img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.left-article .entry-title {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-color);
}

.left-article .entry-expert p {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color-secondary);
  margin: 20px 0% 4%;
}

.entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.entry-meta .entry-tag a,
.related-tags a {
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid;
  padding: 8px 20px;
  border-radius: 20px;
  margin-right: 8px;
}

.tag-main {
  border-color: #7b58ce;
  color: #7b58ce;
  background-color: rgb(116 83 195 / 13%);
}

.tag-danger {
  background: rgba(244, 84, 93, 0.06);
  border-color: #f4545d;
  color: #f4545d;
}

.tag-light {
  border-color: #7a859f;
  color: #7a859f;
}

.tag-warning {
  background: rgb(245 157 76 / 0.6%);
  border-color: #f59d4c;
  color: #f59d4c;
}

.tag-info {
  background: rgb(55, 194, 222, 0.6%);
  border-color: #37c1de;
  color: #37c1de;
}

.tag-success {
  background: rgb(91, 191, 108, 0.6%);
  border-color: #5bbf6b;
  color: #5bbf6b;
}

.left-article .entry-meta .entry-rate a {
  color: var(--text-color-secondary);
  font-size: 12px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
}

.left-article .entry-meta .entry-rate a img {
  margin-right: 4px;
  position: relative;
  top: 6px;
}

.right-article .entry-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}

.right-article .card-content ul {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  margin: 10px 0%;
}

.right-article .entry-expert p {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-color-secondary);
  margin: 10px 0% 4%;
}

.right-article .entry-meta .entry-tag a {
  font-weight: 400;
  font-size: 10px;
  text-decoration: none;
  border: 1px solid;
  padding: 6px 20px;
  border-radius: 20px;
  margin-right: 8px;
}

.right-article .entry-meta .entry-rate a {
  color: var(--text-color-secondary);
  font-size: 12px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
}

.right-article .entry-meta .entry-rate a img {
  margin-right: 4px;
  position: relative;
  top: 6px;
}

/* 4 latest post */
.latest-post-slider article {
  padding: 20px!important;
  border: 1px solid #eeeeee;
  box-shadow: 0px 1px 11px rgba(122, 133, 159, 0.05);
  border-radius: 16px;
}

.latest-post-slider .entry-meta .entry-rate a {
  color: var(--text-color-secondary);
  font-size: 12px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
}

.latest-post-slider .entry-meta .entry-tag a {
  font-weight: 400;
  font-size: 10px;
  text-decoration: none;
  border: 1px solid;
  padding: 6px 20px;
  border-radius: 20px;
  margin-right: 8px;
}

.latest-post-slider .entry-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}

.latest-post-slider .card-content ul {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  margin: 10px 0%;
}

.latest-post-slider .entry-expert p {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-color-secondary);
  margin: 10px 0% 4%;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}


.latest-post-slider .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.latest-post-slider .entry-meta {
  margin-top: auto; /* Bu elemanı en alta iter */
}
.latest-post .card-image img {
  width: 318px;
  height: 212px!important;
  object-fit: cover;
}

.right-article .card-image img {
  height: 150px;
  object-fit: cover;
}

.heading-container {
  position: relative;
}

.next-slide {
  background: url(../images/icon/next.svg) no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0%;
  top: 25%;
  background-size: 30px;
  cursor: pointer;
}

.prev-slide {
  background: url(../images/icon/prev.svg) no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 3%;
  top: 25%;
  background-size: 30px;
  cursor: pointer;
}

/* 5 most read */
.articles-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  grid-gap: 30px;
  align-items: stretch;
}

.articles-container article,
.right-author,
.related-tags {
  padding: 24px;
  border: 1.12851px solid #eeeeee;
  box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
  border-radius: 16px;
  background-color: var(--bg-color);
}

article .card-image img {
  width: 100%;
  border-radius: 16px;
}

/* Left article image - bigger size */
.left-article .card-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.left-article {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.right-article {
  grid-column: 2 / 3;
  grid-row: auto;
}

.heading {
  font-weight: 500;
  font-size: 36px;
  color: var(--text-color);
  margin: 20px 0%;
}

.card-content ul {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  margin: 16px 0%;
}

.card-content ul li {
  list-style-type: none;
}

.card-content .post-author a::after {
  content: "";
  width: 1px;
  height: 17px;
  background: var(--text-color-secondary);
  position: absolute;
  margin-left: 5px;
}

.card-content ul li a,
.card-content ul li span {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: var(--text-color-secondary);
  margin-right: 10px;
  text-decoration: none;
}

.post-author-image img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.left-article .post-author-image img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.left-article .entry-title,
.related-tags h5 {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-color);
}

.left-article .entry-expert p {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color-secondary);
  margin: 20px 0% 4%;
}

.entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
}

.entry-meta .entry-tag a {
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid;
  padding: 8px 20px;
  border-radius: 20px;
  margin-right: 8px;
}

.tag-danger {
  background: rgba(244, 84, 93, 0.06);
  border-color: #f4545d;
  color: #f4545d;
}

.tag-warning {
  background: rgb(245 157 76 / 0.6%);
  border-color: #f59d4c;
  color: #f59d4c;
}

.tag-info {
  background: rgb(55, 194, 222, 0.6%);
  border-color: #37c1de;
  color: #37c1de;
}

.tag-success {
  background: rgb(91, 191, 108, 0.6%);
  border-color: #5bbf6b;
  color: #5bbf6b;
}

.left-article .entry-meta .entry-rate a {
  color: var(--text-color-secondary);
  font-size: 12px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
}

.left-article .entry-meta .entry-rate a img {
  margin-right: 4px;
  position: relative;
  top: 6px;
}

.entry-title , .entry-title a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}

.card-content ul {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  margin: 10px 0%;
}

.entry-expert p {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-color-secondary);
  margin: 10px 0% 4%;
}

.entry-meta .entry-tag a {
  font-weight: 400;
  font-size: 10px;
  text-decoration: none;
  border: 1px solid;
  padding: 6px 20px;
  border-radius: 20px;
  margin-right: 8px;
  line-height: 40px;

}

.entry-meta .entry-rate a {
  color: var(--text-color-secondary);
  font-size: 12px;
  margin-right: 10px;
  position: relative;
  text-decoration: none;
}

.entry-meta .entry-rate a img {
  margin-right: 4px;
  position: relative;
  top: 6px;
}

/* KEYFRAMES ANIMATION */

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideTop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* author card */

.author-card {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.author-full-name {
  color: var(--text-color);
  font-size: 24px;
  font-weight: 600;
}

.author-title {
  color: var(--main-color);
  font-size: 20px;
  font-weight: 400;
}

.author-content {
  color: var(--text-color-secondary);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 20px;
}

.author-social-links {
  list-style-type: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.author-social-links li {
  margin: 0;
  list-style: none;
}

.author-social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-color-secondary);
  border: 1px solid #eeeeee;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
}

.dark .author-social-links li a {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 1.12851px 11.2851px rgba(0, 0, 0, 0.2);
}

.author-social-links li a:hover {
  transform: translateY(-3px);
  box-shadow: 0px 4px 12px rgba(122, 133, 159, 0.15);
}

.dark .author-social-links li a:hover {
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

.author-social-links li img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.author-social-links li a:hover img {
  transform: scale(1.1);
}

/* Platform specific hover colors */
.author-social-links li.instagram a:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-color: transparent;
}

.author-social-links li.twitter a:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.author-social-links li.linkedin a:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.author-social-links li.github a:hover {
  background: #242938;
  border-color: #242938;
}

.author-social-links li.pinterest a:hover {
  background: #bd081c;
  border-color: #bd081c;
}

.author-social-links li.telegram a:hover {
  background: #0088cc;
  border-color: #0088cc;
}

.author-social-links li.youtube a:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.author-social-links li.facebook a:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.author-social-links li.dribbble a:hover {
  background: #e74d89;
  border-color: #e74d89;
}

.author-social-links li.behance a:hover {
  background: linear-gradient(180deg, #005cff 0%, #0047ad 100%);
  border-color: transparent;
}

.author-social-links li.whatsapp a:hover {
  background: linear-gradient(180deg, #25d366 0%, #1faf38 100%);
  border-color: transparent;
}

.related-tags .tags a {
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid;
  padding: 8px 20px;
  border-radius: 20px;
  margin-right: 8px;
  display: inline-block;
  margin: 5px 5px;
}

.related-tags .tags {
  margin-top: 12px;
}

.related-tags .tags a.active {
  background: var(--main-color);
  color: white;
}

/* All Categories */

.categories,
.filter-cat-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-box {
  padding: 7px 22px 8px 12px;
  border-radius: 24px;
  border: 1.13px solid #7a859f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: auto;
  transition: 0.3s ease;
  cursor: pointer;
  position: relative;
}
.category-icon img {
  position: relative;
  width: 22px;
}

.category-box:hover .category-icon img {
  filter: invert(30%) sepia(80%) saturate(2000%) hue-rotate(330deg)
    brightness(110%) contrast(90%);
}

.category-box.active,
.category-box:hover {
  background-color: rgba(244, 84, 93, 0.06);
  border-color: var(--main-color);
}

.category-box.active .category-text,
.category-box:hover .category-text {
  color: var(--main-color);
}

.category-text {
  color: var(--text-color-secondary);
  font-size: 13.54px;
  font-weight: 400;
  word-wrap: break-word;
  line-height: 22px;
}

.filter-post {
  justify-content: start;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0px 1px 10px rgba(122, 133, 159, 0.05);
  border-radius: 8px;
  border: 1px solid #eeeeee;
  flex: 1 1 20rem;
  padding: 16px;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: 0.3s;
}

.filter-post > a > img {
  border-radius: 8px;
  width: 285px;
  height: 200px;
  object-fit: cover;
}

.filter-posts-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/*  Footer */
footer {
  background-color: #332e81;
  padding: 10rem 20% 2rem;
  position: relative;
}
@media (max-width: 768px) {
  footer {
    padding: 5rem 5% 2rem;
  }
}

#footer .site-logo-text {
  margin-left: 0px;
}

footer::before {
  content: "";
  background: url(../images/shape.svg) center/100% no-repeat;
  width: 241px;
  height: 273px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 10rem;
}

.footer-container .footer-box {
  position: relative;
  display: block;
  overflow: hidden;
}

.footer-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  margin-top: 16px;
}

.footer-title h3 {
  color: #fff;
  font-size: 20px;
  line-height: 24px; /* 120% */
  font-weight: 400;
}

.footer-social-links {
  list-style-type: none;
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 0;
}

.footer-social-links li {
  margin: 0;
}

.footer-social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-links li a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-social-links li img {
  width: 20px;
  height: 20px;
  display: block;
}

.newsletter-form {
  position: relative;
  margin-top: 16px;
}

.footer-box form input {
  background: rgba(107, 104, 255, 0.25);
  border-radius: 30px;
  padding: 1.7rem 3%;
  color: var(--text-color-light);
  width: 100%;
}

.footer-box form input[type="submit"] {
  background: var(--main-color);
  border-radius: 30px;
  position: absolute;
  right: 3%;
  top: 0.8rem;
  width: 127px;
  padding: 0.9rem;
  cursor: pointer;
}

.copyright {
  padding: 10rem 0% 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.copyright span {
  color: #fff;
  text-align: center;
  font-size: 16px;
}

.copyright::after {
  content: "";
  background: url(../images/shape.svg) center/100% no-repeat;
  width: 241px;
  height: 273px;
  position: absolute;
  left: 3%;
  bottom: 0;
  transform: translate(-100%, 90%);
}

.copyright::before {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--text-color-secondary);
  position: absolute;
  top: 51%;
  left: 0%;
}
.mobile-burger-menu {
  display: none;
  background: transparent !important;
  background-image: none !important;
  border: none;
  padding: 8px;
  position: relative;
}
@media (max-width: 640px) {
  .header {
    padding: 0.9rem 2%;
    justify-content: space-between;
    position: relative;
    background-image: none !important;
  }
  
  .header::before,
  .header::after {
    background-image: none !important;
    content: none !important;
  }
  
  /* Hide header-controls on mobile */
  .header-controls {
    display: none;
  }
  
  /* Show hamburger menu on mobile */
  .mobile-burger-menu {
    display: block;
    cursor: pointer;
    z-index: 101;
    margin-left: auto;
    margin-right: 10px;
    background: transparent !important;
    background-image: none !important;
    border: none;
    padding: 8px;
    position: relative;
  }
  
  /* Ensure hamburger menu button has no background */
  .mobile-burger-menu::before,
  .mobile-burger-menu::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
  }
  
  /* Hamburger menu colors */
  .mobile-burger-menu span {
    background: var(--text-color);
  }
  
  .dark .mobile-burger-menu span {
    background: var(--text-color-light);
  }
  
  .mobile-burger-menu.open span {
    background: var(--text-color-light);
  }
  
  .dark .mobile-burger-menu.open span {
    background: var(--text-color-light);
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    padding: 5rem 3% 3rem;
    text-align: center;
    background: var(--bg-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.56);
    display: block;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

  .navbar.active {
    left: 0;
  }

  .dark .navbar {
    background: var(--bg-color-dark);
  }

  .navbar .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
  }

  .navbar .nav-menu li {
    width: 100%;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0;
  }
  
  .navbar .dropdown-arrow {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .navbar ul.sub-menu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .navbar li.menu-item-has-children:hover > ul.sub-menu,
  .navbar li.menu-item-has-children:focus-within > ul.sub-menu,
  .navbar li.menu-item-has-children.active > ul.sub-menu {
    display: block;
  }
  
  .navbar ul.sub-menu li {
    margin: 0.5rem 0;
  }
  
  .navbar ul.sub-menu a {
    font-size: 1.5rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
  }
  
  /* Nested sub-menus in mobile */
  .navbar ul.sub-menu ul.sub-menu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    margin-left: 0;
    transform: none;
  }
  
  .navbar ul.sub-menu li.menu-item-has-children:hover > ul.sub-menu,
  .navbar ul.sub-menu li.menu-item-has-children:focus-within > ul.sub-menu,
  .navbar ul.sub-menu li.menu-item-has-children.active > ul.sub-menu {
    display: block;
  }
  
  .navbar ul.sub-menu ul.sub-menu a {
    padding-left: 3rem;
  }
  
  .navbar ul.sub-menu ul.sub-menu ul.sub-menu a {
    padding-left: 4.5rem;
  }
  
  /* Navbar controls (dark-mode and subscribe inside navbar on mobile) */
  .navbar .navbar-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .dark .navbar .navbar-controls {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  
  .navbar .navbar-controls .dark-mode {
    width: 50px;
    height: 50px;
  }
  
  .navbar .navbar-controls .subscribe {
    font-size: 1.4rem;
    padding: 12px 24px;
    margin: 0;
  }
  .home-two {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .home-two .twoDesing {
    padding: 0rem 1.2rem;
  }
  
  .home-two .twoDesing .two-design-slide {
    width: 100%;
    height: 23rem;
    margin: 10px 0;
    border-radius: 12px;
  }
  
  .home-two .twoDesing .swiper-slide {
    width: 100% !important;
    margin: 0;
  }
  
  .home-two .twoDesing .next-slide-two {
    right: 5%;
    top: 45%;
    width: 30px;
    height: 30px;
    background-size: 30px;
  }
  
  .home-two .twoDesing .prev-slide-two {
    left: -3%!important;
    top: 45%;
    width: 30px;
    height: 30px;
    background-size: 30px;
  }
  
  .home-two .twoDesing .slide-content {
    padding: 15px;
  }
  
  .home-two .twoDesing .slide-content h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  
  .home-two .twoDesing .slide-content p {
    display: none;
  }
  
  .home-two .twoDesing .slide-content .more {
    font-size: 1.2rem;
    padding: 6px 16px;
    width: fit-content;
  }
  section.single-post-section   {
    padding: 2rem 0% 2rem;
  }
  .home section  , .archive section , .category section {
    padding: 2rem 3% 2rem;
  }
  .articles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Left Article Mobile Styles */
  .left-article {
    width: 100%;
    margin-bottom: 0;
  }
  
  .left-article .card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .left-article .entry-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 15px 0 10px;
  }
  
  .left-article .entry-expert p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0 15px;
  }
  
  .left-article .post-author-image img {
    width: 32px;
    height: 32px;
  }
  

  
  .left-article .card-content ul {
    margin-bottom: 10px;
  }
  
  /* Right Article Mobile Styles */
  .right-article {
    width: 100%;
  }
  
  .right-article .entry-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0 8px;
  }
  
  .right-article .entry-expert p {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0 20px;
  }
  .filter-posts-container .filter-post{
    align-items: normal;
  }
  .filter-post > a > img {
    width: 100%;
   
}
  .right-article .post-author-image img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }
  .heading {
    font-size: 27px;
  }
  .latest-post .next-slide {
    right: 0 !important;
    top: 10%;
    left: auto;
  }
  .latest-post .prev-slide {
    right: 9%;
    top: 10%;
    left: auto;
  }
  .filter-posts-container .filter-post {
    flex-direction: column;
    gap: 0;
  }
  .filter-post .card-content {
    width: 100%;
    padding: 6px;
  }
  .filter-cat-container {
    flex-direction: column;
  }
  .filter-cat-container .categories {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: scroll;
  }
  .footer-container {
    grid-template-columns: repeat(1, 3fr) !important;
  }
  .mobile-burger-menu {
    margin-right: 10px;
    display: block;
  }
}

/* index two */
.home-two {
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0;
  padding: 20px 0;
  background: #f6f6f6;
}

.twoDesing .two-design-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 90%;
  height: 538px;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 20px 20px;
  border-radius: 16px;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  opacity: 0;
}

.twoDesing .slide-content {
  display: grid;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 100%;
}

.twoDesing .swiper-slide {
  width: 50%!important;
}
@media (min-width: 768px) and (max-width: 1000px) {
  .twoDesing .swiper-slide {
    width: 100%!important;
  }

  .twoDesing .two-design-slide {
    width: 96%!important;
  }
  section {
    padding: 5rem 3% 2rem;
  }
  .twoDesing .prev-slide-two {
  left: 0!important;
  }
  .home-two .twoDesing .next-slide-two {
    right: 4%!important;
  }
  .articles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .right-article .card-image img {
  height: 350px;
  object-fit: cover;
  }
  .latest-post .prev-slide {
  right: 6%;
  top: 10%;
  left: auto;
  }
  .latest-post .next-slide {
  right: 0 !important;
  top: 10%;
  left: auto;
  }
  .latest-post .card-image img {
    width: 100%!important;
    height: 350px!important;
    object-fit: cover;
  }

  /* Mobile Menu Styles for Tablet */
  .header {
    padding: 0.9rem 3%;
    justify-content: space-between;
    position: relative;
    background-image: none !important;
  }
  
  .header::before,
  .header::after {
    background-image: none !important;
    content: none !important;
  }
  
  /* Hide header-controls on tablet */
  .header-controls {
    display: none;
  }
  
  /* Show hamburger menu on tablet */
  .mobile-burger-menu {
    display: block;
    cursor: pointer;
    z-index: 101;
    margin-left: auto;
    margin-right: 10px;
    background: transparent !important;
    background-image: none !important;
    border: none;
    padding: 8px;
    position: relative;
  }
  
  /* Ensure hamburger menu button has no background */
  .mobile-burger-menu::before,
  .mobile-burger-menu::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
  }
  
  /* Hamburger menu colors */
  .mobile-burger-menu span {
    background: var(--text-color);
  }
  
  .dark .mobile-burger-menu span {
    background: var(--text-color-light);
  }
  
  .mobile-burger-menu.open span {
    background: var(--text-color-light);
  }
  
  .dark .mobile-burger-menu.open span {
    background: var(--text-color-light);
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    padding: 5rem 3% 3rem;
    text-align: center;
    background: var(--bg-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.56);
    display: block;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .navbar.active {
    left: 0;
  }

  .dark .navbar {
    background: var(--bg-color-dark);
  }

  .navbar .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
  }

  .navbar .nav-menu li {
    width: 100%;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0;
  }
  
  .navbar .dropdown-arrow {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .navbar ul.sub-menu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .navbar li.menu-item-has-children:hover > ul.sub-menu,
  .navbar li.menu-item-has-children:focus-within > ul.sub-menu,
  .navbar li.menu-item-has-children.active > ul.sub-menu {
    display: block;
  }
  
  .navbar ul.sub-menu li {
    margin: 0.5rem 0;
  }
  
  .navbar ul.sub-menu a {
    font-size: 1.5rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
  }
  
  /* Nested sub-menus in tablet */
  .navbar ul.sub-menu ul.sub-menu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    margin-left: 0;
    transform: none;
  }
  
  .navbar ul.sub-menu li.menu-item-has-children:hover > ul.sub-menu,
  .navbar ul.sub-menu li.menu-item-has-children:focus-within > ul.sub-menu,
  .navbar ul.sub-menu li.menu-item-has-children.active > ul.sub-menu {
    display: block;
  }
  
  .navbar ul.sub-menu ul.sub-menu a {
    padding-left: 3rem;
  }
  
  .navbar ul.sub-menu ul.sub-menu ul.sub-menu a {
    padding-left: 4.5rem;
  }
  
  /* Navbar controls (dark-mode and subscribe inside navbar on tablet) */
  .navbar .navbar-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .dark .navbar .navbar-controls {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  
  .navbar .navbar-controls .dark-mode {
    width: 50px;
    height: 50px;
  }
  
  .navbar .navbar-controls .subscribe {
    font-size: 1.4rem;
    padding: 12px 24px;
    margin: 0;
  }

}

@media (min-width: 992px) and (max-width: 1199px) {
  
  .latest-post .next-slide {
    left: 97%!important;
  }
  .latest-post .prev-slide {
    left: 92%!important;
  }
  
}

.twoDesing .slide-content h2 {
  font-size: 20px;
  color: white;
  font-weight: 500;
  letter-spacing: 1.1px;
  margin: 0;
}

.twoDesing .slide-content p {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.twoDesing .slide-content button {
  align-self: start; /* Butonu kutunun başlangıcına hizalar */
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.twoDesing .slide-content button:hover {
  background-color: #0056b3;
}

.twoDesing .slide-content .more {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  background: rgb(244 84 93 / 92%);
  border: 1px solid #f4545d;
  padding: 8px;
  border-radius: 32px;
  width: 100px;
  text-align: center;
  color: #ffffff;
  text-transform: capitalize;
  text-decoration: none;
}
.twoDesing .next-slide-two {
  background: url(../images/icon/next.svg) no-repeat;
  width: 35px;
  height: 35px;
  position: absolute;
  right: 2%;
  top: 50%;
  background-size: 35px;
  cursor: pointer;
  z-index: 2;
  transform: translate(50%, -50%);
}

.twoDesing .prev-slide-two {
  background: url(../images/icon/prev.svg) no-repeat;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 2%;
  top: 50%;
  background-size: 35px;
  cursor: pointer;
  z-index: 2;
  transform: translate(50%, -50%);
}
/* single page */
.entry-title h1 {
  font-size: 4rem;
  color: var(--text-color);
}
.entry-title p {
  color: var(--text-color-secondary);
  font-size: 1.5rem;
  max-width: 68%;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 20px 0;
}
.content-image img {
  width: 100%;
  border-radius: 16px;
}

.pagination {
    margin-top: 6rem;
    text-align: center;
}

.pagination-container {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    border: 1px solid #7a859f;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    color: var(--main-color);
}

.pagination-btn.prev {
    padding-right: 1.6rem;
    border-right: 1px solid #7a859f;
}

.pagination-btn.next {
    padding-left: 1.6rem;
    border-left: 1px solid #7a859f;
}

.pagination-btn img {
    width: 35px;
    height: 35px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pagination-numbers a {
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pagination-numbers a:hover {
    color: var(--main-color);
}

.pagination-numbers a.active {
    background: var(--main-color);
    color: #fff;
}

/* Dark Mode */
.dark .pagination-container {
    background: transparent;
    border-color: #7a859f;
}

.dark .pagination-btn {
    color: var(--text-color-light);
}

.dark .pagination-btn.prev {
    border-right-color: #7a859f;
}

.dark .pagination-btn.next {
    border-left-color: #7a859f;
}

.dark .pagination-numbers a {
    color: var(--text-color-light);
}

.dark .pagination-numbers a:hover {
    color: var(--main-color);
}

.dark .pagination-numbers a.active {
    background: var(--main-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    /* Header styles moved to 640px media query */
    
    .pagination-container {
        padding: 0.6rem 1.2rem;
        gap: 1.2rem;
    }

    .pagination-btn {
        font-size: 1.3rem;
    }

    .pagination-numbers a {
        width: 3rem;
        height: 3rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        padding: 0.5rem 1rem;
        gap: 0.8rem;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-btn.prev {
        padding-right: 0.8rem;
    }

    .pagination-btn.next {
        padding-left: 0.8rem;
    }

    .pagination-numbers a {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.2rem;
    }
}

.page-header {
    padding: 8rem 9%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title h1 {
    font-size: 6.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}

.page-title p {
    font-size: 1.8rem;
    color: var(--text-color-secondary);
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 80rem;
    opacity: 0.1;
    z-index: 0;
}

.page-shape img {
    width: 100%;
    height: auto;
}

/* Dark Mode */
.dark .page-title h1 {
    color: var(--text-color-light);
}

.dark .page-title p {
    color: var(--text-color-light-secondary);
}

/* Responsive */
@media (max-width: 991px) {
    .page-header {
        padding: 6rem 9%;
    }

    .page-title h1 {
        font-size: 5.2rem;
    }

    .page-title p {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 9%;
    }

    .page-title h1 {
        font-size: 4.2rem;
    }

    .page-title p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 9%;
    }

    .page-title h1 {
        font-size: 3.2rem;
    }

    .page-title p {
        font-size: 1.4rem;
    }
}

/* About Page Styles */
.about-page {
    padding-top: 80px;
}

.about-hero {
    background-color: var(--bg-color);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.about-hero .subtitle {
    font-size: 20px;
    color: var(--secondary-text);
    font-weight: 500;
}

.about-content {
    padding: 80px 0;
}

.profile-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.profile-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-info h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.profile-info .bio,
.profile-info .mission {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--secondary-text);
}

.expertise-section {
    margin-bottom: 80px;
}

.expertise-section h3 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.expertise-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.expertise-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.expertise-item p {
    font-size: 16px;
    color: var(--secondary-text);
    line-height: 1.5;
}

.connect-section {
    text-align: center;
}

.connect-section h3 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.social-link span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero .subtitle {
        font-size: 18px;
    }

    .profile-info h2 {
        font-size: 28px;
    }

    .expertise-section h3,
    .connect-section h3 {
        font-size: 24px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--light-secondary);
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--light-text);
}

.footer-social .social-links {
    display: flex;
    gap: 20px;
}

.footer-social .social-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social .social-links a:hover {
    opacity: 1;
}

.footer-newsletter .newsletter-form {
    display: flex;
    gap: 12px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--light-secondary);
    border-radius: 8px;
    background: transparent;
    color: var(--light-text);
}

.footer-newsletter button {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-secondary);
    color: var(--light-secondary);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
    }
}

/* Single Post Styles */

.single-post-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.single-post-section.none .articles-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.single-post-section.left .articles-container,
.single-post-section.right .articles-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 0px;
    align-items: start;
    max-width: 1250px;
    margin: 0 auto;
}

.single-post-section.left .articles-container {
    grid-template-columns: 300px 1fr;
}

/* Article positioning */
.single-post-section.left .articles-container > article {
    grid-column: 2;
}

.single-post-section.right .articles-container > article {
    grid-column: 1;
}

/* Author card positioning */
.single-post-section.left .articles-container > .right-author {
    grid-column: 2;
}

.single-post-section.right .articles-container > .right-author {
    grid-column: 1;
}

/* Sidebar positioning inside articles-container */
.single-post-section.left .articles-container > .sidebar {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 20px;
}

.single-post-section.right .articles-container > .sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 20px;
}

/* Comments section should be full width - outside articles-container */
.single-post-section .comments-section {
    margin-top: 40px;
}

/* Social Share Buttons */
.social-share-buttons {
    margin: 40px 0; 
}
.social-share-buttons .share-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    margin-top: 0;
}

.dark .social-share-buttons .share-title {
    color: var(--text-color-light);
}

.share-buttons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.share-button {
    margin: 0;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-color-secondary);
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0;
}

.dark .share-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.share-link:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(122, 133, 159, 0.15);
}

.dark .share-link:hover {
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

.share-link img {
    width: 24px;
    height: 24px;
    display: block;
    transition: transform 0.3s ease;
}

.share-link:hover img {
    transform: scale(1.1);
}

/* Platform specific colors on hover */
.share-facebook .share-link:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-twitter img {
  height: 19px;
}
.share-twitter .share-link:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-linkedin .share-link:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.share-whatsapp .share-link:hover {
    background: #25d366;
    border-color: #25d366;
}

.share-telegram .share-link:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.share-pinterest .share-link:hover {
    background: #fff;
    border-color: #bd081c;
}

.share-icon {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
}

.dark .share-icon {
    color: var(--text-color-light);
}

.share-link:hover .share-icon {
    color: #fff;
}

/* Responsive Social Share */
@media (max-width: 768px) {
    .social-share-buttons {
        padding: 20px;
        margin: 30px 0;
    }
    
    .social-share-buttons .share-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .share-link {
        width: 40px;
        height: 40px;
    }
    
    .share-link img {
        width: 24px;
        height: 24px;
    }
    
    .share-buttons-list {
        gap: 12px;
    }
}

/* Single Author Card - Horizontal Layout */
.single-author-card {
    margin-top: 40px;
    padding: 20px;
    border: 1.12851px solid #eeeeee;
    box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
    border-radius: 16px;
    background: var(--bg-color);
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.dark .single-author-card {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.13);
}

.single-author-card .author-card {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
    flex-direction: row;
}

.single-author-card .author-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.author-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 60px;
}

.single-author-card .author-image img,
.single-author-card .author-image .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.single-author-card .author-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-author-card .author-full-name {
    text-align: left;
    margin-bottom: 0;
    font-size: 20px;
}

.single-author-card .author-title {
    text-align: left;
    display: block;
    font-size: 16px;
}

.single-author-card .author-content {
    text-align: left;
    padding: 0;
}

.single-author-card .author-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.single-author-card .author-social-links {
    justify-content: flex-start;
    margin-top: 0;
    gap: 8px;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-author-card .author-social-links li {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-color-secondary);
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
}

.dark .single-author-card .author-social-links li {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 1.12851px 11.2851px rgba(0, 0, 0, 0.2);
}

.single-author-card .author-social-links li:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(122, 133, 159, 0.15);
}

.dark .single-author-card .author-social-links li:hover {
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1);
}

.single-author-card .author-social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.single-author-card .author-social-links li img {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.single-author-card .author-social-links li a:hover img {
    transform: scale(1.1);
}

/* Platform specific hover colors for single author card */
.single-author-card .author-social-links li.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: transparent;
}

.single-author-card .author-social-links li.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.single-author-card .author-social-links li.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.single-author-card .author-social-links li.github:hover {
    background: #242938;
    border-color: #242938;
}

.single-author-card .author-social-links li.pinterest:hover {
    background: #bd081c;
    border-color: #bd081c;
}

.single-author-card .author-social-links li.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.single-author-card .author-social-links li.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.single-author-card .author-social-links li.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.single-author-card .author-social-links li.dribbble:hover {
    background: #e74d89;
    border-color: #e74d89;
}

.single-author-card .author-social-links li.behance:hover {
    background: linear-gradient(180deg, #005cff 0%, #0047ad 100%);
    border-color: transparent;
}

.single-author-card .author-social-links li.whatsapp:hover {
    background: linear-gradient(180deg, #25d366 0%, #1faf38 100%);
    border-color: transparent;
}




/* Responsive Single Author Card */
@media (max-width: 768px) {
    .single-post-section .articles-container {
        padding: 0 1rem;
    }
    
    .single-author-card {
        padding: 15px;
        margin-top: 30px;
        flex-direction: column;
    }
    
    .single-author-card .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .single-author-card .author-image {
        width: 80px;
        height: 80px;
    }
    
    .single-author-card .author-content-wrapper {
        align-items: center;
        text-align: center;
    }
    
    .single-author-card .author-full-name,
    .single-author-card .author-title {
        text-align: center;
    }
    
    .single-author-card .author-content {
        text-align: center;
    }
    
    .single-author-card .author-social-links {
        justify-content: center;
    }
    
    .author-social-links {
        gap: 10px;
    }
    
    .author-social-links li a {
        width: 36px;
        height: 36px;
    }
    
    .author-social-links li img {
        width: 18px;
        height: 18px;
    }
    
    .single-author-card .author-social-links li {
        width: 36px;
        height: 36px;
    }
    
    .single-author-card .author-social-links li img {
        width: 18px;
        height: 18px;
    }
}

/* Sidebar Styles */
.sidebar {
    width: 100%;
    padding: 20px;
    background: var(--bg-color);
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
    height: fit-content;
}

.dark .sidebar {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.13);
}

.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dark .sidebar-widget {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sidebar .widget-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

.dark .sidebar .widget-title {
    color: var(--text-color-light);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dark .sidebar ul li {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.sidebar ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
}

.dark .sidebar ul li a {
    color: var(--text-color-light);
}

.sidebar ul li a:hover {
    color: var(--main-color);
}

.sidebar .search-form {
    display: flex;
    gap: 10px;
}

.sidebar .search-form input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
}

.dark .sidebar .search-form input[type="search"] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.sidebar .search-form input[type="submit"] {
    padding: 10px 20px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.sidebar .search-form input[type="submit"]:hover {
    background: #d43d45;
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .single-post-section.left .articles-container,
    .single-post-section.right .articles-container {
        grid-template-columns: 1fr !important;
    }
    
    .single-post-section.left .articles-container > .sidebar,
    .single-post-section.right .articles-container > .sidebar {
        grid-column: 1 !important;
        grid-row: auto !important;
        position: static !important;
        order: -1;
        margin-top: 20px;
    }
    
    .single-post-section.left .articles-container > .sidebar {
        order: 1;
    }
    
    .single-post-section.left .articles-container > article,
    .single-post-section.left .articles-container > .right-author,
    .single-post-section.right .articles-container > article,
    .single-post-section.right .articles-container > .right-author {
        grid-column: 1 !important;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        padding: 0 1rem;
    }
    
    .sidebar {
        padding: 15px;
    }
    
    .sidebar .widget-title {
        font-size: 1.2rem;
    }
}

.single-post-article {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.single-post-article .related-post-card {
    border-radius: 16px;
    overflow: hidden;
}

.single-post-article .card-image {
    margin-bottom: 0;
}

.single-post-article .card-image img {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
}

.single-post-article .card-content {
    padding: 30px 0px;
}

.single-post-article .entry-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 15px 0;
    color: var(--text-color);
}

.single-post-article .entry-expert {
    margin: 20px 0;
}

/* Entry Content Styles (entry-expert style for single post - same as .left-article .entry-expert p) */
.single-post-article .entry-expert p {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-color-secondary);
    margin: 20px 0% 4%;
    line-height: 1.6;
}

.single-post-article .entry-expert h2,
.single-post-article .entry-expert h3,
.single-post-article .entry-expert h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-color-light);
    font-weight: 600;
}

.single-post-article .entry-expert h2 {
    font-size: 1.8rem;
}

.single-post-article .entry-expert h3 {
    font-size: 1.5rem;
}

.single-post-article .entry-expert h4 {
    font-size: 1.3rem;
}

.single-post-article .entry-expert img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.single-post-article .entry-expert ul,
.single-post-article .entry-expert ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post-article .entry-expert li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-color-secondary);
}

/* Links within content must be underlined (WordPress.org requirement) */
.single-post-article .entry-expert a,
.entry-expert a,
.entry-content a,
.comment-content a,
.widget_text a,
.textwidget a {
    text-decoration: underline;
}

.single-post-article .entry-expert a {
    color: var(--main-color);
}

.single-post-article .entry-expert a:hover {
    color: var(--text-color);
}

.single-post-article .entry-expert blockquote {
    border-left: 4px solid var(--main-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-color-secondary);
}

.single-post-article .entry-expert code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.dark .single-post-article .entry-expert code {
    background: rgba(255, 255, 255, 0.1);
}

/* Post Tags */
.single-post-article .post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .single-post-article .post-tags {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.single-post-article .post-tags .tags-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.dark .single-post-article .post-tags .tags-title {
    color: var(--text-color-light);
}

.single-post-article .post-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-post-article .post-tags .tag-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.single-post-article .post-tags .tag-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dark .single-post-article .post-tags .tag-link:hover {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Post Navigation */
.single-post-article .post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .single-post-article .post-navigation {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.single-post-article .post-navigation .nav-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: var(--bg-color);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.dark .single-post-article .post-navigation .nav-link {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.single-post-article .post-navigation .nav-link:hover {
    border-color: var(--main-color);
    background: rgba(244, 84, 93, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-article .post-navigation .nav-label {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.single-post-article .post-navigation .nav-title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-color);
  letter-spacing: .4px;
}

.dark .single-post-article .post-navigation .nav-title {
  color: var(--text-color-light);
}

.single-post-article .post-navigation .nav-previous,
.single-post-article .post-navigation .nav-next {
    flex: 1;
}

.single-post-article .post-navigation .nav-next {
    text-align: right;
}

.single-post-article .post-navigation .nav-next .nav-link {
    align-items: flex-end;
}

/* Page Links */
.single-post-article .page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .single-post-article .page-links {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.single-post-article .page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.single-post-article .page-links a:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.dark .single-post-article .page-links a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Single Post */
@media (max-width: 768px) {
    .single-post-article .entry-title {
        font-size: 1.8rem;
    }
    
    .single-post-article .post-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .single-post-article .post-navigation .nav-link {
        padding: 15px;
    }
    
    .single-post-article .post-navigation .nav-next {
        text-align: left;
    }
    
    .single-post-article .post-navigation .nav-next .nav-link {
        align-items: flex-start;
    }
}

/* Single Page Hero Section */
.single-page {
    padding: 2rem 0 4rem;
}

.single-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.single-content .entry-title {
    margin-bottom: 3rem;
}

.single-content .entry-title h1 {
    font-size: 4rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.dark .single-content .entry-title h1 {
    color: var(--text-color-light);
}

.single-content .entry-title p {
    color: var(--text-color-secondary);
    font-size: 1.5rem;
    max-width: 68%;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 20px 0;
    line-height: 1.6;
}

.dark .single-content .entry-title p {
    color: rgba(255, 255, 255, 0.7);
}

.content-image {
    width: 100%;
    margin-top: 2rem;
}

.content-image img {
    width: 100%;
    border-radius: 16px;
    height: auto;
    display: block;
}

/* Post Placeholder Styles */
.post-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    min-height: 400px;
}

section .placeholder-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 285px;
    height: 200px;
}

.placeholder-icon img {
    width: 48px;
    height: 48px;
    opacity: 0.5;
    color: var(--text-color-secondary);
}

.dark .post-placeholder {
    background: rgba(255, 255, 255, 0.05);
}

.dark .placeholder-icon img {
    opacity: 0.4;
    filter: brightness(0) invert(1);
}

.content-image .post-placeholder {
    background: rgba(240, 240, 240, 0.5);
    padding: 4rem;
    text-align: center;
    border-radius: 16px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .content-image .post-placeholder {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Single Page Hero */
@media (max-width: 768px) {
    .single-content .entry-title h1 {
        font-size: 2.5rem;
    }
    
    .single-content .entry-title p {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .single-page {
        padding: 1rem 0 2rem;
    }
    
    .single-content {
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .single-content .entry-title h1 {
        font-size: 2rem;
    }
    
    .single-content .entry-title p {
        font-size: 1rem;
        margin: 15px 0;
    }
    .related-post-card .right-article .card-image img {
      height: 150px;
      object-fit: cover;
  }
  .latest-post-slider .right-article .card-image img {
    width: 100%;
    object-fit: cover;
}
}

/* Comments Section */
.comments-section {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

.comments-area {
    width: 100%;
}

.comments-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--main-color);
}

.dark .comments-title {
    color: var(--text-color-light);
    border-bottom-color: var(--main-color);
}

/* Comment List */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
    padding: 0;
}

.comment-body {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
    transition: all 0.3s ease;
}

.dark .comment-body {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.13);
}

.comment-body:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dark .comment-body:hover {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    font-size: 1.2rem;
    font-style: normal;
    color: var(--text-color);
}

.dark .comment-author {
    color: var(--text-color-light);
}

.comment-author a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author a:hover {
    color: var(--main-color);
}

.comment-date {
  font-size: 1rem;
  color: var(--text-color-secondary);
}
p.logged-in-as a {
  color:var(--main-color);
}

.edit-link {
    margin-left: auto;
}

.edit-link a {
  color: var(--main-color);
  font-size: 1.4rem;
  text-decoration: none;
}

.comment-awaiting-moderation {
    color: var(--main-color);
    font-size: 0.9rem;
    font-style: italic;
}

.comment-text {
    margin-top: 0.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1rem;
}

.dark .comment-text {
    color: var(--text-color-light);
}

.comment-text p {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.comment-text a {
    color: var(--main-color);
    text-decoration: underline;
}

.reply {
    margin-top: 1rem;
}

.reply a {
    color: var(--main-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--main-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.reply a:hover {
    background: var(--main-color);
    color: #fff;
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    margin: 1.5rem 0 0 4rem;
    padding: 0;
    border-left: 2px solid rgba(244, 84, 93, 0.2);
    padding-left: 2rem;
}

.dark .comment-list .children {
    border-left-color: rgba(244, 84, 93, 0.3);
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem 0;
}

.comment-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dark .comment-navigation a {
    color: var(--text-color-light);
}

.comment-navigation a:hover {
    color: var(--main-color);
}

/* Comment Form */
.comment-form {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-color);
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0px 1.12851px 11.2851px rgba(122, 133, 159, 0.05);
}

.dark .comment-form {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.13);
}

.comment-form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.dark .comment-form-title {
    color: var(--text-color-light);
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.dark .comment-form label {
    color: var(--text-color-light);
}

.comment-form .required {
    color: var(--main-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.dark .comment-form input[type="text"],
.dark .comment-form input[type="email"],
.dark .comment-form input[type="url"],
.dark .comment-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(244, 84, 93, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
}

.form-submit {
    margin-top: 1rem;
}

.comment-form input[type="submit"] {
    padding: 0.9rem 2rem;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #d43d45;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 84, 93, 0.3);
}

.comment-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive Comments */
@media (max-width: 640px) {
    .comments-section {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .comments-title {
        font-size: 1.5rem;
    }
    
    .comment-body {
        flex-direction: column;
        padding: 1rem;
    }
    
    .comment-author-avatar {
        align-self: flex-start;
    }
    
    .comment-list .children {
        margin-left: 2rem;
        padding-left: 1rem;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 404 Error Page Styles */
.error-404-container {
    padding: 4rem 9%;
    max-width: 1200px;
    margin: 0 auto;
}

.error-404-content {
    text-align: center;
    padding: 4rem 2rem;
}

.error-404-icon {
    margin: 0 auto 3rem;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    opacity: 0.9;
}

.error-404-icon svg {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
}

.error-description {
    font-size: 1.8rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1.6rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.error-actions .btn-primary {
    background: var(--main-color);
    color: #fff;
}

.error-actions .btn-primary:hover {
    background: var(--main-color);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 104, 255, 0.3);
}

.error-actions .btn-secondary {
    background: var(--bg-color-secondary);
    color: var(--text-color);
    border: 1px solid #eeeeee;
}

.error-actions .btn-secondary:hover {
    background: var(--bg-color-secondary);
    border-color: var(--main-color);
    color: var(--main-color);
}

.error-search {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-color-secondary);
    border-radius: 16px;
    border: 1px solid #eeeeee;
}

.error-search h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.error-search form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-search form input[type="search"] {
    flex: 1;
    padding: 1.2rem 1.6rem;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    font-size: 1.6rem;
    background: #fff;
    color: var(--text-color);
}

.error-search form input[type="submit"] {
    padding: 1.2rem 2.4rem;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search form input[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Dark Mode */
.dark .error-404-icon {
    color: var(--main-color);
}

.dark .error-description {
    color: #fff;
}

.dark .error-search {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .error-search h3 {
    color: #fff;
}

.dark .error-search form input[type="search"] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.dark .error-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.dark .error-actions .btn-secondary:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-container {
        padding: 2rem 5%;
    }
    
    .error-404-content {
        padding: 2rem 1rem;
    }
    
    .error-404-icon {
        width: 150px;
        height: 150px;
    }
    
    .error-description {
        font-size: 1.6rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .error-search form {
        flex-direction: column;
    }
    
    .error-search form input[type="submit"] {
        width: 100%;
    }
}

/* WordPress Default Classes */
.wp-caption {
    max-width: 100%;
    margin: 1.5rem auto;
    text-align: center;
}

.wp-caption-text,
.gallery-caption {
    font-size: 1.4rem;
    color: var(--text-color-secondary);
    margin-top: 0.5rem;
    text-align: center;
}

.bypostauthor {
    border-left: 3px solid var(--main-color);
    padding-left: 1rem;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--bg-color);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--text-color);
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 1.5rem 2.3rem 1.4rem;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.dark .screen-reader-text:focus {
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
}

/* Hero Slider Styles */
.hero-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
}

.placeholder-content h3 {
	color: white;
	font-size: 2rem;
	text-align: center;
}

/* Featured Posts Styles */
.post-thumbnail {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
}

.post-placeholder {
	width: 100%;
	height: 200px;
	background: #f8f9fa;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.placeholder-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.placeholder-icon img {
	width: 48px;
	height: 48px;
	opacity: 0.5;
	color: var(--text-color-secondary);
}
