/* ============================================================
   GTA 6 Tricks — Pages CSS
   Single post, archive, search, pagination, comments
   ============================================================ */

/* ============================================================
   1. BREADCRUMB
   ============================================================ */
.g6t-breadcrumb { background: #FAFAFB; border-bottom: 1px solid #E5E5EC; padding: 12px 0; font-size: 0.8125rem; color: #6B6B7B; }
.g6t-breadcrumb__inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.g6t-breadcrumb a { color: #6B6B7B; text-decoration: none; transition: color 200ms; }
.g6t-breadcrumb a:hover { color: #FF1F8F; }
.g6t-breadcrumb__sep { margin: 0 8px; color: #D1D1D9; }
.g6t-breadcrumb__current { color: #0A0A0F; font-weight: 500; }

/* ============================================================
   2. SINGLE POST
   ============================================================ */
.g6t-article__header {
  background: linear-gradient(180deg, #FAFAFB 0%, #fff 100%);
  padding: 48px 0 32px;
  text-align: center;
  border-bottom: 1px solid #E5E5EC;
}
.g6t-article__category {
  display: inline-block;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity 200ms;
}
.g6t-article__category:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.g6t-article__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0A0A0F;
  margin: 0 0 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.g6t-article__excerpt {
  font-size: 1.125rem;
  color: #4A4A5A;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 24px;
}
.g6t-article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: #6B6B7B;
}
.g6t-article__author {
  display: flex; align-items: center; gap: 8px;
}
.g6t-article__author img {
  width: 32px; height: 32px; border-radius: 50%;
}
.g6t-article__author-name a { color: #0A0A0F; font-weight: 500; text-decoration: none; }
.g6t-article__author-name a:hover { color: #FF1F8F; }
.g6t-article__date, .g6t-article__updated, .g6t-article__reading { white-space: nowrap; }

.g6t-article__featured {
  margin: 0 0 48px;
}
.g6t-article__featured img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(10,10,15,0.08);
}
.g6t-article__featured-caption {
  text-align: center;
  font-size: 0.8125rem;
  color: #6B6B7B;
  margin-top: 12px;
}

.g6t-article__wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 64px;
  display: grid;
  grid-template-columns: minmax(0, 720px) 320px;
  gap: 64px;
  align-items: flex-start;
}

.g6t-article__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #1A1A24;
  max-width: 720px;
}
.g6t-article__body h2 { font-size: 1.875rem; margin: 2.5em 0 0.75em; }
.g6t-article__body h3 { font-size: 1.5rem; margin: 2em 0 0.5em; }
.g6t-article__body p { margin-bottom: 1.5em; }
.g6t-article__body img { border-radius: 12px; margin: 2em 0; }
.g6t-article__body figure { margin: 2em 0; }
.g6t-article__body figcaption { font-size: 0.875rem; color: #6B6B7B; text-align: center; margin-top: 8px; }
.g6t-article__body ul, .g6t-article__body ol { margin-bottom: 1.5em; padding-left: 1.5em; }
.g6t-article__body li { margin-bottom: 0.5em; }
.g6t-article__body blockquote {
  border-left: 4px solid #FF1F8F;
  padding: 16px 0 16px 24px;
  margin: 2em 0;
  font-style: italic;
  color: #4A4A5A;
  font-size: 1.125rem;
}
.g6t-article__body code {
  background: #F2F2F5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'JetBrains Mono', monospace;
}
.g6t-article__body pre {
  background: #0A0A0F;
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 2em 0;
}
.g6t-article__body pre code { background: transparent; padding: 0; color: #fff; }

.g6t-page-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 2em 0;
  font-size: 0.9375rem;
}

.g6t-article__sidebar {
  position: sticky;
  top: 80px;
}
.g6t-article__sidebar .g6t-widget {
  background: #FAFAFB;
  border: 1px solid #E5E5EC;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.g6t-article__sidebar .g6t-widget__title {
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0A0A0F;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FF1F8F;
}
.g6t-article__sidebar .g6t-widget__list { list-style: none; padding: 0; margin: 0; }
.g6t-article__sidebar .g6t-widget__list li { margin-bottom: 8px; }
.g6t-article__sidebar .g6t-widget__list a { color: #1A1A24; font-size: 0.875rem; text-decoration: none; }
.g6t-article__sidebar .g6t-widget__list a:hover { color: #FF1F8F; }

.g6t-article__footer {
  background: #FAFAFB;
  border-top: 1px solid #E5E5EC;
  padding: 32px 0;
  margin-top: 32px;
}
.g6t-article__footer > .g6t-container { display: flex; flex-direction: column; gap: 20px; }
.g6t-article__tags-label, .g6t-article__share-label { font-weight: 600; color: #0A0A0F; margin-right: 8px; }
.g6t-article__tags a { display: inline-block; background: #fff; border: 1px solid #E5E5EC; padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; color: #1A1A24; text-decoration: none; margin-right: 4px; margin-bottom: 4px; }
.g6t-article__tags a:hover { background: #FF1F8F; color: #fff; border-color: #FF1F8F; }
.g6t-article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.g6t-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #0A0A0F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms;
}
.g6t-share__btn:hover { background: #FF1F8F; color: #fff; text-decoration: none; }

.g6t-author-box-wrapper { background: #fff; padding: 32px 0; border-top: 1px solid #E5E5EC; }
.g6t-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #FAFAFB;
  border: 1px solid #E5E5EC;
  border-radius: 16px;
}
.g6t-author-box__avatar-img { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; }
.g6t-author-box__name { margin: 0 0 4px; font-size: 1.125rem; }
.g6t-author-box__name a { color: #0A0A0F; text-decoration: none; }
.g6t-author-box__name a:hover { color: #FF1F8F; }
.g6t-author-box__bio { color: #4A4A5A; font-size: 0.9375rem; line-height: 1.6; margin: 0 0 8px; }
.g6t-author-box__more { color: #FF1F8F; font-weight: 600; font-size: 0.875rem; text-decoration: none; }

.g6t-related { padding: 64px 0; background: #fff; border-top: 1px solid #E5E5EC; }
.g6t-related__title { font-size: 1.75rem; margin: 0 0 32px; }
.g6t-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.g6t-newsletter-inline-wrapper { background: #fff; padding: 0 0 64px; }

.g6t-comments-wrapper { background: #FAFAFB; padding: 64px 0; border-top: 1px solid #E5E5EC; }

@media (max-width: 1024px) {
  .g6t-article__wrapper { grid-template-columns: 1fr; gap: 32px; }
  .g6t-article__sidebar { position: static; }
  .g6t-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .g6t-article__header { padding: 32px 0 24px; }
  .g6t-article__meta { flex-direction: column; gap: 8px; }
  .g6t-related__grid { grid-template-columns: 1fr; }
  .g6t-author-box { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   3. ARCHIVE
   ============================================================ */
.g6t-archive__header {
  background: #0A0A0F;
  color: #fff;
  padding: 64px 0 48px;
  text-align: center;
}
.g6t-archive__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.g6t-archive__desc {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: 1.0625rem;
  color: #B5B5C0;
  line-height: 1.6;
}
.g6t-archive__count {
  display: inline-block;
  font-size: 0.875rem;
  color: #6B6B7B;
  background: #1A1A24;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}

.g6t-archive__list { padding: 48px 0 64px; background: #fff; }

/* ============================================================
   4. PAGINATION
   ============================================================ */
.g6t-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.g6t-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.g6t-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  color: #1A1A24;
  text-decoration: none;
  font-weight: 500;
  transition: all 200ms;
}
.g6t-pagination .page-numbers:hover { border-color: #FF1F8F; color: #FF1F8F; text-decoration: none; }
.g6t-pagination .page-numbers.current { background: #FF1F8F; color: #fff; border-color: #FF1F8F; }
.g6t-pagination .page-numbers.dots { background: transparent; border: none; }

/* ============================================================
   5. EMPTY STATE
   ============================================================ */
.g6t-empty-state {
  text-align: center;
  padding: 64px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.g6t-empty-state .g6t-icon {
  width: 48px; height: 48px;
  color: #D1D1D9;
  margin-bottom: 16px;
}
.g6t-empty-state h2 { font-size: 1.5rem; margin: 0 0 8px; }
.g6t-empty-state p { color: #6B6B7B; margin: 0 0 24px; }
.g6t-empty-state__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   6. SEARCH
   ============================================================ */
.g6t-search__query { color: #FF1F8F; }
.g6t-search__form-inline {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 24px auto 0;
}
.g6t-search__input-inline {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #fff;
}
.g6t-search__input-inline::placeholder { color: #6B6B7B; }
.g6t-search__input-inline:focus { outline: none; border-color: #FF1F8F; }

/* ============================================================
   7. COMMENTS
   ============================================================ */
.g6t-comments-wrapper .comments-area { max-width: 720px; margin: 0 auto; }
.g6t-comments-wrapper h2.comments-title,
.g6t-comments-wrapper h3#reply-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin: 0 0 24px; }
.g6t-comments-wrapper .comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.g6t-comments-wrapper .comment-body { background: #fff; border: 1px solid #E5E5EC; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.g6t-comments-wrapper .comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.g6t-comments-wrapper .comment-meta img { width: 40px; height: 40px; border-radius: 50%; }
.g6t-comments-wrapper .comment-author { font-weight: 600; color: #0A0A0F; }
.g6t-comments-wrapper .comment-metadata { font-size: 0.8125rem; color: #6B6B7B; }
.g6t-comments-wrapper .comment-content p { margin: 8px 0; }
.g6t-comments-wrapper .reply { margin-top: 8px; }
.g6t-comments-wrapper .reply a { color: #FF1F8F; font-size: 0.875rem; text-decoration: none; }
.g6t-comments-wrapper .comment-respond { background: #fff; border: 1px solid #E5E5EC; border-radius: 12px; padding: 24px; }
.g6t-comments-wrapper .comment-form input[type="text"],
.g6t-comments-wrapper .comment-form input[type="email"],
.g6t-comments-wrapper .comment-form input[type="url"],
.g6t-comments-wrapper .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  background: #FAFAFB;
  color: #0A0A0F;
}
.g6t-comments-wrapper .comment-form input:focus,
.g6t-comments-wrapper .comment-form textarea:focus { outline: none; border-color: #FF1F8F; background: #fff; }
.g6t-comments-wrapper .comment-form label { display: block; font-weight: 500; margin-bottom: 4px; }
.g6t-comments-wrapper .form-submit input[type="submit"] {
  background: #FF1F8F;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms;
}
.g6t-comments-wrapper .form-submit input[type="submit"]:hover { background: #E60E7A; }

/* ============================================================
   8. BACK TO TOP
   ============================================================ */
.g6t-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #0A0A0F;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 200ms;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.g6t-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.g6t-back-to-top:hover { background: #FF1F8F; }
.g6t-back-to-top .g6t-icon { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .g6t-back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ============================================================
   9. SIDEBAR (MENU WIDGET FIX)
   ============================================================ */
.g6t-widget__list { list-style: none; padding: 0; margin: 0; }
.g6t-widget__list li { padding: 8px 0; border-bottom: 1px solid #E5E5EC; }
.g6t-widget__list li:last-child { border-bottom: none; }
.g6t-widget__list a { color: #1A1A24; text-decoration: none; display: flex; justify-content: space-between; align-items: center; }
.g6t-widget__list a:hover { color: #FF1F8F; }
