/* === ΓΕΝΙΚΑ === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background: #f3f5f9;
  margin: 0;
  padding: 10px;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: #2d4a32;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: bold;
}

/* === LAYOUT (Πλήρης κάλυψη οθόνης & δυναμική προσαρμογή) === */
.page-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.content {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  width: 100%;
  word-wrap: break-word;
}

.sidebar-left,
.sidebar-right {
  display: none; /* Κρύβονται για να μην περιορίζουν το περιεχόμενο σε κινητά/tablets */
}

/* Για μεγάλες οθόνες PC */
@media (min-width: 1200px) {
  .page-wrapper {
    max-width: 1350px;
    padding: 0 20px;
  }
}

/* === BANNER ΕΓΚΥΚΛΙΩΝ (Global Banner) === */
#global-banner {
  width: 100%;
  margin: 15px 0;
  overflow: hidden;
}

.top-announcement-banner {
  background-color: #e67e22;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.top-announcement-banner a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

/* === ΚΥΛΙΟΜΕΝΟ BANNER (Marquee) === */
.combined-banner {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  padding: 10px;
  margin: 15px 0;
  width: 100%;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 8px 0;
  border-radius: 6px;
  border: 1px solid #eee;
  position: relative;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-run 25s linear infinite;
  padding-left: 100%;
}

.marquee-text a {
  display: inline-block;
  padding: 5px 14px;
  background: #e6f4ea;
  border: 1px solid #c7e7d1;
  border-radius: 20px;
  text-decoration: none;
  color: #2d4a32;
  font-weight: 500;
  margin-right: 25px;
  font-size: 0.9rem;
}

.marquee-text a:hover {
  background: #d4eadc;
}

@keyframes marquee-run {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.marquee-container:hover .marquee-text {
  animation-play-state: paused;
}

/* === HEADER & LOGO === */
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.site-header img {
  width: 80px;
  flex-shrink: 0;
}

/* === COOKIE & TERMS BANNER === */
#cookie-banner,
.terms-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 34, 34, 0.95);
  color: #fff;
  padding: 12px;
  text-align: center;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) {
  #cookie-banner,
  .terms-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 20px;
  }
}

#cookie-banner button,
.terms-banner button {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #e6f4ea;
  color: #2d4a32;
}
#cookie-banner button:hover,
.terms-banner button:hover {
  background: #d4eadc;
}
