/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
.menu-item::after {
  content: attr(data-hover);
  position: absolute;
  top: 72%; /* Below the menu item */
  left: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  color: #fff; /* Roman text color */
  font-size: 14px; /* Roman text size */
}
.menu-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.slider-caption h2 {
  letter-spacing: 0 !important;
  text-transform: none;
}
.heading-block h1, .heading-block h2, .heading-block h3, .heading-block h4, .emphasis-title h1, .emphasis-title h2 {
  letter-spacing: 0 !important;
}
.menu-link {
  font-size: 1.5rem !important;
  letter-spacing: 0 !important;
  font-family: 'mher', serif !important;
}
.counter + h5 {
  font-weight: 700;
  letter-spacing: 0 !important;
}
h5 {
  font-size: 2rem !important;
}
.fbox-content h3 {
  font-family: 'mher', serif !important;
}
.heading-block h3 {
  font-size: 2.75rem ! important;
}
.heading-block span {
  font-size: 1.75rem ! important;
}
.button {
	letter-spacing: 0 !important;
}
#page-title h1 {
	letter-spacing: 0 !important;
}
.ghazal-text-justify {
	font-weight: 400;
	font-size: calc(1rem + ((1rem - .45rem) *.90)); /*1.5rem;*/
	text-align-last: justify;
	line-height: 3rem;
}



.nazm-text-right {
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 3rem;
}
.ghazal-couplet-short, .nazm-quote-short {
	font-size: 1.25rem !important;
	
}
.ghazal-couplet-short h3, .nazm-quote-short h3 {
	font-size: 1.25rem !important;
}
.ghazal-couplet-short p {
	font-size: 1.25rem !important;
	text-align-last: justify !important;
	padding-left: 10%;
}
.nazm-quote {
    display: inline-block;
    text-align: right; /* Justifies the text */
    font-size: 18px; /* Adjust the size as needed */
    direction: rtl; /* Sets the text direction to right-to-left */
    white-space: pre-wrap; /* Keeps the line breaks intact */
	line-height: 1 !important;
}
.couplet {
    display: inline-block;
    text-align: justify; /* Justifies the text */
    font-size: 18px; /* Adjust the size as needed */
    direction: rtl; /* Sets the text direction to right-to-left */
    white-space: pre-wrap; /* Keeps the line breaks intact */
	line-height: 1 !important;
}

.couplet::after {
    content: '';
    display: inline-block;
    width: 100%; /* Forces justification */
}

.couplet-single-justify {
	text-align-last: justify;
}

.flex-direction-nav {
    margin: 20px 0 !important;
}
.flex-next, .flex-prev {
    margin-top: 50px !important;
}

#side-panel .side-panel-wrap {
	right: auto !important;
	left: 0 !important;
}

.containerx {
    display: flex;
    justify-content: space-between; /* Pushes the divs to opposite sides */
    align-items: center; /* Align items vertically */
    width: 100%;
}

.left-div {
    padding: 10px;
    width: 150px;
    text-align: center;
}

.right-div {
    padding: 10px;
    width: 150px;
    text-align: center;
}
.nav-tree li {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nav-tree li a {
  letter-spacing:normal !important;
  font-family: 'mher', serif !important;
}
@media only screen and (max-width: 576px) {
    .col-sm-6.col-lg-4 {
        padding-left: 10%;
        padding-right: 10%;
    }
}
/*@media only screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}*/
.entry-title.title-sm h2, .entry-title.title-sm h3 {
  font-size: 1.5rem !important;
  letter-spacing: 0 !important;
  margin: 0 0 30px 0 !important;
}
.sidebar-widgets-wrap .widget > h4 {
  letter-spacing: 0 !important;
  font-size: 1.5rem !important;
}
.widget_links li {
	font-size: 18px;
}
.top-search-form input {
	font-family: 'mher', serif !important;
	letter-spacing: normal !important;
}
.breadcrumb { font-size: 20px !important;}
.fardiat-content {
	position: relative;
	overflow: hidden;
}

.fardiat-content p {
	margin-bottom: 0;
	font-family: 'mher', serif !important;
	width: 350px;
	margin: 0 auto;
	font-size: 1.5rem;
	font-weight: 600;
	text-align:justify;
	text-align-last: justify;
}

@media (max-width: 991.98px) {
  .swiper_wrapper .slider-caption h2 {
    font-size: 7vw;
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
  }
}

@media screen and (min-width: 320px) and (max-width:767px) {
    .fbox-sm .fbox-icon {
      width: 3rem;
      height: 2rem;
      padding: 0 1rem 0 0;
    }
    
    .nazm-text-right {
        font-weight: 400;
        font-size: clamp(18px, 2vw, 24px);
        line-height: 3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ghazal-text-justify {
        font-size: clamp(18px, 2vw, 24px);
    }
    
    .entry-title.title-sm h2 {
        font-size: clamp(18px, 2vw, 24px);
    }
    
    .ghazal-couplet-short p {
    	font-size: clamp(18px, 2vw, 24px) !important;
    	padding-left: 0px;
    }
    
    .right-div {
        width: auto !important;
    }
}
