 @font-face {
   font-family: 'Roboto';
   src: url('/cpc-web/fonts/Roboto-Regular.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
 }

@font-face {
   font-family: 'Roboto';
   src: url('/cpc-web/fonts/Roboto-Medium.ttf') format('truetype');
   font-weight: 500;
   font-style: normal;
 }

@font-face {
   font-family: 'Roboto';
   src: url('/cpc-web/fonts/Roboto-Bold.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
 }

@font-face {
   font-family: 'Roboto';
   src: url('/cpc-web/fonts/Roboto-Italic.ttf') format('truetype');
   font-weight: 400;
   font-style: italic;
 }

body {
   margin: 0;
   padding: 0;
   background-color: #fff;
   font-family: 'Roboto', Arial, serif;
   color: #666;
 }

/* Hide scrollbar but keep scroll working */
 body {
   overflow: auto;
 }

/* For Chrome, Edge, Safari */
 body::-webkit-scrollbar {
   display: none;
 }

/* For Firefox */
 body {
   scrollbar-width: none; /* hides scrollbar but keeps scroll */
 }

a {
   text-decoration: none;
   color: #FB5564;
 }

a:hover {
   color: #FD7B86;
 }

.wrapper {
   max-width: 960px;
   margin: 0 auto;
   background-color: #fff;
   padding: 20px;
   box-sizing: border-box;
 }

#logo-container {
   width: 100%;
   text-align: center;
   margin-bottom: 3.5rem;

}

#logo {
   width: 100%;
   height: auto;
   object-fit: contain;
   display: block;
 }

.studios-container {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   margin-bottom: 120px;
 }

/* News Section */
 .news-section {
   margin-bottom: 40px;
 }

.label {
   font-size: 1.5rem;
   font-weight: 700;
   margin-bottom: 20px;
   text-align: center;
   line-height: 32px;
   background-color: #FB5564;
   color: #fff;
   height: 32px;
   border-radius: 16px;
 }

.news-container {
   display: flex;
   padding: 10px;
   flex-direction: column;
   gap: 20px;
 }

.news-item {
   border-radius: 0px;
   background-color: #fff;
   padding: 0px;
   margin-bottom: 20px;
   overflow: hidden;
 }

.news-item h3 {
   margin: 0 0 10px 0;
   font-size: 1.2rem;
 }

.news-item img {
   width: 100%;       
   height: auto;      
   display: block;
   border-radius: 12px;
   margin-bottom: 10px;
 }

.news-item .news-text {
   font-size: 1.0rem;
   line-height: 1.4;
 }

.news-content {
   display: flex;
   gap: 20px;
   flex-wrap: wrap;
   align-items: flex-start;
 }

.news-content img {
   max-width: 240px;
   max-height: 160px;
   object-fit: cover;
   border-radius: 12px;
   flex-shrink: 0;
 }

.news-text {
   flex: 1;
 }

.news-text h3 {
   margin-top: 0;
   margin-bottom: 10px;
   font-size: 1.2rem;
 }

.news-text div {
   font-size: 1rem;
   line-height: 1.4;
 }

.news-item {
  margin-bottom: 20px;
}

.news-full {
  margin-top: 10px;
}

.news-preview {
  position: relative;
  padding-bottom: 22px;
}

.news-block {
  position: relative;
  padding-bottom: 32px; 
}

.news-toggle {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  background: none;
  border: none;
  color: #fff;
  background-color: #FD7B86;
  cursor: pointer;
  border-radius: 16px;
  font-weight: bold;
}

.news-text-preview,
.news-text-full {
  white-space: normal;
}

.we-offer-short {
  padding: 0px 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 1rem;
}

.we-offer-layout {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.we-offer-list {
  flex: 1 1 45%;
}

.we-offer-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.we-offer-contact {
  padding: 15px;
}

.we-offer-map {
  background-color: #fb5564; 
  height: 380px;
  border-radius: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: #fb5564;
  background-image: url('img/letter-icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 128px 64px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  height: 92px;
}

.contact-button:hover {
  transform: scale(1.03);
}

.contact-button:active {
  transform: scale(0.98);
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
 }

.partners-container a {
  display: inline-flex;
  padding: 10px;
  align-items: center;
  justify-content: center;
  max-width: 480px; 
  height: auto;
 }

.partners-container img {
  width: 100%;
  height: auto;
  max-height: 196px;
  object-fit: contain;
  transition: transform 0.3s ease;
 }

.partners-container a:hover img {
  transform: scale(1.05);
 }

footer {
   background-color: #f3f3f3;
   padding: 30px 20px;
   text-align: center;
   font-size: 14px;
   color: #777;
   margin-top: 40px;
   border-top: 0px solid #ddd;
 }

.footer-content p {
   margin: 5px 0;
 }

.footer-links {
   margin-top: 10px;
 }

.footer-links a {
   color: #FB5564;
   text-decoration: none;
   margin: 0 10px;
   transition: color 0.3s ease;
 }

.footer-links a:hover {
   color: #FD7B86;
 }

.imprint-overlay {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100px;
  min-width: 100px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 9999;
}

.imprint-overlay.active {
  display: flex;
}

.imprint-overlay > div {
  background: #222;
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
}


@media (max-width: 800px) {
   .news-item {
     flex-direction: column;
   }
   .news-item img {
     width: 100%;
     height: auto;
     border-radius: 16px;
   }
   .studios-container {
     grid-template-columns: repeat(2, 1fr);
   }

  .we-offer-layout {
    flex-direction: column;
  }

  .we-offer-list,
  .we-offer-right {
    flex: 1 1 100%;
  }
}

.studio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  will-change: transform, opacity;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

a.studio-card {
   text-decoration: none;
   color: inherit;
   display: block;
   transition: transform 0.5s ease;
 }

.studio {
   position: relative;
   aspect-ratio: 1 / 1;
   overflow: hidden;
   border-radius: 32px;
   background-color: #f9f9f9;
   transition: transform 0.5s ease;
   transform-origin: center;
 }

.studio img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   transition: opacity 0.5s ease;
   display: block;
 }

.studio .overlay {
   position: absolute;
   inset: 0;
   background-color: #FD7B86;
   font-size: 0.9rem;
   color: #FFF;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   opacity: 0;
   transition: opacity 0.5s ease;
   padding: 10px;
   box-sizing: border-box;
 }

.studio-card:hover img {
   opacity: 0.5;
 }

.studio-card:hover .overlay {
   opacity: 0.9;
 }

 a.studio-card:hover .studio {
   transform: scale(1.03);
}

.studio-title {
   text-align: center;
   margin-top: 10px;
   font-weight: 600;
 }


.tag-filter {
  display: flex;
  flex-wrap: wrap;        
  gap: 10px;           
  justify-content: flex-start; 
  margin-bottom: 20px;
}

.tag-filter button {
  padding: 8px 14px;
  border: solid;
  border-radius: 20px;
  background-color: #fff;
  color: #FD7B86;
  border-width: 2px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
  flex: 1 1 auto;
  max-width: 200px;
}
.tag-filter button.active,
 .tag-filter button:hover {
   border: solid;
   background-color: #FD7B86;
   color: #fff;
   transform: scale(1.00);
   border-width: 2px;
   border-color: #FD7B86;
 }

.tag-info {
  margin: 15px 0 25px 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
}

.we-offer-content {
  flex-direction: column;
 }

