/*
Theme Name: Assignment Help Modern
Theme URI: https://getassignmenthelponline.com
Description: Modern React + Gutenberg block theme with custom header and footer
Author: Assignment Help Team
Author URI: https://getassignmenthelponline.com
Version: 1.0.0
Text Domain: assignmenthelp-modern
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Basic Theme Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

:root {
  --ah-main-content-width: 1400px;
  --ah-main-content-gutter: 20px;
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

/* Keep a consistent main content width across key frontend templates. */
.page-wrapper > .container,
.single-post-wrapper > .container,
.order-page-wrapper > .container,
.ah-404-wrapper > .container,
.ah-page-search-results-wrapper > .container {
  max-width: var(--ah-main-content-width);
}

/* Header will be styled via React component */
/* Footer will be styled via React component */

/* Full Width page template */
.full-width-template {
  width: 100%;
  max-width: 100%;
  padding: 60px 0;
}

.full-width-template .content-wrapper {
  max-width: var(--ah-main-content-width);
  margin: 0 auto;
  padding: 0 var(--ah-main-content-gutter);
}

.full-width-content .entry-content {
  max-width: 100%;
}

@media (max-width: 768px) {
  .full-width-template {
    padding: 40px 0;
  }
}

/* Minimal layout for 404/page-only search templates. */
.ah-404-wrapper,
.ah-page-search-results-wrapper {
  padding: 60px 0;
}

.ah-404-card {
  text-align: center;
}

.ah-page-result-item + .ah-page-result-item {
  margin-top: 20px;
}

.ah-page-results-pagination {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .ah-404-wrapper,
  .ah-page-search-results-wrapper {
    padding: 40px 0;
  }
}
a {
    text-decoration: none;
    color: #667eea;
}
.eltdf-title-holder .eltdf-breadcrumbs, .eltdf-title-holder .eltdf-breadcrumbs a {
    color: #ffffff;
}
.text-align-center{
    text-align: center;
}

/* ============================================
   Universal Grid System
============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 4%;
    margin-bottom: 20px;
}

.form-row--single,
.form-row--stack {
    display: block;
}

.form-row--stack .col-6 {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-right: 0 !important;
}

[class*="col-"] {
    position: relative;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
}

.col-6 {
    flex: 0 0 48%;
    max-width: 48%;
    width: 48%;
    margin-bottom: 20px;
}

.form-row .col-6,
.form-row .col-12 {
    padding: 0;
    margin-bottom: 0;
}

.form-row .col-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (max-width: 767px) {
    .form-row {
        display: block;
    }
    
    .form-row .col-6 {
        width: 100%;
        max-width: 100%;
        flex: none;
        margin-bottom: 20px;
    }
    
    .col-6 {
        width: 100%;
        max-width: 100%;
        flex: none;
        margin-right: 0 !important;
    }
}

.text-center {
    text-align: center;
}

/* ============================================
   Utility Classes
============================================ */
.hide-if-customize {
    display: none !important;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.hidden-file-upload {
    display: none;
}
