/* ===================================================
   لبنان الأمل — Mobile-First Custom Styles v2.5.1
   =================================================== */

:root {
  --color-green:       #2d6e13;
  --color-green-dark:  #1e4d0d;
  --color-green-light: #3d8f1c;
  --color-red:         #c00000;
  --color-footer-bg:   #111d0a;
  --color-white:       #ffffff;
  --color-text:        #1a1a1a;
  --color-muted:       #666666;
  --color-border:      #e0e0e0;
  --color-bg-light:    #f5f7f5;
  --radius:            8px;
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:         0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:         0 8px 30px rgba(0,0,0,0.18);
}

/* =============================================
   GLOBAL — Prevent horizontal overflow (RTL fix)
   ============================================= */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
body {
  font-family: 'Cairo', sans-serif !important;
  direction: rtl;
  text-align: right;
  -webkit-text-size-adjust: 100%;
}
* { font-family: 'Cairo', sans-serif !important; box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* Content wrappers only — NOT header/nav */
#content, .site-content, .cm-content-area {
  max-width: 100%;
  overflow-x: hidden;
}

/* Remove top/bottom padding from cm-content */
.cm-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove entry summary margin */
.cm-entry-summary {
  margin-top: 0 !important;
}

/* Fix parent theme grid causing mobile left-shift */
.cm-posts {
  display: block !important;
}

/* Theme SVG icons — ensure white fill */
.cm-icon {
  fill: white !important;
}

/* =============================================
   HIDE PAGE TITLES, SITE INFO & BREADCRUMBS — globally
   ============================================= */
.entry-title,
.page-title,
.cm-entry-title,
#cm-site-info,
.cm-site-info {
  display: none !important;
}
.breadcrumb-trail,
.breadcrumbs,
.cm-breadcrumb,
.tg-breadcrumb,
[class*="breadcrumb"] {
  display: none !important;
}

/* =============================================
   HIDE: Header branding, search, top bar, comments
   ============================================= */
.colormag-top-header, .colormag-header-top-bar, .date-in-header,
.social-links, .cm-top-header, .tg-top-bar, .top-bar-area, .header-top-bar,
.header-search-icon, .header-search-form, .colormag-header-search,
.search-wrap, .header-action .search-icon, .header-action-search,
[class*="header"] .search-form, [class*="header"] .search-icon,
.colormag-header .search-form, .site-header .search-form,
#masthead .search-form, #masthead .search-icon,
.cm-header__search, .cm-header-search, .cm-header__action--search,
.site-branding, .site-title, .site-description,
.cm-site-identity, .cm-header__logo, .cm-header-logo {
  display: none !important;
}

#comments, .comments-area, .comment-respond,
#respond, .comment-form, .no-comments,
.comments-title, .comment-list {
  display: none !important;
}

/* Hide theme's duplicate related posts & post navigation */
.tg-related-posts, .cm-related-posts,
.related-posts-section, .related-posts-wrapper,
[class*="related-posts"]:not(.la-related-posts):not(.la-related-grid):not(.la-related-card):not(.la-related-title):not(.la-related-body):not(.la-related-cat):not(.la-related-placeholder) {
  display: none !important;
}
.cm-author-bio, .tg-author-bio, .author-bio-section, .author-info {
  display: none !important;
}
.post-navigation, .navigation-single,
.cm-post-navigation, .tg-post-navigation {
  display: none !important;
}

/* =============================================
   HEADER — single clean header
   ============================================= */
#masthead, .site-header, .header-main {
  background-color: var(--color-green) !important;
}

/* Hide any duplicate header rows from theme builder */
.cm-header-builder__row--2,
.cm-header-builder__row--3 {
  display: none !important;
}

/* =============================================
   NAVIGATION (Mobile-First)
   ============================================= */
.main-navigation, .nav-menu, #site-navigation, .colormag-main-navigation {
  background-color: var(--color-green-dark) !important;
  direction: rtl;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}
.main-navigation .nav-menu,
.main-navigation > div,
.colormag-main-navigation > div,
#site-navigation > div,
.cm-navigation,
.cm-navigation__wrap,
nav.main-navigation,
.main-nav-container {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}
.main-navigation ul,
.colormag-main-navigation ul,
#site-navigation ul,
.main-navigation > ul,
.main-navigation .menu {
  overflow: visible !important;
  overflow-x: visible !important;
  max-height: none !important;
  white-space: normal !important;
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation ul li a, .colormag-main-navigation ul li a {
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 12px !important;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.colormag-main-navigation ul li a:hover {
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
}
/* Dropdown submenus */
.main-navigation ul ul, .colormag-main-navigation ul ul {
  background-color: var(--color-green-dark) !important;
  border-top: 3px solid var(--color-red) !important;
  right: 0 !important;
  left: auto !important;
  flex-wrap: nowrap !important;
  flex-direction: column !important;
  position: absolute !important;
  display: none !important;
  white-space: nowrap !important;
  z-index: 9999;
  min-width: 180px;
}
.main-navigation ul li:hover > ul,
.colormag-main-navigation ul li:hover > ul {
  display: block !important;
}
.main-navigation ul ul li {
  width: 100% !important;
}
.main-navigation ul ul li a {
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: 10px 14px !important;
  font-size: 12px;
  white-space: normal !important;
}
.main-navigation ul li,
.colormag-main-navigation ul li {
  position: relative;
}

/* Mobile menu toggle */
.menu-toggle, .cm-menu-toggle {
  background: var(--color-green-dark) !important;
  color: white !important;
  border: none !important;
  padding: 10px 16px !important;
  width: 100%;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
}

/* =============================================
   MOBILE LAYOUT FIXES
   ============================================= */
/* Homepage: full-width, no sidebar */
.home .cm-row,
.home .cm-primary,
.home #cm-primary,
.home .cm-container,
.home .cm-content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
.home #secondary,
.home .sidebar,
.home .cm-secondary {
  display: none !important;
}
.home .cm-posts,
.home .entry-content,
.home article .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* The la-homepage container */
.la-homepage {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.la-homepage * { box-sizing: border-box; }

/* Content containers — max-width only */
.cm-container, .container, .inner-wrap {
  max-width: 100%;
}

/* =============================================
   INNER PAGES — full-width, no sidebar
   ============================================= */
.single .cm-primary, .page:not(.home) .cm-primary,
.archive .cm-primary, .search .cm-primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
#secondary, .sidebar, .cm-secondary {
  display: none !important;
}

/* =============================================
   BREAKING NEWS
   ============================================= */
.tg-breaking-news, .breaking-news, [class*="breaking"] {
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
  direction: rtl;
}
.tg-breaking-news .tg-breaking-news-title {
  background-color: var(--color-green-dark) !important;
}

/* =============================================
   CATEGORY LABELS & POST TITLES
   ============================================= */
.tg-category-info a, .cat-links a, .entry-category a {
  background-color: var(--color-green) !important;
  color: var(--color-white) !important;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.entry-title a { transition: color 0.2s ease; }
.entry-title a:hover { color: var(--color-green) !important; }
.more-link, .read-more a { color: var(--color-green) !important; font-weight: 700; }

/* =============================================
   WIDGET TITLES
   ============================================= */
.widget-title, .widgettitle, .widget-title h3 {
  color: var(--color-white) !important;
  background-color: var(--color-green) !important;
  padding: 8px 14px !important;
  border-right: 5px solid var(--color-red) !important;
  border-left: none !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px !important;
}

/* =============================================
   SEARCH FORM
   ============================================= */
.search-form .search-field {
  direction: rtl;
  text-align: right;
  border: 2px solid var(--color-green) !important;
  border-radius: 4px 0 0 4px !important;
  padding: 8px 12px !important;
}
.search-form .search-submit {
  background: var(--color-green) !important;
  color: white !important;
  border: none !important;
  border-radius: 0 4px 4px 0 !important;
  padding: 8px 16px !important;
  cursor: pointer;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.la-scroll-top {
  display: none;
  position: fixed;
  bottom: 70px;
  left: 20px;
  right: auto;
  transform: none;
  width: 44px;
  height: 44px;
  background: var(--color-green);
  color: #fff !important;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.la-scroll-top svg { display: block; }
.la-scroll-top:hover { background: var(--color-red); box-shadow: var(--shadow-lg); }
.la-scroll-top:active { transform: scale(0.92); }
.cm-scroll-up, a[class*="scroll-up"], .scrollup, #scroll-up {
  display: none !important;
}

/* =============================================
   FOOTER
   ============================================= */
#colophon, .site-footer, footer.site-footer, .footer-widgets-area, .colormag-footer {
  background-color: var(--color-footer-bg) !important;
  color: rgba(255,255,255,0.85) !important;
  direction: rtl;
}

.footer-socket-wrapper, .footer-socket-area, .cm-footer-bar,
.cm-footer-bar-area, .cm-footer-bar__1, .cm-footer-bar__2,
.footer-socket-left-section, .footer-socket-right-section,
.colormag-footer-bottom, .site-info, .cm-footer-builder {
  display: none !important;
}

.la-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.85);
  direction: rtl;
  padding: 0;
}
.la-footer-top {
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
  padding: 30px 16px;
  text-align: center;
}
.la-footer-top h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.la-footer-top p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 0; }
.la-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px;
}
.la-footer-col h4 {
  color: #fff; font-size: 16px; font-weight: 700;
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}
.la-footer-col p { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.8; margin: 0; }
.la-footer-col ul { list-style: none; padding: 0; margin: 0; }
.la-footer-col ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.la-footer-col ul li a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none; font-size: 13px;
  transition: color 0.2s, padding-right 0.2s; display: block;
}
.la-footer-col ul li a::before { content: '\25C4 '; color: var(--color-red); font-size: 10px; margin-left: 6px; }
.la-footer-col ul li a:hover { color: #fff !important; padding-right: 6px; }

.la-footer-search {
  display: flex; margin-top: 12px; border-radius: var(--radius);
  overflow: hidden; background: rgba(255,255,255,0.08);
}
.la-footer-search input {
  flex: 1; border: none; background: transparent; color: #fff;
  padding: 10px 14px; font-size: 14px; direction: rtl; outline: none; min-width: 0;
}
.la-footer-search input::placeholder { color: rgba(255,255,255,0.4); }
.la-footer-search button {
  background: var(--color-red); color: #fff; border: none;
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.la-footer-search button:hover { background: #a00; }

.la-footer-contact { margin-top: 12px; }
.la-footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; color: rgba(255,255,255,0.7); font-size: 13px;
}
.la-footer-contact-item svg { flex-shrink: 0; opacity: 0.7; }

.la-footer-bottom {
  background: rgba(0,0,0,0.3); padding: 14px 16px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.la-footer-bottom a { color: rgba(255,255,255,0.75) !important; text-decoration: none; font-weight: 600; }
.la-footer-bottom a:hover { color: #fff !important; }

.site-footer .widget-title, .site-footer .widgettitle, .footer-widgets-area .widget-title {
  background-color: transparent !important;
  border-right: 3px solid var(--color-red) !important;
  border-left: none !important; border-bottom: none !important;
  color: var(--color-white) !important;
  padding: 0 10px 6px !important; margin-bottom: 12px !important; font-size: 15px;
}

/* =============================================
   HOMEPAGE STYLES (Mobile-First)
   ============================================= */
.la-datetime-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--color-bg-light); padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--color-green);
  border-bottom: 2px solid var(--color-border); margin: 0;
}

/* Weather Widget */
.la-weather {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 600;
}

/* Weather — dual city layout */
.la-weather-cities {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.la-weather-city {
  white-space: nowrap;
}

/* =============================================
   FEATURED STORY
   ============================================= */
.la-featured { margin: 0; }
.la-featured-card {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
  overflow: hidden;
  background: #000;
}
.la-featured-img { position: relative; }
.la-featured-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.5s ease;
}
.la-featured-card:hover .la-featured-img img {
  opacity: 0.6;
  transform: scale(1.03);
}
.la-featured-placeholder {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 4em;
}
.la-featured-body {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.la-featured-cat {
  display: inline-block; background: var(--color-red); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 12px;
  border-radius: 4px; margin-bottom: 10px;
}
.la-featured-title {
  font-size: 20px; font-weight: 800; line-height: 1.6;
  margin: 0 0 8px; color: #fff;
}
.la-featured-excerpt {
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.85); margin: 0 0 8px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.la-featured-date {
  font-size: 12px; color: rgba(255,255,255,0.6);
}

/* =============================================
   SECTION HEADER (with "More" link)
   ============================================= */
.la-section-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 16px;
}
.la-section-header .la-section-title {
  margin-bottom: 0;
}
.la-section-more {
  color: var(--color-green); font-size: 14px; font-weight: 700;
  text-decoration: none; padding: 4px 12px;
  border: 2px solid var(--color-green); border-radius: 20px;
  transition: all 0.25s ease;
}
.la-section-more:hover {
  background: var(--color-green); color: #fff;
}

/* =============================================
   CARD EXCERPT
   ============================================= */
.la-card-excerpt {
  font-size: 12px; line-height: 1.6;
  color: var(--color-muted); margin: 0 0 8px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* =============================================
   MOST READ SECTION
   ============================================= */
.la-most-read {
  display: flex; flex-direction: column; gap: 10px;
}
.la-mostread-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #e8e8e8;
  border-radius: var(--radius); padding: 10px;
  text-decoration: none !important; color: inherit !important;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.la-mostread-item:hover {
  box-shadow: var(--shadow-sm); border-color: var(--color-green);
  transform: translateX(-3px);
}
.la-mostread-rank {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--color-green); color: #fff;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.la-mostread-item:nth-child(1) .la-mostread-rank { background: var(--color-red); }
.la-mostread-item:nth-child(2) .la-mostread-rank { background: #e67e22; }
.la-mostread-item:nth-child(3) .la-mostread-rank { background: #f39c12; }
.la-mostread-img { flex-shrink: 0; }
.la-mostread-img img {
  width: 80px; height: 60px; object-fit: cover; border-radius: 6px;
}
.la-mostread-placeholder {
  width: 80px; height: 60px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5em; border-radius: 6px;
}
.la-mostread-body { min-width: 0; flex: 1; }
.la-mostread-body h4 {
  font-size: 13px; font-weight: 700; line-height: 1.5;
  color: var(--color-text); margin: 0 0 4px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.la-mostread-date { font-size: 11px; color: #999; }

/* Hero */
.la-hero {
  position: relative;
  background: linear-gradient(135deg, #1a3a0a 0%, #2d6e13 40%, #3d8f1c 70%, #2d6e13 100%);
  background-size: 300% 300%;
  animation: laGradient 8s ease infinite;
  padding: 36px 16px 30px;
  text-align: center; color: #fff; overflow: hidden;
}
.la-hero-overlay {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.la-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.la-hero-badge {
  display: inline-block; background: var(--color-red); color: #fff;
  padding: 4px 16px; border-radius: 25px; font-size: 12px; font-weight: 700;
  margin-bottom: 12px; animation: laPulse 2s ease-in-out infinite;
}
.la-hero h1 { font-size: 1.8em; font-weight: 900; margin: 0 0 8px; text-shadow: 2px 3px 8px rgba(0,0,0,0.3); }
.la-hero p { font-size: 1em; opacity: 0.9; margin: 0; }
@keyframes laGradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes laPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }

/* Ticker */
.la-ticker {
  display: flex; align-items: center; background: #1a2a12;
  color: #fff; overflow: hidden; height: 40px;
}
.la-ticker-label {
  background: var(--color-red); padding: 0 14px; height: 100%;
  display: flex; align-items: center; font-weight: 700;
  font-size: 12px; flex-shrink: 0; z-index: 2;
}
.la-ticker-wrap { overflow: hidden; flex: 1; position: relative; }
.la-ticker-content {
  display: flex; white-space: nowrap;
  animation: laTicker 20s linear infinite;
  font-size: 13px; gap: 40px; padding-right: 100%;
}
.la-ticker-content a { color: #fff !important; text-decoration: none; }
.la-ticker-content a:hover { text-decoration: underline; }
@keyframes laTicker { 0%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* Sections */
.la-section { margin: 24px 0; padding: 0 16px; width: 100%; }
.la-section-title {
  font-size: 1.3em; font-weight: 800; color: var(--color-green);
  border-right: 4px solid var(--color-red); padding-right: 12px; margin-bottom: 16px;
}

/* Category Grid */
.la-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.la-cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #eee; border-radius: 10px;
  padding: 16px 8px; text-decoration: none !important; color: #333 !important;
  transition: all 0.25s ease; cursor: pointer; position: relative;
  overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.la-cat-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 3px; height: 100%; background: var(--card-color);
  transition: width 0.25s ease;
}
.la-cat-card:hover { border-color: var(--card-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.la-cat-card:hover::before { width: 100%; opacity: 0.08; }
.la-cat-card:active { transform: translateY(-1px); }
.la-cat-icon { font-size: 1.6em; margin-bottom: 6px; }
.la-cat-name { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.4; }

/* News Grid */
.la-news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.la-news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #e8e8e8; transition: all 0.25s ease;
  text-decoration: none !important; color: inherit !important;
  display: block; -webkit-tap-highlight-color: transparent;
}
.la-news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.la-news-card:active { transform: translateY(0); }
.la-news-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.la-news-card .la-card-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2.5em;
}
.la-news-card .la-card-body { padding: 12px 14px; }
.la-news-card .la-card-cat {
  display: inline-block; background: var(--color-green); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; margin-bottom: 8px;
}
.la-news-card .la-card-title {
  font-size: 15px; font-weight: 700; line-height: 1.7;
  color: var(--color-text); margin: 0 0 8px;
}
.la-news-card .la-card-date { font-size: 11px; color: #999; }

.la-news-card:first-child img,
.la-news-card:first-child .la-card-placeholder { height: 220px; }
.la-news-card:first-child .la-card-title { font-size: 17px; }

/* Load More */
.la-load-more-wrap { text-align: center; margin-top: 24px; padding-bottom: 10px; }
.la-load-more {
  background: var(--color-green); color: #fff; border: none;
  padding: 12px 36px; border-radius: 25px; font-size: 15px;
  font-weight: 700; cursor: pointer; transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  width: 100%; max-width: 280px;
}
.la-load-more:hover { background: var(--color-red); }
.la-load-more:active { transform: scale(0.97); }
.la-load-more:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* =============================================
   RELATED POSTS
   ============================================= */
.la-related-posts {
  margin: 30px 0 10px; padding: 20px 0 0;
  border-top: 3px solid var(--color-green); direction: rtl;
}
.la-related-title {
  font-size: 18px; font-weight: 800; color: var(--color-green);
  border-right: 4px solid var(--color-red); padding-right: 12px; margin: 0 0 16px;
}
.la-related-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.la-related-card {
  display: flex; gap: 12px; background: #fff;
  border: 1px solid #e8e8e8; border-radius: var(--radius);
  overflow: hidden; text-decoration: none !important;
  color: inherit !important; transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.la-related-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-green); }
.la-related-card img { width: 100px; height: 80px; object-fit: cover; flex-shrink: 0; }
.la-related-placeholder {
  width: 100px; height: 80px;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5em; flex-shrink: 0;
}
.la-related-body {
  padding: 8px 10px 8px 0; display: flex; flex-direction: column;
  justify-content: center; min-width: 0;
}
.la-related-cat {
  display: inline-block; background: var(--color-green); color: #fff;
  font-size: 9px; font-weight: 700; padding: 1px 6px;
  border-radius: 3px; margin-bottom: 4px; align-self: flex-start;
}
.la-related-body h4 {
  font-size: 13px; font-weight: 700; line-height: 1.5;
  color: var(--color-text); margin: 0;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* =============================================
   CONTACT US PAGE
   ============================================= */
.la-contact-page { direction: rtl; max-width: 800px; margin: 0 auto; }
.la-contact-intro { text-align: center; margin-bottom: 30px; }
.la-contact-intro h2 { font-size: 24px; font-weight: 800; color: var(--color-green); margin: 0 0 10px; }
.la-contact-intro p { color: var(--color-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.la-contact-form-wrapper {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 16px; margin-bottom: 30px;
}

.la-contact-form-wrapper .wpcf7 { direction: rtl; }
.la-contact-form-wrapper .wpcf7 label {
  display: block; font-weight: 700; font-size: 14px;
  color: var(--color-text); margin-bottom: 6px;
}
.la-contact-form-wrapper .wpcf7 input[type="text"],
.la-contact-form-wrapper .wpcf7 input[type="email"],
.la-contact-form-wrapper .wpcf7 textarea {
  width: 100%; border: 2px solid var(--color-border);
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 14px; direction: rtl;
  transition: border-color 0.2s; margin-bottom: 16px;
}
.la-contact-form-wrapper .wpcf7 input:focus,
.la-contact-form-wrapper .wpcf7 textarea:focus {
  border-color: var(--color-green); outline: none;
}
.la-contact-form-wrapper .wpcf7 textarea { min-height: 150px; resize: vertical; }
.la-contact-form-wrapper .wpcf7 input[type="submit"] {
  background: var(--color-green); color: #fff; border: none;
  padding: 12px 36px; border-radius: 25px; font-size: 16px;
  font-weight: 700; cursor: pointer; transition: background 0.2s;
  display: block; margin: 0 auto;
}
.la-contact-form-wrapper .wpcf7 input[type="submit"]:hover { background: var(--color-red); }
.la-contact-form-wrapper .wpcf7-response-output { text-align: center; border-radius: var(--radius); margin-top: 16px; }

.wpcf7 { direction: rtl; }
.wpcf7 label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%; border: 2px solid var(--color-border);
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 14px; direction: rtl; margin-bottom: 16px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--color-green); outline: none; }
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--color-green); color: #fff; border: none;
  padding: 12px 36px; border-radius: 25px; font-size: 16px;
  font-weight: 700; cursor: pointer; transition: background 0.2s;
  display: block; margin: 10px auto 0;
}
.wpcf7 input[type="submit"]:hover { background: var(--color-red); }

.la-contact-info-section { margin-bottom: 20px; }
.la-contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.la-contact-info-card {
  background: var(--color-bg-light); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
}
.la-contact-info-card h3 { font-size: 16px; font-weight: 700; color: var(--color-green); margin: 0 0 8px; }
.la-contact-info-card p { color: var(--color-muted); font-size: 14px; margin: 0; }
.la-contact-info-card a { color: var(--color-green); text-decoration: none; font-weight: 600; }
.la-contact-info-card a:hover { color: var(--color-red); }

/* =============================================
   TABLET (min-width: 600px)
   ============================================= */
@media (min-width: 600px) {
  .la-featured-img img, .la-featured-placeholder { height: 380px; }
  .la-featured-title { font-size: 26px; }
  .la-featured-excerpt { font-size: 14px; }
  .la-featured-body { padding: 80px 24px 24px; }

  .la-weather { font-size: 13px; }
  .la-weather-cities {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }
  .la-weather-city + .la-weather-city::before {
    content: '|';
    margin-left: 16px;
    color: var(--color-border);
  }

  .la-most-read { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .la-mostread-item { flex: 1 1 calc(50% - 6px); }
  .la-mostread-img img { width: 90px; height: 68px; }
  .la-mostread-body h4 { font-size: 14px; }

  .la-hero { padding: 50px 20px 40px; }
  .la-hero h1 { font-size: 2.4em; }
  .la-hero p { font-size: 1.1em; }
  .la-hero-badge { font-size: 13px; padding: 5px 20px; }

  .la-ticker { height: 44px; }
  .la-ticker-label { padding: 0 18px; font-size: 13px; }
  .la-ticker-content { font-size: 14px; }

  .la-datetime-bar { font-size: 14px; padding: 12px 16px; }

  .la-section { margin: 32px auto; }
  .la-section-title { font-size: 1.5em; }

  .la-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .la-cat-card { padding: 20px 10px; }
  .la-cat-icon { font-size: 1.8em; }
  .la-cat-name { font-size: 13px; }

  .la-news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .la-news-card img { height: 190px; }
  .la-news-card:first-child { grid-column: 1 / -1; }
  .la-news-card:first-child img,
  .la-news-card:first-child .la-card-placeholder { height: 300px; }
  .la-news-card:first-child .la-card-title { font-size: 20px; }
  .la-news-card .la-card-title { font-size: 15px; }
  .la-news-card .la-card-body { padding: 14px 16px; }

  .la-load-more { width: auto; max-width: none; }

  .la-footer-grid { grid-template-columns: repeat(2, 1fr); padding: 36px 20px; }
  .la-footer-top { padding: 36px 20px; }

  .la-scroll-top { width: 48px; height: 48px; bottom: 24px; left: 24px; }

  .main-navigation ul li a { font-size: 14px; padding: 11px 14px !important; }

  .la-related-grid { grid-template-columns: repeat(2, 1fr); }
  .la-related-card img, .la-related-placeholder { width: 120px; height: 90px; }
  .la-related-body h4 { font-size: 14px; }

  .single .entry-content, .page .entry-content { font-size: 16px; }

  .la-contact-form-wrapper { padding: 30px 24px; }
  .la-contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .la-contact-intro h2 { font-size: 28px; }
}

/* =============================================
   DESKTOP (min-width: 960px)
   ============================================= */
@media (min-width: 960px) {
  .la-featured-img img, .la-featured-placeholder { height: 480px; }
  .la-featured-title { font-size: 32px; }
  .la-featured-excerpt { font-size: 15px; -webkit-line-clamp: 3; }
  .la-featured-body { padding: 100px 40px 30px; }

  .la-most-read { flex-direction: row; }
  .la-mostread-item { flex: 1 1 calc(50% - 6px); }

  .la-news-grid--cat { grid-template-columns: repeat(3, 1fr); }
  .la-news-grid--cat .la-news-card:first-child { grid-column: auto; }
  .la-news-grid--cat .la-news-card:first-child img,
  .la-news-grid--cat .la-news-card:first-child .la-card-placeholder { height: 190px; }
  .la-news-grid--cat .la-news-card:first-child .la-card-title { font-size: 15px; }

  .la-hero { padding: 70px 20px 60px; }
  .la-hero h1 { font-size: 3.2em; }
  .la-hero p { font-size: 1.25em; }
  .la-hero-badge { font-size: 14px; padding: 6px 22px; }

  .la-datetime-bar { font-size: 15px; padding: 14px 30px; }

  .la-section { max-width: 1200px; margin: 40px auto; padding: 0 30px; }
  .la-section-title { font-size: 1.6em; margin-bottom: 25px; }

  .la-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .la-cat-card { padding: 22px 10px; border-width: 2px; border-radius: 12px; }
  .la-cat-icon { font-size: 2em; margin-bottom: 8px; }
  .la-cat-name { font-size: 14px; }

  .la-news-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .la-news-card img { height: 200px; }
  .la-news-card:first-child img,
  .la-news-card:first-child .la-card-placeholder { height: 350px; }
  .la-news-card:first-child .la-card-title { font-size: 22px; }
  .la-news-card .la-card-title { font-size: 16px; }
  .la-news-card .la-card-body { padding: 16px; }

  .la-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 40px 30px; }
  .la-footer-top { padding: 40px 30px; }
  .la-footer-top h3 { font-size: 24px; }

  .la-scroll-top { width: 50px; height: 50px; bottom: 30px; left: 30px; }

  .main-navigation ul li a { font-size: 14px; padding: 12px 14px !important; }

  .la-related-grid { grid-template-columns: repeat(4, 1fr); }
  .la-related-card { flex-direction: column; gap: 0; }
  .la-related-card img, .la-related-placeholder { width: 100%; height: 120px; }
  .la-related-body { padding: 10px 12px; }
  .la-related-body h4 { font-size: 14px; }

  .single .entry-content, .page .entry-content { font-size: 17px; line-height: 2; }

  .la-contact-form-wrapper { padding: 36px 32px; }
  .la-contact-intro h2 { font-size: 32px; }

  /* Desktop padding */
  .cm-container, .container, .inner-wrap {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* =============================================
   WIDE DESKTOP (min-width: 1200px)
   ============================================= */
@media (min-width: 1200px) {
  .la-cat-grid { grid-template-columns: repeat(6, 1fr); }
  .la-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }

  .cm-container, .container, .inner-wrap {
    padding-right: 50px;
    padding-left: 50px;
  }
  .la-section { padding: 0 40px; }
  .la-footer-grid { padding: 40px 40px; }
  .la-footer-top { padding: 40px 40px; }
}

/* =============================================
   SUB-PAGES
   ============================================= */
.single .entry-content,
.page .entry-content,
.archive .entry-content {
  direction: rtl; text-align: right; line-height: 1.9; font-size: 15px;
}

.single .entry-meta, .page .entry-meta {
  font-size: 12px; color: var(--color-muted); margin-bottom: 16px;
}

.archive article { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
