/* Marketyro Insights — deliberately scoped and dependency-free. */
.mty-insights {
  --mty-ink: #111726;
  --mty-text: #555b67;
  --mty-blue: #2457e6;
  --mty-coral: #e0493a;
  --mty-mist: #f6f7f9;
  --mty-line: #e4e6ea;
  --mty-dark: #20232c;
  --mty-white: #fff;
  --mty-shadow: 0 1px 0 rgba(17, 23, 38, .03), 0 26px 50px -38px rgba(17, 23, 38, .35);
  color: var(--mty-ink);
  background: var(--mty-white);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mty-insights *, .mty-insights *::before, .mty-insights *::after { box-sizing: border-box; }
.mty-insights :where(h1,h2,h3,p,figure) { margin-top: 0; }
.mty-insights a { color: var(--mty-blue); text-underline-offset: .18em; text-decoration-thickness: .08em; }
.mty-insights a:hover { color: #183fae; }
.mty-insights a:focus-visible, .mty-insights button:focus-visible { outline: 3px solid var(--mty-coral); outline-offset: 4px; border-radius: 3px; }
.mty-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.mty-reading-shell { width: min(760px, calc(100% - 48px)); margin-inline: auto; }

.mty-breadcrumbs { margin-bottom: 36px; color: #6b7280; font-size: .84rem; }
.mty-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.mty-breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #a1a7b2; }
.mty-breadcrumbs a { color: inherit; }
.mty-breadcrumbs--aioseo :where(ol,ul) { margin: 0; }

.mty-archive-hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(42% 75% at 8% 55%, rgba(116,186,255,.28), transparent 72%),
    radial-gradient(42% 75% at 94% 30%, rgba(255,222,160,.32), transparent 72%), #fff;
  border-bottom: 1px solid var(--mty-line);
}
.mty-section-name { margin-bottom: 18px; color: var(--mty-blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mty-archive-hero h1 { max-width: 880px; margin-bottom: 22px; font-size: clamp(2.35rem, 5.7vw, 4.75rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 800; }
.mty-archive-intro { max-width: 660px; margin-bottom: 0; color: var(--mty-text); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.mty-archive-body { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.mty-category-nav { display: flex; gap: 8px 24px; align-items: center; overflow-x: auto; margin-bottom: 42px; padding: 0 0 14px; border-bottom: 1px solid var(--mty-line); scrollbar-width: thin; }
.mty-category-nav a { flex: 0 0 auto; color: var(--mty-text); font-size: .92rem; font-weight: 700; text-decoration: none; }
.mty-category-nav a:hover, .mty-category-nav a[aria-current="page"] { color: var(--mty-blue); }
.mty-category-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 15px; }

.mty-post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.mty-post-card { min-width: 0; }
.mty-card-image-link { display: block; margin-bottom: 22px; color: inherit; text-decoration: none; }
.mty-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eaf0ff, #fff7e8); border: 1px solid var(--mty-line); border-radius: 18px; }
.mty-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mty-card-media > span { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(36,87,230,.17); font-size: clamp(4rem, 8vw, 7rem); font-weight: 800; }
.mty-card-image-link:hover img { transform: scale(1.025); }
.mty-card-category { display: inline-block; margin-bottom: 10px; color: var(--mty-blue) !important; font-size: .76rem; font-weight: 800; letter-spacing: .095em; text-decoration: none; text-transform: uppercase; }
.mty-card-copy h2 { margin-bottom: 13px; font-size: clamp(1.35rem, 2.2vw, 1.72rem); line-height: 1.18; letter-spacing: -.03em; }
.mty-card-copy h2 a, .mty-related h3 a, .mty-author-box h2 a { color: var(--mty-ink); text-decoration: none; }
.mty-card-copy h2 a:hover, .mty-related h3 a:hover, .mty-author-box h2 a:hover { color: var(--mty-blue); }
.mty-card-excerpt { margin-bottom: 18px; color: var(--mty-text); }
.mty-post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #6b7280; font-size: .84rem; }
.mty-post-meta > * + * { position: relative; }
.mty-post-meta > * + *::before { content: "·"; position: absolute; left: -10px; color: #a1a7b2; }
.mty-post-meta a { color: inherit; }

.mty-post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); gap: clamp(30px, 5vw, 68px); align-items: center; margin-bottom: 20px; padding-bottom: 52px; border-bottom: 1px solid var(--mty-line); }
.mty-post-card--featured .mty-card-image-link { margin: 0; }
.mty-post-card--featured .mty-card-media { aspect-ratio: 16 / 9; border-radius: 24px; box-shadow: var(--mty-shadow); }
.mty-post-card--featured h2 { font-size: clamp(2rem, 3.3vw, 3.15rem); line-height: 1.06; }

.navigation.pagination { grid-column: 1 / -1; margin-top: 60px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; padding: 8px 13px; place-items: center; border: 1px solid var(--mty-line); border-radius: 10px; color: var(--mty-ink); font-weight: 700; text-decoration: none; }
.navigation.pagination .current, .navigation.pagination a:hover { border-color: var(--mty-blue); background: var(--mty-blue); color: #fff; }
.mty-empty-state { padding: 72px 24px; text-align: center; background: var(--mty-mist); border-radius: 20px; }

.mty-article-header { padding: clamp(56px, 7vw, 96px) 0 clamp(38px, 5vw, 64px); background: linear-gradient(180deg, #fff 0%, #fafbfc 100%); border-bottom: 1px solid var(--mty-line); }
.mty-article-header h1 { margin: 8px 0 22px; font-size: clamp(2.45rem, 6.2vw, 4.85rem); font-weight: 800; line-height: 1.025; letter-spacing: -.052em; }
.mty-standfirst { margin-bottom: 25px; color: var(--mty-text); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.mty-featured-image { margin-top: clamp(38px, 6vw, 72px); margin-bottom: clamp(44px, 7vw, 78px); }
.mty-featured-image img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; object-position: center; border-radius: 22px; background: var(--mty-mist); }
.mty-featured-image figcaption { max-width: 760px; margin: 10px auto 0; color: #6b7280; font-size: .82rem; text-align: center; }

.mty-article-content { color: #2f3542; font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.0625rem, 1.5vw, 1.16rem); line-height: 1.82; }
.mty-article-content > * { max-width: 100%; }
.mty-article-content > * + * { margin-top: 1.4em; }
.mty-article-content :where(h2,h3,h4) { color: var(--mty-ink); font-weight: 800; letter-spacing: -.035em; scroll-margin-top: 110px; }
.mty-article-content h2 { margin-top: 2.25em; margin-bottom: .65em; font-size: clamp(1.75rem, 3.4vw, 2.45rem); line-height: 1.14; }
.mty-article-content h3 { margin-top: 1.9em; margin-bottom: .55em; font-size: clamp(1.35rem, 2.6vw, 1.72rem); line-height: 1.22; }
.mty-article-content h4 { margin-top: 1.7em; font-size: 1.13rem; }
.mty-article-content :where(ul,ol) { padding-left: 1.3em; }
.mty-article-content li + li { margin-top: .55em; }
.mty-article-content blockquote { margin: 2em 0; padding: .2em 0 .2em 1.35em; border-left: 4px solid var(--mty-coral); color: var(--mty-ink); font-size: 1.15em; font-weight: 650; }
.mty-article-content :where(img,video,svg) { max-width: 100%; height: auto; }
.mty-article-content img { object-fit: contain; }
.mty-article-content figure { max-width: 100%; margin: 2.1em auto; }
.mty-article-content figcaption { margin-top: .65em; color: #6b7280; font-size: .78em; line-height: 1.5; text-align: center; }
.mty-article-content .alignwide { width: min(960px, calc(100vw - 48px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.mty-article-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.mty-article-content :where(.wp-block-embed__wrapper,iframe) { max-width: 100%; }
.mty-article-content .wp-block-embed__wrapper { position: relative; overflow: hidden; }
.mty-article-content :where(.wp-block-table,.wp-block-code) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mty-article-content table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9em; }
.mty-article-content th, .mty-article-content td { padding: 12px 14px; border: 1px solid var(--mty-line); text-align: left; vertical-align: top; }
.mty-article-content th { background: var(--mty-mist); color: var(--mty-ink); }
.mty-article-content :where(pre,code,kbd) { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.mty-article-content pre { overflow-x: auto; padding: 20px; color: #edf1f7; background: var(--mty-dark); border-radius: 12px; font-size: .84em; line-height: 1.65; tab-size: 2; }
.mty-article-content :not(pre) > code { padding: .15em .35em; background: #eef2ff; border-radius: 4px; font-size: .88em; }
.mty-article-content hr { margin: 2.8em 0; border: 0; border-top: 1px solid var(--mty-line); }

.mty-article-cta { display: flex; gap: 32px; align-items: center; justify-content: space-between; margin: clamp(56px, 8vw, 90px) 0 48px; padding: clamp(28px, 5vw, 44px); color: #fff; background: var(--mty-dark); border-radius: 22px; }
.mty-article-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.035em; }
.mty-article-cta p { max-width: 520px; margin-bottom: 0; color: #c4cad6; }
.mty-button { display: inline-flex; flex: 0 0 auto; gap: 12px; align-items: center; justify-content: center; min-height: 50px; padding: 13px 18px 13px 22px; color: #fff !important; background: var(--mty-blue); border-radius: 12px; font-weight: 800; text-decoration: none; }
.mty-button span { display: grid; width: 28px; height: 28px; place-items: center; color: var(--mty-ink); background: #fff; border-radius: 50%; }
.mty-button:hover { background: #1d49c4; transform: translateY(-1px); }

.mty-author-box { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: center; margin: 48px 0; padding: 28px; background: var(--mty-mist); border: 1px solid var(--mty-line); border-radius: 18px; }
.mty-author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.mty-author-label { margin-bottom: 2px; color: var(--mty-blue); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mty-author-box h2 { margin-bottom: 5px; font-size: 1.3rem; }
.mty-author-box p:last-child { margin-bottom: 0; color: var(--mty-text); }
.mty-related { margin: clamp(60px, 8vw, 90px) 0; padding-top: 48px; border-top: 1px solid var(--mty-line); }
.mty-related > h2 { margin-bottom: 26px; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.mty-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mty-related-image { display: block; margin-bottom: 16px; }
.mty-related .mty-card-media { border-radius: 14px; }
.mty-related h3 { margin-bottom: 12px; font-size: 1.1rem; line-height: 1.3; }
.mty-page-links { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--mty-line); }

@media (max-width: 900px) {
  .mty-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mty-post-card--featured { grid-template-columns: 1fr; gap: 28px; }
  .mty-post-card--featured .mty-card-copy { max-width: 700px; }
  .mty-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mty-related-grid article:last-child { display: none; }
}

@media (max-width: 640px) {
  .mty-shell, .mty-reading-shell { width: min(100% - 32px, 1160px); }
  .mty-archive-hero, .mty-article-header { padding-top: 46px; }
  .mty-breadcrumbs { margin-bottom: 28px; }
  .mty-post-list { grid-template-columns: 1fr; gap: 38px; }
  .mty-post-card--featured { margin-bottom: 0; padding-bottom: 40px; }
  .mty-post-card--featured .mty-card-media, .mty-card-media { border-radius: 14px; }
  .mty-article-header h1 { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  .mty-featured-image { width: 100%; }
  .mty-featured-image img { border-radius: 0; }
  .mty-article-content .alignwide { width: calc(100vw - 32px); }
  .mty-article-cta { align-items: flex-start; flex-direction: column; }
  .mty-button { width: 100%; }
  .mty-author-box { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; }
  .mty-author-box img { width: 64px; height: 64px; }
  .mty-author-box p:last-child { grid-column: 1 / -1; }
  .mty-related-grid { grid-template-columns: 1fr; }
  .mty-related-grid article:last-child { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .mty-insights *, .mty-insights *::before, .mty-insights *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .mty-category-nav, .mty-article-cta, .mty-related, .navigation.pagination { display: none !important; }
  .mty-insights { color: #000; background: #fff; font-size: 11pt; }
  .mty-article-content a { color: #000; text-decoration: underline; }
}
