/*
Theme Name:   Theme By MXporn.Online
Theme URI:    #
Description:  Best Theme
Author:       Xmaza.Online
Author URI:   https://xmaza.online
Template:     generatepress
Version:      9.9.9
Text Domain:  my-custom-gp
*/

@import url("../generatepress/style.css");  /* Ensure this line imports the parent theme's styles */
:root{
	--base-2:#fofofofo;
}

.has-inline-mobile-toggle #site-navigation.toggled {
    background-color: rgba(0, 0, 0, 0);
}

/*Additional CSS*/
.widget-area .widget .recent-posts-widget-with-thumbnails {
    padding: 0px;
}
.comments-area,
.home-grid,
.archive .page-header,
.category .page-header,
.search .page-header,
.blog .inside-article,
.page .inside-article,
.single .inside-article,
.category .inside-article,
.tag .inside-article,
.search .inside-article,
#left-sidebar .widget_block,
#right-sidebar .widget_block {
	border: 1px solid var(--border);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
header.site-header {
	box-shadow: 0 4px 25px 0 #0747a01a;
}
header .inside-header {
  padding: 15px 40px !important;
}
.read-more {
	display: block;
  padding-top: 15px;
}
.blog footer.entry-meta .cat-links,
.category footer.entry-meta .cat-links,
.search footer.entry-meta .cat-links,
.tag footer.entry-meta .cat-links {
	display: none;
}
.blog footer.entry-meta .tags-links,
.category footer.entry-meta .tags-links,
.search footer.entry-meta .tags-links,
.tag footer.entry-meta .tags-links {
	display: none;
}
.blog footer.entry-meta .comments-link,
.category footer.entry-meta .comments-link,
.search footer.entry-meta .comments-link,
.tag footer.entry-meta .comments-link {
	display: none;
}
.single-featured-image {
	padding-top: 25px;
}


.blog .inside-article,
.category .inside-article,
.search .inside-article,
.tag .inside-article {
	padding-bottom: 10px;
}



ul.wp-block-categories li,
ul.wp-block-archives li {
	list-style-type: none;
	margin-left: 0px;
	border-bottom: 1px dotted var(--border);
}
ul.wp-block-categories li a,
ul.wp-block-archives li a {
	display: inline-block;
	width: 80%;
	float: none;
	text-decoration: none;
	padding-bottom: 13px;
	margin-bottom: 13px;
}
.wp-block-tag-cloud a {
	font-size: 14px !important;
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 5px 12px;
	margin-bottom: 10px;
}
#left-sidebar .widget-title::before,
#right-sidebar .widget-title::before,
.section-title::before {
	content: "❤️";
  margin-right: 5px;	
}
.section-title::after {
	content: "❤️";
  margin-right: 5px;	
}
.search.widget-title .wp-block-search__inside-wrapper {
	margin-top: 20px;
}
.rpwwt-widget .rpwwt-post-date {
	font-size: 14px;
  padding-bottom: 15px;
}
.home-grid a {
	text-decoration: none;
}
hr.home-page-separator {
	margin-top: -10px;
	border-width: 0px;
	background-color: var(--border);
}



/* New Added CSS 

.entry-date{
	display:none;

.attachment-full{
	display:none;
}

.entry-summary
{
	display:none;
}

*/
.entry-meta{
	display:none;
}

.read-more {
	background-image: linear-gradient(to right, #1F51FF		 10%, #00a9d3 55%, #009ac9 10%);
	font-size: 13px;
	padding: 8px 25px;
	text-align: center;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	box-shadow: rgba(0,0,0,.14) 0 2px 6px 0;
	border-bottom: 2px solid rgba(0, 0, 0, .2);
	border-radius: 120px;	
}


.read-more:hover{
	background-position: right center;
	transform: translateY(0);
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.4);
	/* change the direction of the change here */
	color: #fff;
	text-decoration: none;
}

/* Hide Feature image */
.featured-image {
	display:none;
}

.separate-containers .comments-area,.separate-containers .inside-article,.separate-containers .page-header,.separate-containers .paging-navigation {
    padding: 10px;
}
.widget-area .widget {
    padding: 10px;
}

a {
text-decoration: none;
}

h2,h3 {
	border:3px solid black;
  border-style: dotted;
  border-radius:10px;
  padding-left:5px;
  padding-right:2px;
  padding-top:5px;
  padding-bottom:5px;
}


.pt-cv-content-item{
	border-radius:10px;
}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link {
    width: 100%;
    background-color: darkred;
}

/*More New Changes*/

body.archive .site-content {
    display: block !important;
}

/* Prevents the grid from stretching too much when few items exist */
body.archieve .grid-container {
   max-width: 700px !important;
    margin: auto;
}

/* Adjust layout for fewer items */
body.archieve .grid-container:has(article:nth-child(1):nth-last-child(1)),
body.archieve .grid-container:has(article:nth-child(1):nth-last-child(2)) {
    display: flex  !important;
    justify-content: center !important ;
    gap: 20px !important ;
    flex-wrap: wrap  !important;
}

/* Category List Page Styling */
.category-list-page {
    text-align: center;
    padding: 40px 20px;
}

/* Category Buttons Container */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Individual Category Button */
.category-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #0073aa;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s;
}

/* Hover Effect */
.category-btn:hover {
    background-color: #005a87;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

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

.custom-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    color: #3F51B5;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #3F51B5;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    font-weight: bold;
}

.custom-pagination .page-numbers:hover {
    background: #3F51B5;
    color: white;
}

.custom-pagination .page-numbers.current {
    background: #3F51B5;
    color: white;
    font-weight: bold;
    border: 1px solid #3F51B5;
}

.custom-pagination .prev,
.custom-pagination .next {
    background: #3F51B5;
    color: white;
    border-radius: 6px;
    font-weight: bold;
}

.custom-pagination .prev:hover,
.custom-pagination .next:hover {
    background: #283593;
}



.custom-post {
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    max-width: 600px;
    margin: auto;
    text-align: center;
}
.movie-poster {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 10px auto;
    border-radius: 10px;
}
.custom-post ul {
    list-style: none;
    padding: 0;
}
.custom-post ul li {
    background: #e3e3e3;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
}
.custom-post ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}
.custom-post ul li a:hover {
    color: #ff4500;
}


/* Recent Posts With Thumbnails Widget */
.recent-posts-thumb-widget {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-thumb-widget li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.recent-posts-thumb-widget li:last-child {
  border-bottom: none;
}

.recent-posts-thumb-widget .thumb-link img.custom-thumb-img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.recent-posts-thumb-widget .thumb-text {
  margin-left: 15px;
  flex: 1;
}

.recent-posts-thumb-widget .thumb-title {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 5px;
}

.recent-posts-thumb-widget .thumb-title:hover {
  color: #d33;
  text-decoration: none;
}

.recent-posts-thumb-widget .thumb-date {
  font-size: 13px;
  color: #999;
}
.recent-posts-thumb-widget .thumb-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;          /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  max-height: calc(1.4em * 3);    /* Ensures height fits 3 lines */
  transition: color 0.3s ease;
}


