.child-cards-grid {
/*
Theme Name: Reobiz Child
Theme URI: https://www.rstheme.com/products/wordpress/reobiz
Author: rs-theme
Author URI: http://www.rstheme.com
Template: reobiz
Description: Reobiz - Business Multipurpose WordPress Theme
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 5.2.9
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: reobiz-child
Tags: custom-menu, custom-logo, entertainment, featured-images, full-width-template, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
*/

  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.child-card {
  flex: 0 1 calc(25% - 30px);
  background: #f5f8ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.child-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.child-icon {
  font-size: 50px;
  color: #2f5aff;
  margin-bottom: 15px;
}

.child-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.child-card h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0;
}

.child-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.child-card ul li a {
  color: #101010;
  display: flex;
  font-size: 0.95rem;
  justify-content: space-between;
  line-height: 1.6;
  text-align: left;
  width: 100%;
}

.child-card ul li:hover a {
  color: #1273EB;
}

.btn-access {
  background: #c4004b;
  color: #fff;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  align-self: center;
}

.btn-access:hover {
  background: #a3003f;
  color: white;
}
 
@media (max-width: 900px) {
  .child-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .child-card {
    flex: 1 1 100%;
  }
}

