/* Mixtour Website 2.0 – Memories */
*{box-sizing:border-box}
html,body{margin:0;background:#05080b;color:#f5f2ed}
body.memories-v12,body.memory-detail-v12{font-family:Arial,Helvetica,sans-serif}

.memories-main,.memory-detail-main{
  min-height:calc(100svh - 112px);
  padding:54px max(clamp(22px,6vw,96px),calc((100% - 1272px)/2)) 58px;
  background:linear-gradient(rgba(5,8,11,.76),rgba(5,8,11,.91)),url("cocktail-bg-soft.jpg") center/cover no-repeat fixed;
  overflow:hidden;
}
.memories-intro{width:min(1080px,100%);margin:0 auto 38px;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,390px);align-items:center;gap:clamp(30px,7vw,82px)}
.memories-copy .eyebrow,.memory-article .eyebrow{margin:0 0 9px;color:#ff2d72;text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800}
.memories-copy h1,.memory-article h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.35rem,4.6vw,4rem);line-height:1.05;font-weight:400;letter-spacing:-.035em}
.memories-copy .accent-line,.memory-article .accent-line{display:block;width:54px;height:2px;margin:18px 0 22px;background:#ff2d72}
.memories-copy .intro-text{max-width:690px;margin:0;color:#d5d9dc;font-size:1rem;line-height:1.7}
.memories-route{display:flex;justify-content:flex-end}.memories-route img{display:block;width:min(100%,390px);height:auto}

.memories-grid{width:min(1180px,100%);height:auto;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:clamp(18px,2.4vw,30px)}
.memory-card{min-width:0;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:linear-gradient(150deg,rgba(12,17,22,.95),rgba(5,8,11,.92));box-shadow:0 18px 45px rgba(0,0,0,.28);overflow:hidden;transition:translate .2s ease,border-color .2s ease,box-shadow .2s ease}
.memory-card-media{position:relative;aspect-ratio:1;overflow:hidden;background:linear-gradient(135deg,rgba(255,45,114,.18),rgba(35,217,245,.10))}
.memory-card-media img{width:100%;height:100%;display:block;object-fit:cover;transition:scale .45s cubic-bezier(.22,.61,.36,1)}
.memory-card-placeholder{width:100%;height:100%;display:grid;place-items:center;font-family:Georgia,"Times New Roman",serif;font-size:4rem;color:rgba(255,255,255,.74)}
.memory-card-body{flex:1;display:flex;flex-direction:column;padding:24px}
.memory-category{align-self:flex-start;display:inline-flex;align-items:center;max-width:100%;margin:0 0 13px;padding:7px 10px;border:1px solid var(--category-color,#ff2d72);border-radius:999px;color:var(--category-color,#ff2d72);background:rgba(5,8,11,.45);font-size:.68rem;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.07em;overflow-wrap:anywhere}
.memory-category[hidden]{display:none}
.memory-date{margin:0 0 10px;color:#ff2d72;text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;font-weight:800}
.memory-card h2{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.28rem,2vw,1.7rem);line-height:1.18;font-weight:400}
.memory-card-teaser{margin:0 0 22px;color:#c7cdd1;font-size:.92rem;line-height:1.65}
.memory-more{margin-top:auto;min-height:54px;width:100%;display:flex;align-items:center;justify-content:center;padding:13px 20px;border:0;border-radius:12px;color:#05080b;text-decoration:none;font-weight:800;font-size:.98rem;background:linear-gradient(90deg,#ff3f85,#ffb82e 36%,#d8ef4a 58%,#1ed6f3);transition:transform .18s ease,filter .18s ease}
.memories-empty{width:min(820px,100%);margin:20px auto 0;padding:46px clamp(24px,6vw,64px);text-align:center;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.10);background:rgba(6,10,14,.30)}
.memories-empty[hidden]{display:none}
.memories-empty .eyebrow{margin:0 0 10px;color:#ff2d72;text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800}
.memories-empty h2{margin:0 0 14px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,3vw,2.6rem);font-weight:400}
.memories-empty p:last-child{margin:0;color:#c7cdd1;line-height:1.7}

.memory-detail-main{padding-top:44px}
.memory-detail-wrap{width:min(1040px,100%);margin:0 auto}
.memory-back{display:inline-flex;margin:0 0 22px;color:#d6dade;text-decoration:none;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.memory-back:hover{color:#ff2d72}
.memory-gallery{position:relative;width:100%;border:1px solid rgba(255,255,255,.10);border-radius:20px;background:#080b0f;box-shadow:0 22px 60px rgba(0,0,0,.34);overflow:hidden;touch-action:pan-y}
.memory-gallery-viewport{overflow:hidden}
.memory-gallery-track{display:flex;transition:transform .42s cubic-bezier(.22,.61,.36,1);will-change:transform}
.memory-slide{min-width:100%;margin:0;aspect-ratio:16/8.7;background:#0b0f14}.memory-slide img{width:100%;height:100%;display:block;object-fit:cover}
.memory-gallery-placeholder{min-width:100%;aspect-ratio:16/8.7;display:grid;place-items:center;background:linear-gradient(135deg,rgba(255,45,114,.18),rgba(35,217,245,.10));font-family:Georgia,"Times New Roman",serif;font-size:5rem;color:rgba(255,255,255,.72)}
.memory-gallery-button{position:absolute;top:50%;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;color:#fff;background:rgba(5,8,11,.68);backdrop-filter:blur(7px);transform:translateY(-50%);cursor:pointer;font-size:1.25rem;z-index:2}.memory-gallery-prev{left:18px}.memory-gallery-next{right:18px}
.memory-gallery-dots{position:absolute;left:50%;bottom:16px;display:flex;gap:8px;transform:translateX(-50%);z-index:2}.memory-gallery-dot{width:9px;height:9px;padding:0;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(5,8,11,.5);cursor:pointer}.memory-gallery-dot.active{background:#ff2d72;border-color:#ff2d72}
.memory-gallery[data-count="0"] .memory-gallery-button,.memory-gallery[data-count="0"] .memory-gallery-dots,.memory-gallery[data-count="1"] .memory-gallery-button,.memory-gallery[data-count="1"] .memory-gallery-dots{display:none}
.memory-article{width:min(820px,100%);margin:38px auto 0;padding:0 0 18px}
.memory-article .memory-category{margin-bottom:14px}.memory-article .memory-date{margin-bottom:10px}.memory-article h1{font-size:clamp(2.15rem,4vw,3.5rem)}
.memory-body{color:#d5d9dc;font-size:1rem;line-height:1.78}.memory-body p{margin:0}.memory-body p+p{margin-top:18px}
.memory-footer{width:min(820px,100%);margin:26px auto 0;padding-top:28px;border-top:1px solid rgba(255,255,255,.12)}
.memory-home-button{display:inline-flex;min-height:54px;width:min(100%,320px);align-items:center;justify-content:center;padding:13px 20px;border:0;border-radius:12px;color:#05080b;text-decoration:none;font-weight:800;font-size:.98rem;background:linear-gradient(90deg,#ff3f85,#ffb82e 36%,#d8ef4a 58%,#1ed6f3);transition:transform .18s ease,filter .18s ease}

@media(hover:hover) and (pointer:fine){.memory-card:hover{translate:0 -3px;border-color:rgba(255,45,114,.26);box-shadow:0 24px 58px rgba(0,0,0,.35)}.memory-card:hover .memory-card-media img{scale:1.035}.memory-more:hover,.memory-home-button:hover{transform:translateY(-2px);filter:brightness(1.05)}}
@media(max-width:1000px){.memories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memories-intro{grid-template-columns:minmax(0,1fr) minmax(220px,310px)}}
@media(max-width:760px){.memories-main,.memory-detail-main{padding-top:40px;background-attachment:scroll}.memories-intro{grid-template-columns:1fr;gap:22px}.memories-route{justify-content:flex-start}.memories-route img{width:min(390px,80vw)}.memory-slide,.memory-gallery-placeholder{aspect-ratio:4/3}}
@media(max-width:620px){.memories-grid{grid-template-columns:1fr}.memory-card{width:min(100%,470px);margin:0 auto}.memory-gallery-button{width:42px;height:42px}.memory-gallery-prev{left:10px}.memory-gallery-next{right:10px}}
@media(max-width:430px){.memories-main,.memory-detail-main{padding-left:18px;padding-right:18px}.memories-copy h1,.memory-article h1{font-size:clamp(2rem,10vw,2.75rem)}.memory-card-body{padding:21px 19px}.memory-more,.memory-home-button{width:100%}.memory-slide,.memory-gallery-placeholder{aspect-ratio:1}.memory-gallery{border-radius:15px}.memory-gallery-dots{bottom:11px}}
@media(max-width:900px){.memories-main,.memory-detail-main{min-height:calc(100svh - 82px)}}
@media(max-width:430px){.memories-main,.memory-detail-main{min-height:calc(100svh - 76px)}}
@media(prefers-reduced-motion:reduce){.memory-card,.memory-card-media img,.memory-gallery-track{transition:none}}
