/*
Theme Name: Elementraze by MAT
Theme URI: https://arshadthaheem.com
Author: Muhammad Arshad Thaheem (MAT)
Author URI: https://arshadthaheem.com
Description: A minimal and lightweight WordPress theme designed for speed, flexibility, and clean design. Fully compatible with Elementor, making it ideal for freelancers, small businesses, and creative professionals. Developed by a certified expert with experience in custom WordPress and Shopify solutions.
Tags: one-column, custom-logo, featured-images, translation-ready, theme-options, e-commerce, blog, portfolio, full-width-template, right-sidebar, custom-colors, custom-menu, editor-style, block-styles, flexible-header, threaded-comments
Version: 1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elementraze-by-mat
Tags: one-column, custom-logo, featured-images, translation-ready, theme-options, e-commerce, blog, portfolio, full-width-template, right-sidebar, accessibility-ready, custom-colors, custom-menu, editor-style, block-styles, flexible-header, threaded-comments, minimal, clean, responsive, lightweight, elementor
*/


/* = Reset & Base
----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  color: #005177;
}

/* = Layout
----------------------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* = Header
----------------------------------------------- */
.site-header {
  background: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.site-header h1 {
  font-size: 2rem;
  color: #222;
}

.site-header p {
  font-size: 1rem;
  color: #666;
}

/* = Navigation
----------------------------------------------- */
.main-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  background: #0073aa;
  padding: 0.5rem 0;
}

.main-menu li {
  margin: 0 15px;
}

.main-menu a {
  color: #fff;
  font-weight: bold;
}

.main-menu a:hover {
  color: #ffd700;
}

/* = Main Content
----------------------------------------------- */
.site-main {
  padding: 0;
}

/* = Sidebar
----------------------------------------------- */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* = Footer
----------------------------------------------- */
.site-footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #555;
}

/* = Elementor Tweaks
----------------------------------------------- */
.elementor-section {
  margin: 0 auto;
}

.elementor-widget {
  max-width: 100%;
}

/* = Post Styling
----------------------------------------------- */
.entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: #222;
}

.entry-title a:hover {
  color: #0073aa;
  text-decoration: underline;
}

.post-thumbnail {
  margin-bottom: 1rem;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.entry-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.entry-summary {
  margin-top: 1rem;
  color: #444;
}

.entry-footer {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #555;
}

.tag-links {
  font-size: 0.875rem;
  color: #555;
  margin-top: 0.5rem;
}

/* = Button Styles
----------------------------------------------- */
button,
input[type="submit"],
a.button {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

button:hover,
input[type="submit"]:hover,
a.button:hover {
  background: #005177;
}

/* = WordPress Core Recommended Classes
----------------------------------------------- */
.wp-caption {
  max-width: 100%;
  margin: 1.5em auto;
  padding: 8px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
}

.sticky {
  border-left: 5px solid #0073aa;
  padding-left: 1rem;
  background-color: #f5f5f5;
}

.gallery-caption {
  font-size: 0.85em;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

.bypostauthor {
  border-left: 3px solid #0073aa;
  padding-left: 1rem;
  background-color: #f0f8ff;
}

/* Alignment classes */
.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}


/* = Accessibility
----------------------------------------------- */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
  background-color: #eee;
  color: #333;
  padding: 0.5em;
  border-radius: 4px;
  z-index: 100000;
}


/* Copyright © 2025 Muhammad Arshad. This theme, Elementraze by MAT, is licensed under the GPL. */
