/* ===== RESET ===== */
*,
::after,
::before,
::backdrop {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

ol, ul, menu {
  list-style: none;
}

img, svg, video, canvas, audio, iframe, embed, object {
  vertical-align: middle;
  display: block;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, select, optgroup, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: transparent;
  border-radius: 0;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

/* ===== UTILITY CLASSES ===== */

/* Position */
.relative { position: relative; }

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.gap-4 { gap: 1rem; }

.w-full { width: 100%; }
.max-w-4xl { max-width: 56rem; }
.max-w-1250 { max-width: 1250px; }
.max-w-screen-lg { max-width: 64rem; }
.max-h-250 { max-height: 250px; }
.object-contain { object-fit: contain; }

/* Spacing */
.mx-auto { margin-inline: auto; }
.my-4 { margin-block: 1rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-4 { margin-left: 1rem; }

.px-2 { padding-inline: 0.5rem; }
.px-4 { padding-inline: 1rem; }
.py-1 { padding-block: 0.25rem; }
.py-12 { padding-block: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-10 { padding-bottom: 2.5rem; }

/* List */
.list-inside { list-style-position: inside; }
.list-disc { list-style-type: disc; }

/* Border */
.border-l-5 {
  border-left-style: solid;
  border-left-width: 5px;
}
.border-blue-500 { border-color: #3b82f6; }

/* Background */
.bg-blue-500 { background-color: #3b82f6; }
.bg-gray-100 { background-color: #f3f4f6; }

/* Typography */
.text-center { text-align: center; }
.text-left { text-align: left; }

.text-sm { font-size: 0.875rem; line-height: 1.4286; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3333; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-white { color: #fff; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

.underline { text-decoration-line: underline; }

/* Hover */
.hover-text-blue-800:hover { color: #1e40af; }

/* ===== RESPONSIVE: md (min-width: 768px) ===== */
@media (min-width: 48rem) {
  .md-pt-6 { padding-top: 1.5rem; }
}

/* ===== MARKDOWN ARTICLE STYLES ===== */
.markdown {
  line-height: 1.625;
}

.markdown blockquote,
.markdown ol,
.markdown p,
.markdown ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 20px;
}

.markdown h2 {
  color: #000;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.375;
}

.markdown h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.375;
}

.markdown img {
  object-fit: contain;
  border-radius: 0.5rem;
  width: 100%;
  max-height: 750px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.markdown a {
  color: #2563eb;
  font-weight: 700;
  text-decoration-line: underline;
}

.markdown a:hover {
  color: #1e40af;
}

.markdown strong {
  color: #333;
  font-weight: 700;
}

.markdown blockquote {
  background-color: #f3f4f6;
  border-color: #333;
  border-left-width: 2px;
  padding: 1rem;
}

/* ===== CUSTOM COMPONENT STYLES ===== */

/* Blue banner */
.c-blue-banner {
  background-color: #2b7fff;
  height: 4px;
}

/* Header */
.c-header {
  border-bottom: 1px solid #e5e7eb;
}

.c-header__content {
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  display: flex;
}

.c-header__logo img {
  width: auto;
  height: 32px;
}

.c-header__advertorial-content {
  text-align: right;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  display: flex;
}

.c-header__advertorial {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7280;
  border: 1px solid #6b7280;
  padding: 1px 4px;
  font-size: 10px;
  line-height: 1.4;
}

.c-header__advertorial-tech {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #374151;
  font-size: 10px;
  font-weight: 700;
}

body.is-yahoo .c-header__advertorial-content { display: none; }
body.is-partner .c-header__logo--skimm img { height: 40px; }
body.is-partner .c-header__logo--1440 img { height: 28px; }

/* Headline */
.c-headline {
  font-family: "Archivo", sans-serif;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 600px) {
  .c-headline { font-size: 1.875rem; }
}

/* Copy */
.c-copy {
  color: #1f2937;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75;
}

.c-copy--title {
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 600px) {
  .c-copy--title { font-size: 1.5rem; }
}

.c-copy__mark {
  color: #111827;
  background-color: #fef08a;
  padding: 0 2px;
}

/* Author */
.c-author {
  color: #6b7280;
  margin: 0;
  font-size: 0.875rem;
}

/* Image highlight */
.c-image-highlight {
  position: relative;
}

/* Showcase hero (featured-on bar) */
.c-showcase-hero {
  align-items: center;
  gap: 6px;
  width: 100%;
  display: flex;
  bottom: 0;
  left: 0;
  right: 0;
}

.c-showcase-hero__featured {
  text-transform: uppercase;
  background: #eec249;
  flex-shrink: 0;
  padding: 0.4em 0.8em;
  font-size: 1.25rem;
  font-weight: 700;
}

.c-logo-container img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 45px;
}

/* Showcase body (image captions) */
.c-showcase-body {
  text-align: center;
  background-color: #f3f4f6;
  padding: 10px 16px;
}

.c-showcase-body__copy {
  color: #4b5563;
  margin: 0;
  font-size: 0.8125rem;
  font-style: italic;
}

/* USPs */
.c-usps {
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.c-usps li {
  font-size: 1.25rem;
  display: flex !important;
}

.c-usps li::before {
  content: "\2713";
  color: #10b981;
  margin-right: 0.5em;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.c-usps li strong {
  margin-bottom: 2px;
  display: block;
}

.c-usps span.u-block-desk {
  color: #4b5563;
  font-size: 1.25rem;
}

/* State box */
.c-state-box {
  background: #eef6ff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px;
}

.c-state-box__title {
  color: #111827;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.c-state-box--flex {
  gap: 16px;
  display: flex;
}

.c-state-box--flex > div {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  display: flex;
}

.c-state-box__state {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d2e0ff;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  transition: background 0.15s;
  display: flex;
}

.c-state-box__state:hover {
  background: #e5e7eb;
}

.c-state-box__state img {
  flex-shrink: 0;
  width: 48px;
  height: auto;
}

.c-state-box__state-name {
  color: #2b7fff;
  text-underline-offset: 2px;
  cursor: pointer;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
}

.c-state-box__copy {
  color: #2b7fff;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
}

.c-state-box__copy img {
  width: 16px;
  height: auto;
}

/* Divider */
.c-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Reviews */
.c-reviews {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.c-review {
  padding: 8px 0;
}

.c-review__headline {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.c-review__headline img {
  flex-shrink: 0;
  width: 80px;
  height: auto;
}

.c-review__title {
  color: #111827;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.c-review__author {
  color: #6b7280;
  margin: 0;
  font-size: 0.8125rem;
}

/* Related stories */
.c-related-title {
  color: #fff;
  background: #2b7fff;
  padding: 0.2em 0.7em;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-block;
}

.c-related-divider {
  background-color: #2b7fff;
  height: 2px;
  margin-bottom: 0;
}

.c-related-stories {
  grid-template-columns: 1fr;
  gap: 20px;
  display: grid;
}

@media (min-width: 900px) {
  .c-related-stories { grid-template-columns: repeat(3, 1fr); }
}

.c-story-card {
  gap: 12px;
  display: flex;
}

@media (min-width: 600px) {
  .c-story-card { gap: 8px; }
}

.c-story-image {
  flex-shrink: 0;
}

.c-story-image img {
  object-fit: cover;
  border-radius: 4px;
  width: 100%;
  height: 80px;
}

@media (min-width: 600px) {
  .c-story-image img { height: 140px; }
}

.c-story-content {
  flex-direction: column;
  flex: 1;
  gap: 6px;
  display: flex;
}

.c-category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2b7fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.c-story-content__copy {
  color: #111827;
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-read-more {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  font-size: 0.55rem;
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
}

.c-read-more:hover {
  text-decoration: underline;
}

/* Dark blue background section */
.c-background-darkblue {
  color: #fff;
  background-color: #00205b;
  margin-top: 32px;
  padding: 32px 0;
}

/* CRM / Newsletter signup */
.c-crm-section {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  display: flex;
}

@media (min-width: 600px) {
  .c-crm-section {
    flex-direction: row;
    align-items: center;
  }
}

.c-crm-section > img {
  filter: brightness(0) invert();
  flex-shrink: 0;
  width: auto;
  height: 28px;
}

.c-crm-signup {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  display: flex;
}

@media (min-width: 600px) {
  .c-crm-signup {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}

.c-crm-signup__left { flex: none; }

@media (min-width: 600px) {
  .c-crm-signup__left { width: 200px; }
}

.c-crm-signup__title {
  color: #fff;
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.c-crm-signup__sub-title {
  color: #bfdbfe;
  margin: 0;
  font-size: 0.875rem;
}

.c-crm-signup__sub-title span {
  color: #fbbf24;
  font-weight: 600;
}

.c-crm-signup__right { flex: 1; }

.c-crm-signup__form {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.c-crm-signup__form-input {
  color: #111827;
  border: none;
  border-radius: 6px;
  outline: none;
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  font-size: 0.9375rem;
}

.c-crm-signup__form-submit {
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background-color: #2b7fff;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: background 0.15s;
  display: flex;
}

.c-crm-signup__form-submit:hover {
  background-color: #004299;
}

.c-crm-signup__form-submit-loader {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.c-crm-signup__form.is-processing .c-crm-signup__form-submit {
  opacity: 0.7;
  pointer-events: none;
}

.c-crm-signup__form.is-processing .c-crm-signup__form-submit-loader {
  display: inline-block;
}

.c-error-txt,
.c-success-txt {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  display: none;
}

.c-crm-signup__form.is-error .c-error-txt {
  color: #fca5a5;
  display: block;
}

.c-crm-signup__form.is-success .c-success-txt {
  color: #86efac;
  display: block;
}

.c-crm-signup__disc {
  color: #93c5fd;
  margin: 8px 0 0;
  font-size: 0.6875rem;
  line-height: 1.5;
}

/* Footer */
.c-footer-copy {
  color: #9ca3af;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.c-disc-copy {
  color: #6b7280;
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.c-footer {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  display: flex;
}

.c-footer__link {
  color: #6b7280;
  font-size: 0.6875rem;
  transition: color 0.1s;
}

.c-footer__link:hover {
  color: #d1d5db;
}

/* Ad box */
.c-ad-box {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
}

.c-ad-box__copy {
  color: #374151;
  margin: 0;
  font-size: 0.875rem;
}
