/* v2.2 sticky transparent + configurable colors */
.pcd-header { position: sticky; top: 0; z-index: 9999; background: var(--pcd-header-bg, transparent); transition: background .2s ease, box-shadow .2s ease; }
.pcd-header.pcd-scrolled { box-shadow: 0 5px 16px rgba(0,0,0,.08); }
.pcd-header-inner { max-width: var(--pcd-container, 1200px); margin: 0 auto; padding: 10px 16px; }

.pcd-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pcd-nav-left, .pcd-nav-right, .pcd-logo { display: flex; align-items: center; }
.pcd-logo img { max-height: 56px; height: auto; width: auto; }

.pcd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.pcd-menu li { position: relative; }
.pcd-menu a { text-decoration: none; line-height: 1; }

.pcd-menu .menu-item-has-children > a { position: relative; padding-right: 14px; }
.pcd-menu .menu-item-has-children > a::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-60%) rotate(45deg);
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .6;
}

.pcd-menu li ul {
  position: absolute; left: 0; top: 100%;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.06);
  min-width: 220px; display: none; padding: 10px 0; z-index: 10000;
}
.pcd-menu li:hover > ul { display: block; }
.pcd-menu li ul a { display: block; padding: 10px 14px; white-space: nowrap; }

.pcd-submenu-img { position: absolute; top: 100%; width: 320px; height: 180px; background-size: cover; background-position: center; display: none; }
.pcd-submenu-img-left { left: 16px; }
.pcd-submenu-img-right { right: 16px; }
.pcd-header:hover .pcd-submenu-img { display: block; }

.entry-title, .pcd-fancy-title, h1, h2 { color: var(--pcd-title-color, #111111); letter-spacing: .1px; }
.entry-title { font-weight: 700; line-height: 1.15; }

.pcd-footer { background: var(--pcd-footer-bg, transparent); }
.pcd-footer-inner { max-width: var(--pcd-container, 1200px); margin: 0 auto; padding: 24px 16px; }
.pcd-footer-menu { list-style: none; display: flex; gap: 16px; margin: 10px 0; padding: 0; }

.pcd-carousel { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.pcd-slide { min-width: min(90vw, 680px); scroll-snap-align: start; }
.pcd-slide .title { margin: 10px 0 6px; }
.pcd-slide .btn-read { display: inline-block; padding: 8px 12px; border: 1px solid currentColor; text-decoration: none; border-radius: 4px; }

@media (max-width: 992px) {
  .pcd-nav { flex-wrap: wrap; row-gap: 12px; }
  .pcd-logo { order: 2; width: 100%; justify-content: center; display:flex; }
  .pcd-nav-left, .pcd-nav-right { order: 1; width: 50%; }
  .pcd-menu { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 640px) {
  .pcd-nav-left, .pcd-nav-right { width: 100%; justify-content: center; }
}
