/*
Theme Name: Liberman Theme
Theme URI: https://webabhishek.in/
Description: White and clean theme almost without css styles. Fonts and colors will be default of your browser.
Version: 1.0
Author: Abhishek
Author URI: https://webabhishek.in/
Tags: white, simple, fixed width, two columns, widgets, clean
*/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}

p img {
  padding: 0;
  max-width: 100%;
}
a img {
  border: none;
}
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.home_banner.blog-bg {
    padding: 140px 0;
    background: url('http://localhost/local/wp-content/uploads/2025/11/news2.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}


/* Dark overlay for better text visibility */
.home_banner.blog-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.home_banner.blog-bg .banner-content {
    position: relative;
    z-index: 2;
}

.home_banner.blog-bg h1 {
    font-size: 40px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    letter-spacing: 8px;
    line-height: 1;
}

.blog-row {
    padding: 80px 0;
    background: #fff;
}

.blog-row h2.center {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    color: #000;
    margin: 0;
}


/* Main Section */
.mainContent.news-page {
    padding: 60px 0;
    background: #fafafa;
}

/* Blog Box Layout */
.blog_box {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: 0.3s ease;
}

.blog_box:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Blog Image */
.blog_box .img {
    width: 40%;
    min-height: 180px;
    overflow: hidden;
}

.blog_box .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.blog_box:hover .img img {
    transform: scale(1.08);
}

/* Blog Text */
.blog_box .text {
    width: 60%;
    padding: 25px 25px 30px;
}

/* Blog Title */
.blog_box .text h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Date */
.blog_box .data {
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
}

/* Excerpt */
.blog_box .text p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Read Button */
.blog_box .default_btn a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #CD8E33;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.blog_box .default_btn a:hover {
    background: #444;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    margin: 0 5px;
    background: #fff;
    display: inline-block;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s;
}

.pagination a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 30px;
}

/* Search Box */
.side-search {
    margin-bottom: 30px;
}

/* Search Input */
.side-search input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.side-search input[type="submit"] {
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    background: #CD8E33;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.side-search input[type="submit"]:hover {
    background: #444;
}

/* Sidebar Box */
.side-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 30px;
}

.side-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

/* Category List */
.side-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-box ul li {
    margin-bottom: 12px;
}

.side-box ul li a {
    font-size: 15px;
    text-decoration: none;
    color: #555;
    transition: 0.3s ease;
}

.side-box ul li a:hover {
    color: #000;
    padding-left: 5px;
}


/* End Images */
