/************************************************************************************
RESET
*************************************************************************************/

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/************************************************************************************
GRID
*************************************************************************************/

.container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box;
}

@media (min-width: 800px) {

  .column,
  .columns {
    margin-left: 4%;
    padding: 0;
  }

  .column:first-of-type,
  .columns:first-of-type {
    margin-left: 0;
  }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}

.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/

:root {
  font-size: 20px;
  --white: #fff;
  --off-white: #f5f5f5;
  --blue: #21477e;

  --green: #accb43;
  --yellow: #f9a424;
  --light-blue: #00b5dc;
  --red: #d34f32;
  --logo-blue: #0089b5;
}

.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body {
  background-color: var(--off-white);
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
  letter-spacing: .8px;
	color: var(--blue);
	text-align: left;
}

a:link, a:visited {
	text-decoration: underline;
	transition: transform .4s;
	outline: none;
	color: var(--logo-blue);
  font-weight: 600;
}

a:active {
	outline: none;
}

a.button, button {
  text-decoration: none;
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
  border-radius: 30px;
  padding: 10px 50px 12px;
  margin: 30px 0;
  transition:  .4s;
  cursor: pointer;
  border: none;
}

a.button:hover, button:hover {
  transform: scale(.95,.95);
}

a.button.green {
  background-color: var(--green);
}

a.button.yellow {
  background-color: var(--yellow);
}

a.button.blue {
  background-color: var(--light-blue);
}

p {
  margin: 0 0 20px;
}

h1{
  font-size: 2.5rem;
  font-weight: 900;
  margin: 5rem 0 2rem;
	line-height: 1.2;
  letter-spacing: -1px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
	line-height: 1.2;
}

h3, h4, h5 {
	font-size: 1rem;
  font-weight: 600;
	margin: 0 0 1rem;
  line-height: 1.2;
}

em {
  font-style: italic;
}

b, strong {
	font-weight: 700;
}

hr {
  border-width: 0;
  border-top: 2px solid var(--blue);
}

blockquote {
  border-left: 5px solid var(--blue);
  padding: 5%;
  margin: 40px 0;
  font-size: 150%;
  font-style: italic;
}

blockquote footer {
  margin: 0;
  background-color: var(--off-white);
  color: var(--blue);
  font-style: normal;
  font-size: 70%;
}

figure {
  margin: 40px 0;
}

ul {
  margin: 0 0 20px 0;
}

@media (max-width: 500px) {
  body {
    font-size: .9rem;
  }

  h1 {
    font-size: 1.5rem;
    margin: 1.5rem 0;
  }

  h2 {
    font-size: 1.25rem;
    margin: 1.5rem 0;
  }



}

/************************************************************************************
HEADER
*************************************************************************************/

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 700,
  'GRAD' 0,
  'opsz' 48
}

.logo svg {
  margin: 20px 0 0;
  position: relative;
  top: 10px;
  width: 200px;
}

.logo .st0 {
  fill: var(--red);
}

.logo .st1 {
  fill: var(--yellow);
}

.logo .st2 {
  fill: var(--logo-blue);
}

.logo .st3 {
  fill: var(--light-blue);
}

.logo .st4 {
  fill: var(--green);
}

header .head-buttons {
 position: absolute;
 right: 5%;
 top: 0;
}

header .head-buttons a.button {
  font-size: 16px;
  font-weight: 700;
  padding: 5px 20px 7px;
  margin: 0;
}

.menu {
  width: 100%;
  padding: 5px 0;
}

.menu #open {
  display: block;
  padding: 25px 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  text-align: right;
  color: var(--blue);
}

.menu #close {
  display: none;
  padding: 25px 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  text-align: right;
  color: var(--blue);
}

.menu nav {
  height: 0;
  overflow: hidden;
}

.menu nav ul {
	padding: 0;
  margin: 0;
	list-style: none;
	position: relative;
}

.menu nav ul li {
	display: block;
	background-color: var(--off-white);
  border-top: 1px solid #333;
}

.menu nav ul li:first-of-type {
  border: none;
}

.menu nav ul ul li {
  border: none;
}

.menu nav a, .menu nav span {
	display: block;
	padding: 0 1rem;
	font-size: .8rem;
  font-weight: 600;
	line-height: 2rem;
	text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease-in-out;
  color: var(--lilac-back);
}

.menu nav span {
  cursor: default;
}

[aria-current]:not([aria-current="false"]) {
  font-weight: 600;
}

.menu nav span.has-submenu {
  color: var(--logo-blue);
}

.menu nav span.has-submenu::after {
  content: ":";
}

@media (max-width: 350px) {

  .menu #open,
  .menu #close {
    padding: 19px 0 12px;
  }
}

@media (min-width: 1020px) {

  .logo svg {
    width: 250px;
  }

  .menu {
    padding: 0;
    margin-top: -10px;
  }

  .menu nav {
    height: 40px;
    overflow: visible;
  }

  .menu #open {
    display: none;
  }

  .menu nav ul {
    text-align: right;
  }

  .menu nav ul li {
  	display: inline-block;
    border: none;
  }

  .menu nav ul li:last-of-type a {
    margin-right: -10px;
  }

  .menu nav ul li ul li:last-of-type a {
    margin-right: 0;
  }

  .menu nav a:hover {
  	background-color: var(--lilac-dark);
  }

  .menu nav > ul::before {
    display: none;
  }

  .menu nav ul ul {
  	max-height: 0;
    transition: .2s ease-in-out;
  	position: absolute;
  	top: 40px;
    overflow-y: hidden;
    text-align: left;
    border-left: 5px solid var(--off-white);
    border-right: 5px solid var(--off-white);
    border-radius: 0 0 12px 12px;
  }

  .menu nav ul li:hover > ul {
    max-height: 100vh;
    transition-delay: .2s;
  }

  .menu nav ul ul li {
  	width: auto;
  	float: none;
  	display: block;
  	position: relative;
    z-index: 1000;
  }

  .menu nav ul ul li:last-of-type {
    padding-bottom: 5px;
  }

  .menu nav ul li a:hover {
    background-color: var(--green);
  }

  .menu nav span.has-submenu {
    color: var(--blue);
  }

  .menu nav span.has-submenu::after {
    content: "";
  }
}

/************************************************************************************
FOOTER
*************************************************************************************/

footer {
  margin-top: 5rem;
  background-color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  color: #f5f5f5;
}

footer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer a:link, footer a:visited {
  color: var(--off-white);
  text-decoration: none;
}

footer a:hover {
  color: var(--light-blue);
}

footer .pages {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  columns: 2;
  column-gap: 2rem;
}

.copyrights {
	background-color: rgba(255,255,255,.1);
  background: url(../images/defaults/manor-gardens-01.jpg) no-repeat;
  text-align: center;
	padding: 1rem 5%;
	color: var(--white);
}

.copyrights a {
  display: inline-block;
  font-size: .7rem;
  color: var(--white);
  transition: .3s;
  margin-top: 5px;
  padding: 0 6px;
}

.copyrights a:hover {
  background-color: var(--blue);
  color: var(--white);
}

@media screen and (max-width: 799px) {


}

/************************************************************************************
HOME PAGE
*************************************************************************************/

.hero-image {
  margin-bottom: 150px;
}

.hero-image h1 {
  margin: -8rem 0 0;
  color: var(--off-white);
  text-shadow: 0px 0px 10px #000000;
  width: 60%;
}

.card-grid {
  display: flex;
  gap: 2rem;
}

.card {
  position: relative;
  flex: 1;
  background-color: var(--blue);
  color: var(--off-white);
  border-radius: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
  padding: 0 2rem;
  font-weight: 900;
  min-height: 3rem;
  color: var(--green);
}

.card p {
  padding: 0 2rem 7.5rem;
}

.card .read-more {
  background: url(../images/defaults/manor-gardens-01.jpg) no-repeat;
  background-size: cover;
  background-position: top left;
  border-radius: 0 0 1rem 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.card:nth-of-type(2) .read-more {
  background-position: top center;
}

.card:nth-of-type(3) .read-more {
  background-position: top right;
}

.card a.button {
  margin: 2rem auto;
  background-color: var(--off-white);
}

@media (max-width: 1019px) {
  .card-grid {
    flex-direction: column;
    max-width: 600px;
    margin: auto;
  }
}

/* Impact Stats */

.impact-stats {
  background-color: var(--yellow);
}

.impact-grid {
  display: flex;
  gap: 2rem;
}

.stat {
  padding: 3rem;
  text-align: center;
}

.stat img {
  display: inline-block;
}

.stat h3 {
  font-size: 2.5rem;
  margin: 1rem 0;
  font-weight: 700;
}

.stat p {
  font-style: italic;
  font-size: 1.5rem;
}

@media (max-width: 1019px) {
  .impact-grid {
    flex-direction: column;
  }
}

/* STORIES */

.story-slider {
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;     /* IE/Edge */
  scrollbar-width: none;        /* Firefox */
}

.slider-wrapper::-webkit-scrollbar {
  display: none;                /* Chrome/Safari */
}

.slides {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  background-color: var(--blue);
  color: var(--off-white);
  border-radius: 1rem;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: stretch;
  gap: 2rem;
  box-sizing: border-box;
}

.story-left {
  max-width: 30%;
}

.story-left img {
  height: auto;
}

.story-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-right h3 {
  font-size: 1.5rem;
  margin: 1rem 0 1rem;
  color: var(--green);
  font-weight: 900;
}

.story-right p {
  margin: 1rem 2rem 1rem 0;
  font-style: italic;
  font-size: 1.3rem;
}

.story-buttons {
  display: flex;
  justify-content: space-between;
  margin-right: 2rem;
}

.story-buttons a.button {
  margin: 1rem 0;
}

.story-buttons button {
  cursor: pointer;
  margin: 1rem 0;
}

/* LATEST NEWS */

.blog-grid {
  display: flex;
  gap: 3rem;
}

.blog-card {
  position: relative;
  flex: 1;
  background-color: var(--blue);
  color: var(--off-white);
  border-radius: 1rem;
}

.blog-card img {
  margin-top: 2rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin: 30px 0;
  padding: 0 2rem 6rem;
  font-weight: 900;
  color: var(--off-white);
}

.blog-card .read-more {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
}

.blog-card a.button {
  margin: 2rem;
  background-color: var(--yellow);
}

@media (max-width: 1019px) {
  .blog-grid {
    flex-direction: column;
    max-width: 600px;
    margin: auto;
  }
}


/************************************************************************************
PAGES
*************************************************************************************/

.garden-image img {
  height: 200px;
  width: 100%;
}

.page h1 {
  margin: -80px 0 100px;
  color: white;
}

/************************************************************************************
BLOG
*************************************************************************************/

.blog .articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.blog article {
  position: relative;
  flex: 0 0 calc(33.333% - 1.333rem);
  box-sizing: border-box;
  background-color: var(--blue);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.blog article .post-meta {
  color: var(--yellow);
  padding: 1rem 2rem 0;
}

.blog article h2 {
  font-size: 1.25rem;
  margin: 30px 0;
  padding: 0 2rem 6rem;
  font-weight: 900;
  color: var(--off-white);
  text-transform: none;
}

.blog article .button {
  margin: 2rem;
  background-color: var(--yellow);
  position: absolute;
  bottom: 0;
  left: 0;
}

.blog article:nth-of-type(odd) .button {
  background-color: var(--green);
}

.pagination {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-top: 2rem;
}

.pagination a.button {
  background-color: var(--light-blue);
}

.article article iframe {
  margin: 2rem 0;
}

.post-meta {
  border-bottom: 2px solid var(--blue);
}

.post-date {
  font-size: 90%;
}

a.back-button {
  margin-top: 4rem;
}

/************************************************************************************
PUBLICATIONS
*************************************************************************************/

ul.publications {
  list-style: none;
  padding: 0;
}

ul.publications li {
  margin-bottom: 2rem;
}

.pub-image {
  margin-bottom: 1rem;
  width: 40%;
}

.pub-image img {
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 83 / 120;
  object-fit: cover;
}

.pub-text h2 {
  margin-top: 0;
}

.pub-text a {
  margin-top: 0;
  font-weight: 900;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1.2;
}

.pub-text h3 {
  color: var(--logo-blue);
}

@media (min-width: 600px) {
  ul.publications li {
    display: flex;
  }
  .pub-image {
    padding-right: 5%;
    flex: 0 0 10rem;
  }
  .pub-text {

  }
}
