/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
|--------------------------------------------------------------------------
| Body
|--------------------------------------------------------------------------
*/

body
{
    background: #f5f7fa;
    color: #222;
    font-family: Arial, sans-serif;
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.container
{
    width: 1400px;
    max-width: 95%;
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header
{
    background: #001f54;
}

.header-inner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.site-logo
{
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    text-decoration: none;
}

.main-navigation ul
{
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-navigation a
{
    color: #ffffff;
    text-decoration: none;
}

.header-tools input
{
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero-section
{
    position: relative;
    min-height: 650px;

    background-image:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),
    url('/assets/images/guides/hero.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.hero-box
{
    max-width: 700px;
    color: #ffffff;
}

.hero-box h1
{
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-box p
{
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-search
{
    display: flex;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    max-width: 700px;
}

.hero-search input
{
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 18px;
}

.hero-search button
{
    border: none;
    background: #0057d9;
    color: #ffffff;
    padding: 0 35px;
    cursor: pointer;
}



/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.guide-section,
.tools-section
{
    padding: 80px 0;
}

.section-header
{
    margin-bottom: 30px;
}

/*
|--------------------------------------------------------------------------
| Guides
|--------------------------------------------------------------------------
*/

.guide-grid
{
   display:grid;
    grid-template-columns:
    repeat(3,1fr);

    gap:30px;
}

.guide-card
{
    overflow:hidden;
    background:#ffffff;

    border-radius:12px;

    box-shadow:
    0 2px 8px rgba(0,0,0,.05);

    transition:.3s;
}

.guide-card:hover
{
    transform:translateY(-5px);
}

.guide-card img
{
       width:100%;
    height:auto;
    display:block;
}

.guide-content
{
    padding:20px;
}

.guide-content h3
{
      padding:15px 5px 0;
}

.guide-content p
{
    color:#666;
    line-height:1.5;
}

/*
|--------------------------------------------------------------------------
| Advertisement
|--------------------------------------------------------------------------
*/

.advertisement-section
{
    padding: 40px 0;
}

.advertisement-box
{
    height: 250px;
    background: #dcdcdc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
|--------------------------------------------------------------------------
| Tools
|--------------------------------------------------------------------------
*/

.tools-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tool-card
{
    background:#ffffff;

    border-radius:16px;

    padding:30px;

    text-align:center;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);
}

.tool-title
{
    font-size:18px;

    color:#666;

    margin-bottom:10px;
}

.tool-value
{
    font-size:42px;

    font-weight:700;

    color:#001f54;

    margin-bottom:10px;
}

.tool-desc
{
    color:#888;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer
{
    margin-top: 80px;
    padding: 60px 0;
    background: #001f54;
    color: #ffffff;
}

.footer-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column ul
{
    list-style: none;
}

.footer-column li
{
    margin-bottom: 10px;
}

.ad-grid
{
    display:grid;
    grid-template-columns:
    3fr 1fr;

    gap:30px;
}

.ad-box-large
{
    height:250px;

    background:#dcdcdc;

    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.ad-box-side
{
    height:250px;

    background:#dcdcdc;

    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;
}
/*
|--------------------------------------------------------------------------
| Homepage Layout
|--------------------------------------------------------------------------
*/

.homepage-layout
{
    width:1400px;
    max-width:95%;

    margin:40px auto;

    display:grid;

    grid-template-columns:
    minmax(0,1fr)
    320px;

    gap:30px;
}

.homepage-content
{
    min-width:0;
}

.homepage-sidebar
{
    display:flex;

    flex-direction:column;

    gap:25px;
}

.sidebar-ad
{
    background:#ffffff;

    border-radius:16px;

    min-height:250px;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
    0 2px 8px rgba(0,0,0,.05);
}

.sidebar-widget
{
    background:#ffffff;

    border-radius:16px;

    padding:25px;

    box-shadow:
    0 2px 8px rgba(0,0,0,.05);
}

.sidebar-widget h3
{
    margin-bottom:15px;
}

.sidebar-widget ul
{
    list-style:none;
}

.sidebar-widget li
{
    padding:10px 0;

    border-bottom:
    1px solid #eeeeee;
}