﻿.single-main {
  background: #fbf8f9;
  max-width: none;
  width: 100%;
  padding: 0;
}

.single-1 {
  color: #111827;
}

.single-1__hero {
  background: #fff;
}

.single-1__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 18px;
}

.single-1__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
}

.single-1__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.single-1__breadcrumbs a:hover {
  color: #111827;
}

.single-1__title {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 700;
}

.single-1__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 18px;
}

.single-1__meta {
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.single-1__meta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr auto;
  gap: 18px;
  align-items: center;
}

.single-1__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-1__author-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.single-1__author-link:hover {
  text-decoration: underline;
}

.single-1__avatar img {
  border-radius: 999px;
}

.single-1__role {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.single-1__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
  min-width: 0;
}

.single-1__time .single-1__value {
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-1__share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  position: relative;
}

.share-btn[data-tooltip]::after,
.font-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #111827;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.share-btn[data-tooltip]::before,
.font-btn[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.share-btn:hover::after,
.share-btn:hover::before,
.font-btn:hover::after,
.font-btn:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.font-btn[data-tooltip]::after {
  top: -38px;
  bottom: auto;
}

.font-btn[data-tooltip]::before {
  top: -12px;
  bottom: auto;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #111827 transparent;
}

.share-btn img {
  width: 22px;
  height: 22px;
}

.share-btn--fb {
  background: #1877f2;
  border-color: #1877f2;
}

.share-btn--fb img,
.share-btn--x img,
.share-btn--wa img,
.share-btn--tg img,
.share-btn--pin img,
.share-btn--copy img {
  filter: brightness(0) invert(1);
}

.share-btn--x {
  background: #111111;
  border-color: #111111;
}

.share-btn--wa {
  background: #25d366;
  border-color: #25d366;
}

.share-btn--tg {
  background: #229ed9;
  border-color: #229ed9;
}

.share-btn--pin {
  background: #bd081c;
  border-color: #bd081c;
}

.share-btn--copy {
  background: #111827;
  border-color: #111827;
}

.share-btn.is-copied {
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.15);
}

.copy-toast {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #111827;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-btn.is-copied .copy-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.single-1__fontsize {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.font-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.font-btn:hover {
  border-color: #cbd5f5;
}

.single-1__content {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 40px;
  font-size: 16px;
  line-height: 1.85;
  color: #1f2937;
  flex: 1;
  min-width: 0;
}

.single-1__content p {
  margin: 0 0 16px;
}

.single-1__content blockquote {
  margin: 24px 0;
  padding: 22px 26px;
  background: #fff5c7;
  border: 1px solid #f3e3a4;
  border-radius: 14px;
  color: #3b3f45;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.single-1__content blockquote::before,
.single-1__content blockquote::after {
  content: "“";
  font-size: 36px;
  color: #2f343b;
  position: absolute;
  top: 10px;
}

.single-1__content blockquote::before {
  left: 18px;
}

.single-1__content blockquote::after {
  content: "”";
  right: 18px;
}

.single-1__content blockquote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.single-1__content blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: #6b7280;
}

.single-1__content ul,
.single-1__content ol {
  margin: 0 0 18px 18px;
  padding: 0;
}

.single-1__content li {
  margin: 8px 0;
}

.single-1__content ul li::marker {
  color: #e1062d;
}

.single-1__content ol li::marker {
  color: #111827;
  font-weight: 600;
}

.single-1__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 14px;
}

.single-1__content table th,
.single-1__content table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}

.single-1__content table th {
  background: #f8fafc;
  font-weight: 700;
}

.single-1__content table tr:nth-child(even) td {
  background: #fcfcfd;
}

.single-1__content iframe,
.single-1__content video,
.single-1__content embed {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.single-1__content img {
  max-width: 100%;
  height: auto;
}

.single-1__content iframe {
  aspect-ratio: 16 / 9;
  border: 0;
}

.single-1__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.single-1__tags a {
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  position: relative;
  text-transform: lowercase;
}

.single-1__tags a::before {
  content: "#";
  margin-right: 4px;
  color: #111827;
}

.single-1__comments {
  margin: 0;
  padding: 0;
}

.single-comments {
  background: #f8f9fb;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #edf0f5;
}

.single-comments__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 18px;
}

.single-comments__hash {
  color: #0ea5e9;
  font-weight: 800;
}

.single-comments__count {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.comment-form .logged-in-as,
.comment-form .comment-notes {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 6px;
}

.comment-form .logged-in-as a {
  color: #0f172a;
  font-weight: 600;
}

.comment-form .logged-in-as a:last-child {
  color: #e11d48;
}

.comment-field {
  display: grid;
  gap: 6px;
}

.comment-field label {
  font-size: 12px;
  color: #6b7280;
}

.comment-field.full {
  grid-column: 1 / -1;
}

.comment-input input,
.comment-input textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
}

.comment-submit {
  justify-self: end;
  border: 0;
  background: #0f172a;
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.comment-submit span {
  margin-right: 8px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.comment-list .comment-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #eef2f7;
}

.comment-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.comment-avatar img {
  border-radius: 50%;
}

.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: #6b7280;
}

.comment-author-name {
  color: #111827;
  font-weight: 700;
}

.comment-edit a,
.comment-edit {
  color: #94a3b8;
  font-size: 11px;
}

.comment-text {
  margin-top: 6px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

.comment-text p {
  margin: 0;
}

.comment-actions {
  margin-top: 8px;
}

.comment-actions a {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comment-list .children {
  list-style: none;
  margin: 12px 0 0 44px;
  padding-left: 16px;
  border-left: 1px dashed #e5e7eb;
}

.comment-list .comment-author img {
  border-radius: 50%;
}

.comment-list .comment-content p {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .comment-form {
    grid-template-columns: 1fr;
  }
  .comment-submit {
    justify-self: start;
  }
}

.single-1__featured {
  margin: -24px -20px 20px;
}

.single-1__featured img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.single-1__layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.single-infinite-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.single-infinite-sentinel {
  width: 100%;
  height: 1px;
}

.single-1__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-1__sidebar {
  position: relative;
  padding-top: 0;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-1__sidebar-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  color: #6b7280;
  background: #fff;
}

.sidebar-widget {
  --widget-accent: #0f172a;
}

.sidebar-widget__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #111827;
  font-size: 14px;
  margin-bottom: 14px;
}


.sidebar-widget__header img {
  width: 16px;
  height: 16px;
}

.sidebar-widget__line {
  flex: 1;
  height: 1px;
  background: var(--widget-accent);
  margin-left: 8px;
  opacity: 0.2;
}

.sidebar-widget__list {
  display: grid;
  gap: 14px;
}

.sidebar-widget__item {
  position: relative;
  padding-left: 16px;
  display: grid;
  gap: 6px;
}

.sidebar-widget__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  bottom: -10px;
  width: 1px;
  background: #eef0f4;
}

.sidebar-widget__item:last-child::before {
  display: none;
}

.sidebar-widget__dot {
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--widget-accent);
  background: #fff;
}

.sidebar-widget__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  width: fit-content;
  background: var(--widget-accent);
}

.sidebar-widget__badge--sport {
  background: #34c759;
}

.sidebar-widget__badge--economy {
  background: #111827;
}

.sidebar-widget__badge--life {
  background: #8b5cf6;
}

.sidebar-widget__title {
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-feature {
  display: grid;
  gap: 12px;
}

.sidebar-feature__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.sidebar-feature__slides {
  position: relative;
}

.sidebar-feature__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  color: inherit;
}

.sidebar-feature__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.sidebar-feature__slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.sidebar-feature__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--widget-accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar-feature__nav--prev {
  left: 10px;
}

.sidebar-feature__nav--next {
  right: 10px;
}

.sidebar-feature__title {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #111827;
  margin: 0;
  padding: 12px 12px 14px;
  background: #fff;
}

.sidebar-media-list {
  display: grid;
  gap: 12px;
}

.sidebar-media-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  font-size: 13px;
}

.sidebar-media-item img {
  width: 86px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.sidebar-trend {
  --trend-bg: #0f7a7b;
  --trend-accent: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  padding: 16px;
}

.sidebar-trend-widget--dark {
  padding: 0;
  background: transparent;
  border: none;
}

.sidebar-trend-widget--dark .sidebar-trend--teal {
  margin: 0;
}

.sidebar-trend-widget--light {
  padding: 0;
  background: transparent;
  border: none;
}

.sidebar-trend-widget--light .sidebar-trend--light {
  margin: 0;
}

.sidebar-trend__list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.sidebar-trend__item {
  display: grid;
  grid-template-columns: 28px 48px 1fr;
  gap: 10px;
  align-items: center;
  color: inherit;
}

.sidebar-trend__index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-trend__item img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.sidebar-trend--teal {
  background: var(--trend-bg);
  color: #fff;
}

.sidebar-trend--teal .sidebar-trend__index {
  background: var(--trend-accent);
  color: #fff;
}

.sidebar-trend--teal .sidebar-widget__header {
  color: #fff;
}

.sidebar-trend--teal .sidebar-widget__line {
  background: rgba(255, 255, 255, 0.4);
}

.sidebar-trend--teal .sidebar-widget__header img {
  filter: brightness(0) invert(1);
}

.sidebar-trend--light {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
}

.sidebar-trend--light .sidebar-trend__index {
  background: var(--trend-accent, #eef2f7);
  color: #111827;
}

@media (max-width: 1024px) {
  .single-1__meta-inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }
  .single-1__share {
    grid-column: 1 / -1;
  }
  .single-1__fontsize {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .single-1__title {
    font-size: 24px;
  }
  .single-1__meta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
  }
  .single-1__share {
    flex-wrap: wrap;
  }
  .single-1__author {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .single-1__share {
    order: 3;
    width: 100%;
  }
  .single-1__time {
    order: 2;
    flex: 0 0 auto;
    font-size: 11px;
    gap: 2px;
    max-width: 48%;
  }
  .single-1__time:nth-of-type(2) {
    display: flex;
  }
  .single-1__fontsize {
    order: 4;
    justify-content: flex-start;
    width: 100%;
  }
  .single-1__layout {
    flex-direction: column;
  }
  .single-1__sidebar {
    width: 100%;
  }
  .single-1__sidebar-box {
    padding: 12px;
  }
  .sidebar-media-item {
    grid-template-columns: 70px 1fr;
  }
  .sidebar-media-item img {
    width: 70px;
    height: 50px;
  }
}
