/*
Theme Name: Parichoy News
Theme URI: https://parichoy.com
Author: Parichoy
Author URI: https://parichoy.com
Description: একটি আধুনিক বাংলা নিউজ পোর্টাল ওয়ার্ডপ্রেস থিম। Parichoy.com এর আদলে তৈরি।
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parichoy-news
Tags: news, blog, bangla, magazine, two-columns, right-sidebar, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================
   ROOT VARIABLES
   =========================== */
:root {
  --primary-color: #c0392b;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-dark: #1a1a1a;
  --text-gray: #555555;
  --text-light: #888888;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --header-bg: #c0392b;
  --nav-bg: #2c3e50;
  --breaking-bg: #e74c3c;
  --font-bangla: 'Hind Siliguri', 'SolaimanLipi', 'Kalpurush', Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.12);
  --radius: 3px;
}

/* ===========================
   GLOBAL RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-bangla);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  direction: ltr;
}

a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-color); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

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

/* ===========================
   TOP BAR
   =========================== */
#top-bar {
  background: var(--secondary-color);
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
}

#top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#top-bar .top-date { color: #aaa; }

#top-bar .top-links a {
  color: #ccc;
  margin-left: 15px;
  font-size: 12px;
}

#top-bar .top-links a:hover { color: #fff; }

/* ===========================
   HEADER
   =========================== */
#masthead {
  background: var(--bg-white);
  border-bottom: 3px solid var(--primary-color);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding .site-title a {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -1px;
}

.site-branding .site-description {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 3px;
}

.header-ad {
  max-width: 728px;
}

/* ===========================
   NAVIGATION
   =========================== */
#site-navigation {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu li { position: relative; }

.main-menu > li > a {
  display: block;
  color: #fff;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a {
  background: var(--primary-color);
  color: #fff;
}

/* Dropdown */
.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  border-top: 3px solid var(--primary-color);
}

.main-menu li:hover > .sub-menu { display: block; }

.main-menu .sub-menu li a {
  display: block;
  color: var(--text-dark);
  padding: 10px 15px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.main-menu .sub-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.nav-search .search-icon {
  color: #fff;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  color: #fff;
  background: none;
  border: none;
  padding: 13px 16px;
  font-size: 20px;
  cursor: pointer;
}

/* ===========================
   BREAKING NEWS
   =========================== */
#breaking-news {
  background: var(--breaking-bg);
  padding: 8px 0;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breaking-label {
  background: var(--secondary-color);
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}

.breaking-ticker {
  flex: 1;
  overflow: hidden;
}

.breaking-ticker marquee a {
  color: #fff;
  font-size: 13px;
  margin-right: 30px;
}

/* ===========================
   LAYOUT
   =========================== */
#content {
  padding: 20px 0;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
  align-items: start;
}

/* ===========================
   SECTION HEADINGS
   =========================== */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* ===========================
   HERO / FEATURED SLIDER
   =========================== */
.hero-section {
  margin-bottom: 25px;
}

.hero-slider {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
}

.hero-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s;
}

.hero-main:hover img { transform: scale(1.03); }

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 30px 15px 15px;
}

.hero-caption .category-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 6px;
  display: inline-block;
}

.hero-caption h2 a {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-caption h2 a:hover { color: #ffd; }

.hero-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-small-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  flex: 1;
}

.hero-small-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.3s;
}

.hero-small-card:hover img { transform: scale(1.05); }

.hero-small-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 20px 10px 8px;
}

.hero-small-caption a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* ===========================
   NEWS CARDS GRID
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.news-card:hover { box-shadow: var(--shadow-md); }

.news-card-thumb {
  overflow: hidden;
  height: 170px;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-body {
  padding: 12px;
}

.news-card-body .category-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius);
  margin-bottom: 7px;
  display: inline-block;
}

.news-card-body h3 a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.news-card-body h3 a:hover { color: var(--primary-color); }

.news-card-meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.news-card-meta span { margin-right: 10px; }

/* ===========================
   LIST NEWS (horizontal card)
   =========================== */
.news-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.news-list-item:last-child { border-bottom: none; }

.news-list-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  overflow: hidden;
  border-radius: var(--radius);
}

.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-list-item:hover .news-list-thumb img { transform: scale(1.05); }

.news-list-body { flex: 1; }

.news-list-body h3 a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.news-list-body h3 a:hover { color: var(--primary-color); }

.news-list-meta {
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-light);
}

/* ===========================
   CATEGORY SECTION
   =========================== */
.category-section {
  background: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

/* ===========================
   SIDEBAR
   =========================== */
#secondary {
  position: sticky;
  top: 60px;
}

.widget {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
  padding: 10px 15px;
  margin: 0;
}

.widget-body { padding: 12px 15px; }

/* Sidebar news list */
.sidebar-news-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-news-item:last-child { border-bottom: none; }

.sidebar-thumb {
  flex-shrink: 0;
  width: 75px;
  height: 55px;
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-news-item h4 a {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-news-item h4 a:hover { color: var(--primary-color); }

.sidebar-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
}

/* Sidebar Tags */
.tagcloud { padding: 5px 0; }

.tagcloud a {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: 3px 10px;
  margin: 3px 2px;
  font-size: 12px !important;
  border-radius: 20px;
  transition: all 0.2s;
}

.tagcloud a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ===========================
   SINGLE POST
   =========================== */
.single-post-header {
  margin-bottom: 20px;
}

.single-post-header .category-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  display: inline-block;
}

.single-post-header h1.entry-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.single-post-meta a { color: var(--text-gray); }
.single-post-meta a:hover { color: var(--primary-color); }

.single-featured-image {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.single-featured-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.single-featured-image figcaption {
  font-size: 12px;
  color: var(--text-light);
  padding: 6px 10px;
  background: var(--bg-light);
  text-align: center;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.entry-content p { margin-bottom: 18px; }

.entry-content h2, .entry-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 10px;
  color: var(--secondary-color);
}

.entry-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 12px 20px;
  background: var(--bg-light);
  margin: 20px 0;
  font-style: italic;
  color: var(--text-gray);
}

.entry-content img { border-radius: var(--radius); margin: 15px auto; }

/* Share buttons */
.post-share {
  margin: 25px 0;
  padding: 15px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.post-share h4 { font-size: 14px; margin-bottom: 10px; color: var(--text-gray); }

.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.whatsapp { background: #25d366; }

/* Tags */
.post-tags { margin: 15px 0; }
.post-tags a {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  padding: 3px 12px;
  margin: 3px;
  font-size: 12px;
  border-radius: 20px;
}
.post-tags a:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Related posts */
.related-posts {
  margin-top: 30px;
}

.related-posts .section-title { margin-bottom: 15px; }

/* Author box */
.author-box {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin: 25px 0;
}

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

.author-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.author-info p { font-size: 13px; color: var(--text-gray); }

/* Comments */
.comments-area { margin-top: 30px; }

.comment-list { padding: 0; }

.comment-body {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--bg-white);
}

.comment-author { font-weight: 700; font-size: 14px; }
.comment-metadata { font-size: 12px; color: var(--text-light); margin: 3px 0 8px; }
.comment-content { font-size: 14px; }

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-bangla);
  font-size: 14px;
  margin-bottom: 12px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.comment-form .submit {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-bangla);
}

.comment-form .submit:hover { background: var(--accent-color); }

/* ===========================
   ARCHIVE / CATEGORY PAGE
   =========================== */
.archive-header {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary-color);
}

.archive-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.archive-header p {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 5px;
}

.archive-posts { display: flex; flex-direction: column; gap: 0; }

/* ===========================
   AUTHOR PAGE
   =========================== */
.author-page-header {
  background: var(--bg-white);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-page-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.author-page-info h1 { font-size: 24px; font-weight: 700; }
.author-page-info .author-role { color: var(--primary-color); font-size: 14px; margin: 3px 0 8px; }
.author-page-info p { font-size: 14px; color: var(--text-gray); }
.author-page-info .author-social { margin-top: 10px; }
.author-page-info .author-social a {
  display: inline-block;
  color: var(--text-gray);
  margin-right: 10px;
  font-size: 16px;
}
.author-page-info .author-social a:hover { color: var(--primary-color); }

/* ===========================
   SEARCH PAGE
   =========================== */
.search-header {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.search-header h1 { font-size: 20px; font-weight: 700; }
.search-header p { font-size: 14px; color: var(--text-gray); margin-top: 5px; }

.search-form-large {
  display: flex;
  gap: 0;
  margin-top: 15px;
}

.search-form-large input[type="search"] {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid var(--primary-color);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 15px;
  font-family: var(--font-bangla);
}

.search-form-large input[type="search"]:focus { outline: none; }

.search-form-large button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  cursor: pointer;
}

.no-results-box {
  background: var(--bg-white);
  padding: 50px 20px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.no-results-box .icon { font-size: 60px; margin-bottom: 15px; }
.no-results-box h2 { font-size: 22px; margin-bottom: 10px; }
.no-results-box p { color: var(--text-gray); }

/* ===========================
   404 PAGE
   =========================== */
.error-404-page {
  text-align: center;
  padding: 60px 20px;
}

.error-404-number {
  font-size: 120px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  opacity: 0.15;
}

.error-404-content { margin-top: -50px; position: relative; }

.error-404-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.error-404-content p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 25px;
}

.btn-home {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.btn-home:hover { background: var(--accent-color); color: #fff; }

/* ===========================
   PAGINATION
   =========================== */
.pagination, .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.pagination a, .pagination span,
.page-numbers {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all 0.2s;
}

.pagination a:hover,
.page-numbers:hover,
.page-numbers.current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ===========================
   FOOTER
   =========================== */
#colophon {
  background: var(--secondary-color);
  color: #aaa;
  margin-top: 30px;
}

.footer-widgets {
  padding: 35px 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-widget h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.footer-widget ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widget ul li a {
  color: #aaa;
  font-size: 13px;
}

.footer-widget ul li a:hover { color: #fff; }

.footer-widget p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: #fff; }

/* ===========================
   SCROLL TO TOP
   =========================== */
#scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: background 0.2s;
}

#scroll-top:hover { background: var(--accent-color); }
#scroll-top.show { display: flex; }

/* ===========================
   UTILITIES
   =========================== */
.category-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius);
  font-weight: 600;
}

.text-muted { color: var(--text-light); }
.mb-0 { margin-bottom: 0 !important; }
.mt-15 { margin-top: 15px; }

.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s;
}

.preloader.hide { opacity: 0; pointer-events: none; }
.preloader-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .content-area { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
  #secondary { position: static; }
}

@media (max-width: 768px) {
  .hero-slider { grid-template-columns: 1fr; }
  .hero-sidebar-posts { flex-direction: row; }
  .hero-small-card { height: 130px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-direction: column; gap: 10px; }
  .site-branding .site-title a { font-size: 32px; }
  .menu-toggle { display: block; }
  .main-menu { display: none; flex-direction: column; width: 100%; background: var(--nav-bg); }
  .main-menu.active { display: flex; }
  .main-menu > li { width: 100%; }
  .main-menu .sub-menu { position: static; display: none; box-shadow: none; border-top: none; }
  .footer-widgets { grid-template-columns: 1fr; gap: 15px; }
  .author-page-header { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .hero-main img { height: 220px; }
  .single-post-header h1.entry-title { font-size: 20px; }
  .error-404-number { font-size: 80px; }
}
