* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  padding: 40px 20px;
}

/* Row / grid */
.cardo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  gap: 20px;
}

/* Card */
.cardo {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 480px;
  max-width: 720px;
  height: 250px;
}

/* Image */
.cardo-image {
  flex: 0 0 340px;
  height: 100%;
  overflow: hidden;
}

.cardo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cardo-image:hover img {
  transform: scale(1.1);
}

/* Content */
.cardo-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cardo h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.cardo p {
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
   padding: 20px;
}

/* CTA */
.cardo-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 12px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cardo-cta:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1280px) {
  .cardo {
    flex: 1 1 calc(50% - 20px);
    min-width: 0;
    max-width: 360px;
    flex-direction: column;
    height: auto;
  }

  .cardo-image {
    width: 100%;
    height: 200px;
  }

  
}

/* Mobile */
@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  .cardo-row {
    gap: 15px;
  }

  .cardo {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cardo-image {
    height: 180px;
  }

  .cardo-content {
    padding: 15px;
  }

  .cardo h2 {
    font-size: 18px;
  }

  .cardo p {
    font-size: 14px;
  }

  .cardo-cta {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 15px;
  }
}


/*ting jeg har lagt til selv*/

/*kort*/
.kortoverskrift{
    font-family: 'Product Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    width: 320px;
    text-align: left;
}
/* Mobile */
@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }
  .kortoverskrift{
    font-family: 'Product Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    width: 220px;
    text-align: left;
  }
}


/*card double*/


.containtork {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
 /*background-color: aqua; */
}
.intervjuleftus {
  width: 50%;
  height: 600px;
  background: url(https://reise.nyttig.no/bilder/intervju/intervju_kund3.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}
.calabrileftus {
  width: 50%;
  height: 300px;
  background: url(https://reise.nyttig.no/bilder/calabriabilder/prokarusell1_500x350.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}
.guideleftus {
  width: 50%;
  height: 600px;
  background: url(https://reise.nyttig.no/bilder/japanbilder/guide_japan.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}
.rightus {
  width: 50%;
  min-height: 500px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 6px;
  color: rgb(255, 255, 255);
  margin-left: -20px;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 15px 0 rgba(0,0,0,0.12);
}
.calabrirightus {
  width: 50%;
  min-height: 200px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 6px;
  color: rgb(255, 255, 255);
  margin-left: -20px;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 15px 0 rgba(0,0,0,0.12);
}
.rightusforink {
  width: 50%;
  min-height: 500px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 0px;
  color: rgb(255, 255, 255);
  margin-left: -20px;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 15px 0 rgba(0,0,0,0.12);
}
.rightus h1 {
  font-size: 40px;
  font-weight: lighter;
}
.rightus p {
  margin: 40px 0;
  font-weight: 300;
  line-height: 40px;
}

@media only screen and (max-width: 768px) {
  .containtork {
    flex-direction: column;
    width: 90%;
    margin: 0 20px;
  }
  .leftus {
    width: 100%;
    height: 400px;
  }
  .rightus {
  width: 90%;
  min-height: 200px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 6px;
  color: rgb(255, 255, 255);
  margin-left: -20px;
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 15px 0 rgba(0,0,0,0.12);
  margin-top: -100px;
  font-size: 20px;
  font-weight: 200;
}
    .calabrirightus {
    width: 90%;
    margin: 0;
    margin-top: -100px;
  }
  .rightusforink {
    width: 90%;
    margin: 0;
    margin-top: -100px;
  }
  .rightus p {
  margin: 20px 20px;
  font-weight: 50;
  line-height: 30px;
    font-size: 20px;
}
.intervjuleftus {
  width: 100%;
  height: 300px;
  background: url(https://reise.nyttig.no/bilder/intervju/intervju_kund4.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}
.calabrileftus {
  width: 100%;
  height: 300px;
  background: url(https://reise.nyttig.no/bilder/calabriabilder/prokarusell1_500x350.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}
.guideleftus {
  width: 100%;
  height: 300px;
  background: url(https://reise.nyttig.no/bilder/japanbilder/guide_japan.jpg)
    no-repeat center / cover;
  border-radius: 8px;
}

}

/*tags*/
.goll,.hover-goll:hover{color:#082b77!important;background-color:#ffc811!important}/*nyttiggul*/

.display-topleftcard{
    position:absolute;

    font-family: "Product Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 100;
    width: 220px;
    text-align: center;
    left:0;
    top: 10px;
}
.display-bottomrightcard{
    position:absolute;
    font-family: "Arial", sans-serif;
    font-size: 20px;
    font-weight: 700;
    width: 220px;
    text-align: center;
    right:0;
    bottom: 0;
}
