/* ==========================================================================
   BLOG SPECIFIC STYLES - COMDITECH (RETRO RPG THEME)
   ========================================================================== */

/* Catalog Layout Controls */
.blog-controls {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 50px;
  padding: 30px;
  background: rgba(11, 17, 28, 0.4);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-pixel);
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  background: rgba(6, 11, 19, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 20px;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: var(--cyan-glow);
}

.search-icon-svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Category Filters */
.categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.categories-label {
  font-family: var(--font-family-tech);
  font-size: 11px;
  color: var(--cyan-neon);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-btn {
  background: rgba(107, 63, 160, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 18px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.category-btn:hover {
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  text-shadow: var(--cyan-glow);
}

.category-btn.active {
  background: var(--cyan-neon);
  border-color: var(--cyan-neon);
  color: #060b13;
  box-shadow: var(--cyan-glow);
}

/* News Grid & Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.news-card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--purple-neon);
  border: 1px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-family-tech);
  font-size: 9px;
  padding: 4px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.news-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-card-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-title a {
  color: var(--text-primary);
  transition: color var(--transition-speed) ease;
}

.news-card-title a:hover {
  color: var(--cyan-neon);
  text-shadow: var(--cyan-glow);
}

.news-card-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.pagination-btn {
  background: rgba(11, 17, 28, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-tech);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  box-shadow: var(--cyan-glow);
}

.pagination-btn.active {
  background: var(--cyan-neon);
  border-color: var(--cyan-neon);
  color: #060b13;
  box-shadow: var(--cyan-glow);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ==========================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================== */
@media (max-width: 768px) {
  .blog-controls {
    padding: 20px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 32px;
  }
}

/* Article Featured Image Styling */
.article-featured-image-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-pixel);
  background: var(--bg-secondary);
  overflow: hidden;
}

.article-featured-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* ==========================================================================
   ACCESSIBILITY & SKIP LINK STYLES
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--bg-primary, #0d0d1a);
  color: var(--cyan-neon, #00f0ff);
  padding: 12px 20px;
  z-index: 9999;
  border: 2px solid var(--cyan-neon, #00f0ff);
  text-decoration: none;
  font-family: var(--font-family-tech, monospace);
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}




/* Floating Trigger Button */












/* Tooltip Pill */




/* Interactive Chat Modal Window */
































@keyframes gatotronPulse {
  0% { box-shadow: 0 0 15px rgba(18, 207, 136, 0.6), 0 0 30px rgba(0, 240, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(18, 207, 136, 0.9), 0 0 50px rgba(0, 240, 255, 0.6); }
  100% { box-shadow: 0 0 15px rgba(18, 207, 136, 0.6), 0 0 30px rgba(0, 240, 255, 0.3); }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  
  
  
}

/* Floating Trigger Button */












/* Tooltip Pill */




/* Interactive Chat Window Modal */






























/* Keyframe Animations */
@keyframes gatotronPulse {
  0% {
    box-shadow: 0 0 15px rgba(18, 207, 136, 0.6), 0 0 30px rgba(0, 240, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(18, 207, 136, 0.9), 0 0 50px rgba(0, 240, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 15px rgba(18, 207, 136, 0.6), 0 0 30px rgba(0, 240, 255, 0.3);
  }
}

@keyframes onlineBlink {
  from { opacity: 0.4; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.1); }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  
  
  
}



/* GATOTRON MODAL DISPLAY FIX */







/* ==========================================================================
   PERMANENT HIDE FOR OLD LOGO WIDGET RESIDUALS
   ========================================================================== */
.gatotron-floating-container,
.gatotron-btn,
.gatotron-modal,
#gatotronTriggerBtn,
#gatotronModal,
.gatotron-btn-avatar,
.gatotron-online-dot,
.gatotron-wa-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}








/* ==========================================================================
   MOZILLA FIREFOX & CROSS-BROWSER NATIVE CURSOR GUARANTEE
   ========================================================================== */
html, body {
  cursor: auto !important;
}

a, button, input[type="submit"], input[type="button"], select, label, .category-btn, .pagination-btn, .btn-neon, .btn-neon-orange, .inventory-floating-btn, .shop-card, .tome, .slot, [onclick] {
  cursor: pointer !important;
}

input[type="text"], input[type="email"], textarea {
  cursor: text !important;
}

/* Firefox-specific Gecko engine override */
@-moz-document url-prefix() {
  html, body {
    cursor: auto !important;
  }
  a, button, input[type="submit"], input[type="button"], select, label, .category-btn, .pagination-btn, .btn-neon, .btn-neon-orange, .inventory-floating-btn, .shop-card, .tome, .slot, [onclick] {
    cursor: pointer !important;
  }
  input[type="text"], input[type="email"], textarea {
    cursor: text !important;
  }
}
