:root {
  --alko-yellow: #ffed42;
  --alko-red: #e63946;
  --alko-bg: #fdf6e3;
  --alko-font: 'Saira Condensed', sans-serif;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* === OGÓLNE === */
body {
  background-color: var(--alko-bg);
  background-image: url('/templates/punkblock/images/tlo.png');
  background-repeat: repeat;
  background-size: 50px auto;
  background-attachment: fixed;
  color: #000;
  font-family: var(--alko-font);
  line-height: 1.6;
}
a {
  color: var(--alko-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--alko-yellow);
  text-decoration: underline;
}

/* === BANER === */
header#banner {
  display: block;
  padding: 0;
  margin: 0;
}

#banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: none;
}

/* === MENU DESKTOP === */
#mainmenu {
  width: 100%;
  background-color: var(--alko-yellow);
  position: relative;
  top: -1px;
  font-family: var(--alko-font);
}

#mainmenu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainmenu li {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 80px;
  white-space: nowrap;
}

#mainmenu a {
  font-size: 2vw;
  font-weight: 800;
  padding: 6px 12px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#mainmenu a:hover {
  background-color: #000;
  color: var(--alko-yellow);
}

/* === PODMENU DESKTOP === */
#mainmenu ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

#mainmenu li:hover > ul,
#mainmenu li:focus-within > ul,
#mainmenu li.submenu-open > ul {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mainmenu ul ul a {
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#mainmenu ul ul a:hover {
  background-color: var(--alko-yellow);
  color: #000;
}

/* === MENU MOBILNE (Maxi Menu CK) — ukryte na desktopie === */
#mainmenu-mobile {
  display: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

@media (max-width: 768px) {
  #mainmenu {
    display: none;
  }

  #mainmenu-mobile {
    display: block;
    height: auto;
    overflow: visible;
    visibility: visible;
  }

  #mainmenu-mobile ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #mainmenu-mobile .maximenuck a {
    font-family: var(--alko-font);
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #000;
  }

  #mainmenu-mobile .maximenuck a:hover {
    background-color: #000;
    color: var(--alko-yellow);
  }

  #mainmenu-mobile .maximenuck li.current > a {
    background-color: #000;
    color: var(--alko-yellow);
  }
}

/* === KONTENER TREŚCI === */
.container {
  padding: 20px;
}

/* === GŁÓWNA KOLUMNA === */
.main-column {
  background-color: rgba(26, 26, 26, 0.95);
  padding: 20px;
  border: 2px solid var(--alko-yellow);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: 1px;
}

/* === SIDEBAR === */
.sidebar {
  background-color: #333;
  padding: 20px;
  border: 2px dashed var(--alko-yellow);
  color: var(--alko-yellow);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: var(--alko-yellow);
}

.sidebar img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* === TYTUŁY ARTYKUŁÓW === */
.article-title a,
.item-title a,
.blog-title a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--alko-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  background-color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
}

/* === TREŚĆ ARTYKUŁÓW === */
.article-content,
.item-content,
.blog-content,
.item-page {
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: 1.5px;
  color: #fff;
  background-color: transparent;
  font-weight: 400;
  padding: 0;
  margin: 0;
  border: none;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 0.5em 0;
  font-weight: 700;
  color: var(--alko-red);
  letter-spacing: 1px;
}

/* === PRZEGLĄD ARTYKUŁÓW === */
.com-content-category-blog.blog .items-row,
.com-content-category-blog.blog .blog-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

.com-content-category-blog.blog .item,
.com-content-category-blog.blog .blog-item {
  background-color: transparent;
  padding: 20px;
  color: #fff;
  font-family: var(--alko-font);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease;
}

.com-content-category-blog.blog .item:hover,
.com-content-category-blog.blog .blog-item:hover {
  transform: scale(1.02);
}

.com-content-category-blog.blog .item img,
.com-content-category-blog.blog .blog-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: none;
  margin: 0 !important;
}

/* === STOPKA === */
#footer {
  background-color: #333;
  color: var(--alko-yellow);
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  font-weight: 500;
}

.alko-footer-branding {
  margin-top: 10px;
  font-family: var(--alko-font);
}



  
/* === SKALOWANIE ZDJĘĆ W ARTYKUŁACH 
.article-content img,
.item-content img,
.blog-content img,
.item-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;=== */
}

.alko-movie {
  width: 80%;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: var(--alko-yellow);
  color: #000;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none;
}

#scroll-top:hover {
  background-color: #000;
  color: var(--alko-yellow);
  transform: scale(1.1);
}


