/*
Theme Name: Ilmiya Darulifta
Theme URI: https://darulifta.jamiaibneabbas.org/
Author: BeeCodeX
Author URI: https://beecodex.com
Description: Production-ready Bootstrap 5 Classic WordPress theme for the Darulifta of Jamia Ibne e Abbas — a fatwa portal with a Fatwa custom post type, category/madhab/scholar taxonomies, EN/UR/AR rulings, and PDF attachments. Secure, escaped, translation-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilmiya-darulifta
Tags: bootstrap, classic-theme, custom-post-type, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support
*/

/* Design system enqueued separately (assets/css/theme.css + components.css,
   which already include the Fatwa Portal sections). Overrides only below. */

.container { max-width: 1200px; }

.navbar-custom .dropdown-menu {
  background: var(--green-dark, #0d3b27);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  padding: 6px;
  margin-top: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.navbar-custom .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.navbar-custom .dropdown-menu .dropdown-item:hover,
.navbar-custom .dropdown-menu .dropdown-item:focus {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-light, #e3bb4a);
}

/* WordPress core output classes */
.img-fluid { max-width: 100%; height: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted, #5a5a5a); padding: 6px 2px; }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.sticky, .bypostauthor { display: block; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--border-color, #e0d8cc);
  border-radius: 8px; margin: 2px; text-decoration: none;
  color: var(--green-main, #145c38); font-weight: 700;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--green-main, #145c38); color: #fff; border-color: var(--green-main, #145c38);
}
.comment-list { list-style: none; padding-left: 0; }

/* Footer widget areas */
.footer-widget { margin-bottom: 1.25rem; }
.footer-widget ul { list-style: none; padding-left: 0; margin: 0; }
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.2s ease; }
.footer-widget a:hover { color: var(--gold-light, #e3bb4a); }
.footer-widget .footer-contact-item a { color: inherit; }
.widget-title { color: var(--green-dark, #0d3b27); margin-bottom: 1rem; }

/* Keep the fixed navbar clear of the WordPress admin bar */
body.admin-bar #mainNav { top: 32px; }
@media (max-width: 782px) { body.admin-bar #mainNav { top: 46px; } }
