/* ── PAGE SHELL ──────────────────────────────────────────────── */
  a { color: #5a9fd4; text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* ── PAGE WRAPPER ──────────────────────────────────────────────── */
    .cpd-page {
      max-width: 1100px;
      margin: 0 auto;
      padding: 28px 24px 80px;
    }

    /* ── LOADING ───────────────────────────────────────────────────── */
    .cpd-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      padding: 120px 20px;
      color: #888;
    }

    .cpd-spinner {
      width: 36px;
      height: 36px;
      border: 3px solid #333;
      border-top-color: #5a9fd4;
      border-radius: 50%;
      animation: spin 0.75s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── ERROR ─────────────────────────────────────────────────────── */
    .cpd-error {
      background: #2a1515;
      border: 1px solid #553333;
      color: #ffaaaa;
      padding: 24px;
      font-size: 13px;
      line-height: 1.7;
    }

    .cpd-error code {
      background: rgba(255,255,255,0.1);
      padding: 2px 6px;
      font-size: 12px;
    }

    /* ── ANIMATED WRAP ─────────────────────────────────────────────── */
    .cpd-wrap {
      animation: fadein 0.3s ease;
    }

    @keyframes fadein {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── HEADER ────────────────────────────────────────────────────── */
    .cpd-header {
      margin-bottom: 18px;
    }

    .cpd-cat {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #5a9fd4;
      margin-bottom: 8px;
    }

    .cpd-title {
      font-size: 22px;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.25;
      margin-bottom: 6px;
    }

    .cpd-loc {
      font-size: 13px;
      color: #888;
      margin-bottom: 14px;
    }

    .cpd-rule {
      height: 1px;
      background: #383838;
    }

    /* ── GALLERY ───────────────────────────────────────────────────── */
    .cpd-gallery {
      margin: 18px 0 28px;
      background: #141414;
      border: 1px solid #333;
    }

    /* Thumbnail bar */
    .cpd-thumb-bar {
      display: flex;
      align-items: center;
      background: #0d0d0d;
      border-bottom: 1px solid #2a2a2a;
      padding: 8px 6px;
      gap: 4px;
    }

    .cpd-tnav {
      flex-shrink: 0;
      width: 26px;
      height: 72px;
      background: transparent;
      border: none;
      color: #666;
      font-size: 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.15s;
      padding: 0;
      line-height: 1;
    }

    .cpd-tnav:hover { color: #ccc; }

    .cpd-thumb-track {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      flex: 1;
      scroll-behavior: smooth;
      scrollbar-width: none;
      padding: 2px 0;
    }

    .cpd-thumb-track::-webkit-scrollbar { display: none; }

    .cpd-thumb {
      flex-shrink: 0;
      width: 96px;
      height: 72px;
      padding: 0;
      border: 2px solid transparent;
      background: #000;
      cursor: pointer;
      overflow: hidden;
      opacity: 0.5;
      transition: opacity 0.18s, border-color 0.18s;
    }

    .cpd-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .cpd-thumb:hover { opacity: 0.8; }

    .cpd-thumb-active {
      border-color: #ffffff;
      opacity: 1;
    }

    /* Main stage */
    .cpd-stage {
      display: flex;
      align-items: center;
      background: #0d0d0d;
      padding: 12px 0;
      position: relative;
    }

    .cpd-arrow {
      flex-shrink: 0;
      width: 48px;
      align-self: stretch;
      background: transparent;
      border: none;
      color: #555;
      font-size: 40px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.15s;
      padding: 0;
      line-height: 1;
      user-select: none;
    }

    .cpd-arrow:hover { color: #dddddd; }

    .cpd-main-wrap {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      min-height: 380px;
    }

    /* Full image — show the whole photo, no cropping */
    .cpd-main-img {
      width: 100%;
      max-height: 560px;
      object-fit: contain;
      display: block;
      transition: opacity 0.18s ease;
    }

    .cpd-fade { opacity: 0; }

    /* Counter badge */
    .cpd-counter {
      position: absolute;
      bottom: 10px;
      right: 14px;
      background: rgba(0,0,0,0.65);
      color: #ccc;
      font-size: 12px;
      padding: 3px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      pointer-events: none;
    }

    .cpd-count-cur { color: #fff; font-weight: 700; }

    /* ── BODY ──────────────────────────────────────────────────────── */
    .cpd-body {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 40px;
      align-items: start;
    }

    @media (max-width: 750px) {
      .cpd-body { grid-template-columns: 1fr; gap: 30px; }
    }

    /* ── DESCRIPTION ───────────────────────────────────────────────── */
    .cpd-section-title {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #5a9fd4;
      margin-bottom: 12px;
    }

    .cpd-desc-text p {
      font-size: 14px;
      color: #c8c8c8;
      line-height: 1.75;
      margin-bottom: 14px;
    }

    .cpd-desc-text p:last-child { margin-bottom: 0; }

    .cpd-desc-text h3.cpd-subhead {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      margin: 20px 0 6px;
    }

    .cpd-no-desc {
      color: #666;
      font-style: italic;
    }

    /* ── SIDEBAR ───────────────────────────────────────────────────── */
    .cpd-sidebar {
      background: #222222;
      border: 1px solid #333;
      padding: 20px 18px;
    }

    .cpd-sidebar .cpd-section-title {
      margin-bottom: 14px;
    }

    .cpd-sidebar-row {
      padding: 10px 0;
      border-bottom: 1px solid #2e2e2e;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .cpd-sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }

    .cpd-sidebar-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #666;
    }

    .cpd-sidebar-value {
      font-size: 13px;
      color: #e0e0e0;
      line-height: 1.4;
    }

    /* ── RESPONSIVE ────────────────────────────────────────────────── */
    @media (max-width: 520px) {
      .cpd-title { font-size: 18px; }
      .cpd-main-wrap { min-height: 240px; }
      .cpd-main-img { max-height: 300px; }
      .cpd-thumb { width: 72px; height: 54px; }
      .cpd-tnav { height: 54px; }
    }


    .hamburger-menu {
    position: fixed;
    top: 20px;
    right: 30px;
    width: 60px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    z-index: 1101;
    background: #00000069;
    padding: 0px 5px;
    font-size: 10px;
        }
        .hamburger-menu span {
            display: block;
            width: 30px;
            height: 3px;
            margin: 3px 0;
            background: #fff !important;
            border-radius: 2px;
            transition: all 0.3s;
            background: #222;
        }
        .side-header {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            height: 100vh;
            background: #232323;
            color: #bdbdbd;
            box-shadow: -2px 0 8px rgba(0,0,0,0.15);
            z-index: 1100;
            transition: right 0.35s cubic-bezier(.77,0,.18,1);
            display: flex;
            flex-direction: column;
        }
        .side-header.open {
            right: 0;
        }
        .side-header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 24px 24px 12px 24px;
            border-bottom: 1px solid #333;
        }
        .side-header-title {
            font-size: 22px;
            color: #bdbdbd;
            font-weight: 500;
        }
        .close-btn {
            font-size: 28px;
            color: #bdbdbd;
            cursor: pointer;
            transition: color 0.2s;
        }
        .close-btn:hover {
            color: #fff;
        }
        .side-header-list {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
        }
        .side-header-list > li {
            border-bottom: 1px solid #292929;
        }
        .side-header-list > li > a {
            display: block;
            color: #bdbdbd;
            text-decoration: none;
            padding: 16px 28px;
            font-size: 16px;
            transition: background 0.2s, color 0.2s;
        }
        .side-header-list > li > a:hover, .side-header-list > li.active > a {
            background: #444;
            color: #fff;
        }
        .has-children > .toggle-children {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
        }
        .has-children .arrow {
            margin-left: 10px;
            font-size: 14px;
            transition: transform 0.3s;
        }
        .has-children.open .arrow {
            transform: rotate(90deg);
        }
        .children-list {
            list-style: none;
            padding: 0 0 0 18px;
            margin: 0;
            background: #232323;
            display: none;
        }
        .has-children.open .children-list {
            display: block;
        }
        .children-list li a {
            display: block;
            color: #bdbdbd;
            text-decoration: none;
            padding: 12px 18px;
            font-size: 15px;
            transition: background 0.2s, color 0.2s;
        }
        .children-list li a:hover {
            background: #444;
            color: #fff;
        }
        @media (max-width: 400px) {
            .side-header {
                width: 100vw;
            }
        }
        