/* 1. إعادة ضبط التنسيقات الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fb; /* خلفية أفتح وأكثر حداثة */
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

/* 2. التنسيقات العامة والهيكل */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
    margin-bottom: 20px;
}

/* 3. Hero Section */
.hero {
    background: linear-gradient(135deg, #1c274c 0%, #2c3e50 100%);
    color: #fff;
    padding: 60px 0;
    border-radius: 10px;
    margin: 20px 0 40px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80') no-repeat center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    padding: 0 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ffd43b;
    color: #1c274c;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.market-overview {
    position: absolute;
    left: 40px;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 30px;
    z-index: 2;
}

.market-item {
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.market-item:first-child {
    border-left: none;
}

.market-item span {
    display: block;
    margin-bottom: 5px;
}

.market-item .price {
    font-size: 1.2rem;
    font-weight: bold;
}

.price.up {
    color: #2ecc71;
}

.price.down {
    color: #e74c3c;
}

/* 4. News Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #1c274c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    color: #1c274c;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.view-all:hover {
    color: #ff6f00;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1c274c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.news-tag-gold {
    background: #f39c12;
}

.news-tag-crypto {
    background: #8e44ad;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-item h3 {
    color: #1c274c;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-item p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.news-author {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 5. Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ff6f00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 20px;
}

.article-card h3 {
    color: #1c274c;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article-meta {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta i {
    margin-left: 5px;
}

.article-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-stats {
    display: flex;
    gap: 15px;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.article-stats i {
    margin-left: 5px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: #1c274c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #ff6f00;
}

.read-more-link i {
    margin-right: 5px;
    transition: transform 0.3s;
}

.read-more-link:hover i {
    transform: translateX(-3px);
}

/* 12. Social Media Icons */
.social-media-section {
    text-align: center;
    margin-bottom: 30px;
}

.social-media-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1.3rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.youtube { background: #ff0000; }
.social-icon.telegram { background: #0088cc; }
.social-icon.tiktok { background: #000000; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.login-link {
    color: #ffd43b !important;
    font-weight: 600;
}

.login-link:hover {
    color: #ffc107 !important;
}

.register-link {
    color: #ffd43b !important;
    font-weight: 600;
}

.register-link:hover {
    color: #ffc107 !important;
}

/* 6. Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 60%;
    }

    .market-overview {
        position: static;
        margin-top: 30px;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .market-overview {
        display: none;
    }

    .content-and-sidebar {
        flex-direction: column;
    }

    .sidebar {
        min-width: unset;
        order: -1;
    }

    .news-container,
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .view-all {
        align-self: flex-end;
    }

    .news-container,
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* 3. شريط التنقل (Header) */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.main-header {
    background-color: #1c274c;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: #fff;
    padding: 15px 18px;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: #2b3962;
    color: #ffd43b;
    border-radius: 4px;
}

/* 4. Footer */
.main-footer {
    background-color: #1c274c;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

.main-footer p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: #ffd43b;
}

.footer-links a i {
    font-size: 0.9em;
}

/* 5. General Styles */
body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fb;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
    margin-bottom: 20px;
}

/* 6. Header */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.main-header {
    background-color: #1c274c;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: #fff;
    padding: 15px 18px;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: #2b3962;
    color: #ffd43b;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        background: #1c274c;
        height: calc(100vh - 70px);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .main-nav ul li a {
        padding: 12px 20px;
    }
}

/* 7. Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #ff6f00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #1c274c;
    color: #1c274c;
}

.btn-outline:hover {
    background-color: #1c274c;
    color: #fff;
}

/* 8. Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* 4. الإعلان وشريط الأسعار */
.ad-banner-top {
    text-align: center;
    padding: 15px 0;
    background-color: #e9ecef;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

/* ===== شريط الأسعار المتحرك (Price Ticker) ===== */
.price-ticker {
    direction: ltr; /* نعزل الشريط عن اتجاه الصفحة RTL عشان حساب الحركة يبقى صحيح */
    overflow: hidden;
    background-color: #34495e; /* لون مختلف لتمييزه */
    color: #fff;
    white-space: nowrap;
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-scroll 35s linear infinite;
    will-change: transform;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.price-ticker:hover .ticker-content {
    animation-play-state: paused;
}

.pair-item {
    padding: 0 20px;
    font-weight: bold;
    display: inline-block;
    direction: ltr;
}

.change {
    margin-right: 5px;
}

.up { color: #2ecc71; } /* أخضر ساطع */
.down { color: #e74c3c; } /* أحمر ساطع */

/* 5. هيكل الشريط الجانبي والمحتوى */
.content-and-sidebar {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.main-content {
    flex: 3;
}

.sidebar {
    flex: 1;
    min-width: 280px;
}

/* تنسيقات الشريط الجانبي (الإعلانات والقائمة) */
.ad-widget, .most-read-widget {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border-top: 3px solid #ffd43b; /* خط مميز */
}

.ad-placeholder-sidebar {
    background-color: #f2f2f2;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-weight: bold;
    margin: 15px 0;
    border: 1px dashed #ccc;
}

/* 6. قسم التحليل الفني (Analysis) */
.analysis-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.analysis-card h3 {
    color: #1c274c;
    margin-bottom: 10px;
}

.analysis-chart-placeholder {
    background-color: #2c3e50;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ecf0f1;
    border-radius: 5px;
    margin: 15px 0;
}

/* 7. قسم الأدوات (Tools Section) - قيمة حقيقية */
.tools-section {
    padding: 50px 20px;
    background-color: #f3f9f9;
    border-radius: 8px;
    text-align: center;
}

.tools-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.3s, background-color 0.3s;
    border: 1px solid #eee;
}

.tool-card:hover {
    transform: translateY(-5px);
    background-color: #e6f7ff;
}

.tool-card i {
    font-size: 2.5em;
    color: #1c274c;
    margin-bottom: 10px;
}

/* 8. قسم الشهادات (Testimonials) */
.testimonials-section {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.testimonial-card {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border-left: 5px solid #007bff;
    background-color: #f9f9f9;
    font-style: italic;
}

.client-info {
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}


/* 9. تفعيل زر المقالات/الأخبار */
.read-more-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #ff6f00; /* لون برتقالي لافت */
}

/* 10. تذييل احترافي مع نموذج اشتراك */
.contact-form-footer {
    display: flex;
    justify-content: center;
    max-width: 400px;
    margin: 10px auto 20px;
}

.contact-form-footer input {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    flex-grow: 1;
}

.contact-form-footer button {
    padding: 10px 15px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s;
}

.contact-form-footer button:hover {
    background-color: #0056b3;
}

/* 11. تنسيقات الاستجابة */
@media (max-width: 992px) {
    .content-and-sidebar {
        flex-direction: column;
    }

    .sidebar {
        min-width: unset;
        order: -1; /* وضع الشريط الجانبي في الأعلى في عرض الهاتف */
    }
}

@media (max-width: 768px) {
    .main-nav {
        /* يجب تعديل خاصية top لتجنب تداخل شريط الأسعار */
        top: 110px;
    }

    .tools-grid {
        flex-direction: column;
    }

    /* نسخة الموبايل - سحب يدوي بدل الحركة التلقائية */
    .price-ticker {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ticker-content {
        animation: none;
        padding-right: 20px;
    }
}
/* --- تنسيقات الإعلانات المضافة --- */

/* تنسيق عام لحاويات الإعلانات */
.ad-container {
    margin: 20px auto; /* مسافة حول الإعلان */
    text-align: center; /* توسيط محتوى الإعلان */
    border: 1px dashed #e0e0e0; /* حدود متقطعة لتحديد المساحة الإعلانية */
    background-color: #fcfcfc;
    padding: 5px;
    box-sizing: border-box; /* لضمان أن الحجم يشمل الـ padding والـ border */
}

/* تنسيق Placeholder للإعلانات (للتوضيح فقط، يجب استبدالها برمز الإعلان الحقيقي) */
.ad-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
}

/* تنسيق البانر العلوي (728x90) */
.top-banner {
    max-width: 1200px; /* ليتناسب مع عرض الـ container */
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.top-banner .ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
}

/* تنسيق الإعلان الوسطي (300x250) */
/* نجعله يظهر داخل الـ news-container بشكل منفصل */
.middle-banner {
    max-width: 300px;
    height: 250px;
    /* يضمن أن الإعلان يظهر كـ "مقال إخباري" داخل الـ grid/flexbox */
    margin: 15px;
    padding: 0;
    border: none;
    background-color: transparent;
    order: 1; /* لتحديد موضعه بعد المقال الأول في الـ news-container */
}

.middle-banner .ad-placeholder {
    width: 100%;
    height: 100%;
}

/* الاستجابة للإعلانات على الشاشات الأصغر */
@media (max-width: 768px) {
    /* تغيير حجم البانر العلوي إلى 320x50 على الهواتف */
    .top-banner .ad-placeholder {
        max-width: 320px;
        height: 50px;
    }

    /* جعل الإعلان الوسطي بعرض كامل تقريباً على الهواتف */
    .middle-banner {
        max-width: 90%;
        height: 150px; /* تصغير الارتفاع قليلاً */
        margin: 15px auto;
        order: initial; /* لإلغاء ترتيب الـ grid */
    }
}



/* ===== Filter Bar (فلتر المقالات) ===== */
.filter-bar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fpill {
  background: transparent;
  border: 1px solid #ddd;
  color: #555;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.fpill:hover {
  border-color: #ff6f00;
  color: #ff6f00;
}
.fpill.on {
  background: #ff6f00;
  border-color: #ff6f00;
  color: #fff;
  font-weight: bold;
}
.srch {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9fb;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 8px 16px;
  flex: 1;
  max-width: 260px;
}
.srch input {
  background: none;
  border: none;
  outline: none;
  color: #333;
  width: 100%;
  font-family: inherit;
  font-size: 0.85rem;
}
.srch i {
  color: #999;
  font-size: 0.85rem;
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .filter-inner {
    justify-content: center;
  }
  .srch {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
    order: 10;
  }
}