.field--name-field-media-feed-source-id {
  display: none !important;
}

.theme-main.page-node-type-news :is(#block-i2-theme-digimainnavigation,
  #block-i2-theme-icmsmainnavigation,
  #block-i2-theme-digimainnavigation-2,
  #block-i2-theme-icmsmainnavigation-2) {
  display: none;
}

.theme-digi.page-node-type-news :is(#block-i2-theme-mainnavigation,
  #block-i2-theme-icmsmainnavigation,
  #block-i2-theme-mainnavigation-2,
  #block-i2-theme-icmsmainnavigation-2) {
  display: none;
}

.theme-icms.page-node-type-news :is(#block-i2-theme-mainnavigation,
  #block-i2-theme-digimainnavigation,
  #block-i2-theme-mainnavigation-2,
  #block-i2-theme-digimainnavigation-2) {
  display: none;
}

a.cdrd-link {
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  inset: 0;
}

.mitigate-button {
  cursor: pointer;
}

.declaration-section {
  display: none;
}

.page-node-774 .banner-section,
.page-node-774 .block-system-breadcrumb-block,
.page-node-774 .block-field-blocknodepagetitle {
  display: none;
}

.page-node-774 .ic-content {
  padding-top: 0;
}

.page-node-774 .yellow-button,
.page-node-774 a.yellow-button {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-node-774 .yellow-button a {
  background-color: #f8b532;
  border-radius: 10px;
  font-size: 30px;
  text-align: center;
  padding: 28px;
  min-width: 300px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.page-node-774 .yellow-button:hover,
.page-node-774 a.yellow-button:hover {
  transform: scale(1.1);
}

/* Cookies */
#cookiesjsr .cookiesjsr-settings,
#cookiesjsr .cookiesjsr-banner--info .cookiesjsr-links {
  display: none;
}

#cookiesjsr .cookiesjsr-banner {
  border-top-right-radius: 120px;
  padding: 30px;
  background: linear-gradient(to right, #163A8F 0%, #1252AD 100%);
}

#cookiesjsr .cookiesjsr-banner--text {
  font-size: 20px;
}

#cookiesjsr .cookiesjsr-banner--action>button {
  font-size: 22px;
}

@media (min-width: 768px) {
  #cookiesjsr .cookiesjsr-banner {
    flex-direction: column
  }

  .cookiesjsr-banner--action,
  .cookiesjsr-banner--info {
    width: 70%;
  }
}

/* PDF download survey: source block is data-only */
#block-i2-theme-surveyquestions {
  display: none;
}

#cpasModal.survey-download-popup .modal-content {
  border: none;
  border-radius: 20px;
  overflow: visible;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 40, 80, 0.18);
  background: transparent;
}

#cpasModal.survey-download-popup .modal-body {
  padding: 0;
  border: none;
  background: none;
}

#cpasModal.survey-download-popup .survey-download-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
  border-radius: 20px;
  border: 1px solid #1250AA;
  background: #fff;
  overflow: hidden;
  text-align: left;
}

#cpasModal.survey-download-popup .survey-download-modal:has(.survey-download-modal__footer) {
  background: transparent;
}

#cpasModal.survey-download-popup .survey-download-modal__form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
}

#cpasModal.survey-download-popup .survey-download-modal__main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff 0%, #e6f1fb 100%);
}

#cpasModal.survey-download-popup .survey-download-modal__icon {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  object-fit: contain;
}

#cpasModal.survey-download-popup .survey-download-modal__body {
  flex: 1;
  min-width: 0;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
}

#cpasModal.survey-download-popup .survey-download-modal__title {
  color: #151B74;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

#cpasModal.survey-download-popup .survey-download-modal__question {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

#cpasModal.survey-download-popup .survey-download-modal__question-label {
  color: #0d1f3c;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  float: none;
  width: auto;
}

#cpasModal.survey-download-popup .survey-download-modal__options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

#cpasModal.survey-download-popup .survey-download-modal__option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

#cpasModal.survey-download-popup .survey-download-modal__option input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

#cpasModal.survey-download-popup .survey-download-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 20px;
  background: #1250AA;
  border-radius: 0 0 20px 20px;
  padding: 18px 41px;
}

#cpasModal.survey-download-popup .survey-download-modal__error {
  flex: 1 1 auto;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

#cpasModal.survey-download-popup .survey-download-modal__submit {
  display: inline-block;
  border: none;
  border-radius: 44px;
  background: #FFC300;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  padding: 11px 33px 11px 25px;
  cursor: pointer;
}

#cpasModal.survey-download-popup .survey-download-modal__submit:hover:not(:disabled),
#cpasModal.survey-download-popup .survey-download-modal__submit:focus:not(:disabled) {
  background-color: #B3E6FF;
}

#cpasModal.survey-download-popup .survey-download-modal__submit:disabled {
  background: #C8C8C8;
  color: #666;
  cursor: not-allowed;
}

#cpasModal.survey-download-popup .survey-download-modal--thanks .survey-download-modal__main {
  align-items: center;
}

#cpasModal.survey-download-popup .survey-download-modal__thanks-text {
  color: #151B74;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

#cpasModal.survey-download-popup .survey-download-modal__thanks-text p {
  margin: 0;
  font-size: 22px;
}

/* Survey confirm (Yes/No) before survey-button opens questions */
#cpasModal.survey-confirm-popup .survey-confirm-modal .survey-download-modal__main {
  align-items: center;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal .survey-download-modal__title {
  text-align: center;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__footer {
  justify-content: center;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__btn {
  display: inline-block;
  border: none;
  border-radius: 44px;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  padding: 11px 33px 11px 25px;
  cursor: pointer;
  min-width: 96px;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--yes {
  background: #FFC300;
  color: #000;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--yes:hover,
#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--yes:focus {
  background-color: #B3E6FF;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--no {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--no:hover,
#cpasModal.survey-confirm-popup .survey-confirm-modal__btn--no:focus {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 767.98px) {
  #cpasModal.survey-download-popup .survey-download-modal__main {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
  }

  #cpasModal.survey-download-popup .survey-download-modal__icon {
    width: 72px;
    height: 72px;
  }

  #cpasModal.survey-download-popup .survey-download-modal__title {
    font-size: 22px;
    text-align: center;
  }

  #cpasModal.survey-download-popup .survey-download-modal__footer {
    padding: 16px 20px;
  }
}

/* User Survey */
.sidebar-back-user-survey {
  border-radius: 10px 0 0 10px;
  background: #B3E6FF;
  box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.15);
  text-align: center;
  text-decoration: none;
  padding: 20px;
  cursor: pointer;
  overflow: hidden;
  position: fixed;
  top: calc(30% + 130px);
  right: 0;
  z-index: 90;
  font-size: 16px;
  color: #000;
  width: 88px;
  line-height: 1.2;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.sidebar-back-user-survey:hover,
.sidebar-back-user-survey:focus {
  background: #FFC72E
}

/* Red Flags — section + flip cards */
.paragraph--type--red-flags {
  --rf-border: #3FB5E8;
  --rf-front-bg: #fff;
  --rf-back-bg: #c5e8f7;
  --rf-back-text: #151B74;
  --rf-pill: #C93F40;
  --rf-radius: 20px;
  --rf-gap: 30px;
}

.paragraph--type--red-flags>.paragraph__column {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rf-gap);
  align-items: stretch;
}

.paragraph--type--red-flags>.paragraph__column>h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding: 0;
  text-align: center;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.paragraph--type--red-flags .field--name-bp-header {
  display: inline-block;
  background: var(--rf-pill);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 36px;
  border-radius: 999px;
}

.paragraph--type--red-flags>.paragraph__column>div:has(.paragraph--type--red-flags-item) {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
}

.paragraph--type--red-flags .field--name-field-animation-style,
.paragraph--type--red-flags .field--name-field-width-style {
  display: none !important;
}

.paragraph--type--red-flags-item {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.paragraph--type--red-flags-item .red-flags-item {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.red-flags-item__scene {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.red-flags-item__card {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  cursor: pointer;
  outline: none;
}

.red-flags-item__card:focus-visible {
  box-shadow: 0 0 0 3px rgba(18, 80, 170, 0.35);
  border-radius: var(--rf-radius);
}

.red-flags-item__card.is-flipped {
  transform: rotateY(180deg);
}

.red-flags-item__face {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.red-flags-item__face:hover,
.red-flags-item__face:focus {
  background-color: #B6E7FF;
}

.red-flags-item__face--front {
  background: var(--rf-front-bg);
  color: #1a1a1a;
  transform: rotateY(0deg);
}

.red-flags-item__face--back {
  background: var(--rf-back-bg);
  color: var(--rf-back-text);
  transform: rotateY(180deg);
  border: 1px solid var(--rf-back-bg);
}

.red-flags-item__face .field--name-field-red-flags-image,
.red-flags-item__face .field--name-field-potential-image {
  flex: 0 0 56px;
  width: 56px;
  margin: 0;
}

.red-flags-item__face .field--name-field-red-flags-image img,
.red-flags-item__face .field--name-field-potential-image img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.red-flags-item__face .field--name-field-red-flags-content,
.red-flags-item__face .field--name-field-potential-content {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Flatten CKEditor nested wrappers so empty &nbsp; blocks don't break centering */
.red-flags-item__face .field--name-field-red-flags-content div,
.red-flags-item__face .field--name-field-potential-content div {
  display: contents;
}

.red-flags-item__face .field--name-field-red-flags-content p,
.red-flags-item__face .field--name-field-potential-content p {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.red-flags-item__face--back .field--name-field-potential-content h3 {
  margin: 0 0 8px;
  color: var(--rf-back-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.red-flags-item__face--back .field--name-field-potential-content p {
  color: var(--rf-back-text);
}

@media (min-width: 768px) {
  .paragraph--type--red-flags>.paragraph__column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .paragraph--type--red-flags>.paragraph__column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .red-flags-item__card {
    transition: none;
  }
}