:root {
  /* Color shades */
  --s-0: 0%;
  --s-10: 10%;
  --s-20: 20%;
  --s-30: 30%;
  --s-40: 40%;
  --s-50: 50%;
  --s-60: 60%;
  --s-70: 70%;
  --s-80: 80%;
  --s-90: 90%;
  --s-100: 100%;

  /* White */
  --white: var(--white-100);
  --white-0: hsl(0, 0%, var(--s-0));
  --white-10: hsl(0, 0%, var(--s-10));
  --white-20: hsl(0, 0%, var(--s-20));
  --white-30: hsl(0, 0%, var(--s-30));
  --white-40: hsl(0, 0%, var(--s-40));
  --white-50: hsl(0, 0%, var(--s-50));
  --white-60: hsl(0, 0%, var(--s-60));
  --white-70: hsl(0, 0%, var(--s-70));
  --white-80: hsl(0, 0%, var(--s-80));
  --white-90: hsl(0, 0%, var(--s-90));
  --white-100: hsl(0, 0%, var(--s-100));

  /* Background color */
  --background-light: var(--white);
  --background: var(--white-90);
  --background-dark: var(--white-80);

  /* Text colors */
  --text: var(--white-20);
  --text-secondary: var(--white-60);
  --text-button: var(--white-100);

  /* Primary color */
  --primary-hue: 190;
  --primary: var(--primary-50);
  --primary-10: hsl(var(--primary-hue), 100%, var(--s-10));
  --primary-20: hsl(var(--primary-hue), 100%, var(--s-20));
  --primary-30: hsl(var(--primary-hue), 100%, var(--s-30));
  --primary-40: hsl(var(--primary-hue), 100%, var(--s-40));
  --primary-50: hsl(var(--primary-hue), 100%, var(--s-50));
  --primary-60: hsl(var(--primary-hue), 100%, var(--s-60));
  --primary-70: hsl(var(--primary-hue), 100%, var(--s-70));
  --primary-80: hsl(var(--primary-hue), 100%, var(--s-80));
  --primary-90: hsl(var(--primary-hue), 100%, var(--s-90));
  --primary-100: hsl(var(--primary-hue), 100%, var(--s-100));
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

@font-face {
    font-family: 'Philosopher';
    src: url('customfonts/Philosopher-Regular.woff') format('woff'),
    url('customfonts/Philosopher-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.h2,
h2 {
  font-size: 23px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.fade-up-onload {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.2s;
  /* دلخواه */
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.right-header a {
  pad: 10px 0;
}
html , body {
  font-family: "inter" !important;
}
/* Body */
body {
  width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  font-size: 14pt;
  color: var(--main-color) !important;
  background: rgba(218, 218, 218, 0.24) !important;
  direction: ltr;
  position: relative;
}



.arabic p {
  font-family: "Neirizi" !important;
    line-height: 2.5em;
}

.types.turkeyv.tr1 {
  line-height: 1.4em;
}

.types.tr2 {
  line-height: 1.4em;
}

.opt34 {
  display: none !important;
}

.popup-overlay-widsom {
  top: unset !important;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(600px 200px at 0% 0%, rgba(240, 240, 240, 0.45), #0000 60%), linear-gradient(180deg, rgb(239, 240, 240), rgb(173, 210, 208));
  box-shadow: 0 3px 8px rgb(192, 210, 209);
  z-index: 1000000;
  padding: 0 2rem;
  flex-direction: row-reverse;
}

header .logo-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.7rem;
  width: auto;
  height: 100%;
}

.logo-box .logo {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
}

.logo .logo-letters {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.logo-box .logo-text {
  font-size: 20px;
  color: var(--text);
}

header nav {
  display: flex;
  gap: 0.5rem;
  font-size: 21px;
}

nav .header-link {
  font-size: 18px;
  padding: 6px 12px;
  color: var(--text-secondary);
  border-bottom: 5px solid transparent;
  transition: border-color 0.3s ease;
}

nav .header-link:hover {
  cursor: pointer;
  border-bottom: 5px solid var(--primary);
}

/* Menu button & Sidebar */
.menu-button,
.sidebar {
  display: none;
}
 
 
 @media screen and (max-width: 900px) {
     
     .logo-link.desktop {
  display: none;
}


 }
@media screen and (max-width: 750px) {

  header nav {
	display: flex !important;
	gap: 0.5rem;
	position: fixed;
	top: 3.6em;
	background: white;
	right: 0;
	left: 0;
	/* height: 40px; */
	display: flex;
	align-content: center;
	justify-content: center;
}

  .logo-box .logo-text {
    font-size: 18px;
  }

  header nav {
    display: none!important;
  }

  .menu-button {
    display: block;
    margin-right: 1rem;
    width: 2.3rem;
    height: 2.3rem;
    font-size: 24px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  .menu-button:hover {
    background-color: var(--background);
    transition: background-color 0.3s ease;
  }

  .menu-button:focus {
    background-color: var(--background-dark);
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 100vh;
    background-color: var(--background-light);
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 1100000;
    flex-direction: column;
    padding-right: 13px;
    animation: sidebarIn 1s forwards;
    display: none;
  }

  @keyframes sidebarIn {
    0% {
      opacity: 0;
      transform: translateX(25rem);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes sidebarOut {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      transform: translateX(30rem);
    }
  }

  .sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    border-bottom: 2px solid var(--white-90);
    width: 100%;
  }

  .sidebar-header .sidebar-title {
    font-size: 22px;
    font-weight: 600;
    margin-left: 1rem;
  }

  .sidebar-header .close-button {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin-right: 1rem;
  }

  .close-button:hover {
    background-color: var(--background);
    transition: background-color 0.3s ease;
  }

  .close-button:focus {
    background-color: var(--background-dark);
  }

  .sidebar .sidebar-link>ul {
    list-style: none;
    padding: 10px;
  }

  .sidebar .sidebar-link>ul>li {
    padding: 5px 0;
  }

  .sidebar .sidebar-link>ul>li>a {
    font-size: 18px;
    color: var(--main-color);
  }

  .sidebar a.sidebar-link:hover,
  .sidebar a.sidebar-link:focus {
    color: var(--background);
    cursor: pointer;
    transition: color 0.3s ease;
  }
}



/* Container */
.container {
  /* max-width: 1000px !important; */
  margin-inline: 20px !important;
  width: auto !important;
}

@media (max-width: 1024px) {
  .container {
    margin-inline: 15px !important;
  }
}

@media (max-width: 768px) {
  .container {
    margin-inline: 10px !important;
  }
}

@media (max-width: 480px) {

  .head-all {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .fields {
    max-width: unset !important;
    margin: auto;
  }

  .post-header {
    margin-top: 7em;
    height: max-content !important;
  }

  .display-container {
    height: unset !important;
  }

  header {
    height: unset;
  }

  .fields .turkey {
    font-size: 15pt !important;
  }

  .container {
    margin-inline: 5px !important;
  }
  
  .phrase-card a {

  text-wrap: auto !important;
}

}

/* Search Bar */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.search-bar input[type="text"] {
  flex: 1 1 200px;
  padding: unset;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
  margin: 0;
  width: 100%;
  display: masonry;
}

.floating-icon-search i,
.bookmark i {
  font-size: 2.3em;

}

svg:not(:host).svg-inline--fa,
svg:not(:root).svg-inline--fa {
  color: grey;
}

span.esbmrk-tooltip {
  display: none !important;
}


.search-bar input[type="text"]:focus {
  border-color: #6c6c6c;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.search-bar button[type="submit"] {
  padding: 15px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-bar button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Post Cards */
.post-card {
  position: relative;
  background: var(--box_bgcolor);
  border-radius: 16px;
  padding: 1.5em 1em;
  max-width: 500px;
  transition: transform 0.2s ease;
}

.post-card a,
.post-card h2 {
  color: var(--main-color);
}

.post-card:hover {
  transform: translateY(-4px);
}

.interpret-btn {
  position: absolute;
  top: 1em;
  right: 1em;
  background-color: #007bff;
  color: white;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.interpret-btn:hover {
  background-color: #0056b3;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 20px;
}


.search-bar.floating-search.s-2 {
  margin-left: 10px;
}

#search-t {
  padding-left: 7px;
}

@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tefsir-template-default a.esbmrk-add-to-bookmark-btn .esbmrk-icon {

  backdrop-filter: invert(1);
  opacity: 1;
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  div.arabic-sec {
  padding-top: 3.5em !important;

}
  
}

.tools-widsom {
  display: flex;
  gap: 10px;
  padding: 3px;
  list-style: none;
  align-items: center;
  justify-content: start;
}

.tools-widsom li a {
  display: flex;
  gap: 10px;
  padding: 3px;
  list-style: none;
  align-items: center;
  justify-content: start;
  color: white;
  gap: 10px;
}

.post-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 1.5em 0 0.5em;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.post-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* Lists */
ol,
ul {
  list-style: none;
  display: flex;
  box-sizing: border-box;
}

/* Page and Content Wrappers */
#safirPage {
  color: var(--main-color) !important;
  background: var(--background) !important;
  margin: auto;
  position: relative;
}

.fa-solid:hover {
  color: var(--main-color);
}

.option-box {
  display: flex;
  justify-content: left;
  align-items: center;
  border-radius: 12px;
  padding: 10px 0 0 53px;
  margin: 1em 0;
  gap: 19px;
}

.py-5 {
  margin: 7.5em 0 !important;
  /* padding-inline: 20px; */
}

input {
  accent-color: #000000;
}

div.farsi,
div.arabic , div.arabic-sec {
  padding-top: 0.5em;
  padding-bottom: 1.5em;
  direction: rtl;
  line-height: 2em;
  font-size: 14pt;
  text-align: justify;
  font-family: Neirizi;
}

.turkey p {
  font-size: 15pt;
  line-height: 34px;
}

.tools li a {
  color: inherit;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

/* Tooltip hover */
.tools li a[title]:hover::after {
  content: attr(title);
  position: absolute;
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  top: -28px;
  white-space: nowrap;
  right: 0;
}

h1.real-title {
  text-align: left;
  font-size: 23px;
  margin-top: 30px;
}

.post.single {
  line-height: 29px;
  text-align: justify;
  max-width: 1200px;
}

.real-content {
  /* max-width: 1170px; */
  margin: auto;
  padding: 1em;
  background: radial-gradient(600px 200px at 0% 0%, rgba(221, 234, 224, 0.18), transparent 60%), linear-gradient(180deg, rgba(15,118,110,.14), rgba(72, 134, 129, 0.04));
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
  border: 1px solid rgba(188, 198, 172, 0.4);
}

.svg-inline--fa.fa-ellipsis {
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 1200px;
  margin-left: 20px;
}

.content p {
font-size: 18px;
font-weight: lighter;
}

.title-gp {
  display: flex;
  justify-content: left;
  gap: 5px;
  margin: 1em 0;
  padding: 0;
  align-items: center;
  flex-direction: row-reverse;
  font-size: 0.8em;
}

.phrase {
  color: #454649;
  font-size: 16pt;
  padding: 0 20px;
  transition: all 0.4s;
  opacity: 1;
  display: block;
  text-align: right;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.row-custom {
  display: flex;
  justify-content: center;
  text-align: justify;
  padding: 16px;
}

.row-custom:hover {
  background: var(--background);
  cursor: pointer;
  border-radius: 12px;
  padding: 16px;
}

.article-content {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.cta-two {
  position: relative;
  z-index: 99999999;
  margin-bottom: -70px;
}

.tools {
  display: flex;
    gap: 10px;
  margin: 0 -10px 16px;
  list-style: none;
  position: absolute;
  right: 0em;
  top: -3em;
  align-items: center;
}

.top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  flex-direction: row-reverse;
  margin-bottom: 14px;
  padding-left: 20px;
  padding-right: 16px;
}

a.esbmrk-add-to-bookmark-btn .esbmrk-icon {
  height: 21px !important;
  width: 21px !important;
}

.fa-lg {
  font-size: 17px !important;
}

a.esbmrk-add-to-bookmark-btn.esbmrk-marked .esbmrk-icon {
  background-size: 20px;
}

/* .tefsir-template-default .tools-widsom li a.esbmrk-add-to-bookmark-btn {
    background: white;
} */

.tefsir-template-default a.esbmrk-add-to-bookmark-btn.esbmrk-marked .esbmrk-icon {
  filter: invert(1);
}


.esbmrk-posts {
  width: 100%;
  margin: 7.5em 1em;
}

.card-body .tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 -10px 16px;
  list-style: none;
  position: absolute;
  right: 1em;
  top: 1em;
  align-items: center;
  left: unset;
}

.card-body:hover,
.esbmrk-posts-grid .esbmrk-article:hover {
  background: white;
  transition: all .2s;
  border-radius: 12px;
}

/* Arabic Text */
.arabic-text {
  direction: rtl;
  font-size: 1.25rem;
  line-height: 2;
  margin-bottom: 12px;
}

/* Translate Text */
.translate-text {
  font-size: 1rem;
  line-height: 1.8;
  direction: rtl;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Popup Box */
.popup-box {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: right;
}

label {
  text-align: left;
}

/* Popup Close Button */
.popup-close {
  position: absolute;
  left: 1.2rem;
  top: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #424040;
}

/* Popup Content */
.popup-content {
  text-align: right;
  line-height: 1.8;
  font-size: 1rem;
  color: #444;
}

.btn-show-popup,
.btn-next,
.btn-previous {
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 10px;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 34px;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
  flex-direction: row-reverse;
  margin-top: 20px;
}

.btn-show-popup:hover,
.btn-next:hover,
.btn-previous:hover {
  background-color: var(--primary-70);
}

.share-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  gap: 0.5em;
  justify-content: space-around;
  max-width: 400px;
}

.share-list li a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.share-list a:hover {
  color: #007bff;
}

.facebook a:hover i {
  color: #3b5998;
}

.twitter a:hover i {
  color: #1da1f2;
}

.telegram a:hover i {
  color: #0088cc;
}

.whatsapp a:hover i {
  color: #25d366;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
}


.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2rem;
  position: relative;
  padding-top: 2.5rem;
}

.nav-links a.page-numbers,
.nav-links span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 500;
  color: #333;
  background-color: #f3f4f6;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.nav-links a.page-numbers:hover {
  background-color: #007bff;
  color: #fff;
}

.nav-links span.page-numbers.current {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: default;
}

.nav-links svg {
  width: 14px;
  height: 14px;
}

.h1f {
  font-size: 17px;
  line-height: 25px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  user-select: none;
}

/* لینک ها و صفحه فعلی */
.pagination .page-numbers,
.pagination span.page-numbers.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #444;
  background-color: #f0f0f0;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* صفحه فعلی */
.pagination span.page-numbers.current {
background: #73A99E;
  color: #fff;
  cursor: default;
  border-color: #73A99E;
  box-shadow: 0 0 8px rgba(29, 93, 78, 0.6);
  font-weight: 700;
}

/* هاور روی لینک ها */
.pagination .page-numbers:hover {
  background-color: #73A99E;
  color: #fff;
  border-color: #9b7c6b;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.sidebar nav.main-nav ul {
  flex-direction: column;
  padding: 10PX;
  display: flex;
  text-align: right;
}

.sidebar nav.main-nav ul li {
  padding: 10px 0;
}

/* لینک بعدی (next) که شامل svg هست */
.pagination a.next.page-numbers {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* هاور روی لینک بعدی */
.pagination a.next.page-numbers:hover {
  background-color: #9b7c6b;
  border-color: #9b7c6b;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* استایل svg داخل لینک next */
.pagination a.next.page-numbers svg {
  width: 18px;
  height: 18px;
  fill: #444;
  transition: fill 0.25s ease;
}

/* تغییر رنگ svg هنگام هاور */
.pagination a.next.page-numbers:hover svg {
  fill: #fff;
}

.popup-overlay-audio {
  position: fixed;
  top: unset;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

button.popup-close-audio {
  width: 2em;
  height: 2em;
  right: 6px;
}


/* واکنش‌گرایی برای موبایل */
@media (max-width: 480px) {
  .esbmrk-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
  }

  /* Header */
  header {
    box-shadow: unset;
    justify-content: space-between;
  }

  .hide-mobile {
    display: flex !important;
    background: white;
    top: 122px;
    position: fixed;
    z-index: 9999;
    right: 0;
    left: 0;
    height: 50px;
    align-items: center;
    justify-self: center;
    width: 100%;
  }

  .nav.main-nav,
  .hide-mobile ul {
    display: flex;
    justify-content: space-between;
    margin-inline: auto;
  }

  .right-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
  }

  header {
    box-shadow: unset;
    justify-content: space-between;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    padding: 10px 0;
    /* margin: 10px; */
  }

  nav.main-nav {
    margin: auto;
  }

.head-all img {
  margin-top: 5px;
}

  button.popup-close-audio,
  .popup-close {
    width: unset;
    height: unset;
    right: 6px;
    background: white;
    display: inline-flex;
    width: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    z-index: 999;
  }

  .popup-box-audio {
    /* background: #fff; */
    padding: 1rem;
    border-radius: 0;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: right;
  }

  .popup-box-audio audio {
    margin: auto;
    width: 95%;
    padding-left: 15px;
  }


  .popup-close-audio {
    position: absolute;
    left: 11px;
    top: 9px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    color: #666;
  }

  .tools {
    display: flex;
    flex-direction: initial;
    gap: 10px;
    margin: 0 -10px 16px;
    list-style: none;
    position: absolute;
    right: 8px;
    top: -3em;
    align-items: center;
    left: unset;
    
  }


.container-custom {

  padding: 0 0px !important;

}

  .cta-two .inner-container {
    height: 200px !important;
    text-align: center;
  }


  .search-bar {
    margin-inline: 20px;
  }

  /* Header */
  header {
    padding: 10px;
  }

  .posts-grid {
    padding: 20px;
  }

  .pagination {
    gap: 8px;
  }

  .pagination .page-numbers,
  .pagination span.page-numbers.current,
  .pagination a.next.page-numbers {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .pagination a.next.page-numbers svg {
    width: 14px;
    height: 14px;
  }

  header {
    box-shadow: unset;
    justify-content: space-between;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    padding: 20px 0;
  }

  .right-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  
  
    .phrase {
  color: #454649;
  font-size: 14pt;
  padding: 0 1px !important;
  transition: all 0.4s;
  opacity: 1;
  display: block;
  text-align: right;
}

}


ul.sidebar-link li a {
  color: var(--main-color);
  font-weight: 600;
  font-size: 19px;
  margin-inline: 14px;
}


i.fas.fa-check-circle {
  fill: #25d366;
  /* background-color: red; */
}

.menu-item svg:not(:host).svg-inline--fa,
.menu-item svg:not(:root).svg-inline--fa {
  color: #1C8E5A !important;
}

.titles {
  display: flex;
  flex-direction: column;
}

.titles span {
  font-size: 14pt !important;
  color: var(--main-color);
}

div#search-result,
#search-rs {
  position: absolute;
  background: #ffffff;
  min-height: 100px;
  height: max-content;
  top: 110%;
  display: block;
  z-index: 9999;
  right: 0;
  left: 0;
  border-radius: 12px;
  display: none;
}


div#search-result ul {
      display: flex;
  flex-direction: column;
  
  margin: 0;
  padding: 0;
}

div#search-result ul li {
  position: relative;
  display: block;          /* مهم */
  width: 100%;             /* مهم */
  padding: 10px 12px 10px 32px;
  margin-bottom: 6px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

div#search-result ul li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--main-color);
  border-radius: 50%;
}

div#search-result ul li a {
  display: block;          /* باعث می‌شود هر لینک یک خط کامل بگیرد */
  width: 100%;
  color: var(--main-color);
  font-weight: 500;
  text-decoration: none;
}

div#search-result ul li:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.phrase-card {
  border: unset;
  background-color: #eff2f8;
  border-radius: 10px;
  transition: all .4s;
}

.phrase-card {
  border: unset;
  background-color: #eff2f8;
  border-radius: 10px;
  transition: all .4s;
}


.card-body {
  flex: 1 1 auto;
  padding: 1rem;
}

.esbmrk-posts-grid .esbmrk-article {
  border: unset;
  background-color: #d8e3e1b2;
  border-radius: 10px;
  transition: all .4s;
}

.esbmrk-posts-grid .esbmrk-article a.esbmrk-article-title {
  font-size: 16px !important;

}

.phrase-card .card-text,
.phrase-card .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14pt;
  width: 340px;
}


form.search-bar.floating-search {
  position: fixed;
  top: 0;
  right: 0;
  left: 0 !important;
  height: 4.5em;
  border: unset;
    left: 0;
  width: 100;
  margin: 0;
}

.phrase-card a {
  color: var(--main-color);
  font-size: 18px;
  overflow: hidden;
  text-wrap: nowrap;
}

header .bookmark {
  color: var(--main-color);
}

.phrase-card a {
  color: var(--main-color);
  font-size: 17px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /* row-cols-1 */
  gap: 1rem;
  /* g-3: حدود 1rem بین ستون‌ها و ردیف‌ها */
  padding-top: 1.5rem;
  /* py-4 */
  padding-bottom: 1.5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
}

.phrase-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  transition: all .4s;
  box-shadow: 0 1px 9px rgba(2,6,23,.06);
}



@media (min-width: 576px) {
  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
    /* row-cols-sm-2 */
  }


}

@media (min-width: 992px) {
  .custom-grid {
    grid-template-columns: repeat(3, 1fr);
    /* row-cols-lg-3 */
  }
}











li.current-menu-item {
  border-bottom: solid 0px #ae9564 !important;
  transition: all 1s;
}


.container,
.esbmrk-posts {
  /* max-width: 1300px; */
  /* margin: 10em auto; */
}

.esbmrk-posts {
  margin: 8em 1em;
  padding: 0 20px;
}

.post-header {
  color: #fff !important;
  padding: 0 16px;
  /* height: 50vh; */
  background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .2)), url(images/bg001.bafc039.jpg) fixed center/cover;
  width: 100%;
}


.tools-widsom {
	color: var(--main-color) !important;
	background: #f0f0ec !important;
  width: fit-content;
  border-radius: 12px;
}

.display-container {
	position: relative;
	/* height: 50vh; */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	margin-top: 5em;
}

.post-content,
.post-footer {
  padding: 1em;
}

.container * {


}

.real-content {
  max-width: 1240px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 1em;
  padding-left: 32px;
  padding-right: 32px;
}


.btn-previous:hover {

  background-color: #404248;
}

.btn-next:hover {

  background-color: #404248;
}

.display-container {
  position: relative;
  /* height: 50vh; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.post-title h1 {
  margin: 30px 0 10px 0;
  line-height: 1.0;
  font-weight: 500;
  color: white;
  font-size: 20px;
}

.post-subtitle {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin: 0 0 10px 0;
}

.pst * {
  margin: 0 10px 0 0;
}

.ce {
  border-radius: 50%;
}

.hg {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 24px;
}

.hg .post-categories {
  display: inline-block;
  list-style-type: none;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
}

.hg a {
  text-decoration: none;
  text-transform: lowercase;
  margin-right: 5px;
}

.hg a:before {
  content: "#"
}

.comment-list {
  list-style-type: none;
  -webkit-padding-start: 0px;
  -webkit-margin-before: 16px;
  -webkit-margin-after: 0px;
  -webkit-margin-end: 0px;
}

.comment-list .comment {
  display: flex;
  flex: 1;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  margin-right: 16px !important;
  margin-bottom: 0px;
  vertical-align: middle;
}

.comment-content {
  background-color: #ccc !important;
  color: #000;
  padding: 13px 13px !important;
  margin-bottom: 0;
}

.opacity {
  opacity: 0.60;
}

.comment-body-arrow {
  position: relative;
  left: -5px;
  top: 30px;
  margin-top: -12px;
  display: block;
  width: 0px;
  height: 0px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #ccc;
}

.post-nav {
  display: flex;
  flex-direction: column;
}

.post-nav a {
  color: #fff !important;
  text-decoration: none;
}

.post-nav-content {
  padding: 16px 16px 0 16px;
  min-height: 65px;
  filter: grayscale(1000%);
}

.post-nav-content:hover {
  filter: grayscale(0%);
}

.post-comment-time {
  margin-left: 5px;
}

.fields .arabic , .fields .arabic-sec {
  color: #ffb400;
  font-weight: 600;
}

.fields {
  max-width: 40vw;
  margin: auto;
}

.fields .turkey {
  font-size: 20pt;
}

/* Container */
.container {
  margin: 9em 1em 4em 1em;
  padding: 0px 10px 0px 10px;
}

.svg-inline--fa.fa-xmark.close-fl-search2 {
  margin-right: 10px;
}

@media (min-width: 480px) {
  .mobile , .hide-mobile {
    display: none;
  }

  .titles {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}




}

.cta-two_button {
  display: none;
}

.sub-title {
  display: none;
}


@media (max-width: 480px) {

  .hide-mobile {
	top: 3.9em;
	position: fixed;
	z-index: 99999999;
	color: var(--main-color);
	width: 100%;
	left: 0;
	justify-content: center;
	background: white;
    background: radial-gradient(600px 100px at 0% 0%, rgba(221, 234, 224, 0), transparent 20%), linear-gradient(180deg, rgb(133, 182, 178), rgb(255, 255, 255));
    border-bottom: 1px dotted #e1fdf5;
}


  .desktop {
    display: none;
  }

    header {
        padding: 10px;
        display: flex;
        flex-direction: column;
    }

    .head-all {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-header {
    display: flex;
    width: 100%;
    justify-content: right;
    gap: 20px;
}

.container {
  margin: 8em 1em 2em 1em;
  margin-inline: .5em;
  width: 100%;

}


  .content {
  margin-left: 0px;
}

.option-box {

  padding: 10px 0 0 19px;

}


}


#wpadminbar {
  display: none;
}

.post-content .container  {
  margin: unset!important;
}


/* new styles */

.cta-two {
    position: relative;
    z-index: 2;
    width: 100%;
}

.auto-container {
    padding: 0px!important;
}

.custom-grid , .home  > .container {
    max-width: 1240px!important;
}

div.translation-checkboxes {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.types.turkeyv.tr1 span {
  font-family: inter !important;