/*
Theme Name: adcrex
Theme URI: https://yourwebsite.com
Author: rahul jangid
Author URI: https://yourwebsite.com
Description: AdCrex - AI-powered ad generator WordPress theme. Create professional image and video ads automatically with brand customization, WordPress integration, and multi-platform support. Perfect for e-commerce stores and marketing campaigns.
Version: 1.0.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adcrex
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, woocommerce, flexible-header, sticky-header

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* 
 * Theme Styles are loaded from assets/css/style.css
 * This file is required for WordPress theme recognition
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.7) 0%, rgba(255, 255, 255, 0.7) 25%, rgba(240, 244, 248, 0.7) 50%, rgba(255, 255, 255, 0.7) 75%, rgba(248, 249, 250, 0.7) 100%);
    background-size: 400% 400%;
}
main#main {
    padding-top: 150px;
}

/* WordPress Required Styles */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.sticky {
    display: block;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

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

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

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

/* Accessibility */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Captions */
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
    margin-bottom: 1.5rem;
}

/* WordPress Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    border-bottom: none;
}

/* Elementor Support */
.elementor-page,
.elementor-editor-active {
    overflow-x: hidden;
}

/* WordPress Required Accessibility */
.skip-link:focus {
    clip: auto;
    height: auto;
    left: 6px;
    top: 7px;
    width: auto;
    z-index: 100000;
}

/* Content Area */
.site-content {
    padding: 2rem 0;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Elementor Compatibility */
.elementor-page #main {
    padding: 0;
}

/* WordPress Post Formats */
.format-quote blockquote {
    border-left: 4px solid #333;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.format-image img {
    margin: 1.5rem 0;
}

.brand-logos {
    min-width: 200px;
}

/*-----------------------[ Single Post Page Styling ]------------------------*/
/* Match blog modal styling for single post pages */
.section-blog .entry-content {
    color: #6F6F6F;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
}

.section-blog .entry-content p {
    color: #6F6F6F;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    padding-bottom: 10px;
}

.section-blog .entry-content h1,
.section-blog .entry-content h2,
.section-blog .entry-content h3,
.section-blog .entry-content h4,
.section-blog .entry-content h5,
.section-blog .entry-content h6 {
    color: #003b6f;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
}

.section-blog .entry-content h3 {
    font-size: 32px;
    font-weight: 400;
    line-height: 48px;
    margin: 20px auto 0 auto;
}

.section-blog .entry-content h2 {
    font-size: 28px;
    line-height: 42px;
}

.section-blog .entry-content h1 {
    font-size: 36px;
    line-height: 54px;
}

.section-blog .entry-content a {
    color: #003b6f;
    text-decoration: underline;
}

.section-blog .entry-content a:hover {
    color: #eb6209;
}

.section-blog .entry-content ul,
.section-blog .entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.section-blog .entry-content li {
    color: #6F6F6F;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    padding-bottom: 5px;
    list-style-type: disc;
}

.section-blog .entry-content blockquote {
    background: rgb(245, 246, 247);
    padding: 25px;
    margin: 22px auto;
    border-left: 5px solid #f9b233;
    font-style: italic;
}

.section-blog .entry-content blockquote p {
    color: #003b6f;
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    padding-top: 0;
}

.section-blog .entry-footer {
    color: #6F6F6F;
    font-size: 16px;
}

.section-blog .entry-footer .cat-links a,
.section-blog .entry-footer .tags-links a {
    color: #003b6f;
    text-decoration: none;
    margin: 0 5px;
}

.section-blog .entry-footer .cat-links a:hover,
.section-blog .entry-footer .tags-links a:hover {
    color: #eb6209;
}