@font-face {
  font-family: dibaj; /* set name */
  src: url('/assets/fonts/DibajFaNum-Regular.woff'); /* url of the font */
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'dibaj', 'Tahoma', sans-serif;
    text-align: justify;
}

p{
    line-height: 1.7;
}
li{
    text-align: justify;
    line-height: 1.7;
}
.hero {
    position: relative;
    background: url('/img/background.png') no-repeat center center;
    background-size: cover;
    height: 75vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero h1 {
    background-color: rgba(0,0,0,0.5);
    padding: 1rem 2rem;
    border-radius: 10px;
}
.publication-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}
.category-badge {
    cursor: pointer;
}
footer a {
    text-decoration: none;
}
section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.card-title{
	font-weight: bold;
	font-size:small;
	/*margin-top:10px;
    line-height: 2;
    min-height: 50px;*/
}
.card-text{
	font-size:small;
	text-align: justify;
}
.card-author{
	font-size:small;
}

.section-title{
	font-weight: bold;
    margin-top:30px;
}

h1.section-title{font-size:xx-large;line-height: 2;}
h2.section-title{font-size:x-large; line-height: 2;}

.card-thumbnail{
    height: 300px;
    width: auto;
    margin: auto;
    padding: 5px;
    border-radius: 10px;
}

.cat-tag{
	background: #396;
	font-size:small;
	padding:3px;
	color:white;
	border-radius:3px;		
}

.btn-more{
    display:inline-block;
    vertical-align: bottom;
    font-size:small;
    padding:5px 10px;
}

@media(max-width:768px){
	.card-thumbnail{
		height:160px;
		width:auto;
		margin:5px auto;
	}
	
.hero {
    background: url('/img/background-mobile.png') no-repeat center center;
}

}



/** ّFooter */
@media (min-width: 1024px) {
    .footer .links {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media(max-width:768px){
    .flex-col-xl{
        flex-direction: column;
    }
}

.footer .links {
    background-color: #888;
    padding: 2rem 0.5rem;
}

.links a{
    color:#212529
}

.footer-section-header{
  color: #212529;
  font-size:large;
  font-weight: bold;
}

.img-social{
    width:30px;
}

.service-card{
    margin-bottom:25px;
    flex-basis:min-content;
    flex-grow:1;
}

.service-icon{
    width:100px;
    display:block;
    margin:0 auto;
    margin-bottom:15px;
}

.service-title{
    font-size: small;
    font-weight: bold;
    text-align: center;
}


/* */
.faq-item{
    margin-top: 15px;
    padding: 10px 10px;
    box-shadow: 2px 2px 2px 2px #eee;
}

.faq-question{
    line-height: 2;
    font-weight: bold;
}

.faq-answer{
    line-height: 2;
}

.subbox-highlighted{
  background-color: #eee;
  border-radius:1px solid blue;
}


.modal-header .btn-close{
  margin:-.5rem -.5rem -.5rem -0.5rem !important
}


.book-excerpt-card {
  direction: rtl;
  text-align: right;

  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 20px;

  padding: 24px 26px;
  margin: 24px 0;

  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.06);

  position: relative;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.book-excerpt-card:hover {
  transform: translateY(-2px);
  border-color: #d8dee9;
  box-shadow: 0 12px 32px rgba(20, 40, 80, 0.09);
}

/* Decorative accent on the right */
.book-excerpt-card::before {
  content: "";
  position: absolute;

  top: 0;
  right: 0;

  width: 5px;
  height: 100%;

  background: linear-gradient(
    180deg,
    #1976ff 0%,
    #5b8def 100%
  );

  border-radius: 0 20px 20px 0;
}

/* Title */
.book-excerpt-card h3 {
  margin: 0 0 16px;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;

  color: #172033;
}

/* Small icon before title */
.book-excerpt-card h3::before {
  content: "✦";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border-radius: 10px;

  background: #f0f6ff;
  color: #1976ff;

  font-size: 18px;
}

/* Description */
.book-excerpt-card p {
  margin: 0;

  color: #4b5567;

  font-size: 16px;
  line-height: 2.1;

  text-align: justify;
}

/* Links inside the excerpt */
.book-excerpt-card a {
  color: #1976ff;
  text-decoration: none;
  font-weight: 500;
}

.book-excerpt-card a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .book-excerpt-card {
    padding: 20px;
    border-radius: 16px;
  }

  .book-excerpt-card h3 {
    font-size: 18px;
  }

  .book-excerpt-card p {
    font-size: 15px;
    line-height: 2;
  }
}

.nav-tabs .nav-link.active{
    border-color:white !important;
    border-bottom: 2px solid dodgerblue !important;
}

.book-info-description h3{
    font-weight: bold;
    font-size:large
}

.book-info-description h2 {
    font-weight: 700 !important;
    background: #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

.book-info-description li {
    text-align: justify;
    line-height: 2.7;
    list-style-type: disclosure-closed;
    font-size: medium;
}

@media(max-width: 768px){
    .book-info-description p, .book-info-description li{
        font-size:small;
        line-height: 1.7em;
    }

    .book-info-description ul{
        padding-left:0px
    }
}



/* Author Image Wrapper*/
.author-image-wrapper {
  position: relative;
  overflow: hidden;
}

.author-image-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: rgba(0, 0, 0, 0);
  opacity: 0;

  transition:
    background 0.25s ease,
    opacity 0.25s ease;
}

.author-image-wrapper:hover .author-image-overlay {
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.author-image-action {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);
  color: #212529;

  font-size: 1.25rem;

  cursor: pointer;

  transform: translateY(5px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.author-image-wrapper:hover .author-image-action {
  transform: translateY(0);
}

.author-image-action:hover {
  background: #fff;
}

.author-image-delete:hover {
  background: #dc3545;
  color: #fff;
}

/* */