/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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
*/

/* Add your custom styles here */

body {
  font-family: "Poppins";
}

h1, h2, h3, h4, h5 {
  font-family: "Libre Caslon Text", Sans-serif;
  color: #2E2B25;
}

a { color: #B0997B; }

.btn-torq { background-color: #7BB099!important; }

.container {}

.sxn {}

.sxn-hero {
  padding: 50px 10px;
  background-color: #3D3428;
}

.sxn-title {
  font-family: "Libre Caslon Text", Sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #FFFFFF;
}

.site-main {
  padding: 50px 10px;
}

/*----- Inner page ----- */

/*----- Blog ----- */
body.blog .site-main .page-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Creates 3 equal columns */
  gap: 20px; /* Adds space between the columns */
}
.post-img {
  display: block;
  width: 100%;
  height: 250px;
  background-color: #efefef;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.elementor-button {
  background-color: var(--e-global-color-accent);
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-weight: var(--e-global-typography-accent-font-weight);
  border-radius: 50px 50px 50px 50px;
  text-decoration: none!important;
}

.latest-blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.blog-post {
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #fff;
}

.blog-post h2 {
    font-size: 25px;
    margin-top: 0;
}

.post-thumbnail {
  width: 100%;
  height: 200px;
  display: block;
  margin: 0 0 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}


/*----- Responsive ----- */
@media (min-width: 768px) {
  .sxn-title {
    font-size: 80px;
  }
}

@media (min-width: 992px) {
  .sxn-hero {
    min-height: 200px;
  }

  /*----- Blog ----- */
  body.blog .site-main .page-content {
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 50px; /* Adds space between the columns */
  }
}

@media (min-width: 1300px) {
  .page-header .entry-title, 
  .site-footer .footer-inner, 
  .site-footer:not(.dynamic-footer), 
  .site-header .header-inner, 
  .site-header:not(.dynamic-header), 
  body:not([class*=elementor-page-]) 
  .site-main {
    max-width: 1280px;
  }
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }
}
@media (max-width: 992px) {
    .latest-blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .latest-blog-posts {
        grid-template-columns: 1fr;
    }
}
