body {
  margin: 0;
  background: radial-gradient(circle at 20% 30%, rgba(239, 187, 204, 0.25), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255, 0, 40, 0.25), transparent 60%),
              radial-gradient(circle at 50% 80%, rgba(254, 40, 162, 0.25), transparent 60%),
              #0a0a0a;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: white;
  padding: 0;
}


/* Finom szemcsés textúra */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/7/7a/Noise_texture.png");
  background-size: cover;
  opacity: 0.12;
  pointer-events: none;
}

/* Felső sáv */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 22px;

    /* A keret */
    border: 2px solid #fff;
    border-radius: 12px;

    /* A keret ne érjen ki a képernyő széléig */
    margin: 14px;
}

/* Bal felső logó */
.logo {
    width: 80%;
    max-width: 250px;
    user-select: none;
}

/* Jobb felső menü ikon */
.menu-icon {
    width: 20%;
    height: 20%;
    max-height: 40px;
    max-width: 40px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
    margin-top: px;
}

.menu-icon:hover {
    opacity: 0.7;
}

/* Cikkek */
.cikk {
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right;
    border-radius: 15px;
    padding: 50px 30px;
    margin: 20px;
}

.cikk_szöveg h2 {
  margin: 0 0 25px 0;
  text-align: left;
  width: 100%;
}

.cikk_szöveg p {
  margin-right: 100px;
}

#cikk1 {
  background-image: url(nlgpodcast_cikk.png);
  color: #000;
  background-color: #EFBBCC;
}

a {
    color: #fff;
    text-decoration: none;
}

/* Formák */
form {
  background: #000;
  padding: 30px 30px 0 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.6s ease-out;
  color: #fff;
}

h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  text-align: center;
}

label {
  font-size: 15px;
  font-weight: 500;
  color: #cecece;
}

input,
select {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
  border-color: #4a8cff;
  box-shadow: 0 0 0 3px rgba(74, 140, 255, 0.25);
  outline: none;
}

button {
  padding: 8px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #000;
  color: #fff;
}

#message {
  text-align: center;
  font-size: 15px;
  min-height: 24px;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  display: none;
}

.overlay.active {
  display: block;
}

/* Középre igazított panelek */
.center-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 100%;
  max-width: 300px;
  display: none;
}

.center-panel.active {
  display: block;
}

/* Fiókközpont */
.account-panel {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 300px;
  min-height: 300px;
  padding: 30px;
  background: white;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}

.account-panel.active {
  display: block;
}

/* Oldalsó menü */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: #000;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.sidebar-content {
    padding: 16px;
}

.sidebar-open #sidebar {
    transform: translateX(0);
}

.sidebar-open #overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,0.4);
}

/* Menü gombok */
.menu-login-btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.menu-login-btn:hover {
  background: #333;
}

.panel-box {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 14px;
    backdrop-filter: blur(6px);
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;      /* vízszintes középre igazítás */
    text-align: center;       /* a szöveg is középre kerül */
    width: 100%;
}

img {
  max-width: 350px;
}

.section-title{
  margin: 0px 0px 5px 15px;
  border: solid white;
  border-radius: 10px;
  padding: 5px 10px 5px 10px;
  font-size: 25px;
  display: inline-block;
}

.event-list {
    background: #000;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #000;
    margin: 0px 20px 20px 20px;
}

.event-item {
    margin-bottom: 18px;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 4px 0;
}

.event-date {
    color: #a9a9a9;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Hírek */
.hir{
  margin: 5px 20px 20px 20px;
  padding: 15px;
  gap: 0;
  background-position: right;
}

.hir-cim{
  font-size: 20px;
  margin: 0px 0px 5px 0px;
  max-width: 80%;
  text-align: left;
}

.hir-leiras{
  font-size: 13px;
  margin: 0px 0px 0px 0px;
  color: #a9a9a9;
  width: 80%;
  text-align: left;
}

#nlgdokBeta{
  background-image: url(https://res.cloudinary.com/dsdkmde0k/image/upload/v1779619156/nlgdok_cikk_c28tqt.png);
  background-color: #3C3412;
}

#szavazas{
  background-image: url(https://res.cloudinary.com/dsdkmde0k/image/upload/v1779617953/szavazs_cikk_wfmshr.png);
  background-color: #E1AD21;
}

#szinhet{
  background-image: url(https://res.cloudinary.com/dsdkmde0k/image/upload/v1779620057/szinhet_cikk_exewvb.png);
  background-color: #65000B;
}

#v-00-02-83{
  background-image: url(https://res.cloudinary.com/dsdkmde0k/image/upload/v1780164486/v.00.02.83_heuqfk.png);
  background-color: #000000;
}

#diakparlament{
  background-image: url(https://res.cloudinary.com/dsdkmde0k/image/upload/v1780945742/diakparlament_txepck.png);
  background-color: #C00000;
}

.mini-gallery-box {
    background-color: #000;
    margin: 0px 20px 20px 20px;
    padding: 10px 20px 5px 20px;
    border-radius: 20px;
    overflow-x: auto;      /* vízszintes görgetés */
    overflow-y: hidden;    /* ne legyen függőleges */
    white-space: nowrap;   /* ne törjenek sorba */
    -webkit-overflow-scrolling: touch;

}

.mini-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;     /* ne törjön sorba */
}

.mini-gallery-item {
    width: 100%;
    max-width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    cursor: pointer;
    transition: 0.2s;
}

.mini-gallery-item:hover {
    transform: scale(1.03);
}

.mini-gallery-source {
    margin: 10px 0px 0 0px;
    font-size: 0.85rem;
    color: #888;
}

.mini-gallery-box::-webkit-scrollbar {
    height: 6px;
}

.mini-gallery-box::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.mini-gallery-box::-webkit-scrollbar-track {
    background: #222;
}

.social-links {
    margin: 20px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.social-item {
    color: #ddd;
    background: #000;
    padding: 20px;
    border-radius: 20px;
    align-items: center;
    display: flex;
}

.social-label {
    font-weight: 600;
    margin-right: 4px;
    align-content: center;
}

.social-item a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
    margin-left: 10px;
}

.social-item a:hover {
    border-bottom-color: #fff;
}

.social-icon{
    height: 30px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;              /* <<< fontos! engedi a tördelést */
    gap: 10px;                    /* szép távolság a sorok között */
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    z-index: 9999;
    font-size: 0.9rem;
    box-sizing: border-box;       /* <<< megakadályozza a kifolyást */
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 250px;              /* <<< tördelhető, de nem túl kicsi */
}

.cookie-banner a {
    color: #4da3ff;
    text-decoration: underline;
}

.cookie-banner button {
    background: #4da3ff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    flex-shrink: 0;               /* <<< gomb nem törik össze */
}

.cookie-banner button:hover {
    background: #6bb6ff;
}

.szoveg{
  margin: 0 20px 0 20px;
}

/* Podcast*/
.podcast-index{
  height: 200px;
  width: auto;
  border-radius: 10px;
  margin: 0px 20px 20px 25px;
  display: block;
}

#episode {
  margin: 0px 20px 0 20px;
}