/*
Theme Name:  Samachar Bharat
Theme URI:   https://www.samaacharbharat.in
Author:      Samachar Bharat Team
Author URI:  https://www.samaacharbharat.in
Description: A fast, AdSense-friendly Hindi news blog WordPress theme. Fully responsive with breaking news ticker, hero grid, category sections, and sidebar ad slots. Built for Google AdSense approval.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samachar-bharat
Tags:        news, hindi, adsense, responsive, custom-menu, featured-images, translation-ready, right-sidebar, blog
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --red:        #c0392b;
  --red-dark:   #96281b;
  --red-light:  #e74c3c;
  --saffron:    #e67e22;
  --gold:       #f39c12;
  --ink:        #1a1a2e;
  --ink-soft:   #2c2c54;
  --gray:       #6c757d;
  --gray-light: #f4f4f4;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --radius:     8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Tiro Devanagari Hindi', serif;
  background: #f7f7f7;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--red); }

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

ul, ol { list-style: none; }

input, button, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rozha One', serif;
  line-height: 1.3;
  color: var(--ink);
}

p { margin-bottom: 1em; }

.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 1.5em; margin: 1.5em 0 0.5em; }
.entry-content h3 { font-size: 1.2em; margin: 1.2em 0 0.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  background: var(--gray-light);
  margin: 1.5em 0;
  font-style: italic;
  color: var(--gray);
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--ink);
  color: #aaa;
  font-size: 12px;
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
}
.top-bar-inner {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px;
}
.top-bar .date { color: #ccc; }
.top-bar .socials a {
  color: #aaa; margin-left: 12px; font-size: 13px;
  transition: color .2s;
}
.top-bar .socials a:hover { color: var(--saffron); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
  font-family: 'Rozha One', serif;
  font-size: 32px;
  color: var(--red);
  padding: 12px 0;
  letter-spacing: -1px;
  white-space: nowrap;
}
.site-title a { color: inherit; }
.site-title span { color: var(--saffron); }
.site-logo img { max-height: 60px; width: auto; }

.header-search { display: flex; align-items: center; flex: 1; max-width: 360px; }
.header-search form {
  display: flex;
  border: 2px solid var(--red);
  border-radius: 40px;
  overflow: hidden;
  width: 100%;
}
.header-search input[type="search"] {
  border: none; outline: none; padding: 8px 16px;
  font-size: 14px; flex: 1; background: transparent;
}
.header-search button[type="submit"] {
  background: var(--red); border: none;
  padding: 8px 16px; color: white; cursor: pointer;
  font-size: 14px; transition: background .2s;
}
.header-search button[type="submit"]:hover { background: var(--red-dark); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink); font-size: 22px;
}

/* ============================================================
   PRIMARY NAVIGATION
   ============================================================ */
.main-navigation {
  background: var(--red);
}
.main-navigation .nav-inner {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: flex; align-items: center; overflow-x: auto;
}
.main-navigation .nav-inner::-webkit-scrollbar { height: 0; }

.main-navigation ul { display: flex; }
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s;
  border-bottom: 3px solid transparent;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
  color: white;
  background: rgba(255,255,255,0.12);
  border-bottom-color: var(--gold);
}

/* Dropdown */
.main-navigation ul ul {
  display: none; flex-direction: column;
  position: absolute; top: 100%; left: 0;
  background: var(--ink-soft); min-width: 200px;
  z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul li a {
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-news-bar {
  background: var(--ink);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  background: var(--saffron);
  color: white;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  z-index: 1;
  flex-shrink: 0;
}
.ticker-wrapper { display: flex; overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  color: #eee; font-size: 13px; padding: 8px 40px 8px 0;
}
.ticker-track span::before {
  content: "● "; color: var(--saffron);
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ad-slot-wrap {
  max-width: 1200px; margin: 20px auto;
  padding: 0 16px;
}
.ad-slot {
  background: var(--gray-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  overflow: hidden;
}
.ad-slot-leaderboard { height: 90px; }
.ad-slot-rectangle   { height: 250px; }
.ad-slot-half-page   { height: 600px; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.site-main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--red);
  padding-bottom: 10px;
}
.section-heading h2 {
  font-family: 'Rozha One', serif;
  font-size: 22px;
  color: var(--red);
}
.section-heading .view-all {
  font-size: 13px;
  color: var(--saffron);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.section-heading .view-all:hover { text-decoration: underline; }

/* ============================================================
   HERO / FEATURED POSTS GRID
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 680px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #ddd;
}
.hero-card:first-child { grid-row: 1 / 3; }
.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-card:hover img { transform: scale(1.04); }
.hero-card .no-thumb {
  width: 100%; background: #c9d6df;
  display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 13px; font-family: 'Poppins', sans-serif;
}
.hero-card:first-child .no-thumb { height: 400px; }
.hero-card:not(:first-child) .no-thumb { height: 192px; }

.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 24px 16px 16px;
}
.hero-card:first-child .hero-overlay { padding: 40px 20px 20px; }

.cat-badge {
  display: inline-block;
  background: var(--red); color: white;
  padding: 2px 10px; border-radius: 4px;
  font-size: 11px; font-family: 'Poppins', sans-serif;
  font-weight: 700; text-transform: uppercase;
  margin-bottom: 8px;
}
.cat-badge.cat-sports { background: #27ae60; }
.cat-badge.cat-tech   { background: #2980b9; }
.cat-badge.cat-ent    { background: #8e44ad; }
.cat-badge.cat-biz    { background: #e67e22; }
.cat-badge.cat-health { background: #16a085; }
.cat-badge.cat-edu    { background: #2c3e50; }

.hero-overlay h3 { color: white; font-family: 'Rozha One', serif; line-height: 1.4; }
.hero-card:first-child .hero-overlay h3 { font-size: 22px; }
.hero-card:not(:first-child) .hero-overlay h3 { font-size: 15px; }
.hero-overlay h3 a { color: white; }
.hero-meta { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 6px; font-family: 'Poppins', sans-serif; }

/* ============================================================
   NEWS CARD GRID
   ============================================================ */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .news-card-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .news-card-grid { grid-template-columns: 1fr; } }

.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.news-card .card-thumb {
  overflow: hidden;
  height: 180px;
  background: #dce3e8;
}
.news-card .card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.news-card:hover .card-thumb img { transform: scale(1.05); }
.news-card .card-thumb .no-thumb {
  height: 100%; display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 12px; font-family: 'Poppins', sans-serif;
}
.card-body { padding: 14px 16px 16px; }
.card-body .cat-badge { margin-bottom: 8px; }
.card-body h3 {
  font-size: 15px; line-height: 1.5;
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--ink); margin-bottom: 8px;
}
.card-body h3 a:hover { color: var(--red); }
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--gray);
  font-family: 'Poppins', sans-serif;
}
.card-meta .read-more { color: var(--red); font-weight: 600; }

/* ============================================================
   NEWS LIST (horizontal thumb + text)
   ============================================================ */
.news-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.list-item {
  display: flex; gap: 14px; background: white;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
}
.list-item:hover { transform: translateX(4px); }
.list-thumb {
  width: 110px; min-width: 110px; height: 85px;
  overflow: hidden; background: #dce3e8; flex-shrink: 0;
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-thumb .no-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 11px; font-family: 'Poppins', sans-serif;
}
.list-body { padding: 12px 14px 12px 0; flex: 1; }
.list-body .cat-badge { font-size: 10px; margin-bottom: 4px; display: inline-block; }
.list-body h4 { font-size: 14px; line-height: 1.5; color: var(--ink); margin-bottom: 6px; }
.list-body h4 a:hover { color: var(--red); }
.list-meta { font-size: 11px; color: var(--gray); font-family: 'Poppins', sans-serif; }

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.single-post-wrap { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.post-header { margin-bottom: 24px; }
.post-header .cat-badge { margin-bottom: 12px; }
.post-header h1 {
  font-family: 'Rozha One', serif;
  font-size: 28px; line-height: 1.4;
  margin-bottom: 12px;
}
.post-meta-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--gray);
  font-family: 'Poppins', sans-serif;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.post-meta-bar span { display: flex; align-items: center; gap: 4px; }
.post-featured-img { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.post-featured-img img { width: 100%; }
.entry-content { font-size: 16px; line-height: 1.9; }
.post-tags { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.post-tags a {
  display: inline-block; background: var(--gray-light);
  border: 1px solid var(--border); padding: 4px 12px;
  border-radius: 20px; font-size: 12px;
  font-family: 'Poppins', sans-serif; margin: 4px;
  transition: all .2s;
}
.post-tags a:hover { background: var(--red); color: white; border-color: var(--red); }

/* Author Box */
.author-box {
  display: flex; gap: 16px; padding: 20px;
  background: var(--gray-light); border-radius: var(--radius);
  margin-top: 28px;
}
.author-box .author-avatar img { border-radius: 50%; width: 64px; height: 64px; }
.author-box .author-info h4 { font-size: 15px; margin-bottom: 4px; }
.author-box .author-info p { font-size: 13px; color: var(--gray); margin: 0; }

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

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 32px; }
.comments-title {
  font-family: 'Rozha One', serif;
  font-size: 20px; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 3px solid var(--red);
  color: var(--red);
}
.comment-list li { margin-bottom: 20px; }
.comment-body { background: white; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.comment-author b { font-size: 14px; font-family: 'Poppins', sans-serif; }
.comment-metadata { font-size: 12px; color: var(--gray); font-family: 'Poppins', sans-serif; }
.comment-content { font-size: 14px; margin-top: 10px; }
.comment-respond { margin-top: 28px; }
.comment-reply-title { font-family: 'Rozha One', serif; font-size: 18px; color: var(--red); margin-bottom: 16px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; margin-bottom: 12px; outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); }
.comment-form .submit {
  background: var(--red); color: white; border: none;
  padding: 10px 28px; border-radius: 40px; cursor: pointer;
  font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 600;
  transition: background .2s;
}
.comment-form .submit:hover { background: var(--red-dark); }

/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */
.sidebar-area { display: flex; flex-direction: column; gap: 24px; }

.widget-area .widget {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}
.widget-area .widget:last-child { margin-bottom: 0; }
.widget .widget-title {
  background: var(--red); color: white;
  padding: 10px 16px;
  font-family: 'Rozha One', serif;
  font-size: 16px; margin: 0;
}
.widget .widget-body { padding: 14px 16px; }

/* Recent Posts Widget */
.widget ul.post-list li {
  display: flex; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.widget ul.post-list li:last-child { border-bottom: none; }
.widget ul.post-list .post-thumb { width: 70px; min-width: 70px; height: 52px; border-radius: 4px; overflow: hidden; background: #ddd; }
.widget ul.post-list .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget ul.post-list .post-info a { font-size: 13px; line-height: 1.4; display: block; }
.widget ul.post-list .post-info a:hover { color: var(--red); }
.widget ul.post-list .post-date { font-size: 11px; color: var(--gray); font-family: 'Poppins', sans-serif; }

/* Tag Cloud Widget */
.widget .tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .tagcloud a {
  background: var(--gray-light); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px !important; font-family: 'Poppins', sans-serif;
  transition: all .2s;
}
.widget .tagcloud a:hover { background: var(--red); color: white; border-color: var(--red); }

/* Categories Widget */
.widget ul.cat-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.widget ul.cat-list li:last-child { border-bottom: none; }
.widget ul.cat-list li a:hover { color: var(--red); }
.widget ul.cat-list .count {
  background: var(--red); color: white;
  padding: 1px 8px; border-radius: 20px;
  font-size: 11px; font-family: 'Poppins', sans-serif;
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--red) 0%, var(--ink-soft) 100%) !important;
  color: white;
}
.newsletter-widget .widget-body { padding: 20px; }
.newsletter-widget h3 { color: white; font-size: 18px; margin-bottom: 8px; }
.newsletter-widget p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.newsletter-widget input[type="email"] {
  width: 100%; padding: 10px 12px; border: none;
  border-radius: 6px; font-size: 13px; margin-bottom: 10px; outline: none;
}
.newsletter-widget button {
  width: 100%; padding: 10px; background: var(--saffron);
  border: none; border-radius: 6px; color: white;
  font-weight: 700; cursor: pointer; font-size: 14px;
  font-family: 'Poppins', sans-serif; transition: background .2s;
}
.newsletter-widget button:hover { background: var(--gold); }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  background: var(--red); color: white;
  padding: 20px 24px; border-radius: var(--radius);
  margin-bottom: 24px;
}
.archive-header h1 { color: white; font-size: 24px; }
.archive-header p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin: 32px 0; flex-wrap: wrap;
}
.pagination .page-numbers {
  padding: 8px 14px; border-radius: 6px;
  background: white; box-shadow: var(--shadow);
  font-family: 'Poppins', sans-serif; font-size: 14px;
  transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--red); color: white;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-wrap {
  text-align: center; padding: 60px 20px;
}
.error-404-wrap h1 {
  font-size: 80px; color: var(--red); line-height: 1;
}
.error-404-wrap h2 { font-size: 24px; margin-bottom: 12px; }
.error-404-wrap p { color: var(--gray); margin-bottom: 20px; }
.btn-home {
  display: inline-block;
  background: var(--red); color: white;
  padding: 12px 28px; border-radius: 40px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  transition: background .2s;
}
.btn-home:hover { background: var(--red-dark); color: white; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-header { margin-bottom: 24px; }
.search-header h1 { font-size: 22px; }
.search-header span { color: var(--red); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #aaa;
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer-widgets {
  max-width: 1200px; margin: auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
@media (max-width: 700px) { .footer-widgets { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .footer-widgets { grid-template-columns: 1fr; } }

.footer-widget-area .widget-title {
  color: white;
  font-family: 'Rozha One', serif;
  margin-bottom: 14px; font-size: 16px;
  border-left: 3px solid var(--red); padding-left: 10px;
  background: none !important;
}
.footer-widget-area p { font-size: 13px; line-height: 1.8; }
.footer-widget-area ul li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-widget-area ul li a { color: #aaa; font-size: 13px; transition: color .2s; }
.footer-widget-area ul li a:hover { color: var(--saffron); }
.footer-logo { font-family: 'Rozha One', serif; font-size: 26px; color: white; margin-bottom: 12px; }
.footer-logo span { color: var(--saffron); }

.footer-bottom {
  margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; padding: 16px;
  font-size: 12px; color: #666;
  font-family: 'Poppins', sans-serif;
}
.footer-bottom a { color: var(--saffron); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .site-title { font-size: 24px; }
  .menu-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.toggled { display: block; }
  .main-navigation ul { flex-direction: column; }
  .main-navigation ul ul { position: static; display: flex; }
  .post-header h1 { font-size: 22px; }
  .single-post-wrap { padding: 16px; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .header-search { display: none; }
  .footer-widgets { grid-template-columns: 1fr; }
}
