/*
====================================
NEWS PORTAL HEADER
====================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
    outline: none !important;
}

.primary-menu a:hover,
.top-menu a:hover,
.breaking-ticker a:hover,
.btn-primary:hover {
    text-decoration: none !important;
}

.header-container{
   padding:0 20px;
    margin:auto;
}

@media (max-width: 768px) {
    .header-container{
        padding:0 10px;
    }
}

/*============================
TOP HEADER
=============================*/

.top-header {
    font-family: var(--font-en-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 18.75px;
    letter-spacing: 0;
}

.top-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
}

/* Date, Menu & Language */
.top-date,
.top-menu a,
.gtranslate_wrapper .glink {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: all .25s ease;
}

/* Menu */
.top-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-menu li {
    margin: 0;
    list-style: none;
}

/* Hover */
.top-menu a:hover,
.gtranslate_wrapper .glink:hover {
    color: var(--white) !important;
    font-weight: 600;
}

/* Language separator */
.gtranslate_wrapper .glink:first-of-type::after {
    content: " /";
    margin-left: 2px;
}

/* Globe icon */
.gtranslate_wrapper::before {
    content: "\f0ac";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--white);
}

/*=================================
BREAKING NEWS
==================================*/

.breaking-news .header-container {
    display: flex;
    align-items: center;
    height: 46px;
}

/* Breaking label */
.breaking-title {
    width: 120px;
    height: 34px;
    margin-right: 25px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    border-radius: 25px;

    font-family: var(--font-en-body);
    font-size: 16px;
    font-weight: 900; /* Black */
    line-height: 24px;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: var(--green);
    white-space: nowrap;
}

/* Ticker */
.breaking-wrapper {
    flex: 1;
    overflow: hidden;
}

.breaking-ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* News links */
.breaking-ticker a {
    font-family: var(--font-en-body);
    font-size: 16px;
    font-weight: 700; /* Bold */
    line-height: 18.75px;
    letter-spacing: 0;
    color: var(--white);
    text-decoration: none;
    transition: opacity .3s ease;
}

.breaking-ticker a:hover {
    opacity: .8;
}

/* Separator */
.ticker-separator {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    flex-shrink: 0;
}

/*============================
MAIN HEADER & RESPONSIVE ALIGNMENT
=============================*/


.main-header .header-container {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    align-items: center;
    gap: 30px;
}

.logo-area {
    display: flex;
    align-items: center;
}

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

/*============================
SEARCH (Fixed Height & Centered)
=============================*/

.search-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.search-form .search-field {
    width: 100%;
    height: 50px;
    padding: 0 20px 0 45px !important;
    border: 1px solid var(--border) !important;
    border-radius: 30px !important;
    background-color: var(--surface) !important;
    font-size: 14px;
    outline: none;
}

.search-icon-left {
    position: absolute;
    left: 18px;
    color: var(--muted);
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
}

.search-form .search-submit,
.search-submit-hidden {
    display: none !important;
}

/*============================
RIGHT (Fixed Height Match)
=============================*/

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background-color .25s ease;
}

.mobile-toggle:hover {
    background-color: rgba(21, 134, 134, 0.08);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    background-color: var(--teal);
    transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
}

.mobile-toggle.active {
    background-color: rgba(239, 99, 89, 0.08);
}

.mobile-toggle.active span {
    background-color: var(--coral);
}

