/*
Theme Name: Impact Home Design (Custom)
Theme URI: https://impacthomedesign.ca/
Author: Taylor Simpson-Bisson
Author URI: https://impacthomedesign.ca/
Description: Custom WordPress theme for Impact Home Design. Initial skeleton + enqueued assets from existing static site.
Version: 0.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: impact-homedesign
*/

@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* --------------- Globals ---------------*/

:root {
  --primary-color: #7bc17e;
  --secondary-color: #93ca98;
  --secondary-color-soft: rgba(147, 202, 152, 0.25);
  --text-dark: #0e1111;
  --text-medium: #2c2d2d;
  --text-light: #737373;
  --extra-light: #f4f6f5;
  --white: #ffffff;
  --max-width: 1200px;
  --max-width-tab: 600px;
  --header-font: "Merriweather", serif;
  --sbw: calc(100vw - 100%);
  --reviews-offset: 4rem;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
}

.section__header {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--primary-color);
}

.section__header {
  position: relative;
  isolation: isolate;
  padding-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 3rem;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
}

.section__header::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 5rem;
  bottom: 0;
  display: block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  opacity: 0.5;
}

.page__header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.section__description {
  font-size: 1.1rem;
  color: var(--text-light);
}

.button {
  padding: 1rem 0.8rem;
  background-color: var(--primary-color);
  border: 2px solid transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.button:hover {
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
}

.logo {
  max-width: 200px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Poppins", sans-serif;
}

section {
  margin-top: 3.5rem;
}

#custom-homes,
#additions,
#renovations,
#multiunit {
  scroll-margin-top: 90px;
}

@media (600px <= width <= 1023px) {
  .section__container {
    max-width: var(--max-width-tab);
  }

  .button {
    font-size: 1rem;
  }
  
 #custom-homes,
#additions,
#renovations,
#multiunit {
  scroll-margin-top: 120px;
}
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

/* --------------- Nav Bar ---------------*/

nav {
  position: sticky;
  isolation: isolate;
  width: 100%;
  top: 0;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo .logo {
  max-width: 150px;
  filter: drop-shadow(0px 0px 1px var(--text-light));
}

.nav__logo .logo:hover {
  opacity: 0.8;
  transition: 0.1s;
}

.nav__menu__number {
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__menu__number i {
  font-style: normal;
  color: var(--text-dark);
}

.nav__menu__btn {
  font-size: 1.7rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links ul {
  gap: 2rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0.5s;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links ul a {
  font-weight: 500;
  color: var(--text-medium);
}

.nav__links ul a:hover {
  color: var(--text-dark);
}

.divider {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--text-dark);
  margin: 0 10px;
  vertical-align: middle;
}

.nav__menu__btn {
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
}

@media (600px <= width <= 1023px) {
  .nav__logo .logo {
    max-width: 185px;
  }
  .nav__menu__btn {
    font-size: 2.2rem;
  }

  .nav__header {
    padding-block: 1.5rem;
  }

  .nav__links {
    top: 100%;
  }

  .nav__links ul {
    padding: 2rem;
    gap: 2rem;
  }

  .nav__links ul a {
    font-size: 1.2rem;
  }
}
@media (min-width: 1024px) {
  nav {
    position: sticky;
    top: 0;
    padding: 2rem 1rem;
    max-width: 100%;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: none;
    background: var(--white);
    transition: 0.3s;
  }

  .nav__header {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  nav.scrolled {
    transition: 0.3s;
    background-color: var(--secondary-color);
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 1rem;
  }
  .nav__menu__btn {
    display: none;
  }

  .nav__logo {
    grid-column: 1;
  }

  .nav__logo .logo {
    color: var(--primary-color);
    width: 150px;
    justify-self: start;
    max-width: 150px;
  }

  .nav__links {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    transform: none;
    z-index: 0;
  }

  .nav__links ul {
    padding: 0;
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 3rem;
  }

  .nav__links ul a {
    color: var(--text-dark);
    transform: none;
  }

  .nav__links ul a:hover {
    color: var(--primary-color);
  }

  nav.scrolled .nav__links ul a:hover {
    color: var(--white);
  }
  .nav__menu__number {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: end;
    font-weight: 500;
    color: var(--text-medium);
    font-size: 1rem;
  }

  .divider {
    margin: 0 40px;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) and (hover: none) and (pointer: coarse) {
  .nav__menu__number {
    display: none;
  }
}

/* --------------- Footer ---------------*/

footer {
  position: relative;
}

footer::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100vw;
  background-color: var(--secondary-color);
  opacity: 0.25;
  z-index: -1;
}

.footer__grid {
  display: grid;
  grid-template-rows: 1fr;
  gap: 2rem;
  padding: 2rem 2rem 2rem 2rem;
}

.footer__grid h4 {
  color: var(--text-medium);
  font-weight: 500rem;
  padding-bottom: 0.75rem;
  font-family: var(--header-font);
}

.footer__grid li a {
  color: var(--text-medium);
}

.footer__grid li a:hover {
  color: var(--primary-color);
}

.footer__links {
  display: none;
}

.footer__links li {
  position: relative;
  padding-left: 1.5rem;
}

.footer__links li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--text-medium);
}

.footer__links li:hover::before {
  color: var(--primary-color);
  transition: 0.5s;
}

.footer__contact i {
  padding-right: 1rem;
}

.footer__socials {
  padding-top: 2rem;
  font-size: 1.25rem;
  text-align: center;
}

.footer__socials a {
  color: var(--text-medium);
}

.footer__socials a:hover {
  color: var(--primary-color);
}

.footer__socket {
  border-top: 2px solid var(--primary-color);
  padding: 1rem 0 1rem 0;
}

.footer__socket h5 {
  text-align: center;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.7rem;
}

.footer__socket .break {
  display: block;
}

@media (600px <= width <= 1023px) {
  .footer__description {
    grid-area: description;
  }

  .footer__links {
    display: block;
    grid-area: links;
  }

  .footer__contact {
    grid-area: contact;
  }

  .footer__grid {
    grid-template-areas:
      "description description"
      "links contact";
    padding: 4rem 0 2rem 0;
    gap: 4rem;
  }
  .footer__socket h5 {
    text-align: center;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 4rem 0 2rem 0;
    gap: 4rem;
    justify-items: center;
  }

  .footer__links {
    display: grid;
  }
  .footer__socket h5 {
    font-size: 0.8rem;
  }

  .footer__socket .break {
    display: inline;
  }
}

/* --------------- INDEX (index.html) ---------------*/

/* --------------- Landing ---------------*/

.landing {
  margin: 0;
}

.header__container {
  display: grid;
  position: relative;
  padding-bottom: 10rem;
}

.header__image {
  grid-area: 1/1/2/2;
  display: grid;
}

.header__image img {
  min-width: 300px;
  max-width: 600px;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.header__image img.active {
  opacity: 1;
}

.header__content {
  grid-area: 1/1/2/2;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(45%);
}

.header__content > div {
  max-width: 300px;
  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__content h1 {
  font-size: 2rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-medium);
}

.header__content p {
  font-size: 0.9rem;
}

.header__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.header__buttons a:nth-of-type(2) {
  display: none;
}

@media (600px <= width <= 1023px) {
  .landing .header__container {
    max-width: 1200px;
    justify-content: center;
    padding-bottom: 22rem;
  }

  .header__image img {
    max-width: 1000px;
  }
  .header__content {
    transform: translateY(80%);
  }

  .header__content > div {
    max-width: 400px;
  }

  .header__content h1 {
    font-size: 3rem;
  }

  .header__content p {
    font-size: 1.2rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .header__container {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .header__image img {
    max-width: 1000px;
    margin-left: auto;
  }

  .header__content {
    justify-content: left;
    transform: none;
  }

  .header__content > div {
    max-width: 500px;
    padding: 2.5rem 1rem;
    padding-bottom: 3.5rem;
    gap: 1.5rem;
  }

  .header__content h1 {
    font-size: 4rem;
  }

  .header__content p {
    font-size: 1rem;
    padding-bottom: 1rem;
  }

  .header__buttons a:nth-of-type(2) {
    display: flex;
  }

  .header__button {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    border: 2px solid transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
  }

  .header__button:hover {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
  }
}

/* --------------- Services ---------------*/

.services {
  margin-top: 0;
}

.services__container {
  width: 100%;
  background-color: var(--white);
}

.services__grid {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem 1rem;
}

.services__grid::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  opacity: 0.25;
  z-index: -1;
}

.card__image {
  display: block;
  margin: 0 auto;
  max-width: 100px;
}

.services__card {
  position: relative;
  background-color: var(--white);
  text-align: center;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0 1rem 1rem 1rem;
}

.services__card > div > h3 {
  font-weight: 600;
  color: var(--text-medium);
}

.services__card a {
  color: var(--text-medium);
}

.services__card > div > p {
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (600px <= width <= 1023px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services__grid::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100vw;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: var(--secondary-color);
    opacity: 0.25;
    z-index: -1;
  }

  .services__grid > a {
    display: block;
  }
}

@media (min-width: 1024px) {
  .services__container {
    overflow: visible;
    margin-top: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .services__container h2 {
    display: none;
  }

  .services__grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: var(--max-width);
  }

  .services__grid::before {
    position: absolute;
    content: "";
    height: calc(50% + 2.5rem);
    width: 100vw;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    opacity: 0.25;
    z-index: -1;
  }

  .services__card {
    position: relative;
    background-color: var(--white);
    text-align: center;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0rem 1rem 1rem 1rem;
  }

  .services__card:hover {
    box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .services__card > div > p {
    font-size: 0.9rem;
  }
}

/* --------------- About ---------------*/

.about__container {
  display: grid;
}

.about__img {
  width: clamp(220px, 70vw, 320px);
  margin-inline: auto;
}

.about__img img {
  width: 100%;
  height: auto;
  display: block;
}

.about__content > div:nth-child(1) {
  display: grid;
  justify-content: center;
  padding: 1rem;
  text-align: left;
}

.about__content h3 {
  font-family: var(--header-font);
  font-size: 1.5rem;
  text-align: left;
  margin: 0;
}

.about__description {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  width: 100%;
  max-width: none;
  font-size: 0.9rem;
}

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

.about__buttons button:nth-child(3) {
  display: none;
}

.about__data {
  display: flex;
  justify-content: space-between;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem 2rem;
}

.about__data > div > h4 {
  font-size: 2rem;
  font-family: var(--header-font);
  color: var(--text-medium);
  text-align: center;
}

.about__data > div > p {
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: center;
}

.about__buttons a:nth-of-type(3) {
  display: none;
}

@media (600px <= width <= 1023px) {
  .about__img {
    width: 400px;
  }

  .about__content h3 {
    font-size: 2rem;
  }

  .about__description {
    font-size: 1rem;
  }

  .about__data > div > h4 {
    font-size: 2.5rem;
  }

  .about__data > div > p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .about__container {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "image content";
    align-items: start;
  }

  .about__container > .section__header {
    grid-area: title;
  }

  .about__img,
  .about__content > div:first-of-type {
    width: clamp(220px, 70vw, 320px);
    margin-inline: auto;
  }

  .about__img img {
    width: 400px;
    grid-area: image;
    justify-self: start;
    align-self: start;
    margin-top: 7px;
  }

  .about__content {
    grid-area: content;
    align-self: stretch;
    padding-left: 2rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  .about__content h3 {
    font-family: var(--header-font);
    font-size: 2rem;
  }

  .about__content > div:nth-child(1) {
    display: inline-block;
    padding: 1rem 0 1rem 0;
  }

  .about__description {
    font-size: 1rem;
  }

  .about__img,
  .about__content > div:first-of-type {
    width: 100%;
    padding-top: 0;
  }

  .about__buttons button:nth-child(3) {
    display: flex;
  }

  .about__data {
    padding: 2rem;
  }

  .about__data > div > h4 {
    font-size: 2.5rem;
    font-family: var(--header-font);
    color: var(--text-medium);
  }

  .about__data > div > p {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  .about__buttons a:nth-of-type(3) {
    display: flex;
  }
}

/* --------------- Affiliates ---------------*/

.affiliates {
  margin-top: 2rem;
}

.affiliates__container {
  width: 100%;
  background-color: var(--white);
  margin-top: 0rem;
}

.affiliates__grid {
  /* position: relative;
  isolation: isolate; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

.affiliates__card {
  width: 10rem;
  height: 10rem;
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.affiliates__card > img {
  display: block;
  margin: 0 auto;
  max-width: 60px;
}

.affiliates__grid .affiliates__card:nth-child(3) img {
  width: 60px;
}

.affiliates__grid .affiliates__card:nth-child(4) img {
  width: 100px;
}

@media (600px <= width <= 1023px) {
  .affiliates__grid {
    gap: 2rem;
    justify-content: space-between;
    justify-items: stretch;
  }

  .affiliates__card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: none;
  }

  .affiliates__grid .affiliates__card:nth-child(3) img {
    width: 100px;
  }

  .affiliates__grid .affiliates__card:nth-child(4) img {
    width: 150px;
  }
}

@media (min-width: 1024px) {
  .affiliates__container {
    width: 100%;
    background-color: var(--white);
  }

  .affiliates__grid {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    gap: 3rem;
  }

  .affiliates__card {
    width: 25rem;
    height: 15rem;
    background-color: var(--white);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .affiliates__card > img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
  }

  .affiliates__grid .affiliates__card:nth-child(3) img {
    width: 85px;
  }

  .affiliates__grid .affiliates__card:nth-child(4) img {
    width: 150px;
  }

  .affiliates__card:hover {
    box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.4s;
  }
}

/* --------------- Reviews ---------------*/

/*.reviews__container {*/
/*  position: relative;*/
/*  isolation: isolate;*/
/*  height: 600px;*/
/*  margin-bottom: 0;*/
/*  padding-top: 0;*/
/*}*/

/*.reviews__track {*/
/*  position: relative;*/
/*}*/

/*.reviews__track::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 50%;*/
/*  transform: translateX(-50%);*/
/*  width: 100vw;*/
/*  top: 2rem;*/
/*  bottom: 0;*/
/*  height: calc(100% - 2rem);*/
/*  background-color: var(--secondary-color);*/
/*  opacity: 0.25;*/
/*  z-index: -1;*/
/*}*/

.reviews__container {
  position: relative;
  isolation: isolate;
  margin-bottom: 0;
  padding-top: 0;
}

.reviews__track {
  position: relative;
  padding-bottom: 1.5rem; /* increase this if you want a little more green */
}

.reviews__track::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 2rem;
  bottom: 0;
  background-color: var(--secondary-color);
  opacity: 0.25;
  z-index: -1;
}

.reviews__track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2rem;
  height: 2px;
  background: var(--text-light);
  opacity: 1;
  z-index: 0;
}

.reviews__container .section__header {
  margin: 1rem;
}

.swiper {
  position: relative;
  isolation: isolate;
  padding-block: 2rem 2rem;
  width: 100%;
}

.reviews__card {
  position: relative;
  isolation: isolate;
  max-width: 550px;
  padding-block: 4rem 2rem;
  padding-inline: 1rem 2rem;
}

.reviews__card span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-50%);
  padding: 5px 11px;
  font-size: 1.5rem;
  color: var(--secondary-color);
  background-color: var(--white);
  border: 2px solid var(--text-light);
}

.reviews__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.reviews__stars {
  --rating: 5;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  letter-spacing: 0.1rem;
}

.reviews__stars::before {
  content: "★★★★★";
  color: var(--text-light);
  opacity: 0.55;
}

.reviews__stars::after {
  content: "★★★★★";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--rating) * 20%);
  overflow: hidden;
  white-space: nowrap;
}

.reviews__card__content {
  color: var(--text-medium);
}

.reviews__card__google {
  font-size: 0.8rem;
  color: var(--text-light);
}

.reviews__card__google a.reviews__card__source {
  color: inherit;
  font-style: inherit;
}

.reviews__card__google a.reviews__card__source:hover {
  color: var(--primary-color);
}

@media (600px <= width <= 1023px) {
  .reviews__card h4 {
    font-size: 1.3rem;
  }

  .reviews__card h5 {
    font-size: 1.2rem;
  }
}

/* --------------- Projects ---------------*/

/*.projects__container .section__header {*/
/*  margin-top: 5rem;*/
/*}*/

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  gap: 1rem;
}

.projects__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 175px;
}

.projects__card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding-bottom: 1rem;
  color: var(--text-medium);
}

.projects__card img {
  margin-top: auto;
  display: block;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
}

@media (600px <= width <= 1023px) {
  .projects__container .section__header {
    margin-top: 2rem;
  }

  .projects__grid {
    gap: 2rem;
  }

  .projects__card {
    width: 100%;
  }

  .projects__card h3 {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .projects__grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }

  .projects__card {
    width: 350px;
  }

  .projects__card h3 {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1rem;
    color: var(--text-medium);
  }

  .projects__card img {
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
  }
  .reviews__card {
    padding-inline: 0;
  }

  .contact__content {
    padding-bottom: 6rem;
  }
}

/* --------------- Contact ---------------*/
.contact__grid {
  display: grid;
  gap: 2rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#card1 {
  margin-bottom: 2rem;
}

.contact__info__card {
  position: relative;
  background-color: var(--white);
  text-align: center;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 4rem 1rem 4rem 1rem;
}

.contact__info__card:hover {
  box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.contact__info__card i {
  font-size: 3rem;
  font-weight: 100;
  color: var(--primary-color);
  padding-bottom: 3rem;
}

.contact__info__card h4 {
  font-size: 1.25rem;
  font-weight: 100;
  font-weight: 600;
  color: var(--text-medium);
}

.contact__info__card p {
  font-size: 0.9rem;
  font-weight: 100;
  font-weight: 500;
  color: var(--text-light);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__forms {
  position: relative;
  background-color: var(--white);
  text-align: center;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  min-height: 450px;
}

.contact-form {
  position: relative;
  height: 100%;
  min-height: 100%;
}

.form-success-ui {
  display: none;
  text-align: center;
  padding: 1.5rem 1rem;
}

.contact-form.is-complete .form-ui {
  visibility: hidden;
  pointer-events: none;
}

.contact-form.is-complete .form-success-ui {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  animation: popIn 400ms ease forwards;
}

.contact__forms input,
.contact__forms textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--text-light);
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: 0.2s ease;
  resize: none;
}

.contact__forms textarea {
    height: 160px;
}

.contact__forms input:focus,
.contact__forms textarea:focus {
  border-color: var(--primary-color);
}

.contact__forms input::placeholder,
.contact__forms textarea::placeholder {
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.contact__forms__buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.contact__forms__buttons .button {
  padding: 1rem 1.5rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (600px <= width <= 1023px) {
  .contact__info__card i {
    font-size: 3rem;
  }
  .contact__info__card h4 {
    font-size: 1.5rem;
  }

  .contact__info__card p {
    font-size: 1rem;
  }

  .contact__forms input,
  .contact__forms textarea {
    width: 100%;
    padding: 1.2rem 1.2rem;

    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .contact__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 450px;
    align-items: stretch;
  }

  .contact__grid::before {
    position: absolute;
    content: "";
    height: calc(50% + 4rem);
    width: 100vw;
    bottom: -5.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    opacity: 0.25;
    z-index: -1;
  }

  .contact__forms input,
  .contact__forms textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .contact__map {
    height: 100%;
  }

  .contact__map iframe {
    height: 100%;
    min-height: 450px;
  }
}

/* --------------- FAQ ---------------*/

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 2rem;
}

.faq__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--primary-color);
}

.faq__col__right {
  border-top: 0;
}

.faq__item {
  border-bottom: 2px solid var(--primary-color);
  background: var(--white);
  align-self: stretch;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font: inherit;
  color: var(--text-dark);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faq__trigger i {
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__trigger i {
  transform: rotate(180deg);
}

.faq__panel {
  overflow: hidden;
  max-height: 0;
  padding: 0 1.25rem;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.faq__content {
  opacity: 0;
  color: var(--text-light);
  transform: translateY(-2px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  transition-delay: 0s;
}

.faq__item.is-open .faq__panel {
  max-height: 800px;
  padding: 0 1.25rem 1rem 1.25rem;
}

.faq__item.is-open .faq__content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
@media (600px <= width <= 1023px) {
  .faq__item {
    font-size: 1.2rem;
  }

  .faq__trigger i {
    font-size: 1.8rem;
    transition: transform 0.25s ease;
  }
}

@media (min-width: 1024px) {
  .faq__grid {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 5rem;
  }

  .faq__col__right {
    border-top: 2px solid var(--primary-color);
  }
}

/* --------------- ABOUT (about.html) ---------------*/

.about__page__section {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.about__page__img img {
  width: 250px;
  justify-self: center;
  align-self: start;
}
.about__page__image {
  position: relative;
  isolation: isolate;
}

.about__page__image:before {
  position: absolute;
  content: "";
  height: calc(100%);
  width: 150%;
  right: 125%;
  transform: translateX(50%);
  background-color: var(--secondary-color);
  opacity: 0.25;
  z-index: -1;
}

.about__page__content {
  grid-area: content;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 1.5rem;
}

.about__page__intro {
  text-align: center;
  font-size: 2.75rem;
  margin-top: 0.5rem;
}

.about__intro__break {
  display: block;
}

.about__page__description {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: var(--text-light);
  width: 100%;
  max-width: none;
  font-size: 0.9rem;
}

.about__page__description p {
  margin-bottom: 1rem;
}

.about__page__img:nth-child(1) {
  text-align: center;
}

.about__page__affiliates {
  margin-bottom: 4rem;
}

.about__page__bio {
  margin-top: 1rem;
}

.about__socials {
  padding-top: 0.5rem;
}

.about__socials a {
  color: var(--text-medium);
  padding-inline: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.about__socials a:hover {
  color: var(--primary-color);
  transition: 0.2s;
}

.about__page__buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.about__page__process {
  display: none;
}

@media (600px <= width <= 1023px) {
  .about__page__img img {
    width: 400px;
  }
  .about__page__intro {
    font-size: 3.75rem;
  }

  .about__page__description {
    font-size: 1.2rem;
  }

  .about__socials a {
    font-size: 2rem;
  }

  .about__page__bio h3 {
    font-size: 2rem;
  }

  .about__page__bio p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .about__page__section {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "image content";
    align-items: stretch;
    gap: 3rem;
    padding-block: 1rem;
  }

  .about__page__img img {
    width: 475px;
    grid-area: image;
    justify-self: start;
    align-self: start;
  }

  .about__page__intro {
    font-size: 3rem;
    margin-top: 1rem;
  }

  .about__intro__break {
    display: inline;
  }

  .about__page__buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
  }

  .about__page__process {
    display: inline;
  }

  .about__socials {
    padding-top: 0;
  }

  .about__socials a {
    padding-inline: 0.5rem;
  }
}

/* --------------- SERVICES (services.html) ---------------*/

.services__page__container {
  margin-top: 0;
}

.services__page__container.is_reversed {
  background: var(--secondary-color-soft);
}

.services__page__section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
}

.services__page__description {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: var(--text-light);
  width: 100%;
  max-width: none;
  font-size: 0.9rem;
}

.services__page__description h3 {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.services__page__description div {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.des__alt {
  background: rgba(255, 255, 255, 0.8);
}

.services__page__content h2 {
  font-family: var(--header-font);
  font-size: 1.5rem;
}

.services__page__img img {
  padding-inline: 1rem;
}

.port__btn {
  display: none;
}

.services__page__content {
  display: contents;
}

.services__page__title {
  grid-row: 1;
  text-align: center;
}

.services__page__img {
  grid-row: 2;
}

.serv_con_1 {
  padding-top: 0;
}

.services__page__learnmore {
  display: inline-flex;
  color: var(--text-light);
  transition: color 0.25s ease;
}

.services__page__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
    transform: translateX(4px);
}

.services__page__learnmore:hover,
.services__page__learnmore:focus-visible {
  color: var(--primary-color);
}

.services__page__learnmore:hover .services__page__arrow,
.services__page__learnmore:focus-visible .services__page__arrow {
  transform: translateX(10px);
}

@media (600px <= width <= 1023px) {
  .services__page__img img {
    width: 500px;
    margin: auto;
  }

  .services__page__description {
    font-size: 1rem;
  }

  .services__page__description div {
    justify-content: center;
  }
}

@media (min-width: 1024px) { 
    
  .services__page__section {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "image content";
    align-items: stretch;
    gap: 3rem;
    padding-block: 4rem;
  }
  
  .services__page__section.is_reversed {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "content image";
  }

  .services__page__img img {
    width: 520px;
    grid-area: image;
    justify-self: start;
    align-self: start;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    padding-inline: 0;
  }

  .services__page__content {
    grid-area: content;
    align-self: stretch;
    display: grid;
    grid-template-rows: auto 1fr auto;
    row-gap: 1.5rem;
  }
  

  .services__page__title {
    grid-row: auto;
    padding-inline: 0;
    text-align: left;
    margin-bottom: 0;
  }

.services__legacy__description {
  background: rgba(255, 255, 255, 0.8);
}

  .services__page__description div {
    justify-content: space-evenly;
  }
  
  .services__page__img {
    grid-row: auto;
  }

  .services__page__img img {
    margin-top: 7px;
  }

  .services__page__faq {
    margin-top: 3rem;
  }
  .port__btn {
    display: inline;
  }

  .serv_con_1 {
    padding-top: 1.5rem;
  }
  
  .services__legacy__section {
  grid-template-columns: 520px minmax(0, 1fr);
  grid-template-areas: "image content";
  align-items: stretch;
  gap: 3rem;
  padding-block: 4rem;
}

.services__legacy__section.is_reversed {
  grid-template-columns: 1fr 520px;
  grid-template-areas: "content image";
}

.services__legacy__img {
  grid-area: image;
  margin-top: 0;  
}

.services__legacy__img img {
  width: 520px;
  height: 520px;
  object-fit: cover;
  padding-inline: 0;
  margin-top: 0;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.services__legacy__content {
  grid-area: content;
  display: block;
  height: 520px;
}

.services__legacy__description {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.services__legacy__description p {
margin-bottom: 1rem;
}

.services__legacy__description > div {
  margin-top: auto;
  /*padding-top: 1rem;*/
  justify-content: space-evenly;
}

.serv_con_1 {
  padding-top: 1.5rem;
}
}

@media (max-width: 599px) {
  .services__page__container.section__container,
  .services__page__container .section__container {
    padding-inline: 1rem;
  }

  .services__page__description > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .services__page__description > div .button {
    width: 100%;
    text-align: center;
  }

  .services__page__img img {
    width: 100%;
    padding-inline: 0;
  }
}
/* --------------- PROCESS (process.html) ---------------*/

.process__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background-color: var(--secondary-color-soft);
  justify-content: center;
}

.process__tab {
  border: 2px solid transparent;
  padding: 0.5rem 1.25rem;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
  transition:
    0.25s ease,
    color 0.25s ease;
  color: var(--text-medium);
  font-weight: 600;
}

.process__tab.is-active {
  background-color: white;
  border: 2px solid var(--primary-color);
}

.process__stack {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  height: auto;
  overflow: hidden;
}

.process__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 0;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.25s ease;
  will-change: transform;
  opacity: 0;
  visibility: hidden;
}

.process__card.is-active {
  opacity: 1;
  visibility: visible;
}

.process__edge {
  position: absolute;
  top: 0rem;
  right: 0.25rem;
  transform: rotate(90deg);
  transform-origin: top right;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* no label on the active (top) card */
.process__card.is-active .process__edge {
  opacity: 0;
}

.process__card h3 {
  font-family: var(--header-font);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.process__card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-medium);
}

/* Only the top card shows its body text */
.process__card:not(.is-active) p {
  opacity: 0;
  visibility: hidden;
}

.process__card:not(.is-active) {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.process__card:not(.is-active):hover {
  cursor: pointer;
}

.process__card.is-active:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.process__page__area {
  scroll-margin-top: 100px;
}

.process__page__section {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.process__page__img img {
  width: 250px;
  grid-area: image;
  justify-self: center;
}

.process__page__description {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: none;
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

.process__page__description p {
  font-size: 0.8rem;
  color: var(--text-light);
  padding-bottom: 0.5rem;
}

.process__cstm1 p:nth-of-type(4) {
  padding-bottom: 0;
}

.process__page__description h4 {
  color: var(--text-medium);
}

.process__title {
  position: relative;
  isolation: isolate;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-family: var(--header-font);
  font-weight: 300;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
  padding-block: 1rem;
}

.process__title::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 5rem;
  bottom: 0;
  display: block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  opacity: 0.5;
}

.process__stack__title {
  padding-bottom: 2rem;
}

.process__page__title h3 span {
  margin-right: 1rem;
}

@media (600px <= width <= 1023px) {
  .process__page__description {
    font-size: 1rem;
  }

  .process__page__description p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .process__section {
    margin-bottom: 6rem;
  }

  .process__stack {
    height: 2200px;
    overflow: visible;
  }

  .process__tabs {
    margin-top: 2rem;
  }
  .process__page__img img {
    width: 300px;
    grid-area: image;
    align-self: start;
  }

  .process__card {
    padding: 1rem 1.75rem;
    min-height: 2200px;
    opacity: 1;
    visibility: visible;
  }

  .process__page__section {
    grid-template-columns: 300px minmax(0, 1fr); /* instead of max-content */
  }

  .process__page__img {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
  }

  .process__page__img img {
    align-self: center; /* override your align-self:start */
  }

  .pe1 {
    top: 9.5rem;
  }

  .pe2 {
    top: 5.25rem;
  }

  .pe3 {
    top: 6.5rem;
  }

  .pe4 {
    top: 12.25rem;
  }

  /* .plapre {
    max-width: 280px;
  }

  .desdev {
    max-width: 280px;
  } */

  /* .schdes {
    max-width: 280px;
  } */

  .process__page__section {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "image content";
    align-items: stretch;
    gap: 3rem;
    padding-block: 2rem;
    padding-inline: 2rem;
  }

  .process__page__description {
    grid-area: content;
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .process__page__description p {
    font-size: 0.9rem;
  }
}

/* --------------- DELIVERABLES (deliverables.html) ---------------*/

.deliverables__page__container {
  margin-top: 0;
}

.deliverables__page__container.is_reversed {
  background-color: var(--secondary-color-soft);
}

.deliverables__page__section {
  display: flex;
  flex-direction: column;
  padding-block: 3rem;
  align-items: center;
  gap: 1rem;
}

.del_con_1 {
  padding-top: 0;
}

.deliverables__page__img {
  width: 100%;
  max-width: 520px; /* controls image block size on mobile/tablet */
  padding-bottom: 0.5rem;
}

.deliverables__page__img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding-inline: 0;
}

.deliverables__page__content {
  width: 100%;
}

.deliverables__page__content > h2 {
  padding-inline: 0;
  padding-block: 0.5rem;
  text-align: center;
  font-size: 1.2rem;
}

.deliverables__page__description {
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.deliverables__page__description p {
  margin: 0 0 0.75rem;
}

.deliverables__page__description p:last-child {
  margin-bottom: 0;
}

.deliverables__page__buttons {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  padding-block: 1rem 0;
  flex-wrap: wrap;
}

.deliverables__page__buttons a {
  font-size: 0.85rem;
}

@media (600px <= width <= 1023px) {
  .deliverables__page__description {
    font-size: 1rem;
  }

  .deliverables__page__content > h2 {
    text-align: left;
  }

  .deliverables__page__buttons a {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .deliverables__page__container {
    margin-top: 0;
    padding-block: 4rem;
  }

  .deliverables__page__section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
    grid-template-areas: "image content";
    align-items: center;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }

  .del_con_1 {
    padding-top: 1rem;
  }

  .deliverables__page__section.is_reversed {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
    grid-template-areas: "content image";
  }

  .deliverables__page__img {
    grid-area: image;
    width: 100%;
    max-width: 560px; /* image size similar to your screenshot */
    justify-self: center;
    padding-bottom: 0;
  }

  .deliverables__page__section.is_reversed .deliverables__page__img {
    justify-self: center; /* keeps it inside container, no bleed */
  }

  .deliverables__page__img img {
    width: 100%;
  }

  .deliverables__page__content {
    grid-area: content;
    max-width: 34rem;
    width: 100%;
    display: grid;
    gap: 0.75rem;
    align-content: center;
  }

  .deliverables__page__content > h2 {
    text-align: left;
    padding: 0;
  }

  .deliverables__page__description {
    padding: 2rem 2rem 1.5rem;
  }

  .deliverables__page__buttons {
    justify-content: center;
    gap: 2rem;
    padding-top: 1.25rem;
  }
}

/* --------------- PORTFOLIO (portfolio.html) ---------------*/
.portfolio__page__description {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

.portfolio__page__description h2 {
    color: var(--text-medium);
    font-weight: 600;
}

.portfolio__page__description p {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
}

.portfolio__page__socials {
  text-align: center;
  margin-bottom: 4rem;
}
.portfolio__page__socials a {
  color: var(--text-medium);
  padding-inline: 2rem;
  font-size: 5rem;
}

.portfolio__page__socials a:hover {
  color: var(--primary-color);
  transition: 0.2s;
}

.portfolio__page__nav {
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
    gap: 2rem;
}

.portfolio__page__legacy {
  margin-block: 3rem;
  text-align: center;
}

.portfolio__page__legacy button {
    font-weight: 500;
    font-size: 1rem;
}

.portfolio__page__legacy__trigger .services__page__arrow {
  transition: transform 0.25s ease;
}

.portfolio__page__legacy__trigger[aria-expanded="true"] .services__page__arrow {
  transform: translateX(6px);
}

.portfolio__page__legacy__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.portfolio__page__legacy__content.is-open {
  display: block;
}

.portfolio__page__legacy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.portfolio__page__legacy__grid a,
.portfolio__page__legacy__grid a:visited {
  display: inline-block;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.portfolio__page__legacy__grid a:hover {
    color: var(--primary-color);
    transition: 0.2s;
}

@media (max-width: 900px) {
  .portfolio__page__legacy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .portfolio__page__legacy__grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
  cursor: pointer;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.portfolio-item__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition:
    filter 200ms ease,
    transform 200ms ease;
}

.portfolio-item:hover .portfolio-item__img,
.portfolio-item:focus-visible .portfolio-item__img {
  filter: brightness(55%);
  transform: scale(1.02);
  cursor: pointer;
}

.portfolio-card {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.portfolio-card__img {
  width: 100%;
  aspect-ratio: 4 / 3; /* change if you want */
  object-fit: cover;
  display: block;
}

.portfolio-card__body {
  padding: 0.75rem 0.9rem 1rem;
}

.portfolio-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open {
  display: block;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightbox__wrap {
  position: relative;
  width: min(1100px, 92vw);
  margin: 5vh auto 0;
  max-height: 90vh;
  display: grid;
  gap: 0.75rem;
}

/* title centered above main image */
.lightbox__title {
  position: relative;
  isolation: isolate;
  margin: 0;
  text-align: center;
  padding-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 3rem;
  color: #f8f8ff;
  font-family: var(--header-font);
}

.lightbox__title::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 5rem;
  bottom: 0;
  display: block;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
}

/* main image area (no visible container) */
.lightbox__stage {
  position: relative;
}

/* main image */
.lightbox__main-img {
  width: 100%;
  height: min(62vh, 650px);
  object-fit: contain;
  display: block;
}

/* X button top-right of main image */
.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.lightbox__close i {
  font-size: 22px;
}

/* Prev/Next on left/right of main image */
.lightbox__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.lightbox__nav-btn i {
  font-size: 28px;
}

.lightbox__nav-btn--left {
  left: 0.5rem;
}
.lightbox__nav-btn--right {
  right: 0.5rem;
}

.lightbox__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.lightbox__thumb-btn {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox__thumb-btn.is-active {
  border-color: rgba(255, 255, 255, 0.85);
}

.lightbox__thumb {
  width: 180px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

/* prevent background scroll */
body.no-scroll {
  overflow: hidden;
}


/* --------------- CONTACT (contact.html) ---------------*/

.contact__page__intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 2rem;
  font-size: 0.75rem;
}

.contact__page__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact__page__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.contact__page__info__card {
  position: relative;
  background-color: var(--white);
  text-align: center;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 4rem 1rem 4rem 1rem;
}

.contact__page__info__card:hover {
  box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.contact__page__info__card i {
  font-size: 3rem;
  font-weight: 100;
  color: var(--primary-color);
  padding-bottom: 3rem;
}

.contact__page__info__card h4 {
  font-size: 1.25rem;
  font-weight: 100;
  font-weight: 600;
  color: var(--text-medium);
}

.contact__page__info__card p {
  font-size: 0.9rem;
  font-weight: 100;
  font-weight: 500;
  color: var(--text-light);
}

.form-success-ui h4 {
  font-size: 1.25rem;
  font-weight: 100;
  font-weight: 600;
  color: var(--text-medium);
}

.form-success-ui p {
  font-size: 0.9rem;
  font-weight: 100;
  font-weight: 500;
  color: var(--text-light);
}

.contact__page__map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__page__forms {
  position: relative;
  background-color: var(--white);
  text-align: center;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  min-height: 450px;
}

.contact-form {
  position: relative;
  height: 100%;
  min-height: 100%;
}

.contact__page__forms input,
.contact__page__forms textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--text-light);
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: 0.2s ease;
  resize: none;
}

.contact__page__forms textarea {
    height: 160px;
    margin-bottom: 2rem;
}

.contact__page__forms input:focus,
.contact__page__forms textarea:focus {
  border-color: var(--primary-color);
}

.contact__page__forms input::placeholder,
.contact__page__forms textarea::placeholder {
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.contact__page__forms__buttons .button {
  padding: 1rem 1.5rem;
}

.contact__page__forms__buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

@media (600px <= width <= 1023px) {
  .contact__page__intro {
    font-size: 1rem;
    font-weight: 500;
  }

  .contact__page__info__card i {
    font-size: 4rem;
  }
  .contact__page__info__card h4 {
    font-size: 1.5rem;
  }

  .contact__page__info__card p {
    font-size: 1rem;
  }

  .contact__page__forms input,
  .contact__page__forms textarea {
    width: 100%;
    padding: 1.2rem 1.2rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .contact__page__intro {
    font-size: 1rem;
  }

  .contact__page__grid {
    position: relative;
    display: grid;
    grid-template-areas:
      "info info"
      "forms map";
    gap: 2rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: stretch;
    margin-bottom: 2rem;
  }
  .contact__page__info {
    grid-area: info;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact__page__forms__inputs {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

.contact__page__forms {
  grid-area: forms;
  min-height: 450px;
}

.contact__page__map {
  grid-area: map;
  min-height: 450px;
}

  .contact__page__forms input,
  .contact__page__forms textarea {
    width: 100%;
    display: block;
    padding: 0.75rem;
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .contact__page__forms textarea {
    margin-bottom: 2rem;
}

  .contact__page__map iframe {
    height: 100%;
  }
}


/* --- Force the same vertical spacing as the static site --- */
.reviews .swiper-slide .reviews__card {
  padding-top: 6rem !important;  /* adjust to match your static gap */
}

.reviews .swiper-slide .reviews__card > span {
  position: absolute;
  top: 2.1rem;                   /* keep quote box on the line */
  left: 0;                        /* if you center it with other CSS, keep that rule */
}

/* Contact form success swap */
.form-success-ui {
  display: none;
  text-align: center;
  padding: 1.5rem 1rem;
}

.contact-form.is-complete .form-ui {
  visibility: hidden;
  pointer-events: none;
}

.contact-form.is-complete .form-success-ui {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  animation: popIn 400ms ease forwards;
}

.form-success-ui__img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.error-404 {
  padding-bottom: 6rem;
}

.error-404__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

.error-404__image-wrap {
  display: flex;
  justify-content: center;
}

.error-404__image {
  width: min(100%, 500px);
  max-width: 700px;
  height: auto;
  display: block;
}

.error-404__content {
  max-width: 700px;
  margin: 0 auto;
}

.error-404__eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.error-404__title {
  margin-bottom: 1rem;
}

.error-404__text {
  margin-bottom: 2rem;
color: var(--text-light);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.error-404__break {
  display: block;
}

@media (min-width: 900px) {
  .error-404__container {
    gap: 4rem;
  }
}

.legacy-project__section {
  padding: 0 0 5rem;
}

.legacy-project__gallery {
  max-width: 1220px;
  margin: 1rem auto 0;
}

.legacy-project__stage-wrap {
  position: relative;
  display: block;
}

.legacy-project__stage {
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 16 / 9;
}

.legacy-project__slide {
  display: none;
  margin: 0;
  width: 100%;
  height: 100%;
}

.legacy-project__slide.is-active {
  display: block;
}

.legacy-project__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-project__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.75);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legacy-project__nav--prev {
  left: 1rem;
}

.legacy-project__nav--next {
  right: 1rem;
}

.legacy-project__thumbs-wrap {
  margin-top: 0.9rem;
  overflow: hidden;
}

.legacy-project__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.legacy-project__thumb {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.75;
  flex: 0 0 auto;
}

.legacy-project__thumb.is-active {
  opacity: 1;
}

.legacy-project__thumb img {
  display: block;
  width: 150px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.legacy-project__back {
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .legacy-project__nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .legacy-project__nav--prev {
    left: 0.5rem;
  }

  .legacy-project__nav--next {
    right: 0.5rem;
  }

  .legacy-project__thumb img {
    width: 100px;
  }
}


/* --------------- BLOG (blogs.html) ---------------*/

.blog-hero {
  padding: 10rem 0 3rem;
}

.blog-hero .section__header {
  text-align: center;
  margin-bottom: 0;
}

.blog-archive {
  padding: 0 0 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.blog-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(147, 202, 152, 0.18);
}

.blog-card__image,
.blog-post__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__image {
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.04);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(123, 193, 126, 0.18),
    rgba(147, 202, 152, 0.35)
  );
}

.blog-card__content {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.blog-card__meta,
.blog-post__breadcrumbs,
.blog-post__meta {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.blog-card__dot,
.blog-post__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  display: inline-block;
}

.blog-card__title {
  margin: 0;
  font-family: "Merriweather", serif;
  font-size: 1.5rem;
  line-height: 1.35;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__excerpt {
  margin: 0;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.78);
  flex: 1;
}

.blog-card__link,
.blog-post__back,
.blog-post__nav a,
.blog-post__sidebar-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.blog-card__link:hover,
.blog-post__back:hover,
.blog-post__nav a:hover,
.blog-post__sidebar-links a:hover {
  opacity: 0.8;
}

.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: #fff;
}

.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  background: rgba(147, 202, 152, 0.12);
  border-radius: 1.5rem;
}

/* =========================
   SINGLE POST
========================= */

.blog-archive-page,
.blog-post-page {
  margin-top: 0;
}

.blog-archive__header,
.blog-post__page-header {
  margin-top: 0;
}

.blog-archive__header .section__header,
.blog-post__title {
  margin-bottom: 0;
}

.blog-archive {
  margin-top: 1rem;
  padding-bottom: 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  padding-top: 3rem;
}

.blog-card {
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0;
}

.blog-card:hover {
  box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--secondary-color-soft);
}

.blog-card__image,
.blog-post__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__image {
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(123, 193, 126, 0.18),
    rgba(147, 202, 152, 0.35)
  );
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.blog-card__dot,
.blog-post__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  display: inline-block;
}

.blog-card__title {
  margin: 0;
  font-family: var(--header-font);
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--text-medium);
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__excerpt {
  margin: 0;
  color: var(--text-light);
  line-height: 1.8;
  flex: 1;
}

.blog-card__link {
  color: var(--text-medium);
  font-weight: 600;
}

.blog-card__link:hover {
  color: var(--primary-color);
}

.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  background: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--text-medium);
  font-weight: 600;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: var(--white);
}

.blog-empty {
  text-align: center;
  padding: 3rem 1rem;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

/* single post */

.blog-post__page-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.blog-post__header-inner,
.blog-post__container {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  color: var(--text-medium);
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-post__back:hover {
  color: var(--primary-color);
}

.blog-post__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.blog-post__section {
  margin-top: 1rem;
  padding-bottom: 6rem;
}

.blog-post__featured {
  margin-bottom: 2rem;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post__content {
  color: var(--text-light);
}

.blog-post__content > *:first-child {
  margin-top: 0;
}

.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
  font-family: var(--header-font);
  color: var(--text-medium);
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post__content p,
.blog-post__content li {
  color: var(--text-light);
  line-height: 1.9;
}

.blog-post__content p {
  margin-bottom: 1.25rem;
}

.blog-post__content ul,
.blog-post__content ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-light);
}

.blog-post__content li {
  margin-bottom: 0.5rem;
}

.blog-post__content a {
  color: var(--text-medium);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-post__content a:hover {
  color: var(--primary-color);
}

.blog-post__content figure,
.blog-post__content .wp-block-image,
.blog-post__content .wp-block-gallery,
.blog-post__content .wp-block-columns {
  margin: 2rem 0;
}

.blog-post__content img {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post__content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--primary-color);
  background: var(--secondary-color-soft);
  color: var(--text-medium);
}

.blog-post__back--bottom {
  display: inline-flex;
  margin-top: 2rem;
}

@media (600px <= width <= 1023px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card__title {
    font-size: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}