/*
Theme Name: ktbbi Theme
Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 2.8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ====== تعريف الخطوط الجديدة ====== */
@font-face {
    font-family: 'Ktbbyfont';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Ktbbyfont'), url('ktbby.woff') format('woff');
}
@font-face {
    font-family: 'Ktbbyfont';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Ktbbyfont'), url('ktbby-bold.woff') format('woff');
}
@font-face {
    font-family: 'Ktbbyfont';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local('Ktbbyfont'), url('ktbby-bold.woff') format('woff');
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline
}

ol,
ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

caption,
th,
td {
  font-weight: normal;
  text-align: right
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both
}

html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%
}

a:focus {
  outline: thin dotted
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block
}

audio,
canvas,
video {
  display: inline-block
}

audio:not([controls]) {
  display: none
}

del {
  color: #333
}
ins {
  background: #f7fff7;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 5px;
  margin: 10px 0;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin: 24px;
  margin-bottom: 1.714285714rem
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sup {
  top: -0.5em
}

sub {
  bottom: -0.25em
}

small {
  font-size: smaller
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic
}

.clear:after,
.wrapper:after,
.format-status .entry-header:after {
  clear: both
}

.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
  display: table;
  content: ""
}

.archive-title,
.page-title,
.widget-title,
.entry-content th,
.comment-content th {
  font-weight: bold;
  text-transform: uppercase;
  color: #636363
}

article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
  font-size: 11px;
  font-size: .785714286rem;
}

button,
input,
select,
textarea {
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: inherit;
  padding: 6px;
  padding: .428571429rem
}

button,
input {
  line-height: normal
}

textarea {
  font-size: 100%;
  overflow: auto;
  vertical-align: top
}

input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
  border: 0;
  border-radius: 0;
  padding: 0
}

.menu-toggle,
input[type="submit"],
input[type="button"],
input[type="reset"],
article.post-password-required input[type=submit],
.bypostauthor cite span {
  background: #222;
  color: #fff;
  border: 0;
  padding: 8px 16px
}

.menu-toggle,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  cursor: pointer
}

button[disabled],
input[disabled] {
  cursor: default
}

.menu-toggle:hover,
.menu-toggle:focus,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
article.post-password-required input[type=submit]:hover {
  background: #000000;
  color: #fff
}

.menu-toggle:active,
.menu-toggle.toggled-on,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
  background: #000000;
  color: #fff
}

.bypostauthor cite span {
  color: #fff;
  background-color: #21759b;
  background-image: none;
  border: 1px solid #1f6f93;
  border-radius: 2px;
  box-shadow: none;
  padding: 0
}

.entry-content img,
.comment-content img,
.widget img {
  max-width: 100%
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
  height: auto
}

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
  max-width: 100%;
  height: auto
}

embed,
iframe,
object,
video {
  max-width: 100%
}

.entry-content .twitter-tweet-rendered {
  max-width: 100%!important
}

.alignleft {
  float: left
}

.alignright {
  float: right
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto
}

.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
  border-radius: 3px
}

.wp-caption {
  max-width: 100%;
  padding: 4px
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
  font-style: italic;
  font-size: 12px;
  font-size: .857142857rem;
  color: #757575
}

img.wp-smiley,
.rsswidget img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0
}

.entry-content dl.gallery-item {
  margin: 0
}

.gallery-item a,
.gallery-caption {
  width: 90%
}

.gallery-item a {
  display: block
}

.gallery-caption a {
  display: inline
}

.gallery-columns-1 .gallery-item a {
  max-width: 100%;
  width: auto
}

.gallery .gallery-icon img {
  height: auto;
  max-width: 90%;
  padding: 5%
}

.gallery-columns-1 .gallery-icon img {
  padding: 3%
}

.site-content nav {
  clear: both;
  overflow: hidden
}

#nav-above {
  padding: 24px 0;
  padding: 1.714285714rem 0;
  display: none
}

.paged #nav-above {
  display: block
}

.nav-previous,
.previous-image {
  float: left;
  width: 50%
}

.nav-next,
.next-image {
  float: right;
  text-align: right;
  width: 50%
}

.nav-single+.comments-area,
#comment-nav-above {
  margin: 48px 0;
  margin: 3.428571429rem 0
}

.author .archive-header {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.author-info {
  border-top: 1px solid #ededed;
  margin: 24px 0;
  margin: 1.714285714rem 0;
  padding-top: 24px;
  padding-top: 1.714285714rem;
  overflow: hidden
}

.author-description p {
  color: #757575;
  font-size: 13px;
  font-size: .928571429rem;
}

.author.archive .author-info {
  border-top: 0;
  margin: 0 0 48px;
  margin: 0 0 3.428571429rem
}

.author.archive .author-avatar {
  margin-top: 0
}

html {
  font-size: 87.5%
}

body {
  font-size: 14px;
  font-family: 'Ktbbyfont', Tahoma, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  color: #444;
  overflow-x: hidden;
}

body.custom-font-enabled {
  font-family: 'Ktbbyfont', Tahoma, Arial, sans-serif;
}

a {
  outline: 0;
  color: #000000
}

a:hover {
  color: #337f36
}

.assistive-text,
.site .screen-reader-text {
  position: absolute!important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px
}

.main-navigation .assistive-text:focus,
.site .screen-reader-text:hover,
.site .screen-reader-text:active,
.site .screen-reader-text:focus {
  background: #fff;
  border: 2px solid #333;
  border-radius: 3px;
  clip: auto!important;
  color: #000;
  display: block;
  font-size: 14px;
  height: auto;
  padding: 12px;
  position: absolute;
  top: 5px;
  left: 5px;
  width: auto;
  z-index: 100000
}

.site {
  padding: 0 24px;
  padding: 0 1.714285714rem;
  background-color: #fff
}

.site-content {
  padding-top: 20px
}

.widget-area {
  margin: 24px 0 0;
  margin: 1.714285714rem 0 0
}

.site-header h1,
.site-header h2 {
  text-align: center
}

.site-header h1 a,
.site-header h2 a {
  color: #515151;
  display: inline-block;
  text-decoration: none
}

.site-header h1 a:hover,
.site-header h2 a:hover {
  color: #21759b
}

.site-header h1 {
  font-size: 24px;
  margin-bottom: 14px;
  margin-bottom: 1rem
}

.site-header h2 {
  font-weight: normal;
  font-size: 14px;
  color: #757575
}

.header-image {
  width: auto
}

.main-navigation {
  text-align: center;
  background: #3d3d3d
}

.main-navigation li {
  font-size: 12px;
  padding: 2px 10px;
  padding-bottom: 10px;
  position: relative
}

.main-navigation li:last-child:before {
  display: none
}

.main-navigation li:before {
  content: '';
  position: absolute;
  height: 30%;
  width: 1px;
  background: #797174;
  left: 0;
  top: 50%;
  margin-top: -6px
}

.main-navigation li.menu-item-home a {
  text-indent: -11111px;
  width: 16px;
  height: 16px;
  background: url('css/home.png') no-repeat center center;
  background-size: contain
}

.main-navigation a {
  color: #5e5e5e;
  padding: 0;
  padding-top: 10px
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: #21759b
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu>ul {
  display: none;
  font-family: 'Ktbbyfont', sans-serif;
  font-size: 16px
}

.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
  display: inline-block;
  margin: 10px
}

section[role="banner"] {
  margin-bottom: 48px;
  margin-bottom: 3.428571429rem
}

.widget-area .widget {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  margin-bottom: 48px;
  margin-bottom: 3.428571429rem;
  word-wrap: break-word
}

.widget-area .widget h3 {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget .textwidget {
  font-size: 14px;
}

.widget-area .widget p {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.widget-area .textwidget ul,
.widget-area .textwidget ol {
  list-style: disc outside;
  margin: 0 0 24px;
  margin: 0 0 1.714285714rem
}

.widget-area .textwidget li>ul,
.widget-area .textwidget li>ol {
  margin-bottom: 0
}

.widget-area .textwidget ol {
  list-style: decimal
}

.widget-area .textwidget li {
  margin-left: 36px;
  margin-left: 2.571428571rem
}

.widget-area .widget a {
  color: #757575
}

.widget-area .widget a:hover {
  color: #21759b
}

.widget-area .widget a:visited {
  color: #9f9f9f
}

.widget-area #s {
  width: 53.66666666666%
}

footer[role="contentinfo"] {
  clear: both;
  font-size: 12px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-top: 1px solid #ddd;
  padding: 15px;
  background: #151313;
  color: #4e4e4a;
  padding-top: 10px;
}

footer[role="contentinfo"] a {
  color: #686868
}

footer[role="contentinfo"] a:hover {
  color: #21759b
}

.site-info span[role=separator] {
  padding: 0 .3em 0 .6em
}

.site-info span[role=separator]::before {
  content: '\002f'
}

.entry-meta {
  clear: both
}

.entry-header {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.entry-header img.wp-post-image {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.entry-header .entry-title,
#wc-comment-header {
  background: url(css/header_bg.gif) repeat-x bottom;
  font-size: 18px;
  font-weight: 400;
  padding: 15px 0 7px;
  font-family: 'Ktbbyfont', sans-serif;
}

.entry-header .entry-title a {
  text-decoration: none
}

.entry-header .entry-format {
  margin-top: 24px;
  margin-top: 1.714285714rem;
  font-weight: normal
}

.entry-header .comments-link {
  margin-top: 24px;
  margin-top: 1.714285714rem;
  font-size: 14px;
  color: #757575
}

.comments-link a,
.entry-meta a {
  color: #757575
}

.comments-link a:hover,
.entry-meta a:hover {
  color: #21759b
}

article.sticky .featured-post {
  border-top: 4px double #ededed;
  border-bottom: 4px double #ededed;
  color: #757575;
  font-size: 14px;
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem;
  text-align: center
}

.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3,
.entry-content h4,
.comment-content h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
  margin: 24px 0;
  margin: 1.714285714rem 0;
}

.entry-content h1,
.comment-content h1 {
  font-size: 21px;
}

.entry-content h2,
.comment-content h2,
.mu_register h2 {
  font-size: 18px;
}

.entry-content h3,
.comment-content h3 {
  font-size: 16px;
}

.entry-content h4,
.comment-content h4 {
  font-size: 14px;
}

.entry-content h5,
.comment-content h5 {
  font-size: 14px;
}

.entry-content h6,
.comment-content h6 {
  font-size: 12px;
  font-size: .857142857rem
}

.entry-content p,
.entry-summary p,
.comment-content p,
.mu_register p {
  margin: 0 0 24px;
  margin: 0 0 1.714285714rem;
}

.entry-content a:visited,
.comment-content a:visited {
  color: #9f9f9f
}

.entry-content .more-link {
  white-space: nowrap
}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul,
.mu_register ul {
  margin: 0 0 24px;
  margin: 0 0 1.714285714rem;
}

.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
  margin-bottom: 0
}

.entry-content ul,
.comment-content ul,
.mu_register ul {
  list-style: disc outside
}

.entry-content ol,
.comment-content ol {
  list-style: decimal outside
}

.entry-content li,
.comment-content li,
.mu_register li {
  margin: 0 0 0 36px;
  margin: 0 0 0 2.571428571rem
}

.entry-content blockquote,
.comment-content blockquote {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem;
  padding: 24px;
  padding: 1.714285714rem;
  font-style: italic
}

.entry-content blockquote p:last-child,
.comment-content blockquote p:last-child {
  margin-bottom: 0
}

.entry-content code,
.comment-content code {
  font-family: Consolas, Monaco, Lucida Console, monospace;
  font-size: 12px;
}

.entry-content pre,
.comment-content pre {
  border: 1px solid #ededed;
  color: #666;
  font-family: Consolas, Monaco, Lucida Console, monospace;
  font-size: 12px;
  margin: 24px 0;
  margin: 1.714285714rem 0;
  overflow: auto;
  padding: 24px;
  padding: 1.714285714rem
}

.entry-content pre code,
.comment-content pre code {
  display: block
}

.entry-content abbr,
.comment-content abbr,
.entry-content dfn,
.comment-content dfn,
.entry-content acronym,
.comment-content acronym {
  border-bottom: 1px dotted #666;
  cursor: help
}

.entry-content address,
.comment-content address {
  display: block;
  margin: 0 0 24px;
  margin: 0 0 1.714285714rem
}

img.alignleft,
.wp-caption.alignleft {
  margin: 12px 24px 12px 0;
  margin: .857142857rem 1.714285714rem .857142857rem 0
}

img.alignright,
.wp-caption.alignright {
  margin: 12px 0 12px 24px;
  margin: .857142857rem 0 .857142857rem 1.714285714rem
}

img.aligncenter,
.wp-caption.aligncenter {
  clear: both;
  margin-top: 12px;
  margin-top: .857142857rem;
  margin-bottom: 12px;
  margin-bottom: .857142857rem
}

.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.entry-content dl,
.comment-content dl {
  margin: 0 24px;
  margin: 0 1.714285714rem
}

.entry-content dt,
.comment-content dt {
  font-weight: bold;
}

.entry-content dd,
.comment-content dd {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.entry-content table,
.comment-content table {
  border-bottom: 1px solid #ededed;
  color: #757575;
  font-size: 12px;
  margin: 0 0 24px;
  margin: 0 0 1.714285714rem;
  width: 100%
}

.entry-content table caption,
.comment-content table caption {
  font-size: 16px;
  margin: 24px 0;
  margin: 1.714285714rem 0
}

.entry-content td,
.comment-content td {
  border-top: 1px solid #ededed;
  padding: 6px 10px 6px 0
}

.site-content article {
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto
}

.page-links {
  clear: both;
}

footer.entry-meta {
  margin-top: 24px;
  margin-top: 1.714285714rem;
  font-size: 14px;
  color: #757575
}

.single-author .entry-meta .by-author {
  display: none
}

.mu_register h2 {
  color: #757575;
  font-weight: normal
}

.archive-header,
.page-header {
  margin-bottom: 48px;
  margin-bottom: 3.428571429rem;
  padding-bottom: 22px;
  padding-bottom: 1.571428571rem;
  border-bottom: 1px solid #ededed
}

.archive-meta {
  color: #757575;
  font-size: 12px;
  margin-top: -5px;
  margin-bottom: 20px;
}

.attachment .entry-content .mejs-audio {
  max-width: 400px
}

.attachment .entry-content .mejs-container {
  margin-bottom: 24px
}

.article.attachment {
  overflow: hidden
}

.image-attachment div.attachment {
  text-align: center
}

.image-attachment div.attachment p {
  text-align: center
}

.image-attachment div.attachment img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%
}

.image-attachment .entry-caption {
  margin-top: 8px;
  margin-top: .571428571rem
}

article.format-aside h1 {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

article.format-aside h1 a {
  text-decoration: none;
  color: #4d525a
}

article.format-aside h1 a:hover {
  color: #2e3542
}

article.format-aside .aside {
  padding: 24px 24px 0;
  padding: 1.714285714rem;
  background: #d2e0f9;
  border-left: 22px solid #a8bfe8
}

article.format-aside p {
  font-size: 14px;
  color: #4a5466
}

article.format-aside blockquote:last-child,
article.format-aside p:last-child {
  margin-bottom: 0
}

article.format-image footer h1 {
  font-size: 13px;
  font-weight: normal
}

article.format-image footer h2 {
  font-size: 11px;
}

article.format-image footer a h2 {
  font-weight: normal
}

article.format-link header {
  padding: 0 10px;
  padding: 0 .714285714rem;
  float: right;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  color: #848484;
  background-color: #ebebeb;
  border-radius: 3px
}

article.format-link .entry-content {
  max-width: 80%;
  float: left
}

article.format-link .entry-content a {
  font-size: 22px;
  text-decoration: none
}

article.format-quote .entry-content p {
  margin: 0;
  padding-bottom: 24px;
  padding-bottom: 1.714285714rem
}

article.format-quote .entry-content blockquote {
  display: block;
  padding: 24px 24px 0;
  padding: 1.714285714rem 1.714285714rem 0;
  font-size: 15px;
  font-size: 1.071428571rem;
  font-style: normal;
  color: #6a6a6a;
  background: #efefef
}

.format-status .entry-header {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

.format-status .entry-header header {
  display: inline-block
}

.format-status .entry-header h1 {
  font-size: 15px;
  font-size: 1.071428571rem;
  font-weight: normal;
  margin: 0
}

.format-status .entry-header h2 {
  font-size: 12px;
  font-size: .857142857rem;
  font-weight: normal;
  margin: 0
}

.format-status .entry-header header a {
  color: #757575
}

.format-status .entry-header header a:hover {
  color: #21759b
}

.format-status .entry-header img {
  float: left;
  margin-right: 21px;
  margin-right: 1.5rem
}

.comments-title {
  margin-bottom: 48px;
  margin-bottom: 3.428571429rem;
  font-size: 16px;
  font-size: 1.142857143rem;
  font-weight: normal
}

.comments-area article {
  margin: 24px 0;
  margin: 1.714285714rem 0
}

.comments-area article header {
  margin: 0 0 48px;
  margin: 0 0 3.428571429rem;
  overflow: hidden;
  position: relative
}

.comments-area article header img {
  float: left;
  padding: 0;
}

.comments-area article header cite,
.comments-area article header time {
  display: block;
  margin-left: 85px;
  margin-left: 6.071428571rem
}

.comments-area article header cite {
  font-style: normal;
  font-size: 15px;
  font-size: 1.071428571rem;
}

.comments-area cite b {
  font-weight: normal
}

.comments-area article header time {
  text-decoration: none;
  font-size: 12px;
  font-size: .857142857rem;
  color: #5e5e5e
}

.comments-area article header a {
  text-decoration: none;
  color: #5e5e5e
}

.comments-area article header a:hover {
  color: #21759b
}

.comments-area article header cite a {
  color: #444
}

.comments-area article header cite a:hover {
  text-decoration: underline
}

.comments-area article header h4 {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 12px;
  padding: .428571429rem .857142857rem;
  font-size: 12px;
  font-size: .857142857rem;
  font-weight: normal;
  color: #fff;
  background-color: #0088d0;
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(top, #009cee, #0088d0);
  background-image: -ms-linear-gradient(top, #009cee, #0088d0);
  background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
  background-image: -o-linear-gradient(top, #009cee, #0088d0);
  background-image: linear-gradient(top, #009cee, #0088d0);
  border-radius: 3px;
  border: 1px solid #007cbd
}

.comments-area .bypostauthor cite span {
  position: absolute;
  margin-left: 5px;
  margin-left: .357142857rem;
  padding: 2px 5px;
  padding: .142857143rem .357142857rem;
  font-size: 10px;
  font-size: .714285714rem
}

.comments-area .bypostauthor cite b {
  font-weight: bold
}

a.comment-reply-link,
a.comment-edit-link {
  color: #686868;
  font-size: 13px;
  font-size: .928571429rem;
}

a.comment-reply-link:hover,
a.comment-edit-link:hover {
  color: #21759b
}

.commentlist .pingback {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

#respond {
  margin-top: 48px;
  margin-top: 3.428571429rem
}

#respond h3#reply-title {
  font-size: 16px;
  font-size: 1.142857143rem;
}

#respond h3#reply-title #cancel-comment-reply-link {
  margin-left: 10px;
  margin-left: .714285714rem;
  font-weight: normal;
  font-size: 12px;
  font-size: .857142857rem
}

#respond form {
  margin: 24px 0;
  margin: 1.714285714rem 0
}

#respond form p {
  margin: 11px 0;
  margin: .785714286rem 0
}

#respond form p.logged-in-as {
  margin-bottom: 24px;
  margin-bottom: 1.714285714rem
}

#respond form label {
  display: block;
}

#respond form input[type="text"],
#respond form textarea {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 12px;
  font-size: .857142857rem;
  padding: 10px;
  padding: .714285714rem;
  width: 100%
}

#respond form p.form-allowed-tags {
  margin: 0;
  font-size: 12px;
  font-size: .857142857rem;
  color: #5e5e5e
}

#respond #wp-comment-cookies-consent {
  margin: 0 10px 0 0
}

#respond .comment-form-cookies-consent label {
  display: inline
}

.required {
  color: red
}

.entry-page-image {
  margin-bottom: 14px;
  margin-bottom: 1rem
}

.template-front-page .site-content article {
  border: 0;
  margin-bottom: 0
}

.template-front-page .widget-area {
  clear: both;
  float: none;
  width: auto;
  padding-top: 24px;
  padding-top: 1.714285714rem;
  border-top: 1px solid #ededed
}

.template-front-page .widget-area .widget li {
  margin: 8px 0 0;
  margin: .571428571rem 0 0;
  font-size: 13px;
  font-size: .928571429rem;
  list-style-type: square;
  list-style-position: inside
}

.template-front-page .widget-area .widget li a {
  color: #757575
}

.template-front-page .widget-area .widget li a:hover {
  color: #21759b
}

.template-front-page .widget-area .widget_text img {
  float: left;
  margin: 8px 24px 8px 0;
  margin: .571428571rem 1.714285714rem .571428571rem 0
}

.widget-area .widget ul ul {
  margin-left: 12px;
  margin-left: .857142857rem
}

.widget_rss li {
  margin: 12px 0;
  margin: .857142857rem 0
}

.widget_recent_entries .post-date,
.widget_rss .rss-date {
  color: #aaa;
  font-size: 11px;
  font-size: .785714286rem;
  margin-left: 12px;
  margin-left: .857142857rem
}

#wp-calendar {
  margin: 0;
  width: 100%;
  font-size: 13px;
  font-size: .928571429rem;
  color: #686868
}

#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
  text-align: left
}

#wp-calendar #next {
  padding-right: 24px;
  padding-right: 1.714285714rem;
  text-align: right
}

.widget_search label {
  display: block;
  font-size: 13px;
  font-size: .928571429rem;
}

.widget_twitter li {
  list-style-type: none
}

.widget_twitter .timesince {
  display: block;
  text-align: right
}

.tagcloud ul {
  list-style-type: none
}

.tagcloud ul li {
  display: inline-block
}

.template-front-page .widget-area .widget.widget_tag_cloud li {
  margin: 0
}

.widget-area .gallery-columns-2.gallery-size-full .gallery-icon img,
.widget-area .gallery-columns-3.gallery-size-full .gallery-icon img,
.widget-area .gallery-columns-4.gallery-size-full .gallery-icon img,
.widget-area .gallery-columns-5.gallery-size-full .gallery-icon img,
.widget-area .gallery-columns-6 .gallery-icon img,
.widget-area .gallery-columns-7 .gallery-icon img,
.widget-area .gallery-columns-8 .gallery-icon img,
.widget-area .gallery-columns-9 .gallery-icon img {
  height: auto;
  max-width: 80%
}

img#wpstats {
  display: block;
  margin: 0 auto 24px;
  margin: 0 auto 1.714285714rem
}

@-ms-viewport {
  width: device-width
}

@viewport {
  width: device-width
}

@media screen and (min-width:600px) {
  .author-avatar {
    float: left;
    margin-top: 8px;
    margin-top: .571428571rem
  }
  .author-description {
    float: right;
    width: 80%
  }
  .site {
    margin: 0 auto;
    max-width: 960px;
    max-width: 68.571428571rem;
    overflow: hidden
  }
  .site-content {
    float: left;
    width: 100%
  }
  body.template-front-page .site-content,
  body.attachment .site-content,
  body.full-width .site-content {
    width: 100%
  }
  .widget-area {
    float: right;
    width: 26.041666667%
  }
  .site-header h1,
  .site-header h2 {
    text-align: left
  }
  .site-header h1 {
    font-size: 26px;
    font-size: 1.857142857rem;
    margin-bottom: 0
  }
  .main-navigation ul.nav-menu,
  .main-navigation div.nav-menu>ul {
    display: inline-block;
    text-align: left;
    width: 100%
  }
  .main-navigation ul {
    margin: 0;
    text-indent: 0
  }
  .main-navigation li a,
  .main-navigation li {
    display: inline-block;
    text-decoration: none
  }
  .main-navigation li a {
    border-bottom: 0;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap
  }
  .main-navigation li a:hover,
  .main-navigation li a:focus {
    color: #fff
  }
  .main-navigation li {
    position: relative
  }
  .main-navigation li ul {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    z-index: 1;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px)
  }
  .main-navigation li ul ul {
    top: 0;
    left: 100%
  }
  .main-navigation ul li:hover>ul,
  .main-navigation ul li:focus>ul,
  .main-navigation .focus>ul {
    border-left: 0;
    clip: inherit;
    overflow: inherit;
    height: inherit;
    width: inherit
  }
  .main-navigation li ul li a {
    background: #efefef;
    border-bottom: 1px solid #ededed;
    display: block;
    font-size: 11px;
    font-size: .785714286rem;
    padding: 8px 10px;
    padding: .571428571rem .714285714rem;
    width: 180px;
    width: 12.85714286rem;
    white-space: normal
  }
  .main-navigation li ul li a:hover,
  .main-navigation li ul li a:focus {
    background: #e3e3e3;
    color: #444
  }
  .main-navigation .current-menu-item>a,
  .main-navigation .current-menu-ancestor>a,
  .main-navigation .current_page_item>a,
  .main-navigation .current_page_ancestor>a {
    color: #bbb;
    font-weight: bold
  }
  .menu-toggle {
    display: none
  }
  .entry-header .entry-title {
    font-size: 18px;
    font-size: 1.571428571rem
  }
  #respond form input[type="text"] {
    width: 46.333333333%
  }
  #respond form textarea.blog-textarea {
    width: 79.666666667%
  }
  .template-front-page .site-content,
  .template-front-page article {
    overflow: hidden
  }
  .template-front-page.has-post-thumbnail article {
    float: left;
    width: 47.916666667%
  }
  .entry-page-image {
    float: right;
    margin-bottom: 0;
    width: 47.916666667%
  }
  .template-front-page .widget-area .widget,
  .template-front-page.two-sidebars .widget-area .front-widgets {
    float: left;
    width: 51.875%;
    margin-bottom: 24px;
    margin-bottom: 1.714285714rem
  }
  .template-front-page .widget-area .widget:nth-child(odd) {
    clear: right
  }
  .template-front-page .widget-area .widget:nth-child(even),
  .template-front-page.two-sidebars .widget-area .front-widgets+.front-widgets {
    float: right;
    width: 39.0625%;
    margin: 0 0 24px;
    margin: 0 0 1.714285714rem
  }
  .template-front-page.two-sidebars .widget,
  .template-front-page.two-sidebars .widget:nth-child(even) {
    float: none;
    width: auto
  }
  .commentlist .children {
    margin-left: 48px;
    margin-left: 3.428571429rem
  }
}

@media screen and (min-width:960px) {
  body {
    background-color: #fff
  }
  body .site {
    padding: 0 40px;
    padding: 0 2.857142857rem
  }
  body.custom-background-empty {
    background-color: #fff
  }
  body.custom-background-empty .site,
  body.custom-background-white .site {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none
  }
}

@media print {
  body {
    background: none!important;
    color: #000;
    font-size: 10pt
  }
  footer a[rel=bookmark]:link:after,
  footer a[rel=bookmark]:visited:after {
    content: " [" attr(href) "] "
  }
  a {
    text-decoration: none
  }
  .entry-content img,
  .comment-content img,
  .author-avatar img,
  img.wp-post-image {
    border-radius: 0;
    box-shadow: none
  }
  .site {
    clear: both!important;
    display: block!important;
    float: none!important;
    max-width: 100%;
    position: relative!important
  }
  .site-header {
    margin-bottom: 72px;
    margin-bottom: 5.142857143rem;
    text-align: left
  }
  .site-header h1 {
    font-size: 21pt;
    text-align: left
  }
  .site-header h2 {
    color: #000;
    font-size: 10pt;
    text-align: left
  }
  .site-header h1 a,
  .site-header h2 a {
    color: #000
  }
  .author-avatar,
  #colophon,
  #respond,
  .commentlist .comment-edit-link,
  .commentlist .reply,
  .entry-header .comments-link,
  .entry-meta .edit-link a,
  .page-link,
  .site-content nav,
  .widget-area,
  img.header-image,
  .main-navigation {
    display: none
  }
  .wrapper {
    border-top: 0;
    box-shadow: none
  }
  .site-content {
    margin: 0;
    width: auto
  }
  .entry-header .entry-title,
  .entry-title {
    font-size: 16px
  }
  footer.entry-meta,
  footer.entry-meta a {
    color: #444;
    font-size: 10pt
  }
  .author-description {
    float: none;
    width: auto
  }
  .commentlist>li.comment {
    background: 0;
    position: relative;
    width: auto
  }
  .commentlist .avatar {
    height: 39px;
    left: 2.2em;
    top: 2.2em;
    width: 39px
  }
  .comments-area article header cite,
  .comments-area article header time {
    margin-left: 50px;
    margin-left: 3.57142857rem
  }
}

.main-navigation .site {
  background: transparent;
  border: 0;
  padding: 0;
  position: relative
}

.head-hg {
  display: block;
  margin-top: 30px;
}

.head-hg img {
  height: auto;
  width: 140px;
  margin-bottom: 5px;
}

.kv-listing {
  position: relative;
  display: table-row;
  margin-bottom: 10px
}

.kv-listing .kv-single-list {
  display: table-cell;
  padding-left: 20px
}

.kv-list-title {
  font-family: 'Ktbbyfont', sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: normal
}

.kv-list-ul {
  padding: 0;
  margin: 0;
  border: 1px solid transparent
}

.kv-list-ul li {
  margin-bottom: 15px;
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 15px
}

.kv-list-img {
  width: 58px;
  height: 60px;
  background: #f9f9f9 center center no-repeat;
  background-size: cover;
  display: inline-block;
  vertical-align: middle;
  border: 2px solid #fff;
  outline: 1px solid #ddd
}

.kv-list-desc {
  padding-right: 10px;
  font-size: 14px;
  vertical-align: middle;
  text-decoration: none;
  color: #151313
}

.kv-list-desc:hover {
  color: #000000
}

.kv-listing-wrap {
  display: table;
  width: 100%;
  border-collapse: collapse
}

.kv-list-title {
  color: #4caf50;
  text-decoration: none;
  display: block
}

.kv-boxes {
  position: relative;
  padding: 1px;
  padding-left: 9px;
  margin-bottom: -20px;
}

.kv-box {
  width: 16.666667%;
  margin-bottom: 30px;
  float: right;
  position: relative;
}

.kv-box:first-child {
  padding-right: 0
}

.kv-box:nth-child(6n+6) {
  clear: left
}

.kv-box-img,
.kv-box-title {
  display: block
}

.kv-box-img {
  height: 90px;
  background: #f8f8f8 no-repeat center top;
  background-size: contain;
  border: 4px solid #fff;
  outline: 1px solid #ddd;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.kv-box-img:hover {
  outline-color: #ccc
}

.kv-box-title {
  text-align: center;
  margin-top: 10px;
  color: #4caf50;
  font-family: 'Ktbbyfont', sans-serif;
  text-decoration: none;
  font-size: 14px
}

.kv-box-inner {
  padding: 0 15px;
  max-height: 160px;
  min-height: 160px;
}

#wpcomm button,
#wpcomm button:hover,
#wpcomm button:focus,
#wpcomm input[type="button"]:hover,
#wpcomm input[type="button"]:focus,
#wpcomm input[type="reset"]:hover,
#wpcomm input[type="reset"]:focus,
#wpcomm input[type="submit"]:hover,
#wpcomm .wpdiscuz-subscribe-form-button input[type="submit"],
#wpcomm input[type="submit"]:focus,
#wpcomm .wc-field-submit .wc_comm_submit {
  background: #555!important
}

#wpcomm {
  border-top: 0
}

#wpcomm .wpdiscuz-form-top-bar .wpdiscuz-user-settings {
  padding-right: 0
}

.wpdiscuz-front-actions {
  margin: 0
}

#wpcomm .wc_comm_form.wc_main_comm_form .wc-field-textarea .wpdiscuz-textarea-wrap textarea {
  background: #f9f9f9
}

#wpcomm .wc_comm_form.wc_main_comm_form .wc-field-textarea .wpdiscuz-textarea-wrap textarea:focus {
  background: #fff
}

@media(max-width: 768px) {
  .kv-list-img {
    margin: auto;
    height: 100px;
    width: 80px;
    display: block
  }
  .kv-list-title {
    text-align: center
  }
  .kv-list-ul li {
    border: 1px solid #eee;
    padding: 20px 0
  }
  .kv-list-ul li:hover {
    background: #f8f8f8
  }
  .kv-list-desc {
    display: block;
    text-align: center;
    margin-top: 15px
  }
  .kv-box {
    height: 200px;
    width: 50%
  }
  .kv-listing .kv-single-list:nth-child(2n+2) {
    padding-left: 0
  }
  .kv-boxes {
    padding-left: 0
  }
  .main-navigation {
    background: transparent;
    text-align: inherit
  }
  .main-navigation ul {
    display: block;
    margin: 0!important;
    width: auto;
    background: #4caf50;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 111
  }
  .main-navigation.toggled:after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
    z-index: 1
  }
  .logged-in .main-navigation ul {
    padding-top: 46px
  }
  .main-navigation li {
    padding: 0;
    margin: 0;
    display: block;
  }
  .main-navigation li a {
    text-indent: inherit;
    color: #eee;
    text-decoration: none;
    font-size: 12px;
    padding: 10px 15px;
    display: block
  }
  .main-navigation li a:hover,
  .main-navigation li a:focus {
    background: #43a047;
    color: #fff
  }
  .main-navigation li:before {
    display: none
  }
  .main-navigation li.menu-item-home a {
    background: transparent;
    text-indent: inherit
  }
  .main-navigation .menu-toggle {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -30px;
    z-index: 11;
    border-radius: 0;
    margin: 0
  }
  .logged-in .main-navigation .menu-toggle {
    top: 0;
    left: 15px
  }
}

.nav-footer {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 7px;
}

.nav-footer li {
  display: inline-block;
  margin-left: 10px;
}

.nav-footer li a {
  text-decoration: none;
  color: #a7a7a7;
  font-size: 14px;
}

.nav-footer li a:hover {
  color: #fff;
}

#messaging input,
#messaging textarea {
  resize: vertical;
  background: #f8f8f8;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

#messaging textarea {
  min-height: 100px;
}

#messaging .form-group {
  margin-bottom: 20px;
}

#messaging input:focus,
#messaging textarea:focus {
  background: #fff;
}

.form-group button[type=submit] {
  background: #000000;
  border-color: #000000;
  color: #fff;
  padding: 6px 20px;
  font-size: 16px;
}

.form-group button[type=submit]:hover {
  color: #000000;
  background: #fff;
}

#messaging {
  position: relative;
}

.alert {
  background: #f8f8f8;
  border: 1px solid #ccc;
  padding: 5px 19px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.alert.alert-success {
  color: #000000;
  background: #f4fbf4;
  border-color: #c0d6c0;
}

.alert.alert-danger {
  background: #fff1f0;
  color: #b13f37;
  border-color: #f3cecc;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .8);
  padding-top: 40px;
  text-align: center;
  font-size: 18px;
  display: none;
}

.overlay.active {
  display: block;
}

.nav-footer li {
  position: relative;
  margin-right: 10px;
}

.nav-footer li:before {
  content: '.';
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  right: -15px;
  color: #eee;
}

.nav-footer li:first-child:before {
  display: none;
}

@media(max-width: 768px) {
  .head-hg img {
    width: 118px;
    margin-bottom: 5px;
  }
  .head-hg{
    text-align: center;
  }
}

/** new edits **/
.kv-box-title {
  color: #555;
}

#wpcomm .wpdiscuz-front-actions {
  display: none;
}

.wpdiscuz-form-top-bar {
  display: none;
}

#wpcomm {
  margin-bottom: 0;
}

#wpcomm .wc-form-footer {
  border: 0;
  margin: 0;
  padding: 0;
}
/* ====== شريط المسارات بنفس نمط التيكر ولكن بدون حركة ====== */
.breadcrumb {
    padding: 6px 0;
    border-top: 1px solid #3caa9a;
    border-bottom: 1px solid #3caa9a;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    background: #fff;
    direction: rtl !important;          /* محاذاة النص لليمين */
    text-align: right !important;
    overflow: visible !important;       /* إزالة الإخفاء */
    white-space: normal !important;     /* السماح بالتفاف النص */
    animation: none !important;
}

/* تنسيق عناصر المسارات الداخلية */
.breadcrumb p,
.breadcrumb #breadcrumbs,
.breadcrumb span,
.breadcrumb a {
    color: #3a9bab !important;
    font-weight: bold !important;
    font-size: 14px !important;
    direction: rtl !important;
    text-align: right !important;
    display: inline;
}

.breadcrumb a:hover {
    color: #fe9c40 !important;
}

.breadcrumb .breadcrumb_last {
    color: #3a9bab !important;
}

#wpcomm .wc_comm_form.wc_main_comm_form .wc-field-comment .wc-field-avatararea{
  display: none !important;
}

.iframe-container iframe{
  margin: 0;
}

.kv-boxes{
  padding: 0;
  margin: 0 -15px;
}

.kv-related .kv-boxes{
  background: #f8f8f8;
  margin: 0;
  margin-top: -25px;
  padding: 15px 0;
  border: 1px solid #e9e9e9;
  margin-bottom: 10px;
}

.kv-related .kv-box{
  margin: 0;
  height: 180px;
  min-height: 180px;
  overflow: hidden;
}

.kv-related .entry-title{
  margin: 0;
}

.heateor_sss_sharing_container.heateor_sss_horizontal_sharing {
  float: none !important;
  text-align: right;
  background: #f8f8f8;
  border: 1px solid #eaeaea;
  padding: 10px;
}

ul.heateor_sss_follow_ul li.heateorSssSharingRound, ul.heateor_sss_sharing_ul li.heateorSssSharingRound{
  float: none !important;
  display: inline-block;
  margin-right: 0px;
}

ul.heateor_sss_follow_ul, ul.heateor_sss_sharing_ul{
  overflow: visible;
  float: right !important;
}

.entry-content .iframe-container{
  margin-top: -25px;
}

.clearfix{
  clear: both;
}

.entry-content [data-something-id]{
  margin-bottom: 20px;
}

.post > [data-something-id]{
  margin-bottom: 30px;
}

.wj-sharer {
  background: #f9f9f9;
  border: 1px solid #d9d9d9;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 5px;
}

.wj-sharer-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.wj-sharer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
  flex-wrap: nowrap; 
}

.wj-sharer-list li {
  flex: 1;
}

.wj-sharer-list li a {
  display: block;
  padding: 8px 12px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  transition: opacity 0.3s;
  white-space: nowrap;
  overflow: hidden;
}

.wj-sharer-list li a:hover { opacity: 0.8; }
.wj-facebook a { background: #3c589a; }
.wj-twitter a { background: #55acee; }
.wj-whatsapp a { background: #075e54 ; }
.wj-telegram a { background: #3da5f1; }

@media (max-width: 600px) {
  .wj-sharer { 
    flex-direction: column; 
    text-align: center; 
    padding: 10px;
  }
  .wj-sharer-title {
    margin-bottom: 10px;
  }
  .wj-sharer-list { 
    justify-content: center; 
    width: 100%;
    gap: 4px;
  }
  
  @media (max-width: 450px) {
    .wj-sharer-list li a {
      font-size: 11px;
      padding: 8px 5px;
    }
  }

  @media (max-width: 360px) {
    .wj-sharer-list li a {
      font-size: 10px;
      padding: 8px 2px;
    }
  }
}

.main-navigation{
  min-height: 1px;
}

.from-app .main-navigation .menu-toggle{
  top: 0;
  left: -1px;
}

body.search.from-app{
  padding-top: 20px;
}

.video-wrapper {
  width: 720px;
  border: 1px solid #ddd;
  margin: auto;
  margin-bottom: 40px;
}

.video-container{
  height: 415px;
  background: #222;
}

.video-container iframe{
  width: 100%;
  height: 100%;
  margin: 0;
}

.video-control{
  padding: 10px;
  text-align: center;
}

.video-control select{
  margin-right: 10px;
  min-width: 200px;
}

.no-videos{
  padding: 10px; text-align: center; margin: 10px 0; background: #f8f8f8; border: 1px solid #ddd;
}

.kv-box.video {
  position: relative;
}

.kv-box.video .kv-box-img{
  background-color: #000;
  background-size: cover;
  position: relative;
}

.kv-box.video .kv-box-icon{
  position: absolute;
  top: 50%;
  right: 50%;
  margin-top: -15px;
  margin-right: -15px;
  z-index: 111;
}

.kv-box.video .kv-box-icon svg{
  width: 30px;
  height: 30px;
  fill: white;
}

.kv-box .badge{
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 45px 45px;
  display: block;
  width: 90px;
  height: 25px;
  line-height: 20px;
  font-size: 12px;
  color: #fff;
  text-align: center;
  opacity: .95;
}

.kv-box:hover .badge{
  opacity: 1;
  color: #ebdb52;
  height: 20px;
  font-size: 13px;
}

@media(max-width: 768px) {
  .video-wrapper{
    width: auto;
  }
  .menu-toggle{
    background: #4caf50;
  }
  .kv-boxes {
    margin: 0 -10px;
  }
  .kv-box {
    margin-bottom: 0;
    height: 180px;
  }
  .site-content {
    padding-top: 0;
  }
  .breadcrumb {
    margin: -25px;
    margin-bottom: 0;
    padding: 8px 20px !important;
    color: #555;
    margin-top: 20px !important;
    background: #f8f8f8;
  }
  .breadcrumb a {
    text-decoration: none;
    color: #555;
  }
  .breadcrumb a:hover {
    color: #555;
  }
  .archive-meta {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
  }
  .entry-header {
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .head-hg {
    margin-top: 20px;
  }
  .iframe-container {
    margin: 0 -25px;
    margin-bottom: 10px;
  }
  .main-navigation .site{
    overflow: visible;
  }
  .menu-toggle{
    display: block;
  }
  .main-navigation ul.nav-menu, .main-navigation div.nav-menu>ul{
    width: auto;
    display: none;
  }
}

.kv-box-img  {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  margin-bottom:13px;
  border: 4px solid #fff;
}

/* ====== إعادة ضبط عام ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Ktbbyfont', Tahoma, sans-serif;
    font-size: 12pt;
    color: #4f4f4f;
    overflow-x: hidden;
    touch-action: manipulation;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    height: auto;
}

a {
    color: #2eb372;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #fe9c40;
}

ul, ol {
    list-style: none;
}

.clear {
    clear: both;
    height: 0;
    font-size: 0;
}

/* ====== الهيكل الرئيسي ====== */
#container {
    min-height: 100%;
    width: 100%;
    position: relative;
    background: #ffffff;
    overflow-x: hidden;
}

#container2 {
    padding: 0;
    margin: 0 auto;
    background: #fff url('pattern1.jpg') top left repeat;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 960px) {
    #container2 {
        max-width: 1170px;
    }
}

/* ====== الهيدر ====== */
header {
    width: 100%;
    padding: 4px 0;
}

.headerbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
}

.headerul {
    list-style: none;
}

.headerul2 {
    list-style: none;
    flex: 1 1 auto;
    padding: 5px;
    min-width: 0;
}

.ktbbylogo {
    width: 100%;
    min-height: 57px;
    max-width: 130px !important;
}

/* ====== أزرار المشاركة ====== */
.share-container {
    color: #da008b;
    text-align: center;
    width: 100%;
    background: #fff;
    border-radius: 7px;
    border: 1px solid #3caa9a;
    line-height: 1.4em;
    padding: 12px 8px;
    box-sizing: border-box;
    margin: 10px 0;
}
.share-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.social-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    margin-top: 8px;
}

.btn-share {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.social-share-btn {
    display: block !important;
    width: 100% !important;
    padding: 6px 2px !important;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none;
    font-size: 11px !important;
    text-align: center;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.btn-fb { background-color: #3b5998; }
.btn-tw { background-color: #309aea; }
.btn-wa { background-color: #007d71; }
.btn-tg { background-color: #21a4dd; }
.btn-gp { background-color: #dd4b39; }

/* ====== شريط التنقل العلوي ====== */
.navbarul {
    margin-bottom: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    padding: 5px 0;
}

.navbarul li {
    display: inline-block;
}

.navbarul li:before {
    content: "\272D";
    padding-left: 2px;
    padding-right: 6px;
    color: white;
}

.navbarul a,
.navbarul a:visited,
.navbarul a:link {
    color: white;
}

.navbarul a:hover {
    color: orange;
}

.site-info {
    background: #128a74;
    color: #ccc;
    font-size: 14px;
    padding: 0 10px;
    width: 100%;
}

/* ====== المحتوى الرئيسي ====== */
#main {
    max-width: 1170px;
    margin: 0 auto;
    padding: 10px 8px 2em;
    min-height: calc(100vh - 125px);
    width: 100%;
    box-sizing: border-box;
}

#primary {
    height: 100%;
    min-height: 50px;
}

h1 {
    font-weight: normal;
    font-size: 1.6em;
    line-height: 1.35em;
    margin-top: 0;
    padding-bottom: 5px;
    position: relative;
    color: #3a9bab;
    text-align: right;
}

h1::after {
    content: " ";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 200px;
    border-bottom: 1px dotted #3a9bab;
}

@media (max-width: 500px) {
    h1 { font-size: 1.3em; }
}

/* ====== الخلفيات والهيكل العام ====== */
body, 
body.custom-background {
    background-image: url("https://www.ktbbi.com/wp-content/uploads/2026/09/pattern1.jpg") !important;
    background-position: left top !important;
    background-repeat: repeat !important;
    background-attachment: scroll !important;
}

#container,
#container2,
#main,
#primary,
#content,
.site-header,
.wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

/* تنسيق الحاوية الرئيسية للعنوان */
.entry-header {
    display: block;
    width: 100%;
}

.entry-header h1,
#primary h1 {
    font-weight: normal;
    font-size: 1.6em;
    line-height: 1.35em;
    margin-top: 0;
    padding-bottom: 5px;
    position: relative;
    color: #3a9bab;
    text-align: right;
    margin-bottom: 20px;
}

.entry-header h2,
#primary h2 {
    font-weight: normal;
    font-size: 1.2em !important;
    line-height: 1.35em;
    margin-top: 0;
    padding-bottom: 5px;
    position: relative;
    color: #3a9bab;
    text-align: right;
    margin-bottom: 20px;
}

.entry-header h1::after,
#primary h1::after {
    content: " ";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 200px;
    border-bottom: 1px dotted #3a9bab;
}

/* ====== الفوتر ====== */
#container {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    position: relative !important;
}

#container2 {
    flex: 1 0 auto !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#main {
    flex: 1 0 auto !important;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 10px 8px 2em;
    box-sizing: border-box;
}

footer[role="contentinfo"] {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    background: #262928 !important;
    height: auto;
    min-height: 2.2em;
    color: #ccc;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-top: none;
    margin-top: 30px;
    flex-shrink: 0;
}

footer[role="contentinfo"] .site-info {
    background: transparent !important;
    color: #ccc;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    padding: 0 10px;
    width: auto;
    max-width: 100%;
}

.nav-footer {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 10px !important;
}

.nav-footer li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-footer li:not(:first-child)::before {
    content: " - ";
    color: #666;
    margin-left: 4px;
    margin-right: 4px;
}

.nav-footer a {
    color: #ccc !important;
    text-decoration: none !important;
}

.nav-footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* ====== الشريط الإخباري والمسارات ====== */
.breadcrumb-trail {
    padding: 6px 0;
    border-top: 1px solid #3caa9a;
    border-bottom: 1px solid #3caa9a;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    background: #fff;
    direction: rtl !important;
    text-align: right !important;
    overflow: visible !important;
    white-space: normal !important;
    animation: none !important;
}

.breadcrumb-trail p,
.breadcrumb-trail #breadcrumbs,
.breadcrumb-trail span,
.breadcrumb-trail a {
    color: #3a9bab !important;
    font-weight: bold !important;
    font-size: 14px !important;
    direction: rtl !important;
    text-align: right !important;
    display: inline;
}

.ticker-static {
    padding: 6px 0;
    border-top: 1px solid #3caa9a;
    border-bottom: 1px solid #3caa9a;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    background: #fff;
    overflow: hidden;
    white-space: nowrap;
    direction: rtl;
}

.ticker-static .ticker-wrap {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.ticker-static .ticker-move {
    display: inline-block;
    white-space: nowrap;
    padding: 0 10px;
    animation: none !important;
}

.ticker-static .ticker-item {
    display: inline-block;
    color: #3a9bab;
    font-weight: bold;
    font-size: 14px;
    direction: rtl;
    white-space: nowrap;
}

/* ====== المحتوى والنموذج ====== */
article.post, 
#content {
    background: #ffffff !important;
    border-radius: 5px !important;
    border: 1px solid #3caa9a !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    box-sizing: border-box;
}

.iframe-container, 
#mediapdf {
    width: 100% !important;
    margin: 10px auto !important;
    background: #ffffff;
    border: 1px solid #3caa9a;
    border-radius: 4px;
    overflow: hidden;
}

#pdf-viewer-iframe, 
#mediapdfFrame {
    width: 100% !important;
    border: 0 !important;
    display: block;
}

.downdiv, 
.download-links, 
.wj-download-container {
    background: #ffffff !important;
    border: none !important;
    padding: 10px 0 !important;
    margin: 15px 0 !important;
    text-align: center !important;
}

.downdiv .downcontent, 
.wj-download-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.downdiv .spt a, 
.wj-btn-item a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
}

.wj-pdf a, .downdiv a[href*="pdf"] { background-color: #800000 !important; }
.wj-word a, .downdiv a[href*="do.php"], .downdiv a[href*="word"] { background-color: #003366 !important; }
.wj-contents a { background-color: #128a74 !important; }

/* نموذج الإبلاغ */
.wprc-container {
    background: #fff8e7 !important;
    border: 1px solid #e0c870 !important;
    border-radius: 5px !important;
    margin: 20px 0 !important;
    direction: rtl !important;
    overflow: hidden;
}

.wprc-switch {
    width: 100% !important;
    background: #f0a800 !important;
    background: linear-gradient(to bottom, #f3b41b 0%, #e0a000 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    text-align: right !important;
    display: block;
}

.wprc-content {
    padding: 15px !important;
    background: #fffdf5 !important;
    border-top: 1px solid #e0c870 !important;
}

/* الرابط المختصر */
.shrtlnk-box {
    padding: 5px 0px !important;
    text-align: center !important;
    margin: 15px 0 !important;
    direction: rtl !important;
}

.shrtlnk-box input#shrtlnk {
    width: 200px !important;
    padding: 2px 10px !important;
    text-align: left !important;
    direction: ltr !important;
    border-radius: 7px !important;
    border: 1px solid #3caa9a !important;
    background: #ffffff !important;
    font-size: 13px !important;
    color: #333333 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* شريط المراحل */
#levels {
    background: white !important;
    border: 1px solid #3caa9a !important;
    height: auto !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 3px !important;
    padding: 4px 1px !important;
    margin-bottom: 5px !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}

#levels .slot {
    display: inline-block !important;
    margin: 0 3px !important;
    vertical-align: top !important;
    text-align: center !important;
}

#levels img.shakeimg {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border: 0 !important;
}

#levels .stitle {
    font-size: 11px !important;
    font-weight: bold !important;
    color: #333333 !important;
    margin-top: 2px !important;
    text-align: center !important;
}



/* ====== 7. الكتب والبطاقات (إصلاح مكان الشريط المائل والمُحاذاة) ====== */
.kv-related, 
.lineblocks {
    margin: 20px 0 !important;
    width: 100% !important;
}

.list-cards, 
.kv-boxes {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    list-style: none !important;
}

.col-post, 
.col-cat,
.list-cards > li,
.kv-boxes > * {
    flex: 0 0 calc(20% - 8px) !important;
    max-width: calc(20% - 8px) !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
    float: none !important;
}

.thumbnail {
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 5px !important;
    overflow: visible !important;
    text-align: center !important;
}

.cropimg {
    width: 100% !important;
    height: 140px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    position: relative !important;
}

.cropimg img, 
.thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.ctitle {
    padding: 5px 3px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    color: #333333 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: #ffffff !important;
}

/* تثبيت العلامة المائلة (Ribbon) في أعلى اليسار بشكل صحيح */
.ribbon {
    position: absolute !important;
    top: -6px !important;
    left: -6px !important;
    right: auto !important;
    z-index: 10 !important;
    overflow: hidden !important;
    width: 85px !important;
    height: 85px !important;
    text-align: right !important;
    pointer-events: none !important;
}

.ribbon span {
    font-size: 11px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 22px !important;
    transform: rotate(-45deg) !important;
    -webkit-transform: rotate(-45deg) !important;
    width: 115px !important;
    display: block !important;
    box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    top: 19px !important;
    left: -24px !important;
    background-color: #00a896;
}

.ribbon span::before,
.ribbon span::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    z-index: -1 !important;
    border-bottom: 3px solid transparent !important;
    border-top: 3px solid rgba(0, 0, 0, 0.4) !important;
}

.ribbon span::before {
    left: 0px !important;
    border-left: 3px solid rgba(0, 0, 0, 0.4) !important;
    border-right: 3px solid transparent !important;
}

.ribbon span::after {
    right: 0px !important;
    border-right: 3px solid rgba(0, 0, 0, 0.4) !important;
    border-left: 3px solid transparent !important;
}


/* ====== 8. التجاوب مع الجوال (إجبار بطاقتين في الصف) ====== */
@media (max-width: 768px) {
    .list-cards, 
    .kv-boxes {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 10px 0 !important;
    }

    .col-post, 
    .col-cat,
    .list-cards > li,
    .kv-boxes > * {
        /* إجبار عرض بطاقتين بالظبط في الصف الواحد */
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-bottom: 10px !important;
        float: none !important;
    }

    .wprc-form .left-section,
    .wprc-form .right-section {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .shrtlnk-box input#shrtlnk {
        width: 85% !important;
    }
}

@media (max-width: 480px) {
    .list-cards, 
    .kv-boxes {
        gap: 8px !important;
    }

    .col-post, 
    .col-cat,
    .list-cards > li,
    .kv-boxes > * {
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        float: none !important;
    }

    .cropimg {
        height: 125px !important;
    }

    .ctitle {
        font-size: 11px !important;
        padding: 4px 2px !important;
    }
}
/* =========================================================
   1. إصلاح حاوية مواد متعلقة (إجبار عرض بطاقتين في كل صف)
   ========================================================= */
.kv-related,
.kv-related .kv-boxes {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    clear: both !important;
    padding: 10px 5px !important;
}

.kv-related .kv-box,
.kv-related .col-post,
.kv-related .col-cat,
.kv-related li,
.kv-related article,
.kv-boxes > * {
    flex: 0 0 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    min-width: 0 !important;
    height: auto !important;
    float: none !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
}

/* =========================================================
   2. تنسيقات كاملة لحاوية الإبلاغ عن ملف (WPRC / Report Container)
   ========================================================= */
.wprc-container {
    background: #fffdf5 !important;
    border: 1px solid #e0c870 !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

/* زر إظهار/إخفاء نموذج الإبلاغ */
.wprc-switch, 
.wprc-container .wprc-switch,
#wprc-switch {
    width: 100% !important;
    background: linear-gradient(135deg, #f3b41b 0%, #e0a000 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.wprc-switch:hover {
    background: #d49500 !important;
}

/* محتوى نموذج الإبلاغ الداخلي */
.wprc-content,
.wprc-container .wprc-content {
    padding: 15px !important;
    background: #fffdf5 !important;
    border-top: 1px solid #e0c870 !important;
}

.wprc-form,
.wprc-content form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
}

.wprc-form label,
.wprc-content label {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #444444 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

/* حقول المدخلات وقائمة الاختيارات والرسالة */
.wprc-form input[type="text"],
.wprc-form input[type="email"],
.wprc-form select,
.wprc-form textarea,
.wprc-content input[type="text"],
.wprc-content select,
.wprc-content textarea {
    width: 100% !important;
    padding: 9px 12px !important;
    border: 1px solid #cccccc !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    color: #333333 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.wprc-form input:focus,
.wprc-form select:focus,
.wprc-form textarea:focus,
.wprc-content input:focus,
.wprc-content select:focus,
.wprc-content textarea:focus {
    border-color: #3caa9a !important;
    box-shadow: 0 0 5px rgba(60, 170, 154, 0.3) !important;
}

.wprc-form textarea,
.wprc-content textarea {
    min-height: 80px !important;
    resize: vertical !important;
}

/* زر الإرسال */
.wprc-submit,
.wprc-form input[type="submit"],
.wprc-content input[type="submit"],
.wprc-content button[type="submit"] {
    background: #128a74 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    display: inline-block !important;
    width: auto !important;
    align-self: flex-start !important;
    margin-top: 5px !important;
}

.wprc-submit:hover,
.wprc-form input[type="submit"]:hover,
.wprc-content input[type="submit"]:hover {
    background: #0e6b5a !important;
}

/* رسائل النجاح أو الخطأ */
.wprc-message,
.wprc-response {
    margin-top: 10px !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9 !important;
}

/* =========================================================
   شريط المسارات - سطر واحد + سكرول أفقي عند الطول
   ========================================================= */

/* الحاوية الرئيسية - نُلغي التفاف النص ونسمح بالسكرول الأفقي */
nav.breadcrumb-trail,
.breadcrumb-trail {
    display: block !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    direction: rtl !important;
    text-align: right !important;
    padding: 6px 5px !important;
    border-top: 1px solid #3caa9a !important;
    border-bottom: 1px solid #3caa9a !important;
    background: #fff !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #3caa9a #e6f2f0 !important;
}

/* العنصر <p> الداخلي #breadcrumbs - سطر واحد بدون التفاف */
nav.breadcrumb-trail p,
nav.breadcrumb-trail #breadcrumbs,
.breadcrumb-trail p,
.breadcrumb-trail #breadcrumbs {
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-align: right !important;
    direction: rtl !important;
}

/* كل الـ span و a داخل المسارات - بدون التفاف */
nav.breadcrumb-trail span,
nav.breadcrumb-trail a,
.breadcrumb-trail span,
.breadcrumb-trail a {
    display: inline !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    color: #3a9bab !important;
    font-weight: bold !important;
    font-size: 14px !important;
    direction: rtl !important;
    text-align: right !important;
}

nav.breadcrumb-trail a:hover,
.breadcrumb-trail a:hover {
    color: #fe9c40 !important;
}

/* تنسيق السكرول بار (كروم/إيدج/سفاري) */
nav.breadcrumb-trail::-webkit-scrollbar,
.breadcrumb-trail::-webkit-scrollbar {
    height: 6px !important;
    background: #e6f2f0 !important;
    border-radius: 3px !important;
}

nav.breadcrumb-trail::-webkit-scrollbar-track,
.breadcrumb-trail::-webkit-scrollbar-track {
    background: #e6f2f0 !important;
    border-radius: 3px !important;
}

nav.breadcrumb-trail::-webkit-scrollbar-thumb,
.breadcrumb-trail::-webkit-scrollbar-thumb {
    background: #3caa9a !important;
    border-radius: 3px !important;
}

nav.breadcrumb-trail::-webkit-scrollbar-thumb:hover,
.breadcrumb-trail::-webkit-scrollbar-thumb:hover {
    background: #128a74 !important;
}

/* =========================================================
   في الجوال: تحسينات إضافية
   ========================================================= */
@media (max-width: 768px) {
    nav.breadcrumb-trail,
    .breadcrumb-trail {
        padding: 8px 10px !important;
        margin: 20px 0 0 0 !important;
        background: #f8f8f8 !important;
    }
    
    nav.breadcrumb-trail p,
    nav.breadcrumb-trail #breadcrumbs,
    .breadcrumb-trail p,
    .breadcrumb-trail #breadcrumbs {
        min-width: max-content !important;
        white-space: nowrap !important;
    }
    
    nav.breadcrumb-trail span,
    nav.breadcrumb-trail a,
    .breadcrumb-trail span,
    .breadcrumb-trail a {
        font-size: 13px !important;
        white-space: nowrap !important;
        display: inline !important;
    }
    
    /* السكرول بار أصغر في الجوال */
    nav.breadcrumb-trail::-webkit-scrollbar,
    .breadcrumb-trail::-webkit-scrollbar {
        height: 4px !important;
    }
}
/* =========================================================
   تصغير عنوان المقال (h1) إلى النصف في الجوال
   ========================================================= */
@media (max-width: 768px) {
    /* عنوان المقال الرئيسي */
    .entry-header h1,
    #primary h1,
    h1 {
        font-size: 1.25em !important;
        line-height: 1.3em !important;
        margin-bottom: 7px !important;
    }
    
    /* الخط النقطي أسفل العنوان - تصغيره أيضاً */
    .entry-header h1::after,
    #primary h1::after,
    h1::after {
        width: 100px !important;
    }
}

/* للشاشات الصغيرة جداً - تصغير أكثر */
@media (max-width: 480px) {
    .entry-header h1,
    #primary h1,
    h1 {
        font-size: 0.98em !important;
        line-height: 1.25em !important;
    }
}

/* =========================================================
   مسافة حول حاوية أزرار المشاركة (تعمل على كل الأجهزة)
   ========================================================= */
.share-container {
    width: 96% !important;              /* عرض أقل من 100% ليترك مسافة */
    max-width: 96% !important;
    margin: 20px auto !important;       /* auto = توسيط تلقائي + 20px أعلى/أسفل */
    padding: 15px 18px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

/* في الجوال: مسافة أوضح */
@media (max-width: 768px) {
    .share-container {
        width: 94% !important;
        max-width: 94% !important;
        margin: 15px auto !important;
        padding: 12px 14px !important;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .share-container {
        width: 92% !important;
        max-width: 92% !important;
        margin: 12px auto !important;
        padding: 10px 12px !important;
    }
}



/* =========================================================
   تنسيق بطاقات المراحل الدراسية (نفس التصميم الأصلي)
   ========================================================= */

/* ====== حاوية القائمة الرئيسية ====== */
.list-cards {
    padding: 0 !important;
    list-style: none !important;
    display: inline-block !important;
    width: 100% !important;
}

/* ====== بطاقة الصف (col-cat) ====== */
.col-cat,
.col-post {
    position: relative !important;
    min-height: 1px !important;
    width: 50% !important;
    float: right !important;
    padding-bottom: 1px !important;
    margin-bottom: -1px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

/* ====== صندوق البطاقة (الإطار الأبيض) ====== */
.thumbnail {
    display: block !important;
    line-height: 1.42857143 !important;
    background-color: #fff !important;
    border-radius: 4px !important;
    padding: 3px !important;
    border: 2px solid #cecece !important;
    margin-bottom: 6px !important;
    -webkit-transition: border .2s ease-in-out !important;
    -o-transition: border .2s ease-in-out !important;
    transition: border .2s ease-in-out !important;
}

.thumbnail a > img {
    margin-right: auto !important;
    margin-left: auto !important;
}

/* ====== الصورة داخل البطاقة ====== */
.img-responsive,
.thumbnail a > img {
    display: block !important;
    max-width: 100% !important;
    min-height: 117px !important;
    max-height: 200px !important;
}

.img-responsive {
    display: inline-block !important;
}

/* ====== قص الصورة عند المرور ====== */
.cropimg {
    height: 6.80em !important;
    overflow: hidden !important;
}

.cropimg img:hover {
    transform: scale(1.3) !important;
}

/* ====== شريط العنوان داخل البطاقة (ctitle) ====== */
.ctitle {
    background-color: #3caa9a !important;
    color: #fff !important;
    width: 100% !important;
    font-size: 12pt !important;
    font-size: 3.9vw !important;
    padding: 6px !important;
    text-align: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background: linear-gradient(#1CB0A3 0%, #38A692 60%) !important;
}

.ctitle span {
    color: #fff !important;
    font-family: "Ktbbyfont", sans-serif, Geneva, Tahoma !important;
}

/* ====== عنوان آخر بلون مختلف ====== */
.ctitle2 {
    background-color: #c20101 !important;
    color: #fff !important;
    width: 100% !important;
    font-size: 12pt !important;
    font-size: 3.9vw !important;
    padding: 8px !important;
    text-align: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.scattitle {
    background-color: #7664A8 !important;
    color: #fff !important;
    width: 100% !important;
    font-size: 12pt !important;
    font-size: 3.9vw !important;
    padding: 0px !important;
    text-align: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}







/* ====== الشريط الجانبي (ribbon) ====== */

/* ====== الشريط الجانبي (ribbon) ====== */
.ribbon {
    position: absolute !important;
    left: 2px !important;
    top: -5px !important;
    z-index: 1 !important;
    overflow: hidden !important;
    width: 75px !important;
    height: 75px !important;
    text-align: right !important;
}

.ribbon span {
    font-size: 18px !important;
    color: #FFF !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 20px !important;
    transform: rotate(-45deg) !important;
    -webkit-transform: rotate(-45deg) !important;
    width: 100px !important;
    display: block !important;
    background-color: rgb(32, 139, 125); /* لون خلفية "الحل" افتراضياً */
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1) !important;
    position: absolute !important;
    top: 19px !important;
    left: -21px !important;
}

.ribbon span::before {
    content: "" !important;
    position: absolute !important;
    left: 0px !important;
    top: 100% !important;
    z-index: -1 !important;
    border-left: 3px solid rgba(0, 0, 0, 0.4) !important;
    border-right: 3px solid transparent !important;
    border-bottom: 3px solid transparent !important;
    border-top: 3px solid rgba(0, 0, 0, 0.4) !important;
}

.ribbon span::after {
    content: "" !important;
    position: absolute !important;
    right: 0px !important;
    top: 100% !important;
    z-index: -1 !important;
    border-left: 3px solid transparent !important;
    border-right: 3px solid rgba(0, 0, 0, 0.4) !important;
    border-bottom: 3px solid transparent !important;
    border-top: 3px solid rgba(0, 0, 0, 0.4) !important;
}




/* أحمر */
.red span {
    background: linear-gradient(#F70505 0%, #8F0808 100%) !important;
}
.red span::before {
    border-left-color: #8F0808 !important;
    border-top-color: #8F0808 !important;
}
.red span::after {
    border-left-color: #8F0808 !important;
    border-top-color: #8F0808 !important;
}

/* أزرق */
.blue span {
    background: linear-gradient(#2989d8 0%, #1e5799 100%) !important;
}
.blue span::before {
    border-left-color: #1e5799 !important;
    border-top-color: #1e5799 !important;
}
.blue span::after {
    border-left-color: #1e5799 !important;
    border-top-color: #1e5799 !important;
}

/* ====== عنوان القسم (h1 فوق البطاقات) ====== */
.entry-header {
    padding-bottom: 20px !important;
}

h1 {
    font-weight: normal !important;
    font-size: 1.6em !important;
    line-height: 1.35em !important;
    margin-top: 0 !important;
    padding-bottom: 5px !important;
    position: relative !important;
    color: #3a9bab !important;
    text-align: right !important;
    clear: both !important;
    font-family: "Ktbbyfont", sans-serif, Geneva, Tahoma !important;
}

h1::after {
    content: " " !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 200px !important;
    border-bottom: 1px dotted #3a9bab !important;
}

.entry-header .entry-title {
    font-size: 22px !important;
    font-size: 1.571428571rem !important;
}

h4 {
    display: block !important;
    color: #444 !important;
    font-weight: normal !important;
    font-size: 1.2em !important;
    text-align: center !important;
    line-height: 18px !important;
}

h6 {
    font-size: 0.6em !important;
}

/* ====== الروابط والنصوص ====== */
a {
    color: #2eb372 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
a:hover {
    color: #fe9c40 !important;
    text-decoration: none !important;
}

.pointer {
    cursor: pointer !important;
}

/* ====== الصور العامة ====== */
img {
    max-width: 100% !important;
    border: 0 !important;
    vertical-align: middle !important;
}

/* =========================================================
   استجابة الشاشات (نفس النسب الأصلية)
   ========================================================= */

@media (max-width: 500px) {
    h1 {
        font-size: 1.3em !important;
    }
}

@media (min-width: 584px) {
    .col-cat,
    .col-post {
        float: right !important;
        width: 33.33% !important;
    }
    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 2.7vw !important;
    }
}

@media (min-width: 700px) {
    .col-cat,
    .col-post {
        float: right !important;
        width: 25% !important;
    }
    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 2.0vw !important;
    }
}

@media (min-width: 850px) {
    .col-cat,
    .col-post {
        float: right !important;
        width: 20% !important;
    }
    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 1.48vw !important;
    }
}

@media (min-width: 1247px) {
    .col-cat,
    .col-post {
        float: right !important;
        width: 20% !important;
    }
    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 1.25vw !important;
    }
}

@media (min-width: 1347px) {
    .col-cat,
    .col-post {
        float: right !important;
        width: 20% !important;
    }
    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 1.0vw !important;
    }
}

/* =========================================================
   تثبيت بطاقتين في الصف على جميع شاشات الجوال (نسخة نهائية)
   ========================================================= */

/* جوال + تابلت صغير (0 إلى 767px) */
@media (max-width: 767px) {
    .list-cards, 
    .kv-boxes {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin: 10px 0 !important;
        padding: 0 !important;
    }

    .col-cat,
    .col-post,
    .list-cards > li,
    .kv-boxes > * {
        /* ✅ إلغاء القاعدة الأساسية 20% */
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        float: none !important;      /* إلغاء float لأنه لا يعمل مع flex */
        margin-bottom: 8px !important;
        padding: 0 !important;        /* إلغاء padding من القاعدة الأصلية */
        box-sizing: border-box !important;
    }

    .cropimg {
        height: 5.5em !important;
    }

    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 11px !important;
        padding: 5px 3px !important;
    }

    .img-responsive,
    .thumbnail a > img {
        min-height: 80px !important;
        max-height: 150px !important;
    }

    .thumbnail {
        padding: 2px !important;
        border: 2px solid #cecece !important;
        margin-bottom: 4px !important;
    }
}

/* شاشات صغيرة جداً (أقل من 360px) */
@media (max-width: 360px) {
    .col-cat,
    .col-post,
    .list-cards > li,
    .kv-boxes > * {
        flex: 0 0 calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
        width: calc(50% - 3px) !important;
    }

    .list-cards, 
    .kv-boxes {
        gap: 6px !important;
    }

    .ctitle,
    .ctitle2,
    .scattitle {
        font-size: 10px !important;
        padding: 4px 2px !important;
    }

    .img-responsive,
    .thumbnail a > img {
        min-height: 70px !important;
        max-height: 130px !important;
    }

    .cropimg {
        height: 4.8em !important;
    }
}


/* =========================================================
   تنسيق القائمة العلوية (navbarul) — أبيض، عريض، 40% أصغر، يمين
   ========================================================= */

.navbarul {
    margin: 0 !important;
    padding: 6px 10px !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;   /* محاذي لليمين في RTL */
    align-items: center !important;
    direction: rtl !important;
    gap: 0 !important;
}

.navbarul li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* إخفاء الفاصل القديم (✦) */
.navbarul li::before,
.navbarul li:before {
    Margin: auto 10px  ;
}

/* الفاصل الجديد بين العناصر */
.navbarul li:not(:first-child)::before {
    content: "|" !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-weight: normal !important;
    font-size: 13px !important;
    padding: 0 8px !important;
    opacity: 0.5 !important;
    line-height: 1 !important;
}

/* الروابط — أبيض + عريض + 40% أصغر */
.navbarul a,
.navbarul a:visited,
.navbarul a:link {
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 0.9em !important;   /* 40% أصغر (60% من الحجم الأصلي) */
    text-decoration: none !important;
    display: inline-block !important;
    padding: 2px 0 !important;
    line-height: 1.4 !important;
    font-family: 'ktbby', Tahoma, Arial, sans-serif !important;
}

.navbarul a:hover,
.navbarul a:focus {
    color: #ffd700 !important;
    text-decoration: underline !important;
}

/* =========================================================
   تنسيق القائمة السفلية (nav-footer) مع الفواصل
   ========================================================= */

.nav-footer {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
}

.nav-footer li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 10px !important;
    padding: 0 !important;
    list-style: none !important;
    position: relative !important;
}

/* إخفاء أي فاصل قديم */
.nav-footer li::before,
.nav-footer li:before {
    margin: 10px !important;
}

/* الفاصل الجديد */
.nav-footer li:not(:first-child)::before {
    content: "|" !important;
    display: inline-block !important;
    color: #cccccc !important;
    font-weight: normal !important;
    font-size: 12px !important;
    padding: 0 8px !important;
    opacity: 0.6 !important;
    line-height: 1 !important;
margin: 10px !important;
}

.nav-footer a {
    color: #cccccc !important;
    font-weight: bold !important;
    font-size: 0.75em !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 2px 0 !important;
    font-family: 'ktbby', Tahoma, Arial, sans-serif !important;
}

.nav-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* =========================================================
   استجابة الجوال
   ========================================================= */
@media (max-width: 768px) {
    .navbarul {
        justify-content: flex-start !important;
        padding: 5px 8px !important;
    }

    .navbarul li:not(:first-child)::before {
        padding: 0 6px !important;
        font-size: 15px !important;
    }

    .navbarul a {
        font-size: 0.9em !important;
    }

    .nav-footer {
        justify-content: center !important;
    }

    .nav-footer li:not(:first-child)::before {
        padding: 0 6px !important;
    }
}


