/*
Theme Name: THS
Theme URI: https://ths-me.com/
Author: THS
Description: Replica of ths-me.com (Technical Hydraulic Services & Industrial Equipment Co.) built for WordPress — RTL Arabic site with English mirror, hero slider, partner logo strip, photo gallery with filters and lightbox, mobile workshops carousel and specialty pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: ths
*/

/* WP-specific tweaks on top of assets/css/style.css */

.entry-content img { max-width: 100%; height: auto; }
.entry-content .alignleft { float: left; margin: 0 24px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 24px; }
.entry-content .aligncenter { display: block; margin: 12px auto; }
.entry-content ul, .entry-content ol { margin: 0 20px 14px 0; padding: 0; }
.entry-content li { margin-bottom: 6px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 24px; }

.wp-caption { max-width: 100%; background: var(--light); border: 1px solid var(--border); padding: 8px; }
.wp-caption-text { text-align: center; font-size: 12.5px; color: var(--muted); padding: 6px 0 0; }

.post-list .post-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.post-list .post-item h2 { font-size: 21px; margin: 0 0 6px; }
.post-list .post-item h2 a { color: var(--dark); }
.post-list .post-item h2 a:hover { color: var(--primary); }
.post-list .post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.post-list .post-meta i { color: var(--primary); margin-inline-end: 4px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.single-article .post-meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.single-article .post-meta i { color: var(--primary); margin-inline-end: 4px; margin-inline-start: 12px; }

.footer-news li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.footer-news li a { font-size: 13.5px; color: #444; }
.footer-news li a:hover { color: var(--primary); }
