/*
Theme Name: NewsCard Child
Theme URI: https://www.themehorse.com/themes/newscard
Description: Child theme for NewsCard WordPress theme
Author: Shahadat
Author URI: https://shahadat.dev/
Template: newscard
Text Domain: newscard-child
*/

:root {
    --theme-color: #1276d9;
}

/* --- Custom Bangla Font --- */
@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/ShurjoWeb_400_v5_1.woff2') format('woff2'),
       url('assets/fonts/ShurjoWeb_400_v5_1.woff') format("woff");
}

@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/ShurjoWeb_700_v5_1.woff2') format('woff2'),
       url('assets/fonts/ShurjoWeb_400_v5_1.woff') format("woff");
}

body {
  font-family: 'Shurjo', 'Tiro Bangla', sans-serif;
}

/* Selection */
::selection {
    background: var(--theme-color);
}

::-moz-selection {
    background: var(--theme-color);
}

.theme-color {
    color: var(--theme-color);
}

.theme-bg-color {
    background-color: var(--theme-color);
}

/* Buttons */
.btn-theme {
    background-color: var(--theme-color);
}

.btn-outline-theme {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.btn-outline-theme:hover {
    background-color: var(--theme-color);
}

.btn-outline-info:not(:disabled):not(.disabled).active,
.btn-outline-info:not(:disabled):not(.disabled):active,
.show > .btn-outline-info.dropdown-toggle {
    background-color: var(--theme-color);
}

/* Back to Top */
.back-to-top a {
    background-color: var(--theme-color);
}

/* Inputs & Buttons */
input[type="reset"],
input[type="button"],
input[type="submit"],
button {
    background-color: var(--theme-color);
}

/* Links */
a,
a:hover {
    color: var(--theme-color);
}

.site-title a:hover,
.site-title a:focus,
.site-title a:active {
    color: var(--theme-color);
}

/* Navigation */
.navigation-bar {
    background-color: var(--theme-color);
}

.main-navigation .dropdown-menu a:hover,
.main-navigation .dropdown-menu a.current-menu-item,
.main-navigation li ul li:hover > a,
.main-navigation li ul li.current-menu-item > a,
.main-navigation li ul li.current-menu-ancestor > a,
.main-navigation ul li li.current_page_item > a,
.main-navigation li ul li.current_page_ancestor > a {
    color: var(--theme-color);
}

/* Top Stories */
.top-stories-bar .top-stories-label .flash-icon {
    background-color: var(--theme-color);
}

.top-stories-bar .top-stories-label .flash-icon:before,
.top-stories-bar .top-stories-label .flash-icon:after {
    border: 1px solid var(--theme-color);
}

.top-stories-bar .top-stories-lists .marquee a:hover {
    color: var(--theme-color);
}

/* Post & Entry */
.post.sticky .entry-header:before {
    background-color: var(--theme-color);
}

.entry-title a:hover,
.entry-title a:focus {
    color: var(--theme-color);
}

.entry-meta a:focus,
.entry-meta a:hover,
.entry-meta .cat-links a,
.entry-meta .tag-links a {
    color: var(--theme-color);
}

.post-img-wrap .entry-meta .cat-links a,
.post-img-wrap + .entry-header .entry-meta .cat-links a {
    background-color: var(--theme-color);
}

/* Quotes */
.format-quote blockquote:before {
    color: var(--theme-color);
}

/* Pagination */
.navigation.pagination .current,
.navigation.pagination a:hover,
.page-links span,
.page-links a:hover span {
    background-color: var(--theme-color);
}

/* Comments */
.comment-metadata a.comment-edit-link {
    color: var(--theme-color);
}

/* Widgets & Titles */
.stories-title,
.widget-title {
    border-left: 4px solid var(--theme-color);
}

.widget ul li a:hover,
.widget_archive li a[aria-current="page"],
.widget_categories .current-cat a,
.widget_nav_menu ul li.current_page_item > a,
.widget_nav_menu ul li.current_page_ancestor > a,
.widget_nav_menu ul li.current-menu-item > a,
.widget_nav_menu ul li.current-menu-ancestor > a,
.widget_pages ul li.current_page_item > a,
.widget_pages ul li.current_page_ancestor > a,
.widget_tag_cloud a:hover,
.main-navigation li ul li.current_page_ancestor > a {
    color: var(--theme-color);
}

input[type="reset"]:hover, input[type="button"]:hover, input[type="submit"]:hover, button:hover {
	background-color: var(--theme-color);
	opacity: 90%;
}

.main-navigation ul li.menu-item-has-children > a:after, .main-navigation ul li.page_item_has_children > a:after {
	content: "\2304";
	font-size: 16px;
}

/* Misc */
.post-block .entry-meta, 
.post-block .entry-header a {
    color: #ffffff;
}


.navbar-head {
	padding: 0;
}

.owl-nav button {
    border-radius: 50%!important;
}

.featured-slider.slider-no-title .owl-nav {
    top: 4px;
    right: 4px;
}