/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Footer Recent Posts Title Hide */
.elementor-element.elementor-element-066f074.elementor-widget.elementor-widget-wp-widget-recent-posts .elementor-widget-container h5 {
	display:none!important;
}

a {
	color:#C1CC38;
	text-decoration:none!important;
}

a:hover {
    color:#565a15;
    text-decoration:none!important;
}

.downloads-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.downloads-read-more:hover {
    background-color: #218838;
		color: #ffffff;
}

.custom-downloads-grid {
    display: grid;
    gap: 10px;
    margin-top: 10px;
		margin-bottom:10px;
}


.custom-downloads-grid h3 {
		font-size:20px;
		margin-block-start: 0.5rem;
    margin-block-end: 0.5rem;
}


.cp-downloads-list {
    list-style: none;
    padding: 0;
}

.cp-downloads-list li {
/*     margin-bottom: 50px; */
		margin-top:25px;
}

.cp-download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.cp-download-button:hover {
    background-color: #218838;
}

.download-categories {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.download-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}
/* CONTACT FORM */

/* Contact Form 7 General Container */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Structure */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Parent Paragraphs and Wrappers */
.wpcf7 form p,
.wpcf7-form-control-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Label Styling */
.wpcf7 form label {
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
}

/* Inputs, Textareas, Selects */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* ensures padding doesn't overflow */
    transition: border-color 0.3s;
	margin-top:7px;
}

/* Focus on Fields */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #333;
    outline: none;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 14px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #555;
}

/* Validation Error Text */
span.wpcf7-not-valid-tip {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Success and Error Messages */
div.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

div.wpcf7-mail-sent-ok {
    border-color: green;
    background: #eaffea;
    color: green;
}

div.wpcf7-validation-errors {
    border-color: red;
    background: #ffeaea;
    color: red;
}

/* Checkbox and Radio Buttons */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    margin-right: 10px;
}



/* 
input[type="text"],
input[type="email"],
textarea
{
    background-color: #fff;
    color: #000;
    width: 500px;;
} */

/* GENERAL */



.custom-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.custom-post-item {
  border: 1px solid #fffbf7;
  padding: 15px;
  background: #fffbf7;
}

.custom-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-post-thumbnail img {
  width: 100%;
  height: auto;
}
.custom-post-excerpt {
  font-size: 14px;
}
.custom-read-more {
  display: inline-block;
  margin-top: 10px;
  color: #0073e6;
  text-decoration: none;
}
.custom-read-more:hover {
  text-decoration: underline;
}

/* ARCHIVE PAGE */

.archive-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-post {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

/* SINGLE BLOG */

.single-post-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-post-article {
    margin-bottom: 60px;
}

.entry-header {
    text-align: center;
    /* margin-bottom: 30px; */
}

.entry-title {
    font-size: 1.3em;
    margin-bottom: 10px;
	text-align:left;
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-meta {
    font-size: 0.9em;
    color: #777;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
}


.tag-links {
    display: block;
    margin-top: 20px;
}


/* SEARCH PAGE */

.search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.search-result-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-thumbnail {
    margin-bottom: 15px;
}

.search-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


/* 404 Missing Page */

.error-404-page {
    text-align: center;
    padding: 80px 20px;
}

.error-404 .page-title {
    font-size: 3em;
    margin-bottom: 20px;
}

.error-404 .page-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.button-home {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.button-home:hover {
    background-color: #555;
}