﻿/*
Theme Name: CirkevnÃ¡ Hudba
Theme URI: https://www.cirkevnahudba.sk
Author: ...
Version: 1.1
*/

body {
  margin: 0;
  font-family: "Georgia", serif;
  background: #2b1a16;
  color: #f5e9d8;
}

a { color: #f3c26b; text-decoration: none; }
a:hover { text-decoration: underline; }

#page {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(59, 36, 29, 0.92);
  backdrop-filter: blur(2px);
}

#header {
  padding: 20px 30px;
  background: #4b2e24;
  border-bottom: 3px solid #8b5a3c;
}

#header h1 a {
  color: #f5e9d8;
  font-size: 26px;
  text-decoration: none;
}

#utilities, #submenu {
  background: #5b3628;
  padding: 5px 30px;
}

#utilities ul,
#submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
    margin: 0;
    display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

#utilities a, #submenu a {
  color: #f5e9d8;
  font-size: 14px;
}

.wrapper {
  display: flex;
  padding: 20px 30px;
}

#primary {
  flex: 3;
  margin-right: 30px;
}

.nodeTitle a {
  color: #f3c26b;
  font-size: 22px;
}

h2.nodeTitle {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
  color: #f3c26b;
  border-bottom: 1px solid #8b5a3c;
  padding-bottom: 5px;
}

.node {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #8b5a3c;
}

.breadcrumbs {
  font-size: 14px;
  color: #f3c26b;
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: #f3c26b;
}

/* SIDEBAR */

.rsidebar {
    width: 220px;
    margin-left: 20px;
}

.rsidebar .defaultblock {
    background: #5b3628;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.rsidebar h2 {
    color: #f5e9d8;
    font-size: 16px;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #f5e9d8;
}

.rsidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rsidebar ul li {
    margin-bottom: 5px;
}

.rsidebar ul li a {
    display: block;
    background: #7a4b3a;
    padding: 6px 10px;
    border-radius: 4px;
    color: #f5e9d8;
    font-weight: bold;
    text-decoration: none;
}

.rsidebar ul li a:hover {
    background: #8d5a48;
}

/* MENU */

#submenu .links li {
    display: inline-block;
    margin-right: 10px;
}

#submenu .links li a {
    background: #5b3628;
    padding: 6px 12px;
    border-radius: 4px;
    color: #f5e9d8;
    font-weight: bold;
    text-decoration: none;
}

#submenu .links li a:hover {
    background: #8d5a48;
}

#utilities .links li {
    display: inline-block;
    margin-right: 8px;
}

#utilities .links li a {
    color: #f5e9d8;
    text-decoration: none;
    font-size: 14px;
}

#utilities .links li a:hover {
    text-decoration: underline;
}

/* GALÃ‰RIA */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid #8b5a3c;
}

/* VIDEO */

#bgvideo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.7);
}

/* RESPONZÃVNY DIZAJN */

@media (max-width: 900px) {
  .wrapper {
    flex-direction: column;
    padding: 15px;
  }

  #primary {
    margin-right: 0;
  }

  .rsidebar {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

  #header {
    padding: 15px;
  }

  #header h1 a {
    font-size: 20px;
  }

  #utilities, #submenu {
    padding: 8px 15px;
  }
}

@media (max-width: 600px) {
  #utilities ul,
  #submenu ul {
    flex-direction: column;
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  body {
    font-size: 15px;
  }

  .nodeTitle a,
  h2.nodeTitle {
    font-size: 20px;
  }
}

/* Barba fade transitions */
[data-barba="container"] {
    opacity: 1;
    transition: opacity .4s ease;
}

.gallery-grid a {
    display: block;
}

.gallery-grid img {
    transition: transform .2s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* FRONT PAGE & ARCHIVE */

.node {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #8b5a3c;
}

.nodeTitle a {
    color: #f3c26b;
    font-size: 22px;
}

.nodeTitle {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: #f3c26b;
    border-bottom: 1px solid #8b5a3c;
    padding-bottom: 5px;
}

.breadcrumbs {
    font-size: 14px;
    color: #f3c26b;
    margin-bottom: 10px;
}

.excerpt {
    color: #f5e9d8;
    font-size: 16px;
    line-height: 1.5;
}

/* PAGINATION */

.pagination {
    margin-top: 30px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pagination a,
.pagination span {
    background: #5b3628;
    color: #f5e9d8;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a:hover {
    background: #8d5a48;
}

/* GALÃ‰RIA GRID (single-galeria.php) */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid #8b5a3c;
    transition: transform .2s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.poweredby {
    margin-top: 10px;
    font-size: 13px;
    color: #f5e9d8;
}
.poweredby a {
    color: #f3c26b;
    text-decoration: none;
}
.poweredby a:hover {
    text-decoration: underline;
}

/* POWERED BY WORDPRESS â€“ GOLD VERSION */
.poweredby {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #f3c26b;
}

.poweredby .wp-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8b5a3c;
    color: #f5e9d8;
    font-weight: bold;
    font-family: Georgia, serif;
    font-size: 16px;
    border: 1px solid #f3c26b;
    box-shadow: 0 0 4px rgba(243, 194, 107, 0.4);
}

.poweredby .wp-text {
    color: #f3c26b;
    font-size: 14px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: #5b3628;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.gallery-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid #8b5a3c;
}

.no-thumb {
    width: 100%;
    height: 140px;
    background: #7a4b3a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5e9d8;
    font-size: 14px;
}

.gallery-title {
    color: #f3c26b;
    font-size: 18px;
    margin: 10px 0 5px 0;
}

.gallery-meta {
    font-size: 14px;
    color: #f5e9d8;
}
/* FORCE BIG LOGOS */
.header-flex img.logo-left,
.header-flex img.logo-right {
    height: 400px !important;   /* nastav si vÃ½Å¡ku, akÃº chceÅ¡ */
    width: auto !important;
    max-height: none !important;
    flex-shrink: 0 !important;  /* zabrÃ¡ni zmenÅ¡ovaniu vo flexboxe */
}

.pagination ul,
.pagination ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    justify-content: flex-start;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    background: #5b3628;
    color: #f5e9d8;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.pagination li a:hover {
    background: #8d5a48;
}

.excerpt {
    color: #f5e9d8;
    font-size: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* poÄet riadkov */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt:after {
    content: none !important;
    display: none !important;
}



