/**
 * Theme Name: AI News Orbit
 * Theme URI: https://ainewsorbit.com
 * Description: A Custom modern, professional WordPress magazine theme with dark mode support
 * Version: 1.0.0
 * Author: ANO
 * Author URI: https://ainewsorbit.com
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: ai-news-orbit
 * Tags: blog, news, magazine, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
 */
@font-face {
  font-family: 'JameelNooriNastaleeq';
  src: url('assets/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('assets/fonts/JameelNooriNastaleeq.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Body Font */
@font-face {
    font-family: 'aiurdu';
    src: url('assets/fonts/aiurdubd.woff2') format('woff2'),
        url('assets/fonts/aiurdubd.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'aiurdu';
    src: url('assets/fonts/aiurdu.woff2') format('woff2'),
        url('assets/fonts/aiurdu.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
  --primary-color: #1E3A8A;
  --brand-color: #1E3A8A;
  --accent-color: #00aeef;
  --text-color: #141414;
  --bg-color: #fff;
  --light-bg: #f8f9fa;
  --border-color: #e5e7eb;
  --card-bg: #fff;
  --transition: all 0.3s ease;
  --bg-gr:linear-gradient(-180deg, #1E3A8A 0%, #180109 54%, #180109 90%);
}

[data-theme="dark"] {
  --primary-color: #002539;
  --accent-color: #00aeef;
  --text-color: #e5e7eb;
  --bg-color: #1a1a1a;
  --light-bg: #2d2d2d;
  --border-color: #404040;
  --card-bg: #2d2d2d;
}

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

body {
  font-family: "aiurdu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:1rem;	
  line-height: 1.625rem;
  color: var(--text-color);
  background: var(--bg-color);
  transition: var(--transition);
}

a {
  color: var(--brand-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}
[data-theme="dark"] a:hover {
  color: var(--text-color);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 700;
  line-height:2.25rem;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-color);
}

/* Header */
.site-header {
  background: var(--primary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}
.site-branding{
  max-width: 200px;
}
.site-branding a {
  color: #fff;
}

.site-branding a:hover {
  color: var(--accent-color);
}

.site-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.25rem;
  border-radius: 0px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark-mode-toggle:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  color: var(--accent-color);
}

/* Container */
.site-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main Content with Sidebar */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  margin-top: 2rem;
}
.content-wrapper.full{
  grid-template-columns: 1fr;
}

.content-area {
  min-width: 0;
}
.mt{
  margin-top: 4rem;
}
/* Featured Section */
.featured-section {
  margin-bottom: 4rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.featured-small-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Featured Main Post */
.featured-main {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--bg-gr);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  padding: 0.75rem;
}
.featured-badge {
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1rem;
  margin: 0.5rem 0px;
  display: inline-flex;
}
[data-theme="dark"] .featured-badge{
  background-color: #fff;
}

.post-thumbnail,
.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-wrap{
  position: relative;
}
.thumbnail-wrap::before{
  content: "";
  background-color: var(--accent-color);
  inset: 0;
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 66.6%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  position: absolute;
  transition: 250ms ease-in-out;
}
.thumbnail-wrap:hover::before{
  opacity: 1;
}

.featured-main .post-thumbnail {
  height: 220px;
}
.featured-main .post-content{
  padding-top: 0.75rem;
}
.featured-main .post-title {
  font-size: 1.60rem;
  margin: 0;
}
.featured-main .post-meta,
.featured-post .post-meta{
	gap:0.3rem;
}
.featured-main .post-meta,
.featured-main .post-meta a{
	color: var(--bg-color);
}

.featured-main .post-title a {
  color: var(--bg-color);
}
.featured-main .post-title a:hover{
  color:var(--accent-color);
}

[data-theme="dark"] .featured-main .post-title a {
  color: #fff;
}
[data-theme="dark"] .featured-main .post-title a:hover{
  color: var(--accent-color);
}
[data-theme="dark"] .featured-main .post-meta,
[data-theme="dark"] .featured-main .post-meta a{
	color: var(--text-color);
}
/* Featured Posts */
.featured-post {
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
.featured-post:hover,
.featured-main:hover{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.featured-post .post-thumbnail {
  height: 200px;
}

.featured-post .post-content {
  padding: 1.5rem;
}

.featured-post .post-title{
  font-size: 1.20rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.featured-post .post-title {
  color: var(--text-color);
}
.featured-post .post-content:hover .post-title{
  color: var(--accent-color);
}

[data-theme="dark"] .featured-post .post-title{
  color: var(--text-color);
}

.post-excerpt {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text-color);
  width: fit-content;
}

[data-theme="dark"] .post-category:hover{
  background: var(--text-color);
}

/* Featured Small Posts */
.featured-small {
  display: flex;
  gap: 1rem;
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.featured-small:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-small .post-thumbnail {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.featured-small .post-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-small .post-title {
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.featured-small .post-title a{
  color: var(--primary-color);
}


[data-theme="dark"] .featured-small .post-title a {
  color: var(--text-color);
}
.featured-small .post-title a:hover{
  color: var(--accent-color);
}
/* Post Meta */
.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.post-meta span{
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-meta a {
  color: var(--text-color);
}

.post-meta a:hover {
  color: var(--accent-color);
}

/* Buttons */
.read-more,
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary-color);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 0px;
  gap: 5px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.read-more svg,
.btn-primary svg{
  width: 20px;
  fill: #fff;
}
.read-more:hover,
.btn-primary:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}
.read-more:hover svg,
.btn-primary:hover svg{
  fill: #fff;
}

.posts-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.posts-grid .featured-post .post-title a{
  color: var(--primary-color);
}
[data-theme="dark"] .posts-grid .featured-post .post-title a{
  color: var(--text-color);
}
.posts-grid .featured-post .post-title a:hover{
  color: var(--accent-color);
}
/* Ad Section */
.ad-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 4rem;
  text-align: center;
  color: #fff;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.ad-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.ad-section p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Category Sections */
.category-sections {
  margin-bottom: 4rem;
}
.category-wrap{
  width: 49%;
}

.category-section{
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 2rem;
}
.category-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}
.view-all svg{
  width: 20px;
}
.view-all:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

[data-theme="dark"] .view-all:hover{
  border-color: var(--accent-color);
}
[data-theme="dark"] .view-all svg{
  fill: var(--text-color);
} 
.view-all:hover svg{
  fill: #fff;
}

/* AI Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.category-featured {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.category-featured .post-thumbnail {
  width: 100%;
  height: 260px;
}

.category-featured .post-content {
  background: var(--card-bg);
  padding:1rem;
  
}
.category-featured:hover{
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-featured .post-title {
  font-size: 1.60rem;
  margin: 0 0 0.7rem 0;
}

.category-featured .post-title{
  color: var(--primary-color);
  transition: var(--transition);
}
.category-featured .post-content:hover .post-title{
  color: var(--accent-color);
}

[data-theme="dark"] .category-featured .post-title{
  color: var(--text-color);
}

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

.category-post-item {
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.category-post-item:first-child {
  padding-top: 0;
}

.category-post-item:last-child {
  border-bottom: none;
}

.category-post-item .post-thumbnail {
  width: 130px;
  height: 100px;
  flex-shrink: 0;
}

.category-post-item .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-post-item .post-title {
  font-size: 1rem;
  margin: 0;
}

.category-post-item .post-title a {
  color: var(--primary-color);
}

[data-theme="dark"] .category-post-item .post-title a {
  color: var(--text-color);
}
.category-post-item .post-title a:hover{
  color: var(--accent-color);
}

/* Category Ad Box */
.category-ad-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.category-ad-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.category-ad-box p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.category-ad-box .ad-button {
  background: #fff;
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.category-ad-box .ad-button:hover {
  transform: scale(1.05);
  background: var(--accent-color);
  color: #fff;
}

/* ML Grid Layout */
.ml-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ml-featured-large {
  grid-column: span 2;
  display: flex;
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.ml-featured-large:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.ml-featured-large .post-thumbnail {
  width: 100%;
  height: 260px;
  flex-shrink: 0;
}

.ml-featured-large .post-content {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ml-featured-large .post-title {
  font-size: 1.60rem;
  margin: 0 0 0.7rem 0;
}

.ml-featured-large .post-title{
  color: var(--primary-color);
  transition: var(--transition);
}
.ml-featured-large .post-content:hover .post-title{
  color: var(--accent-color);
}
[data-theme="dark"] .ml-featured-large .post-title{
  color: var(--text-color);
}

.ml-post-card {
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
}

.ml-post-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.ml-post-card .post-thumbnail {
  width: 130px;
  height: 100px;
  flex-shrink: 0;
}

.ml-post-card .post-content {
  padding:0.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ml-post-card .post-title {
  font-size: 1rem;
  margin: 0;
}

.ml-post-card .post-title a {
  color: var(--primary-color);
}

[data-theme="dark"] .ml-post-card .post-title a {
  color: var(--text-color);
}
.ml-post-card .post-title:hover a{
  color: var(--accent-color);
} 


/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.widget {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 0px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

[data-theme="dark"] .widget-title {
  color: var(--accent-color);
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--text-color);
  transition: var(--transition);
}

.widget a:hover {
  color: var(--accent-color);
}

.widget select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--card-bg);
  color: var(--text-color);
}

.tagcloud a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--light-bg);
  margin: 0.25rem;
  border-radius: 6px;
  font-size: 0.875rem !important;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 0.75rem 1.25rem;
  background: var(--card-bg);
  border-radius: 0px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  color: var(--text-color);
}

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

.pagination .current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Single Post */
.single-post-article {
  background: var(--card-bg);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.single-post-article .post-header {
  margin-bottom: 2rem;
}

.single-post-article .post-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.single-post-article .post-thumbnail {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
  max-height:485px;	
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color);
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  font-size: 1.875rem;
  margin: 2rem 0 1rem;
}

.entry-content h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content figure figcaption{
	margin-top:-25px;
	font-size:13px;
	text-align:center;
}
.entry-content img {
  margin: 2rem 0;
  border-radius: 12px;
  max-height:485px;	
}

.entry-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-color);
  opacity: 0.8;
}
/* Related Posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.related-posts-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

[data-theme="dark"] .related-posts-title {
  color: var(--text-color);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.related-post-card {
  background: var(--card-bg);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.related-post-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.related-post-thumbnail {
  display: block;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.related-post-content {
  padding: 1rem;
}

.related-post-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 700;
}

.related-post-title a {
  color: var(--primary-color);
  transition: var(--transition);
}

[data-theme="dark"] .related-post-title a {
  color: var(--text-color);
}

.related-post-title a:hover {
  color: var(--accent-color);
}

.related-post-meta {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.7;
}
/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.comment-content p {
  margin-bottom: 1rem;
}

.comment-reply-link {
  font-size: 0.875rem;
  color: var(--accent-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--card-bg);
  color: var(--text-color);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input[type="submit"] {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.comment-form input[type="submit"]:hover {
  background: var(--accent-color);
}

/* Footer */
.site-footer {
  background: var(--primary-color);
  color: #fff;
  padding: 3rem 2rem 2rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-container p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.footer-container a {
  color: var(--accent-color);
}
.footer-container a:hover {
  color: #fff;
}
.footer-info p a{
  color: #fff;
}
.footer-info p a:hover{
  color: var(--accent-color);
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.nav-links{
  display: flex;
  align-items: center;
}
.nav-links div a{
  display: flex;
  align-items: center;
  justify-content:center;	
  width:110px;
  padding: 0.5rem;	
  color: var(--primary-color);
  border:1px solid var(--border-color);	
}
.nav-links div svg{
  width: 16px;
}
.nav-links div a span{
	display:flex;
	align-items:center;
	gap:5px;
}
.nav-next{
	margin-left:auto;
}
[data-theme="dark"] .nav-links div a{
  color: var(--text-color);
}
[data-theme="dark"] .nav-links div svg{
  fill: var(--text-color);
}
.nav-links div a:hover{
  color: var(--accent-color);
  background:var(--primary-color);	
}
.nav-links div a:hover svg{
  fill: var(--accent-color);
}
/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}
.breadcrumbs {
  margin-top:2rem;
}
.footer-widget .widget{
  background: transparent;
  padding: 1rem 0px;
  box-shadow:none;
}
.footer-widget h4{
  color: #fff;
}
.footer-widget .widget li{
  border-bottom: 0px;
  text-align: left;
  padding: 0.1rem 0px;
}
.footer-widget .widget li a{
  color: #fff;
}
.footer-widget .widget li a:hover{
  color: var(--accent-color);
}
.footer-widget .wp-block-social-links{
  padding:1rem 0px;
}
/*------menu button-----*/
.animated-icon1 {
  width: 24px;
  height:19px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
.animated-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  opacity: 1;
  left:50%;
  -webkit-transform:translateX(-50%) rotate(0deg);
  -moz-transform:translateX(-50%) rotate(0deg);
  -o-transform:translateX(-50%) rotate(0deg);
  transform: translateX(-50%) rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
.animated-icon1 span {
  background:#fff;
}
.animated-icon1 span:nth-child(1) {
  top: 0px;
}
.animated-icon1 span:nth-child(2) {
  top: 8px;
}
.animated-icon1 span:nth-child(3) {
  top: 16px;
}
.animated-icon1.open span{
  left:0px;
}
.animated-icon1.open span:nth-child(1) {
  top:8px;
  width:100%;
  -webkit-transform:translateX(0px) rotate(135deg);
  -moz-transform:translateX(0px) rotate(135deg);
  -o-transform:translateX(0px) rotate(135deg);
  transform: translateX(0px) rotate(135deg);
}
.animated-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.animated-icon1.open span:nth-child(3) {
  top: 8px;
  width:100%;
  -webkit-transform:translateX(0px) rotate(-135deg);
  -moz-transform:translateX(0px) rotate(-135deg);
  -o-transform:translateX(0px) rotate(-135deg);
  transform: translateX(0px) rotate(-135deg);
}

.menu-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  z-index: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* End of style.css */

/* Responsive */
@media (max-width: 1200px) {
  .featured-grid{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .featured-small-row {
    grid-template-columns: 1fr;
  }
  .featured-main,
  .featured-section .featured-post{
    display: flex;
    align-items: center;
  }
  .featured-main .post-thumbnail,
  .featured-section .featured-post .post-thumbnail,
  .featured-small .post-thumbnail,
  .ml-featured-large .post-thumbnail,
  .ml-post-card .post-thumbnail,
  .category-featured .post-thumbnail,
  .category-post-item .post-thumbnail{
    height: 280px;
    width: 100%;
  }
  .featured-main .thumbnail-wrap,
  .featured-section .featured-post .thumbnail-wrap,
  .featured-small .thumbnail-wrap,
  .ml-featured-large .thumbnail-wrap,
  .ml-post-card .thumbnail-wrap,
  .category-post-item .thumbnail-wrap{
    width: 40%;
  }
  .featured-main .post-content,
  .featured-section .featured-post .post-content,
  .featured-small .post-content,
  .thumbnail-wrap .post-content,
  .ml-post-card .post-content,
  .category-featured .post-content,
  .category-post-item .post-content{
    padding: 0px 1rem;
    width: 60%;
  }
  .post-content .post-title{
    font-size: 1.40rem;
  }
  .content-wrapper {
    grid-template-columns: 1fr 300px;
  }
  .category-section{
    flex-wrap: wrap;
    gap: 2rem;
  }
  .category-wrap{
    width: 100%;
  }
  .category-grid,
  .ml-grid {
    grid-template-columns: 1fr;
  }
  .category-featured{
    flex-direction: row;
    width: 100%;
    align-items: center;
  }
  .category-featured .thumbnail-wrap{
    width: 40%;
  }
  .ml-featured-large {
    grid-column: span 1;
  }
  .featured-section{
    margin-bottom: 2rem;
  }
  .category-post-item{
    gap: 0px;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-small{
    gap: 0px;
  }
  .single-post-article .post-title{
    font-size:1.8rem;
  }
  .posts-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .menu-button{
    display: flex;
    order: 3;
  }
  .header-right{
    gap: 0.5rem;
  }
  .main-navigation{
    display: none;
    position:fixed;
    top: 64px;
    width: 100%;
    height: 100%;
    left: 0px;
    background: var(--primary-color);
    padding: 2rem;
  }
  .site-branding{
    max-width: 100px;
  }
  .site-header{
    padding: 0.5rem 0px;
  }
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }
  .main-navigation ul li{
    width: 100%;
    text-align: center;
  }
  .main-navigation ul li a{
    display: block;
    border-bottom: 1px dotted #fff;
  }
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
  .featured-main .post-thumbnail,
  .featured-section .featured-post .post-thumbnail,
  .featured-small .post-thumbnail,
  .ml-featured-large .post-thumbnail,
  .ml-post-card .post-thumbnail,
  .category-featured .post-thumbnail,
  .category-post-item .post-thumbnail{
    height: 220px;
    width: 100%;
  }
  .mt,
  .site-footer{
    margin-top: 2rem;
  }
  .single-post-article .post-thumbnail{
    height: auto;
  }
  .related-posts{
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

@media (max-width: 640px) {
  .site-content {
    padding: 0 1rem;
  }
  .header-container{
    padding: 0px 1rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-main .post-thumbnail,
  .featured-section .featured-post .post-thumbnail,
  .featured-small .post-thumbnail,
  .ml-featured-large .post-thumbnail,
  .ml-post-card .post-thumbnail,
  .category-featured .post-thumbnail,
  .category-post-item .post-thumbnail{
    height: 220px;
    width: 100%;
  }
  

  .single-post-article {
    padding: 2rem 1.5rem;
  }

  .single-post-article .post-title {
    font-size: 2rem;
  }
   .related-posts-grid,
   .posts-grid{
    grid-template-columns: 1fr;
  }
  .category-title{
    font-size: 1.6rem;
  }
	.entry-content{
		font-size:1rem;
	}
}
@media (max-width:480px){
  .post-content .post-title,
  .related-post-title{
    font-size: 1.1rem;
  }
  .featured-main, .featured-post,
  .featured-small,.ml-featured-large,
  .ml-post-card,
  .category-featured,.category-post-item{
    flex-wrap: wrap;
  }
  .featured-main .thumbnail-wrap, .featured-section .featured-post .thumbnail-wrap, .featured-small .thumbnail-wrap, .ml-featured-large .thumbnail-wrap, .ml-post-card .thumbnail-wrap, .category-post-item .thumbnail-wrap{
    width: 100%;
  }
  .featured-main .post-content, .featured-section .featured-post .post-content, .featured-small .post-content, .thumbnail-wrap .post-content, .ml-post-card .post-content, .category-featured .post-content, .category-post-item .post-content{
    width: 100%;
    padding: 1rem;
  }
  .category-featured .thumbnail-wrap{
    width: 100%;
  }
  .featured-small .post-title{
    margin-bottom: 1rem;
  }
  .featured-main .post-content{
    padding: 1rem 0px;
  }
  .featured-badge{
    padding: 0.2rem;
  }
  .category-title,
  .related-posts-title{
    font-size: 1.4rem;
  }
  .single-post-article .post-title{
    font-size:1.4rem;
  }
	.entry-content h2{
		font-size:1.3rem;
	}
	.entry-content h3{
		font-size:1.15rem;
	}
	.entry-content p{
		margin-bottom:1rem;
	}
	.entry-content img{
		margin:1rem 0px;
	}
  .single-post-article{
    padding: 1rem;
  }
  .related-posts-title{
    margin-bottom: 1rem;
  }
	.entry-content figure figcaption{
		margin-top:-10px;
	}
	.entry-content h2{
		margin:1rem 0px;
	}
	.entry-content{
		line-height:1.65rem;
	}
	.entry-content img,
	.single-post-article .post-thumbnail{
		height:auto;
		max-height:200px;
	}
}
