.BlogArea {
    padding-top: 53px;
    padding-bottom: 100px;
}

/* ========== Sidebar ================== */
.SidebarWidget {
    margin-bottom: 50px;
}

.WidgetTitle {
    font-family: var(--TitleFont);
    font-size: 41px;
    margin-bottom: 20px;
}

.SearchInput {
    width: 100%;
    border: 1px solid var(--LightGrey);
    padding: 12px 15px;
}

.CategoryList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.CategoryList li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 2px dotted var(--PrimaryColor);
    font-size: 15px;
}

.CategoryList li span {
    font-weight: 500;
    color: #1C1C1C;
}

.CategoryList li a {
    color: #414141;
}

.CategoryList li a:hover {
    color: var(--PrimaryColor);
}

.TagButton {
    border: 1px solid var(--LightGrey);
    padding: 8px 14px;
    margin: 5px 5px 5px 0;
    display: inline-block;
    font-size: 14px;
    background: #fff;
    color: #414141;
}

.TagButton:hover,
.TagButton.Active {
    background: var(--PrimaryColor);
    color: #fff;
    border-color: var(--PrimaryColor);
}

.InstagramGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.InstagramItem {
    background: #dcdcdc;
    aspect-ratio: 1/1;
}

/* =====================
   Post Cards
===================== */
.PostCard {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: 0.3s;
    padding: 13px;
}

.PostImageWrapper {
    position: relative;
}

.PostImage {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.PostTag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    font-size: 13px;
}

.PostContent {
    padding: 20px;

}

.PostCard .PostDate {
    font-size: 14px;
    margin-bottom: 10px;
}

.PostDate {
    color: #777777;
    display: flex;
    gap: 8px;
    align-items: center;
}

.Calendar {
    background: url('data:image/svg+xml,<svg width="15" height="17" viewBox="0 0 15 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.33333 7.5H5V9.16667H3.33333V7.5ZM15 3.33333V15C15 15.9167 14.25 16.6667 13.3333 16.6667H1.66667C1.22464 16.6667 0.800716 16.4911 0.488155 16.1785C0.175595 15.866 0 15.442 0 15L0.00833333 3.33333C0.00833333 2.41667 0.741667 1.66667 1.66667 1.66667H2.5V0H4.16667V1.66667H10.8333V0H12.5V1.66667H13.3333C14.25 1.66667 15 2.41667 15 3.33333ZM1.66667 5H13.3333V3.33333H1.66667V5ZM13.3333 15V6.66667H1.66667V15H13.3333ZM10 9.16667H11.6667V7.5H10V9.16667ZM6.66667 9.16667H8.33333V7.5H6.66667V9.16667Z" fill="%23555555"/></svg>');
    width: 18px;
    height: 20px;
    background-size: 18px;
}

.PostCard .PostTitle {
    margin-bottom: 10px;
    line-height: 1.3;
}

.PostCard .PostTitle a {
    font: 700 1.25rem var(--TitleFont);
    color: #000;
    display: block;

}

.PostCard .PostTitle a:hover {
    color: var(--PrimaryColor);
}

.PostExcerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* =====================
   Pagination
===================== */

.PaginationWrapper {
    display: flex;
    justify-content: center;
}

.PaginationCustom {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.PageLink {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #C4C4C4;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

/* Hover */
.PageLink:hover {
    background-color: #F58634;
    color: #fff;
    border-color: #F58634;
}

/* Active */
.PageLink.Active {
    background-color: #F58634;
    color: #fff;
    border-color: #F58634;
}

/* ================= LAYOUT ================= */

.PostBanner {
    background-color: #000;
    height: 126px;
}

/* ================= BLOG HEADER ================= */
.PostCategory {
    display: inline-block;
    background: var(--PrimaryColor);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    margin-bottom: 15px;
}

.PostCategory a {
    color: #fff
}

.PostHeader .PostTitle {
    font-family: var(--TitleFont);
    font-size: 32px;
    margin-bottom: 15px;
}


.PostMeta {
    color: #777777;
    margin-bottom: 28px;
}

.PostAuthor {
    gap: 8px;
}

.MetaAuthorImg {
    width: 21px;
    height: 21px;
    border-radius: 20px;
    background-color: #ccc;

}

.PostMeta .Calendar {
    background: url('data:image/svg+xml,<svg width="15" height="17" viewBox="0 0 15 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.33333 7.5H5V9.16667H3.33333V7.5ZM15 3.33333V15C15 15.9167 14.25 16.6667 13.3333 16.6667H1.66667C1.22464 16.6667 0.800716 16.4911 0.488155 16.1785C0.175595 15.866 0 15.442 0 15L0.00833333 3.33333C0.00833333 2.41667 0.741667 1.66667 1.66667 1.66667H2.5V0H4.16667V1.66667H10.8333V0H12.5V1.66667H13.3333C14.25 1.66667 15 2.41667 15 3.33333ZM1.66667 5H13.3333V3.33333H1.66667V5ZM13.3333 15V6.66667H1.66667V15H13.3333ZM10 9.16667H11.6667V7.5H10V9.16667ZM6.66667 9.16667H8.33333V7.5H6.66667V9.16667Z" fill="%23777777"/></svg>');
    width: 11px;
    height: 12.26px;
    background-size: 11px;
}

.PostFeaturedImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 5px;
}

/* ================= AUTHOR BOX ================= */
.AuthorSection {
    margin-top: 50px;
    padding-top: 30px;
}

.AuthorBox {
    display: flex;
    align-items: center;
    gap: 20px;
}

.AuthorImage {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.AuthorName {
    font-weight: 600;
    font-size: 17px;
}

.AuthorDetail {
    color: #666;
    font-size: 12px;
    font-weight: 300;
}

/* ================= POST SHARE SECTION ================= */

.PostShareSection {
    margin: 40px 0;
    text-align: center;
}

.ShareDivider {
    height: 1px;
    background: var(--LightGrey);
    margin: 20px 0;
}

.ShareWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.HorizontalLine {
    width: 100%;
    height: 1px;
    background: var(--PrimaryColor);
}

.ShareIcons {
    display: flex;
    gap: 18px;
}

.ShareIcon {
    font-size: 18px;
    color: var(--BaseColor);
    transition: 0.3s ease;
}

.ShareIcon:hover {
    color: var(--PrimaryColor);
}

/* ================= RELATED POSTS ================= */
.RelatedSection {
    margin-top: 60px;
}

.RelatedHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ViewAllBtn {
    padding: 8px 18px;
}

.RelatedCard {
    background: #fff;
    border: 1px solid #eee;
}

.RelatedImage {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.RelatedContent {
    padding: 15px;
}

.RelatedTitle {
    font-family: var(--TitleFont);
    font-size: 16px;
}