/*
Theme Name: Nordic Infra Partner
Description: Block based theme
Version: 1.0.0
*/



html {
  scroll-behavior: smooth;
}
    :root {
      --bg-light: #efefef;
      --text-dark: #2e2e2e;
      --text-muted: #7a7a7a;
      --footer-bg: #232b3d;
      --white: #ffffff;
      --container: 1240px;
    }

    :where(.wp-site-blocks :focus) {
          outline-style: none;
    }

    :where(.wp-site-blocks) > :last-child {
    margin-top: 0;
    }

    :root :where(.is-layout-flow) > * {
      margin-top: 0px;

    }

    body {
      font-family: "Space Grotesk", sans-serif;
      color: var(--text-dark);
      line-height: 1.4;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }


.link-underline {
  text-decoration: underline;
  text-decoration-color: #111;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
  color: inherit;
}

.link-underline:hover {
  text-decoration-color: #f4b8a0; 
}

.link-slide {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.link-slide::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.3s ease;
}

.link-slide:hover::after {
  width: 100%;
}

.link-slide--white::after {
  background: #fff;
}

    .hero {
      position: relative;
      width: 100%;
      height: 570px;
      overflow: hidden;
    }

    .hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero__logo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 4px solid var(--white);
      padding: 26px 34px;
      color: var(--white);
      text-align: center;
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: 0.95;
      font-weight: 500;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      background: rgba(0, 0, 0, 0.08);
    }

    .content {
      padding: 50px 24px 120px;
    }

    .container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
    }


    .intro {
      max-width: 1120px;
      font-size: 39px;
      line-height: 1.1;
      font-weight: 500;
      letter-spacing: -0.02em;
      margin-bottom: 96px;
    }

    .contact-label {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 25px;
    }

    .contacts {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      align-items: start;
    }

    .contact-card h3 {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.1;
      margin-bottom: 8px;
    }

    .contact-card .role {
      font-size: 18px;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.25;
    }

    .contact-card a,
    .contact-card p {
      font-size: 18px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .contact-card a {
      display: block;
    }

footer {
  margin-top: 0px;
}

    .footer {
      background: var(--footer-bg);
      color: var(--white);
padding: 90px 24px 5px;
      text-align: center;
    }

    .footer__logo {
      display: inline-block;
      border: 2px solid rgba(255, 255, 255, 0.85);
      padding: 16px 22px;
      font-size: 1.6rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      margin-bottom: 48px;
    }

    .footer__copy {
      font-size: 1rem;
      opacity: 0.9;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .footer__dev {
  margin-top: 75px;
  font-size: 8px;
      opacity: 0.2;
      letter-spacing: 0.34em;
}

.footer__dev a {
  text-decoration: none;
}

.footer__dev a:hover {
  opacity: 0.7;
}

.page-id-39 .site-header__inner, .page-id-50 .site-header__inner {
filter: brightness(0.1);
}

.projects-page {
  padding: 150px 14px 40px;
}

.projects-page * {
  box-sizing: border-box;
}

.projects-page a {
  color: inherit;
  text-decoration: none;
}

 .projects-page .hero {
  height: 370px;
    }

.projects-page img {
  display: block;
  width: 100%;
  height: auto;
}

.projects-page .hero h1 {
  max-width: 1100px;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -1.2px;
}

.projects-page .intro {
  max-width: 560px;
  font-size: 20px;
  font-weight: 400;
  color: #8e8e8e;
  line-height: 1.35;
  margin-bottom: 36px;
}

.projects-page .projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 18px;
  margin-bottom: 110px;
}

.projects-page .project-card {
  display: flex;
  flex-direction: column;
}

.projects-page .project-card img {
  aspect-ratio: 1.1 / 0.98;
  object-fit: cover;
  background: #ddd;
}

.projects-page .project-content {
  padding-top: 12px;
}

.projects-page .project-title {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 3px;
}

.projects-page .project-text {
  font-size: 18px;
  color: #8b8b8b;
  line-height: 1.35;
  max-width: 92%;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  font-size: 17px;
  padding: 8px 18px;
  border: 2px solid #3a3a3a;
  background: transparent;
  color: #222;
  line-height: 1;
  font-weight: 500;
}

.btn:hover {
  background-color: black;
color: white;
}

.projects-page .section-title {
  font-size: 46px;
  font-weight: 500;
  margin-bottom: 42px;
  letter-spacing: -0.8px;
}

.projects-page .partnerships {
  margin-bottom: 130px;
}

.projects-page .partnership-card {
  max-width: 50%;
}

.projects-page .partnership-card img {
  aspect-ratio: 1.1 / 0.9;
  object-fit: cover;
  background: #ddd;
}

.projects-page .partnership-content {
  padding-top: 12px;
}


.how-it-works-page section {
 padding: 70px 20px 28px;
}

.how-it-works-page * {
  box-sizing: border-box;
}

.diagram-inner, .wideimg-inner, .feature-inner, .faq-inner {
max-width: 1440px;
justify-self: anchor-center;
}

.how-it-works-page img {
  display: block;
  width: 100%;
  height: auto;
}

.how-it-works-page a {
  color: inherit;
  text-decoration: none;
}

.how-it-works-page .diagram-section {
  background: #ededed;
  color: #111;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);

}

.how-it-works-page .diagram-image-wrap {
  margin: 0 auto 58px;
}

.how-it-works-page .diagram-image-wrap img {
  aspect-ratio: 1.7 / 1;
  object-fit: contain;
}

.how-it-works-page .diagram-content {
  max-width: 700px;
  padding: 0 0 0 0;
}

.how-it-works-page .diagram-content h2 {
  font-size: 39px;
  font-weight: 500;
  margin-bottom: 14px;
            margin-top: 150px;
}

.how-it-works-page .diagram-content p {
  line-height: 1.35;
  color: #222;
  margin-bottom: 16px;
  max-width: 600px;
}

.how-it-works-page .text-link {
  display: inline-block;
  color: inherit;
}

.how-it-works-page .feature-section {
background-color: #000000;
width: 100vw;
margin-left: 50%;
transform: translateX(-50%);
}

.how-it-works-page .feature-media {
max-width: 50%;
  margin-bottom: 12px;
}

.how-it-works-page .feature-media img {
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.how-it-works-page .feature-content {
  max-width: 600px;
}

.how-it-works-page .feature-content h2 {
  font-weight: 500;
  margin-bottom: 14px;
color: #ffffff;
}

.how-it-works-page .feature-content p {
  line-height: 1.35;
  color: #d1d1d1;
  margin-bottom: 18px;
color: #ffffff;
}

.how-it-works-page .feature-content a {
color: #ffffff;
}

.how-it-works-page .wide-image-section {
background-color: #000000;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.how-it-works-page .wide-image-section img {
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  margin-bottom: 8px;
}

.how-it-works-page .image-caption {
  color: #d3d3d3;
}

.how-it-works-page .faq-section {
  margin: 0 auto;
background-color: #000000;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.how-it-works-page .faq-section h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 36px;
color: #fff;
margin-top: 0;
}

.how-it-works-page .faq-list {
  margin-bottom: 46px;
}

.how-it-works-page .faq-item {
  border-top: 1px solid #171717;
  color: #f1f1f1;
}

.how-it-works-page .faq-item:last-child {
  border-bottom: 1px solid #171717;
}

.how-it-works-page .faq-question {
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.how-it-works-page .faq-arrow {
  transition: transform 0.2s ease;
}

.how-it-works-page .faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.how-it-works-page .faq-answer {
  display: none;
  color: #cfcfcf;
  padding: 0 0 18px;
  max-width: 700px;
}

.how-it-works-page .faq-item.active .faq-answer {
  display: block;
}

.how-it-works-page .faq-item.active .faq-answer {
  display: block;
}

.how-it-works-page .faq-section h3{
padding-top: 20px;
color: white;
}

.how-it-works-page .Contact-text {
color:white;
}

   .home-hero {
      position: relative;
      width: 100%;
      height: 55vh;
      min-height: 380px;
      overflow: hidden;
    align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    }
 
    .home-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
 
 
    .home-hero__text {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 var(--px);
    }
 
    .home-hero__text h1 {
      font-size: clamp(2rem, 5vw, 4rem);
      font-weight: 500;
      color: #fff;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

.home-container {
    justify-items: center;
}
 
    .home-intro {
      padding: clamp(3.5rem, 6vw, 4rem) 20px;
      background: #fff;
    }
 
    .home-intro p {
      font-size: clamp(1.1rem, 2.2vw, 30px);
      font-weight: 500;
      line-height: 1.4;
      letter-spacing: -0.02em;
      color: #111;
      max-width: 900px;
    }
 
    .home-case {
      display: grid;
          background: #b8c0c8;
      grid-template-columns: 1fr 1fr;
      min-height: 500px;
    align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    }
 
    .home-case__content {
      padding: clamp(3rem, 6vw, 6rem) 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      justify-self: right;
    }
 
    .home-case__content h2 {
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 700;
      margin-bottom: 1.25rem;
      letter-spacing: -0.02em;

    }
 
    .home-case__content p {
      font-size: 17px;
      line-height: 1.7;
      color: #222;
      margin-bottom: 2rem;
      max-width: 520px;
          margin-left: auto;
font-weight: 500;
    }
 
    .btn {
      display: inline-block;
      padding: 9px;
      border: 2px solid #111;
      color: #111;
      text-decoration: none;
      font-size: 16px;
      align-self: flex-start;
      transition: background 0.2s, color 0.2s;
    }
 
    .btn:hover {
      background: #111;
      color: #fff;
    }
 
    .home-case__image {
      overflow: hidden;
    }
 
    .home-case__image img {
      width: 100%;
      height: 700px;
      object-fit: cover;
      display: block;
    }
    .home-projects {
      padding: clamp(3rem, 5vw, 5rem) 0;
    }
 
    .home-projects__heading {
      font-size: clamp(1.3rem, 2.5vw, 2rem);
      font-weight: 500;
      text-align: center;
      margin-bottom: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: -0.01em;
    }
 
    .home-projects__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(1.5rem, 3vw, 2.5rem);
    }
 
    .home-project__image {
      width: 100%;
      aspect-ratio: 4/3;
      overflow: hidden;
      margin-bottom: 1rem;
    }
 
    .home-project__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
 
    .home-project:hover .home-project__image img {
      transform: scale(1.03);
    }
 
    .home-project__title {
      font-size: 19px;
      margin-bottom: 2px;
      font-family: monospace;
      letter-spacing: 0.01em;
    }
 
    .home-project__desc {
      font-size: 15px;
      line-height: 1.65;
      color: #888;
font-weight: 400;
      margin-bottom: 1.25rem;
    margin-top: 0px;
      max-width: 420px;
    }
 
    .home-project__btn {
      display: inline-block;
      padding: 0.45rem 1.1rem;
      border: 1px solid #111;
      color: #111;
      text-decoration: none;
      font-size: 0.8rem;
      transition: background 0.2s, color 0.2s;
    }
 
    .home-project__btn:hover {
      background: #111;
      color: #fff;
    }
 
 .home-big-image {
      width: 100%;
      height: 55vh;
      min-height: 320px;
      overflow: hidden;
    align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    }
 
    .home-big-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
      display: block;
    }
 
 
    .home-intro__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: baseline;
      gap: 1px;
    }
 
    .home-intro__left h2 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.02em;
margin-top: 0;
    }
 
    .home-intro__right p {
      font-size: 16px;
      color: #444;
      margin-bottom: 1.75rem;
font-weight: 400;
    max-width: 600px;
    }
 
    .home-intro__btn {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      border: 1px solid #111;
      color: #111;
      text-decoration: none;
      font-size: 0.82rem;
      transition: background 0.2s, color 0.2s;
    }
 
    .home-intro__btn:hover {
      background: #111;
      color: #fff;
    }
 
    .home-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding-bottom: 100px;   
 }
 
    .home-card {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/3;
      text-decoration: none;
    }
 
    .home-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
 
    .home-card__overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.3);
    }
 
    .home-card__text {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem clamp(1.5rem, 3vw, 3rem);
    }
 
    .home-card__text h3 {
      font-size: clamp(18px, 2vw, 32px);
      color: #fff;
      line-height: 1.25;
      letter-spacing: -0.01em;
    }

      .benefits-section {
      padding: clamp(3rem, 5vw, 5rem) 0;
    }
 
    .benefits-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 20px;
    }
 
    /* Heading full width */
    .benefits-heading {
      font-size: clamp(1.2rem, 2.2vw, 1.8rem);
      font-weight: 600;
      line-height: 1.3;
      letter-spacing: -0.02em;
      margin-bottom: clamp(2.5rem, 5vw, 4rem);
      max-width: 1000px;
    }
 
    /* Two column layout – heading left empty, list right */
    .benefits-grid {
      display: grid;
      grid-template-columns: 2fr 3fr;
      gap: clamp(2rem, 5vw, 5rem);
    }

    .benefits-list {
      display: flex;
      flex-direction: column;

    }
 
    .benefits-item h3 {
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 0.35rem;
      display: flex;
      align-items: baseline;
      gap: 0.4em;
    }
 
    .benefits-item h3 .arrow {
      font-weight: 400;
    }
 
    .benefits-item p {
      font-size: 16px;
      line-height: 1.65;
      color: #888;
    }

.sustainability-benefits.varde p {
    color: #333;
}
    .challenge-section {
      padding: clamp(3rem, 6vw, 6rem) 20px;
    }
 
    .challenge-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 6rem);
      align-items: start;
    }
 
    .challenge-left h2 {
      font-weight: 500;
      line-height: 1.3;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
      margin-top: 15px;
    }
 
    .challenge-left .challenge-sub {
      font-size: 0.75rem;
      color: #999;
    }
 
    /* RIGHT */
    .challenge-right {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
 
    .challenge-right p {
      font-size: 15px;
      color: #333;
    }


       .sustainability-hero, .about-hero {
      position: relative;
      width: 100%;
      height: 65vh;
      overflow: hidden;
  align-self: stretch; /* för block-layout */
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

    }


 
  .sustainability-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
      filter: brightness(0.8);
    }

.sustainability-hero.varde img {
      object-position: right;
    }

.sustainability-hero2 {
  width: 100%;
  height: 65vh;
  background-image: url('https://nordicinfrapartner.com/wp-content/uploads/2026/04/Vaxthus2.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  align-self: stretch;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

       .about-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
      filter: brightness(0.8);
    }

    .about-bigimage {
  width: 100%;
  height: 65vh;
  background-image: url('https://nordicinfrapartner.com/wp-content/uploads/2026/04/wa3rm-pipes.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
 
    .sustainability-hero__caption, .about-hero__caption {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
          color: white;
      padding: 0 var(--px);
justify-items: center;
    }
 
    .sustainability-hero__caption h1, .about-hero__caption h1 {
      font-size: clamp(1.5rem, 3vw, 2.6rem);
      font-weight: 400;
      color: #fff;
      line-height: 1.25;
      letter-spacing: -0.01em;
      text-align: center;
    }

      .sustainability-hero__caption.varde h1 {
            font-size: 40px;
      }
 
    .sustainability-intro {
      padding: clamp(0.5rem, 3vw, 4.5rem) 20px;
      background: #fff;
      
    }
 
    .sustainability-intro__grid {
         display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 4rem;
      row-gap: 0;
      align-items: end;
    }

  .sustainability-intro__left {
      grid-column: 1 / -1;
      margin-bottom: 2rem;
    }


    .sustainability-intro__left h2 {
          font-size: clamp(30px, 5vw, 39px);
      font-weight: 500;
      letter-spacing: -0.005em;
      color: #111;

    }
.sustainability-intro__right {grid-column: 2 / 3;}

 
    .sustainability-intro__right p {
      font-size: clamp(1rem, 1.5vw, 1.25rem);
      letter-spacing: -0.005em;
      color: #111;
}
 
    .sustainability-btn {
      display: inline-block;
      padding: 0.45rem 1.1rem;
      border: 1px solid #111;
      color: #111;
      text-decoration: none;
      font-size: 0.82rem;
      letter-spacing: 0.01em;
      transition: background 0.2s, color 0.2s;
    }
    .sustainability-btn:hover {
      background: #111;
      color: #fff;
    }
 
    .sustainability-benefits {
      padding: clamp(3.5rem, 6vw, 5.5rem) 20px;
      background: #fff;
      border-top: 1px solid #e5e5e5;
    }

       .sustainability-benefits.proj {
      border-top: 0px solid #e5e5e5;
    }
 
    .sustainability-benefits__grid {
      display: grid;
      grid-template-columns: 2fr 3fr;
      gap: 3rem;
      align-items: start;
    }
 
    .sustainability-benefits__left h2 {
      font-weight: 400;
      line-height: 1.3;
      margin-bottom: 0.6rem;
      letter-spacing: -0.01em;
    margin-top: 11px;
    }
 
    .sustainability-benefits__left .sustainability-benefits__tag {
      font-size: 0.72rem;
      color: #888;
      letter-spacing: 0.01em;
    }
 
    .about-benefits__item {
      font-size: 16px;
      max-width: 600px;
    }

     .sustainability-benefits__item {
     padding: 3px;
    }

    .sustainability-benefits__item.proj:last-child {
     border-bottom: 0px solid #e5e5e5;
}
    
    .sustainability-benefits__item:last-child {
      border-bottom: 1px solid #e5e5e5;
    }
 
    .sustainability-benefits__item h3 {
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 0.35rem;
      display: flex;
      align-items: baseline;
      gap: 0.4em;
    }
 
    .sustainability-benefits__item h3 .sustainability-benefits__arrow {
      font-weight: 400;
    }
 
    .sustainability-benefits__item p {
      font-size: 18px;
      line-height: 1.65;
      color: #777;
      max-width: 600px;
    margin-top: 1px;
    }
  .sustainability-hero {
      width: 100%;
      height: 65vh;
      overflow: hidden;
    }
 
    .sustainability-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
      display: block;
    }
 
    .sustainability-policy {
      background: #fff;
      padding: clamp(3rem, 5vw, 5rem) 20px;
    }
 
    .sustainability-policy__grid {
      display: grid;
      grid-template-columns: 2fr 3fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: start;
    }
 
    .sustainability-policy__left h2 {
      font-weight: 500;
      margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }
 
    .sustainability-policy__left .sustainability-policy__sub {
      font-size: 0.75rem;
      color: #999;
      line-height: 1.5;
    }
 
    .sustainability-policy__items {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
 
    .sustainability-policy__item {
      padding: 1.1rem 0;
      border-top: 1px solid #e5e5e5;
    }
 
    .sustainability-policy__item:last-child {
      border-bottom: 1px solid #e5e5e5;
    }
 
    .sustainability-policy__item h3 {
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      display: flex;
      align-items: baseline;
      gap: 0.4em;
    }
 
    .sustainability-policy__item h3 .arrow {
      font-weight: 400;
    }
 
    .sustainability-policy__item p {
      font-size: 0.8rem;
      line-height: 1.65;
      color: #555;
      max-width: 420px;
    }
 
    .sustainability-how {
      background: #b5b5b3;
      padding: clamp(3rem, 6vw, 6rem) 20px;
  align-self: stretch; /* för block-layout */
  width: auto;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
    }

.sustainability-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

 
  .sustainability-how h2 {
    font-weight: 400;
    letter-spacing: -0.01em;
     margin-bottom: clamp(2rem, 4vw, 3.5rem);
    }
 
  .sustainability-how__grid {
    display: grid;
     grid-template-columns: 2fr 3fr;
     gap: clamp(2rem, 5vw, 5rem);
     align-items: start;
    }
 
    .sustainability-accordion {
      border-top: 1px solid rgba(0,0,0,0.2);
    }
 
    .sustainability-accordion__item {
      border-bottom: 1px solid rgba(0,0,0,0.2);
    }
 
    .sustainability-accordion__trigger {
    font-family: var(--wp--preset--font-family--space-grotesk);
      width: 100%;
      background: none;
      border: none;
      padding: 1rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: 18px;
      color: #111;
      text-align: left;
      gap: 1rem;
    }
 
    .sustainability-accordion__trigger:hover {
      opacity: 0.7;
    }
 
    .sustainability-accordion__icon {
      font-size: 1rem;
      line-height: 1;
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }
 
    .sustainability-accordion__trigger[aria-expanded="true"] .sustainability-accordion__icon {
      transform: rotate(180deg);
    }
 
    .sustainability-accordion__body {
      display: none;
      padding: 0 0 1rem;
      font-size: 18px;
      line-height: 1.65;
      color: #333;
      max-width: 500px;
    }
 
    .sustainability-accordion__body.is-open {
      display: block;
    }
 
    .sustainability-cta {
          padding-top: 5rem;
      background: #b5b5b3;

    }
 
    .sustainability-cta a {
      font-size: 17px;
      color: #111;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.4em;
    }
 
    .sustainability-cta a:hover {
      opacity: 0.6;
    }
  .sustainability-cards {
      padding: clamp(2rem, 4vw, 4rem) 20px;
    }
 
    .sustainability-cards__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
    }
 
    .sustainability-card {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/3;
      cursor: pointer;
      text-decoration: none;
    }

    .sustainability-card--static::after {
  display: none;
}

.sustainability-card--static {
  cursor: default;
}

.sustainability-card--static .sustainability-card__img {
  transition: none;
}
 
    .sustainability-card__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity 0.4s ease;
    }
 
    .sustainability-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: #fff;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
 
    .sustainability-card:hover::after {
      opacity: 1;
    }
 
    .sustainability-card__content {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      gap: 0.75rem;
    }
 
    .sustainability-card__label {
      font-size: 0.8rem;
      color: #fff;
      letter-spacing: 0.04em;
      transition: color 0.4s ease;
    }
 
    .sustainability-card__title {
      font-size: clamp(1.2rem, 2.5vw, 2rem);
      font-weight: 400;
      color: #fff;
      line-height: 1.25;
      transition: color 0.4s ease;
      max-width: 320px;
    }
 
    .sustainability-card:hover .sustainability-card__label,
    .sustainability-card:hover .sustainability-card__title {
      color: #111;
    }
 

    .sustainability-sdg {
      padding: clamp(3rem, 6vw, 6rem) 20px;
      text-align: center;
    }
 
    .sustainability-sdg__heading {
      font-weight: 400;
      margin-bottom: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: -0.01em;
    }
 
    .sustainability-sdg__icons {
      display: flex;
      gap: 0.25rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
    }
 
   .sustainability-sdg__icon {
  width: clamp(80px, 12vw, 160px);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s;
  flex-shrink: 0;
  transform: scale(0.78);
  opacity: 0.4;
}

.sustainability-sdg__icon:hover,
.sustainability-sdg__icon.is-active {
  transform: scale(1);
  opacity: 1;
}

    .sustainability-sdg__detail {
      display: none;
      text-align: left;
      max-width: 900px;
      margin: 0 auto;
      padding-top: 1.5rem;
      border-top: 1px solid #e5e5e5;
    }
 
    .sustainability-sdg__detail.is-open {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
 
    .sustainability-sdg__detail-title {
      font-size: 17px;
      font-weight: 500;
      margin-bottom: 0.75rem;
      color: #111;
    }
 
    .sustainability-sdg__detail-text {
      font-size: 14px;
      line-height: 1.7;
      color: #555;
      margin-bottom: 1rem;
    }
 
    .sustainability-sdg__detail-text strong {
      color: #111;
      font-weight: 600;
    }
 
    .sustainability-sdg__readmore {
      font-size: 0.82rem;
      color: #111;
      text-decoration: none;
      border-bottom: 1px solid #111;
      padding-bottom: 1px;
    }
 
    .sustainability-sdg__readmore:hover {
      opacity: 0.6;
    }

 .home-three-col {
    margin: auto;
    padding: clamp(2rem, 4vw, 4rem) 20px clamp(3rem, 5vw, 5rem);
    max-width: 1440px;
    }
 
    .home-three-col__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(1.5rem, 3vw, 2.5rem);
    }
 
    .home-three-col__image {
      width: 100%;
      aspect-ratio: 4/3;
      overflow: hidden;
      margin-bottom: 1rem;
    }
 
    .home-three-col__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
 
    .home-three-col__title {
      font-size: clamp(18px, 1.1vw, 22px);
      font-weight: 500;
      margin-bottom: 0.4rem;
      line-height: 1.3;
    }
 
    .home-three-col__desc {
    font-size: 15px;
    margin-top: 0;
    color: #888;
    }
 .home-slide-text {
    padding: clamp(0rem, 3vw, 5rem) 0 clamp(1rem, 4vw, 3rem);
        width: min-content;
    }
 
    .home-slide-text__inner {
      display: flex;
      align-items: center;
      gap: 0.5em;
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 500;
      letter-spacing: -0.02em;
    }
 
    .home-slide-text__static {
      flex-shrink: 0;
    }
 
    .home-slide-text__swap {
      position: relative;
      height: 1.2em;
      display: inline-block;
    }
 
    .home-slide-text__swap span {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transform: translateY(100%);
      transition: opacity 0.5s ease, transform 0.5s ease;
      white-space: nowrap;
      color: #111;
    }
 
    .home-slide-text__swap span.is-active {
      opacity: 1;
      transform: translateY(0);
    }
 
    .home-slide-text__swap span.is-leaving {
      opacity: 0;
      transform: translateY(-100%);
    }

.contact-group {
padding: 70px 20px 100px 20px;
}

    .project-container {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 var(--px);
    }
 
    .project-intro {
      background: #fff;
      padding: clamp(3rem, 5vw, 5rem) 20px;
    }
 
    .project-intro__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(1rem, 3vw, 8rem);
      align-items: start;
    }
 
    .project-intro__left h2 {
      margin-top: 15px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }
 
    .project-intro__right p {
      font-size: 15px;
      line-height: 1.75;
      color: #333;
    }
 
    .project-stats {
      background: #f4b8a0;
      padding: clamp(3rem, 6vw, 6rem) 20px;
    align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    }
 
    .project-stats__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 6rem);
      align-items: start;
    }
 
    .project-stats__left h3 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      margin-bottom: 0.4rem;
      margin-top: 0px;
    }
 
    .project-stats__left .project-stats__date {
      font-size: 0.75rem;
      color: #5a3a2e;
    }
 
    .project-stats__right {
      display: flex;
      flex-direction: column;
    }
 
    .project-stats__row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.12);
    }
 
    .project-stats__row:first-child {
      border-top: 1px solid rgba(0,0,0,0.12);
    }
 
    .project-stats__label {
      font-size: clamp(0.8rem, 1vw, 0.9rem);
      color: #333;
    }
 
    .project-stats__value {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      color: #111;
    }
 
    .project-stats__footnote {
      margin-top: 1.25rem;
      font-size: 0.72rem;
      line-height: 1.6;
      color: #5a3a2e;
      max-width: 520px;
    }

  .facts-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
    }
 
    .facts-section {
      padding: clamp(3rem, 5vw, 5rem) 20px;
    }
 
    .facts-section__heading {
      font-weight: 500;
      line-height: 1.35;
      letter-spacing: -0.015em;
      margin-bottom: clamp(2.5rem, 5vw, 4rem);
      max-width: 900px;
    }
 
    .facts-section__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 6rem);
      padding-left: clamp(2rem, 10vw, 12rem);
    }
 
    /* Left */
    .facts-section__left h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 0.6rem;
      color: #111;
    }
 
    .facts-section__left p {
      font-size: 15px;
      line-height: 1.7;
      color: #999;
      margin-bottom: 1.75rem;
      word-wrap: break-word;
    }
 
    .facts-section__sources {
      font-size: 0.68rem;
      color: #bbb;
      line-height: 1.6;
    }
 
    /* Right – stat rows */
    .facts-section__stats {
      display: flex;
      flex-direction: column;
    }
 
    .facts-section__stat {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 1rem;
      padding: 0.9rem 0;
      border-bottom: 1px solid #e5e5e5;
    }
 
    .facts-section__stat:first-child {
      border-top: 1px solid #e5e5e5;
    }
 
    .facts-section__stat-number {
      font-size: clamp(1.4rem, 2.2vw, 2rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      line-height: 1;
      color: #111;
    }
 
    .facts-section__stat-text {
      font-size: 15px;
      line-height: 1.5;
      color: #333;
    }


    .pomodoro-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
    }
 

    .pomodoro-section {
      padding: clamp(3rem, 5vw, 5rem) 20px;
    }
 
    .pomodoro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 5vw, 5rem);
      align-items: start;
    }
 

    .pomodoro-left h2 {
      font-size: clamp(1.3rem, 2.2vw, 1.8rem);
      font-weight: 500;
      letter-spacing: -0.015em;
      margin-bottom: 0.4rem;
    }
 
    .pomodoro-left .pomodoro-sub {
      font-size: 0.78rem;
      color: #999;
    }
 
    /* RIGHT */
    .pomodoro-right {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
 
    /* Video wrapper */
    .pomodoro-video {
      position: relative;
      width: 100%;
      aspect-ratio: 16/10;
      background: #111;
      overflow: hidden;
      margin-bottom: 0.5rem;
    }
 
    .pomodoro-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
 

    .pomodoro-video__placeholder {
      width: 100%;
      height: 100%;
      background: #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      color: #999;
    }
 

    .pomodoro-points {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
 
    .pomodoro-point {
      display: flex;
      gap: 0.6em;
      align-items: baseline;
    }
 
    .pomodoro-point .arrow {
      flex-shrink: 0;
      font-size: 0.85rem;
      color: #111;
    }
 
    .pomodoro-point p {
      font-size: 16px;
      color: #333;
    }


.sustainability-how.frovi h2 {
margin-top:0px;
}

    .gallery-section {
      padding: clamp(2rem, 4vw, 4rem) 20px;
    }
 
    .gallery-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
    }
 
    .gallery-row {
      display: grid;
      gap: 25px;
      margin-bottom: 25px;
    }
 
    .gallery-row--three {
      grid-template-columns: repeat(3, 1fr);
    }
 
    .gallery-row--two {
      display: flex;
      justify-content: center;
      gap: 25px;
    }
 
    .gallery-row--two .gallery-item {
      flex: 0 0 calc((100% - var(--gap) * 2) / 3);
    }
 
    /* Each image */
    .gallery-item {
      overflow: hidden;
      aspect-ratio: 4 / 3;
    }
 
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
 
    .gallery-item:hover img {
      transform: scale(1.03);
    }

   .location-section {
      padding-top: clamp(2rem, 4vw, 3.5rem);
align-self: stretch;
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    }
 
    .location-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
    }
 
    .location-heading {
          font-size: clamp(21px, 2.5vw, 32px);
      font-weight: 400;
      text-align: center;
      margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
      color: #111;
    }
 
    .location-image {
      width: 100%;
      display: block;
      height: auto;
    }

    .project-intro__right.averoy p {
padding-bottom: 23px;
}

.local-krets {
  background: #ededed;
  padding: clamp(3rem, 5vw, 5rem) 20px;
align-self: stretch;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.diagram-inner {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.diagram-content h2 {
  font-weight: 500;
  letter-spacing: -0.01em;
  width: 80%;
}

.diagram-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.diagram-content p {
      font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
  margin-bottom: 0.75rem;
}

.text-link {
  font-size: 18px;
  color: #111;
  text-decoration: none;
}


    .overview-section {
      padding: clamp(3rem, 6vw, 6rem) 20px;
    }
 
    .overview-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--px);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(2rem, 6vw, 8rem);
      align-items: start;
    }
 
    /* LEFT */
    .overview-left h2 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      margin-bottom: 0.3rem;
    }
 
    .overview-left .overview-sub {
      font-size: 0.78rem;
      color: #999;
    }
 
    /* RIGHT */
    .overview-right {
      display: flex;
      flex-direction: column;
    }
 
    .overview-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 0.9rem 0;
      border-bottom: 1px solid #e0e0e0;
      gap: 1rem;
    }
 
    .overview-row:first-child {
      border-top: 1px solid #e0e0e0;
    }
 
    .overview-label {
      font-size: clamp(0.8rem, 1vw, 0.9rem);
      color: #333;
      flex-shrink: 0;
    }
 
    .overview-value {
      font-size: clamp(1.2rem, 2.2vw, 1.9rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      text-align: right;
    }
 
    .overview-footnote {
      margin-top: clamp(2.5rem, 5vw, 5rem);
      font-size: 0.78rem;
      line-height: 1.7;
      color: #555;
      max-width: 520px;
    }

      @media (max-width: 1440px) {
.home-projects__grid, .home-intro__grid {
margin: 0 30px;
}
}


@media (max-width: 900px) {


    .sustainability-hero2, .about-bigimage {
    background-attachment: scroll;
  }

        .facts-section__grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        display: block;
      }

      .home-intro__grid,
      .home-cards { grid-template-columns: 1fr; }

      .home-cards {
        padding-bottom: 50px;
      }

      .home-card {
        margin: 20px;
        margin-bottom: 0px;
         aspect-ratio: 3 / 3;
      }

  .projects-page .hero h1 {
    font-size: 46px;
  }

  .projects-page .partnership-card {
    max-width: 100%;
  }
.how-it-works-page .hero-dark h1 {
    font-size: 40px;
  }

  .how-it-works-page .hero-dark p {
    font-size: 22px;
  }

  .how-it-works-page .value-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-it-works-page .accordion-list {
    margin-left: 0;
    max-width: 100%;
  }

      .hero {
        height: 360px;
      }

      .content {
        padding: 20px 20px 90px;
      }

      .intro {
        margin-bottom: 72px;
      }

      .contacts {
        grid-template-columns: 1fr;
        gap: 32px;
      }
        .projects-page {
    padding: 16px;
    padding-top: 100px;
  }

  .projects-page .hero h1 {
    font-size: 34px;
  }

  .projects-page .projects-grid {
    grid-template-columns: 1fr;
  }
}
 @media (max-width: 640px) {

  .diagram-content h2 {
  width: 100%;
}

  .contact-group {
padding: 20px 20px 100px 20px;
}


  .sustainability-cards {
    padding-top: 0px;
  }

.how-it-works-page section {
 padding-top: 30px;
}

.overview-container { grid-template-columns: 1fr; }

.gallery-row--three { grid-template-columns: 1fr; }

.gallery-row--two   { grid-template-columns: 1fr; }

.gallery-row--two .gallery-item:first-child,
.gallery-row--two .gallery-item:last-child {
  grid-column: auto;
  margin: 0;
  }

 .pomodoro-grid { grid-template-columns: 1fr; }


     .project-intro__grid,
     .project-stats__grid { grid-template-columns: 1fr; }
    

    .home-three-col__grid { grid-template-columns: 1fr; }
    

    .sustainability-cards__grid { grid-template-columns: 1fr; }
    .sustainability-sdg__detail.is-open { grid-template-columns: 1fr; gap: 1.5rem; }

    .sustainability-policy__grid,
    .sustainability-how__grid {
       grid-template-columns: 1fr;
   }

  .sustainability-intro__grid {
      grid-template-columns: 1fr;
      display: block;
    }

  .sustainability-benefits__grid { 
    grid-template-columns: 1fr; 
  }

  .home-case { grid-template-columns: 1fr; }
  .home-hero__text h1 { font-size: 1.8rem; }
    
  .home-projects__grid { grid-template-columns: 1fr; }

    .how-it-works-page {
    padding: 12px 12px 0;
  }

  .how-it-works-page .hero-dark {
    padding: 36px 0 36px;
  }

  .how-it-works-page .hero-dark h1 {
    font-size: 32px;
  }

  .how-it-works-page .hero-dark p {
    font-size: 18px;
  }

  .how-it-works-page .diagram-image-wrap {
    margin-top: 0px;
  }

  .how-it-works-page .feature-media {
    max-width: 100%;
  }

  .how-it-works-page .concept-section h2 {
    font-size: 18px;
  }

  .how-it-works-page .faq-section h2 {
    font-size: 28px;
  }

  .how-it-works-page .more-questions h3 {
    font-size: 28px;
  }

.projects-page .hero {
  height: auto;
}

      .hero {
        height: 400px;
      }

      .hero__logo {
        padding: 18px 24px;
        border-width: 3px;
      }

      .intro {
        font-size: 1.8rem;
      }

      .contact-label {
        font-size: 1.5rem;
      }

      .contact-card h3 {
        font-size: 1.35rem;
      }

      .contact-card .role,
      .contact-card a,
      .contact-card p {
        font-size: 1.05rem;
      }

            .challenge-container { grid-template-columns: 1fr; }
      .benefits-grid { grid-template-columns: 1fr; }
      .benefits-left { display: none; }
    }
