/* ================================================================
   Publications & Congress Landing Page – Bootstrap 5 stylesheet
   Figma: B-L | Bausch.com 26 | Node 1046-50751
   ================================================================ */

/*CSS Tokens (from Figma design tokens) ─*/
:root {
  --dark-blue:       #336699;      /* Figma: --dark-blue */
  --dark-slate:      #262626;      /* Figma: --dark-slate */
  --shadow-card:     0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  --card-border-top: 5px;
  --page-margin:     22px;         /* Figma: --page-setup/padding/l */
  --pad-s:           12px;         /* Figma: --page-setup/padding/s */
  --pad-xs:          8px;          /* Figma: --page-setup/padding/xs */
  --gutter:          30px;         /* Figma: --page-setup/grid/gutter */
}

/*Base─*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--dark-slate);
  -webkit-font-smoothing: antialiased;
}

/*Page wrapper─*/
.page-wrapper {
  max-width: 868px;        /* 828px card + 2×20px breathing room */
  margin: 0 auto;
  padding: var(--page-margin);
}

/*Card List*/
.card-list {
  display: flex;
  flex-direction: column;
  gap: var(--page-margin);
}

/*Category Card*/
.category-card {
  background: #ffffff;
  border-top: var(--card-border-top) solid var(--dark-blue);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 100%;
}

/*Card inner layout (image + content side-by-side)  */
.card-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  padding: var(--page-margin) 16px;
}

/*Left: image placeholder─ */
.card-image {
  flex: 0 0 228px;
  width: 228px;
  height: 128px;
  min-width: 142px;
  display: flex;
  align-items: center;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 228 / 128;
  background-color: rgba(255, 0, 212, 0.2);  /* Figma placeholder tint */
}

/*Right: content column─ */
.card-content {
  flex: 1 0 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}

/*Title + body text block─ */
.card-text-block {
  display: flex;
  flex-direction: column;
  gap: var(--pad-s);
  width: 100%;
}

/* Card title — bold dark-blue underlined link */
.card-title {
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.5px;
  color: var(--dark-blue);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.card-title:hover {
  color: #1e4d7a;
}

/* Body description text */
.card-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--dark-slate);
  padding-top: var(--pad-xs);
  margin: 0;
}

/*Links grid (columns of tertiary links) */
.card-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pad-xs) var(--gutter);
  align-items: flex-start;
  width: 100%;
  min-width: 294px;
}

.card-links-grid.single-col {
  flex-direction: column;
}

.links-col {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--pad-xs);
  align-items: flex-start;
}

/*Tertiary text link */
.tertiary-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--dark-blue);
  text-decoration: none;   /* underline lives on .link-text only */
  white-space: nowrap;
  transition: color 0.15s;
}

.tertiary-link:hover {
  color: #1e4d7a;
}

/* Only the text label gets the underline, not the arrow */
.link-text {
  text-decoration: underline;
}

/* Arrow character styling */
/* Arrow character — no underline, sits outside the decorated text span */
.link-arrow {
  font-size: 14px;
  line-height: 1;
  color: inherit;
  flex-shrink: 0;
}

/*Responsive adjustments─ */

/* Tablet: stack image above content when card gets narrow */
@media (max-width: 600px) {
  .card-image {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
  }

  .img-placeholder {
    aspect-ratio: 228 / 128;
  }

  .card-content {
    flex: 0 0 100%;
    min-width: 0;
  }

  .card-links-grid.two-col {
    flex-direction: column;
  }

  .links-col {
    flex: 0 0 100%;
    min-width: 0;
  }

  .tertiary-link {
    white-space: normal;
  }
    .hero-mobile {
        background: var(--dark-teal);
    }
}

/* Mobile: tighter page margins */
@media (max-width: 400px) {
  .page-wrapper {
    padding: 12px;
  }

  .card-inner {
    padding: 16px 12px;
  }

    h1 {
        color: var(--white);
    }
}


@media (min-width: 992px) {
    .filter-bar {
        display: flex !important;
    }
}

@media (max-width: 991px) {
    .cta-section {
        padding: 38px 0px;
    }
}

@media (max-width: 991px) {
    #pulication-banner .hc-banner__content

{
    min-height: inherit !important;
    position: absolute;
    display: block !important;
    z-index: 1;
    width: 100%;
}

section.hc-banner {
    min-height: 430px;
}

.position-txt {
    margin-left: 0;
    max-width: 100%;
    position: absolute;
    bottom: 10px;
}

.hc-banner__image {
    position: relative;
}

.row.mx-auto.block-margin.w-xl-1001px.px-md-0 {
    margin-left: 23px !important;
    margin-right: 23px !important;
}

p.explore-txt-sec.text {
    padding-top: 0;
}

.cta-section {
    padding: 38px 0px;
}

#pulication-banner section.hc-banner {
    min-height: 430px !important;
}

.block.herobanerecpblock {
    background: #03838c;
}

.position-txt {
    bottom: 20px;
}

#pulication-banner .hc-banner__image img {
    height: auto;
}

#pulication-banner .hc-banner__image {
    height: 100% !important;
}

.breadcrumb .breadcrumb-arrow {
    top: 5px;
}

}


.hc-banner__content {
    min-height: 300px;
}

section.hc-banner {
    background: transparent !important;
    min-height: inherit !Important;
}

.padding-15px {
    padding-bottom: 15px !important;
}



/***CSS for mid device***/
@media (min-width: 461px) and (max-width: 991px) {
    .block.herobanerecpblock {
        width: 100%;
    }

    .hc-banner__image img {
        height: auto;
        float: unset;
        max-width: 100% !important;
    }

    section.hc-banner, #pulication-banner section.hc-banner {
        min-height: 530px !important;
    }

}
