/*
Theme Name: Hima Eco Media
Description: News website for himaecomedia.com
Version: 1.0
Text Domain: himaecomedia
*/

/* ===== Global Variables ===== */
:root {
  --primary-color: #1f76bb;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --accent-color: #faad24;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(30, 58, 95, 0.08);
  --shadow-deep: 0 20px 40px -8px rgba(30, 58, 95, 0.25);
  --shadow-warm: 0 8px 30px -4px rgba(231, 111, 81, 0.15);
}

/* ===== Subheader Styles ===== */
.subheader .more a {
  transition: all 0.35s;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
  color: #485057;
}

.subheader .more a:hover {
  color: var(--accent-color);
}

.subheader .more {
  position: absolute;
  right: 0;
  background: white;
  z-index: 1;
  padding-left: 10px;
}

.Offers .subgrouping > li:nth-child(2) .subheader .more {
  background: transparent;
}

.Offers .subgrouping > li:nth-child(2) .subheader .more a {
  color: #fff;
}

.Offers .subgrouping > li:nth-child(2) .subheader .more a:hover {
  color: var(--accent-color);
}

/* ===== Videos Section ===== */
.Videos .articleDate {
  color: #dbdbdb;
}

/* ===== Footer Styles ===== */
footer .end {
  border-top: 1px solid #000 !important;
  height: auto !important;
}

footer .wrap {
  padding-top: 45px !important;
}

footer .logo img {
  min-height: 60px;
  border-radius: 10px;
  margin-left: 0px;
}

footer .logo {
  justify-content: left !important;
}

footer .copyright {
  padding: 0 10px 10px 0;
  margin: 10px;
}

footer .copyright a {
  font-size: 12px;
  color: #c6c6c6;
  line-height: 16px;
  margin: 10px;
  display: inline-block;
}

/* ===== Header Styles ===== */
header .logo img {
  min-height: 60px;
  border-radius: 10px;
}

/* ===== Single Post Layout ===== */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin: 40px 0;
}

/* Main Content Styles */
.article-header {
  margin-bottom: 30px;
}

.breadcrumb {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.breadcrumb a {
  color: var(--accent-color);
  text-decoration: none;
}

.breadcrumb .separator {
  margin: 0 8px;
}

.article-title {
  color: #485057;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.meta-right,
.meta-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-badge {
  background: var(--accent-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.publish-date,
.reading-time,
.last-read {
  color: #666;
  font-size: 14px;
}

.publish-date i,
.reading-time i {
  margin-right: 5px;
}

/* Featured Media */
.featured-media {
  margin-bottom: 30px;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-container {
  margin-bottom: 20px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* WhatsApp Banner */
.whatsapp-banner {
  margin: 20px 0;
  text-align: center;
}

.whatsapp-link img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Article Content */
.article-content {
  line-height: 1.8;
  font-size: 18px;
  color: #333;
}

.content-wrapper {
  margin-bottom: 30px;
}

.source-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 3px solid var(--accent-color);
}

.source-label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #485057;
}

.source-link {
  color: var(--accent-color);
  text-decoration: none;
}

/* Tags Section */
.article-tags {
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.tags-title {
  color: #485057;
  margin-bottom: 15px;
  font-size: 18px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #f1f1f1;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Social Share */
.social-share-section {
  margin: 40px 0;
}

.share-title {
  color: #485057;
  margin-bottom: 15px;
  font-size: 18px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.share-btn.twitter {
  background: #485057;
  color: #fff;
}

.share-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.share-btn.linkedin {
  background: #0a66c2;
  color: #fff;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Author Box */
.author-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid #e9ecef;
}

.author-header h4 {
  color: #485057;
  margin-bottom: 20px;
  font-size: 20px;
}

.author-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  color: #485057;
  margin-bottom: 5px;
  font-size: 18px;
}

.author-title {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}

.author-bio {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-social {
  display: flex;
  gap: 10px;
}

.author-social-link {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social-link:hover {
  background: var(--accent-color);
  color: #fff;
}

/* ===== Sidebar Styles ===== */
.post-sidebar {
  position: sticky;
  top: 135px;
  height: fit-content;
}

.sidebar-section {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  color: #485057;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

/* Popular Posts Sidebar */
.popular-post {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.popular-post:last-child {
  border-bottom: none;
}

.popular-post .post-number {
  background: var(--accent-color);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 5px;
}

.popular-post .post-content {
  flex: 1;
}

.popular-post .post-title {
  color: #485057;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
  font-weight: 600;
}

.popular-post .post-meta {
  color: #666;
  font-size: 12px;
}

.popular-post a {
  display: flex;
  gap: 10px;
}

/* ===== Offers Section ===== */
.Offers .list > li {
  margin: 10px 0 20px 0 !important;
}

.Offers .item .titre {
  line-height: 1.2;
  overflow: hidden;
  position: relative;
}

.inside .subgrouping > li:nth-child(2) {
  background: unset !important;
  padding: unset !important;
}

/* ===== Breaking News Bar ===== */
.breaking-news-bar {
  background: var(--accent-color);
  color: #fff;
  padding: 10px 0;
  direction: ltr;
}

.breaking-news-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.breaking-label {
  background: #485057;
  padding: 5px 15px;
  border-radius: 3px;
  white-space: nowrap;
}

.breaking-text {
  font-weight: bold;
  font-size: 14px;
}

.breaking-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.breaking-slider {
  display: flex;
  animation: scrollBreaking 30s linear infinite;
}

.breaking-slider.paused {
  animation-play-state: paused;
}

.breaking-item {
  flex-shrink: 0;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.breaking-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: block;
  white-space: nowrap;
}

.breaking-link:hover {
  text-decoration: none;
  color: #485057;
}

@keyframes scrollBreaking {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* For ltr direction adjustment */
.breaking-content:before,
.breaking-content:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.breaking-content:before {
  left: 0;
  background: linear-gradient(to right, var(--accent-color), transparent);
}

.breaking-content:after {
  right: 0;
  background: linear-gradient(to left, var(--accent-color), transparent);
}

/* ===== 404 Error Page Styles ===== */
.no-page-found {
  background: var(--light-color);
  min-height: 500px;
  display: flex;
  align-items: center;
  direction: ltr;
  padding: 50px 0;
}

.no-page-found .container {
  width: 100%;
  max-width: 767px;
}

.no-page-found .alert {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--accent-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.no-page-found .alert:hover {
  box-shadow: var(--shadow-deep);
  transform: translateY(-5px);
}

.no-page-found .alert::before {
  content: "404";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(50%);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 140, 26, 0.05);
  z-index: 0;
}

.no-page-found h4 {
  color: #485057;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: var(--space-lg) !important;
  position: relative;
  z-index: 1;
}

.no-page-found p {
  color: var(--secondary-color);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.no-page-found a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent-color);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  display: block;
  margin-top: 20px;
}

.no-page-found a:hover {
  color: var(--white);
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
  text-decoration: none;
}

/* Animation */
.no-page-found .alert {
  animation: fadeInUp 0.8s ease-out;
  padding: 50px;
}

.no-page-found h4 {
  animation: bounceIn 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
  }
  70% {
    transform: scale(0.95) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== Contact Information Styles ===== */
.contact-info-section {
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: #fff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: #fff;
  font-size: 20px;
}

.contact-content h4 {
  color: var(--accent-color);
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.contact-content p {
  color: #485057;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* ===== Font Size Controls ===== */
.font-controls {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
}

.text-left {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sizecolor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: #485057;
  transition: all 0.3s ease;
  user-select: none;
}

.sizecolor:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.sizecolor.active {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* ===== Post Content Text ===== */
.post-content-text {
  font-size: 18px;
  line-height: 1.8;
  color: #485057;
  text-align: left;
  transition: font-size 0.3s ease;
}

.post-content-text.small {
  font-size: 16px;
}

.post-content-text.large {
  font-size: 20px;
}

.post-content-text.xlarge {
  font-size: 22px;
}

/* Post Content Styling */
.post-content-text p {
  margin-bottom: 1.5em;
}

.post-content-text h2,
.post-content-text h3,
.post-content-text h4 {
  color: #000;
  margin: 1.5em 0 0.8em 0;
  font-weight: 700;
}

.post-content-text h2 {
  font-size: 1.5em;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5em;
}

.post-content-text h3 {
  font-size: 1.3em;
}

.post-content-text h4 {
  font-size: 1.1em;
}

.post-content-text ul,
.post-content-text ol {
  margin: 1em 0;
  padding-left: 2em;
}

.post-content-text li {
  margin-bottom: 0.5em;
}

.post-content-text blockquote {
  border-left: 4px solid var(--accent-color);
  background: #f8f9fa;
  padding: 20px;
  margin: 1.5em 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.post-content-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

.post-content-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.post-content-text table th,
.post-content-text table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.post-content-text table th {
  background: #f8f9fa;
  font-weight: 600;
}

/* ===== More Dropdown Styles ===== */
.menu-has-more {
  position: relative;
}

.more-dropdown {
  position: relative;
  display: inline-block;
}

.more-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.more-dropdown-toggle .fas {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.more-dropdown-toggle.active .fas {
  transform: rotate(180deg);
}

.more-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.more-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-dropdown-menu .link {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.more-dropdown-menu .link:hover {
  background: #f8f9fa;
}

.more-dropdown-menu .link:last-child {
  border-bottom: none;
}

/* ===== Pagination Styles ===== */
.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination .page-numbers:hover {
  background-color: #f8f9fa;
  border-color: var(--accent-color);
}

.pagination .page-numbers.current {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.pagination .page-numbers.dots {
  border: none;
  color: #666;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  background-color: #f8f9fa;
  font-weight: bold;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
  background-color: var(--accent-color);
  color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 24px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-content {
    flex-direction: column;
    text-align: center;
  }

  .share-buttons {
    justify-content: center;
  }

  .article-content {
    font-size: 16px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 18px;
  }

  .pagination .page-numbers {
    padding: 6px 12px;
    font-size: 12px;
  }

  .pagination .nav-links {
    gap: 4px;
  }

  footer .logo img {
    margin-left: 5px !important;
  }

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

  footer .wrap {
    padding-top: 0px !important;
  }
}

@media (max-width: 767px) {
  .more-dropdown-toggle,
  .more-dropdown {
    display: none;
  }

  .more-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .more-dropdown-menu .link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 14px !important;
  }
}

@media (max-width: 576px) {
  .no-page-found h4 {
    font-size: 1.8rem;
  }

  .no-page-found .alert::before {
    font-size: 4rem;
    top: -20px;
  }

  .no-page-found p {
    font-size: 1rem;
  }

  .no-page-found a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .container {
    padding: 0 15px;
  }

  .article-title {
    font-size: 20px;
  }

  .sidebar-section {
    padding: 20px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .no-page-found {
    background: var(--dark-color);
  }

  .no-page-found .alert {
    background: #2d3748;
    color: #e2e8f0;
  }

  .no-page-found h4 {
    color: var(--white);
  }

  .no-page-found p {
    color: #cbd5e0;
  }

  .no-page-found a {
    background: #4a5568;
    color: var(--white);
  }

  .no-page-found a:hover {
    background: var(--accent-color);
    color: var(--white);
  }
}

/* Reset UL */
#bodytxt_1 ul {
  margin: 0;
  list-style: disc;
}

/* Reset LI */
#bodytxt_1 li {
  margin: 0;
  padding: 0;
}

footer .grp {
  flex-wrap: unset !important;
}
@media (max-width: 767px) {
  footer .grp {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 767px) {
  footer .logo {
    margin-top: 30px !important;
    height: 100px !important;
  }
}

/* ===== Partners Section (Before Footer) ===== */
.partners-section-wrapper {
  background: #f5f5f5;
  padding: 50px 0;
  direction: ltr;
  border-bottom: 1px solid #e0e0e0;
}

.partners-section-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.partners-title {
  color: #485057;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.partners-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

/* Grid Layout */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.ghadi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

/* Square Logo Container */
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}
.partner-item a {
  line-height: 0;
}
.partner-square {
  width: 100%;
  aspect-ratio: 1 / 1; /* Creates perfect square */
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.partner-square:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.partner-square img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.partner-square:hover img {
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .partners-grid {
    gap: 20px;
  }

  .partner-square {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .partners-section-wrapper {
    padding: 40px 0;
  }

  .partners-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile */
    gap: 15px;
    margin-bottom: 30px;
  }

  .ghadi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .partner-square {
    padding: 15px;
    border-radius: 10px;
  }

  .partner-square img {
    max-width: 70%;
    max-height: 70%;
  }
}

@media (max-width: 480px) {
  .partners-section-wrapper {
    padding: 30px 0;
  }

  .partners-title {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .partners-grid {
    gap: 12px;
  }

  .ghadi-grid {
    gap: 12px;
  }

  .partner-square {
    padding: 12px;
  }

  .partner-square img {
    max-width: 65%;
    max-height: 65%;
  }
}

/* Dark mode support if needed */
@media (prefers-color-scheme: dark) {
  .partners-section-wrapper {
    background: #2d3748;
  }

  .partners-title {
    color: #fff;
  }

  .partner-square {
    background: #1a202c;
    border-color: #4a5568;
  }

  .partner-square:hover {
    border-color: var(--accent-color);
  }
}

/************/
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
blockquote,
td,
th {
  unicode-bidi: plaintext;
  direction: ltr;
  text-align: start;
  max-width: unset !important;
}

.relatedItems .inside {
  width: 100%;
}

.post-content-text img {
  width: 100%;
  max-height: 550px;
  object-fit: contain;
}

.articleDate {
  text-align: end;
}

#bodytxt_1 .fb_iframe_widget {
  margin: auto;
  display: block;
}

#bodytxt_1 .fb_iframe_widget span {
  margin: auto auto 20px auto;
  display: block;
}

.relatedItems .swiper-wrapper{
    height:auto;
}

header .date a{
    color: white;
  padding-right: 7px;
}
