/* =============================================================================
   OVERLAY CONTENT STYLES (Gallery, Tools, Social)
   ============================================================================= */

/* GALLERY FILTER HEADER */
.gallery-filter-header {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.gallery-back-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-back-btn:hover {
  background: var(--color-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.4);
  transform: scale(1.05);
}

/* 1. SOCIAL LIST */
.social-list {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.social-title {
  font-family: var(--font-body);
  color: var(--color-gold);
  margin-bottom: 40px;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 16px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--brand-color);
  border-color: var(--brand-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.social-icon {
  font-size: 1.4rem;
}

/* 2. TOOLS GRID */
.tools-items-layout {
  width: 100%;
  max-width: 1350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0px 20px 20px 20px;
  padding-bottom: 200px;
}

.tools-grid-container {
  width: 100%;
  max-width: 1600px;
  text-align: center;
}

.tools-title {
  font-family: var(--font-body);
  font-size: 2.2em;
  color: var(--color-gold);
  margin-bottom: 5px;
  text-align: center;
}

.amazon-disclaimer {
  display: inline-block;
  font-family: 'Nunito Sans', sans-serif;
  color: #878787;
  text-align: center;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 0 auto 40px;
  margin-top: 10px;
}

.tools-categories {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (min-width: 1025px) {
  .tools-category {
    transform: scale(0.9);
    transform-origin: top center;
  }
}

.category-title {
  font-family: var(--font-body);
  font-size: 1.4em;
  color: var(--color-white);
  margin-bottom: 25px;
  text-align: left;
  border-left: 4px solid var(--color-gold);
  padding-left: 15px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  background: #000000a4;
  padding: 15px;
  border-radius: 12px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(rgb(10, 10, 10) 20%, rgb(28, 28, 28) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tool-top-row {
  display: flex;
  /* align-items: center; */
  gap: 20px;
  width: 100%;
}

.tool-icon {
  font-size: 2.8rem;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  flex-shrink: 0;
  overflow: hidden;
  /* Ensure image doesn't overflow rounded corners */
  image-rendering: optimizeQuality !important;
}

.tool-main-image-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto !important;
  background: white;
}

.tool-info {
  flex: 1;
}

.tool-name {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 4px;
  font-size: 1rem;
}

.tool-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
  font-family: 'nunito sans';
  padding-top: 10px;
}

.tool-amazon-button {
  margin-top: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.tool-price-tag {
  display: block;
  width: 100%;
  text-align: center;
  color: #8bc239;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 10px;
  margin: 15px 0;
}

.tool-price-tag.pulse-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
}

@keyframes pricePulse {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    opacity: 0.4;
  }
}

.tool-amazon-button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: grayscale(1) invert(1) brightness(2);
  transition: all 0.3s ease;
}

.tool-card:hover .tool-amazon-button {
  background: #ff9900;
  border-color: #ff9900;
  color: #000;
}

/* Custom/Generic Link Hover (Gold) */
.tool-card:hover .tool-amazon-button.generic-link,
.tool-card:hover .tool-amazon-button.custom-link {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000;
}

.tool-card:hover .tool-amazon-button img {
  filter: grayscale(0) invert(0) brightness(1);
}

.tool-card:hover .tool-amazon-button img.tool-custom-icon {
  filter: brightness(1.2);
}

.tool-custom-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: cover !important;
  border-radius: 4px;
}

.link-icon {
  font-size: 1.1rem;
}

.gallery-header-panel {
  margin-bottom: 30px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.gallery-filter-tag {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.gallery-filter-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.gallery-filter-tag.active {
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8860b 100%);
  border-color: var(--color-gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.empty-state {
  width: 100%;
  padding: 100px 20px;
  text-align: center;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
}

.gallery-custom-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 0;
  min-height: 80vh;
}

.gallery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--color-gold);
  font-family: var(--font-body);
  letter-spacing: 2px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 215, 0, 0.1);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
  padding-bottom: 50px;
}

.gallery-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

#gallery-overlay {
  scroll-behavior: smooth;
}

.gallery-section {
  margin-bottom: 50px;
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 0.2;
  transform: scale(0.98);
}

.gallery-section.section-focus {
  opacity: 1;
  transform: scale(1);
}

.gallery-section-title {
  font-family: var(--font-body);
  font-size: 1.8em;
  color: white;
  margin-bottom: 25px;
  text-align: left;
  padding-left: 20px;
  border-left: 5px solid var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-item-card {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  will-change: transform, opacity;
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease-out;
}

.gallery-item-card.is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.gallery-img-wrapper {
  overflow: hidden;
}

.gallery-img-wrapper img,
.gallery-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  image-rendering: auto !important;
}

.gallery-item-card:hover .gallery-img-wrapper img,
.gallery-item-card:hover .gallery-img-wrapper video {
  transform: scale(1.1);
}

.video-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  pointer-events: none;
  z-index: 5;
}

.gallery-item-info {
  position: absolute;
  inset: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item-card:hover .gallery-item-info {
  opacity: 1;
}

.gallery-item-title {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.lightbox-overlay.visible {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 30005;
}

.lightbox-close:hover {
  background: rgba(255, 0, 0, 0.3);
  transform: scale(1.1);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgb(255 241 22 / 26%);
  color: #fff;
  width: 60px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 30005;
}

.lightbox-nav:hover {
  background: rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.6);
}

.lightbox-nav.prev {
  left: 20px;
  border-radius: 0 15px 15px 0;
}

.lightbox-nav.next {
  right: 20px;
  border-radius: 15px 0 0 15px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 50px;
    height: 80px;
    font-size: 30px;
  }
}

/* ZOOMABLE IMAGES (Blog) */
.zoomable-image {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* BLOG VIDEOS & EMBEDS */
.post-text video,
.post-text iframe {
  max-width: 100%;
  border-radius: 12px;
  display: block;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-text iframe {
  aspect-ratio: 16 / 9;
  border: none;
  width: 100%;
  /* Default to full width, formatting tool can override */
}

/* Ensure video content respects the custom width applied by the editor */
.post-text video[style*="width"],
.post-text iframe[style*="width"] {
  max-width: 50% !important;
}

.archive-badge-new {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  border-radius: 4px;
}

.archive-card,
.archive-list-row {
  position: relative;
}

/* NEWSLETTER POPUP */
.newsletter-overlay {
  position: fixed;
  inset: 0;
  z-index: 15000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.newsletter-overlay.visible {
  display: flex;
  opacity: 1;
}

.newsletter-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, #1a1612 0%, #0c0a09 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.newsletter-overlay.visible .newsletter-card {
  transform: translateY(0);
}

.close-newsletter-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-newsletter-btn:hover {
  color: #fff;
}

.newsletter-art-badge {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
}

.len-banana {
  width: 120px;
  height: auto;
  animation: len-bounce 4s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

@keyframes len-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.newsletter-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
  color: var(--color-gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.newsletter-text {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 30px;
}

.newsletter-text strong:nth-of-type(1) {
  color: #ffd700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.newsletter-text strong:nth-of-type(2) {
  color: #ffeb3b;
}

.newsletter-text strong:nth-of-type(3) {
  color: #fff9c4;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-gold);
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8860b 100%);
  border: none;
  border-radius: 12px;
  padding: 16px;
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.newsletter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

.newsletter-success-msg {
  margin-top: 20px;
  color: #4cd137;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Shop Action Buttons Layout */
.shop-actions-row {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.design-buy-button {
  margin-top: 0 !important;
  flex: 1;
  min-width: 200px;
}

.gallery-direct-link {
  flex: 0 0 auto;
}

/* DESIGN NAVIGATION ARROWS */
.design-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--color-gold);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
}

.design-nav-arrow:hover {
  background: var(--color-gold);
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.design-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.design-nav-arrow.prev {
  left: -20px;
}

.design-nav-arrow.prev .arrow-icon {
  transform: translateX(-2px);
}

.design-nav-arrow.next {
  right: -20px;
}

.design-nav-arrow.next .arrow-icon {
  transform: translateX(2px);
}

.design-nav-arrow .arrow-icon {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: normal;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .design-nav-arrow {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
  }

  .post-detail-layout {
    padding: 0px !important;
  }

  .design-nav-arrow .arrow-icon {
    font-size: 1.5rem;
  }
}

/* =============================================================================
   ARCHIVE (BLOG) STYLES
   ============================================================================= */
.archive-header {
  text-align: center;
  display: none !important;
}

.archive-title {
  font-family: var(--font-body);
  font-size: 2rem;
  color: var(--color-gold);
  margin-top: 5px;
  margin-bottom: 5px;
  text-shadow: 0 0 30px rgba(218, 165, 32, 0.4);
}

.archive-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.archive-container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px 100px;
}

.archive-card {
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 4px;
}

.archive-card:hover {
  transform: translateY(-8px);
  background: #000;
  border-color: var(--color-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.archive-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  padding: 12px;
  box-sizing: border-box;
}

.archive-card-image::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 4px;
}

.archive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.archive-card-content {
  padding: 10px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.archive-card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgb(255 255 255 / 34%);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.archive-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
}

.archive-card-date {
  font-family: monospace;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.archive-card-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: capitalize;
  letter-spacing: 1px;
  opacity: 0.65;
}

.archive-card-views, .list-row-views, .post-detail-views {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-gold);
  opacity: 0.6;
  font-size: 0.75rem;
  font-weight: 500;
}

.archive-grid {
  display: none;
}

.archive-grid.visible {
  display: block;
}

.archive-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .archive-featured-grid {
    grid-template-columns: 1fr;
  }
}

.archive-post-detail {
  padding-bottom: 50px;
}

.post-detail-layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.post-main-column {
  flex: 1;
  min-width: 0;
}

.post-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.post-breadcrumbs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item:hover {
  color: var(--color-gold);
}

.breadcrumb-separator {
  opacity: 0.3;
}

.breadcrumb-back-link {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-back-link:hover {
  opacity: 0.8;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--color-white);
  padding: 12px 20px;
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 4px 4px 0;
}

.sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 15px;
}

.sidebar-item {
  display: flex;
  gap: 15px;
  padding: 10px;
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar-item:hover {
  background: #000000;
  transform: translateX(5px);
}

.sidebar-thumb {
  width: 100px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-info {
  flex: 1;
  min-width: 0;
}

.sidebar-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.sidebar-item-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}

.post-body {
  text-align: left;
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 8px;
  padding: 35px;
}

.blog-pad {
  padding-top: 25px !important;
}

.premium-title {
  font-family: var(--font-inter);
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.post-date {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.post-hero {
  width: 100%;
  margin-bottom: 35px;
  display: flex;
  justify-content: left;
  align-items: center;
}

.post-hero img {
  width: auto;
  max-width: 70%;
  height: auto;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-text {
  font-family: var(--font-inter);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.post-text a {
  color: var(--color-gold);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.post-text a:hover {
  opacity: 0.7;
}

.post-text p {
  margin-bottom: 40px;
}

.post-text hr {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 215, 0, 0), rgb(255 255 255 / 60%), rgba(255, 215, 0, 0));
  margin: 50px auto;
  opacity: 0.8;
}

.archive-list-row {
  display: flex;
  gap: 25px;
  background: #000;
  border: 1px solid rgb(255 241 22 / 26%);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.archive-list-row:hover {
  background: #000;
  border-color: var(--color-gold);
  transform: translateX(8px);
}

.list-row-image {
  position: relative;
  width: 260px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.list-row-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  z-index: 2;
}

.list-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-row-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.list-row-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 12px;
  line-height: 1.3;
}

.list-row-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-row-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.list-row-tag {
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .post-detail-layout {
    flex-direction: column;
  }

  .archive-container {
    width: 100%;
    padding: 20px;
  }

  .post-sidebar {
    width: 100%;
  }

  .archive-header {
    display: block !important;
    padding-top: 3%;
    padding-bottom: 4%;
  }

  .premium-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .archive-list-row {
    flex-direction: column;
    gap: 15px;
  }

  .list-row-image {
    width: 100%;
    height: 200px;
  }

  .list-row-title {
    font-size: 1.2rem;
  }

  .archive-card-title {
    font-size: 1.1rem;
  }

  .post-breadcrumbs {
    font-size: 0.8rem;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .post-body {
    padding: 20px;
  }
}

.post-text h2,
.post-text h3 {
  font-family: var(--font-title);
  color: var(--color-gold);
  margin: 40px 0 20px;
}

.archive-load-more-container {
  display: none;
  justify-content: center;
  margin-top: 50px;
  padding-bottom: 50px;
}

.premium-load-more {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--color-gold);
  padding: 12px 40px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.premium-load-more:hover {
  background: var(--color-gold);
  color: #000;
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .archive-container {
    padding: 0 10px 60px;
    padding-top: 40px;
    padding-bottom: 200px;
  }

  .post-hero {
    height: auto;
    max-height: 350px;
    border-radius: 10px;
    margin-bottom: 25px;
  }

  .post-hero img {
    max-width: 70%;
  }

  .premium-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .post-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   22. PRIVACY POLICY CONTENT
   ============================================================================= */
.privacy-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 25px 120px 25px;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  line-height: 1.8;
}

.privacy-container {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.privacy-container h1 {
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.privacy-lang-switch {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: white;
}

.lang-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: scale(1.1);
  border-color: var(--color-gold);
}

.lang-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  color: black;
}

.privacy-lang-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.privacy-lang-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.privacy-date {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
  font-style: italic;
}

.privacy-section {
  margin-bottom: 35px;
}

.privacy-section h3 {
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-section h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--color-gold);
  border-radius: 2px;
}

.privacy-section p {
  margin-bottom: 15px;
}

.privacy-section ul {
  margin-left: 25px;
  margin-bottom: 20px;
  list-style-type: none;
}

.privacy-section li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.privacy-section li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8rem;
}

.privacy-footer-links {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .privacy-content {
    padding-top: 100px;
  }

  .privacy-container {
    padding: 25px;
    border-radius: 16px;
  }

  .privacy-container h1 {
    font-size: 1.7rem;
  }
}

/* PREMIUM FAQ SECTION */
.faq-content {
  width: 100%;
  padding: 0px 5% 130%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.2) 0%, transparent 70%);
}

.faq-container {
  width: 100%;
  max-width: 850px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 32px;
  padding: 60px 50px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(255, 215, 0, 0.05);
  text-align: left;
}

.faq-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 2.3rem);
  color: var(--color-gold);
  background: var(--color-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: -1px;
}

.faq-subtitle {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 60px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.faq-section-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--color-gold);
  margin: 100px 0 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}



.faq-item {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 22px 25px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--color-gold);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-gold);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 165, 32, 0.1);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: var(--color-gold);
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 25px 22px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.faq-answer strong {
  color: #fff;
  font-weight: 700;
}

.faq-answer u {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.faq-answer p {
  padding: 0 25px 25px;
  margin: 0;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-footer {
  margin-top: 80px;
  text-align: center;
  font-family: var(--font-body);
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-footer a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--color-gold);
  transition: all 0.3s ease;
}

.faq-footer a:hover {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  border-bottom-style: solid;
}

@media (max-width: 768px) {
  .faq-content {
    padding-top: 30px;
    padding-bottom: 1600px;
  }

  .faq-container {
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.9);
    border: none;
    backdrop-filter: none;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-question {
    padding: 18px 15px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 15px 20px;
    font-size: 0.95rem;
  }
}