article > *:not(:where(:last-child)) {
  margin-bottom: 1.5rem;
}
article
  :where(
    p,
    hr,
    figure,
    img,
    blockquote,
    ul,
    ol,
    pre,
    table,
    video,
    audio,
    iframe,
    details,
    div[class*="typo-"]
  ):not(
    :where(
      video[class],
      audio[class],
      :last-child,
      :where(figure, blockquote) :last-of-type
    )
  ) {
  margin-bottom: 1.5rem;
}

article :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

article :where(ul, ol) {
  padding-inline-start: 1.5rem;
}
article :where(ul) {
  list-style-type: square;
}
article :where(ol) {
  list-style-type: decimal;
}

article :where(table) {
  border-collapse: collapse;
}
article :where(tr > *) {
  padding: var(--typo-table-cell-padding);
  border: 1px solid var(--typo-border-color);
  word-break: normal;
}
article :where(blockquote) {
  border-inline-start: 3px solid var(--typo-border-color);
  padding-inline-start: var(--typo-spacing);
}

article :where(figcaption) {
  text-align: center;
  margin-top: var(--typo-caption-spacing);
  font-size: var(--typo-caption-size);
}
article :where(img, video, iframe, figure) {
  display: block;
  max-width: 100%;
  height: auto;
}
article :where(audio) {
  width: 100%;
}
article :where(iframe[src*="vimeo" i], iframe[src*="youtube" i], video) {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}

.mainter-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 0 5px 0;
  font-size: 0.85rem;
  color: #6b7280;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.mainter-breadcrumbs .separator,
.mainter-breadcrumbs a {
  flex-shrink: 0;
}
.mainter-breadcrumbs .current-item,
.mainter-breadcrumbs span:last-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #374151;
  font-weight: 500;
}
.mainter-breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.crumb-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.crumb-link:hover {
  color: var(--theme-color-brand, #e25822);
  text-decoration: underline;
}
.sep {
  color: #d1d5db;
  font-size: 10px;
  user-select: none;
}
.crumb-current {
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}
@media (max-width: 600px) {
  .mainter-breadcrumbs {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }
  .mainter-breadcrumbs .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .mainter-breadcrumbs .container::-webkit-scrollbar {
    display: none;
  }
  .crumb-current {
    max-width: none;
    color: #374151;
    padding-right: 15px;
  }
}
.full-width-layout-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 50px;
  overflow: hidden;
}
.app-store-header {
  position: relative;
  background-color: #050505;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
  margin-bottom: 0;
}
.app-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(50px) brightness(0.35);
  transform: scale(1.2);
  z-index: 1;
  pointer-events: none;
}
.app-store-container {
  position: relative;
  z-index: 2;
}
.app-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}
.app-poster {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 2/3;
  border-radius: 15px;
  overflow: hidden;
  background: #222;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.app-poster:hover {
  transform: rotate(0) scale(1.02);
}
.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-info {
  flex-grow: 1;
}
.app-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.badge-new {
  background: #00e676;
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
}
.badge-cat {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-title {
  font-size: clamp(1rem, 5vw, 2.65rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
@media (max-width: 900px) {
  .app-store-header {
    padding: 50px 0;
  }
  .app-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .app-poster {
    width: 200px;
    transform: rotate(0);
    margin: 0 auto;
  }
  .app-title {
    font-size: 2.2rem;
  }
  .app-actions,
  .app-badges {
    justify-content: center;
  }
}
.single-hero-header {
  height: 40vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #000;
  color: #fff;
}
.single-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.single-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.single-hero-container {
  position: relative;
  z-index: 3;
}
.single-hero-title {
  font-size: clamp(1rem, 5vw, 2.65rem);
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.hero-cat {
  background: #e25822;
  padding: 5px 15px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .app-grid {
    flex-direction: column;
    text-align: center;
  }
  .app-poster {
    width: 180px;
    margin: 0 auto;
  }
}
.entry-header {
  margin-bottom: 30px;
}
.entry-header .post-thumbnail {
  margin-top: 20px;
}
.entry-header .post-thumbnail img {
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}
.comments-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}
.comment-form {
  background: var(--card-bg, #fff);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}
.comment-notes,
.logged-in-as {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}
.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.comment-form input[type="email"],
.comment-form input[type="text"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 15px;
  background: #f9f9f9;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--theme-text-main);
}
.comment-form input:focus,
.comment-form textarea:focus {
  background: #fff;
  border-color: var(--theme-color-brand);
  outline: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}
.comment-form .submit {
  background: var(--theme-color-brand) !important;
  color: #fff !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  font-weight: 700;
  margin-top: 10px;
  width: auto;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}
.comment-form .submit:hover {
  opacity: 0.9;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment-body {
  background: var(--card-bg, #fff);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.comment-body:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.comment-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}
.avatar {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  object-fit: cover;
  border: 2px solid var(--theme-color-brand);
  padding: 2px;
}
.fn {
  font-style: normal;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--theme-text-main);
}
.fn a {
  color: inherit;
  text-decoration: none;
}
.comment-metadata {
  margin-left: auto;
  font-size: 0.85rem;
  color: #888;
}
.comment-metadata a {
  color: #888;
  text-decoration: none;
}
.comment-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--theme-text-main);
}
.reply {
  text-align: right;
}
.comment-reply-link {
  display: inline-block;
  background: var(--theme-color-brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.comment-reply-link:hover {
  background: #333;
  color: #fff;
}
.children {
  list-style: none;
  padding-left: 0;
  margin-left: 20px;
}
@media (min-width: 768px) {
  .children {
    margin-left: 50px;
  }
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
  background: #1f2937;
  color: #fff;
  border-color: #374151;
}
body.dark-mode .comment-form input:focus,
body.dark-mode .comment-form textarea:focus {
  border-color: var(--theme-color-brand);
  background: #111827;
}
.author-box-simple {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}
.author-simple-avatar img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.author-simple-content {
  flex: 1;
}
.author-simple-name {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: var(--theme-text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.author-simple-name .small-label {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2px;
}
.author-simple-name a {
  font-weight: 800;
  text-decoration: none;
  color: inherit;
}
.author-simple-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}
@media (max-width: 600px) {
  .author-box-simple {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  .author-simple-name {
    margin-top: 15px;
  }
}
body.dark-mode .author-box-simple {
  background: #1f2937;
  border-color: #374151;
}
body.dark-mode .author-simple-bio {
  color: #ccc;
}
.mainter-share-section {
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.share-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--theme-text-main);
}
.share-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.share-btn svg {
  margin-right: 8px;
}
.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #fff;
}
.btn-fb {
  background-color: #1877f2;
}
.btn-x {
  background-color: #000;
}
.btn-wa {
  background-color: #25d366;
}
.btn-li {
  background-color: #0a66c2;
}
@media (max-width: 480px) {
  .share-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 10px 15px;
  }
  .share-btn span {
    display: none;
  }
  .share-btn svg {
    margin-right: 0;
  }
}
.related-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
@media (max-width: 576px) {
  .related-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .related-grid-wrapper .post-card .style-overlay {
    height: 220px;
  }
}
.mainter-toc-container {
  margin: 40px 0;
  clear: both;
}
.mainter-toc {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  min-width: 320px;
  max-width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-top: 2px solid var(--theme-color-brand);
}
.toc-header {
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f2f4f8;
  border-bottom: 2px solid #f3f4f6;
  transition: background 0.2s;
  list-style: none;
  color: #111827;
}
.toc-header::-webkit-details-marker {
  display: none;
}
.toc-toggle-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toc-toggle-icon svg {
  transition: transform 0.5s;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--theme-color-brand);
  fill: none;
}
.mainter-toc[open] .toc-toggle-icon {
  transform: rotate(180deg);
}
.toc-list-wrapper {
  padding: 25px;
  background: #fff;
  counter-reset: h2counter;
}
.toc-list-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-list-wrapper li {
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
}
.toc-list-wrapper li::before {
  font-weight: 700;
  font-size: 0.85rem;

  min-width: 35px;
}
.toc-item {
  counter-increment: h2counter;
  counter-reset: h3counter;
}
.toc-item::before {
  content: counter(h2counter) ".";
}
.toc-subitem {
  counter-increment: h3counter;
  margin-left: 20px;
  font-size: 0.95rem;
}
.toc-subitem::before {
  content: counter(h2counter) "." counter(h3counter);
  color: var(--theme-color-brand, #e25822);
  box-shadow: none;
}
.toc-list-wrapper a {
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.toc-list-wrapper a:hover {
  color: var(--theme-color-brand, #e25822);
  border-bottom-color: var(--theme-color-brand, #e25822);
}
body.dark-mode .mainter-toc,
body.dark-mode .toc-header,
body.dark-mode .toc-list-wrapper {
  background: #1f2937;
  border-color: #374151;
  color: #f3f4f6;
}
body.dark-mode .toc-header {
  border-bottom-color: #374151;
}
body.dark-mode .toc-toggle-icon {
  color: #e5e7eb;
}
body.dark-mode .mainter-toc[open] .toc-toggle-icon {
  color: #fff;
}
body.dark-mode .toc-list-wrapper a {
  color: #d1d5db;
}
body.dark-mode .toc-list-wrapper a:hover {
  color: var(--theme-color-brand, #e25822);
}
body.dark-mode .toc-subitem::before {
  background-color: #374151;
}
.post-author-meta {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.author-avatar-wrap .author-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.author-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--theme-color-brand);
}
.by-text {
  font-weight: 400;
  color: #666;
}
.verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.post-date-row {
  font-size: 0.85rem;
  color: #666;
  margin-top: 3px;
}
.entry-footer-tags {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.single-tag {
  font-size: 1.1rem;
  color: var(--theme-color-brand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.single-tag:hover {
  color: #e25822;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .entry-footer-tags {
    justify-content: center;
  }
}
.author-social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.author-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition:
    color 0.3s ease,
    transform 0.2s;
  text-decoration: none;
}
.author-social-links a:hover {
  color: #e25822;
  transform: translateY(-2px);
}
.author-social-links svg {
  width: 20px;
  height: 20px;
}

pre {
  --copy-text: "Copy";
  --copied-text: "Copied!";
  --code-bg: #2a2833;
  --code-color: #9a92be;
  --code-color-comment: #787878;
  --code-color-string: #ffcd81;
  --code-color-selector: #a38eff;
  --code-color-property: #a38eff;
  --code-color-tag: #6a6684;
  --code-color-tag-name: #eeebfe;
  --code-color-attr: #c3b6ff;
  --code-color-class: #eeebff;
  --code-color-number: #ffcd95;
  position: relative;
  font-family: SFMono-Regular, monospace;
}

pre > code {
  background-color: var(--code-bg);
  color: var(--code-color);
  display: block;
  overflow-x: auto;
  white-space: pre;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.hljs-copy {
  position: absolute;
  border: 0 none;
  inset: 0.5rem 0.5rem auto auto;
  padding: 0.5rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s background-color;
  font-size: 14px;
}

.hljs-copy:hover {
  background-color: rgba(0, 0, 0, 0.75);
}
.hljs-copy::before {
  content: var(--copy-text);
}
.hljs-copy.is-copied::before {
  content: var(--copied-text);
}

.hljs-name,
.hljs-section {
  color: var(--code-color-tag-name);
}
.hljs-tag {
  color: var(--code-color-tag);
}
.hljs-selector-class {
  color: var(--code-color-class);
}
.hljs-number {
  color: var(--code-color-number);
}

.hljs-comment,
.hljs-meta {
  color: var(--code-color-comment);
}

.hljs-emphasis,
.hljs-quote,
.hljs-string,
.hljs-strong,
.hljs-template-variable,
.hljs-variable {
  color: var(--code-color-string);
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
  color: var(--code-color-selector);
}

.hljs-attribute,
.hljs-bullet,
.hljs-literal,
.hljs-symbol {
  color: var(--code-color-property);
}

.hljs-attr,
.hljs-selector-attr,
.hljs-selector-id,
.hljs-selector-pseudo,
.hljs-title {
  color: var(--code-color-attr);
}
