/*
Theme Name: Magazine Newspaper — Child
Template: magazine-newspaper
Text Domain: magazine-newspaper-child
Version: 1.0.0
*/

/* === Brand tokens === */
:root{
  --primary-color:#0E6B3A; --primary-color_rgb:14,107,58;
  --secondary-color:#04502A; --secondary-color_rgb:4,80,42;
  --accent-color:#12A150; --accent-color_rgb:18,161,80;
  --light-color:#E6F4EA; --light-color_rgb:230,244,234;
  --dark-color:#0B2E1C; --dark-color_rgb:11,46,28;
  --text-color:#1F2937; --text-color_rgb:31,41,55;
  --text-color:#fff; --text-color_rgb:31,41,55;
  --text-secondary-color:#667085; --text-secondary-color_rgb:102,112,133;
  --background-color:#FFFFFF; --background-color_rgb:255,255,255;
  --button-color: var(--primary-color); --button-color_rgb: var(--primary-color_rgb);
  --heading-title-color:#0E6B3A;
}
/* Map Bootstrap tokens (kills default blue/yellow) */
:root{
  --bs-primary: var(--primary-color !important);
  --bs-primary-rgb: var(--primary-color_rgb !important);
  --bs-secondary: var(--secondary-color !important);
  --bs-secondary-rgb: var(--secondary-color_rgb !important);
  --bs-link-color: var(--primary-color !important);
  --bs-link-color-rgb: var(--primary-color_rgb !important);
  --bs-link-hover-color: var(--secondary-color !important);
  --bs-link-hover-color-rgb: var(--secondary-color_rgb !important);
  --bs-dropdown-border-color: #0E6B3A !important; 
}
/* Patch hard-coded states */
.form-check-input:checked{background-color:var(--primary-color);border-color:var(--primary-color);}
.form-control:focus,.nav-link:focus-visible{box-shadow:0 0 0 .25rem rgba(var(--primary-color_rgb), .25);border-color:rgba(var(--primary-color_rgb),.6);}
.btn-primary{background-color:var(--primary-color);border-color:var(--primary-color);}
.btn-primary:hover,.btn-primary:active{background-color:rgba(var(--primary-color_rgb),.9);border-color:rgba(var(--primary-color_rgb),.9);}
.news-ticker-label:after{background-color:var(--accent-color);}
.owl-dot.active{background:var(--secondary-color);}
.dropdown-item{background-color: #0E6B3A !important;} 
.navbar .nav-link { color:#fff !important; }
.navbar .nav-link:hover, .navbar .nav-item.show > .nav-link {
  background-color:#0E6B3A !important;
  color:#fff !important;
}
/* .navbar .dropdown-menu {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: none !important;
} */
/* .h4 a, h4 a:hover, h4 a:active, h4 a:focus, h4 a:visited {
    color: #0D6B3A !important;
} */
 /* .a { color: #0D6B3A !important; }
 .a:hover, .a:active, .a:focus, .a:visited {
    color: #0D6B3A !important;
} */
.bg-secondary{background-color:#12A150 !important;}
.btn-primary{background-color:#12A150 !important;}
.btn{border: #fff !important;}
/* --- Small bars/underlines under titles to green --- */
/* h4.news-title:after, */
.footer-col h1:after, .footer-col h2:after, .footer-col h3:after,
.footer-col h4:after, .footer-col h5:after, .footer-col h6:after {
  background-color: var(--secondary-color) !important;
  /* color: #000 !important; */
}

/* Force override of parent h4 link styles */
h4 a,
h4 a:hover,
h4 a:active,
h4 a:focus,
h4 a:visited {
  color:  #0D6B3A !important; 
  /* text-decoration-color:  #0D6B3A !important;  */
  text-decoration-color: var(--primary-color) !important;
}

/* Override stubborn h2 link color */
h2 a,
h2 a:hover,
h2 a:active,
h2 a:focus,
h2 a:visited {
  /* color: var(--primary-color) !important;
   */
   color:  #0D6B3A !important; 
   /* text-decoration-color:  #0D6B3A !important; */
  text-decoration-color: var(--primary-color) !important;
}

/* Override stubborn h3 link color */
h3 a,
/* h3 a:hover, */
h3 a:active,
/* h3 a:focus, */
h3 a:visited {
  /* color: var(--primary-color) !important; */
  color:  #0D6B3A !important;
  text-decoration-color: var(--primary-color) !important;
}


h3 a:hover,
h3 a:focus {
  color: var(--secondary-color) !important;
  text-decoration-color: var(--accent-color) !important; /* yellow underline highlight */
}

.dropdown-menu {
  background-color: #0E6B3A !important;
  border-color: #0E6B3A !important;
  box-shadow: none !important;
}

/* Sidebar container */
#secondary, .sidebar, .widget-area {
  background-color: var(--light-color); /* soft green background */
  padding: 20px;
  border-left: 3px solid var(--primary-color);
}

/* Widget titles */
.sidebar .widget-title,
.widget h2,
.widget h3 {
  /* color: var(--primary-color) !important; */
  border-color: #0E6B3A !important;
  border-bottom: 2px solid var(--accent-color); /* yellow line */
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Sidebar links */
/* .sidebar a,
.widget a {
  color: #0E6B3A !important;
} */

.sidebar a{
  color: #0E6B3A !important;
} 
/* .widget a {
  color: #0E6B3A !important;
} */
.sidebar a:hover,
.widget a:hover {
  color: var(--secondary-color) !important;
  text-decoration-color: var(--accent-color) !important;
}

.footer-widget-2 a {
  color: #fff !important;
  text-decoration-color: #fff !important;
}
/* .sidebar a, .widget a {
    color: var(--primary-color) !important;
} */


/* Pages list block links
.wp-block-pages-list__item__link {
  color: #fff !important;
  text-decoration-color: #fff !important;
}

.wp-block-pages-list__item__link:hover,
.wp-block-pages-list__item__link:focus {
  color: #fff!important;
  text-decoration-color: #fff !important;
} */

footer ul {
    margin: 0;
}

footer a {
    color: var(--light-color) !important;
}

footer a:hover {
    color: #fff !important;
}