:root {
  --ttpa-red: #d60302;
  --ttpa-red-dark: #9f0202;
  --ttpa-ivory: #fffaf3;
  --ttpa-satin: #fffdf8;
  --ttpa-gold: #b58a45;
  --ttpa-charcoal: #211b18;
  --ttpa-muted: #766960;
  --ttpa-line: rgba(181, 138, 69, 0.20);
  --ttpa-shadow: 0 34px 90px rgba(65, 43, 28, 0.18);
}

.ttpa-section,
.ttpa-section * {
  box-sizing: border-box;
}

.ttpa-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(4px, 1.2vw, 14px) 18px clamp(70px, 6vw, 110px);
  background:
    radial-gradient(circle at 12% 6%, rgba(214, 3, 2, 0.08), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(181, 138, 69, 0.14), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #fffdf8 46%, #f5eee4 100%);
  color: var(--ttpa-charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* v0.1.3: Global WordPress / Elementor menu header is no longer hidden by default.
   The shortcode now only renders the album section and preserves the site's normal header. */

.ttpa-album-meta {
  display: none !important;
}

.ttpa-section button,
.ttpa-section input,
.ttpa-section select {
  font-family: inherit;
}

.ttpa-bg {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.55;
}

.ttpa-bg-one {
  top: 90px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: rgba(214, 3, 2, 0.09);
}

.ttpa-bg-two {
  right: -150px;
  bottom: 110px;
  width: 450px;
  height: 450px;
  background: rgba(181, 138, 69, 0.14);
}

.ttpa-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1380px);
  margin: 0 auto;
}

.ttpa-album-card {
  width: 100%;
}

.ttpa-album-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding: 0 8px;
}

.ttpa-album-meta span,
.ttpa-trust-title span,
.ttpa-inquiry-copy span {
  display: block;
  color: var(--ttpa-gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ttpa-album-meta strong {
  display: block;
  margin-top: 5px;
  color: #2c221d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.ttpa-album-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 520px;
}

.ttpa-album-hints span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(181, 138, 69, 0.19);
  border-radius: 999px;
  color: #756457;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 8px 22px rgba(67, 45, 29, 0.05);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.ttpa-album-hints i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ttpa-red);
  box-shadow: 0 0 0 5px rgba(214, 3, 2, 0.08);
}

.ttpa-stage {
  position: relative;
  height: clamp(590px, 43vw, 680px);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 69, 0.16);
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(70, 41, 27, 0.14), transparent 13%),
    linear-gradient(135deg, #fdf4e8 0%, #fffdf8 34%, #f6eadb 100%);
  box-shadow: var(--ttpa-shadow);
  perspective: 1900px;
  transform-style: preserve-3d;
}

.ttpa-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 7;
  pointer-events: none;
  border: 1px solid rgba(181, 138, 69, 0.15);
  border-radius: 28px;
}

.ttpa-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 14%, rgba(255,255,255,0.82), transparent 30%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.32) 43%, transparent 62%);
  mix-blend-mode: screen;
}

.ttpa-left-slice {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 8.5%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(61, 39, 25, 0.16), transparent 40%),
    linear-gradient(135deg, #f4e7d7, #fffbf3 56%, #eee1ce);
  box-shadow: inset -22px 0 38px rgba(73, 44, 24, 0.11);
}

.ttpa-left-lines {
  position: absolute;
  inset: 24px 0 24px 18px;
  border: 1px solid rgba(181, 138, 69, 0.18);
  border-right: 0;
  border-radius: 24px 0 0 24px;
  opacity: 0.76;
}

.ttpa-left-mark {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(181, 138, 69, 0.20);
  border-radius: 17px;
  color: rgba(214, 3, 2, 0.46);
  background: rgba(255,255,255,0.54);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 900;
}

.ttpa-left-word {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  color: rgba(135, 95, 47, 0.56);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.ttpa-spine {
  position: absolute;
  left: 7.3%;
  top: 0;
  z-index: 5;
  width: 5.2%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(66, 44, 30, 0.18) 0%,
      rgba(255,255,255,0.62) 22%,
      rgba(84, 54, 35, 0.20) 44%,
      rgba(255,255,255,0.72) 59%,
      rgba(65, 44, 31, 0.14) 100%);
}

.ttpa-spine span {
  position: absolute;
  top: 7%;
  height: 86%;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(to bottom, transparent, rgba(129, 89, 51, 0.44), transparent);
}

.ttpa-spine span:nth-child(1) { left: 32%; box-shadow: 10px 0 26px rgba(43,28,18,0.14); }
.ttpa-spine span:nth-child(2) { left: 50%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.92), transparent); }
.ttpa-spine span:nth-child(3) { left: 68%; box-shadow: -10px 0 26px rgba(255,255,255,0.58); }

.ttpa-right-area {
  position: absolute;
  top: 28px;
  right: 28px;
  bottom: 28px;
  left: 11.2%;
  z-index: 4;
  transform-style: preserve-3d;
}

.ttpa-page-depth {
  position: absolute;
  top: 14px;
  right: -10px;
  bottom: 14px;
  z-index: 1;
  width: 40px;
  pointer-events: none;
  opacity: 0.68;
}

.ttpa-page-depth i {
  position: absolute;
  top: calc(var(--n, 0) * 8px);
  right: calc(var(--n, 0) * -2px);
  width: 34px;
  height: calc(100% - calc(var(--n, 0) * 14px));
  border-right: 1px solid rgba(127, 87, 47, 0.18);
  border-radius: 0 24px 24px 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.22), rgba(126, 94, 58, 0.08));
}

.ttpa-page-depth i:nth-child(1) { --n: 1; }
.ttpa-page-depth i:nth-child(2) { --n: 2; }
.ttpa-page-depth i:nth-child(3) { --n: 3; }
.ttpa-page-depth i:nth-child(4) { --n: 4; }
.ttpa-page-depth i:nth-child(5) { --n: 5; }

.ttpa-page,
.ttpa-page-turner,
.ttpa-turn-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 15px 30px 30px 15px;
}

.ttpa-page,
.ttpa-turn-face {
  border: 1px solid rgba(181, 138, 69, 0.20);
  background:
    radial-gradient(circle at 21% 12%, rgba(255,255,255,0.98), transparent 26%),
    linear-gradient(135deg, #fffefa 0%, #fff8ee 50%, #f8ead7 100%);
  box-shadow:
    0 30px 70px rgba(61, 40, 26, 0.16),
    inset 12px 0 28px rgba(82, 54, 32, 0.08),
    inset -10px 0 18px rgba(255,255,255,0.62);
}

.ttpa-page-base {
  z-index: 3;
}

.ttpa-page::before,
.ttpa-turn-face::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(181, 138, 69, 0.19);
  border-radius: 12px 24px 24px 12px;
  pointer-events: none;
}

.ttpa-page::after,
.ttpa-turn-face::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 38px;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  background: linear-gradient(90deg, rgba(55, 37, 25, 0.20), rgba(255,255,255,0.62), transparent);
}

.ttpa-page-turner {
  z-index: 9;
  display: none;
  transform-style: preserve-3d;
  transform-origin: left center;
  pointer-events: none;
}

.ttpa-page-turner.is-turning {
  display: block;
  animation: ttpaTurnPage 1.65s cubic-bezier(0.18, 0.74, 0.18, 1) forwards;
}

.ttpa-turn-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.ttpa-turn-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.ttpa-turn-back {
  z-index: 1;
  transform: rotateY(180deg);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28), transparent 18%),
    radial-gradient(circle at 74% 28%, rgba(255,255,255,0.94), transparent 34%),
    linear-gradient(135deg, #fbf0e0 0%, #fffdf8 45%, #f4e5cf 100%) !important;
}

.ttpa-back-pattern {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(181, 138, 69, 0.18);
  border-radius: 12px 24px 24px 12px;
}

.ttpa-back-pattern::before {
  content: "TRIPTADKA";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(181, 138, 69, 0.26);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 900;
  letter-spacing: 0.22em;
}

@keyframes ttpaTurnPage {
  0% {
    transform: rotateY(0deg) translateZ(2px);
    filter: brightness(1);
  }
  24% {
    transform: rotateY(-32deg) translateZ(22px);
    filter: brightness(1.03);
  }
  52% {
    transform: rotateY(-92deg) translateZ(42px);
    filter: brightness(0.99);
  }
  78% {
    transform: rotateY(-146deg) translateZ(18px);
    filter: brightness(0.93);
  }
  100% {
    transform: rotateY(-179deg) translateZ(3px);
    filter: brightness(0.86);
  }
}

.ttpa-page-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: stretch;
  height: 100%;
  padding: clamp(36px, 4.3vw, 62px) clamp(36px, 5vw, 74px) clamp(42px, 4.8vw, 72px);
}

.ttpa-page-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 69, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(214, 3, 2, 0.075), transparent 44%),
    radial-gradient(circle at center, rgba(181, 138, 69, 0.18), transparent 52%),
    linear-gradient(145deg, #fffaf0, #f6ead8);
  box-shadow: inset 0 0 0 1px rgba(181, 138, 69, 0.10), 0 20px 52px rgba(95, 69, 41, 0.10);
}

.ttpa-page-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(181, 138, 69, 0.16);
  border-radius: 23px;
}

.ttpa-art-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(126px, 12vw, 190px);
  height: clamp(126px, 12vw, 190px);
  border: 1px solid rgba(181, 138, 69, 0.25);
  border-radius: 50%;
  color: var(--ttpa-red);
  background: rgba(255,255,255,0.60);
  box-shadow: 0 25px 60px rgba(101, 72, 41, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.6vw, 110px);
  font-weight: 900;
  line-height: 1;
}

.ttpa-art-icon small {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(117, 86, 52, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ttpa-page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 700px;
}

.ttpa-page-number {
  color: var(--ttpa-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 900;
}

.ttpa-page-number::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 13px 0 22px;
  background: linear-gradient(90deg, var(--ttpa-gold), transparent);
}

.ttpa-page-title {
  margin: 0;
  color: #352b27;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.45vw, 72px);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.ttpa-page-title span {
  color: var(--ttpa-red);
}

.ttpa-page-text {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--ttpa-muted);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 620;
  line-height: 1.7;
}

.ttpa-page-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ttpa-page-points li {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(181, 138, 69, 0.17);
  border-radius: 999px;
  color: #4a3d36;
  background: rgba(255,255,255,0.66);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 850;
}

.ttpa-page-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.ttpa-main-cta,
.ttpa-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.ttpa-main-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ttpa-red), var(--ttpa-red-dark));
  box-shadow: 0 18px 38px rgba(214, 3, 2, 0.24);
}

.ttpa-secondary-cta {
  display: none !important;
}

.ttpa-hotspot {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  display: block;
  width: 18%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: transparent !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  opacity: 0 !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.ttpa-hotspot::before,
.ttpa-hotspot::after {
  display: none !important;
  content: none !important;
}

.ttpa-hotspot:hover,
.ttpa-hotspot:focus,
.ttpa-hotspot:active {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.ttpa-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 0 16px;
}

.ttpa-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(181, 138, 69, 0.22);
  border-radius: 50%;
  color: var(--ttpa-red);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 14px 34px rgba(79, 51, 30, 0.10);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ttpa-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(79, 51, 30, 0.15);
}

.ttpa-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ttpa-dot {
  width: 48px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(114, 92, 73, 0.22);
  cursor: pointer;
  transition: 0.26s ease;
}

.ttpa-dot.is-active {
  width: 78px;
  background: var(--ttpa-red);
  box-shadow: 0 0 0 5px rgba(214, 3, 2, 0.08);
}

.ttpa-trust-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding: 34px;
  border: 1px solid rgba(181, 138, 69, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 58px rgba(66, 44, 31, 0.07);
  backdrop-filter: blur(16px);
}

.ttpa-trust-title h2 {
  margin: 10px 0 0;
  color: #271f1b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ttpa-trust-title b {
  color: var(--ttpa-red);
  font-weight: 900;
}

.ttpa-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ttpa-trust-grid div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(181, 138, 69, 0.15);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.74);
}

.ttpa-trust-grid strong {
  display: block;
  color: #312822;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.14;
}

.ttpa-trust-grid small {
  display: block;
  margin-top: 10px;
  color: var(--ttpa-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.ttpa-inquiry {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 12%, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, #221915 0%, #4a1412 56%, #160f0d 100%);
  box-shadow: 0 30px 70px rgba(44, 28, 20, 0.20);
}

.ttpa-inquiry-copy h3 {
  margin: 10px 0 0;
  max-width: 510px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ttpa-inquiry-copy p {
  margin: 14px 0 0;
  max-width: 470px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.7;
}

.ttpa-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

.ttpa-form input,
.ttpa-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  outline: none;
  padding: 0 15px;
  color: #fff;
  background: rgba(255,255,255,0.11);
  font-size: 14px;
  font-weight: 650;
}

.ttpa-form input::placeholder {
  color: rgba(255,255,255,0.66);
}

.ttpa-form select {
  color: rgba(255,255,255,0.72);
}

.ttpa-form option {
  color: #222;
}

.ttpa-form button {
  grid-column: 1 / -1;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--ttpa-red), var(--ttpa-red-dark));
  box-shadow: 0 18px 36px rgba(214, 3, 2, 0.25);
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
}

@media (max-width: 1200px) {
  .ttpa-page-inner {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
    padding: 42px 48px;
  }

  .ttpa-page-title {
    font-size: clamp(40px, 5vw, 64px);
  }

  .ttpa-trust-row,
  .ttpa-inquiry {
    grid-template-columns: 1fr;
  }

  .ttpa-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ttpa-section {
    padding: 18px 10px 42px;
  }

  .ttpa-album-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ttpa-album-hints {
    justify-content: flex-start;
  }

  .ttpa-stage {
    height: auto;
    min-height: 790px;
    border-radius: 28px;
  }

  .ttpa-left-slice {
    width: 9.5%;
  }

  .ttpa-spine {
    left: 8.2%;
    width: 7.5%;
  }

  .ttpa-right-area {
    left: 14%;
    top: 18px;
    right: 16px;
    bottom: 18px;
  }

  .ttpa-page-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding: 40px 26px 62px;
  }

  .ttpa-page-art {
    min-height: 220px;
  }

  .ttpa-page-points,
  .ttpa-form {
    grid-template-columns: 1fr;
  }

  .ttpa-trust-row,
  .ttpa-inquiry {
    padding: 22px;
    border-radius: 26px;
  }

  .ttpa-trust-grid {
    grid-template-columns: 1fr;
  }

  .ttpa-dot {
    width: 28px;
  }

  .ttpa-dot.is-active {
    width: 48px;
  }
}

@media (max-width: 560px) {
  .ttpa-stage {
    min-height: 850px;
  }

  .ttpa-left-word,
  .ttpa-left-mark {
    display: none;
  }

  .ttpa-page-title {
    font-size: 38px;
  }

  .ttpa-controls {
    gap: 10px;
  }

  .ttpa-arrow {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttpa-page-turner.is-turning {
    animation-duration: 0.01ms;
  }
}

/* v0.1.4 refinements
   - First album page uses the supplied Partner With Us cover layout with company logo.
   - Bottom navigation arrows/buttons removed.
   - Page turn is now a single arrow circle inside the album at right bottom.
*/

.ttpa-controls,
.ttpa-arrow,
.ttpa-dots,
.ttpa-dot,
.ttpa-page-cta-row,
.ttpa-main-cta,
.ttpa-secondary-cta,
.ttpa-hotspot {
  display: none !important;
}

.ttpa-album-card {
  position: relative;
}

.ttpa-stage {
  margin-bottom: 0 !important;
}

.ttpa-cover-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 5vw, 78px) clamp(42px, 5.8vw, 92px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.38), rgba(246,232,211,0.18));
}

.ttpa-cover-inner::before {
  content: "";
  position: absolute;
  inset: clamp(30px, 3.4vw, 48px);
  z-index: -1;
  border: 1px solid rgba(181, 138, 69, 0.38);
  border-radius: 10px 24px 24px 10px;
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,0.28),
    inset 0 0 44px rgba(181, 138, 69, 0.055);
}

.ttpa-cover-inner::after {
  content: "";
  position: absolute;
  inset: clamp(40px, 4.4vw, 62px);
  z-index: -1;
  border: 1px solid rgba(181, 138, 69, 0.16);
  border-radius: 6px 18px 18px 6px;
}

.ttpa-cover-corners::before,
.ttpa-cover-corners::after {
  content: "✦";
  position: absolute;
  color: rgba(181, 138, 69, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1;
}

.ttpa-cover-corners::before {
  top: clamp(34px, 3.7vw, 54px);
  left: clamp(36px, 4vw, 60px);
}

.ttpa-cover-corners::after {
  right: clamp(36px, 4vw, 60px);
  bottom: clamp(34px, 3.7vw, 54px);
}

.ttpa-cover-logo-wrap {
  width: min(54%, 360px);
  margin: 0 auto clamp(22px, 2.5vw, 34px);
  padding: 0;
}

.ttpa-cover-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(120, 60, 30, 0.10));
}

.ttpa-cover-title {
  margin: 0;
  color: var(--ttpa-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 82px);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.ttpa-cover-subtitle {
  margin-top: clamp(16px, 1.6vw, 24px);
  color: #8a6330;
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ttpa-cover-line {
  width: 72px;
  height: 2px;
  margin: clamp(20px, 2vw, 30px) auto;
  background: linear-gradient(90deg, transparent, rgba(181, 138, 69, 0.74), transparent);
}

.ttpa-cover-copy {
  margin: 0;
  color: #594f49;
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 560;
  line-height: 1.8;
}

.ttpa-cover-footer {
  margin-top: clamp(28px, 3vw, 44px);
  color: var(--ttpa-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ttpa-inside-next {
  position: absolute;
  right: clamp(20px, 2vw, 34px);
  bottom: clamp(20px, 2vw, 34px);
  z-index: 15;
  display: grid !important;
  place-items: center;
  width: clamp(46px, 4vw, 60px);
  height: clamp(46px, 4vw, 60px);
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(181, 138, 69, 0.28) !important;
  border-radius: 999px !important;
  outline: 0 !important;
  color: var(--ttpa-red) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 16px 38px rgba(75, 48, 29, 0.14) !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ttpa-inside-next span {
  display: block;
  transform: translateY(-1px);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
  color: inherit;
}

.ttpa-inside-next:hover,
.ttpa-inside-next:focus-visible {
  transform: translateY(-2px);
  background: #fff !important;
  box-shadow: 0 22px 46px rgba(75, 48, 29, 0.20) !important;
}

.ttpa-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 1.8vw, 28px);
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ttpa-progress-dot {
  display: block;
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: rgba(114, 92, 73, 0.18);
}

.ttpa-progress-dot.is-active {
  width: 54px;
  background: var(--ttpa-red);
  box-shadow: 0 0 0 4px rgba(214, 3, 2, 0.06);
}

.ttpa-page-content {
  padding-bottom: 42px;
}

@media (max-width: 900px) {
  .ttpa-cover-logo-wrap {
    width: min(78%, 300px);
  }

  .ttpa-cover-title {
    font-size: clamp(38px, 10vw, 56px);
  }

  .ttpa-progress {
    bottom: 16px;
  }

  .ttpa-progress-dot {
    width: 24px;
  }

  .ttpa-progress-dot.is-active {
    width: 40px;
  }

  .ttpa-inside-next {
    right: 16px;
    bottom: 16px;
  }
}


/* v0.1.5 final layout cleanup
   - Smaller first-page logo.
   - Removed bottom progress/navigation completely.
   - Reduced album/page border layers so the album stays clean.
   - Preserved only the right-bottom circular page-turn arrow.
*/

.ttpa-section {
  padding-top: clamp(6px, 1vw, 12px) !important;
  padding-bottom: clamp(42px, 4vw, 72px) !important;
}

.ttpa-stage {
  height: clamp(540px, 40vw, 650px) !important;
  min-height: 540px !important;
  border: 1px solid rgba(181, 138, 69, 0.12) !important;
  border-radius: 34px !important;
  box-shadow: 0 28px 76px rgba(65, 43, 28, 0.14) !important;
}

.ttpa-stage::before,
.ttpa-page::before,
.ttpa-turn-face::before,
.ttpa-cover-inner::after {
  display: none !important;
  content: none !important;
}

.ttpa-left-slice {
  width: 6.2% !important;
  opacity: 0.86;
}

.ttpa-left-lines {
  opacity: 0.36 !important;
}

.ttpa-left-mark {
  width: 40px !important;
  height: 40px !important;
  right: 10px !important;
  font-size: 23px !important;
  opacity: 0.62;
}

.ttpa-left-word {
  left: 8px !important;
  opacity: 0.58;
}

.ttpa-spine {
  left: 5.6% !important;
  width: 4.6% !important;
  opacity: 0.86;
}

.ttpa-right-area {
  left: 9.4% !important;
  top: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
}

.ttpa-page-depth {
  right: -4px !important;
  width: 22px !important;
  opacity: 0.26 !important;
}

.ttpa-page-depth i:nth-child(n+3) {
  display: none !important;
}

.ttpa-page,
.ttpa-turn-face {
  border: 1px solid rgba(181, 138, 69, 0.13) !important;
  border-radius: 14px 28px 28px 14px !important;
  box-shadow:
    0 24px 58px rgba(61, 40, 26, 0.12),
    inset 9px 0 22px rgba(82, 54, 32, 0.055),
    inset -8px 0 16px rgba(255,255,255,0.60) !important;
}

.ttpa-page::after,
.ttpa-turn-face::after {
  width: 28px !important;
  opacity: 0.45 !important;
}

.ttpa-cover-inner {
  padding: clamp(34px, 4vw, 58px) clamp(36px, 5vw, 76px) !important;
}

.ttpa-cover-inner::before {
  inset: clamp(26px, 3vw, 42px) !important;
  border-color: rgba(181, 138, 69, 0.24) !important;
  border-radius: 10px 22px 22px 10px !important;
  box-shadow: inset 0 0 34px rgba(181, 138, 69, 0.045) !important;
}

.ttpa-cover-logo-wrap {
  width: min(22%, 210px) !important;
  max-width: 210px !important;
  margin-bottom: clamp(14px, 1.8vw, 22px) !important;
}

.ttpa-cover-logo {
  max-height: 64px !important;
  width: 100% !important;
  object-fit: contain !important;
}

.ttpa-cover-title {
  font-size: clamp(42px, 4.55vw, 74px) !important;
  line-height: 0.96 !important;
}

.ttpa-cover-subtitle {
  margin-top: clamp(14px, 1.45vw, 20px) !important;
  font-size: clamp(10px, 0.86vw, 13px) !important;
}

.ttpa-cover-line {
  margin: clamp(14px, 1.7vw, 24px) auto !important;
}

.ttpa-cover-copy {
  font-size: clamp(13px, 0.98vw, 16px) !important;
  line-height: 1.72 !important;
}

.ttpa-cover-footer {
  margin-top: clamp(18px, 2.1vw, 32px) !important;
}

.ttpa-progress,
.ttpa-progress-dot,
.ttpa-controls,
.ttpa-arrow,
.ttpa-dots,
.ttpa-dot {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.ttpa-inside-next {
  right: clamp(18px, 1.7vw, 28px) !important;
  bottom: clamp(18px, 1.7vw, 28px) !important;
  width: clamp(42px, 3.25vw, 54px) !important;
  height: clamp(42px, 3.25vw, 54px) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 12px 30px rgba(75, 48, 29, 0.12) !important;
}

.ttpa-inside-next span {
  font-size: clamp(28px, 2.7vw, 38px) !important;
}

.ttpa-page-content {
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  .ttpa-stage {
    min-height: 720px !important;
  }
  .ttpa-left-slice {
    width: 6.8% !important;
  }
  .ttpa-spine {
    left: 5.9% !important;
    width: 6.2% !important;
  }
  .ttpa-right-area {
    left: 11.2% !important;
    top: 16px !important;
    right: 14px !important;
    bottom: 16px !important;
  }
  .ttpa-cover-logo-wrap {
    width: min(36%, 170px) !important;
  }
  .ttpa-cover-logo {
    max-height: 54px !important;
  }
  .ttpa-cover-title {
    font-size: clamp(38px, 9vw, 56px) !important;
  }
}

/* v0.1.6 second page owner-intro update
   - New second page uses supplied owner-intro content.
   - No page number on second page.
   - Golden Triptadka logo replaces the icon.
   - Bottom bullets updated: Resorts, Villas, Day Picnics, Destination Weddings.
*/

.ttpa-intro-page-inner {
  grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1.48fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  padding: clamp(42px, 4.3vw, 64px) clamp(40px, 5.3vw, 84px) !important;
}

.ttpa-logo-art {
  min-height: 100% !important;
  background:
    radial-gradient(circle at 50% 44%, rgba(181, 138, 69, 0.22), transparent 48%),
    linear-gradient(145deg, #fffbf5, #f7ead7) !important;
}

.ttpa-logo-art::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(181, 138, 69, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.ttpa-gold-logo {
  position: relative;
  z-index: 2;
  width: min(84%, 360px);
  height: clamp(76px, 8vw, 112px);
  background: linear-gradient(135deg, #c79b4a 0%, #f0d28a 42%, #9b6f2f 100%);
  -webkit-mask-image: var(--ttpa-logo-url);
  mask-image: var(--ttpa-logo-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 18px 30px rgba(111, 73, 31, 0.14));
}

.ttpa-logo-art-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(52px, 5vw, 76px);
  transform: translateX(-50%);
  color: rgba(142, 101, 47, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ttpa-intro-content {
  justify-content: center !important;
  max-width: 850px !important;
}

.ttpa-intro-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: clamp(18px, 1.7vw, 26px);
  padding: 10px 16px;
  border: 1px solid rgba(214, 3, 2, 0.13);
  border-radius: 999px;
  color: #172036;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 12px 32px rgba(92, 62, 38, 0.08);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.ttpa-intro-kicker span {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 2px solid var(--ttpa-red);
  border-radius: 50%;
}

.ttpa-intro-kicker span::before {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  color: var(--ttpa-red);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.ttpa-intro-title {
  max-width: 850px;
  color: #080d20 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(34px, 4.15vw, 68px) !important;
  font-weight: 950 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.055em !important;
}

.ttpa-intro-text {
  max-width: 810px !important;
  margin-top: clamp(18px, 1.8vw, 28px) !important;
  color: #101729 !important;
  font-size: clamp(14px, 1.15vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
}

.ttpa-intro-points {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.1vw, 16px) !important;
  width: 100% !important;
  max-width: 820px !important;
  margin-top: clamp(24px, 2.5vw, 38px) !important;
}

.ttpa-intro-points li {
  min-height: 78px !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 13px !important;
  border: 1px solid rgba(181, 138, 69, 0.15) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.76) !important;
  box-shadow: 0 12px 30px rgba(58, 41, 28, 0.06) !important;
  color: #12192b !important;
  text-align: center;
}

.ttpa-intro-points li i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border: 2px solid var(--ttpa-red);
  border-radius: 999px;
  color: var(--ttpa-red);
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.ttpa-intro-points li strong {
  display: block;
  color: #101729;
  font-size: clamp(12px, 0.98vw, 15px);
  font-weight: 950;
  line-height: 1.15;
}

@media (max-width: 1200px) {
  .ttpa-intro-page-inner {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr) !important;
    gap: 32px !important;
    padding: 42px 48px !important;
  }

  .ttpa-intro-points {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .ttpa-intro-page-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 38px 26px 72px !important;
  }

  .ttpa-logo-art {
    min-height: 185px !important;
  }

  .ttpa-gold-logo {
    width: min(74%, 280px);
    height: 82px;
  }

  .ttpa-logo-art-caption {
    bottom: 28px;
  }

  .ttpa-intro-title {
    font-size: clamp(34px, 8.5vw, 48px) !important;
  }

  .ttpa-intro-points {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .ttpa-intro-points {
    grid-template-columns: 1fr !important;
  }
}
