/* -----------------------------------------------------------
   Theme Name: NewsCrunch
   Theme URI: https://example.com/newscrunch
   Author: Theme Developer
   Author URI: https://example.com
   Description: Modern Magazine & News Theme (Default Stylesheet)
   Version: 1.0
   License: GNU General Public License v2 or later
   Tags: news, magazine, blog, responsive, clean
------------------------------------------------------------ */

/* ========== RESET ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 16px;
  background: #f7f7f7;
  color: #2a2a2a;
  line-height: 1.7;
}

/* Links */
a {
  color: #0073e6;
  text-decoration: none;
  transition: .2s ease;
}
a:hover {
  color: #005bb5;
}

/* ========== GLOBAL LAYOUT ========== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

/* Columns */
.col-8 { width: 66.666%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-12 { width: 100%; }

/* ========== HEADER ========== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
}
.site-title a {
  color: #111111;
}

/* ========== NAVIGATION ========== */

.main-nav {
  background: #111111;
  border-bottom: 3px solid #0073e6;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  display: block;
  padding: 14px 18px;
  color: #ffffff;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
  background: #0073e6;
}

/* Dropdown */
.main-nav ul li ul {
  display: none;
  position: absolute;
  background: #222222;
  width: 200px;
  z-index: 999;
}

.main-nav ul li:hover ul {
  display: block;
}

.main-nav ul li ul li a {
  padding: 12px;
}

/* ========== POST / ARTICLE ========== */

.post {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 6px;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.post-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.post-title a {
  color: #111111;
}
.post-title a:hover {
  color: #0073e6;
}

.post-meta {
  font-size: .9rem;
  color: #777;
  margin-bottom: 15px;
}

.post-content p {
  margin-bottom: 15px;
}

/* Read More */
.read-more {
  background: #0073e6;
  color: #fff;
  padding: 10px 15px;
  display: inline-block;
  border-radius: 5px;
}
.read-more:hover {
  background: #005bb5;
}

/* ========== SIDEBAR ========== */

.sidebar {
  padding: 20px;
}

.widget {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 6px;
}

/* ========== FOOTER ========== */

.site-footer {
  background: #111111;
  color: #bbbbbb;
  padding: 25px 0;
  margin-top: 50px;
  text-align: center;
  border-top: 3px solid #0073e6;
}

.site-footer a {
  color: #4da3ff;
}
.site-footer a:hover {
  color: #82c0ff;
}

/* ========== PAGINATION ========== */

.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination a,
.page-numbers {
  display: inline-block;
  padding: 10px 16px;
  background: #ffffff;
  color: #333;
  border: 1px solid #dcdcdc;
  margin: 2px;
  border-radius: 4px;
  transition: .2s;
}

.pagination a:hover,
.page-numbers.current {
  background: #0073e6;
  color: #ffffff;
}

/* ========== FORMS ========== */

input,
textarea,
select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 10px;
  border-radius: 4px;
  color: #333;
  transition: .2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0073e6;
  outline: none;
}

/* ========== MOBILE MENU ========== */

.mobile-nav {
  display: none;
  background: #111111;
}

.mobile-nav a {
  display: block;
  padding: 15px;
  color: #fff;
}

.mobile-nav a:hover {
  background: #0073e6;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
  .col-8, .col-4 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav.main-nav ul {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}

@media (max-width: 600px) {
  .post-title {
    font-size: 1.3rem;
  }
}
