/* 
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 */
/* Container */
.rm-container {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .rm-container {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Grid layout */
.rm-grid {
  display: grid;
  grid-template-columns: 3fr 1fr; /* content 75% + sidebar 25% */
  gap: 30px;
}

.rm-content-area {
  min-width: 0; /* prevent overflow */
}

.rm-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards */
.rm-card {
  background: #083941;
  border-top: 4px solid #28cd78;
  color: #fff;
}

.rm-card-heading {
  color: #28cd78;
  border-bottom: 1px solid #28cd78;
  padding: 15px 20px;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.rm-card-body {
  padding: 18px 20px;
}

.rm-card-body a {
  color: #fff;
  text-decoration: none;
}

.rm-card-body a:hover {
  text-decoration: none;
}

/* Post meta */
.rm-meta {
  margin: 25px 0;
  color: #666;
  font-size: 0.9rem;
}
.rm-meta span {
  color: #28cd78;
}

.rm-meta span.rm-category a {
  color: #28cd78;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Featured image */
.rm-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Category list styles */
.rm-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rm-cat-list li {
  margin-bottom: 5px;
}

.rm-cat-list a {
  color: #ffffff; /* default white */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.rm-cat-list a i {
  color: #28cd78; /* green arrow */
  font-size: 14px;
}

.rm-cat-list a:hover {
  color: #28cd78; /* text turns green on hover */
}

/* Tag pills inside the sidebar card */
.rm-tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* space between pills */
}

.rm-tag-list li {
  margin: 0;
}

.rm-tag-list a {
  display: inline-block;
  background: #39656d; /* token */
  padding: 4px 10px; /* token */
  border-radius: 6px; /* token */
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease, transform 0.05s ease;
}

.rm-tag-list a:hover,
.rm-tag-list a:focus {
  color: #28cd78; /* hover text color to match your green */
  outline: none;
}

/* optional tiny tap feedback on mobile */
.rm-tag-list a:active {
  transform: scale(0.98);
}

/* Mobile */
@media (max-width: 768px) {
  .rm-grid {
    grid-template-columns: 1fr;
  }
  .rm-sidebar {
    margin-top: 30px;
  }
}
