@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
:root {
  --bg-beige:#eae5d4;
  --bg-teal:#82abaa;
  --bg-teal-card:#a3c5c4;
  --bg-dark:#322e2b;
  --accent-red:#c94b34;
  --text-dark:#292623;
  --text-muted:#5e5954;
  --teal-light:#9bc2c1;
}
html {
  height:100%;
}
body {
  font-family:'Lora',Georgia,serif;
  background-color:var(--bg-dark);
  color:var(--text-dark);
  margin:0;
  padding:0;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  min-width:320px;
}
h1,h2,h3,h4,h5,h6,.nav-main,.sub-nav {
  font-family:'Playfair Display',Georgia,serif;
}
.header-beige {
  background:var(--bg-beige) url('/assets/images/navbar-bg.png') repeat;
  background-attachment:fixed;
  height:105px;
  position:relative;
  z-index:10;
  box-shadow:0 1px 3px rgba(0,0,0,0.08);
  flex-shrink:0;
}
.logo-container {
  position:absolute;
  top:10px;
  left:6%;
  width:190px;
  height:190px;
  border-radius:50%;
  background:var(--bg-beige) url('/assets/images/navbar-bg.png') repeat;
  background-attachment:fixed;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:25;
  text-decoration:none;
  transition:transform 0.25s ease,box-shadow 0.25s ease;
}
.logo-img {
  width:172px;
  height:auto;
  display:block;
}
.nav-main {
  height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding-left:clamp(90px,calc(340px - 15vw),210px);
  gap:clamp(0.15rem,0.5vw,0.5rem);
  white-space:nowrap;
}
.nav-flourish {
  color:#423d38;
  font-size:clamp(1.1rem,0.6vw + 0.8rem,1.6rem);
  line-height:1;
  margin:0 clamp(4px,0.6vw,12px);
  opacity:0.85;
  user-select:none;
  flex-shrink:0;
}
.nav-link-custom {
  color:var(--accent-red);
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.45rem;
  font-weight:600;
  text-decoration:none;
  padding:4px clamp(8px,0.8vw,18px);
  transition:all 0.25s ease;
  letter-spacing:clamp(0.1px,0.04vw,0.3px);
  text-shadow:0 1px 1px rgba(255,255,255,0.6);
  white-space:nowrap;
}
.nav-link-custom:hover {
  color:#a33b28;
}
.nav-link-custom.active {
  color:var(--accent-red);
  text-shadow:0 1px 2px rgba(201,75,52,0.25);
}
.mobile-nav-toggler {
  position:absolute;
  top:29px;
  right:18px;
  z-index:30;
  background:var(--bg-beige) url('/assets/images/navbar-bg.png') repeat;
  background-attachment:fixed;
  border:1px solid rgba(66,61,56,0.3);
  border-radius:4px;
  color:var(--accent-red);
  font-size:1.85rem;
  line-height:1;
  padding:6px 10px;
  box-shadow:0 2px 5px rgba(0,0,0,0.12);
  transition:all 0.2s ease;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.mobile-nav-toggler .bi-list::before {
  font-size:40px;
}
.mobile-nav-toggler:hover,
.mobile-nav-toggler:focus {
  color:#a33b28;
  border-color:var(--accent-red);
  box-shadow:0 3px 8px rgba(0,0,0,0.2);
  outline:none;
}
.mobile-offcanvas {
  background:var(--bg-beige) url('/assets/images/navbar-bg.png') repeat;
  background-attachment:fixed;
  width:290px;
  box-shadow:-4px 0 20px rgba(0,0,0,0.35);
  border-left:2px solid rgba(66,61,56,0.2);
  opacity:0.96;
}
.mobile-offcanvas .btn-close {
  font-size:30px;
}
.vintage-offcanvas-title {
  font-family:'Playfair Display',Georgia,serif;
  color:var(--accent-red);
  font-weight:700;
  font-size:1.45rem;
  letter-spacing:0.5px;
  display:flex;
  align-items:center;
  gap:8px;
}
.mobile-nav-list {
  display:flex;
  flex-direction:column;
  gap:0.75rem;
}
.mobile-nav-link {
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.35rem;
  font-weight:600;
  color:var(--accent-red);
  text-decoration:none;
  padding:18px 18px;
  letter-spacing:0.5px;
  border-radius:4px;
  transition:all 0.2s ease;
  display:flex;
  align-items:center;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color:#a33b28;
  background-color:rgba(66,61,56,0.08);
}
.offcanvas-watermark-img {
  width:140px;
  height:auto;
  opacity:0.8;
  filter:grayscale(0.5);
}
main,.main-teal {
  background:var(--bg-teal) url('/assets/images/content-bg.png') repeat;
  background-attachment:fixed;
  min-height:580px;
  padding-top:55px;
  padding-bottom:170px;
  position:relative;
  flex:1 0 auto;
}
.sub-nav,.sub-nav-nodecor {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:2.5rem;
  margin-bottom:2.8rem;
}
.sub-nav-nodecor a {
  border:3px solid rgba(255,255,255,0.32);
}
.sub-nav-nodecor a:hover {
  border:3px solid rgba(0,0,0,0.32);
}
.sub-nav-nodecor a.palyazat {
  max-width:600px;
}
.sub-nav a {
  color:#ffffff;
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.35rem;
  font-weight:500;
  letter-spacing:0.5px;
  text-decoration:none;
  padding:6px 20px;
  position:relative;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  transition:all 0.25s ease;
  text-align:center;
}
.sub-nav a::before,
.sub-nav a::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:3px;
  border-top:1px solid rgba(255,255,255,0.45);
  border-bottom:1px solid rgba(255,255,255,0.45);
}
.sub-nav a::before {
  top:0;
}
.sub-nav a::after {
  bottom:0;
}
.sub-nav a:hover,
.sub-nav a.active {
  color:#ffffff;
  background-color:rgba(255,255,255,0.08);
}
.page-title-container {
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:2.8rem;
}
.page-title-banner {
  color:#ffffff;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(1.4rem,2.2vw,1.85rem);
  font-weight:600;
  letter-spacing:0.8px;
  padding:6px 32px;
  position:relative;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
  text-align:center;
  margin:0;
  display:inline-block;
}
.page-title-banner::before,
.page-title-banner::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  height:3px;
  border-top:1px solid rgba(255,255,255,0.45);
  border-bottom:1px solid rgba(255,255,255,0.45);
}
.page-title-banner::before {
  top:0;
}
.page-title-banner::after {
  bottom:0;
}
.custom-card {
  background-color:var(--bg-teal-card);
  border:1px solid rgba(255,255,255,0.4);
  box-shadow:0 4px 10px rgba(0,0,0,0.12),inset 0 0 0 1px rgba(0,0,0,0.05);
  padding:12px;
  transition:transform 0.25s ease,box-shadow 0.25s ease;
}
.custom-card:hover {
  box-shadow:
    0 8px 16px rgba(0,0,0,0.16),
    inset 0 0 0 1px rgba(0,0,0,0.05);
}
.custom-card .card-title {
  color:var(--accent-red);
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.15rem;
  font-weight:700;
  line-height:1.3;
  margin-bottom:8px;
}
.custom-card .card-text {
  font-family:'Lora',serif;
  font-size:0.9rem;
  font-style:italic;
  color:#2b2724;
  line-height:1.45;
  margin-bottom:12px;
}
.custom-card .card-date {
  color:var(--accent-red);
  font-family:'Lora',serif;
  font-size:0.85rem;
  font-style:italic;
  text-align:right;
  display:block;
  margin-bottom:14px;
}
.btn-fb-share {
  background:linear-gradient(180deg,#ffffff 0%,#f0f0f0 100%);
  border:1px solid #c2c2c2;
  box-shadow:0 1px 2px rgba(0,0,0,0.06);
  color:#4f4b48;
  font-family:'Lora',serif;
  font-size:0.78rem;
  font-weight:600;
  padding:3px 10px;
  border-radius:2px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:5px;
  float:right;
  transition:all 0.2s ease;
}
.btn-fb-share:hover {
  background:#ffffff;
  border-color:#a8a8a8;
  color:#1a1a1a;
}
.btn-fb-share i {
  color:#3b5998;
  font-weight:bold;
}
.pagination-arrows {
  margin-top:42px;
  text-align:center;
  color:#ffffff;
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.2rem;
  font-style:italic;
  text-shadow:0 1px 2px rgba(0,0,0,0.35);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:2.5rem;
}
.pagination-arrows a {
  color:#ffffff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:opacity 0.2s;
}
.pagination-arrows a:hover {
  opacity:0.8;
  text-decoration:underline;
}
.pagination-flourish {
  font-size:1.4rem;
  color:rgba(255,255,255,0.85);
  font-style:normal;
}
.footer-fading-slideshow {
  position:absolute;
  bottom:0;
  right:4%;
  width:440px;
  height:380px;
  pointer-events:none;
  z-index:20;
}
.footer-slide-img {
  position:absolute;
  bottom:0;
  right:0;
  width:100%;
  height:auto;
  max-height:100%;
  object-fit:contain;
  object-position:bottom right;
  opacity:0;
}
.footer-slide-img.slide-1 {
  animation:footerCrossfade1 12s infinite ease-in-out;
  bottom:100px;
}
.footer-slide-img.slide-2 {
  animation:footerCrossfade2 12s infinite ease-in-out;
  bottom:100px;
}
.footer-slide-img.slide-3 {
  animation:footerCrossfade3 12s infinite ease-in-out;
  bottom:97px;
}
@keyframes footerCrossfade1 {
  0%,28%{opacity:1;}
  33%,95% {opacity:0;}
  100% {opacity:1;}
}
@keyframes footerCrossfade2 {
  0%,28% {opacity:0;}
  33%,61% {opacity:1;}
  66%,100% {opacity:0;}
}
@keyframes footerCrossfade3 {
  0%,61% {opacity:0;}
  66%,95% {opacity:1;}
  100% {opacity:0;}
}
.footer-dark {
  background:url('/assets/images/footer-bg.png') repeat-x top center;
  color:#b5b0a8;
  margin-top:-24px;
  padding:30px 0 25px 0;
  position:relative;
  flex-shrink:0;
}
.footer-dark .container {
  position:relative;
  z-index:30;
}
.footer-title {
  color:var(--teal-light);
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.35rem;
  font-weight:600;
  margin-bottom:22px;
  letter-spacing:0.5px;
}
.contact-list {
  list-style:none;
  padding:0;
  margin:0;
}
.contact-list li {
  margin-bottom:15px;
  display:flex;
  align-items:flex-start;
  font-size:0.95rem;
  color:#ccc7bd;
  line-height:22px;
}
.contact-list i {
  font-size:1.3rem;
  margin-right:14px;
  color:#dfdbd1;
  width:22px;
  text-align:center;
  flex-shrink:0;
}
.news-list {
  list-style:none;
  padding:0;
  margin:0;
}
.news-list li {
  margin-bottom:11px;
  font-size:0.88rem;
  line-height:1.4;
  color:#aaa49b;
}
.news-list .news-date {
  color:var(--teal-light);
  font-style:italic;
  margin-right:6px;
  white-space:nowrap;
}
.footer-watermark {
  position:relative;
  z-index:35;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}
.footer-watermark-img {
  width:155px;
  height:auto;
  opacity:0.6;
  filter:grayscale(1) invert(0.8) brightness(1.2);
  display:block;
  animation:logoFloat 8s ease-in-out infinite;
  will-change:transform;
}
@keyframes logoFloat {
  0%,100% {transform:translateY(0px) rotate(0deg);}
  50% {transform:translateY(-8px) rotate(0.8deg);}
}
.footer-bottom-bar {
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:0px;
  padding-top:20px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
}
.powered-by-text {
  color:var(--accent-red);
  font-size:0.85rem;
  font-weight:600;
  margin-right:6px;
}
.vt-badge {
  background:#ffffff;
  color:#1a1a1a;
  padding:2px 8px;
  font-weight:800;
  font-size:0.9rem;
  letter-spacing:0.5px;
  border-radius:2px;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.vt-badge span {
  font-weight:400;
}
.pixelberry-badge {
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  opacity:1;
}
.pixelberry-img {
  height:24px;
  width:auto;
  display:block;
}
@media (max-width:1280px) {
  .footer-fading-slideshow {
    width:clamp(280px,32vw,380px);
    height:310px;
  }
}
@media (max-width:320px) {
  .custom-card {
    padding:0.5rem !important;
  }
}
@media (max-width:991px) {
  .logo-container {
    left:50%;
    transform:translateX(-50%);
    top:10px;
  }
  .header-beige {
    height:120px;
  }
  .nav-main {
    display:none;
  }
  .header-gramophone {
    display:none;
  }
  .main-teal {
    padding-top:90px;
    padding-bottom:50px;
  }
  .footer-fading-slideshow {
    display:none;
  }
}
