/* Generated from html/assets/css/blog.css: every selector is scoped to .omg-blog so the
   design cannot leak into the Elementor header/footer. WordPress-specific additions live in blog-wp.css. */
/* ==========================================================================
   OMANGOM Blog — static templates (listing + detail)
   Brand: yellow #FFC60A · teal #79CDD3 · navy ink #0B1B2B · Plus Jakarta Sans
   Light-only: no dark backgrounds on blog pages.
   ========================================================================== */

.omg-blog {
  --ink: #0B1B2B;          /* headings */
  --text: #2B3645;         /* body copy */
  --muted: #5D6B7C;        /* meta, captions */
  --line: #E6E9EF;         /* borders */
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;      /* section tint */
  --bg-cream: #FFFAEB;     /* warm highlight */
  --brand: #FFC60A;        /* OMANGOM yellow */
  --brand-deep: #B98C00;   /* yellow for text on white (AA) */
  --teal: #79CDD3;
  --teal-deep: #1E6E78;    /* links, accents on white */
  --indigo: #4158D0;
  --tint-indigo: #EEF1FF;
  --tint-teal: #E8FCFD;
  --tint-peach: #FFF3EA;
  --tint-lilac: #F5EDFF;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,27,43,.04), 0 8px 24px rgba(11,27,43,.06);
  --shadow-hover: 0 2px 4px rgba(11,27,43,.05), 0 16px 40px rgba(11,27,43,.10);
  --container: 1200px;
  --reading: 720px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.omg-blog *, .omg-blog *::before, .omg-blog *::after { box-sizing: border-box; }
html:has(body.omg-blog-page) { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.omg-blog {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.omg-blog img { max-width: 100%; height: auto; display: block; }
.omg-blog a { color: inherit; text-decoration: none; }
.omg-blog button { font: inherit; cursor: pointer; }
.omg-blog :focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }

.omg-blog .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.omg-blog .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.omg-blog .btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; line-height: 1;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.omg-blog .btn-primary { background: var(--brand); color: var(--ink); }
.omg-blog .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,198,10,.35); }
.omg-blog .btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.omg-blog .btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Shared bits ---------- */
.omg-blog .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-deep);
}
.omg-blog .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.omg-blog .tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  background: var(--tint-indigo); color: var(--indigo);
}
.omg-blog .tag--teal { background: var(--tint-teal);  color: var(--teal-deep); }
.omg-blog .tag--peach { background: var(--tint-peach); color: #A4501C; }
.omg-blog .tag--lilac { background: var(--tint-lilac); color: #6A3DC0; }
.omg-blog .tag--yellow { background: var(--bg-cream);   color: #8A6800; }
.omg-blog .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.omg-blog .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #B7C0CC; }
.omg-blog .avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: var(--ink); font-weight: 800; font-size: 13px;
}
.omg-blog .author-inline { display: flex; align-items: center; gap: 10px; }
.omg-blog .author-inline strong { color: var(--ink); font-weight: 600; }

/* ---------- Listing: hero ---------- */
.omg-blog .blog-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(145,241,250,.35), transparent 70%),
    radial-gradient(520px 220px at 5% 20%, rgba(255,198,10,.18), transparent 70%),
    var(--bg);
}
.omg-blog .blog-hero h1 {
  font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.025em;
  color: var(--ink); margin: 14px 0 14px; font-weight: 800; max-width: 760px;
}
.omg-blog .blog-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255,198,10,.55) 62%); }
.omg-blog .blog-hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0; }

.omg-blog .toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; }
.omg-blog .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.omg-blog .chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.omg-blog .chip:hover { border-color: var(--ink); color: var(--ink); }
.omg-blog .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.omg-blog .search {
  position: relative; flex: 0 1 300px;
}
.omg-blog .search input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink);
}
.omg-blog .search input:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(121,205,211,.3); }
.omg-blog .search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ---------- Listing: featured ---------- */
.omg-blog .featured { padding: 24px 0 8px; }
.omg-blog .featured-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
.omg-blog .featured-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.omg-blog .featured-card .thumb { position: relative; min-height: 360px; overflow: hidden; background: var(--tint-indigo); }
.omg-blog .featured-card .thumb img { position: absolute; inset: 0; }
.omg-blog .featured-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.omg-blog .featured-card:hover .thumb img { transform: scale(1.03); }
.omg-blog .featured-card .body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.omg-blog .featured-label { font-size: 13px; font-weight: 800; color: var(--brand-deep); letter-spacing: .08em; text-transform: uppercase; }
.omg-blog .featured-card h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.18; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.omg-blog .featured-card p { font-size: 17px; color: var(--muted); margin: 0; }
.omg-blog .read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.omg-blog .read-more svg { transition: transform .2s; }
.omg-blog a:hover .read-more svg, .omg-blog .read-more:hover svg { transform: translateX(4px); }

/* ---------- Listing: grid ---------- */
.omg-blog .section { padding: 56px 0; }
.omg-blog .section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.omg-blog .section-head h2 { font-size: 28px; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.omg-blog .section-head .count { color: var(--muted); font-size: 15px; }
.omg-blog .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.omg-blog .post-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.omg-blog .post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.omg-blog .post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.omg-blog .post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.omg-blog .post-card:hover .thumb img { transform: scale(1.04); }
.omg-blog .post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.omg-blog .post-card h3 { font-size: 20px; line-height: 1.32; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.omg-blog .post-card p { font-size: 15.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.omg-blog .post-card .meta { margin-top: auto; padding-top: 8px; font-size: 13.5px; }
.omg-blog .post-card[hidden] { display: none; }
.omg-blog .empty-state { display: none; text-align: center; padding: 48px 0; color: var(--muted); }
.omg-blog .empty-state.show { display: block; }

.omg-blog .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.omg-blog .pagination a, .omg-blog .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--text);
}
.omg-blog .pagination a:hover { border-color: var(--ink); color: var(--ink); }
.omg-blog .pagination .current { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.omg-blog .pagination .gap { border: 0; background: none; }

/* ---------- Newsletter / CTA (light) ---------- */
.omg-blog .newsletter {
  border-radius: 24px; padding: 48px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(145,241,250,.5), transparent 70%),
    radial-gradient(400px 200px at 0% 100%, rgba(255,198,10,.25), transparent 70%),
    var(--bg-cream);
  border: 1px solid #F5E6B8;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.omg-blog .newsletter h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.omg-blog .newsletter p { margin: 0; color: var(--muted); font-size: 16.5px; }
.omg-blog .subscribe { display: flex; gap: 10px; }
.omg-blog .subscribe input {
  flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid #E8D9A8;
  background: #fff; font: inherit; font-size: 15px;
}
.omg-blog .subscribe input:focus { outline: none; border-color: var(--ink); }
.omg-blog .subscribe small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.omg-blog .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.omg-blog .breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.omg-blog .breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Detail: progress bar ---------- */
.omg-blog .progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 110; transition: width .1s linear; }

/* ---------- Detail: header ---------- */
.omg-blog .post-header { padding: 48px 0 32px; text-align: center; }
.omg-blog .post-header .breadcrumb { justify-content: center; margin-bottom: 28px; }
.omg-blog .post-header h1 {
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -.025em;
  color: var(--ink); margin: 18px auto 18px; max-width: 900px; font-weight: 800;
}
.omg-blog .post-header .dek { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; line-height: 1.55; }
.omg-blog .post-header .meta { justify-content: center; }
.omg-blog .post-cover { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.omg-blog .post-cover img { width: 100%; border-radius: 24px; aspect-ratio: 16/8; object-fit: cover; border: 1px solid var(--line); }
.omg-blog .post-cover figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Detail: layout ---------- */
.omg-blog .post-layout {
  display: grid; grid-template-columns: 220px minmax(0, var(--reading)) 220px;
  justify-content: center; gap: 56px; padding: 56px 24px 24px; max-width: var(--container); margin: 0 auto;
}
.omg-blog .post-aside { position: relative; }
.omg-blog .sticky { position: sticky; top: 104px; }
.omg-blog .aside-title { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.omg-blog .toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.omg-blog .toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s;
}
.omg-blog .toc a:hover { color: var(--ink); }
.omg-blog .toc a.is-active { color: var(--ink); font-weight: 700; border-left-color: var(--brand); }
.omg-blog .share { display: flex; flex-direction: column; gap: 10px; }
.omg-blog .share-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--text); transition: all .2s;
}
.omg-blog .share-btn:hover { border-color: var(--ink); color: var(--ink); }
.omg-blog .aside-cta {
  margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--tint-teal); border: 1px solid #C8F1F4;
}
.omg-blog .aside-cta h4 { margin: 0 0 8px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.omg-blog .aside-cta p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.omg-blog .aside-cta .btn { padding: 10px 14px; font-size: 13.5px; }

/* ---------- Detail: article typography ---------- */
.omg-blog .article { font-size: 18.5px; line-height: 1.8; color: var(--text); }
.omg-blog .article > * + * { margin-top: 1.25em; }
.omg-blog .article p { margin-bottom: 0; }
.omg-blog .article > .takeaways + p::first-letter {
  float: left; font-size: 4.1em; line-height: .9; font-weight: 800; color: var(--ink);
  padding: 6px 12px 0 0;
}
.omg-blog .article h2 {
  font-size: 30px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink);
  margin: 2.2em 0 0; scroll-margin-top: 100px;
}
.omg-blog .article h3 { font-size: 22px; line-height: 1.35; color: var(--ink); margin: 1.8em 0 0; scroll-margin-top: 100px; }
.omg-blog .article a { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(30,110,120,.35); }
.omg-blog .article a:hover { text-decoration-color: currentColor; }
.omg-blog .article strong { color: var(--ink); }
.omg-blog .article ul, .omg-blog .article ol { padding-left: 1.3em; margin: 1.25em 0 0; }
.omg-blog .article li + li { margin-top: .5em; }
.omg-blog .article li::marker { color: var(--brand-deep); font-weight: 700; }
.omg-blog .article hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }

.omg-blog .article blockquote {
  margin: 2em 0 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--brand);
  font-size: 24px; line-height: 1.5; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.omg-blog .article blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-style: normal; font-weight: 500; color: var(--muted); }

.omg-blog .article figure { margin: 2em 0 0; }
.omg-blog .article figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.omg-blog .article figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }

.omg-blog .article code { font-family: var(--mono); font-size: .85em; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: #9A3B1A; }
.omg-blog .article pre {
  margin: 1.75em 0 0; padding: 22px 24px; border-radius: var(--radius);
  background: #F6F8FA; border: 1px solid var(--line); overflow-x: auto;
  font-family: var(--mono); font-size: 14.5px; line-height: 1.7; color: #24292F;
}
.omg-blog .article pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.omg-blog .tok-k { color: #CF222E; } .omg-blog .tok-s { color: #0A3069; } .omg-blog .tok-c { color: #6E7781; font-style: italic; } .omg-blog .tok-f { color: #8250DF; }

.omg-blog .takeaways {
  margin: 0 0 2.25em; padding: 26px 28px; border-radius: var(--radius);
  background: var(--bg-cream); border: 1px solid #F5E6B8;
}
.omg-blog .takeaways h2, .omg-blog .takeaways .title { margin: 0 0 10px !important; font-size: 17px !important; letter-spacing: 0; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.omg-blog .takeaways ul { margin: 0 !important; font-size: 16.5px; line-height: 1.65; }

.omg-blog .callout {
  margin-top: 1.75em; padding: 20px 22px; border-radius: 14px; display: flex; gap: 14px;
  background: var(--tint-indigo); border: 1px solid #D9DFFF; font-size: 16.5px; line-height: 1.65;
}
.omg-blog .callout .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--indigo); font-weight: 800; }
.omg-blog .callout--tip { background: var(--tint-teal); border-color: #C8F1F4; }
.omg-blog .callout--tip .ico { color: var(--teal-deep); }

.omg-blog .table-wrap { margin-top: 1.75em; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.omg-blog .article table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.omg-blog .article th, .omg-blog .article td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.omg-blog .article th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 14px; }
.omg-blog .article tr:last-child td { border-bottom: 0; }

.omg-blog .inline-cta {
  margin-top: 2.5em !important; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint-teal), var(--tint-indigo));
  border: 1px solid #D5EEF3; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.omg-blog .inline-cta h4 { margin: 0 0 4px; color: var(--ink); font-size: 19px; line-height: 1.35; }
.omg-blog .inline-cta p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.omg-blog .inline-cta .btn { flex: none; }

/* ---------- Detail: footer of article ---------- */
.omg-blog .post-footer { max-width: var(--reading); margin: 0 auto; padding: 8px 24px 0; }
.omg-blog .tags-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.omg-blog .tags-row .label { font-weight: 700; color: var(--ink); margin-right: 6px; font-size: 15px; }
.omg-blog .tags-row a { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.omg-blog .tags-row a:hover { border-color: var(--ink); color: var(--ink); }
.omg-blog .author-box { display: flex; gap: 20px; padding: 32px 0; }
.omg-blog .author-box .avatar { width: 64px; height: 64px; font-size: 20px; }
.omg-blog .author-box h4 { margin: 0 0 2px; font-size: 18px; color: var(--ink); }
.omg-blog .author-box .role { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.omg-blog .author-box p { margin: 0; font-size: 15.5px; color: var(--text); }
.omg-blog .helpful { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 14px; background: var(--bg-soft); }
.omg-blog .helpful span { font-weight: 600; color: var(--ink); }
.omg-blog .helpful .btns { display: flex; gap: 8px; }
.omg-blog .helpful button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.omg-blog .helpful button:hover, .omg-blog .helpful button.picked { border-color: var(--ink); background: var(--ink); color: #fff; }

.omg-blog .related { background: var(--bg-soft); margin-top: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .omg-blog .post-layout { grid-template-columns: minmax(0, var(--reading)) 240px; gap: 48px; }
  .omg-blog .post-aside--left { display: none; }
}
@media (max-width: 980px) {

  .omg-blog .featured-card { grid-template-columns: 1fr; }
  .omg-blog .featured-card .body { padding: 28px; }
  .omg-blog .featured-card .thumb { min-height: 0; aspect-ratio: 16/9; }
  .omg-blog .post-grid { grid-template-columns: repeat(2, 1fr); }
  .omg-blog .newsletter { grid-template-columns: 1fr; padding: 32px; }
  .omg-blog .post-layout { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .omg-blog .post-aside--right { display: none; }

}
@media (max-width: 640px) {
  .omg-blog .container { padding: 0 16px; }
  .omg-blog .blog-hero { padding: 40px 0 24px; }
  .omg-blog .toolbar { flex-direction: column; align-items: stretch; }
  .omg-blog .toolbar > * { min-width: 0; max-width: 100%; }
  .omg-blog .blog-hero .container { overflow: hidden; }
  .omg-blog .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .omg-blog .chip { white-space: nowrap; }
  .omg-blog .search { flex: 1 1 auto; }
  .omg-blog .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .omg-blog .section { padding: 40px 0; }
  .omg-blog .subscribe { flex-direction: column; }
  .omg-blog .post-header { padding: 32px 0 24px; }
  .omg-blog .post-cover { padding: 0 16px; }
  .omg-blog .post-cover img { border-radius: 16px; aspect-ratio: 16/10; }
  .omg-blog .post-layout { padding: 32px 16px 16px; }
  .omg-blog .article { font-size: 17.5px; }
  .omg-blog .article h2 { font-size: 25px; }
  .omg-blog .article blockquote { font-size: 20px; padding-left: 20px; }
  .omg-blog .inline-cta { flex-direction: column; align-items: flex-start; }
  .omg-blog .post-footer { padding: 8px 16px 0; }
  .omg-blog .author-box { flex-direction: column; gap: 14px; }
  .omg-blog .helpful { flex-direction: column; align-items: flex-start; }

}
@media (prefers-reduced-motion: reduce) {
  .omg-blog *, .omg-blog *::before, .omg-blog *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Announcement + case study components (used by openai-select-partner.html)
   ========================================================================== */
.omg-blog .tag--dark { background: var(--ink); color: #fff; }

/* Official badge placeholder — replace inner content with the badge <img> from the OpenAI social pack */
.omg-blog .badge-slot {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 220px; height: 88px; padding: 10px; border-radius: 14px;
  border: 2px dashed #C9D1DC; background: #fff; color: var(--muted);
  font-size: 12.5px; font-weight: 600; line-height: 1.35;
}
.omg-blog .badge-slot img { max-width: 100%; max-height: 100%; width: auto; }
.omg-blog .post-header .badge-slot { margin: 0 auto 22px; display: flex; }

.omg-blog .announce {
  margin: 1.75em 0 0 !important; padding: 28px; border-radius: var(--radius);
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(145,241,250,.45), transparent 70%),
    var(--bg-cream);
  border: 1px solid #F5E6B8; display: flex; gap: 24px; align-items: center;
}
.omg-blog .announce .badge-slot { flex: none; width: 180px; height: 76px; }
.omg-blog .announce p { margin: 0; font-size: 17px; line-height: 1.65; }

.omg-blog .case-card {
  margin-top: 1.75em !important; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow);
}
.omg-blog .case-card__head { padding: 24px 28px; background: var(--tint-teal); border-bottom: 1px solid #C8F1F4; }
.omg-blog .case-card__head .eyebrow { margin-bottom: 6px; }
.omg-blog .case-card__head h3 { margin: 6px 0 0 !important; font-size: 22px; }
.omg-blog .case-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.omg-blog .case-facts div { padding: 18px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.omg-blog .case-facts div:nth-child(2n) { border-right: 0; }
.omg-blog .case-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.omg-blog .case-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.omg-blog .case-facts dd { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }

.omg-blog .phases { list-style: none; padding: 0 !important; margin: 1.75em 0 0 !important; counter-reset: ph; }
.omg-blog .phases li { position: relative; padding: 0 0 26px 64px; margin: 0 !important; }
.omg-blog .phases li::before {
  counter-increment: ph; content: counter(ph, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--brand); color: var(--ink); font-weight: 800; font-size: 15px;
}
.omg-blog .phases li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.omg-blog .phases li:last-child::after { display: none; }
.omg-blog .phases li:last-child { padding-bottom: 0; }
.omg-blog .phases h4 { margin: 0 0 4px; font-size: 18px; color: var(--ink); line-height: 1.4; padding-top: 9px; }
.omg-blog .phases p { margin: 0 !important; font-size: 16.5px; line-height: 1.7; }

.omg-blog .outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.75em !important; }
.omg-blog .outcome { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.omg-blog .outcome .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.omg-blog .outcome:nth-child(1) .ico { background: var(--tint-indigo); }
.omg-blog .outcome:nth-child(2) .ico { background: var(--tint-teal); }
.omg-blog .outcome:nth-child(3) .ico { background: var(--tint-peach); }
.omg-blog .outcome:nth-child(4) .ico { background: var(--tint-lilac); }
.omg-blog .outcome h4 { margin: 0 0 6px; font-size: 17px; color: var(--ink); line-height: 1.4; }
.omg-blog .outcome p { margin: 0 !important; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.omg-blog .is-isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.75em !important; }
.omg-blog .is-isnt > div { padding: 22px 24px; border-radius: 16px; }
.omg-blog .is-isnt .is { background: var(--tint-teal); border: 1px solid #C8F1F4; }
.omg-blog .is-isnt .isnt { background: var(--bg-soft); border: 1px solid var(--line); }
.omg-blog .is-isnt h4 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.omg-blog .is-isnt ul { margin: 0 !important; padding-left: 1.1em; font-size: 15.5px; line-height: 1.6; }

.omg-blog .editor-note {
  margin-top: 1.5em; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5;
  background: #FFF4F2; border: 1px dashed #F2A999; color: #9A3B1A;
}
/* Hide editor notes on the live site by adding class "is-live" to <body> */
body.is-live .omg-blog .editor-note { display: none; }

@media (max-width: 640px) {
  .omg-blog .announce { flex-direction: column; align-items: flex-start; }
  .omg-blog .outcomes, .omg-blog .is-isnt { grid-template-columns: 1fr; }
  .omg-blog .case-card__head, .omg-blog .case-facts div { padding-left: 18px; padding-right: 18px; }
}

/* Official OpenAI Select Partner badge — always shown as provided, on white, with clear space */
.omg-blog .partner-badge { background: #fff; display: inline-block; line-height: 0; }
.omg-blog .partner-badge img { width: 100%; height: auto; }
.omg-blog .partner-badge--header { width: 200px; margin: 0 auto 24px; display: block; }
.omg-blog .partner-badge--inline { flex: none; width: 110px; background: none; }
.omg-blog .partner-badge--aside { width: 100%; max-width: 180px; margin-top: 28px; display: block; }
.omg-blog .announce p { margin: 0; }
