/* =========================================================
   Główny motyw konferencji: pSTRONG 2026
   Dominujący niebieski: #1f35e9
   Styl: Glassmorphism (oszronione szkło)
   ========================================================= */

/* --- Tło całej strony --- */
body, .conf {
  width: 100%;
  margin: auto;
  min-height: 100vh;
  /* Nowe tło konferencji (paralaksa) */
  background: url('https://event.mostwiedzy.pl/event/74/images/1958-glowna.png') no-repeat center center fixed !important;
  background-size: cover !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 20px;
}

/* ----------- Nagłówek konferencji ----------- */

.confTitleBox {
  background-color: transparent !important;
  border: none;
  text-align: center;
  padding: 20px 0;
}

/* Karta z tytułem na górze (Mocny efekt szkła) */
.confTitle {
  width: 950px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.65) !important; /* Zwiększona przezroczystość */
  backdrop-filter: blur(15px); /* Mocne rozmycie tła pod spodem */
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px; /* Bardziej miękkie zaokrąglenia */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6); /* Błyszcząca krawędź szkła */
  padding: 35px 30px;
}

/* Tytuł konferencji na banerze */
.conference-title-link {
  font-size: 28pt;
  font-weight: 800;
  color: #1a64a0 !important;
  text-decoration: none;
  display: inline-grid; 
  grid-template-columns: auto 1fr; 
  grid-template-rows: auto auto; 
  column-gap: 30px;
  text-align: left;
  align-items: center;
  width: 100%;
}

/* Nowe Logo */
.confLogo {
  grid-column: 1;
  grid-row: 1 / 3;
  content: url('https://event.mostwiedzy.pl/event/74/images/1956-Logo_pstrong.png');
  max-width: 140px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Tytuł (physics-STRONG) */
.conference-title-link > span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  padding-bottom: 8px;
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 5px rgba(255,255,255,0.5); /* Żeby tekst był super czytelny na szkle */
}

/* --- Data i miejsce --- */
.conference-title-link::after {
  grid-column: 2;
  grid-row: 2;
  content: "15-17.05.2026 \A Politechnika Gdańska";
  white-space: pre-line;
  display: block;
  
  background: linear-gradient(135deg, #1f35e9 0%, #1524a3 100%);
  color: #ffffff;
  font-size: 14pt;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(31, 53, 233, 0.3);
  line-height: 1.4;
  justify-self: stretch; 
  text-align: center;
  align-self: start;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Easter Egg */
.conference-title-link:hover::after {
  content: "Wędkarze Naczelni zapraszają! 🎣🐟 \A Ahoj kamraci!";
  background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 131, 176, 0.4);
}

.confSubTitleBox { display: none !important; }

/* ----------- UKRYCIE "WRÓĆ NA MOST WIEDZY" ----------- */
.most-back-button, 
a[href="https://mostwiedzy.pl/pl/event/list"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ----------- Główna zawartość ----------- */

#confSectionsBox {
  width: 950px;
  margin: 40px auto;
  position: relative;
}

/* --- Zastąpienie białych kwadratów efektownym, oszronionym szkłem --- */
.side-menu, #outer, .support_box, .card, .confBodyBox {
  background: rgba(255, 255, 255, 0.75) !important; /* Półprzezroczysta biel */
  backdrop-filter: blur(12px) !important; /* Efekt rozmycia tła za kartą */
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important; /* Subtelna, jasna ramka */
  overflow: hidden;
  margin-bottom: 25px;
  color: #222; /* Ciemny tekst dla dobrego kontrastu */
}

.confBodyBox {
  margin-left: 230px;
  padding: 35px;
  font-size: 11pt;
  line-height: 1.6;
}

/* ----------- Menu Boczne (odświeżone jak przyciski/pigułki) ----------- */

.conf_leftMenu {
  float: left;
  width: 200px;
}

.side-menu .menu-items { padding: 10px 0; }

.menuConfTitle {
  border: none !important;
}

.menuConfTitle a {
  display: block;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 11pt;
  color: #1a64a0;
  padding: 12px 20px;
  margin: 5px 10px; /* Marginesy, by linki wyglądały jak osobne pływające przyciski */
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: transparent;
}

/* Najechanie na element menu */
.menuConfTitle a:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #1f35e9;
  transform: translateX(3px); /* Delikatne przesunięcie w prawo */
}

/* Aktywna zakładka w menu */
.menuConfTitle.selected > a,
.menuConfSelected > a {
  background: linear-gradient(135deg, #1f35e9 0%, #1524a3 100%) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(31, 53, 233, 0.3);
}

li ul.inner li a {
  padding: 8px 15px 8px 35px;
  margin: 2px 10px;
  font-size: 10pt;
  color: #444;
}

/* Wsparcie / Kontakt box */
.support_box { text-align: center; }

.support_box > h3, .card-header {
  color: #1f35e9;
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px;
  margin: 0;
  font-size: 12pt;
  font-weight: bold;
}

.support_box .card-block { padding: 20px 15px; }

/* --- Linki i Załączniki w treści --- */
a.underline-links, .conference-page a, .description a {
  color: #0083b0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

a.underline-links:hover, .conference-page a:hover, .description a:hover {
  text-decoration: underline;
  color: #1f35e9;
}

.attachments-box .attachment .title { font-weight: 600; }
.infoline { margin-bottom: 20px; }
.infoline .icon {
  color: #1a64a0; 
  font-size: 1.5rem;
  margin-right: 15px;
  float: left;
}
.infoline .text { overflow: hidden; }

/* =========================================================
   STOPKA (Również ze szkła)
   ========================================================= */
footer, .footer {
  background: rgba(255, 255, 255, 0.85) !important; /* Jasne szkło dla czytelności logotypów */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 0;
  margin-top: 60px;
  border-top: 5px solid #1f35e9;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  clear: both;
}

.footer-logo-container img {
  max-height: 65px;
  object-fit: contain;
  margin: 0 15px;
  filter: none !important; 
}

/* --- Oddzielna, nieklikalna karta Instagram pod kontaktem --- */

/* 1. Przygotowanie boxa kontaktu - robimy miejsce pod spodem */
.support_box {
  margin-bottom: 90px !important; 
  position: relative !important;
  overflow: visible !important; 
}

/* 2. Tworzenie nowej karty Instagrama */
.support_box::after {
  content: "OBSERWUJ @knsf_pg";
  display: block;
  position: absolute;
  top: calc(100% + 15px); /* Odstęp od krawędzi kontaktu */
  left: 0;
  right: 0;
  
  /* Styl Glassmorphism - mniejsza przezroczystość (bardziej mleczny) */
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important;
  
  /* Stylizacja tekstu */
  padding: 18px 10px;
  color: #1f35e9;
  font-weight: 800;
  font-size: 10pt;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  /* Wyłączenie jakiejkolwiek interakcji kursora */
  pointer-events: none; 
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Efekt hover na kartę (tylko wizualny) */
.support_box:hover::after {
  background: #1f35e9 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(31, 53, 233, 0.3) !important;
}