/* 

--- 01 TYPOGRAPHY SYSTEM


-- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98


-- Fonts:
DM Sans
Montserrat

// <weight>: Use a value from 100 to 1000
// <uniquifier>: Use a unique and descriptive class name

.dm-sans-<uniquifier> {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


--Font weights: 
Default: 400
500
600
700

--Line heights: 
Default: 1
Small: 1.05
Paragraph default: 1.6

--SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

--- 02 COLORS

Primary: #dbbe2d
Secondary: #b48e2a
Tertiary: #171513

--Tints: #
--Shades:
--Grays:
#555

--- 05 SHADOWS

--- 06 BORDER-RADIUS

Default: 9px;

--- 07 WHITESPACE

*/

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

html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
  overflow-x: hidden;
  background-color: #000000;
}

body {
  overflow-x: hidden;
    padding-top: 13.6rem;  
}

li {
  font-size: 2rem;
  color: rgb(245, 244, 238);
}

.container {
  max-width: 205rem;
  margin: 0 auto;
  /* border-left: 3px solid #b48e2a;
    border-left: 3px solid #b48e2a; */
}

h1 {
  font-family: "DM Sans", sans-serif;
  text-align: center;
  font-size: 4.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 2rem 0 0 0;
  color: #ebc712;
}

h2 {
    font-family: "DM Sans", sans-serif;

}

p {
  font-family: "Montserrat", sans-serif;
  color: rgb(245, 244, 231);
  font-size: 2rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;        /* centers within max-width, no transform */
  width: 100%;
  max-width: 205rem;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.6rem 1.4rem 6rem 1rem;
  background: linear-gradient(-176.2deg, #c89c2e44, black 55%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, #dbbe2d, black 66%) 0.5;
}

/* .sticky .header {
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(-174.3deg, #5543168c, black 44.5%);
  z-index: 999;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, #fcd000, black 64%) 0.5;
  box-shadow: 0 1.4rem 3.6rem rgba(190, 150, 20, 0.1);
  animation: stickyFade 0.36s ease forwards;
}
/* FRONT PAGE: once sticky class is added, make it fixed 
body.sticky .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.sticky .front-banner {
  margin-top: 13.6rem;
}
*/
/* Keyframes for fade and scale-in */
@keyframes stickyFade {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.logo-wrapper {
  display: inline-block;
  position: absolute;
  left: 2rem;
  -webkit-appearance: none; /* Chrome/Safari */
  -moz-appearance: none; /* Firefox */
  appearance: none;
  margin-right: 2rem;
}

.logo {
  left: 0;
  width: 28em;
  height: 8rem;
  margin-top: -3rem;
  margin-left: 1.2rem;
}

.logo2 {
  left: 0;
  width: 20em;
  height: 8rem;
  margin-top: -3rem;
  margin-left: 1.2rem;
}

.main-nav-list {
  list-style: none;
  font-family: "DM Sans", sans-serif;
  display: flex;
  gap: 5rem;
  font-weight: 400;
  align-items: center;
  margin-top: 1.6rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: rgb(240, 238, 218);
  /* text-shadow: 0 0 5px #dffcff, 0 0 10px #dffcff, 0 0 20px #dffcff,
    0 0 25px #dffcff, 0 0 30px #ff0000; */
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.6s;
}
.main-nav-link.active,
.main-nav-link.active:link,
.main-nav-link.active:visited {
  color: #dbbe2d !important;
  font-weight: 500;
}

.main-nav-link:hover,
.dropdown-link:hover {
  color: #dbbe2d;
}

.btn-mobile-nav {
  margin-right: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 6rem;
  width: 6rem;
  color: rgb(218, 218, 218);
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dropdown-arrow {
  display: inline-block;
  position: relative;

  top: -0.2rem;
  margin-left: 0.4rem;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* MENU */

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 140%;
  left: 0;

  min-width: 24rem;

  background-color: rgba(0, 0, 0, 0.95);

  padding: 1.4rem 0 1.4rem 0;
  margin-top: -1rem;
  border-radius: 0.8rem;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(1rem);

  transition: all 0.3s ease;

  z-index: 999;
}

/* LINKS */

.dropdown-link {
  display: block;

  padding: 1rem 2rem;

  color: rgb(240, 238, 218);

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 2rem;

  transition: background 0.3s ease;
  transition: color 0.5s;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* SHOW ON HOVER */

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

/* ROTATE ARROW */

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.front-banner {
  display: flex;
  justify-content: center;
  padding: 12rem 0 10rem 0;
  background:
    linear-gradient(178deg, rgba(238, 193, 31, 0.33) 2%, transparent 12%),
    linear-gradient(158deg, rgba(237, 174, 13, 0.3) 2%, transparent 18%),
    linear-gradient(-2.3deg, rgba(224, 170, 32, 0.28) 1%, transparent 22%),
    linear-gradient(-22deg, rgba(234, 173, 17, 0.22) 1%, transparent 23%);
  border-bottom: 3px solid #b48e2a;
}

.banner-flex {
  display: flex;
  flex-direction: column;
}

.sr-link {
  width: 20rem;
  margin: 0 auto;
  margin-top: 2rem;
  font-size: 2.4rem;
  text-align: center;
  color: #dbbe2d;
}

/* .swiper-border {
  border-top: 3px solid #b48e2a;
} */
.mySwiper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 90rem;
  justify-self: center;
  padding: 0 0 8rem 0;
}

.swiper-slide img {
  width: 100%;
  height: 90rem;
  object-fit: cover;
  opacity: 0.5;

  transition: opacity 1.2s ease;
}
.swiper-slide-prev img,
.swiper-slide-next img {
  opacity: 0.45;
}
.swiper-slide-active img {
  opacity: 1;
}
.mySwiper::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 15rem;
  height: 100%;

  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));

  z-index: 10;

  pointer-events: none;
}
.mySwiper::after {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 15rem;
  height: 100%;

  background: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));

  z-index: 10;

  pointer-events: none;
}

.pre-promo-itv {
  padding-top: 4rem;
  /* background:
    linear-gradient(179.6deg, rgba(218, 180, 41, 0.75) 1%, transparent 20%),
    linear-gradient(-0.6deg, rgba(218, 180, 41, 0.7) 2%, transparent 15%); */
  background: linear-gradient(
    160deg,
    rgba(218, 180, 41, 0.18) 3%,
    transparent 65%
  );
}
.promo-section {
  display: flex;
  justify-content: flex-end;
  background-image: url("../img/karate.JPG");
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 18rem 0 12rem 0;
  margin-left: 4rem;
}

.introbox {
  padding: 4rem 8rem 8rem 8rem;
  width: 50%;
  background-color: rgba(23, 21, 19, 0.9);
  margin-right: 6rem;
}

.intro-title {
  text-align: left;
  font-size: 4rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.3rem 0 0 #844b06,
    0 -0.2rem 0 #43300c,
    0 -0.3rem 0 #362b11;
}

.intro-text {
  line-height: 1.5;
  margin-bottom: 2rem;
}

.service-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 2rem;

  margin-top: 4rem;
}
.service-btn:link,
.tuotanto-btn:link,
.service-btn:visited,
.tuotanto-btn:visited,
.read-btn:link,
.read-btn:visited {
  display: inline-block;

  padding: 1.4rem 2.8rem;

  border: 2px solid #b48e2a;

  color: rgb(240, 238, 218);

  text-decoration: none;

  font-family: "DM Sans", sans-serif;

  font-size: 2rem;
  font-weight: 500;

  letter-spacing: 0.05rem;

  transition:
    background-color 0.5s ease,
    color 0.3s ease,
    transform 0.3s ease,
    border 0.3s ease,
    font-weight 0.3s ease,
    font-size 0.3s ease;
}
.service-btn:hover,
.tuotanto-btn:hover,
.service-btn:active,
.tuotanto-btn:active,
.read-btn:hover,
.read-btn:active {
  background-color: #b48e2a;
  border-top: 2px solid #ebc712;
  border-bottom: 3px solid #7d621e;
  font-weight: 700;
  color: black;
  transform: translateY(-2px);
}

.news-section {
  padding: 4rem 0 6rem 0;
  background:
    linear-gradient(12deg, rgba(231, 189, 38, 0.5) 0%, transparent 13%),
    linear-gradient(-125deg, rgba(210, 174, 41, 0.15) 3%, transparent 42%);
}

.news-flex {
  display: flex;
  justify-content: center;
  gap: 4rem;
}
.news-flex2 {
  display: flex;
  justify-content: center;
  gap: 6rem;
  padding: 0 0 10rem 0;
}

.nb-img {
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: center;
}

.news-box {
  margin-top: 4rem;
  background-color: #171513;
  max-width: 29%;
}

.news-subtitle {
  font-size: 3rem;
  text-align: left;
  color: #ebc712;
  letter-spacing: 0.6px;
  margin-top: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
  text-decoration: none;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #844b06,
    0 0.2rem 0 #43300c,
    0 -0.3rem 0 #362b11;
}

.news-link {
  text-decoration: none;
}

.news-date {
  padding: 2rem 2rem 0 2rem;
  color: rgb(244, 238, 213);
}

.article-date {
  padding: 2rem 2rem 0 0;

}

.news-descr {
  padding: 2rem;
  line-height: 1.5;
  color: rgb(196, 190, 161);
}

.tuotanto-btn {
  background-color: #0f0f0b;
}

.prod-button {
  display: flex;
  margin-top: 4rem;
  justify-content: center;
  text-align: center;
}

.tuotanto-section {
  padding: 4rem 0 10em 0;
  background:
    linear-gradient(-187deg, rgba(222, 182, 39, 0.56) 0%, transparent 15%),
    linear-gradient(-32deg, rgba(190, 159, 47, 0.14) 4%, transparent 62%);
}

.tuotanto-title,
.news-title,
.palvelut-title,
.videoprod-title,
.podcast-title,
.esit-title {
  font-size: 3.4rem;
  margin-bottom: 2rem;
  color: #ebc712;
  font-weight: 400;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #844b06,
    0 0.2rem 0 #43300c,
    0 -0.2rem 0 #362b11;
}

.prod-box {
  display: flex;
  gap: 3rem;
  margin-top: 6rem;
  justify-content: center;
  padding: 0 4rem;
}

.production {
  width: auto;
  height: auto;
}
.production p {
  color: black;
  font-size: 2.4rem;
}

.yhteys-section {
  padding: 4rem 0 0 0;
  background:
    linear-gradient(-120deg, rgba(210, 174, 41, 0.13) 4%, transparent 65%),
    linear-gradient(0.65deg, rgba(255, 203, 16, 0.65) 0.32%, transparent 1%);
}

.yhteydenottolomake {
  background-color: #171513;
  margin-right: 4rem;
}

.yhteys-title {
  font-size: 3.8rem;
  margin-top: 4rem;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #835c18,
    0 0.2rem 0 #43300c,
    0 -0.2rem 0 #514933;
}

.lomake-flex {
  display: flex;
  justify-content: space-between;
}
.contact {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem 6rem 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

label {
  margin-bottom: 1rem;
  font-size: 2.2rem;
  font-weight: bold;
  color: #ebc712;
  letter-spacing: 0.5px;
}

input,
textarea {
  padding: 1rem 1.4rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  font-size: 2rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #000; /* match your brand colour */
}

textarea {
  resize: vertical;
}

.required {
  color: rgb(245, 245, 245);
  font-size: 2.2rem;
}
/* .optional {
  font-weight: normal;
  font-size: 2rem;
  color: #888;
} */
button[type="submit"] {
  display: block;
  margin-left: auto;
  padding: 1.4rem 2.8rem;
  border: 2px solid #b48e2a;
  background: none;
  color: rgb(240, 238, 218);
  font-family: "DM Sans", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
  cursor: pointer;
  transition:
    background-color 0.5s ease,
    color 0.3s ease,
    transform 0.3s ease,
    border 0.3s ease,
    font-weight 0.3s ease,
    font-size 0.3s ease;
}

button[type="submit"]:hover,
button[type="submit"]:active {
  background-color: #b48e2a;
  border-top: 2px solid #ebc712;
  border-bottom: 3px solid #7d621e;
  font-weight: 700;
  color: black;
  transform: translateY(-2px);
}

.yhteys-descr {
  margin-top: 4rem;
  margin-bottom: 6rem;
  text-align: center;
  padding: 0 12rem;
  line-height: 1.5;
}

.showreel {
  width: 100%;
  padding: 6rem 2rem 0 2rem;
  scroll-margin-top: 8rem;
  background: #00000000;
  text-align: center;
}

.showreel video {
  width: 100%;
  max-width: 150rem;
  height: auto;
}

.final-img {
  display: flex;
  margin: 0 auto;
  padding: 6rem;
}

/* FOOTER */

footer {
  border-top: 3px solid #dbbe2d;

  background: linear-gradient(170deg, #1a1409, black 80%);
  padding: 12rem 0 0 0;
}

.footlogo-wrapper {
  margin-top: 5.2rem;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 14rem;
  margin-bottom: 14rem;
  margin-top: 2rem;
}

.firma-contact,
.tarjous-contact {
  text-align: left;
  font-size: 2.4rem;
  margin-bottom: 1.4rem;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #835c18,
    0 0.2rem 0 #43300c,
    0 -0.1rem 0 #514933;
}

.cont-txt {
  color: #f7f4ee;
  margin-top: 1rem;
}

.tarj-txt {
  color: rgb(244, 238, 213);
}

.footer-bottom {
  border-top: 3px solid #b48e2a;
  text-align: center;
  align-items: center;
  margin: 0 auto;
  padding-bottom: 2rem;

  background-color: #b48e2a;
}
.copyright {
  color: #000000;
  margin-top: 2rem;

  font-size: 1.8rem;
  opacity: 0.9;
  font-weight: 500;
}

.content {
  padding: 20rem 0 0 0;
}

/* TUOTANNOT */

.prod-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.prod-flex > div:nth-child(2) {
  min-width: 0;
}
.prod-img {
  max-height: 72rem;
  width: auto;
}

.gprod-img {
  width: 100%;
  max-width: 58rem;
  height: auto;
  display: block;
  margin: 0 auto;
}

.prod-title {
  position: relative;
  text-align: center;
  font-size: 3.4rem;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.3rem 0 0 #835c18,
    0 0.2rem 0 #43300c,
    0 -0.3rem 0 #514933;
}

/* GALLERY */

.gallery-section {
  background:
    linear-gradient(-0.23deg, rgba(223, 179, 19, 0.66) 0.1%, transparent 2.3%),
    linear-gradient(176.8deg, rgba(255, 200, 0, 0.75) 0.8%, transparent 5.3%);
}

.gallery-title {
  font-size: 3.4rem;
  position: relative;
  text-align: center;
  font-weight: 300;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.3rem 0 0 #844b06,
    0 0.2rem 0 #43300c,
    0 -0.3rem 0 #362b11;
}
/* 624b11 */
.gallerySwiper {
  width: 100%;
  max-width: 132rem;

  overflow: hidden;
  margin-bottom: 0rem;
}

.gallery-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 2rem;
  padding: 0 1.6rem 4.8rem 1.6rem;
}

.gal-swiper-slide img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}

.gallery-img {
  display: block;
  width: 100%;
  height: 22rem;

  object-fit: cover;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.gallery-img:hover {
  transform: scale(1.03);

  opacity: 0.9;
}

.swiper-button-next,
.swiper-button-prev {
  color: #d4b020 !important;

  top: 50%;

  transform: translateY(-18%);

  width: 3rem !important;
  height: 3rem !important;
  z-index: 100;
}

.swiper-button-prev {
  left: -0.72rem !important;
}

.swiper-button-next {
  right: -0.72rem !important;
}

.swiper-pagination {
  bottom: 1.5rem !important;
}
.swiper-pagination-bullet {
  background: #b48e2a !important;

  opacity: 0.7 !important;
}
.swiper-pagination-bullet-active {
  background: #fcd000 !important;

  opacity: 1 !important;
}
.lightbox {
  position: fixed;

  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;

  object-fit: contain;
}

.lightbox-close {
  position: absolute;

  top: 3rem;
  right: 3rem;

  background: none;
  border: none;

  color: white;

  font-size: 4rem;

  cursor: pointer;
}
.lightbox-content {
  display: flex;

  flex-direction: column;

  align-items: center;

  max-width: 90%;
}
.lightbox-caption {
  margin-top: 2rem;

  color: #d8d8d8;

  font-family: "Montserrat", sans-serif;

  font-size: 1.8rem;

  line-height: 1.5;

  text-align: center;

  max-width: 80rem;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: none;
  border: none;

  color: #dbbe2d;

  font-size: 5.6rem;

  cursor: pointer;

  z-index: 10000;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.lightbox-prev {
  left: 6rem;
}

.lightbox-next {
  right: 6rem;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.8;

  transform: translateY(-50%) scale(1.08);
}

/* NEWS */

.newst2 {
  font-size: 3.2rem;
  padding: 2rem 0 0 0;
}

.descr-box {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 6rem 18rem 6rem 24rem;
}

.genre-box {
  padding: 0 0 8rem 0;
  margin-top: -10rem;
}

.descr-imb-box {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.news-box.nb2 {
  max-width: 44rem;
  object-fit: cover;
}
.news-box.nb2 .nb-img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}
.descr-img {
  max-width: 90rem;
  height: 45rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 70rem 1fr; /* left column fixed, right takes remaining space */
  gap: 6rem;
  padding: 0 0 6rem 0;
  /* background: linear-gradient(-65deg, #78602344, black 45%); */
}
.card-image {
  width: 70rem;
  height: 70rem;
  object-fit: cover;
  grid-row: 1; /* stays in row 1 */
  grid-column: 1; /* stays in column 1 */
}

.card-title-box {
  grid-row: 1; /* same row as image */
  grid-column: 2; /* second column */
  font-size: 4.8rem;
  margin-top: 6rem;
}

.card-title {
  font-size: 7.2rem;
  color: #f5f4ee;
  text-align: left;
  margin-top: 2rem;
  margin-left: 2rem;
}

.card-description {
  font-size: 2.4rem;
  padding: 2rem 4rem;
}

.card-coverage {
  grid-column: 1 / -1;
  padding: 8rem 22rem;
}

.coverage-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  padding: 4rem;
  margin-left: 2rem;
}

.coverage-title {
  color: #f5da51;
  margin-left: 6rem;
  font-size: 2.4rem;
}
.article-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 20rem;
}

.article-item img {
  width: 100%;
  height: 22rem;
  object-fit: cover top;
  border-radius: 0.6rem;
}

.article-subtitle {
  font-size: 2.4rem;
}

.read-btn {
  padding: 1.2rem 1rem !important;
  text-align: center;
}

/* .more-news {
  background: linear-gradient(-130deg, #78602344, black 53%);
} */

/* PALVELUT */

.palvelut-section {
  padding: 2rem 0 0 0;
  background:
    linear-gradient(178deg, rgba(238, 193, 31, 0.33) 1%, transparent 7.4%),
    linear-gradient(158deg, rgba(237, 174, 13, 0.3) 1%, transparent 13.4%),
    linear-gradient(-2.3deg, rgba(224, 170, 32, 0.28) 1%, transparent 7%),
    linear-gradient(-30deg, rgba(234, 173, 17, 0.18) 0.5%, transparent 8%);
}

.palvelut-grid {
  display: grid;
  grid-template-columns: repeat(2, 52rem);
  max-width: calc(52rem * 2 + 3rem);
  margin: 0 auto;

  gap: 3rem;
  padding: 4rem 4rem 8rem 0;
}
.palvelut-box {
  width: 52rem;
  height: 54rem;
  background-color: #171513;
  text-decoration: none;
  border-radius: 1rem;
}

.palv-lomake {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.serv-title {
  font-size: 3.2rem;
  text-align: left;
  margin-left: 3rem;
  text-decoration: none;
  color: #ebc712;
}

.servimg-wrapper {
  position: relative;
  display: inline-block; /* or block, depending on your layout */
}

.servimg-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* how far up the fade reaches */
  background: linear-gradient(
    to bottom,
    transparent,
    #171513
  ); /* replace #000 with your colour */
}

.serv-img {
  width: 100%;
}
.serv-descr {
  padding: 2rem 4rem 2rem 3rem;
  line-height: 1.5;
}

/* Palv, videotuotanto */
.videoprod-flex {
  display: flex;
  align-items: center;
  background: linear-gradient(
    155deg,
    rgba(210, 174, 41, 0.15) 2%,
    transparent 40%
  );
}
.videoesit-flex {
  display: flex;
  align-items: center;
  background: linear-gradient(
    155deg,
    rgba(210, 174, 41, 0.15) 2%,
    transparent 40%
  );
}

.videoprod-title {
  padding: 8rem 4rem 1rem 4rem;
}

.videoprod-descr {
  line-height: 1.5;
  padding: 1rem 4rem;
}

.videoprod-img {
  min-width: 44%;
  height: auto;
}

.production-process {
  padding: 6rem 4rem;
  background: #111;
  color: #fff;
  margin-top: 6rem;
}

.vpsection-header {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 4rem;
}

.vpsection-header h2 {
  color: #ebc712;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vpsection-header p {
  opacity: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step h3 {
  color: #ebc712;
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.process-step p {
  font-size: 1.8rem;
  line-height: 1.5;
  opacity: 0.8;
}

.yhteys-flex {
  margin-top: 6rem;
  display: flex;
  background: linear-gradient(
    -27deg,
    rgba(174, 147, 47, 0.17) 3%,
    transparent 42%
  );
}
.yhteys-flex > div:first-child {
  flex: 1;
}

.lomake-fill {
  flex: 2;
}

.moobs-img {
  width: 100%;
  height: auto;
}

/* Palv, esittelyvideot */

.esittely-section {
  background: linear-gradient(
    -155deg,
    rgba(210, 174, 41, 0.13) 2%,
    transparent 30%
  );
}
.presentation-types,
.presentation-process {
  padding: 6rem 4rem;
}

.presentation-result {
  padding: 6rem 12rem;
}

.esitsection-heading {
  color: #ebc712;
  font-size: 1.6rem;
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 4rem;
}

.esitsection-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.esitsection-heading p {
  font-size: 2rem;
  line-height: 1.6;
}

.esitprocess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.presentation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.presentation-card h3 {
  margin-bottom: 0.75rem;
}

.presentation-card p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* PROCESS */

.presentation-process {
  background: #111;
  color: #fff;
}

.process-card {
  text-align: center;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 5rem;
  height: 5rem;

  margin-bottom: 1.5rem;

  border-radius: 50%;
  background: #ebc712;

  color: #111;
  font-weight: 700;
  font-size: 1.8rem;
}

.process-card h3 {
  color: #dbbe2d;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.process-card p {
  opacity: 0.9;
  line-height: 1.6;
}

/* RESULT */

.result-box h3 {
  color: #dbbe2d;
  margin-bottom: 1.4rem;
  font-size: 2.6rem;
}

.result-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.result-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 2.2rem;
}

.result-box {
  padding: 2rem 4rem;
  background: #171513;
  border-radius: 1.5rem;
}

.result-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.result-box li {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.form-tempgrad {
  background: linear-gradient(
    11deg,
    rgba(188, 156, 38, 0.136) 4%,
    transparent 60%
  );
}
.form-tempgrad2 {
  background: linear-gradient(
    -11deg,
    rgba(188, 156, 38, 0.136) 4%,
    transparent 60%
  );
}
.esit-title {
  padding: 4rem 4rem 2rem 0;
}

/* Palv, podcast */

.podcast-title {
  padding: 4rem 4rem 1rem 0;
}
.podcast-descr {
  line-height: 1.5;
  padding: 2rem 8rem;
}

.podcast-img {
  max-width: 70rem;
}

/* YHTEYS */

.yhteys-page {
  background:
    linear-gradient(-200deg, rgba(210, 174, 41, 0.13) 4%, transparent 65%),
    linear-gradient(0.65deg, rgba(255, 203, 16, 0.65) 0.32%, transparent 1%);
}

.yht-title {
  font-size: 3.4rem;
  margin-bottom: 4rem;
  margin-top: 2rem;
  color: #ebc712;
  font-weight: 400;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #835c18,
    0 0.2rem 0 #43300c,
    0 -0.2rem 0 #514933;
}
.image-stack {
  position: relative;
  display: block;
  width: 180rem;     
  max-width: 90%;      
  margin-left: auto;   
  margin-right: 0;
}

.image-bg {
  position: relative;
  display: block;
  width: 100%;         
  height: auto;       
  margin-left: 0;     
}

.polaroid {
  position: absolute;
  top: 40%; 
  left: 25%;
  transform: translate(-50%, -50%) rotate(-9deg); 
  width: 30%;
  background: #fff;
  padding: 1rem 1rem 3rem 1rem; 
  box-shadow: 2px 0.4rem 1.2rem rgba(0, 0, 0, 0.4);
}

.polaroid img {
  width: 100%;
  display: block;
}

.polaroid-text {
  position: absolute;
  bottom: 7.6%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.polaroid-text p {
    font-weight: bold;
  margin: 0;
  font-size: clamp(0.6rem, 1.3vw, 2rem);
  color: #333;
}

.yd2 {
  padding: 0 20rem;
}
/* .cont2-txt {
} */

/* Articles */

.article-main {
  padding: 6rem 2rem;
}

.article-container {
  max-width: 160rem;
  margin: 0 auto;
}

.article-header {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}
/*
.article-cover {
  width: 50%;
  max-height: 55rem;
  border-radius: 0.8rem;
  flex-shrink: 0;
}*/

.article-cover {
  max-width: 50%;
  max-height: 55rem;
  width: auto;
  height: auto;
  border-radius: 0.8rem;
  flex-shrink: 0;
}

.article-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.article-title {
  font-family: "DM Sans", sans-serif;
  font-size: 5.6rem;
  color: #dbbe2d;
  font-weight: 500;
  text-align: left;
  margin-bottom: 1.5rem;
}

.article-body {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1.6;
  color: rgb(245, 244, 231);
  margin-bottom: 2rem;
    margin-right: 4rem;

}

.article-side {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.article-side .article-images {
  flex: 0 0 40%;
}

.article-side .article-images img {
  width: 100%;
  max-width: 60rem;
  max-height: 40rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.article-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-images img {
  width: calc(50% - 0.75rem);
  max-height: 30rem;
  object-fit: cover;
  border-radius: 0.6rem;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-left: 2rem;
  margin-top: 6rem;
}

.article-links h3 {
  width: 100%;
  color: #dbbe2d;
  font-size: 2.4rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  margin-bottom: 0;
}

.article-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16rem;
  background: #1a1a1a;
  padding: 0.8rem;
  border-radius: 0.6rem;
  text-decoration: none;
  border: 1px solid #333;
  transition: border-color 0.3s;
}

.article-link-card:hover {
  border-color: #dbbe2d;
}

.article-link-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.4rem;
  margin-bottom: 0.8rem;
}

.article-link-card span {
  font-size: 1.4rem;
  color: #dbbe2d;
  text-align: center;
  word-break: break-word;
  font-family: "DM Sans", sans-serif;
}

.back-link {
  display: inline-block;
  color: #dbbe2d;
  font-size: 1.6rem;
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  margin-top: 2rem;
    margin-left: 2rem;

}

.back-link:hover {
  text-decoration: underline;
}

.news-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  padding: 2rem 6rem 6rem 6rem;
  max-width: 180rem;
  margin: 0 auto;
}

.news-grid-full .news-box {
  max-width: 100%;
  margin-top: 2rem;
}

.btn-gallery {
  margin-left: 4rem;
  margin-top: 2rem;
}

.education-hero {
  padding: 8rem 0 6rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.12), transparent);
}

.education-hero h1 {
  font-size: 3.4rem;
  margin-bottom: 2rem;
  color: #ebc712;
  font-weight: 400;
  text-shadow:
    0.1rem 0 0 #302303,
    -0.2rem 0 0 #835c18,
    0 0.2rem 0 #43300c,
    0 -0.2rem 0 #514933;
}

.education-hero p {
  max-width: 70rem;
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.8;
}

.education-intro,
.education-topics {
  padding: 6rem 0;
}

.education-format {
  padding: 2rem 0 6rem 0;
}

.intro-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 8rem 0 6rem;
}

.eduintro-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.intro-highlight {
  text-align: center;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #111;
  color: white;
    width: 35rem;
  margin-left: 10rem;
}

.intro-highlight span {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  color: #f4b400;
}

.intro-highlight p {
  margin-top: 1rem;
}

.edusection-heading,
.edfsection-heading {
  text-align: center;
  padding: 4rem 6rem;
}

.edusection-heading h2,
.edfsection-heading h2 {
  font-size: 2rem;
  color: #dbbe2d;
  margin-bottom: 0.4rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  padding: 0 4rem;
}

.topic-card,
.presentation-card {
  font-size: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #171513;
  color: #dbbe2d;
  transition: transform 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
}

.topic-card h3 {
  margin-bottom: 1rem;
}

.topic-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.topic-card li {
  margin-bottom: 0.7rem;
}

.education-format {
  background: #171513;
}
.format-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.format-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #403f3f;
  border-radius: 16px;
}

.format-card img {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}

.format-card h3 {
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  color: #dbbe2d;
  margin-bottom: 0.4rem;
}

.format-card p {
  margin: 0;
}

.ionicon {
  color: rgb(240, 240, 240);
  font-size: 4rem;
}

.education-cta {
  color: #dbbe2d;
  font-size: 1.6rem;
  text-align: center;
  padding: 8rem 0 0 0;
}

.education-cta h2 {
  margin-bottom: 1rem;
}

.education-cta p {
  max-width: 65rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
