/* Imports (if still needed for your site structure) */
@import "style-global.css";
@import "style-menu.css";
@import "style-home.css";
/* style-program.css is now loaded directly in baseof.html to ensure it loads last */
@import "style-events.css";
@import "style-galery.css";
@import "style-rca.css";
@import "style-espacos.css";
@import "style-coworking.css";

/* Font */
@import url('https://fonts.cdnfonts.com/css/pp-neue-montreal');

/* Basic resets and font */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}

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

.container {
  max-width: 100% !important;
  margin: 0 !important;
}






/* LANG SWITCHER ------------------------------------------------------------------------------- */

.lang-switch {
  position: fixed;
  top: calc(1.5 * var(--menu-margin));
  right: calc(0 * var(--global-margin));
  padding: calc(0 * var(--small-margin));
  left: auto;
  padding-right: calc(1 * var(--global-margin));
  height: calc(4 * var(--menu-margin));
  width: auto;
  background: transparent;
  font-size: 20px;
  z-index: 9999;
  text-align: right;
  display: inline-flex; 
  align-items: center;
  color: #d3d3d3;
}

/*a linguagem que não está ativa*/
.lang-switch a {
  color: black;
  text-decoration: none;
  padding: calc(1 * var(--small-margin));
}

/*a linguagem que está ativa*/
.lang-switch .active-lang {
  color: #d3d3d3;
  text-decoration: none;
  padding: calc(1 * var(--small-margin));
}

.lang_divider{
    font-size:3vh;
    padding-left:3px;
    padding-right:3px;
    padding-top:10px;
}
.lang_button{
    font-size:3vh;
    padding-top:10px;
    cursor:pointer;
}
.lang_button:hover{
    transform: scale(0.95);
}

/* Hide Hugo-book's default lang switcher */
.book-lang-switcher {
  display: none !important;
}



/* FIM DO LANG SWITCHER ------------------------------------------------------------------------------- */ 




  
div.top_box { /* container com a margem superior de todas as páginas ; na progrmação, inclui os filtros */
	height: calc(7 * var(--menu-margin)) !important;
}
meta
/* Page layout adjustments */
.book-page {
  padding-top: 0px; /* Ensure space for fixed lang switcher */
  flex-grow: 1;
}

h1.page-title {
  margin-left: var(--global-margin);
  font-weight: 500;
  font-size: 10px;
}

.book-footer {
  margin-top: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}



.full_size_container {
  padding-top: 0 !important;
  height:auto;
  overflow: visible;
  position: relative;
}

/* Two fixed halves that start exactly at mid-screen */
.desktop-event-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 0.9fr) 20vw; /* left (more space) | middle (narrower) | fixed right */
  column-gap: 0px;             /* tune if needed */
  row-gap: 12px;
  align-items: baseline;        /* align first text line across the row */
  margin-bottom: calc(3 * var(--global-margin));
}

/* Normalize baseline/line-height for the four top items */
.desktop-event-meta-grid .desktop-event-type,
.desktop-event-meta-grid .desktop-event-date,
.desktop-event-meta-grid .desktop-ticket-info,
.desktop-event-meta-grid .desktop-event-time {
  line-height: 1.5;
  font-size: 3vw;
}

.desktop-event-meta-grid .desktop-promoter-badge {
  background-color: #000 !important;
	color: #fff !important;
	border: 0.5vh solid #000 !important;
	text-transform: uppercase !important;
  line-height: 1.5;
}

/* Keep right block pinned to its half and top-aligned */
.desktop-meta-middle { 
  align-self: start; 
}

/* Match line spacing in middle column to left column */
.desktop-meta-middle .desktop-event-date {
  margin: 0;
  margin-bottom: 0;
}

.desktop-meta-middle .desktop-event-time {
  margin: 0;
  line-height: 0.4; /* Match .desktop-event-location spacing */
}
.desktop-meta-right {
  align-self: start;
  justify-self: end;             /* push to far right */
  text-align: right;
  width: 100%;
  padding-left: 2vw;             /* Gap between middle and right columns */
  /* Removed max-width and min-width to allow full use of 40vw grid column */
}

/* Make the type + promoter sit on one line neatly */
.desktop-event-type {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-left: calc(9 * var(--global-margin));      /* avoid pushing baseline down */
  font-size: 3vw;

}

/* Desktop: Group type and promoter on first line */
.desktop-event-type-promoter-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Price + ticket side-by-side, then wrap if narrow */
.desktop-event-price-ticket {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Date/time flush-left in the right column */
.event-date-time .event-date,
.event-date-time .event-time {
  text-align: left;
  line-height: 1.05;
  font-size: 3vw;
}

/* Right-half split into two columns: middle (date/time) and right (price/ticket) */
.meta-right-grid {
  display: grid;
  grid-template-columns: 1fr auto; /* date/time takes remaining space, price hugs content */
  column-gap: 0vw;
  align-items: start;
}

.meta-datetime {
   text-align: left;
 }
.meta-price {
  text-align: right;
  display: grid;
  row-gap: 6px; /* space between price and button */
  align-content: start;
}

.meta-price .event-ticket-button .ticket-button {
  padding: 6px 12px;
}


/* Fixed back button aligned opposite the lang switch on event pages */
.back-fixed {
  position: fixed;
  top: calc(1.5 * var(--menu-margin));
  left: calc(0 * var(--global-margin));
  height: calc(4 * var(--menu-margin));
  padding-left: calc(1 * var(--menu-margin));
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: black;
  text-decoration: none;
  font-size: 28px;
  font-weight: 400;
  z-index: 9999;
}

.back-fixed:hover {
  opacity: 0.5;
}





