/* 
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.1
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
*/

/* Related Content Grid */
.ctb-related-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for desktop/tablet */
}

.ctb-related-item {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.ctb-related-link {
    text-decoration: none;
    font-weight: bold;
    color: inherit;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .ctb-related-grid {
        grid-template-columns: 1fr;
        /* 1 column for mobile */
    }
}

/* Back to Article Button */
.ctb-back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    /* Dark background */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
    margin-top: 20px;
}

.ctb-back-button:hover {
    background-color: #555;
    color: #fff;
}