/* ========================================
   RESET
======================================== */

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

/* ========================================
   BODY
======================================== */

body {
    background: #fff7f0;
    font-family: Arial, sans-serif;
    color: #555;
    line-height: 1.7;
}

.red {
    color: darkred !important;
}

.green {
    color: darkgreen !important;
}
/* ========================================
   HEADER
======================================== */

header {
    background: linear-gradient(135deg,#ff3b00,#ff9d00);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
}

/* ========================================
   NAVIGATION
======================================== */

nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 18px 22px;
    text-decoration: none;
    color: #444;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #fff1e6;
    color: #ff7b00;
}

/* ========================================
   CONTAINER
======================================== */

.container {
    width: 95%;
    max-width: 1300px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* ========================================
   PAGINATION
======================================== */

.pages {
    display: inline-block;
    margin: auto;
    text-align: center;
    color: #2b2b2b;
}

.pages a {
    color: #2b2b2b;
    text-decoration: none;
}

/* ========================================
   POSTS
======================================== */

.posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.post:hover {
    transform: translateY(-5px);
}

.post img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    background: #fff0e0;
    color: #ff7b00;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.post h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #ff7b00 !important;
}

.post p {
    margin-bottom: 20px;
    color: #555;
    font-size: 18px;
}

.post-content h3 a {
    margin-bottom: 20px;
    color: #ff7b00;
    font-size: 24px;
    text-decoration: none;
}

.post-content h3 a:hover {
    color: #ff7b00;
    padding-left: 5px;
}

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

.article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.article img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.article-content {
    padding: 35px;
}

.article-category {
    display: inline-block;
    background: #fff0e0;
    color: #ff7b00;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}

.article-title {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    color: #777;
    font-size: 14px;
}

.article-content p {
    margin-bottom: 25px;
    color: #444;
    font-size: 18px;
}

.article-content h2 {
    margin: 40px 0 20px;
    color: #ff7b00 !important;
    font-size: 24px !important;
}
.article-content h3 {
    margin: 40px 0 20px;
    color: #ff7b00 !important;
    font-size: 20px !important;
}
.article-content a {
    color: #ff7b00 !important;
}
.article-content a:hover {
    color: #333 !important;
    text-decoration: none;
}

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

.read-more,
.sub1,
.search-box button,
.login button {
    display: inline-block;
    background: #ff7b00;
    border: none;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.read-more:hover,
.sub1:hover,
.search-box button:hover,
.login button:hover {
    background: #e46d00;
}

/* ========================================
   FORMS
======================================== */

a.nar {
    color: #ff7b00;
    text-decoration: none;
}

form.leftf {
    text-align: left !important;
}

.inp1,
.inp2 {
    margin: 4px auto;
    padding: 10px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.inp2 {
    max-width: 500px !important;
    width: 95%;
}

form p span {
    font-size: 1em;
    color: #666;
}

.search-box {
    display: flex;
    gap: 10px;
}

.login {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.search-box input,
.login input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ffd3b0;
    border-radius: 10px;
    outline: none;
}

.login input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff7b00;
    cursor: pointer;
}

/* ========================================
   BLOCKQUOTE
======================================== */

blockquote {
    background: #fff4ea;
    border-left: 5px solid #ff7b00;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* ========================================
   TAGS
======================================== */

.tagovi,
.tags {
    margin-top: 20px;
}

.tagovi a,
.tags a {
    display: inline-block;
    background: #fff0e0;
    color: #ff7b00;
    padding: 8px 14px;
    margin: 5px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.tagovi a:hover,
.tags a:hover {
    background: #ff7b00;
    color: white;
}

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

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-size: 18px !important;
}

.widget h3,
h3.cat {
    margin-bottom: 20px;
    color: #ff7b00;
    font-size: 24px;
}

.widget ul,
ul.cat {
    list-style: none;
}

.widget ul li,
ul li.cat {
    margin-bottom: 12px;
}

.widget ul li a,
ul li a.cat {
    text-decoration: none;
    color: #444;
    transition: 0.3s;
}

.widget ul li a:hover,
ul li a:hover.cat {
    color: #ff7b00;
    padding-left: 5px;
}
a.kat {
    display: inline-block;
    margin: 10px 20px;
    color: #444;
    font-size: 18px;
}
a.kat:hover {
    color: #ff7b00;
    text-decoration: none;
}

/* ========================================
   WEATHER
======================================== */

.gg-weather {
    background: #222;
    color: #fff;
    border-radius: 12px;
    padding: 18px;
    max-width: 350px;
    font-family: Arial, sans-serif;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    margin-left: auto;
    margin-right: auto;
}
.gg-weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff9d00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}
.gg-weather-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #62d68b;
}
.gg-weather-main {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
}
.gg-weather-icon {
    font-size: 48px;
}
.gg-weather-temp {
    font-size: 38px;
    font-weight: bold;
}
.gg-weather-desc {
    color: #ccc;
    font-size: 13px;
}
.gg-weather-details {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #444;
    padding-top: 14px;
}
.gg-weather-details div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gg-weather-details span {
    color: #aaa;
    font-size: 11px;
}
.gg-weather-details strong {
    font-size: 13px;
}
.gg-weather-location {
    margin-top: 16px;
    font-size: 12px;
    color: #ff9d00;
}
.gg-weather-footer {
    border-top: 1px solid #444;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 10px;
    color: #999;
    display: flex;
    justify-content: space-between;
}
.gg-weather-footer a {
    color: #ff9d00;
    text-decoration: none;
}

/* ========================================
   AUTHOR
======================================== */

.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    background: #fff4ea;
    padding: 20px;
    border-radius: 18px;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 {
    margin-bottom: 5px;
    color: #ff7b00;
}

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

footer {
    margin-top: 50px;
    background: #2f2f2f;
    color: #ddd;
    text-align: center;
    padding: 40px 20px;
}

footer a {
    color: #ff9d00;
    text-decoration: none;
}

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

@media(max-width: 950px) {

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

    header h1 {
        font-size: 36px;
    }
    header p {
        font-size: 16px;
    }
    nav ul li a {
        font-size: 15px !important;
    }
    .post h2 {
        font-size: 20px;
    }
    .post p {
        font-size: 16px;
    }
    .article-title {
        font-size: 20px;
    }
    .article-content p {
        font-size: 17px !important;
    }
    .widget {
        font-size: 16px !important;
    }
    .article img {
        height: 280px;
    }

    .author-box img {
        display: none;
    }

    .search-box {
        flex-direction: column;
    }
    a.kat {
        font-size: 17px;
    }
}
