/*
==================================================
  ASTRA CRITIC — Child Theme Stylesheet
==================================================
  Theme Name: Astra Critic
  Theme URI:  https://example.com/
  Description: Child theme for Astra, customized for CRITIC
  Template:    astra
  Version:     1.0.0
==================================================
*/

/* ================================================================
   DESKTOP HEADER — Logo Left / Menu Right (Compact Height)
=================================================================== */
@media (min-width: 922px) {
  /* Header bar compact */
  .ast-primary-header-bar.main-header-bar {
    min-height: 55px;
    padding: 0;
  }

  /* Grid layout: logo left / menu right */
  .site-primary-header-wrap .ast-builder-grid-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  /* Logo */
  .site-header-primary-section-left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .site-header .site-branding {
    margin: 0;
    padding: 0;
  }

  /* Menu container */
  .site-header-primary-section-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .site-header-primary-section-right .ast-builder-menu-1 {
    display: flex;
    align-items: flex-end;
  }

  /* Menu links */
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 12px;
    color: #000 !important;
    line-height: 1;
  }

  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
  .ast-builder-menu-1
    .main-header-menu
    > .menu-item.current-menu-item
    > .menu-link {
    color: #c41a1b !important;
  }
}

/* ================================================================
   MOBILE MENU (Off-Canvas Drawer) + Dropdown
=================================================================== */
@media (max-width: 921px) {
  /* Header Compact Layout */
  .ast-primary-header-bar.main-header-bar {
    min-height: 50px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* Logo */
  .ast-mobile-header-wrap .site-branding {
    padding: 0 !important;
    margin: 0 !important;
  }

  .ast-mobile-header-wrap .custom-logo {
    max-height: 38px !important;
    height: auto;
    width: auto;
  }

  /* Hamburger button */
  .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 2px !important;
  }

  /* Hamburger icon (SVG) */
  .ast-mobile-menu-trigger .ast-mobile-svg,
  .ast-mobile-menu-trigger-minimal .ast-mobile-svg,
  .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 32px !important;
    height: 32px !important;
    color: #000 !important;
    fill: #000 !important;
    transition: fill 0.3s ease, color 0.3s ease;
  }

  .ast-mobile-menu-trigger:hover .ast-mobile-svg,
  .ast-mobile-menu-trigger-minimal:hover .ast-mobile-svg {
    color: #c41a1b !important;
    fill: #c41a1b !important;
  }

  /* Parent menu */
  #ast-hf-mobile-menu .menu-link {
    font-size: 16px;
    font-weight: 600;
    color: #000 !important;
    padding: 12px 30px;
    display: block;
    background: #fff;
    text-align: right;
    border-bottom: 1px solid #c41a1b;
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.85);
    transition: background 0.3s ease, color 0.3s ease;
  }

  #ast-hf-mobile-menu .menu-link:hover {
    color: #fff !important;
    background: #c41a1b !important;
  }

  /* Submenu */
  #ast-hf-mobile-menu .sub-menu {
    background: #fff;
    margin: 0;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
  }

  #ast-hf-mobile-menu .sub-menu .menu-link {
    font-size: 14px;
    font-weight: 500;
    color: #000 !important;
    padding: 10px 30px;
    background: #fff;
    border-bottom: 1px solid #c41a1b;
    text-align: right;
    transition: background 0.3s ease, color 0.3s ease;
  }

  #ast-hf-mobile-menu .sub-menu .menu-link:hover {
    color: #fff !important;
    background: #c41a1b !important;
  }

  /* Language switcher */
  #ast-hf-mobile-menu .lang-item .menu-link {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
  }

  /* Drawer background */
  .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    background: #fff !important;
  }
}

/* ================================================================
    BASE STRUCTURE
=================================================================== */
.ast-container {
  padding: 0 10px;
}

.section {
  padding: 60px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 800;
  color: #c41a1b;
}

/* ================================================================
   HERO SECTION
=================================================================== */
.hero {
  background: url("images/critic-hero.png") no-repeat center top;
  background-size: cover; /* ή contain αν δεν θες να κόβεται */
  border-radius: 10px;
  color: #000000;
  padding: 80px 0px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  z-index: 1;
}

.hero .ast-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #000000;
  font-weight: 800;
}

.hero h1 .sub {
  display: block;
  font-weight: 500;
  line-height: 1.2;
  font-size: 1.8rem;
  letter-spacing: 0;
  margin-top: 10px;
  color: #c41a1b;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* ================================================================
   INTERNAL ANCHOR MENU
=================================================================== */
.internal-menu {
  padding: 15px 0;
  margin: 40px 0;
}

.internal-menu .ast-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.internal-menu .btn {
  background: #4b4b4b;
  color: #fff;
  padding: 5px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
}

.internal-menu .btn:hover {
  background: #c41a1b;
  color: #ffffff;
}

/* Mobile version */
@media (max-width: 921px) {
  .internal-menu .ast-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .internal-menu .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.125rem;
  }
}

/* ================================================================
   GRID SECTIONS (Objectives, Methodology, etc.)
=================================================================== */
#objectives .ast-container,
#impact .ast-container,
#methodology .ast-container,
#work-packages .ast-container,
#project-structure .ast-container {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

#objectives .ast-container h2,
#impact .ast-container h2,
#methodology .ast-container h2,
#work-packages .ast-container h2,
#project-structure .ast-container h2 {
  position: relative;
  text-align: center;
  margin: 0 auto 40px auto;
  font-size: 2.2rem;
  font-weight: 800;
  color: #c41a1b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#objectives .ast-container h2::before,
#impact .ast-container h2::before,
#methodology .ast-container h2::before,
#work-packages .ast-container h2::before,
#project-structure .ast-container h2::before,
#objectives .ast-container h2::after,
#impact .ast-container h2::after,
#methodology .ast-container h2::after,
#work-packages .ast-container h2::after,
#project-structure .ast-container h2::after {
  content: "";
  flex: 1;
  border-top: 3px dotted #000000;
}

/* Grid cards */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 5px;
  padding: 15px;
  flex: 1 1 300px;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #000000;
  font-size: 1.4rem;
}

.card p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #111111;
}

/* ================================================================
  BUTTONS
=================================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.btn-primary {
  background: #ffffff;
  color: #797979;
  border: none;
}

.btn-primary:hover {
  background: #c41a1b;
  color: #fff;
}

/* ================================================================
  RESPONSIVE BREAKPOINTS
=================================================================== */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .ast-container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .card.objective {
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  .hero {
    padding: 60px 10px;
  }
  .hero .ast-container {
    padding: 0;
  }
}

/* ================================================================
   PROJECT TEAM — τελική εκδοχή με σωστό τίτλο σε mobile
=================================================================== */

/* Container */
.team .ast-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Τίτλος - παντού */
section#project-team .team-title {
  display: block;
  width: 100%;
  margin: 0 0 40px 0;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #c41a1b;
}

/* Κάθε μέλος */
.member {
  display: grid;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

/* Layout για desktop */
@media (min-width: 922px) {
  .member {
    grid-template-columns: 280px 1fr;
    grid-template-areas:
      "left head"
      "left bio";
    column-gap: 40px;
    align-items: start;
  }
  .member-left {
    grid-area: left;
  }
  .member-head {
    grid-area: head;
    align-self: end;
  }
  .member-bio {
    grid-area: bio;
  }
}

/* Layout για mobile */
@media (max-width: 921px) {
  .member {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "left"
      "bio";
    row-gap: 12px;
  }
  .member-left {
    grid-area: left;
  }
  .member-head {
    grid-area: head;
  }
  .member-bio {
    grid-area: bio;
  }
}

/* Photo */
.member-photo-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.team-photo {
  width: 250px;
  height: 250px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Name & Role */
.member-name {
  margin: 0 0 6px 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
}
.member-role {
  margin: 0;
  color: #c41a1b;
  font-weight: 600;
}

/* Bio */
.member-bio .bio-text {
  font-size: 1.06rem;
  line-height: 1.6;
  color: #111;
}

/* Contacts */
.member-contacts {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.member-contacts .contact {
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.member-contacts .contact:hover {
  color: #c41a1b;
  border-bottom-color: #c41a1b;
}

/* Compact σε πολύ στενές οθόνες */
@media (max-width: 480px) {
  .team-photo {
    width: 220px;
    height: 220px;
  }
  .member-name {
    font-size: 1.4rem;
  }
  section#project-team .team-title {
    font-size: 2rem;
  }
}

@media (max-width: 921px) {
  section#project-team .member-head {
    text-align: center;
    margin-bottom: 10px;
  }
  section#project-team .member-name {
    text-align: center;
    margin-bottom: 6px;
  }
  section#project-team .member-role {
    text-align: center;
    display: block;
  }
}

/* ================================================================
   PROJECT TEAM — διάταξη grid section για desktop
=================================================================== */
@media (min-width: 922px) {
  /* Κάνουμε grid το container του section */
  section#project-team > .ast-container {
    display: grid !important;
    grid-template-columns: 280px 1fr; /* αριστερά φωτογραφίες / δεξιά περιεχόμενο */
    column-gap: 40px;
    align-items: start;
  }

  /* Ο τίτλος "Project Team" */
  section#project-team .team-title {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin: 0 0 40px 0;
  }

  /* Αν υπάρχει εισαγωγικό κείμενο */
  section#project-team .project-team-intro {
    grid-column: 2;
    margin-bottom: 24px;
  }

  /* Η λίστα μελών κάτω από τον τίτλο */
  section#project-team .team-list {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
  }

  /* Κάθε μέλος */
  section#project-team .member {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
      "left head"
      "left bio";
    column-gap: 40px;
    margin-bottom: 60px;
  }

  section#project-team .member-left {
    grid-area: left;
  }
  section#project-team .member-head {
    grid-area: head;
  }
  section#project-team .member-bio {
    grid-area: bio;
  }
}

/* ================================================================
   EVENTS 
=================================================================== */

/* Container */
section#events .ast-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Γενικός τίτλος "Events" — ίδιος με .team-title */
section#events .events-title {
  display: block;
  width: 100%;
  margin: 0 0 40px 0;
  text-align: left;
  font-size: 2.4rem; /* ίδιο */
  font-weight: 800; /* ίδιο */
  color: #c41a1b; /* ίδιο */
}

/* Layout για desktop */
@media (min-width: 922px) {
  section#events > .ast-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* αριστερά τίτλος/κείμενα, δεξιά εικόνα */
    column-gap: 40px;
    align-items: start;
  }

  /* Τίτλος στην αριστερή στήλη */
  section#events .events-title {
    grid-column: 1 / -1;
    text-align: left;
    margin: 0 0 40px 0;
  }

  /* Λίστα event */
  section#events .events-list {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .event-text {
    text-align: left;
  }

  /* Τίτλος κάθε event — ίδιος με .member-name */
  h2.event-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem; /* ίδιο με member-name */
    font-weight: 800; /* ίδιο */
    color: #000; /* ίδιο */
    text-align: left;
  }
  .event-description {
    font-size: 1.06rem;
    line-height: 1.6;
    color: #111;
    margin-bottom: 12px;
  }
}

/* Layout για mobile */
@media (max-width: 921px) {
  section#events .events-title {
    text-align: center;
    font-size: 2rem; /* ίδιο με project-team responsive */
  }
  /* Τίτλος κάθε event — ίδιος με .member-name */
  h2.event-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem; /* ίδιο με member-name */
    font-weight: 800; /* ίδιο */
    color: #000; /* ίδιο */
    text-align: center;
  }
}

/* Εισαγωγικό (αν χρειαστεί) */
.events-intro {
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.1rem;
  color: #333;
}

.event-item {
  display: grid;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

@media (min-width: 922px) {
  .event-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: start;
  }

  /* 🔁 Αντιστροφή θέσεων */
  .event-item .event-image {
    order: 1; /* Εικόνα πρώτη */
  }

  .event-item .event-text {
    order: 2; /* Κείμενο δεύτερο */
    text-align: left;
  }
}

@media (max-width: 921px) {
  .event-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Responsive μέγεθος τίτλου event (ίδιο με member-name mobile) */
@media (max-width: 480px) {
  .event-title {
    font-size: 1.4rem;
  }
}

/* Read More */
.event-readmore {
  margin: 0;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
}

/* Link */
.event-link {
  margin: 4px 0 0 0;
}
.event-link a {
  color: #c41a1b;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}
.event-link a:hover {
  text-decoration: underline;
}

/* Εικόνα */
.event-image {
  overflow: hidden;
  border-radius: 6px;
}
.event-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.event-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ================================================================
   RESULTS
=================================================================== */

/* Container */
section#results .ast-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Γενικός τίτλος "Results" — ίδιος με .team-title */
section#results .results-title {
  display: block;
  width: 100%;
  margin: 0 0 40px 0;
  text-align: left;
  font-size: 2.4rem;
  font-weight: 800;
  color: #c41a1b;
}

/* ================================================================
   RESULTS DESKTOP LAYOUT — 3 ΣΤΗΛΕΣ
=================================================================== */
@media (min-width: 922px) {
  section#results > .ast-container {
    display: block;
  }

  section#results .results-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .result-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 1: τίτλος+link | 2: περιγραφή | 3: εικόνα */
    column-gap: 40px;
    align-items: start;
    border-bottom: 1px solid #eee;
    padding: 24px 0;
  }

  /* Πρώτη στήλη: Τίτλος + Readmore + Link */
  .result-title,
  .result-readmore,
  .result-link {
    grid-column: 1;
    text-align: left;
  }

  h2.result-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
    text-align: left;
  }

  /* Δεύτερη στήλη: Περιγραφή */
  .result-description {
    grid-column: 2;
    text-align: left;
    font-size: 1.06rem;
    line-height: 1.6;
    color: #111;
    margin-bottom: 12px;
  }

  /* Τρίτη στήλη: Εικόνα */
  .result-image {
    grid-column: 3;
    overflow: hidden;
    border-radius: 6px;
  }

  .result-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .result-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }
}

/* ================================================================
   RESULTS MOBILE LAYOUT — ίδια ροή με EVENTS
=================================================================== */
@media (max-width: 921px) {
  section#results .results-title {
    text-align: center;
    font-size: 2rem;
  }

  .result-item {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 20px; /* πιο σφιχτό συνολικά */
    padding: 24px 0;
    border-bottom: 1px solid #eee;
  }

  h2.result-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
    text-align: center;
  }

  section#results .result-readmore {
    margin-bottom: -15px !important;
  }
  section#results .result-link {
    margin-top: 0 !important;
  }

  .result-description {
    font-size: 1.06rem;
    line-height: 1.6;
    color: #111;
    margin-bottom: 12px;
  }
}

/* Responsive μέγεθος τίτλου result (όπως event-title mobile) */
@media (max-width: 480px) {
  .result-title {
    font-size: 1.4rem;
  }
}

/* ================================================================
   RESULTS READ MORE + LINK
=================================================================== */
.result-readmore {
  margin: 0;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
}

.result-link {
  margin: 4px 0 0 0;
}

.result-link a {
  color: #c41a1b;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}

.result-link a:hover {
  text-decoration: underline;
}

/* ================================================================
   RESULTS ΕΙΣΑΓΩΓΙΚΟ ΚΕΙΜΕΝΟ
=================================================================== */
.results-intro {
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.1rem;
  color: #333;
}



/* ================================================================
   SINGLE ENTRIES (Events & Results)
=================================================================== */
.section.single-entry .ast-container { max-width: 1200px; margin: 0 auto; }

.badge-source {
  display:inline-block; background:#c41a1b; color:#fff; padding:4px 10px;
  border-radius:5px; font-weight:700; font-size:.85rem; text-transform:uppercase;
  letter-spacing:.02em; text-decoration:none;
}

.single-entry-title { margin:10px 0 20px; font-size:2rem; font-weight:800; color:#000; }
.single-entry-intro { font-size:1.06rem; line-height:1.6; color:#111; margin-bottom:24px; }

.single-entry-grid { display:grid; gap:40px; }
@media (min-width: 922px) { .single-entry-grid { grid-template-columns: 1fr 1fr; align-items:start; } }

.single-entry-image { width:100%; height:auto; border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.single-entry-external { margin-top:8px; }

.asset-title { font-size:1.2rem; font-weight:700; color:#c41a1b; margin:0 0 10px; }
.asset-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.asset-list a { color:#c41a1b; text-decoration:none; }
.asset-list a:hover { text-decoration:underline; }

.video-grid { display:grid; gap:20px; }
.video-embed iframe, .video-file { width:100%; aspect-ratio:16/9; border:0; border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.single-entry-back { margin-top:20px; }



/* ================================================================
   FOOTER
=================================================================== */
.critic-footer {
  background: #fff;
  color: #333;
  padding: 30px 20px;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%); /* το φέρνει ΠΑΝΤΑ στο κέντρο, ό,τι κι αν κάνει το Astra */
}

/* Desktop: 2 στήλες CRITIC / Panteion */
.critic-footer .footer-columns {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
}

.critic-footer .footer-col {
  flex: 1 1 0;
}

.critic-footer .footer-col h4 {
  color: #000;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.critic-footer .footer-col p {
  margin: 0 0 6px 0;
  line-height: 1.4;
  color: #444;
}

.critic-footer a {
  color: #c41a1b;
  text-decoration: none;
}
.critic-footer a:hover {
  text-decoration: underline;
}

/* Logos στο footer */
.critic-footer .footer-logo {
  margin-bottom: 15px;
  text-align: left;
}

.critic-footer .footer-logo img {
  max-height: 70px;
  height: auto;
  width: auto;
  display: block;
}

/* Mobile: μία στήλη, όλα στο κέντρο, logos κέντρο */
@media (max-width: 768px) {
  .critic-footer {
    left: 50%;
    transform: translateX(-50%);
  }

  .critic-footer .footer-columns {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .critic-footer .footer-col {
    width: 100%;
  }

  .critic-footer .footer-logo {
    text-align: center;
  }

  .critic-footer .footer-logo img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Footer bottom strip (αν το χρησιμοποιήσεις) */
.critic-footer .footer-bottom {
  text-align: center;
  border-top: 2px solid #ddd;
  padding-top: 10px;
  margin-top: 15px;
}

.critic-footer .footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: #777;
  margin: 0;
}

.critic-footer .footer-bottom a {
  color: #c41a1b;
  text-decoration: none;
}
.critic-footer .footer-bottom a:hover {
  text-decoration: underline;
}

/* Astra footer spacing (όριο πάνω από το custom footer) */
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  margin-top: 60px;
  border-top-width: 4px;
  border-top-color: #c41a1b;
}


/* Ευθυγράμμιση logos και τίτλων στο ίδιο ύψος */
.critic-footer .footer-logo {
  height: 90px; /* ίδια περιοχή για τα δύο logos */
  display: flex;
  align-items: flex-end; /* κατέβασε τα logos να πατάνε κάτω */
  justify-content: flex-start;
  margin-bottom: 10px; /* ίδιο break πριν το h4 */
}

.critic-footer .footer-logo img {
  max-height: 70px;
  width: auto;
  height: auto;
}


/* ================================================================
   MISC
=================================================================== */
#ast-scroll-top {
  background-color: #c41a1b;
}


/* ================================================================
   FIXED HEADER + GLASS + MOBILE MENU OFFSET (clean, one source of truth)
=================================================================== */

/* Global vars */
:root{
  --critic-header-h: 55px;   /* desktop */
  --critic-adminbar-h: 0px;  /* default */
}

/* Mobile header height */
@media (max-width: 921px){
  :root{ --critic-header-h: 58px; } /* safe για το δικό σου mobile header */
}

/* WP admin bar offsets */
.admin-bar{ --critic-adminbar-h: 32px; }
@media (max-width: 782px){
  .admin-bar{ --critic-adminbar-h: 46px; }
}

/* Push page content κάτω από το fixed header */
body{
  padding-top: calc(var(--critic-header-h) + var(--critic-adminbar-h));
}

/* Fixed header bar */
.ast-primary-header-bar.main-header-bar{
  position: fixed;
  top: var(--critic-adminbar-h);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
}

/* Glass effect (μόνο όταν κάνεις scroll) */
.ast-primary-header-bar.main-header-bar{
  transition: background-color .25s ease, backdrop-filter .25s ease,
              -webkit-backdrop-filter .25s ease, box-shadow .25s ease,
              border-color .25s ease;
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
}

body.is-scrolled .ast-primary-header-bar.main-header-bar{
  background-color: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0,0,0,.10);
  border-bottom-color: rgba(0,0,0,.08);
}

/* ================================================================
   MOBILE MENU: offset κάτω από fixed header (NO double gap)
=================================================================== */
@media (max-width: 921px){

  /* 1) Astra Popup Drawer variant */
  .ast-mobile-popup-drawer{
    position: fixed !important;
    top: calc(var(--critic-adminbar-h) + var(--critic-header-h)) !important;
    height: calc(100vh - (var(--critic-adminbar-h) + var(--critic-header-h))) !important;
    z-index: 9998 !important;
  }

  /* ΜΗΔΕΝΙΣΕ extra spacing που βάζει/βάλαμε */
  .ast-mobile-popup-drawer .ast-mobile-popup-inner{
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 100% !important;
    box-sizing: border-box;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-content{
    height: 100% !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 2) Astra Legacy mobile header dropdown variant */
  #ast-mobile-header{
    position: fixed !important;
    top: calc(var(--critic-adminbar-h) + var(--critic-header-h) - 10px) !important;
    
    left: 0; right: 0;
    z-index: 9998 !important;
  }

  .ast-mobile-header-content{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Hide site title next to logo */
.ast-site-title-wrap {
  display: none !important;
}