/*
Theme Name: Original HR Theme
Author: administraktor.com network
Description: A modern card-based theme with gradient header and dark design.
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #1a0d1a;
  min-height: 100vh;
  color: #ffffff;
  line-height: 1.6;
}

/* Header Styles */
.site-header {
  background: linear-gradient(90deg, #dc2626 0%, #3b82f6 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-icon {
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Search Dropdown Styles */
.header-search {
  position: relative;
}

.search-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  min-width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.search-dropdown .search-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 14px;
  outline: none;
}

.search-dropdown .search-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-dropdown .search-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.search-dropdown .search-submit {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-dropdown .search-submit:hover {
  background: #2563eb;
}

/* Mobile search dropdown */
@media (max-width: 768px) {
  .search-dropdown {
    right: -20px;
    left: -20px;
    min-width: auto;
    width: calc(100vw - 40px);
  }
}

@media (max-width: 480px) {
  .search-dropdown {
    right: -10px;
    left: -10px;
    width: calc(100vw - 20px);
    padding: 15px;
  }

  .search-dropdown .search-form {
    flex-direction: column;
  }

  .search-dropdown .search-submit {
    width: 100%;
  }
}

/* Mobile-Optimized Homepage Slider */
.homepage-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 20px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.4s ease-out;
  touch-action: pan-y;
}

.slide {
  min-width: 100%;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 40px;
  color: white;
  max-width: 600px;
}

.slide-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.slide-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.slide-title a {
  color: white;
  text-decoration: none;
}

.slide-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.slide-date {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
}

.slide-read-more {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile-Friendly Slider Navigation */
.slider-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #3b82f6;
  transform: scale(1.2);
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

.slider-btn:active {
  transform: scale(0.95);
}

/* Responsive Slider */
@media (max-width: 768px) {
  .slide {
    height: 300px;
  }

  .slide-content {
    padding: 20px;
  }

  .slide-title {
    font-size: 24px;
  }

  .slide-excerpt {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slider-navigation {
    padding: 15px;
  }

  .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
  }

  .slider-btn {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
  }
}

@media (max-width: 480px) {
  .slide {
    height: 250px;
  }

  .slide-content {
    padding: 15px;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .slide-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* Navigation Menu */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.main-navigation a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .main-navigation ul.show {
    display: flex;
  }
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Card Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.post-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
  position: relative;
}

.card-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card-category.tech {
  background: #10b981;
}

.card-category.nature {
  background: #f59e0b;
}

.card-category.news {
  background: #ef4444;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-title a {
  color: white;
  text-decoration: none;
}

.card-excerpt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 15px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.read-more {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

/* Section Headers */
.section-header {
  margin: 40px 0 20px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card.featured {
    grid-column: span 1;
  }

  .header-container {
    padding: 0 15px;
  }

  .main-content {
    padding: 20px 15px;
  }

  .site-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .card-content {
    padding: 15px;
  }

  .card-title {
    font-size: 16px;
  }
}

/* Single Post Styles - Fully Responsive */
.single-post {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  margin: 20px auto 40px auto;
  backdrop-filter: blur(10px);
  overflow: visible;
  max-width: 100%;
  width: 100%;
  min-height: auto;
  height: auto;
}

.post-header {
  padding: 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.5;
}

.post-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
}

.post-breadcrumb a:hover {
  color: #93c5fd;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}

.current-page {
  color: rgba(255, 255, 255, 0.9);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.post-category {
  background: #3b82f6;
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.post-date,
.post-author {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
}

.post-title {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 25px;
  word-wrap: break-word;
  hyphens: auto;
}

.social-share-top {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 14px;
}

.social-share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: white;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-btn.facebook {
  background: #1877f2;
}
.social-btn.twitter {
  background: #1da1f2;
}
.social-btn.linkedin {
  background: #0077b5;
}
.social-btn.whatsapp {
  background: #25d366;
}

.post-featured-image {
  margin: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.post-content {
  padding: 30px 40px;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.8;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  overflow: visible;
  height: auto;
  min-height: auto;
  max-height: none;
  word-wrap: break-word;
  hyphens: auto;
}

.post-content * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.post-content p {
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #ffffff;
  margin: 40px 0 20px 0;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  word-wrap: break-word;
}

.post-content h1 {
  font-size: clamp(28px, 4vw, 36px);
}
.post-content h2 {
  font-size: clamp(24px, 3.5vw, 32px);
}
.post-content h3 {
  font-size: clamp(20px, 3vw, 28px);
}
.post-content h4 {
  font-size: clamp(18px, 2.5vw, 24px);
}

.post-content blockquote {
  background: rgba(0, 0, 0, 0.4);
  border-left: 4px solid #3b82f6;
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #ffffff;
}

.post-content ul,
.post-content ol {
  margin: 20px 0;
  padding-left: 30px;
  color: #ffffff;
}

.post-content li {
  margin-bottom: 8px;
  color: #ffffff;
  line-height: 1.6;
}

.post-content a {
  color: #60a5fa;
  text-decoration: underline;
  word-wrap: break-word;
}

.post-content a:hover {
  color: #93c5fd;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.post-content table {
  width: 100%;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.post-tags {
  padding: 0 40px 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-right: 15px;
}

.post-tags a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 12px;
  margin: 5px 5px 5px 0;
}

.post-tags a:hover {
  background: #3b82f6;
  color: white;
}

.social-share-bottom {
  padding: 30px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.social-share-bottom h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.author-box {
  display: flex;
  gap: 20px;
  padding: 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.author-info {
  flex: 1;
}

.author-name {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.author-bio {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-posts a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.author-posts a:hover {
  color: #93c5fd;
}

/* Mobile Responsive Styles for Articles */
@media (max-width: 768px) {
  .single-post {
    margin: 10px;
    border-radius: 8px;
  }

  .post-header {
    padding: 20px;
  }

  .post-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 20px;
  }

  .post-content {
    padding: 20px;
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1.7;
  }

  .post-content h1 {
    font-size: clamp(22px, 5vw, 26px);
  }
  .post-content h2 {
    font-size: clamp(20px, 4.5vw, 24px);
  }
  .post-content h3 {
    font-size: clamp(18px, 4vw, 22px);
  }
  .post-content h4 {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
  }

  .social-share-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .social-share-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .social-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .post-tags {
    padding: 0 20px 20px 20px;
  }

  .social-share-bottom {
    padding: 20px;
  }

  .post-featured-image img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .single-post {
    margin: 5px;
    border-radius: 6px;
  }

  .post-header {
    padding: 15px;
  }

  .post-content {
    padding: 15px;
    font-size: 16px;
  }

  .post-title {
    font-size: clamp(18px, 7vw, 24px);
  }

  .social-btn {
    font-size: 11px;
    padding: 5px 10px;
    gap: 4px;
  }

  .post-breadcrumb {
    font-size: 12px;
  }

  .post-meta {
    font-size: 12px;
  }

  .post-category,
  .post-date,
  .post-author {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Minimal Table of Contents Styles */
.table-of-contents {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
}

.toc-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

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

.toc-item {
  margin-bottom: 5px;
}

.toc-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.4;
}

.toc-link:hover {
  color: #60a5fa;
}

.toc-level-2 .toc-link {
  padding-left: 0;
}

.toc-level-3 .toc-link {
  padding-left: 15px;
  font-size: 13px;
}

.toc-level-4 .toc-link {
  padding-left: 30px;
  font-size: 12px;
}

.toc-level-5 .toc-link {
  padding-left: 45px;
  font-size: 12px;
}

.toc-level-6 .toc-link {
  padding-left: 60px;
  font-size: 11px;
}

/* Related Posts */
.related-posts {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.related-posts h3 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.related-post-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post-content {
  padding: 20px;
}

.related-post-content h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.related-post-content h4 a {
  color: white;
  text-decoration: none;
}

.related-post-content h4 a:hover {
  color: #60a5fa;
}

.related-post-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Comments Section */
.comments-area {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.comments-title {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.comment-body {
  display: flex;
  gap: 15px;
}

.comment-author-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.comment-content-wrapper {
  flex: 1;
}

.comment-meta {
  margin-bottom: 10px;
}

.comment-author-name {
  color: white;
  font-weight: 600;
  margin-right: 10px;
}

.comment-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.comment-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 10px;
}

.comment-reply a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 12px;
}

.comment-awaiting {
  color: #f59e0b;
  font-size: 12px;
  font-style: italic;
}

/* Comment Form */
.comment-respond {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
}

.comment-respond h3 {
  color: white;
  margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: white;
  margin-bottom: 15px;
  font-family: inherit;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.submit-button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background: #2563eb;
}

.comment-notes {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-bottom: 15px;
}

/* Post Navigation */
.post-navigation {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.nav-arrow {
  font-size: 24px;
  color: #60a5fa;
  font-weight: bold;
}

.nav-content {
  flex: 1;
}

.nav-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
}

.nav-title {
  display: block;
  color: white;
  font-weight: 500;
  line-height: 1.3;
}

.nav-next .nav-link {
  flex-direction: row-reverse;
  text-align: right;
}

/* Simple Pagination Styles */
.simple-pagination {
  margin: 40px 0;
  padding: 20px 0;
}

.simple-pagination .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  gap: 20px;
}

.prev-link,
.next-link {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.prev-link:hover,
.next-link:hover {
  background: #3b82f6;
  color: white;
}

.page-info {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-align: center;
  flex: 1;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

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

.theme-credits {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-credits a {
  color: #60a5fa;
  text-decoration: none;
}

.theme-credits a:hover {
  color: #93c5fd;
}

/* Accessibility Controls */
.accessibility-panel {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.accessibility-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #3b82f6;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessibility-toggle:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.accessibility-toggle:focus {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.accessibility-content {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.accessibility-panel.open .accessibility-content {
  opacity: 1;
  visibility: visible;
}

.accessibility-content h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.control-group {
  margin-bottom: 20px;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.font-size-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.font-btn {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.font-btn[data-size="small"] {
  font-size: 12px;
}

.font-btn[data-size="normal"] {
  font-size: 16px;
}

.font-btn[data-size="large"] {
  font-size: 20px;
}

.font-btn[data-size="xlarge"] {
  font-size: 24px;
}

.font-btn:hover,
.font-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
}

.font-btn:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.contrast-controls {
  display: flex;
  gap: 8px;
}

.contrast-btn {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.contrast-btn:hover,
.contrast-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
}

.contrast-btn:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.reset-btn {
  width: 100%;
  padding: 12px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.reset-btn:hover {
  background: #b91c1c;
}

.reset-btn:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Font Size Classes */
.font-small {
  font-size: 14px;
}

.font-small .post-content {
  font-size: 14px;
}

.font-small .post-title {
  font-size: 32px;
}

.font-small .card-title {
  font-size: 16px;
}

.font-small .slide-title {
  font-size: 24px;
}

.font-normal {
  font-size: 16px;
}

.font-normal .post-content {
  font-size: 18px;
}

.font-normal .post-title {
  font-size: 42px;
}

.font-normal .card-title {
  font-size: 18px;
}

.font-normal .slide-title {
  font-size: 32px;
}

.font-large {
  font-size: 18px;
}

.font-large .post-content {
  font-size: 22px;
}

.font-large .post-title {
  font-size: 48px;
}

.font-large .card-title {
  font-size: 20px;
}

.font-large .slide-title {
  font-size: 36px;
}

.font-large .post-content h2 {
  font-size: 36px;
}

.font-large .post-content h3 {
  font-size: 30px;
}

.font-large .post-content h4 {
  font-size: 26px;
}

.font-xlarge {
  font-size: 20px;
}

.font-xlarge .post-content {
  font-size: 26px;
  line-height: 1.9;
}

.font-xlarge .post-title {
  font-size: 54px;
}

.font-xlarge .card-title {
  font-size: 22px;
}

.font-xlarge .slide-title {
  font-size: 40px;
}

.font-xlarge .post-content h2 {
  font-size: 42px;
}

.font-xlarge .post-content h3 {
  font-size: 36px;
}

.font-xlarge .post-content h4 {
  font-size: 30px;
}

.font-xlarge .card-excerpt {
  font-size: 16px;
}

.font-xlarge .slide-excerpt {
  font-size: 18px;
}

/* High Contrast Mode */
.contrast-high {
  background: #000000 !important;
}

.contrast-high .site-header {
  background: #000000 !important;
  border-bottom: 3px solid #ffffff;
}

.contrast-high .single-post,
.contrast-high .post-card,
.contrast-high .category-post-card,
.contrast-high .related-posts,
.contrast-high .comments-area,
.contrast-high .category-header {
  background: #000000 !important;
  border: 2px solid #ffffff !important;
}

.contrast-high .post-content,
.contrast-high .card-content {
  background: #000000 !important;
}

.contrast-high .post-content p,
.contrast-high .post-content h1,
.contrast-high .post-content h2,
.contrast-high .post-content h3,
.contrast-high .post-content h4,
.contrast-high .post-content h5,
.contrast-high .post-content h6,
.contrast-high .post-title,
.contrast-high .card-title,
.contrast-high .card-title a,
.contrast-high .slide-title,
.contrast-high .slide-title a,
.contrast-high .category-title,
.contrast-high .section-title {
  color: #ffffff !important;
  text-shadow: none !important;
}

.contrast-high .post-content a,
.contrast-high .read-more,
.contrast-high .slide-read-more {
  color: #ffff00 !important;
  text-decoration: underline !important;
}

.contrast-high .post-content a:hover,
.contrast-high .read-more:hover {
  color: #ffffff !important;
  background: #ffff00 !important;
  padding: 2px 4px;
}

.contrast-high .social-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
}

.contrast-high .social-btn:hover {
  background: #ffff00 !important;
  color: #000000 !important;
}

/* Mobile Accessibility Controls */
@media (max-width: 768px) {
  .accessibility-panel {
    right: 10px;
  }

  .accessibility-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .accessibility-content {
    right: 60px;
    min-width: 250px;
    padding: 15px;
  }

  .font-size-controls {
    flex-wrap: wrap;
  }

  .contrast-controls {
    flex-direction: column;
    gap: 5px;
  }

  .simple-pagination .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-info {
    order: -1;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nav-next .nav-link {
    flex-direction: row;
    text-align: left;
  }

  .toc-title {
    font-size: 16px;
  }

  .toc-link {
    font-size: 13px;
  }

  .related-posts {
    padding: 20px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .accessibility-content {
    position: fixed;
    right: 10px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    min-width: auto;
  }
}

/* Focus indicators for better keyboard navigation */
.accessibility-panel button:focus,
.accessibility-panel .font-btn:focus,
.accessibility-panel .contrast-btn:focus {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Ensure text remains readable in all size variations */
.font-xlarge .post-meta,
.font-xlarge .card-meta,
.font-xlarge .slide-meta {
  font-size: 14px;
}

.font-xlarge .post-breadcrumb {
  font-size: 16px;
}

/* No Post Found Styles */
.no-post-found {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  margin: 40px 0;
}

.no-post-found h1 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.no-post-found p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.back-home {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.back-home:hover {
  background: #2563eb;
}

/* Page Links Styles */
.page-links {
  margin: 30px 0;
  text-align: center;
}

.page-links a,
.page-links span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.page-links a:hover {
  background: #3b82f6;
}

.page-links .current {
  background: #3b82f6;
}

/* Responsive fixes for single post */
@media (max-width: 768px) {
  .no-post-found {
    padding: 40px 20px;
  }

  .no-post-found h1 {
    font-size: 24px;
  }

  .no-post-found p {
    font-size: 16px;
  }
}

/* Category Boxes Section */
.category-boxes-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.category-boxes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.category-box {
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-box-link {
  color: white;
  text-decoration: none;
  display: block;
  height: 100%;
}

.category-box-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.category-box-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.category-box-count {
  font-size: 14px;
  opacity: 0.9;
  color: white;
}

/* Sidebar Styles */
.main-content.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.main-content.with-sidebar .content-area {
  min-width: 0;
}

.sidebar {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar.left-sidebar {
  order: -1;
}

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

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

.widget-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3b82f6;
}

.widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

.widget li {
  margin-bottom: 10px;
}

.widget a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.widget a:hover {
  color: #60a5fa;
}

/* Custom Recent Posts Widget */
.custom-recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
  min-width: 0;
}

.recent-post-content h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 5px;
}

.recent-post-content h4 a {
  color: white;
  text-decoration: none;
}

.recent-post-content h4 a:hover {
  color: #60a5fa;
}

.recent-post-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Modern Social Share Buttons */
.modern-social-share {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.share-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
}

.social-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
}

.social-btn:hover::before {
  opacity: 1;
}

.facebook-btn {
  background: #1877f2;
}

.twitter-btn {
  background: #1da1f2;
}

.linkedin-btn {
  background: #0077b5;
}

.whatsapp-btn {
  background: #25d366;
}

.copy-btn {
  background: #6b7280;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

/* Remove all animations except slider */
* {
  transition: none !important;
  animation: none !important;
}

/* Allow only slider transitions */
.slider-wrapper {
  transition: transform 0.4s ease-out !important;
}

.slider-dot {
  transition: all 0.3s ease !important;
}

.slider-btn {
  transition: all 0.3s ease !important;
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
  .main-content.with-sidebar {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sidebar {
    order: 2;
    position: static;
    margin-top: 30px;
  }

  .category-boxes-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .category-box {
    padding: 20px 15px;
    min-height: 120px;
  }

  .category-box-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .category-box-title {
    font-size: 16px;
  }

  .modern-social-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .social-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .social-btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .category-boxes-container {
    grid-template-columns: 1fr 1fr;
  }

  .category-box {
    padding: 15px 10px;
    min-height: 100px;
  }

  .category-box-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .category-box-title {
    font-size: 14px;
  }

  .category-box-count {
    font-size: 12px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Widget Responsive */
@media (max-width: 768px) {
  .sidebar {
    padding: 20px;
  }

  .widget {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .widget-title {
    font-size: 18px;
  }

  .recent-post-item {
    padding: 10px;
  }

  .recent-post-thumb {
    width: 50px;
    height: 50px;
  }

  .recent-post-content h4 {
    font-size: 13px;
  }
}

/* Homepage Layout Styles */

/* Classic Layout */
.classic-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.classic-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.classic-post-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 20px;
  padding: 20px;
}

.classic-post-card.featured-post {
  flex-direction: column;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.classic-post-image {
  flex-shrink: 0;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.classic-post-card.featured-post .classic-post-image {
  width: 100%;
  height: 300px;
}

.classic-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.classic-post-card.featured-post .classic-post-image img {
  height: 300px;
}

.classic-post-content {
  flex: 1;
}

.classic-post-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.classic-post-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.classic-post-card.featured-post .classic-post-title {
  font-size: 28px;
}

.classic-post-title a {
  color: white;
  text-decoration: none;
}

.classic-post-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.classic-post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.read-more-btn {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

/* Magazine Layout */
.magazine-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.magazine-featured-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.magazine-featured-post {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}

.magazine-featured-post.main-featured {
  grid-row: span 2;
}

.magazine-featured-image {
  position: relative;
  height: 100%;
  min-height: 250px;
}

.magazine-featured-post.main-featured .magazine-featured-image {
  min-height: 400px;
}

.magazine-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.magazine-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
}

.magazine-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

.magazine-featured-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.magazine-featured-post.main-featured .magazine-featured-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.magazine-featured-title a {
  color: white;
  text-decoration: none;
}

.magazine-featured-excerpt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 10px;
}

.magazine-featured-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.magazine-grid-section {
  margin-top: 40px;
}

.magazine-section-title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3b82f6;
}

.magazine-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.magazine-grid-post {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.magazine-grid-image {
  height: 180px;
  overflow: hidden;
}

.magazine-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-grid-content {
  padding: 15px;
}

.magazine-grid-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
}

.magazine-grid-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.magazine-grid-title a {
  color: white;
  text-decoration: none;
}

.magazine-grid-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Minimal Layout */
.minimal-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.minimal-header {
  text-align: center;
  margin-bottom: 50px;
}

.minimal-title {
  font-size: 48px;
  font-weight: 300;
  color: white;
  margin-bottom: 10px;
}

.minimal-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.minimal-posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.minimal-post-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.minimal-post-content {
  flex: 2;
}

.minimal-post-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.minimal-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.minimal-post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.minimal-post-category {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.minimal-post-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.minimal-post-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

.minimal-post-title a {
  color: white;
  text-decoration: none;
}

.minimal-post-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.minimal-read-more {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

/* Masonry Layout */
.masonry-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.masonry-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  break-inside: avoid;
}

.masonry-image {
  width: 100%;
  overflow: hidden;
}

.masonry-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.masonry-content {
  padding: 20px;
}

.masonry-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
}

.masonry-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.masonry-title a {
  color: white;
  text-decoration: none;
}

.masonry-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 14px;
}

.masonry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.masonry-read-more {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

/* Featured Layout */
.featured-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-hero-post {
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 50px;
}

.featured-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.featured-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.featured-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px;
  color: white;
}

.featured-hero-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.featured-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.featured-hero-title a {
  color: white;
  text-decoration: none;
}

.featured-hero-excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  max-width: 600px;
}

.featured-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.featured-hero-btn {
  background: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.featured-secondary-section {
  margin-top: 50px;
}

.featured-section-title {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.featured-secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.featured-secondary-post {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.featured-secondary-image {
  height: 160px;
  overflow: hidden;
}

.featured-secondary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-secondary-content {
  padding: 15px;
}

.featured-secondary-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
}

.featured-secondary-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.featured-secondary-title a {
  color: white;
  text-decoration: none;
}

.featured-secondary-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Cards Layout */
.cards-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-top: 10px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.modern-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modern-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.modern-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.modern-card-category {
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.modern-card-content {
  padding: 25px;
}

.modern-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.modern-card-title a {
  color: white;
  text-decoration: none;
}

.modern-card-excerpt {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.modern-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-date,
.card-author {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.modern-card-btn {
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

/* Article Layout Styles */

/* Modern Article Layout */
.modern-layout {
  max-width: 100%;
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0;
}

.modern-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}

.modern-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.modern-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.modern-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px 40px;
  color: white;
}

.modern-breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.modern-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
}

.modern-category {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.modern-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.modern-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.modern-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modern-author img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-name {
  font-weight: 600;
  font-size: 16px;
}

.publish-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.modern-social {
  display: flex;
  gap: 10px;
}

.modern-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-share-btn.facebook {
  background: #1877f2;
}

.modern-share-btn.twitter {
  background: #1da1f2;
}

.modern-share-btn.linkedin {
  background: #0077b5;
}

.modern-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.modern-content {
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
}

.modern-content p {
  margin-bottom: 28px;
}

.modern-content h2,
.modern-content h3,
.modern-content h4 {
  margin: 50px 0 25px 0;
  color: #ffffff;
}

.modern-page-links {
  margin: 40px 0;
  text-align: center;
}

.page-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 25px;
  text-decoration: none;
}

/* Magazine Article Layout */
.magazine-layout {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
}

.magazine-container {
  padding: 40px;
}

.magazine-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.magazine-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.magazine-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
}

.magazine-meta-top {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.magazine-category {
  background: #3b82f6;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
}

.magazine-date {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
}

.magazine-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 25px;
}

.magazine-author-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.author-label {
  font-weight: 600;
}

.author-name {
  color: white;
  font-weight: 600;
}

.magazine-share-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-share-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
}

.inline-share-btn:hover {
  background: #3b82f6;
  color: white;
}

.magazine-featured-image {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
}

.magazine-featured-image img {
  width: 100%;
  height: auto;
}

.magazine-image-caption {
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  font-size: 12px;
  font-style: italic;
}

.magazine-article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
}

.magazine-article-content p {
  margin-bottom: 24px;
}

.magazine-article-content h2,
.magazine-article-content h3,
.magazine-article-content h4 {
  margin: 40px 0 20px 0;
  color: #ffffff;
}

.magazine-page-links {
  margin: 30px 0;
  text-align: center;
  font-size: 14px;
}

.magazine-page-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 20px;
  text-decoration: none;
}

.magazine-article-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 40px;
}

.magazine-tags {
  margin-bottom: 25px;
}

.magazine-tags strong {
  color: white;
  margin-right: 15px;
}

.magazine-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 12px;
  margin: 5px 5px 5px 0;
}

.magazine-tag:hover {
  background: #3b82f6;
  color: white;
}

.magazine-share-bottom {
  text-align: center;
}

.magazine-social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.magazine-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.magazine-social-btn.facebook {
  background: #1877f2;
}

.magazine-social-btn.twitter {
  background: #1da1f2;
}

.magazine-social-btn.linkedin {
  background: #0077b5;
}

.magazine-social-btn.whatsapp {
  background: #25d366;
}

/* Minimal Article Layout */
.minimal-article-layout {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.minimal-article-container {
  padding: 50px 40px;
}

.minimal-article-header {
  margin-bottom: 40px;
}

.minimal-breadcrumb {
  font-size: 14px;
  margin-bottom: 30px;
}

.minimal-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
  margin-right: 10px;
}

.minimal-article-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: white;
  margin-bottom: 25px;
}

.minimal-article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.minimal-date,
.minimal-author,
.minimal-category {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 15px;
}

.minimal-featured-image {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
}

.minimal-featured-image img {
  width: 100%;
  height: auto;
}

.minimal-article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
}

.minimal-article-content p {
  margin-bottom: 24px;
}

.minimal-article-content h2,
.minimal-article-content h3,
.minimal-article-content h4 {
  margin: 35px 0 20px 0;
  color: #ffffff;
}

.minimal-share {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.minimal-share span {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 15px;
}

.minimal-share a {
  color: #60a5fa;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.minimal-share a:hover {
  color: #93c5fd;
}

/* Sidebar Article Layout */
.sidebar-article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sidebar-article-main {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 40px;
}

.sidebar-article-header {
  margin-bottom: 30px;
}

.sidebar-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.sidebar-breadcrumb a {
  color: #60a5fa;
  text-decoration: none;
}

.sidebar-article-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: white;
  margin-bottom: 20px;
}

.sidebar-article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-meta-left,
.sidebar-meta-right {
  display: flex;
  gap: 10px;
}

.sidebar-category,
.sidebar-date,
.sidebar-author {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 15px;
}

.sidebar-category {
  background: #3b82f6;
  color: white;
}

.sidebar-featured-image {
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-featured-image img {
  width: 100%;
  height: auto;
}

.sidebar-article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
}

.sidebar-article-content p {
  margin-bottom: 24px;
}

.sidebar-article-content h2,
.sidebar-article-content h3,
.sidebar-article-content h4 {
  margin: 35px 0 20px 0;
  color: #ffffff;
}

.sidebar-social-share {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-social-share h4 {
  color: white;
  margin-bottom: 15px;
}

.sidebar-social-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sidebar-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  color: white;
  font-size: 12px;
  cursor: pointer;
}

.sidebar-social-btn.facebook {
  background: #1877f2;
}

.sidebar-social-btn.twitter {
  background: #1da1f2;
}

.sidebar-social-btn.linkedin {
  background: #0077b5;
}

.sidebar-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 25px;
  backdrop-filter: blur(10px);
}

.sidebar-widget h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3b82f6;
}

.sidebar-author-info {
  display: flex;
  gap: 15px;
}

.sidebar-author-info img {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar-author-details h4 {
  color: white;
  margin-bottom: 8px;
}

.sidebar-author-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;\
  margin-bottom: 10
