/* TechTeamService – κοινό CSS όλων των σελίδων (εκτός από το θέμα site.css).
   Σειρά φόρτωσης: site.css -> extras.css -> pages/<σελίδα>.css */

*, *::before, *::after {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.zoom {
  transition: transform .4s;
}

.zoom:hover {
  transform: scale(1.4);
  text-align: center;
  float: center;
  transition: .3s;
  font-size: 32px;
}

.zoom1 {
  width: 100%;
  text-align: center;
  transition: transform .4s;
  transition: text-align .4s;
  transition: position .4s;
  z-index: 1;
  cursor: zoom-in;
  transition: .2s;
}

.zoom1:active {
  position: relative;
  text-align: center;
  transform: scale(2);
  transition: .6s;
  transition-delay: .2s;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery .thumb {
  width: calc(25% - 6px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

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

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.overlay[aria-hidden="false"] {
  display: flex !important;
  background: rgba(0,0,0,0.9) !important;
}

.slideshow {
  position: relative;
  width: 90vw;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 0 !important;
}

.slideshow .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.slideshow .prev {
  left: 8px;
}

.slideshow .next {
  right: 8px;
}

.slideshow .close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.slideshow .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

.card {
  background: #ebebeb80;
  color: #333;
  padding: 10px 0px;
  border-radius: 8px;
  border-top: 6px solid #ffbd00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

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

.card h3 {
  color: #1a5f7a;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card ul {
  padding: 0;
  list-style: none;
  display: inline-block;
  text-align: left;
}

.card li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  font-weight: 500;
}

.card li::before {
  content: "•";
  font-family: "";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ffbd00;
  font-size: 25px;
}

.markes1 {
  background-color: #ffbd00;
  color: #393939;
  padding: 6px;
  width: 210px;
  border: none;
  text-align: center;
  outline: none;
  font-size: 95%;
  border-radius: 20px;
}

.markes1:hover {
  background-color: #858585;
  color: #e6e6e6;
  width: 215px;
  padding: 7px;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  transition: 0.2s;
}

.gallery .thumb h3, .gallery .thumb h4 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 10px;
  background: rgba(0,0,0,0.55);
}

.gallery .thumb h3 a, .gallery .thumb h4 a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

body {
  background-color: #e6e6e6 !important;
  background-image: url(//55b558c7-resources.websitestool.com/df4de8db6263494c1b5473fe7cf71307/templates/proskip/images/bg-texture.png) !important;
  background-repeat: repeat !important;
  background-position: top left !important;
}

.blog-post-content p img {
  cursor: pointer;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.blog-post-content p img:hover {
  transform: scale(1.02);
}

.markes-strip-wrap {
  position: relative;
  border-bottom: 2px solid #ffbd00;
}

.markes-strip {
  background: transparent;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.markes-strip::-webkit-scrollbar {
  display: none;
}

.markes-strip__label {
  color: #888780;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.markes-strip a {
  color: #b8860b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.markes-strip a:hover {
  text-decoration: underline;
}

.markes-strip .sep {
  color: #ddd8c9;
  flex-shrink: 0;
}

.markes-strip__fade {
  display: none;
}

@keyframes markesNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media only screen and (max-width: 769px) {
  .gallery .thumb {
    width: calc(50% - 4px);
  }
}

@media only screen and (max-width: 480px) {
  .gallery .thumb {
    width: 100%;
  }

  .slideshow {
    width: 100vw;
    height: 100vh;
  }

  .slideshow .btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .slideshow .prev {
    left: 4px;
  }

  .slideshow .next {
    right: 4px;
  }

  .slideshow .close {
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.4);
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }

  .slideshow .caption {
    font-size: 13px;
    padding: 20px 12px 12px;
  }
}

@media only screen and (max-width: 640px) {
  .markes-strip__fade {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 2px;
    width: 56px;
    background: linear-gradient(to right, rgba(241,239,228,0), rgba(241,239,228,0.95) 60%);
    pointer-events: none;
  }

  .markes-strip__arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    margin-right: 6px;
    animation: markesNudge 1.4s ease-in-out infinite;
  }
}
