/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* THEME */
:root{
  --accent:#f5b301;
  --accent2:#ff8a00;
  --text:#ffffff;
  --muted:rgba(255,255,255,.65);
}

/* BASE */
html,body{
  width:100%;
  min-height:100%;
  font-family:'Inter',sans-serif;
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(255,138,0,.25), transparent 55%),
    radial-gradient(900px 600px at 85% 85%, rgba(245,179,1,.22), transparent 55%),
    linear-gradient(180deg,#0b0f16,#0a0d13);
  color:var(--text);
  overflow-x:hidden; /* ✅ allow vertical scroll */
}

/* HEADER */
.top{
  position:fixed;
  top:0;
  width:100%;
  padding:18px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:50;
}

.top-left{
  display:flex;
  align-items:center;
  gap:8px;
}

.status-dot{
  width:8px;
  height:8px;
  background:#22c55e;
  border-radius:50%;
}

.status-text{
  font-size:14px;
}

.cv{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  color:#000;
  font-weight:600;
}

/* FIXED PROFILE IMAGE (GLOBAL) */
.profile-wrap{
  position:fixed;
  right:90px;
  top:120px;
  width:320px;
  height:420px;
  border-radius:28px;
  overflow:hidden;
  z-index:5;
  box-shadow:0 30px 70px rgba(0,0,0,.55);
}

.profile-wrap::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 40%, rgba(0,0,0,.45));
}

.profile-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* MAIN */
main{
  min-height:100vh;
  padding-top:180px;
}

/* SECTIONS */
.section{
  display:none;
}

.section.active{
  display:block;
}

/* CONTENT LEFT */
.content{
  width:55%;
  padding-left:80px;
}

/* TEXT */
.kicker{
  color:var(--accent);
  letter-spacing:1.2px;
  margin-bottom:14px;
  font-size:13px;
}

.name{
  font-size:52px;
  margin-bottom:10px;
}

.sub{
  color:var(--muted);
  margin-bottom:30px;
}

/* SOCIALS */
.socials{
  display:flex;
  gap:16px;
}

.icon-btn{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  transition:.25s;
  text-decoration:none;
}

.icon-btn:hover{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#000;
}

/* CARDS */
.card{
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:18px;
  margin-top:18px;
  backdrop-filter:blur(12px);
}

.meta{
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px;
}

/* TAGS */
.tags span{
  display:inline-block;
  padding:8px 14px;
  margin:8px;
  background:rgba(255,255,255,.08);
  border-radius:999px;
}

/* NAV */
.nav{
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(20,24,36,.75);
  padding:14px 28px;
  border-radius:999px;
  display:flex;
  gap:20px;
  backdrop-filter:blur(16px);
  z-index:40;
}

.nav-btn{
  background:none;
  border:none;
  color:var(--muted);
  padding:10px 18px;
  border-radius:999px;
  cursor:pointer;
  font-size:14px;
}

.nav-btn.active{
  background:linear-gradient(135deg,rgba(245,179,1,.35),rgba(255,138,0,.35));
  color:var(--accent);
  box-shadow:0 0 0 1px rgba(245,179,1,.4);
}

/* BLOG LIST */
/* BLOG LIST - INCREASE CARD HEIGHT */
.blog-grid .card{
  padding:24px;          /* more padding inside the card */
  min-height:180px;      /* increase minimum height */
  border-radius:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between; /* makes content fill vertical space */
  transition:.25s;
}

.blog-grid h3{
  color:var(--accent);
  margin-bottom:10px;
  font-size:1.2rem;
}

.blog-grid p{
  color:rgba(255,255,255,.85);
  line-height:1.6;
  font-size:1rem;
  flex-grow:1; /* paragraph can expand to fill extra space */
}

.blog-grid .card a{
  margin-top:12px; /* give "Read More" link space at bottom */
}


/* BLOG VIEW PAGE */
.blog-view-wrap{
  min-height:100vh;
  padding:100px 20px 60px;
  background:
    radial-gradient(circle at top left, rgba(255,180,60,.15), transparent 45%),
    radial-gradient(circle at bottom right, rgba(80,160,255,.12), transparent 50%);
}

.blog-article{
  max-width:760px;
  margin:auto;
  background: rgba(15,18,22,.85);
  border-radius:28px;
  padding:44px 40px;
  backdrop-filter: blur(18px);
  box-shadow:0 40px 80px rgba(0,0,0,.5);
}

.blog-back{
  display:inline-block;
  margin-bottom:26px;
  color:#6bdcff;
  font-weight:600;
  text-decoration:none;
}

.blog-title{
  font-size:2.3rem;
  line-height:1.3;
  margin-bottom:10px;
}

.blog-meta{
  opacity:.65;
  font-size:.9rem;
  margin-bottom:26px;
}

.blog-cover{
  width:100%;
  border-radius:22px;
  margin:26px 0;
}

/* BLOG CONTENT (FROM TINYMCE) */
.blog-content{
  font-size:1.05rem;
  line-height:1.85;
  color:#eaeaea;
}

.blog-content p{
  margin-bottom:1.4em;
}

.blog-content h2{
  font-size:1.6rem;
  margin:1.8em 0 .6em;
}

.blog-content h3{
  font-size:1.3rem;
  margin:1.5em 0 .6em;
}

.blog-content ul,
.blog-content ol{
  padding-left:22px;
  margin-bottom:1.4em;
}

.blog-content li{
  margin-bottom:.6em;
}

.blog-content img{
  max-width:100%;
  border-radius:18px;
  margin:22px 0;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .content{width:70%}
  .profile-wrap{right:40px}
}

@media(max-width:768px){
  .profile-wrap{display:none}
  .content{width:100%;padding:0 24px}
  .name{font-size:40px}
}
