/*
Theme Name: OnlineExamHelper
Theme URI: https://onlineexamhelper.net/
Author: OnlineExamHelper
Author URI: https://onlineexamhelper.net/
Description: Production-ready native WordPress theme converted from OnlineExamHelper.net with auto-created Home, About Us, Contact Us, and Blogs pages, native WordPress Posts loop, customizer support, and secure AJAX/WP Mail contact and quote forms.
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: onlineexamhelper
Tags: education, custom-logo, custom-menu, featured-images, responsive-layout, blog
*/

/* WordPress Core Accessibility & Alignment Helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f5f9;
  border-radius: 0.375rem;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.25);
  clip: auto !important;
  clip-path: none;
  color: #0b1e38;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.alignwide {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100%;
  max-width: 100%;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.bypostauthor {
  font-weight: 600;
}

.sticky {
  border-color: #2563eb;
}

/* WordPress Pagination */
.oeh-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.oeh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.oeh-pagination .page-numbers:hover {
  border-color: #2563eb;
  color: #2563eb;
  background-color: #eff6ff;
}

.oeh-pagination .page-numbers.current {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* Single Post / Page Rich Content Typography */
.oeh-entry-content > * + * {
  margin-top: 1.25rem;
}

.oeh-entry-content h2 {
  font-size: 1.625rem;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.25rem;
}

.oeh-entry-content h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.75rem;
}

.oeh-entry-content p,
.oeh-entry-content li {
  color: #334155;
  line-height: 1.75;
  font-size: 1rem;
}

.oeh-entry-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.oeh-entry-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.oeh-entry-content a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.oeh-entry-content blockquote {
  border-left: 4px solid #2563eb;
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  color: #1e293b;
  font-style: italic;
}

.oeh-entry-content img {
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
}


/* iPhone Responsive Order Quote Modal Fix */
#order-quote-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    z-index: 99999 !important;
}

/* Modal content responsive height */
#order-quote-modal > div {
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* iPhone small screen spacing */
@media screen and (max-width: 480px) {
    #order-quote-modal > div {
        max-height: 92vh;
        max-height: 92dvh;
        margin-top: auto;
        margin-bottom: auto;
    }
}
