/* Dependencies: FE25 injector */

/* add fonts for cleaner homepage copy */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2) format('woff2');
    unicode-range: U + 0000-00FF, U + 0131, U + 0152-0153, U + 02BB-02BC, U + 02C6, U + 02DA, U + 02DC, U + 0304, U + 0308, U + 0329, U + 2000-206F, U + 20AC, U + 2122, U + 2191, U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD;
}
.u-ff-roboto, .u-ff-roboto-400 {
  font-family: "Roboto", Helvetica, Arial, "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.u-ff-roboto-500 {
  font-family: "Roboto", Helvetica, Arial, "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.u-ff-roboto-600 {
  font-family: "Roboto", Helvetica, Arial, "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.u-ff-roboto-700 {
  font-family: "Roboto", Helvetica, Arial, "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* quote callout, use with blockquote on a white background */
.quote-card {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2.5rem 2.1rem; /* trying smaller for mobile */
  
  /* Thin border */
  border: 1.5px solid var(--green-core);
  
  /* Text styling */
  color: var(--green-core);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
	.quote-card {
		font-size: 2rem;
		line-height: 1.15;
		padding: 3rem 2.5rem;
	}
}

/* Base styles for both quote marks */
.quote-card::before,
.quote-card::after {
  position: absolute;
  color: var(--green-core);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  background-color: #ffffff; /* Matches parent container background to cover the border */
  padding: 0 6px;
}

/* Top-Left Opening Quote */
.quote-card::before {
  content: '“';
  top: -0.35em;
  left: 0.3em;
}

/* Bottom-Right Closing Quote */
.quote-card::after {
  content: '”';
  bottom: -0.7em;
  right: 0.3em;
}

/* Quote card styling for green backgrounds */
.row-bg-green-core .quote-card,
.row-bg-green-camarone .quote-card,
.row-bg-green-fun .quote-card {
  border-color: rgba(255,255,255,0.5); /* revert to FFF */
  color: #FFFFFF;
}
.row-bg-green-core .quote-card::before,
.row-bg-green-core .quote-card::after {
	color: #FFFFFF;
	background-color: var(--green-core);
}
.row-bg-green-camarone .quote-card::before,
.row-bg-green-camarone .quote-card::after {
	color: #FFFFFF;
	background-color: #005F27;
}
.row-bg-green-fun .quote-card::before,
.row-bg-green-fun .quote-card::after {
	color: #FFFFFF;
	background-color: #008c44;
}

/* feature quote on background image
	relies on single column layout for drupal basic placement, quote card blockquote 
	and for easier editing fixed image ratio for S vs. M-L-XL widths */

.row-feature-quote {
  aspect-ratio: 0.62;
  background-color: #333;
}
@media (min-width: 768px) {
	.row-feature-quote {
  	aspect-ratio: 1.9;
	}
}

/* set background image - picnic variant, 800x1300 for mobile */
.row-bg-img-picnic {
	background-image: url('https://cdn.greens.org.au/sites/default/files/styles/hero/public/2026-10/1C5A8458-picnic-tall.jpg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 10%;
}
/* set background image - picnic variant, 2200x1150 for wide */
@media (min-width: 768px) {
	.row-bg-img-picnic {
		background-image: url('https://cdn.greens.org.au/sites/default/files/styles/hero/public/2026-10/1C5A8458-picnic-wide.jpg.webp');
	}
}

/* quote card formatting - white text, green-fun bg, green core quotes */
.row-feature-quote .quote-card {
  background: #005F27;
  color: #FFFFFF;
  border: none;
}
.row-feature-quote .quote-card::before,
.row-feature-quote .quote-card::after {
	color: var(--green-core);
  background: none;
}


/* divider between large body-copy header-text blocks */
@media (min-width: 992px) {
	.lg-divider > div:nth-child(even) {
  	  padding-bottom: 3rem;
	}

	.lg-divider > div:nth-child(even):not(:last-child) {
	  position: relative;
	}
	
	.lg-divider > div:nth-child(even):not(:last-child)::after {
	  content: "";
	  position: absolute;
	  right: 0;
	  bottom: 2rem;      /* line sits halfway down the 3rem padding */
	  width: 200%;         /* this item + the odd item beside it */
	  border-bottom: 1px solid #ccc;
	}
}

/* set youtube-style play icon for video embeds */
.video-embed-field-lazy-play {
    background-image: url("data:image/svg+xml,%3Csvg width='68' height='48' viewBox='0 0 68 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='%23f00'%3E%3C/path%3E%3Cpath d='M 45,24 27,14 27,34' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
}
