/* TripValet — TripValet — Blog */


:root {
  --deep:#082770;--tropical:#205EB6;--sky:#5A9DDD;--sky-light:#d4edfb;
  --white:#ffffff;--cloud:#f0f8ff;--gold:#C9A84C;
  --text-mid:#2d5490;--text-body:#2c3e6b;
  --gradient:linear-gradient(135deg,#082770 0%,#205EB6 55%,#5A9DDD 100%);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans','Open Sans',sans-serif;background:var(--white);color:var(--text-body);overflow-x:hidden;}

nav{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:16px 48px;background:rgba(255,255,255,0.97);backdrop-filter:blur(16px);border-bottom:1px solid rgba(8,39,112,0.08);box-shadow:0 2px 24px rgba(8,39,112,0.07);}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.nav-logo-ball{width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5A9DDD,#082770);box-shadow:0 0 14px rgba(90,157,221,0.4);display:flex;align-items:center;justify-content:center;}
.nav-logo-name{font-family:'DM Serif Display',serif;font-size:21px;color:var(--deep);}
.nav-links{display:flex;gap:30px;list-style:none;}
.nav-links a{color:var(--text-mid);font-size:14px;font-weight:500;text-decoration:none;transition:color 0.2s;}
.nav-links a:hover,.nav-links a.active{color:var(--tropical);}
.nav-login{color:var(--tropical);font-size:14px;font-weight:600;text-decoration:none;padding:8px 16px;border-radius:6px;transition:background 0.2s;}
.nav-login:hover{background:var(--sky-light);}

/* HERO — matching corporate layout */
.hero{min-height:62vh;position:relative;overflow:hidden;display:flex;align-items:center;padding:132px 80px 80px;}
.hero-bg{position:absolute;inset:0;z-index:0;background:linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 38%,rgba(255,255,255,0.85) 55%,rgba(255,255,255,0.4) 75%,rgba(8,39,112,0.10) 100%),url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1800&q=85') center/cover no-repeat;}
.hero-content{position:relative;z-index:2;max-width:640px;}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(8,39,112,0.06);border:1px solid rgba(8,39,112,0.14);border-radius:40px;padding:8px 18px;margin-bottom:28px;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--tropical);animation:fadeUp 0.6s ease both;}
.hero-content h1{font-family:'DM Serif Display',serif;font-size:clamp(38px,5vw,66px);color:var(--deep);line-height:1.05;margin-bottom:20px;animation:fadeUp 0.6s 0.1s ease both;}
.hero-content h1 em{font-style:italic;color:var(--tropical);}
.hero-content p{font-size:18px;color:var(--text-body);line-height:1.75;font-weight:400;animation:fadeUp 0.6s 0.18s ease both;}

/* CATEGORY FILTER */
.filter-bar{background:var(--cloud);border-bottom:1px solid rgba(8,39,112,0.08);padding:20px 80px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.filter-btn{padding:8px 18px;border-radius:30px;font-size:13px;font-weight:600;cursor:pointer;border:1.5px solid rgba(8,39,112,0.15);color:var(--text-mid);background:white;transition:all 0.2s;}
.filter-btn:hover,.filter-btn.active{background:var(--gradient);color:white;border-color:transparent;}

/* BLOG GRID */
.blog-section{padding:72px 80px;}
.blog-inner{max-width:1200px;margin:0 auto;}
.featured-post{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:20px;overflow:hidden;box-shadow:0 8px 48px rgba(8,39,112,0.1);margin-bottom:56px;border:1px solid rgba(8,39,112,0.07);}
.featured-img{position:relative;min-height:360px;}
.featured-img img{width:100%;height:100%;object-fit:cover;display:block;}
.featured-body{padding:48px;background:white;display:flex;flex-direction:column;justify-content:center;}
.post-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);background:var(--sky-light);border-radius:20px;padding:4px 12px;margin-bottom:16px;}
.post-tag.gold{color:var(--gold);background:rgba(201,168,76,0.1);}
.featured-body h2{font-family:'DM Serif Display',serif;font-size:clamp(22px,3vw,34px);color:var(--deep);line-height:1.15;margin-bottom:14px;}
.featured-body p{font-size:15px;color:var(--text-mid);line-height:1.75;font-weight:300;margin-bottom:24px;}
.post-meta{font-size:12px;color:#9cb3cc;margin-bottom:20px;}
.read-more{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--tropical);text-decoration:none;}
.read-more:hover{text-decoration:underline;}

.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.post-card{border-radius:16px;overflow:hidden;border:1px solid rgba(8,39,112,0.08);box-shadow:0 4px 24px rgba(8,39,112,0.07);background:white;transition:transform 0.3s,box-shadow 0.3s;}
.post-card:hover{transform:translateY(-5px);box-shadow:0 16px 48px rgba(8,39,112,0.13);}
.post-card-img{height:200px;overflow:hidden;}
.post-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s;}
.post-card:hover .post-card-img img{transform:scale(1.05);}
.post-card-body{padding:24px;}
.post-card-body h3{font-family:'DM Serif Display',serif;font-size:20px;color:var(--deep);line-height:1.25;margin-bottom:10px;margin-top:10px;}
.post-card-body p{font-size:13.5px;color:var(--text-mid);line-height:1.65;font-weight:300;margin-bottom:16px;}
.post-card-body .post-meta{margin-bottom:0;}

/* NEWSLETTER BAND */
.newsletter-band{background:var(--gradient);padding:72px 80px;text-align:center;position:relative;overflow:hidden;}
.newsletter-band::before{content:'';position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1400&q=60') center/cover;opacity:0.08;}
.newsletter-inner{position:relative;z-index:1;max-width:580px;margin:0 auto;}
.newsletter-inner h2{font-family:'DM Serif Display',serif;font-size:clamp(26px,3.5vw,44px);color:white;margin-bottom:14px;}
.newsletter-inner p{color:rgba(255,255,255,0.8);font-size:16px;margin-bottom:32px;font-weight:300;}
.newsletter-form{display:flex;gap:10px;max-width:440px;margin:0 auto;}
.newsletter-form input{flex:1;padding:14px 18px;border-radius:8px;border:none;font-family:'DM Sans',sans-serif;font-size:14px;outline:none;}
.newsletter-form button{background:white;color:var(--deep);padding:14px 24px;border-radius:8px;border:none;font-family:'DM Sans',sans-serif;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;transition:transform 0.2s;}
.newsletter-form button:hover{transform:translateY(-1px);}

/* FOOTER */
footer{background:#05123a;color:rgba(255,255,255,0.55);padding:60px 80px 32px;}
.footer-top{display:flex;gap:60px;justify-content:space-between;flex-wrap:wrap;margin-bottom:48px;}
.footer-brand{max-width:280px;}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.footer-logo-ball{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5A9DDD,#082770);display:flex;align-items:center;justify-content:center;}
.footer-logo-name{font-family:'DM Serif Display',serif;font-size:19px;color:white;}
.footer-brand p{font-size:13.5px;line-height:1.7;}
.footer-col h5{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--sky);font-weight:700;margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
.footer-col a{color:rgba(255,255,255,0.55);text-decoration:none;font-size:14px;transition:color 0.2s;}
.footer-col a:hover{color:white;}
.footer-contact{display:flex;flex-direction:column;gap:8px;font-size:14px;}
.footer-contact a{color:rgba(255,255,255,0.55);text-decoration:none;transition:color 0.2s;}
.footer-contact a:hover{color:white;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.08);padding-top:28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12.5px;}
.footer-bottom a{color:rgba(255,255,255,0.35);text-decoration:none;}

@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}
.reveal{opacity:0;transform:translateY(28px);transition:opacity 0.75s ease,transform 0.75s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

@media(max-width:960px){
  nav{padding:13px 20px;}.nav-links{display:none;}
  .hero,.blog-section,.newsletter-band,.filter-bar,footer{padding-left:24px;padding-right:24px;}
  .featured-post{grid-template-columns:1fr;}
  .featured-img{min-height:220px;}
  .featured-body{padding:28px;}
  .posts-grid{grid-template-columns:1fr;}
  .newsletter-form{flex-direction:column;}
}

/* ── BLOG PAGINATION (paginate_links output) ── */
.blog-pagination ul.page-numbers,
.blog-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-pagination .page-numbers li { display: inline-block; }
.blog-pagination a.page-numbers,
.blog-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(8,39,112,0.12);
    color: var(--tv-text-mid, #2d5490);
    background: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.blog-pagination a.page-numbers:hover {
    background: var(--tv-cloud, #f0f8ff);
    border-color: var(--tv-tropical, #205EB6);
    color: var(--tv-tropical, #205EB6);
}
.blog-pagination span.page-numbers.current {
    background: var(--tv-deep, #082770);
    border-color: var(--tv-deep, #082770);
    color: white;
}
.blog-pagination span.page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ── POST CARD AS LINK (anchor wrapper hover) ── */
a.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(8,39,112,0.14);
}
a.post-card:hover .post-card-img img {
    transform: scale(1.04);
}
a.post-card:hover .post-card-body h3 {
    color: var(--tv-tropical, #205EB6);
}
a.post-card { transition: transform 0.3s, box-shadow 0.3s; }
a.post-card .post-card-body h3 { transition: color 0.2s; }

/* ── FEATURED POST TITLE LINK ── */
.featured-body h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.featured-body h2 a:hover { color: var(--tv-tropical, #205EB6); }

/* ── EMPTY STATE ── */
.blog-empty { color: var(--tv-text-mid, #2d5490); }
