/*
Theme Name: Albasta
*/
@font-face { font-family: label; src: url(Somar-Bold.otf); }
@font-face { font-family: logo; src: url(Somar-Black.otf); }
@font-face { font-family: thetitle; src: url(Alyamama-Regular.ttf); }
@font-face { font-family: caption; src: url(Alyamama-Light.ttf); }
@font-face { font-family: contentfont; src: url(Alyamama-Light.ttf); }
@font-face { font-family: fact; src: url(Somar-Light.otf); }
@font-face { font-family: factbold; src: url(Somar-Bold.otf); }

/* ===== BASE ===== */
html {
    height: 100%;
    min-height: 100%;
    direction: rtl;
}

body {
    margin: 0;
    background-color: #F4F4F4;
}

/* ===== LINKS FIX ===== */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== WRAPPER ===== */
.wrapper {
    margin: 0 auto;
    background-color: #FFF;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px 0 0;
  background-color: #071C2E;
  border-bottom: 1px solid #EEE;
  box-sizing: border-box;
}

.logo {
  width: auto;
  margin: 0;
  padding-top: 0;
  text-align: right;
  font-family: logo;
  color:#FFF;
	font-size:30px;
}

.tools {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 0 0 20px;
  box-sizing: border-box;
}

.logo a {
    color:#FFF;
	  font-size:30px;
}


.tools a {
  display: flex;
  align-items: left;
  justify-content: left;
}


.header-search-form {
  width: 100%;
  max-width: 280px;
  height: 30px;
  background: #fff;
  border: 2px solid #7f7f7f;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  margin-top: 15px;
  direction: ltr; /* يخلي الزر أقصى الشمال */
}

.header-search-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: fact, Arial, sans-serif;
  font-size: 14px;
  color: #555;
  text-align: right;
  direction: rtl;
  min-width: 0;
}

.header-search-input::placeholder {
  color: #9a9a9a;
}

.header-search-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8a;
  cursor: pointer;
  flex: 0 0 auto;
}

.header-search-btn svg {
  display: block;
}

.header,
.wrapper,
.container {
  overflow-x: hidden;
}


@media (max-width: 600px) {
  .header-search-form {
    max-width: 180px;
    height: 28px;
  }

  .header-search-input {
    font-size: 13px;
  }

  .header-search-btn svg {
    width: 20px;
    height: 20px;
  }
}
/* ===== CONTAINER ===== */
.container {
    margin: 0 auto;
    padding: 20px;
    background-color: #FFF;
}

/* ===== TITLES ===== */
h2 {
	font-weight: normal;
    text-align: right;
    line-height: 0.1em;
    margin: 20px 0 30px 0;
    font-family: thetitle;
}

h2 span {
    font-size: 16px;
    background: #FFF;
    padding-left: 10px;
}


.label {
	font-size:18px;
    border-bottom: 1px solid #D9DEE6;
	color: #00127E;
    padding: 0 0 10px 0;
	font-family: label;

}
.label a{
	color: #00127E
}

.seplist{
	border-bottom: 1px dotted #EEE;
	padding: 10px 0 10px 0;

}

/* ===== articleS ===== */


.articles-grid {
  width: 100%;
  display: flex;
  flex-direction: column;

}

.article-card {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 0px;
  padding: 20px 0px 22px 0px;
  border-bottom: 1px #EEE solid;
  cursor: pointer;
  font-family: fact;
  box-sizing: border-box;
}

.article-icon {
  font-size: 17px;
  color: #000;
	margin-bottom:15px;
	font-family:factbold;
	flex:1;

}

.article-text {
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.9em;
  text-align: justify;
  font-size: 14px;
}

.article-text span {
  color: #ff7a00;
  font-weight: bold;
}

.article-card.is-clickable:hover .article-text{
	font-size: 14px; !important;
  color:red;
}

@media (max-width: 600px) {
    .article-text {
        font-size: 14px !important;
    }
	
	  .yarpp .article-text{
    font-size: 14px !important;
  }
}

.yarpp .article-text{
  font-size: 14px !important;
}



.article-divider {
  height: 1px;
  background: #eee;
  margin: 15px 0;
}

.article-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.article-name a {
  font-weight: bold;
  font-size: 14px;
  color: inherit;
}

.article-source {
  font-size: 12px;
  color: #888;
}

.article-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    direction:rtl;
}

.article-icon{
    flex:1;
}

.article-share-box{
    position:relative;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    transform:translateY(-6px);
}

.copy-link-btn{
    width:34px;
    height:34px;
    border:0;
    background:none;
    padding:0;
    margin:0;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    transition:background 0.2s ease;
}

.copy-link-btn svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:#111;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
    display:block;
    transition:stroke 0.2s ease;
}

.copy-link-btn.copied{
    background:#e6f4ea;
}

.copy-link-btn.copied svg{
    stroke:#2e7d32;
}

.copy-msg{
    position:absolute;
    top:50%;
    left:42px;
    transform:translateY(-50%);
    background:#111;
    color:#fff;
    font-size:12px;
    line-height:1;
    padding:7px 10px;
    border-radius:14px;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    transition:0.2s ease;
}

.article-share-box.show-copy-msg .copy-msg{
    opacity:1;
    visibility:visible;
}
/* ===== TOOLBAR ===== */
.toolbar {
  border-top: 1px solid #EEE;
  font-family: Courier New;
  font-size: 12px;
  color: #6A6A6A;
  border-radius: 0px;
  width: 100%;
  padding: 0px 10px;
  height: 40px; /* 🔥 مهم */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  box-sizing: border-box;
}

/* اللايك (يمين) */
.div1 {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: rtl;
  margin-left: auto;
  height: 100%; 
}

/* الأيقونات (يسار) */
.div2 {
  display: flex;
  align-items: center;
	padding-left:10px;
  gap: 12px;
  height: 100%; 
}

/* إصلاح الإضافة */
.pld-like-dislike-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  height: 100%; 
}


.pld-like-wrap,
.pld-dislike-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
  height: 100%;
}

/* الأيقونات */
.pld-like-dislike-wrap i {
  display: flex;
  align-items: center;
  height: 100%;
}

/* الأرقام */
.pld-count-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}


.pld-like-dislike-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px;

  transform: translateY(10px); 
}

/* أيقونات السوشال */
.toolbar img {
  width: 15px;
  height: 15px;
  display: block;
}

/* ===== SIDEBAR (FIXED) ===== */
.menu-toggle {
  cursor: pointer;
  font-size: 28px;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #FFF;
  color: #000;
  transition: right 0.3s ease;
  z-index: 1001;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  text-align: right;
  font-size: 18px;
  font-family: factbold;
}

.sidebar.open {
  right: 0;
}

.sidebar a {
  display: block;
  padding: 15px;
  color: #000;
  border-bottom: 1px solid #EEE;
}

.sidebar a:hover {
  background-color: #444;
  color: #fff;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.overlay.active {
  display: block;
}

/* ===== TAG HEADER ===== */
.tag-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  font-family:fact;
}

.tag-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.tag-name {
  font-size: 18px;
  font-weight: bold;
}

.tag-desc {
  font-size: 13px;
  color: #777;
}

/* ===== FOOTER ===== */
.footer {
    display:flex;
    margin:0 auto;
    background-color: #F4F4F4;
    padding: 10px 15px;
    border-top: 1px solid #EEE;
    font-family: fact;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 480px) {
    .wrapper { width: 100%; }
     .article-text{font-size:14px;}
}

@media screen and (min-width: 768px) {
    .wrapper { width: 600px; }
}


.bottom-nav {
  clear: both;
  overflow: hidden;
  margin-top: 25px;
  font-family: fact, Arial, sans-serif;
  font-size: 14px;
}

.bottom-nav-left {
  float: left;
}

.bottom-nav-right {
  float: right;
}

.bottom-nav a {
  color: #000;
  text-decoration: none;
  background: #fff;
  border: 1px solid #DDD;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-block;
  transition: 0.2s;
}

.bottom-nav a:hover {
  background: #F5F5F5;
  border-color: #BBB;
}


@media (max-width: 768px){
  .fae-newsletter-form{
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .fae-newsletter-form input[type="email"]{
    width: 100% !important;
    flex: none !important;
  }

  .fae-newsletter-form button{
    width: 160px !important;
    flex: none !important;
    margin: 0 auto !important;
  }
}