/* ????????????????????????????????????????????????????
   blog.css  —  Styles for Home/Blog page
   PDPortal / PublicDial Services
???????????????????????????????????????????????????? */

/* ?? Blog section wrapper ?? */
.blog_section { padding: 40px 0 50px; background: #f4f5fb; }

/* ?? Blog card ?? */
.blog_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,35,126,.08);
    margin-bottom: 28px;
    transition: box-shadow .3s, transform .3s;
}
.blog_card:hover {
 box-shadow: 0 8px 32px rgba(26,35,126,.18);
    transform: translateY(-4px);
}

/* ?? Card image area ?? */
.blog_card_img {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #e8eaf6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog_card_img i   { font-size: 56px; color: #c5cae9; }
.blog_card_img img { width: 100%; height: 100%; object-fit: cover; }

/* ?? Category badge ?? */
.blog_cat_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e65100;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ?? Card body ?? */
.blog_card_body { padding: 22px 24px 20px; }

.blog_meta {
  display: flex;
    gap: 16px;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.blog_meta span { display: flex; align-items: center; gap: 5px; }
.blog_meta i { color: #e65100; }

.blog_card_body h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 10px;
    line-height: 1.45;
    font-family: 'Sen', sans-serif;
}
.blog_card_body h5 a       { color: inherit; text-decoration: none; }
.blog_card_body h5 a:hover   { color: #e65100; }
.blog_card_body p { font-size: 13.5px; color: #666; margin-bottom: 16px; line-height: 1.7; }

/* ?? Read-more link ?? */
.blog_read_more {
    display: inline-flex;
    align-items: center;
 gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a237e;
    text-decoration: none;
    border-bottom: 2px solid #e65100;
    padding-bottom: 2px;
    transition: color .2s;
}
.blog_read_more:hover { color: #e65100; }

/* ?? Featured / hero post ?? */
.blog_featured {
    background: linear-gradient(135deg,#1a237e 0%,#283593 60%,#e65100 100%);
    border-radius: 12px;
    padding: 40px 36px;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.blog_featured::before {
    content: '\f15c';
    font-family: FontAwesome;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 100px;
    color: rgba(255,255,255,.07);
}
.blog_featured .blog_cat_badge { position: static; display: inline-block; margin-bottom: 14px; }
.blog_featured h3 { font-size: 24px; font-weight: 800; font-family: 'Sen',sans-serif; margin-bottom: 12px; color: #fff; }
.blog_featured p  { font-size: 14px; opacity: .85; margin-bottom: 20px; }

.blog_featured_meta {
font-size: 12px;
    opacity: .75;
    margin-bottom: 16px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.blog_featured_meta i { color: #ffb300; }

.blog_featured_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a237e;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}
.blog_featured_btn:hover { background: #ffb300; color: #1a237e; }

/* ?? Sidebar ?? */
.blog_sidebar { position: sticky; top: 20px; }

.sidebar_widget {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(26,35,126,.07);
    margin-bottom: 24px;
    overflow: hidden;
}
.sidebar_widget_header {
    background: linear-gradient(90deg,#1a237e,#283593);
    color: #fff;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Sen', sans-serif;
    border-left: 4px solid #e65100;
    letter-spacing: .4px;
}
.sidebar_widget_body { padding: 16px 20px; }

/* ?? Search box ?? */
.blog_search_box { display: flex; gap: 8px; }
.blog_search_box input {
    flex: 1;
    border: 1px solid #d0d4e8;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
}
.blog_search_box button {
    background: #e65100;
 color: #fff;
    border: none;
 border-radius: 6px;
    padding: 9px 16px;
    cursor: pointer;
    font-size: 14px;
}
.blog_search_box button:hover { background: #1a237e; }

/* ?? Category list ?? */
.cat_list { list-style: none; padding: 0; margin: 0; }
.cat_list li { border-bottom: 1px solid #f0f1f8; }
.cat_list li:last-child { border-bottom: none; }
.cat_list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
  transition: all .2s;
}
.cat_list li a:hover { color: #e65100; padding-left: 8px; }
.cat_list li a .cat_count {
    background: #e65100;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ?? Recent posts ?? */
.recent_post {
  display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f1f8;
    align-items: flex-start;
}
.recent_post:last-child { border-bottom: none; }
.recent_post_icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #e8eaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.recent_post_icon i { color: #1a237e; font-size: 18px; }
.recent_post_info a {
    font-size: 13px;
    font-weight: 600;
    color: #1a237e;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.recent_post_info a:hover { color: #e65100; }
.recent_post_info span { font-size: 11px; color: #aaa; }

/* ?? Tag cloud ?? */
.tag_cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag_cloud a {
  background: #f4f5fb;
    color: #444;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #d0d4e8;
    transition: all .2s;
}
.tag_cloud a:hover { background: #e65100; color: #fff; border-color: #e65100; }

/* ?? Pagination ?? */
.blog_pagination { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.blog_pagination a {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1a237e;
 font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(26,35,126,.08);
    transition: all .2s;
}
.blog_pagination a:hover,
.blog_pagination a.active { background: #e65100; color: #fff; }
