@media (max-width: 767px) {
  .page-main { padding-top: 0; }
}

.teaser__action {
	display: none;
}

.teaser__title {
	text-transform: initial;
}

.page-section__heading {
	text-align: left;
}

.page-section__title {
	font-size: 2.5rem;
}

@media (min-width: 768px) {
  .page-section__title {
  	font-size: 2.5rem;
  }
}


/*  Accordion style 2022, less borders, minimal/white, right aligned swippy */
/*  builds on ckeditor-accordion-container */
/*  to work must be applied alongside/beneath class ckeditor-accordion-container */



/* fixes for new fields */

.fieldset-wrapper {
  margin-top:1em;
}

.fieldset-legend {
font-style: italic;
}

.ckeditor-accordion-container > dl {
	border: none;
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle {
  left: unset;
  right: 11px;
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:before, .ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:after {
  background: #008c44;
}

.ckeditor-accordion-container > dl dt > a, .ckeditor-accordion-container > dl dt > a:not(.button) {
	background-color: initial;
	color: #008c44;
	text-decoration: none;
	border-top: 1px solid #35a8454d;
	border-bottom: none;
	padding: 10px 50px 10px 15px;
}	

.ckeditor-accordion-container > dl  {
	border-bottom: 1px solid #35a8454d;
}

.ckeditor-accordion-container > dl dt.active {
  font-size: 1.2em;
  color: #FFFFFF !important;
  font-weight: bold;
}

/* test link style change so more links don't overwhelm body copy so much
old browsers will ignore, while support for the new styles is increasing */
a {
  text-decoration-color: #A2D39C;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1.3px;
}
.u-c-orange {
  text-decoration-color: #FCC589;
}
.u-c-purple {
  text-decoration-color: #BD8CBF
}
.u-c-blue {
  text-decoration-color: #ADDCCF;
}
.u-c-pink {
  text-decoration-color: #F9CDE0;
}
.u-c-grey-light {
  text-decoration-color: #9B9B9B;
}

a:hover {
  text-decoration: none;
}

dd h3 {
	margin-top: 0.8rem;
}

dl {
	margin: 0 -0.8rem;
}

dd p {
	font-size: 1.2rem;
}

dd p:last-of-type { 
  margin-top: 1em;
  margin-bottom: 0.6em;
  color: #008c44;
}

dd ul {
  margin-top: 0;
  padding: 0;
  list-style: none;
}

dd li {
  font-size: 1.2rem;
  margin: 0 0 0.25rem 0;
	padding-left: 1.2em;
}
dd li::before {
  content: '\f105';
  font-size: 1em;
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  margin-left: -1.2em;
  width: 1em;
  transform: translate(3px, 2px);
  color: #00a651;
  font-weight: 600;
}

.portfolio-news {
	color: #555;
  font-size: 0.9em;
}

.portfolio-news h3 {
	margin: 0 0 0.5em 0;
}

.portfolio-news h3 a, 
.portfolio-news h3 a:visited {
	color: #007236;
	text-decoration-color: #A2D39C;
	text-decoration: none;
}

.portfolio-news .views-field-field-person a, 
.portfolio-news .views-field-field-person a:visited {
	color: #4D4D4D;
	text-decoration-color: #ebefea;
}

.portfolio-news h3 a:hover,
.portfolio-news h3 a:active,
.portfolio-news .views-field-field-person a:hover,
.portfolio-news .views-field-field-person a:active { 
	color: #007236;
	text-decoration: underline;
	text-decoration-color: #A2D39C;
	text-underline-offset: 0.14em;
  text-decoration-thickness: 2px;
}

.portfolio-news .views-row {
	margin-bottom: 2rem;
}

/* 'featured' class to star any news items that are promoted to the front page */

.portfolio-news .featured {
    position: relative;
}

.portfolio-news .featured::before {
    content: "\f005"; /* Font Awesome star (Unicode for fa-solid fa-star) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Ensures the solid version is used */
    position: absolute;
    left: -2em; /* Adjust distance from the text */
    top: 0.6em; /* Aligns close to the middle of the first line of text */
    font-size: 0.5em;
    color: gold;
}

.pager__items .pager__item a {
    padding: 0.4rem;
    width: 2rem;
    display: inline-block;
    height: 2rem;
    border-radius: 100%;
    text-decoration: none;
    border: 1.6px solid #00A651;	
}
.pager__items .is-active a {
    background: #008c44;
    color: white;
	border-color: #008c44;
}

.pager__items .pager__item--next a,
.pager__items .pager__item--last a,
.pager__items .pager__item--previous a,
.pager__items .pager__item--first a {
	width: unset;
	height: unset;
	border: unset;
}

.layout-sub {
	background-image: none;
}