* {
    font-family: sans-serif, Arial;
    box-sizing: border-box;
    margin:0;
    padding: 0;
}


:root{
    --primary-gradient: linear-gradient(135deg,#06b6d4, #22d3ee);
    --primary-color: #1b92cf;
}
.latest-blog h1, .latest-blog a{
   color: var(--primary-color);
}

.latest-blog a:hover{
   border: 1px solid white;
   border-radius: 10px;
   padding: 10px;
   background: var(--primary-gradient);
   color:white;
   width:100%;
}

.cover-image{
  height:250px;
}

.hero-blog h1{
   color:var(--primary-color);
   font-size:35px;

}

.blog-detail{
  max-width:900px;
  margin:0 auto;
}

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');


/* ── Hero ─────────────────────────────────────── */
.blog-hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.blog-hero:hover .hero-bg { transform: scale(1); }
.hero-bg-gradient { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,25,.95) 0%,
    rgba(10,15,25,.6) 50%,
    rgba(10,15,25,.2) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: 3rem; padding-top: 5rem;
}
.hero-meta {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
}
.hero-category {
  background: var(--primary-color);
  color: #fff;
  letter-spacing: .08em;
}
.hero-dot { color: rgba(255,255,255,.4); }
.hero-date { color: rgba(255,255,255,.6); font-size: .82rem; }

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -.5px;
  max-width: 750px; margin-bottom: .85rem;
}
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem; line-height: 1.7;
  max-width: 620px; margin-bottom: 1.75rem;
}
.hero-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff; font-size: .85rem;
  flex-shrink: 0;
}
.author-name { color: #fff; font-size: .88rem; font-weight: 600; margin: 0; }
.author-sub  { color: rgba(255,255,255,.5); font-size: .75rem; margin: 0; }

.hero-share { display: flex; gap: .4rem; }
.share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: all .2s ease; backdrop-filter: blur(4px);
}
.share-btn:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); }

/* ── Main Layout ──────────────────────────────── */
.blog-main { padding: 3rem 0 2rem; }

/* ── Article Typography ───────────────────────── */
.blog-article {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem; line-height: 1.95; color: #334155;
}
.blog-article h1, .blog-article h2, .blog-article h3,
.blog-article h4, .blog-article h5 {
  font-family: 'Sora', sans-serif;
  color: #0f172a; font-weight: 700;
  line-height: 1.3; margin-top: 2.25rem; margin-bottom: .65rem;
}
.blog-article h2 {
  font-size: 1.55rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #e0f2fe;
}
.blog-article h3 { font-size: 1.2rem; }
.blog-article p { margin-bottom: 1.4rem; }
.blog-article a { color: var(--primary-color); text-underline-offset: 3px; }
.blog-article img {
  width: 100%; border-radius: 14px; margin: 1.75rem 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.blog-article ul, .blog-article ol {
  padding-left: 1.5rem; margin-bottom: 1.4rem;
}
.blog-article li { margin-bottom: .5rem; }
.blog-article blockquote {
  position: relative;
  border-left: 4px solid var(--primary-color);
  background: #f0f9ff; border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem; margin: 2rem 0;
  font-style: italic; color: #475569; font-size: 1.05rem;
}
.blog-article blockquote::before {
  content: '\201C';
  position: absolute; top: -.2rem; left: .9rem;
  font-size: 4rem; color: var(--primary-color);
  opacity: .2; font-family: Georgia, serif; line-height: 1;
}
.blog-article pre {
  background: #0f172a; color: #e2e8f0;
  border-radius: 12px; padding: 1.25rem 1.5rem;
  overflow-x: auto; font-size: .87rem; margin-bottom: 1.4rem;
}
.blog-article code {
  background: #f1f5f9; color: var(--primary-color);
  border-radius: 5px; padding: .15rem .4rem; font-size: .87rem;
}
.blog-article pre code { background: transparent; color: inherit; padding: 0; }
.blog-article table {
  width: 100%; border-collapse: collapse; margin-bottom: 1.4rem;
  border-radius: 10px; overflow: hidden; font-size: .9rem;
}
.blog-article th {
  background: var(--primary-color); color: #fff;
  padding: .65rem 1rem; text-align: left; font-family: 'Sora', sans-serif; font-size: .82rem;
}
.blog-article td { padding: .6rem 1rem; border-bottom: 1px solid #e0f2fe; }
.blog-article tr:last-child td { border-bottom: none; }
.blog-article tr:nth-child(even) td { background: #f0f9ff; }

/* ── Article Footer ───────────────────────────── */
.article-footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid #e0f2fe;
}
.footer-label { font-size: .8rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .07em; }
.footer-share { display: flex; gap: .5rem; flex-wrap: wrap; }
.fshare-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #f1f5f9; color: #334155;
  border-radius: 99px; padding: .38rem .9rem;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all .2s;
}
.fshare-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* ── Sidebar ──────────────────────────────────── */
.blog-sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: #fff; border: 1px solid #e0f2fe;
  border-radius: 14px; padding: 1.25rem; margin-bottom: 1.25rem;
}
.sidebar-card-title {
  font-family: 'Sora', sans-serif;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #64748b; margin-bottom: .85rem;
  display: flex; align-items: center; gap: .4rem;
}

.sidebar-cta {
  background: var(--primary-gradient);
  border-radius: 14px; padding: 1.4rem;
  text-align: center;
}
.cta-label { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.cta-sub { font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.cta-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; color: var(--primary-color);
  border-radius: 99px; padding: .5rem 1.2rem;
  font-size: .84rem; font-weight: 700; text-decoration: none;
  transition: all .2s;
}
.cta-btn:hover { background: #0f172a; color: #fff; }

/* ── Related Section ──────────────────────────── */
.related-section {
  background: #f0f9ff;
  border-top: 1px solid #e0f2fe;
  padding: 3rem 0 4rem;
  margin-top: 2rem;
}
.related-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem;
}
.related-title {
  font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800; color: #0f172a; margin: 0;
}
.related-all {
  font-size: .84rem; font-weight: 600; color: var(--primary-color);
  text-decoration: none; display: flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.related-all:hover { gap: .55rem; }

.rcard {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid #e0f2fe; border-radius: 16px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  height: 100%;
}
.rcard:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(6,182,212,.14); border-color: #67e8f9; }
.rcard-img {
  position: relative; height: 195px; overflow: hidden; background: #e0f7fc;
}
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rcard:hover .rcard-img img { transform: scale(1.06); }
.rcard-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #bae6fd;
}
.rcard-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary-color); color: #fff;
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .55rem; border-radius: 99px;
}
.rcard-body { padding: 1.1rem 1.2rem; }
.rcard-title {
  font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 700;
  color: #0f172a; margin-bottom: .4rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rcard-desc {
  font-size: .82rem; color: #64748b; line-height: 1.55;
  margin-bottom: .75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rcard-read {
  font-size: .8rem; font-weight: 700; color: var(--primary-color);
  display: flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.rcard:hover .rcard-read { gap: .55rem; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 767px) {
  .blog-hero { min-height: 380px; }
  .hero-title { font-size: 1.6rem; }
  .hero-desc  { font-size: .92rem; }
  .blog-article { font-size: .95rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}
