/* =======================
   DT POSTS (WHITE STYLE like screenshot)
======================= */

:root{
  --accent:#ff4d3a;          /* orange/red */
  --navy:#0b134f;            /* heading navy */
  --text:#2b2f3a;            /* paragraph */
  --muted:#6b7280;           /* meta */
  --card:#ffffff;
  --radius:14px;
  --container:1200px;
  --gap:24px;
  font-family:'Poppins',system-ui,Arial,sans-serif;
}

/* ✅ Full white section */
#dt_posts{
  background:#ffffff;
  padding: 80px 0;
}

/* ✅ Center container */
#dt_posts .dt-container{
  width:100%;
  max-width: var(--container);
  margin:0 auto;
  padding: 0 24px;
  background: transparent !important;
}

/* ===== Heading Block ===== */
#dt_posts .dt_siteheading{
  text-align:center;
  margin-bottom: 46px;
}

/* orange subtitle */
#dt_posts .dt_siteheading .subtitle{
  display:block;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* big navy heading */
#dt_posts .dt_siteheading .title{
  color: var(--navy);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
  font-size: clamp(30px, 3.5vw, 54px);
}

/* ✅ red curved underline under the <span>Services</span> */
#dt_posts .dt_siteheading .title span{
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

#dt_posts .dt_siteheading .title span::after{
  content:"";
  position:absolute;
  left:50%;
  bottom: -2px;
  width: 150px;          /* underline length */
  height: 20px;          /* curve height */
  border-bottom: 6px solid var(--accent);
  border-radius: 0 0 120px 120px;
  transform: translateX(-50%) rotate(-4deg);
}

/* paragraph */
#dt_posts .dt_siteheading .text p{
  color: #444;
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

/* ===== Cards Grid ===== */
#dt_posts .dt-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

/* card look (clean white like screenshot) */
#dt_posts .dt-post{
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display:flex;
  flex-direction: column;
  box-shadow: 0 14px 40px rgba(11,19,79,0.10);
  border: 1px solid rgba(11,19,79,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

#dt_posts .dt-post:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(11,19,79,0.16);
}

#dt_posts .dt-post .image{
  width:100%;
  height:230px;
  overflow:hidden;
  background:#f3f4f6;
}

#dt_posts .dt-post .image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .6s ease;
}
#dt_posts .dt-post:hover .image img{
  transform: scale(1.05);
}

#dt_posts .dt-post .inner{
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

/* meta */
#dt_posts .dt-post .meta ul{
  display:flex;
  gap: 12px;
  align-items:center;
  list-style:none;
  padding:0;
  margin:0;
  color: var(--muted);
  font-size: 13px;
}
#dt_posts .dt-post .meta a{ color: var(--muted); }
#dt_posts .dt-post .meta i{ color: var(--muted); }

/* category pill style like screenshot */
#dt_posts .dt-post .catetag a{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color:#fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
}

/* title/content */
#dt_posts .dt-post h4.title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}
#dt_posts .dt-post .content p{
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* button */
#dt_posts .dt-post .readmore{
  margin-top:auto;
  display:flex;
  justify-content:center;
  padding-top: 10px;
}
#dt_posts .dt-post .btn{
  display:inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  border: 2px solid rgba(11,19,79,0.10);
  background: #fff;
  transition: all .25s ease;
}
#dt_posts .dt-post .btn:hover{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
  transform: translateY(-2px);
}

/* responsive */
@media (max-width:1100px){
  #dt_posts .dt-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:700px){
  #dt_posts{ padding: 60px 0; }
  #dt_posts .dt-grid{ grid-template-columns: 1fr; }
  #dt_posts .dt-post .image{ height: 200px; }
  #dt_posts .dt_siteheading .title span::after{ width: 120px; }
}
