/*!
Theme Name: dipressx
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mitrapolri
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mitrapolri is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 1.2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #e30016;
	text-decoration: none;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #490d13;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header Styles
--------------------------------------------- */
.site-header {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1000;
}

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

/* Header Top - Date and Time */
.header-top {
	background: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
	padding: 6px 0;
	font-size: 13px;
}

.header-top .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.date-time {
	color: #6c757d;
	font-weight: 500;
}

.date-time .separator {
	margin: 0 10px;
	opacity: 0.5;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Search Form Styles */
.search-container {
	position: relative;
}

.search-form {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-form:focus-within {
	border-color: #007cba;
	box-shadow: 0 2px 8px rgba(0,124,186,0.2);
}

.search-field {
	border: none;
	outline: none;
	padding: 8px 15px;
	font-size: 13px;
	width: 200px;
	background: transparent;
	color: #333;
}

.search-field::placeholder {
	color: #999;
}

.search-submit {
	border: none;
	background: #e30016;
	color: #fff;
	padding: 8px 12px;
	cursor: pointer;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-submit:hover {
	background: #005a87;
}

/* Header Middle - Logo */
.header-middle {
	padding: 15px 0;
}

.site-branding {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-logo .site-description {
    margin: 0;
    font-size: 1.9rem;
    color: #000;
    font-style: normal;
    font-weight: 600;
}

.custom-logo-wrapper img {
	max-height: 150px;
	width: auto;
	transition: transform 0.3s ease;
}

.custom-logo-wrapper img:hover {
	transform: scale(1.05);
}

.site-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: #2c3e50;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-title a:hover {
	color: #007cba;
}

.site-description {
	margin: 5px 0 0;
	color: #6c757d;
	font-size: 1rem;
	font-style: italic;
}

/* Content Layout */
.content-wrapper {
	background: #fff;
	padding: 20px 0;
}

.content-layout {
	display: flex;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.content-area {
	flex: 1;
	background: #fff;
	padding: 10px;

	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-area {
		width: 350px;
		background: #fff;
		padding: 10px;
		margin: 10px;
		border-radius: 5px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

/* Three-Column Layout */
.content-layout-three-column {
	display: grid;
	grid-template-columns: 230px 500px 350px;
	gap: 20px;
	align-items: start;
	max-width: 1120px;
	margin: 0 auto;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
	margin-bottom: 20px;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #666;
	padding: 10px 0;
}

.breadcrumb a {
	color: #e30016;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: #b8000f;
}

.breadcrumb-separator {
	color: #999;
	font-weight: 500;
}

.breadcrumb-current {
	color: #333;
	font-weight: 600;
}

/* Post Meta Information */
.post-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 15px 0 20px 0;
	font-size: 14px;
	color: #666;
	flex-wrap: wrap;
}

.post-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.post-author {
	font-weight: 600;
	color: #333;
}

.post-date {
	color: #666;
}

.post-category {
	color: #e30016;
	font-weight: 500;
}

.post-views {
	color: #666;
}

/* Social Sharing Links */
.social-share {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0;
	padding: 15px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
	color: #fff;
}

.social-link.facebook {
	background: #1877f2;
}

.social-link.facebook:hover {
	background: #166fe5;
	transform: translateY(-2px);
}

.social-link.twitter {
	background: #1da1f2;
}

.social-link.twitter:hover {
	background: #0d8bd9;
	transform: translateY(-2px);
}

.social-link.telegram {
	background: #0088cc;
}

.social-link.telegram:hover {
	background: #006699;
	transform: translateY(-2px);
}

.social-link.whatsapp {
	background: #25d366;
}

.social-link.whatsapp:hover {
	background: #128c7e;
	transform: translateY(-2px);
}

.social-link svg {
	width: 20px;
	height: 20px;
}

/* Two-Column Layout */
.content-layout-two-column {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 20px;
	align-items: start;
	max-width: 1120px;
	margin: 0 auto;
}

/* Main Content Area */
.content-layout-three-column .content-area,
.content-layout-two-column .content-area {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	padding: 20px;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

/* Post Item Layout */
.post-item {
	padding: 20px 0;
	border-bottom: 2px dotted #ccc;
	margin-bottom: 20px;
	width: 100%;
	box-sizing: border-box;
}

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

.post-layout {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Post Thumbnail */
.post-thumbnail {
	flex-shrink: 0;
	width: 140px;
	height: 140px;
	overflow: hidden;
	border-radius: 8px;
}

/* Full-size Featured Image for Single Posts */
.post-thumbnail-full {
	width: 100%;
	height: auto;
	margin: 20px 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-image-full {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.featured-image-full:hover {
	transform: scale(1.02);
}

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

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

.no-thumbnail {
	width: 100%;
	height: 100%;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

/* Related Posts Section */
.related-posts {
	margin: 40px 0;
	padding: 30px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.related-posts-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
	text-align: center;
	border-bottom: 2px solid #007cba;
	padding-bottom: 10px;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 20px;
}

.related-post-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-post-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.related-post-thumbnail {
	position: relative;
	height: 140px;
	overflow: hidden;
}

.related-post-thumbnail img,
.related-post-thumbnail .related-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-post-thumbnail:hover img,
.related-post-thumbnail:hover .related-thumb-img {
	transform: scale(1.05);
}

.related-post-thumbnail .placeholder-thumbnail {
	width: 100%;
	height: 100%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 12px;
}

.related-post-content {
	padding: 12px;
}

.related-post-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #333;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-post-link:hover .related-post-title {
	color: #007cba;
}

/* Responsive Design for Related Posts */
@media (max-width: 768px) {
	.related-posts {
		padding: 20px 15px;
		margin: 30px 0;
	}
	
	.related-posts-title {
		font-size: 20px;
	}
	
	.related-posts-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	
	.related-post-thumbnail {
		height: 100px;
	}
	
	.related-post-content {
		padding: 8px;
	}
	
	.related-post-title {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.related-posts-grid {
		gap: 8px;
	}
	
	.related-post-thumbnail {
		height: 80px;
	}
	
	.related-post-content {
		padding: 6px;
	}
	
	.related-post-title {
		font-size: 11px;
		line-height: 1.2;
	}
}

/* Post Content */
.post-content {
	flex: 1;
	min-width: 0;
	max-width: calc(100% - 160px);
	box-sizing: border-box;
}

.post-content .entry-title {
	margin: 0 0 10px 0;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
}

.post-content .entry-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.post-content .entry-title a:hover {
	color: #e53e3e;
}

.post-content .entry-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 12px;
}

.post-category a {
	background: #e53e3e;
	color: white;
	padding: 3px 8px;
	border-radius: 3px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.3s ease;
}

.post-category a:hover {
	background: #d32f2f;
}

.post-date {
	color: #999;
	font-weight: 500;
}

.entry-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

/* Left Sidebar - Popular Posts */
.sidebar-left {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	overflow: hidden;
}

.sidebar-tabs {
	display: flex;
	background: #f5f5f5;
	border-bottom: 1px solid #ddd;
}

.sidebar-tabs .tab {
	flex: 1;
	padding: 12px 8px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #666;
}

.sidebar-tabs .tab.active {
	background: #e53e3e;
	color: white;
}

.sidebar-tabs .tab:hover {
	background: #e53e3e;
	color: white;
}

.tab-content {
	padding: 15px;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
}

.popular-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

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

.popular-number {
	width: 24px;
	height: 24px;
	background: #ff6b35;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	flex-shrink: 0;
}

.popular-content h4 {
	margin: 0 0 5px 0;
	font-size: 13px;
	line-height: 1.3;
}

.popular-content h4 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.popular-content h4 a:hover {
	color: #e53e3e;
}

.popular-meta {
	font-size: 11px;
	color: #999;
}

/* Right Sidebar - WordPress Widgets */
.sidebar-right {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	padding: 10px;
}

.sidebar-right .widget {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.sidebar-right .widget:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.sidebar-right .widget-title {
	margin: 0 0 15px 0;
	font-size: 18px;
	color: #333;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 2px solid #e53e3e;
}

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

.sidebar-right .widget li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

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

.sidebar-right .widget a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 14px;
}

.sidebar-right .widget a:hover {
	color: #e53e3e;
}

.sidebar-right .widget p {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

	/* Featured Posts Slider */
.featured-posts-slider {
	margin-bottom: 0;
	position: relative;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	overflow: hidden;
	border-radius: 5px;
}

	.slider-container {
		position: relative;
		width: 100%;
		height: 600px;
	}

	.slide-item {
		position: relative;
		width: 100%;
		height: 100%;
		overflow: hidden;
		border-radius: 0;
	}

	.slide-link {
		display: block;
		width: 100%;
		height: 100%;
		text-decoration: none;
		position: relative;
	}

	.slide-background {
		width: 100%;
		height: 100%;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		position: relative;
		transition: transform 0.5s ease;
	}

	.slide-item:hover .slide-background {
		transform: scale(1.05);
	}

	.slide-no-image {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		color: rgba(255, 255, 255, 0.7);
	}

	.slide-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
		z-index: 1;
	}

	.slide-content-overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 40px;
		color: white;
		z-index: 2;
		background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
	}

	.slide-category {
		margin-bottom: 15px;
	}

	.slide-category .category-label {
		background: linear-gradient(135deg, #e30016 0%, #ff4757 100%);
		color: #fff;
		padding: 8px 20px;
		border-radius: 25px;
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 1px;
		display: inline-block;
		box-shadow: 0 4px 15px rgba(227, 0, 22, 0.4);
	}

	.slide-title {
		margin: 0 0 15px 0;
		font-size: 32px;
		font-weight: 800;
		line-height: 1.2;
		color: #fff;
		text-shadow: 0 2px 10px rgba(0,0,0,0.5);
	}

	.slide-meta {
		color: rgba(255, 255, 255, 0.9);
		font-size: 16px;
		font-weight: 500;
	}

	.slide-date {
		color: rgba(255, 255, 255, 0.8);
	}

	.slide-title a {
		color: #2c3e50;
		text-decoration: none;
		transition: color 0.3s ease;
	}

	.slide-title a:hover {
		color: #e30016;
	}

	.slide-meta {
		color: #6c757d;
		font-size: 14px;
		margin-top: auto;
	}

	.slide-date {
		font-weight: 500;
	}

	/* Tiny Slider Navigation */
	.tns-nav {
		position: absolute;
		top: 20px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 10;
		display: flex;
		gap: 5px;
		padding: 0;
		margin: 0;
	}

	.tns-nav button {
		width: 5px !important;
		height: 5px !important;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.6);
		border: 1px solid rgba(255, 255, 255, 0.8);
		margin: 0;
		cursor: pointer;
		transition: all 0.3s ease;
		position: relative;
		outline: none;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	}

	.tns-nav button:hover {
		background: rgba(255, 255, 255, 0.9);
		border-color: #fff;
		transform: scale(1.2);
		box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	}

	.tns-nav .tns-nav-active {
		background: #e30016;
		border-color: #e30016;
		box-shadow: 0 4px 15px rgba(227, 0, 22, 0.5);
		transform: scale(1.3);
	}

	/* Hide prev/next controls */
	.tns-controls {
		display: none !important;
	}

	/* Content Wrapper Spacing */
	.content-wrapper {
		margin-top: 0;
		padding-top: 40px;
	}

	/* Responsive Design for Slider */
	@media (max-width: 768px) {
		.slider-container {
			height: 450px;
		}

		.slide-content-overlay {
			padding: 30px 25px;
		}

		.slide-title {
			font-size: 24px;
			margin-bottom: 12px;
		}

		.slide-category .category-label {
			font-size: 11px;
			padding: 6px 16px;
		}

		.slide-meta {
			font-size: 14px;
		}

		.tns-nav {
			top: 15px;
			gap: 5px;
		}

		.tns-nav button {
			width: 5px;
			height: 5px;
		}

		.content-wrapper {
			padding-top: 30px;
		}
	}

	@media (max-width: 480px) {
		.slider-container {
			height: 400px;
		}

		.slide-content-overlay {
			padding: 25px 20px;
		}

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

		.slide-category {
			margin-bottom: 12px;
		}

		.slide-category .category-label {
			font-size: 10px;
			padding: 5px 14px;
		}

		.slide-meta {
			font-size: 13px;
		}

		.tns-nav {
			top: 12px;
			gap: 4px;
		}

		.tns-nav button {
			width: 5px;
			height: 5px;
			border-width: 1px;
		}

		.content-wrapper {
			padding-top: 20px;
		}
	}

/* Header Bottom - Navigation */
.header-bottom {
	background: #e30016;
	position: relative;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation .nav-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-start;
}

.main-navigation .nav-menu li {
	position: relative;
}

.main-navigation .nav-menu a {
	display: block;
	padding: 12px 18px;
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
	font-size: 14px;
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu .current-menu-item > a {
	background: rgba(255, 255, 255, 0.1);
	border-bottom-color: #ff8b92;
}

/* Dropdown Menus */
.main-navigation .nav-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #34495e;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.main-navigation .nav-menu li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .nav-menu ul a {
	padding: 12px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation .nav-menu ul a:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 20px;
	background: none;
	border: none;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s ease;
}

.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
}

.hamburger {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hamburger span {
	width: 20px;
	height: 2px;
	background: #fff;
	transition: all 0.3s ease;
}

.main-navigation.toggled .hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.main-navigation.toggled .hamburger span:nth-child(2) {
	opacity: 0;
}

.main-navigation.toggled .hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.main-navigation.toggled .nav-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #2c3e50;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-navigation.toggled .nav-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation.toggled .nav-menu a {
	padding: 15px 20px;
	border-bottom: none;
}

/* Desktop Navigation */
@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation .nav-menu {
		display: flex;
	}

	.header-top {
		font-size: 13px;
	}

	.date-time .separator {
		margin: 0 15px;
	}

	.site-title {
		font-size: 3rem;
	}
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
	.container {
		padding: 0 15px;
	}

	.header-top {
		padding: 8px 0;
		font-size: 12px;
	}

	.header-top .container {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.header-middle {
		padding: 12px 0;
	}

	.site-branding {
		justify-content: center;
	}

	.site-logo {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.custom-logo-wrapper img {
		max-height: 150px;
	}

	.site-title {
		font-size: 1.5rem;
	}

	.site-description,
	.site-logo .site-description {
		font-size: 0.8rem;
		text-align: center;
	}

	/* Content Layout Mobile */
	.content-layout {
		flex-direction: column;
		padding: 0 15px;
	}

	.sidebar-area {
		width: 100%;
		order: 2;
	}

	.content-area {
		order: 1;
	}
	
	.content-layout-three-column {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 0 15px;
	}
	
	.content-layout-two-column {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 0 5px;
	}
	
	/* Mobile Breadcrumb */
	.breadcrumb {
		font-size: 12px;
		padding: 8px 15px;
		gap: 6px;
	}
	
	/* Post Meta Mobile Styles */
	.post-meta {
		font-size: 12px;
		gap: 10px;
		margin: 10px 0 15px 0;
		flex-direction: column;
		align-items: flex-start;
	}
	
	.post-meta span {
		gap: 3px;
	}
	
	/* Social Sharing Mobile Styles */
	.social-share {
		gap: 8px;
		margin: 15px 0;
		padding: 12px 0;
		justify-content: center;
	}
	
	.social-link {
		width: 36px;
		height: 36px;
	}
	
	.social-link svg {
		width: 18px;
		height: 18px;
	}
	
	.content-layout-three-column .content-area,
	.content-layout-two-column .content-area {
		order: 1;
	}
	
	.sidebar-left {
		order: 2;
	}
	
	.sidebar-right {
		order: 3;
	}
	
	.sidebar-tabs .tab {
		padding: 10px 6px;
		font-size: 11px;
	}
	
	.news-item {
		gap: 10px;
	}
	
	.news-image {
		width: 60px;
		height: 45px;
	}
	
	/* Mobile Post Layout */
	.post-layout {
		flex-direction: row;
		gap: 12px;
	}
	
	.post-thumbnail {
		width: 80px;
		height: 80px;
		flex-shrink: 0;
	}
	
	.post-content {
		flex: 1;
		min-width: 0;
		max-width: calc(100% - 92px);
	}
	
	.post-content .entry-title {
		font-size: 14px;
		line-height: 1.3;
		margin-bottom: 8px;
	}
	
	.post-content .entry-meta {
		display: none;
	}
	
	.post-category a {
		display: none;
	}
	
	.post-date {
		display: none;
	}
	
	.entry-excerpt {
		display: none;
	}

	/* Featured Posts Slider Mobile */
	.featured-posts-slider {
		margin-bottom: 20px;
	}

	.slide-content {
		height: 350px;
	}

	.slide-image {
		height: 200px;
	}

	.slide-info {
		padding: 15px;
	}

	.slide-title {
		font-size: 16px;
	}

	.tns-controls button {
		width: 35px;
		height: 35px;
		font-size: 14px;
	}

	.tns-controls [data-controls="prev"] {
		left: 10px;
	}

	.tns-controls [data-controls="next"] {
		right: 10px;
	}

	.date-time .separator {
		margin: 0 6px;
	}

	/* Mobile Search */
	.search-field {
		width: 150px;
		padding: 6px 12px;
		font-size: 12px;
	}

	.search-submit {
		padding: 6px 10px;
	}

	.search-submit svg {
		width: 16px;
		height: 16px;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	background-color: #e53e3e;
	padding: 12px 20px;
	border-top: 2px solid #d32f2f;
	margin:0 auto;
	max-width: 1140px;
}

.footer-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
}

.footer-nav a {
	color: white;
	text-decoration: none;
	font-weight: 400;
	transition: opacity 0.2s ease;
}

.footer-nav a:hover {
	opacity: 0.8;
}

.footer-nav .separator {
	color: white;
	font-weight: 300;
	margin: 0 2px;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.footer-nav {
		font-size: 12px;
		gap: 6px;
	}
	
	.site-footer {
		padding: 10px 15px;
	}
}

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
