/* Reiseblog page-specific styles (relies on assets/css/main.css for base theme) */

.page-wrapper{
  position:relative;
  z-index:1;
  padding:20px 20px 60px;
  max-width:1200px;
  margin:0 auto;
}
@media (max-width:900px){
  .page-wrapper{padding-inline:16px;}
}
.post-media {
  margin: 18px 0 22px;
}

.post-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.post-media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.post-media-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.post-media-arrow:hover {
  background: rgba(0, 0, 0, 0.62);
}

.post-media-arrow--prev {
  left: 12px;
}

.post-media-arrow--next {
  right: 12px;
}

.post-media-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
  min-height: 1.4em;
}

.post-media-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.post-media-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  display: inline-block;
  cursor: pointer;
}

.post-media-dots span.is-active {
  background: rgba(255,255,255,.92);
}

@media (max-width: 640px) {
  .post-media-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .post-media-arrow--prev {
    left: 8px;
  }

  .post-media-arrow--next {
    right: 8px;
  }
}
.hero-header{
  position:relative;
  width:100%;
  height:clamp(260px,40vh,420px);
  overflow:hidden;
  border-radius:0 0 24px 24px;
  box-shadow:0 12px 35px rgba(0,0,0,.7);
  margin-bottom:26px;
  z-index:1;
}
.hero-header img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.85);
}
.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(to bottom,rgba(0,0,0,.25),rgba(0,0,0,.65));
}
.hero-overlay h1{
  font-size:2rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin:0 0 6px;
}
.hero-overlay p{
  font-size:.95rem;
  opacity:.85;
  letter-spacing:.08em;
  margin:0;
}

.page-header{
  text-align:center;
  margin-bottom:16px;
}
.page-header h1{
  font-size:1.4rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Countdown */
#countdown-container{
  margin:0 auto 26px;
  width:fit-content;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(10px,2vw,16px);
  text-align:center;
}
.time-box{
  min-width:clamp(56px,7vw,74px);
}
.time-box span{
  font-size:clamp(2.1rem,4vw,3.2rem);
  font-weight:800;
  line-height:1;
  background:linear-gradient(90deg,#7fdcff 0%,#00d4ff 50%,#a8f3ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 0 10px rgba(0,212,255,.35),0 0 20px rgba(0,212,255,.2);
}
.time-box label{
  display:block;
  font-size:.75rem;
  opacity:.8;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-top:4px;
}
@media (max-width:520px){
  #countdown-container{gap:10px;}
  .time-box{min-width:52px;}
}

/* Section title */
.section-title{
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.15);
  padding-bottom:4px;
}

/* Admin link uses global button style but toned down */
.blog-admin-link{
  font-size:.9rem;
  opacity:.9;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(6px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.blog-admin-link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.22);
}

/* Feed */
.blog-feed__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:18px 0 14px;
}

/* Post Card */
.post{
  max-width:980px;
  margin:0 auto 28px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,10,20,.78);
  box-shadow:0 18px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
}
.post-header{
  padding:18px 18px 12px;
}
.post-meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.75;
}
.post-title{
  margin:8px 0 0;
  font-size:clamp(1.15rem,2.2vw,1.65rem);
  letter-spacing:.02em;
}

/* Media */
.post-media{
  width:100%;
  position:relative;
  background:rgba(0,0,0,.25);
}
.post-media-frame{
  width:100%;
  aspect-ratio:16/9;
  max-height:520px;
  overflow:hidden;
}
.post-media-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:1;
  transition:opacity .45s ease;
  transform:scale(1.01);
}
.post-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at center,rgba(0,0,0,0) 30%,rgba(0,0,0,.28) 100%);
}
.post-media-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(6px);
  z-index:2;
}
.post-media-dots .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.35);
  cursor:pointer;
  opacity:.8;
  transition:transform .15s ease,opacity .15s ease;
}
.post-media-dots .dot:hover{
  transform:scale(1.12);
  opacity:1;
}
.post-media-dots .dot.active{
  background:linear-gradient(90deg,#7fdcff 0%,#00d4ff 55%,#a8f3ff 100%);
  opacity:1;
}

/* Flight Tracker */
.flight-card{
  max-width:1120px;
  margin:0 auto 28px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,10,20,.78);
  box-shadow:0 18px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
  padding:18px 18px 22px;
}

.flight-card__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.flight-card__title{
  font-size:1.1rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.flight-card__meta{
  opacity:.82;
  font-size:.95rem;
}

.flight-route{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.flight-route__top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:end;
}

.flight-airport{
  text-align:center;
}

.flight-airport--left{
  justify-self:start;
  text-align:left;
}

.flight-airport--right{
  justify-self:end;
  text-align:right;
}

.flight-airport__code{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.flight-airport__label{
  margin-top:8px;
  font-size:.95rem;
  opacity:.82;
}

.flight-progress{
  position:relative;
  min-height:96px;
  width:100%;
}

.flight-progress__line{
  position:absolute;
  left:0;
  right:0;
  top:58px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.8);
}

.flight-progress__fill{
  position:absolute;
  left:0;
  top:58px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(20, 121, 194, 1) 0%, rgba(12, 220, 235, 1) 100%);
}

.flight-progress__dot{
  position:absolute;
  top:58px;
  transform:translate(-50%,-50%);
  width:22px;
  height:22px;
  border-radius:999px;
  background:#0a39ff;
  box-shadow:0 0 0 4px rgba(10,57,255,.18);
  z-index:2;
}

.flight-plane{
  position:absolute;
  top:2px;
  width:72px;
  z-index:3;
  text-decoration:none;
}

.flight-plane img{
  width:72px;
  height:auto;
  display:block;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.32));
}

.flight-plane__tooltip{
  position:absolute;
  bottom:100%;
  left:50%;
  transform:translateX(-50%);
  margin-bottom:8px;
  padding:8px 10px;
  white-space:nowrap;
  border-radius:10px;
  background:rgba(0,0,0,.82);
  color:#fff;
  font-size:.82rem;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
  pointer-events:none;
}

.flight-plane:hover .flight-plane__tooltip{
  opacity:1;
  visibility:visible;
}

.flight-times{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:.98rem;
  opacity:.92;
}

@media (max-width:860px){
  .flight-card{
    padding:16px 14px 18px;
  }

  .flight-airport__code{
    font-size:2.4rem;
  }

  .flight-progress{
    min-height:88px;
  }

  .flight-progress__line,
  .flight-progress__fill{
    top:54px;
  }

  .flight-progress__dot{
    top:54px;
  }

  .flight-plane{
    width:64px;
    top:4px;
  }

  .flight-plane img{
    width:64px;
  }
}

@media (max-width:640px){
  .flight-card{
    padding:16px 12px 18px;
    border-radius:18px;
  }

  .flight-card__top{
    margin-bottom:14px;
    gap:8px;
  }

  .flight-card__title{
    font-size:1rem;
  }

  .flight-card__meta{
    font-size:.9rem;
    line-height:1.4;
  }

  .flight-route{
    gap:8px;
  }

  .flight-route__top{
    grid-template-columns:1fr 1fr;
    gap:10px;
    align-items:end;
  }

  .flight-airport__code{
    font-size:1.95rem;
  }

  .flight-airport__label{
    margin-top:4px;
    font-size:.9rem;
  }

  .flight-progress{
    min-height:78px;
  }

  .flight-progress__line{
    left:4px;
    right:4px;
    top:48px;
  }

  .flight-progress__fill{
    left:4px;
    top:48px;
  }

  .flight-progress__dot{
    top:48px;
    width:20px;
    height:20px;
  }

  .flight-plane{
    width:54px;
    top:4px;
  }

  .flight-plane img{
    width:54px;
  }

  .flight-plane__tooltip{
    display:none;
  }

  .flight-times{
    margin-top:10px;
    flex-direction:column;
    gap:6px;
    font-size:.95rem;
  }
}

@media (max-width:420px){
  .flight-card{
    padding:14px 10px 16px;
  }

  .flight-card__title{
    font-size:.96rem;
  }

  .flight-card__meta{
    font-size:.86rem;
  }

  .flight-airport__code{
    font-size:1.75rem;
  }

  .flight-progress{
    min-height:72px;
  }

  .flight-progress__line{
    top:44px;
  }

  .flight-progress__fill{
    top:44px;
  }

  .flight-progress__dot{
    top:44px;
    width:18px;
    height:18px;
  }

  .flight-plane{
    width:48px;
    top:4px;
  }

  .flight-plane img{
    width:48px;
  }
}

/* Body */
.post-body{
  padding:14px 18px 18px;
  line-height:1.75;
  font-size:1rem;
  color:rgba(245,245,245,.92);
}
.post-body p{
  margin:0;
}
.post-body p + p{
  margin-top:10px;
}
.post-body a{
  color:#7fdcff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.post-body h2,
.post-body h3{
  margin:14px 0 8px;
  line-height:1.25;
}
.post-body ul,
.post-body ol{
  padding-left:20px;
  margin:10px 0;
}

@media (max-width:720px){
  .post-header,
  .post-body{
    padding-left:14px;
    padding-right:14px;
  }

  .post-media-frame{
    aspect-ratio:4/3;
  }

  .post{
    border-radius:18px;
  }
}
html{
  scroll-behavior:smooth;
}

.blog-day-nav{
  max-width:980px;
  margin:0 auto 20px;
}

.blog-day-nav__track{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}

.blog-day-bubble,
.blog-date-anchor{
  width:72px;
  height:72px;
  border-radius:999px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:2px solid rgba(255,255,255,.45);
  background:rgba(7,17,36,.82);
  box-shadow:0 12px 34px rgba(0,0,0,.35);
  backdrop-filter:blur(8px);
}

.blog-day-bubble{
  color:#fff;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.blog-day-bubble:hover{
  transform:translateY(-2px);
  border-color:rgba(127,220,255,.95);
  background:rgba(11,28,58,.95);
}

.blog-day-bubble__day,
.blog-date-anchor__day{
  font-size:1.6rem;
  font-weight:800;
  line-height:1;
}

.blog-day-bubble__month,
.blog-date-anchor__month{
  margin-top:3px;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.86;
}

.blog-date-group{
  scroll-margin-top:110px;
}

.blog-date-anchor{
  margin:0 auto 10px;
  color:#fff;
}
.post-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.post-like-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(6,18,42,.78);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.post-like-button:hover {
  transform: translateY(-1px);
  background: rgba(10,26,58,.92);
  border-color: rgba(255,255,255,.28);
}

.post-like-button:disabled {
  opacity: .7;
  cursor: wait;
}

.post-like-button__icon {
  font-size: 16px;
  line-height: 1;
}

.post-like-button__count {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}
@media (max-width:640px){
  .blog-day-bubble,
  .blog-date-anchor{
    width:62px;
    height:62px;
  }

  .blog-day-bubble__day,
  .blog-date-anchor__day{
    font-size:1.35rem;
  }
}
