body {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #08080b;
    color: #e6e6eb;
}

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

.header {
    background-color: #0b0b10;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid #25252d;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 80px;
    display: block;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    text-align: center;
    color: #c084fc;
    padding: 30px 20px;
    font-size: 14px;
}

/* =========================================================
   MENU
========================================================= */

.navbar {
    background-color: transparent;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3px;
}

.navbar ul li {
    margin-right: 15px;
}

.navbar ul li a {
    color: #d8d8df !important;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 8px;
    display: inline-block;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.navbar ul li a:hover {
    color: #b56cff !important;
    transform: scale(1.1);
}

.navbar ul li a:focus,
.navbar ul li a:active {
    color: #b56cff !important;
    text-decoration: none;
    outline: none;
}

/* =========================================================
   VYHĽADÁVANIE
========================================================= */

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.search-bar input {
    flex: 0 0 200px;
    padding: 8px 16px;

    border: 1px solid #35353f;
    border-radius: 20px;

    font-size: 14px;
    height: 20px;

    box-sizing: border-box;

    background-color: #15151b;
    color: #eeeeF2;
}

.search-bar input::placeholder {
    color: #777782;
}

.search-bar button {
    padding: 2px 4px;
    height: 20px;

    background-color: #8b5cf6;
    color: white;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        filter 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.35);

    white-space: nowrap;
}

.search-bar button:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);

    box-shadow:
        0 6px 12px rgba(139, 92, 246, 0.25);
}

.search-bar button:active {
    filter: brightness(0.95);
    transform: translateY(0);

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   ODKAZY
========================================================= */

a {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

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

/* =========================================================
   CONTENT
========================================================= */

.content {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* =========================================================
   MAIN GRID
========================================================= */

/*
   Hlavný obsah je teraz širší.
   Sidebar zostáva menší.
*/

.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(240px, 1fr);
    gap: 20px;
    width: 100%;
}

/* =========================================================
   ARTICLES
========================================================= */

.articles {
    display: grid;
    grid-template-columns: 9fr 1fr;
    gap: 20px;
    width: 100%;
}

/* =========================================================
   ARTICLE CARD
========================================================= */

article {
    background: #1b1b21;

    padding: 24px;

    border: 1px solid #303039;

    border-radius: 16px;

    box-shadow: none;

    overflow: hidden;

    box-sizing: border-box;

    min-width: 0;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

article:hover {
    background: #1e1e25;

    border-color: #444451;

    transform: translateY(-3px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   ARTICLE IMAGE
========================================================= */

article img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 10px;

    margin-bottom: 24px;
}

.full-width img {
    width: 100%;
}

/* =========================================================
   ARTICLE TYPOGRAPHY
========================================================= */

article h1,
article h2,
article h3,
article h4,
article h5 {
    color: #f3f3f5;

    margin-top: 0;
    margin-bottom: 16px;

    font-weight: 700;

    letter-spacing: -0.5px;
}

article p {
    color: #a7a7b2;

    line-height: 1.65;
}

/* Odkazy v článku */

article a {
    color: #b56cff !important;

    transition: color 0.2s ease;
}

article a:hover {
    color: #c084fc !important;
}

/* =========================================================
   SAMOSTATNÝ ČLÁNOK
========================================================= */

/*
   Ak stránka obsahuje jeden hlavný článok,
   dovolíme mu využiť celú šírku.
*/

.article-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.article-page article {
    width: 100%;
    box-sizing: border-box;
    padding: 32px;
}

/* Veľký obrázok v článku */

.article-page .article-image,
.article-page article img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   DVOJSTĹPEC
========================================================= */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =========================================================
   TROJSTĹPEC
========================================================= */

.three-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* =========================================================
   CARD
========================================================= */

.card {
    display: inline-block;
    width: 100%;

    background-color: #1b1b21;

    border: 1px solid #303039;

    border-radius: 16px;

    overflow: hidden;

    box-sizing: border-box;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.card:hover {
    background-color: #1e1e25;

    border-color: #444451;

    transform: translateY(-3px);
}

.card img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    display: block;
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    background-color: #111116;

    padding: 15px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.45);

    border: 1px solid #303039;

    border-radius: 12px;

    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;

    box-sizing: border-box;
}

.widget {
    margin-bottom: 20px;
}

.widget h4 {
    font-size: 18px;
    margin-bottom: 10px;

    color: #f3f3f5;
}

.widget p {
    font-size: 16px;
    color: #a7a7b2;
}

/* =========================================================
   BUTTONS
========================================================= */

button,
.login-btn {
    display: inline-block;

    width: auto;
    max-width: 100%;

    padding: 12px 24px;

    font-size: 16px;
    font-weight: bold;

    text-align: center;
    text-decoration: none;

    background-color: #8b5cf6;
    color: white;

    border: none;
    border-radius: 30px;

    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.4);

    transition:
        filter 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    box-sizing: border-box;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-email {
    display: inline-block;

    width: 100%;
    max-width: 100%;

    padding: 12px 24px;

    font-size: 16px;
    font-weight: bold;

    text-align: center;
    text-decoration: none;

    background-color: #8b5cf6;
    color: white;

    border: none;
    border-radius: 30px;

    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.4);

    transition:
        filter 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    box-sizing: border-box;
}

/* =========================================================
   ARTICLE IMAGE
========================================================= */

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 20px 0;
}


/* =========================================================
   RIGHT PANEL
========================================================= */

#awfull-weather { font-family: Arial, Helvetica, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.35; text-align: center; padding: 25px 15px; color: #ffffff; } /* Important information */ #awfull-weather .highlight { color: #a855f7; font-weight: 800; } #awfull-weather .temperature { color: #a855f7; font-size: 42px; font-weight: 900; } #awfull-weather.loading { opacity: 0.6; } /* Mobile */ @media (max-width: 600px) { #awfull-weather { font-size: 25px; padding: 20px 10px; } #awfull-weather .temperature { font-size: 30px; } }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .main-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
    }

    .articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin-right: 5px;
    }

    .content {
        padding: 12px;
    }

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

    .two-column,
    .three-column {
        grid-template-columns: 1fr;
    }

    article {
        padding: 20px;
        border-radius: 12px;
    }

    .article-page article {
        padding: 20px;
    }
}