
/*
Theme Name: NBE Theme
Theme URI: https://newbusinessethiopia.com
Author: BEHAK
Description: A modern, high-performance magazine theme for New Business Ethiopia.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: nbe-theme
*/

/* 1. Global Reset */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1d7cd0;
    text-decoration: none;
}

a:hover {
    color: #ea9b2e;
}

h1 {
    font-size: 34px;
    line-height: 1.15;
    margin: 13px 0 10px 0;
}

h2 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

h4 {
    font-size: 15px;
    line-height: 1.35;
    margin: 10px 0 4px 0;
}

/* 2. Container */
.nbe-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 3. Top Bar */
.nbe-top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #dddddd;
    font-size: 13px;
}

.nbe-top-inner {
    min-height: 38px;
    overflow: hidden;
}

.nbe-date {
    float: left;
    color: #666666;
    padding-top: 8px;
}

.nbe-top-links {
    float: right;
    padding-top: 8px;
}

.nbe-top-links a {
    margin-left: 14px;
    color: #111111;
    font-size: 15px;
}

/* 4. Header */
.nbe-site-header {
    background: #ffffff;
    padding-top: 24px;
    padding-bottom: 24px;
}

.nbe-header-inner {
    overflow: hidden;
}

.nbe-branding {
    float: left;
    width: 24%;
}

.site-title a {
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
}

.site-description {
    margin-top: 4px;
    margin-bottom: 0;
    color: #666666;
    font-size: 13px;
}

.nbe-header-search {
    float: left;
    width: 46%;
    margin-left: 2%;
}

.nbe-header-search form {
    outline: 2px solid #1d7cd0;
    border-radius: 4px;
    overflow: hidden;
}

.nbe-header-search input {
    float: left;
    width: 70%;
    height: 44px;
    border: none;
    text-indent: 12px;
    font-size: 15px;
}

.nbe-header-search button {
    float: left;
    width: 30%;
    height: 44px;
    background: #1d7cd0;
    color: #ffffff;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.nbe-header-ad {
    float: right;
    width: 26%;
}

.nbe-header-ad-placeholder {
    min-height: 80px;
    outline: 1px dashed #cccccc;
    color: #999999;
    background: #f7f7f7;
    text-align: center;
    line-height: 80px;
    font-size: 13px;
}

/* 5. Navigation */
.nbe-main-nav {
    background: #1d7cd0;
    border-bottom: 4px solid #ea9b2e;
}

.nbe-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nbe-primary-menu li {
    float: left;
    margin: 0;
    padding: 0;
}

.nbe-primary-menu a {
    color: #ffffff;
    display: block;
    padding: 15px 17px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.nbe-primary-menu a:hover {
    background: #1769b0;
    color: #ffffff;
}

/* 6. Latest Headlines */
.nbe-latest-headlines {
    background: #111827;
    color: #ffffff;
}

.nbe-headlines-inner {
    min-height: 42px;
    overflow: hidden;
}

.nbe-headlines-inner strong {
    float: left;
    background: #ea9b2e;
    color: #111827;
    padding: 6px 10px;
    margin-top: 6px;
    margin-right: 18px;
    text-transform: uppercase;
}

.nbe-headline-scroll {
    overflow: hidden;
    white-space: nowrap;
    padding-top: 10px;
}

.nbe-headline-scroll a {
    color: #ffffff;
    font-size: 14px;
    margin-right: 22px;
}

/* 7. Front Page Layout */
.nbe-front-page {
    padding-top: 28px;
    padding-bottom: 50px;
}

.nbe-front-grid {
    overflow: hidden;
}

.nbe-main-content {
    float: left;
    width: 74%;
}

.nbe-sidebar {
    float: right;
    width: 23%;
}

/* 8. Hero Section */
.nbe-hero-section {
    overflow: hidden;
    margin-bottom: 38px;
}

.nbe-hero-main {
    float: left;
    width: 57%;
    position: relative;
    min-height: 470px;
    background: #000000;
    overflow: hidden;
    border-radius: 12px;
}

.nbe-hero-main img {
    width: 100%;
    min-height: 470px;
}

.nbe-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    background: #000000;
    color: #ffffff;
}

.nbe-hero-content span {
    background: #ea9b2e;
    color: #111827;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.nbe-hero-content a {
    color: #ffffff;
}

.nbe-hero-side {
    float: right;
    width: 40%;
    overflow: hidden;
}

.nbe-hero-small {
    float: left;
    width: 48%;
    margin-right: 2%;
    margin-bottom: 16px;
    background: #ffffff;
    outline: 1px solid #eeeeee;
    border-radius: 10px;
    overflow: hidden;
}

.nbe-hero-small img {
    width: 100%;
    min-height: 145px;
}

.nbe-hero-small a {
    color: #111111;
}

.nbe-hero-small-title {
    padding: 12px;
}

/* 9. Category Blocks */
.nbe-category-section {
    margin-bottom: 48px;
    padding-top: 24px;
    border-top: 1px solid #eeeeee;
}

.nbe-section-heading {
    overflow: hidden;
    margin-bottom: 22px;
    border-bottom: 3px solid #1d7cd0;
}

.nbe-section-title {
    float: left;
    background: #1d7cd0;
    color: #ffffff;
    padding: 9px 14px;
    font-size: 22px;
    text-transform: uppercase;
}

.nbe-section-heading a {
    float: right;
    color: #ea9b2e;
    font-size: 13px;
    font-weight: bold;
    margin-top: 12px;
}

.nbe-category-grid {
    overflow: hidden;
}

.nbe-category-main {
    float: left;
    width: 51%;
    outline: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.nbe-category-main img {
    width: 100%;
    min-height: 300px;
}

.nbe-category-main-content {
    padding: 18px;
}

.nbe-category-main-content a {
    color: #111111;
}

.nbe-category-main-content p {
    margin: 0;
    color: #666666;
}

.nbe-category-small-list {
    float: right;
    width: 46%;
    overflow: hidden;
}

.nbe-category-small {
    float: left;
    width: 48%;
    margin-right: 2%;
    margin-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 14px;
}

.nbe-category-small img {
    width: 100%;
    min-height: 120px;
    border-radius: 8px;
}

.nbe-category-small a {
    color: #111111;
}

.nbe-category-small span {
    color: #777777;
    font-size: 12px;
}

/* 10. Embed Section */
.nbe-home-embed-section {
    margin-top: 42px;
    margin-bottom: 42px;
    padding: 28px;
    background: #111827;
    color: #ffffff;
    border-radius: 12px;
}

.nbe-home-embed-section h3 {
    color: #ea9b2e;
    text-transform: uppercase;
}

.nbe-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000000;
    border-radius: 10px;
}

.nbe-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 11. Sidebar */
.nbe-sidebar-card {
    background: #ffffff;
    outline: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
}

.nbe-widget-title {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid #1d7cd0;
    text-transform: uppercase;
    color: #111111;
}

.nbe-ad-label {
    display: block;
    margin-bottom: 10px;
    color: #777777;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.nbe-ad-placeholder {
    min-height: 250px;
    outline: 1px dashed #cccccc;
    background: #f7f7f7;
    color: #999999;
    text-align: center;
    line-height: 250px;
}

.nbe-trending-item {
    overflow: hidden;
    border-bottom: 1px solid #eeeeee;
    padding-top: 12px;
    padding-bottom: 12px;
}

.nbe-trending-rank {
    float: left;
    width: 30px;
    color: #ea9b2e;
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
}

.nbe-trending-content {
    overflow: hidden;
}

.nbe-trending-content a,
.nbe-latest-item a {
    color: #111111;
    font-weight: bold;
    line-height: 1.35;
}

.nbe-latest-item {
    border-bottom: 1px solid #eeeeee;
    padding-top: 12px;
    padding-bottom: 12px;
}

.nbe-latest-item small {
    display: block;
    margin-top: 4px;
    color: #777777;
}

/* 12. Archive and Single */
.nbe-content-layout {
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
}

.nbe-archive-main,
.nbe-single-main {
    float: left;
    width: 74%;
}

.nbe-archive-card {
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.nbe-archive-card a {
    color: #111111;
}

.nbe-archive-card .post-thumb-link {
    float: left;
    width: 260px;
    margin-right: 18px;
}

.nbe-archive-card img {
    width: 100%;
    min-height: 160px;
    border-radius: 8px;
}

.nbe-single-article {
    max-width: 850px;
}

.nbe-single-title {
    font-size: 42px;
    line-height: 1.15;
    color: #111111;
    margin-bottom: 12px;
}

.nbe-single-meta {
    color: #777777;
    margin-bottom: 24px;
}

.nbe-single-featured {
    margin-bottom: 24px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.85;
}

.entry-content p {
    margin-bottom: 1.3em;
}

/* 13. Footer */
.nbe-site-footer {
    background: #111827;
    color: #dddddd;
    margin-top: 50px;
}

.nbe-footer-grid {
    overflow: hidden;
    padding-top: 45px;
    padding-bottom: 35px;
}

.nbe-footer-about {
    float: left;
    width: 31%;
    margin-right: 3%;
}

.nbe-footer-column {
    float: left;
    width: 21%;
    margin-right: 2%;
}

.nbe-footer-title {
    color: #ffffff;
    text-transform: uppercase;
}

.nbe-footer-about-title {
    color: #ffffff;
    text-transform: uppercase;
}

.nbe-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nbe-footer-menu li {
    margin-bottom: 8px;
}

.nbe-site-footer a {
    color: #ffffff;
}

.nbe-site-footer a:hover {
    color: #ea9b2e;
}

.nbe-footer-social a {
    display: block;
    margin-bottom: 8px;
}

.nbe-footer-bottom {
    border-top: 1px solid #374151;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nbe-footer-bottom p {
    margin: 0;
}

.nbe-footer-bottom a {
    color: #ea9b2e;
    font-weight: bold;
}

/* 14. Clearfix */
.nbe-container:after,
.nbe-top-inner:after,
.nbe-header-inner:after,
.nbe-primary-menu:after,
.nbe-front-grid:after,
.nbe-hero-section:after,
.nbe-hero-side:after,
.nbe-category-grid:after,
.nbe-category-small-list:after,
.nbe-content-layout:after,
.nbe-footer-grid:after {
    content: "";
    display: table;
    clear: both;
}

/* 15. Mobile Responsiveness */
@media screen and (max-width: 1100px) {
    .nbe-branding,
    .nbe-header-search,
    .nbe-header-ad,
    .nbe-main-content,
    .nbe-sidebar,
    .nbe-hero-main,
    .nbe-hero-side,
    .nbe-category-main,
    .nbe-category-small-list,
    .nbe-archive-main,
    .nbe-single-main,
    .nbe-footer-about,
    .nbe-footer-column {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 768px) {
    .nbe-date,
    .nbe-top-links {
        float: none;
        text-align: center;
    }

    .nbe-top-links a {
        margin-left: 6px;
        margin-right: 6px;
    }

    .nbe-header-search input,
    .nbe-header-search button {
        float: none;
        width: 100%;
        display: block;
    }

    .nbe-primary-menu li {
        float: none;
    }

    .nbe-primary-menu a {
        border-bottom: 1px solid #3b8fd8;
    }

    .nbe-headlines-inner strong {
        float: none;
        display: block;
        margin-bottom: 8px;
    }

    .nbe-headline-scroll {
        white-space: normal;
    }

    .nbe-headline-scroll a {
        display: block;
        margin-bottom: 6px;
    }

    .nbe-hero-main,
    .nbe-hero-main img {
        height: auto;
        min-height: 360px;
    }

    .nbe-hero-small,
    .nbe-category-small {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .nbe-single-title {
        font-size: 32px;
    }
}

/* TOP SEARCH BAR */
.nbe-top-search {
    float: left;
    width: 34%;
    margin-left: 3%;
    padding-top: 5px;
}

.nbe-top-search form {
    overflow: hidden;
    outline: 1px solid #cccccc;
    background: #ffffff;
}

.nbe-top-search input {
    float: left;
    width: 72%;
    height: 28px;
    border: none;
    text-indent: 8px;
    font-size: 12px;
}

.nbe-top-search button {
    float: left;
    width: 28%;
    height: 28px;
    border: none;
    background: #1d7cd0;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
}

/* HEADER AD WIDE AREA */
.nbe-header-ad-wide {
    float: right;
    width: 72%;
}

.nbe-header-ad-wide img,
.nbe-header-ad-wide iframe {
    max-width: 100%;
}

/* MOBILE MENU BUTTON */
.nbe-mobile-menu-button {
    display: none;
    background: #ea9b2e;
    color: #111111;
    border: none;
    padding: 12px 16px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

/* MOVING LATEST HEADLINES TICKER */
.nbe-latest-headlines {
    background: #ea9b2e;
    color: #111111;
    overflow: hidden;
}

.nbe-headlines-inner {
    overflow: hidden;
}

.nbe-headlines-inner strong {
    background: #111827;
    color: #ffffff;
}

.nbe-headline-scroll {
    white-space: nowrap;
    overflow: hidden;
}

.nbe-headline-scroll a {
    color: #111111;
    font-weight: bold;
    display: inline-block;
    padding-right: 35px;
    animation-name: nbeTickerMove;
    animation-duration: 35s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes nbeTickerMove {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* SIDEBAR SMALL DATE */
.nbe-trending-content small {
    display: block;
    color: #777777;
    font-size: 11px;
    margin-top: 4px;
}

/* MOBILE FRIENDLY HEADER, MENU, AND CONTENT */
@media screen and (max-width: 768px) {

    .nbe-main-nav {
        position: relative;
        z-index: 10;
    }

    .nbe-mobile-menu-button {
        display: block;
    }

    .nbe-primary-menu {
        display: none;
        background: #1d7cd0;
    }

    .nbe-menu-open .nbe-primary-menu {
        display: block;
    }

    .nbe-primary-menu li {
        float: none;
        width: 100%;
    }

    .nbe-primary-menu a {
        display: block;
        padding: 13px 15px;
        border-bottom: 1px solid #3b8fd8;
    }

    .nbe-site-header {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nbe-branding,
    .nbe-header-ad-wide,
    .nbe-header-search,
    .nbe-header-ad {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .nbe-top-search {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .nbe-top-links {
        float: none;
        text-align: center;
        padding-bottom: 8px;
    }

    .nbe-date {
        float: none;
        text-align: center;
    }

    .nbe-headlines-inner strong {
        float: none;
        display: block;
        margin-right: 0;
        margin-bottom: 6px;
        text-align: center;
    }

    .nbe-headline-scroll {
        padding-top: 6px;
        padding-bottom: 8px;
    }

    .nbe-hero-content {
        position: relative;
        padding: 18px;
    }

    .nbe-hero-main,
    .nbe-hero-main img {
        min-height: 0;
        height: auto;
    }

}

/* FOOTER COLOR REFINEMENT */
.nbe-site-footer {
    background: #1d4f91;
    color: #e8eef7;
}

.nbe-footer-title,
.nbe-footer-about-title {
    color: #ffffff;
}

.nbe-site-footer a {
    color: #ffffff;
}

.nbe-site-footer a:hover {
    color: #ea9b2e;
}

.nbe-footer-bottom {
    border-top: 1px solid #3b6da8;
    text-align: center;
}

.nbe-footer-address {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nbe-footer-address p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.6;
}

.nbe-footer-credit {
    font-weight: bold;
    letter-spacing: 0.3px;
}

.nbe-footer-credit a {
    color: #ea9b2e;
}

/* SIDEBAR IMPROVEMENT */
.nbe-sidebar-card {
    margin-bottom: 28px;
}

.nbe-widget-title {
    font-size: 17px;
    letter-spacing: 0.4px;
}

.nbe-latest-item {
    padding-top: 14px;
    padding-bottom: 14px;
}

.nbe-latest-item small {
    display: block;
    margin-top: 5px;
    color: #777777;
    font-size: 11px;
}

/* SOCIAL ICON MENU */
.nbe-social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nbe-social-menu li {
    display: inline-block;
    margin-left: 12px;
}

.nbe-social-menu a {
    font-size: 0;
}

.nbe-social-menu a:before {
    font-family: "Font Awesome 6 Brands";
    font-size: 17px;
    font-weight: 400;
}

/* FACEBOOK */
.nbe-facebook a:before {
    content: "\f39e";
    color: #1877f2;
}

/* X / TWITTER */
.nbe-x a:before {
    content: "\e61f";
    color: #000000;
}

/* TELEGRAM */
.nbe-telegram a:before {
    content: "\f2c6";
    color: #229ed9;
}

/* LINKEDIN */
.nbe-linkedin a:before {
    content: "\f0e1";
    color: #0a66c2;
}

/* YOUTUBE */
.nbe-youtube a:before {
    content: "\f167";
    color: #ff0000;
}

/* INSTAGRAM */
.nbe-instagram a:before {
    content: "\f16d";
    color: #e4405f;
}

/* TIKTOK */
.nbe-tiktok a:before {
    content: "\e07b";
    color: #000000;
}

/* WHATSAPP */
.nbe-whatsapp a:before {
    content: "\f232";
    color: #25d366;
}