/* Argus Post Publisher — scoped styles only */
.argus-article-page,
.argus-resources-page {
  background: #fff;
}

/* v1.4 — post breadcrumb now inherits the active theme's .container geometry.
   Only the thin breadcrumb strip itself is defined here so it visually matches
   service pages instead of creating a second container system. */
.argus-pub-breadcrumb-bar {
  width: 100%;
  margin: 0;
  background: #fff;
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
}

.argus-pub-breadcrumb-inner {
  box-sizing: border-box;
  min-height: 24px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
}

.argus-breadcrumbs {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 3px;
  margin: 0 !important;
  padding: 5px 0 6px !important;
  color: #172b4d;
  font-size: 12px;
  font-weight: 400 !important;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
}

.argus-breadcrumbs a,
.argus-breadcrumb-separator,
.argus-breadcrumb-current {
  font: inherit !important;
  font-weight: 400 !important;
  color: #172b4d;
}

.argus-breadcrumbs a {
  flex: 0 0 auto;
  text-decoration: none;
}

.argus-breadcrumbs a:hover,
.argus-breadcrumbs a:focus-visible {
  color: #9b2c2c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.argus-breadcrumb-separator {
  flex: 0 0 auto;
}

.argus-breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The active theme adds spacing to generic single-post/article wrappers.
   Reset it here so the distance below the breadcrumb matches service pages. */
.argus-article-page,
.argus-resource-article {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.argus-resource-article {
  margin-bottom: 0 !important;
}

.argus-article-container {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 72px;
}

.argus-article-header {
  max-width: 820px;
  margin: 0 auto 30px;
}

.argus-article-category,
.argus-resources-eyebrow,
.argus-related-kicker,
.argus-related-category {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4b5563;
}

.argus-article-header h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.argus-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #667085;
  font-size: 15px;
}

.argus-article-featured-image {
  max-width: 920px;
  margin: 0 auto 42px;
  overflow: hidden;
  border-radius: 20px;
}

.argus-article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: #f8fafc;
}

.argus-article-content {
  max-width: 820px;
  margin: 0 auto;
  color: #263238;
  font-size: 18px;
  line-height: 1.78;
}

.argus-article-content > *:first-child {
  margin-top: 0;
}

.argus-article-content h2 {
  margin: 2.2em 0 .65em;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.argus-article-content h3 {
  margin: 1.8em 0 .55em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.argus-article-content p,
.argus-article-content ul,
.argus-article-content ol,
.argus-article-content blockquote {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.argus-article-content ul,
.argus-article-content ol {
  padding-left: 1.4em;
}

.argus-article-content li + li {
  margin-top: .35em;
}

.argus-article-content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 2.5rem 0;
}

.argus-article-content a:not(.btn):not(.argus-pub-button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.argus-inline-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin: 2.5rem 0;
  padding: 28px;
  border: 1px solid #d8dee8;
  border-radius: 18px;
  background: #f8fafc;
}

.argus-inline-cta h2 {
  margin: 0 0 8px !important;
  font-size: 1.45rem !important;
}

.argus-inline-cta p {
  margin: 0;
  color: #667085;
}

.argus-inline-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.argus-pub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 4px 6px 10px 0;
  text-decoration: none !important;
}

.argus-related-resources {
  max-width: 920px;
  margin: 64px auto 0;
  padding-top: 38px;
  border-top: 1px solid #e5e7eb;
}

.argus-related-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.argus-related-head h2 {
  margin: 5px 0 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.argus-related-head > a,
.argus-related-read {
  text-decoration: none;
  font-weight: 700;
}

.argus-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.argus-related-card {
  overflow: hidden;
  border: 1px solid #e3e7ed;
  border-radius: 16px;
  background: #fff;
}

.argus-related-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f6;
}

.argus-related-image img,
.argus-resource-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
}

.argus-related-image-placeholder,
.argus-resource-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef2f6, #f8fafc);
}

.argus-related-card-body {
  padding: 18px;
}

.argus-related-card h3 {
  margin: 6px 0 9px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.argus-related-card h3 a {
  color: inherit;
  text-decoration: none;
}

.argus-related-card p {
  margin: 0 0 12px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

/* Resources index */
.argus-resources-hero {
  padding: 54px 0 30px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.argus-resources-hero h1 {
  margin: 7px 0 8px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.argus-resources-hero p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-size: 17px;
}

.argus-resources-section {
  padding: 36px 0 72px;
}

.argus-resource-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 260px) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.argus-resource-filter input,
.argus-resource-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #cfd6df;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font: inherit;
}

.argus-resource-clear {
  padding: 10px 6px;
  text-decoration: none;
  font-weight: 700;
}

.argus-resource-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 0 0 20px;
}

.argus-resource-count {
  color: #667085;
  font-size: 14px;
}

.argus-resource-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d9dee7;
  border-radius: 10px;
  background: #f8fafc;
}

.argus-resource-view-toggle button {
  border: 0;
  border-radius: 7px;
  padding: 7px 12px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.argus-resource-view-toggle button.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
}

.argus-resource-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.argus-resource-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  min-height: 220px;
  border: 1px solid #e3e7ed;
  border-radius: 18px;
  background: #fff;
}

.argus-resource-card-image {
  display: block;
  min-height: 220px;
  background: #f4f6f8;
}

.argus-resource-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.argus-resource-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #667085;
  font-size: 13px;
}

.argus-resource-card h2 {
  margin: 9px 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.argus-resource-card h2 a {
  color: inherit;
  text-decoration: none;
}

.argus-resource-card p {
  margin: 0 0 14px;
  color: #667085;
  line-height: 1.55;
}

.argus-resource-read {
  margin-top: auto;
  text-decoration: none;
  font-weight: 700;
}

.argus-resource-results.argus-resource-view-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.argus-resource-view-list .argus-resource-card {
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 150px;
}

.argus-resource-view-list .argus-resource-card-image {
  min-height: 150px;
}

.argus-resource-view-list .argus-resource-card-body {
  padding: 18px 20px;
}

.argus-resource-view-list .argus-resource-card h2 {
  font-size: 1.2rem;
}

.argus-resource-pagination {
  margin-top: 34px;
}

.argus-resource-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.argus-resource-pagination a,
.argus-resource-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  text-decoration: none;
}

.argus-resource-pagination .current {
  font-weight: 800;
  background: #f1f5f9;
}

.argus-resource-empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed #cfd6df;
  border-radius: 16px;
}

@media (max-width: 980px) {
  .argus-resource-results {
    grid-template-columns: 1fr;
  }

  .argus-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .argus-article-container {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .argus-article-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .argus-article-content {
    font-size: 17px;
    line-height: 1.7;
  }

  .argus-inline-cta,
  .argus-related-head,
  .argus-resource-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .argus-inline-cta-actions {
    width: 100%;
  }

  .argus-inline-cta-actions .argus-pub-button {
    width: 100%;
    margin-right: 0;
  }

  .argus-related-grid {
    grid-template-columns: 1fr;
  }

  .argus-resource-filter {
    grid-template-columns: 1fr;
  }

  .argus-resource-card,
  .argus-resource-view-list .argus-resource-card {
    grid-template-columns: 1fr;
  }

  .argus-resource-card-image,
  .argus-resource-view-list .argus-resource-card-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}


/* v1.3 — inline booking form in resource posts */
.argus-pub-button-book {
  text-decoration: none !important;
}

.argus-pub-button-arrow {
  margin-left: 8px;
}

.argus-pub-inline-booking {
  position: relative;
  width: 100%;
  margin: 30px 0 36px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #d56a67;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .10);
}

.argus-pub-inline-booking-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #667085;
  font-size: 15px;
  text-align: center;
  background: #fff;
}

.argus-pub-inline-booking-loading[hidden] {
  display: none !important;
}

.argus-pub-inline-booking-frame {
  display: block;
  width: 100%;
  height: 620px;
  min-height: 520px;
  border: 0;
  opacity: 0;
  background: transparent;
  transition: opacity .18s ease;
}

.argus-pub-inline-booking-frame.is-ready {
  opacity: 1;
}

@media (max-width: 720px) {
  .argus-pub-inline-booking {
    margin: 24px 0 30px;
    border-radius: 16px;
  }

  .argus-pub-inline-booking-frame {
    min-height: 600px;
  }
}
