/* iosdevs.top — visual system only (no SEO changes) */
:root {
  /* Graphite + copper — editorial commerce, not teal SaaS */
  --io-ink: #1a1c1f;
  --io-ink-soft: #3d424a;
  --io-accent: #b56a2f;
  --io-accent-2: #c9844a;
  --io-accent-soft: rgba(181, 106, 47, 0.12);
  --io-header: #1c1f24;
  --io-nav: #15181d;
  --io-tg: #2f6fed;
  --io-surface: #ffffff;
  --io-surface-2: #f2f1ee;
  --io-line: #e1dfd9;
  --io-muted: #6a6f76;
  --io-radius: 12px;
  --io-radius-lg: 16px;
  --io-shadow: 0 8px 22px rgba(26, 28, 31, 0.07);
  --io-shadow-lg: 0 14px 32px rgba(26, 28, 31, 0.1);
  --io-grad: linear-gradient(135deg, #c9844a, #b56a2f);
  --io-font-display: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --io-font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --io-highlight: #e8c49a;

  --primary-color: #b56a2f;
  --bg-clr: #ffffff;
  --clr-text: #1a1c1f;
  --clr-text-light: #6a6f76;
  --bg-clr-light: #f2f1ee;
  --border-clr: #e1dfd9;
  --site-title-color: #ffffff;
  --custom-bg-clr: #ffffff;
  --shadow: rgba(26, 28, 31, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--io-font-body) !important;
  color: var(--io-ink);
  background:
    radial-gradient(900px 480px at 6% -8%, rgba(181, 106, 47, 0.07), transparent 55%),
    radial-gradient(760px 420px at 100% 0%, rgba(28, 31, 36, 0.05), transparent 50%),
    linear-gradient(180deg, #ecebe8 0%, #f5f4f1 46%, #ebeae6 100%) !important;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.widget-title {
  font-family: var(--io-font-display) !important;
  letter-spacing: -0.02em;
  color: var(--io-ink);
}

a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Header / Banner poster */
.supreme-news-topbar {
  background: rgba(6, 12, 20, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 3;
}

.supreme-news-topbar,
.supreme-news-topbar a,
.top-header-date span {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px;
}

.supreme-news-middle-header,
.io-banner {
  position: relative;
  overflow: hidden;
  padding: 28px 0 30px !important;
  min-height: 0;
  background: #0a1628 !important;
  isolation: isolate;
}

.io-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.io-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.02);
}

.io-banner__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 20, 24, 0.78) 0%, rgba(28, 31, 36, 0.55) 48%, rgba(32, 28, 24, 0.35) 72%, rgba(20, 18, 16, 0.48) 100%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.25) 0%, transparent 42%, rgba(16, 14, 12, 0.45) 100%);
}

.io-banner__glow {
  position: absolute;
  inset: auto -8% -30% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 132, 74, 0.18) 0%, transparent 70%);
  filter: blur(10px);
  animation: io-drift 18s ease-in-out infinite alternate;
}

.supreme-news-middle-header-wrapper,
.io-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.io-banner__card {
  display: inline-flex;
  align-items: center;
  gap: 16px 20px;
  max-width: 100%;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-branding,
.io-banner__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.io-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: var(--io-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 10px 22px rgba(0, 0, 0, 0.28);
  animation: io-mark-in .7s ease both;
  overflow: hidden;
  padding: 0;
}

.io-mark--logo img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
}

.io-mark:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.site-identity {
  min-width: 0;
}

.io-brand-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--io-font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--io-highlight);
  background: rgba(201, 132, 74, 0.18);
  border: 1px solid rgba(125, 232, 213, 0.26);
}

.site-title {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.site-title a {
  color: #fff !important;
  text-decoration: none !important;
  display: inline-block;
  overflow: visible;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.io-brand-name {
  letter-spacing: -0.03em;
}

.site-description,
.io-brand-tagline {
  margin: 4px 0 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.io-banner__pitch {
  display: none;
}

.io-banner__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  flex: 0 0 auto;
}

.io-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--io-grad);
  color: #fff !important;
  font-family: var(--io-font-display);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow:
    0 8px 18px rgba(181, 106, 47, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  white-space: nowrap;
}

.io-header-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(181, 106, 47, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.io-banner__cta-note {
  display: none;
}

/* Navigation — centered glass pill */
.supreme-news-bottom-header,
.supreme-news-navigation-outer-wrapper,
.io-navshell {
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.97) 0%, rgba(7, 14, 24, 0.99) 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 4;
}

.supreme-news-bottom-header > .section-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.supreme-news-bottom-header-wrapper,
.io-navbar {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 0 !important;
}

.navigation {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.navigation-area {
  display: flex;
  justify-content: center;
  width: auto;
  max-width: 100%;
}

.main-navigation #primary-menu,
.navigation-area #primary-menu,
.main-navigation .io-menu,
.navigation-area .io-menu {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 6px;
  list-style: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.main-navigation #primary-menu > li,
.main-navigation .io-menu > li {
  margin: 0 !important;
  float: none !important;
}

.main-navigation a,
.navigation-area a,
#primary-menu a,
.io-menu a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.84) !important;
  font-family: var(--io-font-display);
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  white-space: nowrap;
  background: transparent !important;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation li:hover > a,
.main-navigation a:hover,
.io-menu .current-menu-item > a,
.io-menu li:hover > a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.io-menu .current-menu-item > a {
  background: var(--io-grad) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(181, 106, 47, 0.34);
  transform: translateY(-0.5px);
}

#primary-menu > li > a[href*="t.me"],
.io-menu > li > a[href*="t.me"] {
  background: #2f6fed !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(47, 111, 237, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 0 !important;
}

.menu-toggle .ham-icon {
  background: #fff !important;
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
}

.bottom-header-right-part {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.search-icon,
.header-search-wrap a {
  color: #fff !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.search-icon:hover,
.header-search-wrap a:hover {
  background: rgba(201, 132, 74, 0.28);
  border-color: rgba(125, 232, 213, 0.35);
}

@media screen and (max-width: 991px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .io-navbar {
    justify-content: flex-end;
    min-height: 56px;
  }

  .navigation {
    position: static;
    width: 100%;
  }

  .main-navigation {
    width: 100%;
    justify-content: flex-end;
  }

  .main-navigation #primary-menu,
  .navigation-area #primary-menu,
  .main-navigation .io-menu,
  .navigation-area .io-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(12, 22, 36, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .main-navigation.toggled #primary-menu,
  .main-navigation.toggled .navigation-area #primary-menu,
  .main-navigation.toggled .io-menu,
  .main-navigation.toggled .navigation-area .io-menu {
    display: flex !important;
  }

  .main-navigation a,
  #primary-menu a,
  .io-menu a {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px !important;
    border-radius: 12px !important;
  }

  .bottom-header-right-part {
    right: 52px;
  }

  .io-banner {
    padding: 18px 0 20px !important;
  }

  .io-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .io-banner__card {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
  }

  .io-banner__cta {
    align-items: stretch;
    margin-left: auto;
  }

  .io-header-cta {
    width: auto;
  }

  .site-title {
    font-size: 18px !important;
  }
}

/* Intro — sits in primary column */
.io-intro {
  margin: 0 0 18px;
  animation: io-rise .75s ease both;
}

.io-intro__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(215, 227, 223, 0.95);
  box-shadow: 0 8px 22px rgba(14, 23, 36, 0.06);
}

.io-intro__eyebrow {
  margin: 0 0 4px;
  font-family: var(--io-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--io-accent);
}

.io-intro__title {
  margin: 0 0 4px;
  font-family: var(--io-font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 750;
  line-height: 1.3;
  color: var(--io-ink);
}

.io-intro__text {
  margin: 0;
  color: var(--io-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 36rem;
}

.io-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.io-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--io-font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.io-btn--primary {
  background: var(--io-grad);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(181, 106, 47, 0.28);
}

.io-btn--primary:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.io-btn--ghost {
  background: #fff;
  color: var(--io-ink) !important;
  border: 1px solid var(--io-line);
}

.io-btn--ghost:hover {
  border-color: var(--io-accent);
  color: var(--io-accent) !important;
}

/* Content layout — neat grid */
.supreme-news-main-wrapper {
  margin-top: 18px !important;
  margin-bottom: 28px !important;
}

.supreme-news-main-wrapper > .section-wrapper {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.right-sidebar .supreme-news-main-wrapper .supreme-news-container-wrapper,
.supreme-news-container-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px !important;
  align-items: start;
}

#primary.io-main,
#primary {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}

#secondary.io-sidebar,
#secondary {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  position: sticky;
  top: 18px;
}

@media (max-width: 1100px) {
  .right-sidebar .supreme-news-main-wrapper .supreme-news-container-wrapper,
  .supreme-news-container-wrapper {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px !important;
  }
}

@media (max-width: 990px) {
  .right-sidebar .supreme-news-main-wrapper .supreme-news-container-wrapper,
  .supreme-news-container-wrapper {
    grid-template-columns: 1fr;
    gap: 20px !important;
  }

  #secondary.io-sidebar,
  #secondary {
    position: static;
  }
}

.blog-archive-layout.grid-layout,
.blog-archive-layout.grid-layout.io-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}

.blog-archive-layout.grid-layout.column-2,
.blog-archive-layout.grid-layout.column-3,
.blog-archive-layout.grid-layout.column-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1199px) {
  .blog-archive-layout.grid-layout,
  .blog-archive-layout.grid-layout.io-grid,
  .blog-archive-layout.grid-layout.column-2,
  .blog-archive-layout.grid-layout.column-3,
  .blog-archive-layout.grid-layout.column-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 767px) {
  .blog-archive-layout.grid-layout,
  .blog-archive-layout.grid-layout.io-grid,
  .blog-archive-layout.grid-layout.column-2,
  .blog-archive-layout.grid-layout.column-3,
  .blog-archive-layout.grid-layout.column-4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.io-card-article,
.blog-archive-layout.grid-layout article {
  margin: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.io-card-article .main-container-wrap {
  margin: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-post-container.io-card,
.blog-archive-layout .blog-post-container.io-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  transform: none !important;
}

.io-card__inner,
.blog-post-container .blog-post-inner.io-card__inner {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto !important;
  background: #ffffff;
  border: 1px solid rgba(215, 227, 223, 0.92);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 28px rgba(14, 23, 36, 0.07);
  overflow: hidden;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease, border-color .32s ease;
}

.io-card__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--io-grad);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity .28s ease, transform .32s ease;
  z-index: 2;
}

.io-card:hover .io-card__inner,
.blog-post-container:hover .io-card__inner {
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 40px rgba(14, 23, 36, 0.12);
  border-color: rgba(181, 106, 47, 0.34);
}

.io-card:hover .io-card__inner::before,
.blog-post-container:hover .io-card__inner::before {
  opacity: 1;
  transform: scaleX(1);
}

.io-card__media,
.blog-post-image.io-card__media {
  position: relative;
  flex: 0 0 auto !important;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #d7e8e4 0%, #c5d9d4 100%);
  height: auto !important;
}

.io-card__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.io-card__media img,
.io-card__thumb img,
.blog-archive-layout.grid-layout article .blog-post-container .blog-post-inner .blog-post-image img,
.blog-post-container .blog-post-inner .blog-post-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}

.io-card:hover .io-card__media img,
.io-card:hover .io-card__thumb img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.03);
}

.io-card__media-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(10, 20, 32, 0.28) 100%);
  opacity: 1;
  transition: opacity .3s ease;
}

.io-card:hover .io-card__media-shade {
  opacity: 0.7;
}

.io-card__cats--overlay,
.blog-post-container.grid-layout .blog-post-inner .blog-post-image .post-categories.io-card__cats--overlay,
.blog-post-image.io-card__media .post-categories.io-card__cats--overlay {
  position: absolute !important;
  left: 12px !important;
  right: auto !important;
  top: auto !important;
  bottom: 12px !important;
  z-index: 3;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.2 !important;
  width: auto !important;
  pointer-events: auto;
}

.io-card__cats--overlay a,
.post-categories.io-card__cats--overlay a,
.blog-post-container.grid-layout .blog-post-inner .blog-post-image .post-categories.io-card__cats--overlay a {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--io-ink) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(10, 20, 32, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 5px 10px !important;
  letter-spacing: 0.02em !important;
}

.io-card__cats--overlay a:hover,
.post-categories.io-card__cats--overlay a:hover {
  background: var(--io-accent) !important;
  color: #fff !important;
}

.io-card__body,
.blog-post-detail.io-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 10px;
  padding: 16px 16px 14px !important;
  min-width: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfc 100%);
}

.io-card__cats,
.post-categories.io-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.io-card__cats a,
.post-categories.io-card__cats a,
.blog-post-detail .post-categories a {
  background: var(--io-accent-soft) !important;
  color: var(--io-accent) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(181, 106, 47, 0.14) !important;
  font-family: var(--io-font-display);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  padding: 4px 10px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-card__cats a::before,
.blog-post-detail .post-categories a::before {
  display: none !important;
}

.io-card__cats a:hover,
.blog-post-detail .post-categories a:hover {
  background: var(--io-accent) !important;
  color: #fff !important;
  border-color: var(--io-accent) !important;
}

.io-card__title,
.blog-archive-layout.grid-layout article .blog-post-container .blog-post-inner .blog-post-detail .entry-title {
  margin: 0 !important;
  font-family: var(--io-font-display) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  height: 2.8em;
  overflow: hidden;
}

.io-card__title a,
.entry-title a {
  color: var(--io-ink) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.io-card__title a:hover,
.entry-title a:hover {
  color: var(--io-accent) !important;
}

.io-card__excerpt,
.post-excerpt.io-card__excerpt {
  margin: 0 !important;
  flex: 1 1 auto;
  min-height: 2.6em;
}

.io-card__excerpt p,
.blog-archive-layout.grid-layout article .blog-post-container .blog-post-inner .blog-post-detail .post-excerpt p {
  margin: 0 !important;
  color: var(--io-muted) !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.io-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(215, 227, 223, 0.85);
}

.io-card__date {
  color: var(--io-muted);
  font-family: var(--io-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.io-card__meta,
.post-meta.io-card__meta {
  display: none !important;
}

.io-card__more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(181, 106, 47, 0.28);
  color: var(--io-accent) !important;
  font-family: var(--io-font-display);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.io-card__more:hover {
  background: var(--io-accent);
  border-color: var(--io-accent);
  color: #fff !important;
  transform: translateX(2px);
  box-shadow: 0 8px 18px rgba(181, 106, 47, 0.28);
}

/* Staggered reveal */
.io-card-article {
  animation: io-card-rise .6s cubic-bezier(.22, 1, .36, 1) both;
}

.io-card-article:nth-child(1) { animation-delay: .04s; }
.io-card-article:nth-child(2) { animation-delay: .1s; }
.io-card-article:nth-child(3) { animation-delay: .16s; }
.io-card-article:nth-child(4) { animation-delay: .22s; }
.io-card-article:nth-child(5) { animation-delay: .28s; }
.io-card-article:nth-child(6) { animation-delay: .34s; }
.io-card-article:nth-child(7) { animation-delay: .4s; }
.io-card-article:nth-child(8) { animation-delay: .46s; }
.io-card-article:nth-child(9) { animation-delay: .52s; }

@keyframes io-card-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Legacy fallbacks */
.blog-post-container,
.blog-post-inner,
.blog-archive-layout .blog-post-container {
  background: transparent;
}

.post-categories a,
.cat-links a {
  background: var(--io-accent-soft) !important;
  color: var(--io-accent) !important;
  border-radius: 999px !important;
  border: none !important;
  font-size: 11px !important;
  letter-spacing: 0.02em;
  padding: 4px 9px !important;
}

.post-excerpt,
.post-excerpt p,
.entry-content p {
  color: var(--io-muted) !important;
  font-size: 14px;
  line-height: 1.75;
}

/* Sidebar — rebuilt */
#secondary.io-sidebar,
.io-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 18px;
}

/* Pagination neat */
.navigation.pagination,
.nav-links {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.navigation.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--io-line);
  color: var(--io-ink) !important;
  font-family: var(--io-font-display);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
}

.navigation.pagination .page-numbers.current,
.nav-links .page-numbers.current,
.navigation.pagination a.page-numbers:hover {
  background: var(--io-accent) !important;
  border-color: var(--io-accent);
  color: #fff !important;
}

.io-side-card {
  background: #fff;
  border: 1px solid rgba(215, 227, 223, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(14, 23, 36, 0.06);
  padding: 16px;
}

.io-side-card__title {
  margin: 0 0 12px;
  font-family: var(--io-font-display);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--io-ink);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--io-accent);
}

.io-side-cta {
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(201, 132, 74, 0.18), transparent 60%),
    linear-gradient(145deg, #1c1f24 0%, #2a2f36 100%);
  border: none;
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.28);
}

.io-side-cta__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.io-side-cta__eyebrow {
  margin: 0 0 6px;
  font-family: var(--io-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--io-highlight);
}

.io-side-cta__title {
  margin: 0 0 8px;
  font-family: var(--io-font-display);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  color: #fff;
}

.io-side-cta__text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.io-side-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  border-radius: 999px;
  background: var(--io-grad);
  color: #fff !important;
  font-family: var(--io-font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(181, 106, 47, 0.35);
}

.io-side-cta__btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.io-side-search .search-form {
  display: flex;
  gap: 8px;
  margin: 0;
}

.io-side-search .search-field {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 12px !important;
  border: 1px solid var(--io-line) !important;
  padding: 0 12px !important;
  background: #fff !important;
  font-size: 13px;
}

.io-side-search .search-submit {
  height: 40px;
  border-radius: 12px !important;
  border: none !important;
  padding: 0 14px !important;
  background: var(--io-accent) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
}

.io-side-cats__list,
.io-side-recent__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.io-side-cats__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(243, 247, 246, 0.95);
  border: 1px solid transparent;
  color: var(--io-ink) !important;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.io-side-cats__list a:hover {
  background: rgba(181, 106, 47, 0.1);
  border-color: rgba(181, 106, 47, 0.2);
  transform: translateX(2px);
}

.io-side-cats__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-side-cats__count {
  flex: 0 0 auto;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--io-line);
  color: var(--io-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.io-side-recent__list li a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none !important;
  padding: 6px;
  border-radius: 12px;
  transition: background .2s ease;
}

.io-side-recent__list li a:hover {
  background: rgba(243, 247, 246, 0.95);
}

.io-side-recent__thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe9e6;
}

.io-side-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.io-side-recent__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.io-side-recent__title {
  color: var(--io-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.io-side-recent__date {
  color: var(--io-muted);
  font-size: 11px;
}

/* Hide legacy tag-cloud spam if ever re-enabled */
#secondary .widget_tag_cloud,
#secondary .wp-block-tag-cloud {
  display: none !important;
}

@media screen and (max-width: 991px) {
  #secondary.io-sidebar,
  .io-sidebar {
    position: static;
  }
}

/* Footer — premium brand block */
.site-footer,
.io-footer {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  padding: 48px 0 28px;
  background:
    radial-gradient(720px 280px at 8% 0%, rgba(201, 132, 74, 0.14), transparent 60%),
    radial-gradient(640px 260px at 92% 100%, rgba(26, 28, 31, 0.2), transparent 58%),
    linear-gradient(180deg, #1c1f24 0%, #12151a 100%) !important;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.io-footer__glow {
  position: absolute;
  inset: auto 12% -40% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(201, 132, 74, 0.16);
  filter: blur(20px);
  pointer-events: none;
}

.io-footer .section-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.io-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.io-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.io-footer__logo {
  flex: 0 0 auto;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.io-footer__logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.io-footer__name {
  margin: 0;
  font-family: var(--io-font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.io-footer__tag {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
}

.io-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.io-footer__cta-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
}

.io-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--io-grad);
  color: #fff !important;
  font-family: var(--io-font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(181, 106, 47, 0.35);
}

.io-footer__btn:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.io-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 24px;
}

.io-footer__heading {
  margin: 0 0 12px;
  font-family: var(--io-font-display);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--io-highlight);
}

.io-footer__links,
.io-footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.io-footer__links a,
.io-footer__meta a,
.site-footer a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
}

.io-footer__links a:hover,
.io-footer__meta a:hover,
.site-footer a:hover {
  color: var(--io-highlight) !important;
}

.io-footer__meta li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.io-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.io-footer__copy,
.io-footer__note {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.supreme-news-top-footer,
.supreme-news-bottom-footer {
  display: none !important;
}

.scroll-to-top {
  background: var(--io-accent) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(181, 106, 47, 0.35);
}

@media screen and (max-width: 767px) {
  .io-footer {
    padding: 36px 0 22px;
    margin-top: 36px;
  }

  .io-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .io-footer__cta {
    align-items: stretch;
    width: 100%;
  }

  .io-footer__btn {
    width: 100%;
  }

  .io-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0 18px;
  }

  .io-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Single — perfect article typography */
.single .entry-title {
  font-size: clamp(24px, 3.4vw, 34px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  max-width: 44rem;
}

.single .entry-header {
  margin-bottom: 8px;
}

.single .entry-content,
.page .entry-content {
  background: #fff;
  border: 1px solid var(--io-line);
  border-radius: var(--io-radius-lg);
  box-shadow: var(--io-shadow);
  padding: 4px 4px 16px;
  overflow: hidden;
}

/* Article typography — keep CSS in theme; WP strips <style> in post content */
.iosdevs-article {
  --art-accent: #b56a2f;
  --art-soft: #f7f0e8;
  --art-ink: #1a1c1f;
  --art-muted: #6a6f76;
  --art-rule: #e8d5c0;
  --art-surface: #fafaf8;
  box-sizing: border-box;
  width: 100%;
  max-width: min(44rem, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 22px) clamp(16px, 3.2vw, 32px) clamp(28px, 3.5vw, 44px);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #2a2d31;
  line-height: 1.85;
  font-size: clamp(15.5px, 1.05vw, 17px);
  letter-spacing: 0.01em;
}

.iosdevs-article *,
.iosdevs-article *::before,
.iosdevs-article *::after {
  box-sizing: border-box;
}

.iosdevs-article .art-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--art-accent);
  background: var(--art-soft);
  border: 1px solid var(--art-rule);
}

.iosdevs-article .lead {
  margin: 0 0 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--art-accent);
  background: var(--art-soft);
  border-radius: 0 14px 14px 0;
  color: #3d424a;
  font-size: 0.98em;
  line-height: 1.78;
}

.iosdevs-article .lead strong {
  color: var(--art-ink);
  font-weight: 700;
}

.iosdevs-article .toc {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: var(--art-surface);
  border: 1px solid var(--art-rule);
  border-radius: 14px;
}

.iosdevs-article .toc__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art-accent);
}

.iosdevs-article .toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.iosdevs-article .toc li {
  margin: 0 0 0.35em;
  color: #4a5058;
  font-size: 0.95em;
}

.iosdevs-article .toc a {
  color: var(--art-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.iosdevs-article .toc a:hover {
  color: var(--art-accent);
  border-bottom-color: var(--art-rule);
}

.iosdevs-article .webios-cover {
  margin: 0 0 28px;
}

.iosdevs-article .webios-cover img,
.iosdevs-article img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin: 0;
  box-shadow: 0 10px 28px rgba(26, 28, 31, 0.08);
}

.iosdevs-article .section {
  margin: 0 0 8px;
}

.iosdevs-article h2 {
  margin: 36px 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--art-rule);
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(1.22rem, 1.5vw, 1.42rem);
  line-height: 1.35;
  color: var(--art-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.iosdevs-article h2 .sec-index {
  flex: 0 0 auto;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--art-accent);
}

.iosdevs-article h3 {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--art-ink);
}

.iosdevs-article p {
  margin: 0 0 1em;
}

.iosdevs-article ul,
.iosdevs-article ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}

.iosdevs-article li {
  margin: 0 0 0.5em;
}

.iosdevs-article li::marker {
  color: var(--art-accent);
}

.iosdevs-article .steps {
  margin: 14px 0 1.2em;
  padding: 0;
  list-style: none;
  counter-reset: io-step;
}

.iosdevs-article .steps li {
  position: relative;
  margin: 0 0 12px;
  padding: 14px 16px 14px 52px;
  background: var(--art-surface);
  border: 1px solid var(--art-rule);
  border-radius: 12px;
  counter-increment: io-step;
}

.iosdevs-article .steps li::before {
  content: counter(io-step, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--art-soft);
  color: var(--art-accent);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.iosdevs-article blockquote {
  margin: 16px 0 1.1em;
  padding: 14px 18px;
  border-left: 3px solid var(--art-accent);
  background: var(--art-soft);
  color: #3d424a;
  border-radius: 0 12px 12px 0;
}

.iosdevs-article blockquote p {
  margin: 0;
}

.iosdevs-article .tip {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--art-soft);
  border: 1px solid var(--art-rule);
  border-left: 3px solid var(--art-accent);
  border-radius: 0 12px 12px 0;
  color: #5c4a38;
  font-size: 0.95em;
}

.iosdevs-article .tip strong {
  color: var(--art-ink);
}

.iosdevs-article .compare {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 1.2em;
  font-size: 0.94em;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--art-rule);
}

.iosdevs-article .compare th,
.iosdevs-article .compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--art-rule);
  vertical-align: top;
}

.iosdevs-article .compare th {
  background: var(--art-soft);
  color: var(--art-ink);
  font-weight: 700;
}

.iosdevs-article .compare tr:last-child td {
  border-bottom: 0;
}

.iosdevs-article .compare td:first-child {
  font-weight: 650;
  color: var(--art-ink);
  white-space: nowrap;
}

.iosdevs-article .checklist {
  margin: 18px 0;
  padding: 18px 20px;
  background: var(--art-surface);
  border: 1px solid var(--art-rule);
  border-radius: 14px;
}

.iosdevs-article .checklist li {
  list-style: none;
  position: relative;
  padding-left: 1.55em;
  margin: 0 0 0.6em;
}

.iosdevs-article .checklist li:last-child {
  margin-bottom: 0;
}

.iosdevs-article .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.58em;
  height: 0.58em;
  border: 1.5px solid var(--art-accent);
  border-radius: 3px;
  background: #fff;
}

.iosdevs-article .faq-list {
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iosdevs-article .faq-item {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--art-rule);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(26, 28, 31, 0.02);
}

.iosdevs-article .faq-item .q {
  font-weight: 750;
  color: var(--art-ink);
  margin: 0 0 8px;
}

.iosdevs-article .faq-item .a {
  margin: 0;
  color: #555960;
  font-size: 0.95em;
  line-height: 1.72;
}

.iosdevs-article .cta-box {
  margin: 32px 0 10px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1c1f24, #2a2f36);
  color: #f5f4f1;
  box-shadow: 0 14px 32px rgba(26, 28, 31, 0.16);
}

.iosdevs-article .cta-box p {
  margin: 0 0 8px;
}

.iosdevs-article .cta-box p:last-child {
  margin-bottom: 0;
  color: #c8c3ba;
  font-size: 0.92em;
}

.iosdevs-article .cta-box a {
  color: #e8c49a;
  font-weight: 700;
  text-decoration: none;
}

.iosdevs-article .cta-box a:hover {
  color: #fff;
}

.iosdevs-article .seo-tags {
  margin: 28px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--art-rule);
  color: var(--art-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .iosdevs-article {
    font-size: 15px;
    line-height: 1.8;
    max-width: 100%;
    padding: 12px 14px 22px;
  }

  .iosdevs-article h2 {
    font-size: 1.2rem;
    margin: 28px 0 12px;
  }

  .iosdevs-article h2 .sec-index {
    display: none;
  }

  .iosdevs-article .compare {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .iosdevs-article .steps li {
    padding-left: 48px;
  }
}

.single .post-thumbnail,
.single .blog-post-image {
  margin-bottom: 0;
}

.single .post-thumbnail img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.single .entry-meta {
  color: var(--io-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.single .entry-content a {
  color: var(--io-accent);
}

.single .entry-content a:hover {
  color: var(--io-ink);
}

/* Replace old crimson accents */
body a,
.entry-content a {
  color: var(--io-accent);
}

body a:hover {
  color: var(--io-ink);
}

@media screen and (max-width: 767px) {
  .supreme-news-middle-header,
  .io-banner {
    padding: 16px 0 18px !important;
    min-height: 0;
  }

  .io-mark,
  .io-mark--logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .site-title {
    font-size: 17px !important;
  }

  .io-banner__card {
    padding: 10px;
  }

  .io-header-cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .supreme-news-middle-header-wrapper,
  .io-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .io-banner__cta {
    width: auto;
    align-items: stretch;
  }

  .io-intro__panel {
    padding: 16px;
  }

  .blog-archive-layout.grid-layout,
  .blog-archive-layout.grid-layout.column-2 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .io-card__body,
  .blog-post-detail.io-card__body {
    padding: 16px !important;
    gap: 10px;
  }

  .io-card__title,
  .blog-archive-layout.grid-layout article .blog-post-container .blog-post-inner .blog-post-detail .entry-title {
    font-size: 17px !important;
    height: auto;
  }

  .io-card__excerpt p,
  .blog-archive-layout.grid-layout article .blog-post-container .blog-post-inner .blog-post-detail .post-excerpt p {
    height: auto;
    -webkit-line-clamp: 3;
    font-size: 14px !important;
  }

  .io-card__footer {
    flex-wrap: nowrap;
    align-items: center;
  }

  .single .entry-content,
  .page .entry-content {
    padding: 18px 16px;
  }
}

@keyframes io-mark-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes io-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes io-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-24px, -18px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
