/*
Theme Name: PCHR Theme
Text Domain: pchr
Theme URI: https://pchr.org
Author: Ahmed Safadi
Author URI: https://wa.me/+905523239456
Description: A custom theme for PCHR NGO
Version: 1.9
*/

.feature-category a {
    color: black;
}

.feature-category a:hover {
    color: #c18f59;
}

.section-title a {
    color: black;
}

.section-title a:hover {
    color: #c18f59;
}

.news-item .img img {
    object-fit: cover;
}

.news-item.big .img img {
    object-fit: cover;
}

.feature-category {
    margin-bottom: 38px;
}

.tabs-category {
    margin-bottom: 18px;

    .section-title {
        margin-bottom: 32px;
    }

    .news-item {
        border-radius: 0 !important;

        .img {
            height: 193px;
            border-radius: 18px;
        }

        .details {
            padding: 0;
        }
    }
}

.cards-category {
    margin-bottom: 53px;
}

.tstm-content a {
    color: black;
}

.tstm-content a:hover {
    color: #c18f59;
}

.social-links a svg path {
    fill: #111111;
    transition: fill 0.3s ease;
}

.tstm-wrap .tstm-item .tstm-content .text span:hover {
    color: #c18f59;
}

.footer-wrap a:hover {
    color: black;
}


.war-btn {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    padding: 0 18px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 30px;
    background: url("assets/images/war.svg") no-repeat center center;
    background-size: cover;
    background-size: 180%;
    margin-right: 16px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.war-btn:hover {
    color: #000;
    -webkit-box-shadow: 0 10px 15px rgba(228, 64, 64, 0.2);
    box-shadow: 0 10px 15px rgba(228, 64, 64, 0.2)
}


.footer-wrap-home {
	padding-top: auto;
/*     padding-top: 174px; */
}

.news-share a:hover svg path {
    fill: #c18f59;
}

@media print {
    footer {
        display: none;
    }
	
	.floating-ribbon {
		display: none;
	}

    .main-menu {
        display: none;
    }

    .search-toggle {
        display: none;
    }

    .lang {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .other-topics {
        display: none;
    }

    .news-share {
        display: none;
    }

    .content {
        width: 100%;
    }
/* 
    .news-image {
        display: none;
    } */
}

.team-item img:hover {
    -webkit-filter: unset;
    filter: unset;
}

.about-section .main-team-item {
    padding-bottom: 20px;
}

.news-item .title:hover {
    color: #c18f59;
}

.news-item .category:hover {
    color: #c18f59;
}

.media-item:hover {
    -webkit-box-shadow: 0 0 0 9px rgba(193, 143, 89, 0.1607843137);
    box-shadow: 0 0 0 9px rgba(193, 143, 89, 0.1607843137)
}

.footer-item .footer-links a:hover {
    color: #c18f59;
}

.bottom-footer .links a:hover {
    color: #c18f59;
}

.more a:hover {
    color: #c18f59;
}

.publication-tabs-wrap .more:hover {
    background: #c18f59;
}

.main-menu .drop-menu {
    left: 0px !important;
}

.main-menu > li.menu-item-has-children:hover > a {
    color: #2F2F2F;
    background: rgba(0, 0, 0, 0.06);
}

.main-menu .drop-menu li a:hover {
    background: #272727;
    color: #FFFFFF;
}

.main-menu .drop-menu li.menu-item-has-children:hover > a {
    background: #272727;
    color: #FFFFFF;
}

.news-slide-item .text .title:hover {
    color: #c18f59;
}

.slider-arrows .slider-arrow:hover {
    background: #c18f59;
}

.article-slide .text .title {
    background: #000000c4;
}

.article-slide .text p {
    background: #000000c4;
}

.article-slide.type2 .content .title:hover {
    color: #c18f59;
}

.inline-news-item .title:hover {
    color: #c18f59;
}

.contact-form .btn-item:hover {
    background: #c18f59;
}

.contact-box.links .contact-item a:hover {
    color: #c18f59
}

.about-text {
    text-align: justify;
}

.wp-block-footnotes {
	font-size: 12px!important;
	text-align: initial !important;
}

.bigger .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bigger .title:hover {
    -webkit-line-clamp: unset;
}

.media-section .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-section .title:hover {
    -webkit-line-clamp: unset;
}

.feature-category .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-category .title:hover {
    -webkit-line-clamp: unset;
}

.news-slide-item .text .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-slide-item .text .title:hover {
    -webkit-line-clamp: unset;
}

.recent-topics .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-slide-item .text .title:hover {
    -webkit-line-clamp: unset;
}


.news-item .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .title:hover {
    -webkit-line-clamp: unset;
}

.recent-topics .four-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-topics .four-lines:hover {
    -webkit-line-clamp: unset;
}


.news-slide-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-slide-item p:hover {
    -webkit-line-clamp: unset;
}

.article-txt h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-txt h3:hover {
    -webkit-line-clamp: unset;
}

.feature-category .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-category .title:hover {
    -webkit-line-clamp: unset;
}

.wp-caption-text {
    font-size: 13px !important;
    text-align: center !important;
    font-weight: 100 !important;
}

.feature-menu > a {
    color: #8A000C !important;
    text-decoration: underline !important;
}

.facebook-pchr:hover svg path {
    fill: #1877F2;
}

a.facebook-pchr:hover svg path {
    fill: #1877F2;
}

.instagram-pchr:hover svg path {
    fill: #E4405F;
}

a.whatsapp-pchr:hover svg path {
    fill: #25d366;
}

.x-pchr:hover svg path {
    fill: #000000;
}

a.x-pchr:hover svg path {
    fill: #000000;
}

.youtube-pchr:hover svg path {
    fill: #FF0000;
}

.news-image img {
	border-radius: 20px;
}

.footer-wrap {
    width: calc(100% - 2px);
    margin-right: 1px;
}

.next-article .article-txt {
    width: 100%;
}

/* @media (max-width: 991px) {
    .main-section, .contact-section {
        padding: 60px 0 40px;
        margin-bottom: 40px;
    }
}
@media (max-width: 991px) {
    .header-wrap .logo img {
        height: 80px;
    }
	.tstm-content a {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}
} */

.inner-page-section .search-form .date {
    width: auto !important;
}

.inner-page-section .search-form .select-item {
    width: 200px;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.media-section {
    margin-bottom: unset!important;
    position: relative!important;
    z-index: 1!important;
    padding-bottom: 45px!important;
}

.about-text b, .about-text strong {
	display: unset;
}

.wp-block-footnotes {
	font-size: 12px!important;
}

.contact-box .contact-item i {
	font-style: normal;
	direction: ltr;
	display: inline-flex;
}

:dir(rtl) .main-menu .drop-menu {
    right: 0px !important;
    left: auto !important;
}

.main-menu .drop-item .drop-item {
    position: relative;
}


:dir(rtl) .footer-item i {
	font-style: normal;
	direction: ltr;
	display: inline-flex;
}

:dir(ltr) .footer-item i {
	font-style: normal;
}

.about-text {
	font-size: 16px;
}

.main-menu .drop-menu {
    text-transform: none;
}

.main-menu .drop-menu li a {
    text-transform: none;
}

.main-menu li a {
	text-transform: none;
	font-size: 17px;
	font-weight: 900;
}

.mobile-menu-wrp {
    background: #000000!important;
}

.page-title {
    font-size: 40px;
}

.inline-search input {
    background: #EAEAEA;
	padding: 0 10px 0 40px;
}

.abs .inline-search input {
    background: #FFFFFF;
	padding: 0 10px 0 40px;
}

:dir(rtl) .inline-search input {
    background: #EAEAEA;
	padding: 0 40px 0 10px;
}

:dir(rtl) .abs .inline-search input {
    background: #FFFFFF;
	padding: 0 40px 0 10px;
}

.inline-search{
    width: 215px;
}

.article-slide .text {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.footer-about .f-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-about .f-logo {
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
}

.tabs-prev:hover svg path {
    stroke: #000000;
}

.tabs-next:hover svg path {
    stroke: #000000;
}
.main-menu > li {
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.main-menu li.active > a {
    border-bottom: 3px solid #000;
    background: none!important;
}

/* === Comments List === */
.comment-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.custom-comment {
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.comment-avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-author {
  font-size: 0.95rem;
  color: #111;
}

.comment-author strong {
  display: block;
  font-weight: 600;
  color: #000;
}

.comment-date {
  color: #666;
  font-size: 0.85rem;
}

.comment-content {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.comment-reply {
  margin-top: 1rem;
}

.comment-reply a {
  font-size: 0.85rem;
  color: #0073aa;
  text-decoration: none;
}

.comment-reply a:hover {
  text-decoration: underline;
}

/* === Comment Form Wrapper === */
#comments {
  margin-top: 4rem;
  padding: 2rem;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Inter", sans-serif;
}

/* === Title === */
#comments h2.comments-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111;
}

/* === Logged-in Message === */
#comments .logged-in-as {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #444;
}

#comments .logged-in-as a {
  color: #0073aa;
  text-decoration: none;
}
#comments .logged-in-as a:hover {
  text-decoration: underline;
}

/* === Comment Label & Textarea === */
#commentform label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #222;
}

#commentform textarea {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.3s;
}

#commentform textarea:focus {
  border-color: #0073aa;
  outline: none;
}

/* === Submit Button === */
#commentform .form-submit input[type="submit"] {
  margin-top: 1rem;
  background-color: #111;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#commentform .form-submit input[type="submit"]:hover {
  background-color: #333;
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
  #comments {
    padding: 1.5rem;
  }

  #commentform textarea {
    min-height: 120px;
  }

  #commentform .form-submit input[type="submit"] {
    width: 100%;
  }
}

/* === Input Fields (Name, Email, etc.) === */
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.3s;
  margin-top: 0.25rem;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus {
  border-color: #0073aa;
  outline: none;
}

/* === Label Styling === */
#commentform label {
  font-weight: 600;
  display: block;
  margin-top: 1rem;
  color: #222;
}

/* === Cookies Consent Checkbox === */
#commentform .comment-form-cookies-consent {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#commentform input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #111;
}

/* === Comment Notes (above fields) === */
#commentform .comment-notes {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.2rem;
}

/* === Responsive Tweaks === */
@media (max-width: 600px) {
  #commentform input[type="text"],
  #commentform input[type="email"],
  #commentform input[type="url"] {
    font-size: 0.95rem;
  }
}


	.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.pagination.rtl {
    direction: rtl;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.pagination .current {
    background-color: #000;
    color: white;
    border-color: #fff;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

/* RTL specific styles */
.pagination.rtl .prev,
.pagination.rtl .next {
    direction: rtl;
}

/* Arabic font support */
.pagination.rtl a,
.pagination.rtl span {
    font-family: 'Arial', 'Tahoma', sans-serif;
}