/* Βελτίωση εμφάνισης πίνακα στο κινητό */
@media (max-width: 767px) {
  #frm_form_8_container table {
    table-layout: fixed !important;
    width: 104% !important;
  }

  #frm_form_8_container table th,
  #frm_form_8_container table td {
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 12px !important;
    padding: 4px !important;
  }

  /* Μείωση πλάτους στηλών */
  #frm_form_8_container table th:nth-child(1),
  #frm_form_8_container table td:nth-child(1) {
    width: 60px !important; /* ΕΠΙΛΟΓΗ */
  }
  #frm_form_8_container table th:nth-child(2),
  #frm_form_8_container table td:nth-child(2) {
    width: 32px !important; /* Α/Α */
  }
  #frm_form_8_container table th:nth-child(3),
  #frm_form_8_container table td:nth-child(3) {
    width: 100px !important; /* ΟΝΟΜΑ */
  }
  #frm_form_8_container table th:nth-child(4),
  #frm_form_8_container table td:nth-child(4) {
    width: 65px !important; /* ΧΩΡΑ */
  }
  #frm_form_8_container table th:nth-child(5),
  #frm_form_8_container table td:nth-child(5) {
    width: 50px !important; /* ΤΙΜΗ */
  }
}
/* Στήλες ΟΝΟΜΑ και ΧΩΡΑ σε μικρά γράμματα */
table td:nth-child(3),
table td:nth-child(4) {
    font-size: 12px !important;
    white-space: nowrap !important;
    your-class-selector {
    text-transform: capitalize;
 !important;
}
.main-header-bar {
    margin-bottom: 0;
}
/* Κουμπί Επικοινωνίας στο footer (δεξιά) */
.site-footer .footer-contact-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:8px;
  background:#8A063D;      /* μωβ του brand */
  color:#fff;
  text-decoration:none;
  font-weight:700;
  line-height:1;
  border:2px solid transparent;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.site-footer .footer-contact-btn:hover,
.site-footer .footer-contact-btn:focus{
  background:#FF0033;      /* κόκκινο hover */
  border-color:#FF0033;
  transform:translateY(-1px);
}
.site-footer .footer-contact-btn:active{
  transform:translateY(0);
}
/* Μετακινεί τον τίτλο και το κείμενο πιο πάνω μόνο στην Αρχική Σελίδα */
.page-id-6 .wp-block-cover__inner-container {
    margin-top: -40px !important; /* Μεγαλύτερος αρνητικός αριθμός = πιο ψηλά */
}
.footer-btn {
  display: inline-block;
  background: #C13658;   /* ίδιο χρώμα με το κουμπί επικοινωνίας */
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin: 5px 0;
  transition: all 0.2s ease-in-out;
}

.footer-btn:hover {
  opacity: 0.9;
}
/* Σήκωσε τον τίτλο+κείμενο (desktop) */
@media (min-width:1025px){
  .raise-hero{
    transform: translateY(-160px) !important;
  }
}

/* Πόσο να σηκωθεί σε tablet/κινητό */
@media (max-width:1024px){
  .raise-hero{
    transform: translateY(-10px) !important;
  }
}
/* Σήκωσε το δεύτερο κείμενο (desktop) */
@media (min-width:1025px){
  .raise-hero-2{
    transform: translateY(-140px) !important; /* δοκίμασε -70 έως -120 */
  }
}

/* Tablet/κινητό – πιο ήπια μετακίνηση */
@media (max-width:1024px){
  .raise-hero-2{
    transform: translateY(-30px) !important;
  }
}
/* Κάνε το γονικό με href "#" μη-κλικάριστο */
.main-header-menu .menu-item-has-children > a[href="#"] {
  pointer-events: none;
  cursor: default;
}
/* ΣΤΥΛ ΓΙΑ ΤΟ MAILPOET FORM ID2 */
#mailpoet_form_2 form {
  max-width: 600px;
  margin: 0 auto;
  padding: 25px;
  border-radius: 15px;
  background: linear-gradient(135deg, #6a0572, #d62828);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-align: center;
}

/* ΤΙΤΛΟΙ */
#mailpoet_form_2 h2,
#mailpoet_form_2 h3,
#mailpoet_form_2 .mailpoet_form_title {
  color: #fff;
  font-weight: 800;
  margin-bottom: 15px;
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.2;
}

/* ΚΕΙΜΕΝΟ */
#mailpoet_form_2 p {
  color: #f9f9f9;
  font-size: 16px;
  margin-bottom: 18px;
}

/* ΠΕΔΙΟ EMAIL */
#mailpoet_form_2 input[type="email"] {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 15px auto;
  padding: 12px 15px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
}

/* ΚΟΥΜΠΙ */
#mailpoet_form_2 input[type="submit"] {
  background: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
#mailpoet_form_2 input[type="submit"]:hover {
  background: #e63b3b;
}
@media (max-width: 1024px) {
  body.home .wp-block-container {
    background-image: none !important;
  }
}
@media (min-width: 768px) {
  table td:nth-child(5) {
    font-size: 18px !important;
    font-weight: 400 !important;
    vertical-align: middle !important;
  }
}
.warning-word {
  color: #e60000 !important;
  font-weight: bold;
  font-size: 1.1em;
}
/* Για υπολογιστές */
.bg-top {
    background-position: center -120px !important;
}

/* Για κινητά */
@media only screen and (max-width: 768px) {
    .bg-top {
        background-position: center -350px !important;
        background-size: cover !important;
        background-attachment: scroll !important;
    }
}
/* Διπλές στήλες ΜΟΝΟ για το πεδίο #9 */
#frm_field_9_container .frm_checkbox,
#frm_field_9_container .frm_radio {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 15px !important; /* Απόσταση μεταξύ στηλών & γραμμών */
}

/* Κάθε επιλογή πιάνει 48% ώστε να χωράνε 2 ανά γραμμή */
#frm_field_9_container .frm_checkbox label,
#frm_field_9_container .frm_radio label {
    flex: 0 0 48% !important;
    box-sizing: border-box;
    font-size: 14px !important;
}

/* Στο tablet/desktop οι στήλες θα είναι ακόμα πιο άνετες */
@media (min-width: 768px) {
    #frm_field_9_container .frm_checkbox label,
    #frm_field_9_container .frm_radio label {
        flex: 0 0 45% !important;
    }
}
#tablepress-1 td:nth-child(4),
#tablepress-1 th:nth-child(4) {
    display: none !important;
}
#tablepress-2 td:nth-child(13),
#tablepress-2 th:nth-child(13) {
  display: none !important;
}
	/* Φόντο γηπέδου */
body {
  background-image: url('https://managerfantasy.com/wp-content/uploads/2025/08/champions-league-stadium-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Στυλ για τη φόρμα */
.frm_forms {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
  border-radius: 20px;
  color: white;
  max-width: 800px;
  margin: 40px auto;
  backdrop-filter: blur(4px);
}

/* Στυλ για τίτλους πεδίων */
.frm_primary_label {
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

/* Drop-down πεδία */
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  background-color: #ffffff;
  color: #000000;
  margin-top: 5px;
  margin-bottom: 15px;
}

/* Κουμπί υποβολής */
.frm_submit button {
  background-color: #1e90ff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.frm_submit button:hover {
  background-color: #0074d9;
}

/* Κείμενα επιλογών */
.frm_description,
.frm_field {
  color: #ffffff;
}

/* Responsive για κινητά */
@media screen and (max-width: 600px) {
  .frm_forms {
    padding: 15px;
    margin: 20px 10px;
  }

  .frm_primary_label {
    font-size: 16px;
  }

  select {
    font-size: 15px;
  }

  .frm_submit button {
    font-size: 16px;
  }
}
.fantasy-pitch {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/cf/Football_pitch.svg/1920px-Football_pitch.svg.png');
  background-size: cover;
  background-position: center;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(6, auto);
  gap: 10px;
  max-width: 800px;
  margin: auto;
  border-radius: 20px;
}

.fantasy-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-weight: bold;
}

.fantasy-position label {
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px black;
}

.fantasy-position select {
  width: 120px;
  padding: 5px;
  border-radius: 6px;
  font-size: 14px;
}
.entry-content p:last-child {
  display: none;
}
.frm_checkbox label {
  color: white !important;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3em;
  font-size: 16px;
  padding: 6px 4px;
  width: 100%;
}
[data-frmkey="lrprw"] .frm_checkbox,
[data-frmkey="829tt"] .frm_checkbox,
[data-frmkey="2gq0n"] .frm_checkbox,
[data-frmkey="igi7q"] .frm_checkbox {
  width: 48% !important;
  display: inline-block !important;
  vertical-align: top;
  margin-bottom: 8px;
  box-sizing: border-box;
  padding-right: 5px;
}

@media (max-width: 600px) {
  [data-frmkey="lrprw"] .frm_checkbox,
  [data-frmkey="829tt"] .frm_checkbox,
  [data-frmkey="2gq0n"] .frm_checkbox,
  [data-frmkey="igi7q"] .frm_checkbox {
    width: 48% !important;
  }
}
.gf-thankyou-box {
  background: linear-gradient(135deg, #1a237e, #4a148c); /* Μπλε-μοβ */
  color: #fff;                /* Λευκά γράμματα */
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 90%;
  margin: 20px auto;
  z-index: 9999;
  position: relative;
}
	/* Πίνακας Τερματοφυλάκων - Στυλ Champions League */
.tablepress-id-1 {
  background-color: #001d3d; /* Βαθύ μπλε */
  color: white;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  overflow-x: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

