/* 2026 AGV Platform pages */

/* Smaller sub-heading variant
   use class 'page-section--small' */

.page-section--small {
  text-align: left;
}

.page-section--small .page-section__title {
  font-size: 1.8rem;
}

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

/* Link underline style change
   old browsers will ignore */
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;
}

/* Override styling for body copy in accordions
   classless/applies to all
   - tightens margins/padding between paragraphs and lists
   - 'greens-will' class for the sentence before a list of bullet points
   - bakes in green checks for ul lists  */

dd h3 {
  margin-top: 0.8rem;
}

dl {
  margin: 0 -0.8rem;
}

dd p {
  font-size: 1.2rem;
}

dd .greens-will { 
  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: '\f058';
  font-size: 1rem;
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  margin-left: -1.2em;
  width: 1em;
  transform: translate(-0.4em, 0);
  color: #00a651;
  font-weight: 600;
}


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

.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: #9dcdb4; */
	background: #00a651;
}
.ckeditor-accordion-container > dl dt > a:hover, .ckeditor-accordion-container > dl dt > a:not(.button):hover {
  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;
}

@media (min-width: 768px) {
	.ckeditor-accordion-container > dl dt,
	.ckeditor-accordion-container > dl dt.active {
  	font-size: 1.25em;
	}
}
  
.ckeditor-accordion-container > dl dt.active {
  font-weight: 900;
}
.ckeditor-accordion-container > dl dd {
	padding: 0 15px 10px 15px;
}

/* fixes for new (old?) fields // possibly not needed */

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

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

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

/* image dividers for vic26 styling */
.divider-image {
    max-height: 420px;
    overflow: hidden;
}

.divider-image .media img {
	width: 100%;
}

/* divider image positioning for large screens */
@media (min-width: 768px) {
	.divider-anchor-10 { transform: translateY(-10%); }
	.divider-anchor-15 { transform: translateY(-15%); }
	.divider-anchor-20 { transform: translateY(-20%); }
	.divider-anchor-25 { transform: translateY(-25%); }
	.divider-anchor-30 { transform: translateY(-30%); }
	.divider-anchor-40 { transform: translateY(-40%); }
	.divider-anchor-50 { transform: translateY(-50%); }
}

/* image grain utility class */
.image-fx--grain .media::after,
.image-fx--grain-mild .media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://cdn.greens.org.au/cdn/ff/jd1hfTvt78Go6JFsGTCNlY-hRiCboR8n0inP9gV0uOY/1783913470/public/2026-07/seamless-noise-texture-40.jpg');
    opacity: .14;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.image-fx--grain-mild .media::after {
    opacity: .07;
}


.video-vertical-auto {
    width: 100%;
    aspect-ratio: 9/16;
    max-width: 486px;
}

/* vic homepage tweaks */

.action-box__border {
	display: none;
}

/* rounded edges utility class */
.rounded-edges {
	border-radius: 8px;
}