/*
 * Hydra Tameecom Managed File
 * Project: Hydra Site Builder
 * File: media/templates/site/cassiopeia_hydra_msmsj/css/user.css
 * File Version: 1
 * Updated: 02/11/2026
 * Change: تمت إضافة ترويسة تعريفية مولدة من مسار الملف الفعلي.
 */

/* ==========================================
   Hydrated Global CSS (use.css)
   خاص بكل الأقسام — Template Hydra-MSMSJ
   ========================================== */

/* ---------- الألوان الأساسية ---------- */
:root {
  
  --body-font-size: 15pt;
  --body-bg: #ffffff;
}
```css
/*
 * Tameecom Login Topbar v2.4
 * Responsive RTL styling for Joomla mod_login.
 * Supports logged-out and logged-in states.
 */

.container-topbar {
  --login-bg: #dceeff;
  --login-bg-light: #eef7ff;
  --login-bg-end: #c3def8;
  --login-accent: #246da5;
  --login-accent-hover: #185580;
  --login-text: #173b59;

  direction: rtl;
  width: 100%;
  color: var(--login-text);
  box-sizing: border-box;
}

.container-topbar *,
.container-topbar *::before,
.container-topbar *::after {
  box-sizing: border-box;
}

/* Shared bar: login and logout */
.container-topbar form.mod-login,
.container-topbar form.mod-login-logout {
  direction: rtl;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 6px 10px;
  color: var(--login-text);
  background: linear-gradient(
    105deg,
    var(--login-bg),
    var(--login-bg-light),
    var(--login-bg-end)
  );
  border: 1px solid #b8d6f0;
  border-radius: 0 0 9px 9px;
  box-shadow: 0 2px 6px rgba(30, 75, 115, .10);
  font-size: 12px;
  line-height: 1.3;
}

/* Login fields */
.container-topbar .mod-login__userdata {
  display: flex;
  flex: 1 1 auto;
  flex-flow: row nowrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.container-topbar .mod-login__username,
.container-topbar .mod-login__password {
  display: flex;
  flex: 0 1 220px;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.container-topbar .mod-login .input-group {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.container-topbar .mod-login input.form-control,
.container-topbar .mod-login input[type="text"],
.container-topbar .mod-login input[type="password"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 4px 9px;
  color: #263746;
  background: #fff;
  border: 1px solid #b7cee3;
  border-radius: 5px;
  box-shadow: none;
  font-size: 13px;
}

.container-topbar .mod-login input:focus {
  border-color: var(--login-accent);
  outline: 2px solid rgba(36, 109, 165, .15);
}

/* Icons beside their corresponding fields */
.container-topbar .mod-login .input-group-text,
.container-topbar .mod-login .input-password-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0;
  padding: 5px 9px;
  color: #fff;
  background: var(--login-accent);
  border: 1px solid var(--login-accent);
}

.container-topbar .mod-login .input-group-text {
  border-radius: 0 5px 5px 0;
}

.container-topbar .mod-login .input-password-toggle {
  border-radius: 5px 0 0 5px;
}

/* Remember me */
.container-topbar .mod-login .form-check,
.container-topbar .mod-login__remember {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
}

.container-topbar .mod-login .form-check-input,
.container-topbar .mod-login input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.container-topbar .mod-login .form-check-label {
  margin: 0;
  white-space: nowrap;
}

/* Login and logout buttons: never hide them */
.container-topbar .mod-login__submit,
.container-topbar .mod-login-logout__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
}

.container-topbar .mod-login .btn,
.container-topbar .mod-login button[type="submit"],
.container-topbar .mod-login input[type="submit"],
.container-topbar .mod-login-logout .btn,
.container-topbar .mod-login-logout button[type="submit"] {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 33px;
  margin: 0;
  padding: 6px 15px;
  color: #fff;
  background: linear-gradient(180deg, #347fb7, #24618f);
  border: 1px solid var(--login-accent-hover);
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  visibility: visible;
  opacity: 1;
}

.container-topbar .mod-login .btn:hover,
.container-topbar .mod-login-logout .btn:hover {
  color: #fff;
  background: var(--login-accent-hover);
}

/* Links */
.container-topbar .mod-login__options,
.container-topbar .mod-login__options.list-unstyled {
  display: inline-flex;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.container-topbar .mod-login__options li {
  margin: 0;
  padding: 0;
}

.container-topbar .mod-login a,
.container-topbar .mod-login-logout a {
  color: #205782;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.container-topbar .mod-login a:hover,
.container-topbar .mod-login-logout a:hover {
  color: #123c60;
  text-decoration: underline;
}

/* Hide the duplicate login-page link, not the submit button */
.container-topbar .mod-login a[href*="view=login"] {
  display: none !important;
}

/* Keep labels accessible without increasing bar height */
.container-topbar .mod-login__username label,
.container-topbar .mod-login__password label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Authenticated state */
.container-topbar .mod-login-logout__login-greeting,
.container-topbar .login-greeting {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  margin: 0;
  color: var(--login-text);
  font-size: 13px;
  font-weight: 600;
}

.container-topbar .mod-login-logout__options {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.container-topbar .mod-login-logout__options li {
  margin: 0;
  padding: 0;
}

.container-topbar .mod-login-logout__button input[type="hidden"] {
  display: none;
}

/* Mobile: allow wrapping so the login button remains visible */
@media (max-width: 767.98px) {
  .container-topbar form.mod-login,
  .container-topbar form.mod-login-logout {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    padding: 7px;
    overflow: visible;
  }

  .container-topbar .mod-login__userdata {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .container-topbar .mod-login__username,
  .container-topbar .mod-login__password {
    flex: 1 1 135px;
    min-width: 0;
  }

  .container-topbar .mod-login__submit {
    flex: 0 0 auto;
  }

  .container-topbar .mod-login__options {
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 6px;
  }

  .container-topbar .mod-login .btn,
  .container-topbar .mod-login button[type="submit"],
  .container-topbar .mod-login input[type="submit"],
  .container-topbar .mod-login-logout .btn {
    min-height: 34px;
    padding: 7px 12px;
  }

  .container-topbar .mod-login-logout__login-greeting,
  .container-topbar .login-greeting {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .container-topbar .mod-login__username,
  .container-topbar .mod-login__password {
    flex: 1 1 100%;
  }

  .container-topbar .mod-login__options {
    flex: 1 1 100%;
  }
}

/* ---------- تحسين الـ Article Info ---------- */
dl.article-info {
  background: #f9fff3;
  border: 1.5px solid #c7d3a6;
  border-left: 6px solid var(--cassiopeia-color-primary);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 20px 0;
  font-size: 13pt;
  color: #3b3b3b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

dl.article-info dt { display: none; }

dl.article-info dd {
  margin: 8px 0;
  display: flex;
  align-items: center;
  color: #4a4a4a;
}

dl.article-info dd:hover {
  color: var(--cassiopeia-color-hover);
  transform: translateX(2px);
  transition: all 0.2s ease;
}

dl.article-info dd::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: var(--cassiopeia-color-primary);
}

dd.createdby::before,
dd.category-name::before {
  content: none !important;
}

dd.published::before {
  content: "\f017";
}

dl.article-info a {
  color: var(--cassiopeia-color-link);
  text-decoration: none;
  font-weight: 600;
}

dl.article-info a:hover {
  color: var(--cassiopeia-color-hover);
  text-decoration: underline;
}

/* ---------- تحسين محتوى المقال ---------- */
.article-content {
  background: #fffdf5;
  border: 1px solid #e4d9b3;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.06),
              0 4px 10px rgba(0,0,0,0.07);
  font-family: "Noto Serif", "Amiri", serif;
  line-height: 1.8;
  color: #3a2f2f;
  position: relative;
}

.article-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,240,180,0.1));
  pointer-events: none;
}

/* ---------- الهيدر والفوتر ---------- */
header.site-header {
  background: linear-gradient(to right, #f3f7ff, #eaf0fa);
  border-bottom: 2px solid #5460a8;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

footer.site-footer {
  background: #f8f9fb;
  border-top: 2px solid #5460a8;
  color: #444;
  text-align: center;
  padding: 20px 10px;
  font-size: 11pt;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

/* ===========================================================
   MODULE HEADER – Premium Elegant Style  
   =========================================================== */

.card-header,
.moduletable > h3,
.module-title,
h3.moduletitle {
    background: linear-gradient(135deg, #1e3c72, #2a5298);  /* الأزرق الملكي */
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px 10px 0 0;
    border-bottom: 3px solid #ff9800;  /* خط سفلي برتقالي فاخر */
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    font-size: 17px;
    letter-spacing: 0.3px;
}

/* لمعة خفيفة على العنوان (glossy glow) */
.card-header::after,
.moduletable > h3::after,
.module-title::after,
h3.moduletitle::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: rgba(255,255,255,0.12);  /* لمعة subtle */
    pointer-events: none;
}


/* -----------------------------------------------
   أقسام المواضيع (Latest + Popular) — عام
   إزالة الخطوط — تحسين طريقة العرض
   ----------------------------------------------- */

/* UL */
.archery-latest,
.archery-popular {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* العناصر */
.archery-latest-item,
.archery-popular-item {
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

/* عناوين */
.archery-latest-title,
.archery-popular-title {
  color: var(--cassiopeia-color-hover);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none !important;
  display: block;
  margin-bottom: 6px;
}

/* إزالة الخط تحت روابط الأقسام + تحسين الخط */
.archery-latest-category a,
.archery-popular-category a {
  text-decoration: none !important;
  font-weight: 800;
  font-size: 15px;
  transition: 0.2s;
}

.archery-latest-category a:hover,
.archery-popular-category a:hover {
  color: var(--cassiopeia-color-primary);
}

/* التاريخ والزيارات */
.archery-latest-date,
.archery-popular-hits {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Pagination عالمي ---------- */
.pagination {
  margin: 28px 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination li {
  list-style: none;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
}

.pagination .active span {
  background: var(--cassiopeia-color-primary);
  color: white;
  border-color: var(--cassiopeia-color-primary);
}


/* ========= CSS عام للقالب ========= */

/* تحسين التجاوب */
@media (max-width: 600px) {
  dl.article-info {
    font-size: 12pt;
    padding: 10px;
  }

  .article-content {
    padding: 16px;
  }
}

/* Pagination – عام لكل الأقسام */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 15px 0;
}

.pagination li {
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f9fc;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (max-width: 600px) {
  .pagination a,
  .pagination span {
    padding: 5px 10px;
    font-size: 12pt;
  }
}

/* إزالة الخط أسفل عناوين المواضيع */
.com-content-category a {
    text-decoration: none !important;
}
.com-content-category a:hover {
    text-decoration: none !important;
}
/* الصندوق العام لقائمة المواضيع */
.com-content-category .category-list {
    background: #f9fbff;
    border-radius: 16px;
    padding: 20px;
}

/* كل موضوع */
.com-content-category .list-title,
.com-content-category .cat-list-row {
    background: #ffffff;
    margin-bottom: 12px;
    padding: 15px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* تأثير عند المرور */
.com-content-category .list-title:hover,
.com-content-category .cat-list-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* عنوان الموضوع */
.com-content-category .list-title a {
    font-size: 17px;
    font-weight: bold;
    color: #003366;
}

/* بيانات إضافية (تاريخ - كاتب - زيارات) */
.com-content-category .small {
    color: #777;
    font-size: 13px;
}

/* تحسين الفواصل */
.com-content-category hr {
    display: none;
}
/* الحاوية العامة */
.blog-wall-wrapper{
    margin-top:25px;
    text-align:center;
}

/* زر الجدار */
.blog-wall-button{
    display:inline-block;
    background:linear-gradient(135deg,#6a11cb,#2575fc);
    color:#fff;
    padding:12px 28px;
    border-radius:30px;
    font-weight:bold;
    text-decoration:none;
    box-shadow:0 6px 14px rgba(0,0,0,.15);
    transition:0.3s ease;
}

.blog-wall-button:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.22);
}
html, body {
  overflow-x: hidden;
}

```css
/* ==========================================
   Tameecom AuthorGate — Author Profile Button
   Version: 1
   الهوية البرتقالية لمركز التدوين والتوثيق
   ========================================== */

/* زر الملف الشخصي */
.container-topbar .tameecom-author-profile-nav,
.tameecom-author-profile-nav {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;

    padding: 8px 15px !important;
    margin: 4px 6px !important;

    color: #7c2d12 !important;
    background: linear-gradient(
        135deg,
        #fff7ed 0%,
        #ffedd5 100%
    ) !important;

    border: 1px solid #e7a45b !important;
    border-radius: 8px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    visibility: visible !important;
    opacity: 1 !important;

    position: relative;
    z-index: 1000;

    box-shadow: 0 2px 5px rgba(124, 45, 18, 0.10);
    transition: background-color 0.2s ease,
                box-shadow 0.2s ease;
}

/* عند مرور المؤشر */
.container-topbar .tameecom-author-profile-nav:hover,
.tameecom-author-profile-nav:hover {
    color: #7c2d12 !important;
    background: #fed7aa !important;
    border-color: #c77722 !important;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(124, 45, 18, 0.18);
}

/* عند التنقل بلوحة المفاتيح */
.tameecom-author-profile-nav:focus-visible {
    outline: 2px solid #c77722 !important;
    outline-offset: 3px;
}

/* ضبط شريط الدخول والخروج */
.container-topbar form.mod-login-logout {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 7px;
}

/* الهواتف */
@media (max-width: 767px) {
    .container-topbar .tameecom-author-profile-nav,
    .tameecom-author-profile-nav {
        padding: 7px 11px !important;
        margin: 3px !important;
        font-size: 12px !important;
    }
}
```
