.wp-block-image {margin:0 0 30px 0;}


.text-page figcaption,
.single-job figcaption,
.single-post  figcaption {
font-size: 15px;
    line-height: 1.2em;
}


.text-page h2,
.single-job h2,
.single-post  h2 {
    font-size: 32px!important;
    font-weight:400!important;;
    margin:1.5em 0 0.5em 0!important;;
}

.text-page div h2:first-child,
.single-job div h2:first-child,
.single-post div h2:first-child {
  margin-top: 0!important;;
}

.text-page p,
.single-job p,
.single-post .elementor-widget-theme-post-content p {
    font-size: 17px;
    line-height: 1.4em;


}

.text-page h3,
.single-job h3,
.single-post  h3 {
    font-size: 28px!important;;
    font-weight:400!important;;
    margin:1.5em 0 0.5em 0!important;;
}


.text-page h4,
.single-job h4,
.single-post  h4 {
    font-size: 24px!important;;
    font-weight:400!important;;
    margin:1.5em 0 0.5em 0!important;;
}

.text-page h5,
.single-job h5,
.single-post  h5 {
    font-size: 20px!important;;
    font-weight:400!important;;
    margin:1.5em 0 0.5em 0!important;;
}

.text-page h6,
.single-job h6,
.single-post  h6 {
    font-size: 17px!important;;
    font-weight:600!important;;
    margin:1.5em 0 0.5em 0!important;;
}


.text-page blockquote,
.single-job blockquote, 
.single-post .elementor-widget-theme-post-content blockquote {
    color: #1d2b4e!important;
    border-left: 4px solid #0073aa!important;
    padding-left: 20px!important;
    font-style: italic!important;
    color: #555555!important;
}

.text-page ul,
.text-page ol,
.single-job ul,
.single-job ol,
.single-post .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol {
    color: #1d2b4e;
    font-size: 17px!important;
    padding-left: 24px!important;
    margin-top: 10px!important;
    margin-bottom: 10px!important;
    line-height: 1.2em!important;
}

.text-page ul li,
.text-page ol li,
.single-job ul li,
.single-job ol li,
.single-post .elementor-widget-theme-post-content ul li,
.single-post .elementor-widget-theme-post-content ol li{
    margin:0 0 0.5em 0;
}


.elementor-widget-text-editor ul li ul li{
    margin: 0 0 0.25em 0;
}



/* Solid White Box + Grey Cross */
.news-list-item a:has(img)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52px;
  height: 52px;
  z-index: 2; /* Layered directly on top to hide text underneath */
  transition: background 0.4s ease, transform 0.1s ease;
  
  /* Stacks your original gradient lines over a solid white background block */
  background: 
    linear-gradient(#ccc, #ccc) no-repeat right 14px bottom 25.5px / 24px 2px, 
    linear-gradient(#ccc, #ccc) no-repeat right 25.5px bottom 14px / 2px 24px,
    linear-gradient(white, white); /* Solid white base layer */
}

/* Hover: Solid White Box + Pink Cross */
.news-list-item a:has(img):hover::after {
  background: 
    linear-gradient(#AF1062, #AF1062) no-repeat right 14px bottom 25.5px / 24px 2px, 
    linear-gradient(#AF1062, #AF1062) no-repeat right 25.5px bottom 14px / 2px 24px,
    linear-gradient(white, white); /* Keeps background white on hover */
}

/* Active: Shrink the cross while image zooms */
.news-list-item a:has(img):active::after {
  transform: scale(0.85);
}
