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








/* Nivi news and insights page starts */

.country-news-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    width: calc(33.33% - 20px);
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
}

.news-item h4 a {
    color: #2c3e50;
    font-size: 1.2em;
    text-decoration: none;
}

.news-item p {
    color: #7f8c8d;
}

.news-item:hover a {
    color: #2980b9;
}


/* nivi news and insights page starts */

/* ===============================
   BASE BUTTON
================================ */
.read-arrow-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
 
    font-family: "Myriad Pro", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0055B8;
    text-decoration: none;
 
    padding: 15px 0;
    cursor: pointer;
}
 
/* ===============================
   ARROW WRAPPER
================================ */
.read-arrow{
    position: relative;
    width: 48px;
    height: 14px;
 
    /* fadeInUp from LEFT */
    opacity: 0;
    transform: translateX(-12px) translateY(8px);
    transition: all 0.35s ease;
}
 
/* ===============================
   LINE
================================ */
.read-line{
    position: absolute;
    top: 50%;
    left: 0;
 
    width: 40px;
    height: 1px;
    background-color: #0055B8;
 
    transform-origin: right;
    transform: scaleX(1) translateY(-50%);
    transition: transform 0.25s ease-in-out;
}
 
/* ===============================
   ARROW HEAD
================================ */
.read-head{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
 
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #0055B8;
 
    transition: right 0.3s ease-in-out;
}
 
/* ===============================
   HOVER EFFECT
================================ */
.read-arrow-btn:hover .read-arrow{
    opacity: 1;
    transform: translateX(0) translateY(0);
}
 
/* Line shrinks right → left */
.read-arrow-btn:hover .read-line{
    transform: scaleX(0) translateY(-50%);
}
 
/* Arrow moves forward */
.read-arrow-btn:hover .read-head{
    right: -12px;
}
 
 
/* history page slider horizontal line (level) */


