/*
 * Qorntix — main stylesheet.
 *
 * Table of Contents:
 * 1. Variables
 * 2. Normalize / base
 * 3. Accessibility
 * 4. Layout
 * 5. Header & navigation
 * 6. Content & entries
 * 7. Widgets & sidebar
 * 8. Comments
 * 9. Footer
 * 10. Alignments (block editor)
 * 11. Off-canvas navigation
 * 12. Responsive
 */

/* 1. Variables ------------------------------------------------------------ */
:root {
	--ea-color-text: #1f2933;
	--ea-color-muted: #52606d;
	--ea-color-link: #da292a;
	--ea-color-link-hover: #da292a;
	--ea-color-border: #e4e7eb;
	--ea-color-bg: #ffffff;
	--ea-color-bg-alt: #f5f7fa;
	--ea-container: 1200px;
	--ea-radius: 6px;
	--ea-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--ea-font-heading: var(--ea-font);
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--ea-font);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ea-color-text);
	background-color: var(--ea-color-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ea-font-heading);
	line-height: 1.25;
	margin: 0 0 0.5em;
}

a {
	color: var(--ea-color-link);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--ea-color-link-hover);
}

img {
	max-width: 100%;
	height: auto;
}

/* 3. Accessibility -------------------------------------------------------- */
.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: #fff;
	clip: auto !important;
	clip-path: none;
	color: #1f2933;
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 6px;
	top: 6px;
	z-index: 100000;
}

/* 3b. Keyboard focus visibility ---------------------------------------------
 * Theme authors must provide a clearly visible keyboard focus indicator for
 * navigation menus, form fields, submit buttons and text links. We use
 * :focus-visible so the indicator shows for keyboard users (Tab / Shift+Tab)
 * without appearing on mouse clicks. A focus ring colour is also exposed as a
 * custom property so it can be reused or re-themed in one place.
 */
:root {
	--ea-focus-ring: 2px solid var(--ea-color-link);
	--ea-focus-offset: 3px;
}


/* 4. Layout --------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--ea-container);
	margin: 0 auto;
	padding: 0 20px;
}

.content-area-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 110px 0;
}

.content-area-wrap article:last-child {
	border-bottom: 0 !important;
	border: none;
}

.site-main {
	flex: 1 1 0;
	min-width: 0;
}

.widget-area {
	flex: 0 0 300px;
	max-width: 300px;
}

.layout-no-sidebar .site-main {
	max-width: 800px;
}

/* 5. Header & navigation -------------------------------------------------- */
.site-header {
	border-bottom: 1px solid var(--ea-color-border);
	background-color: var(--ea-color-bg);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.site-title {
	font-size: 1.6rem;
	margin: 0;
}

.site-title a {
	text-decoration: none;
	color: var(--ea-color-text);
}

.site-description {
	margin: 4px 0 0;
	color: var(--ea-color-muted);
	font-size: 0.9rem;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.main-navigation a {
	text-decoration: none;
	color: var(--ea-color-text);
	font-weight: 600;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--ea-color-link);
}

.main-navigation .sub-menu {
	display: none;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
	position: absolute;
	background: var(--ea-color-bg);
	border: 1px solid var(--ea-color-border);
	padding: 12px 16px;
	flex-direction: column;
	z-index: 50;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	padding: 14px 12px;
	cursor: pointer;
}

.menu-toggle:focus-visible {
	outline: var(--ea-focus-ring);
	outline-offset: 2px;
}

.menu-toggle:focus:not(:focus-visible) {
	outline: 0;
}

.menu-toggle-bar,
.menu-toggle-bar::before,
.menu-toggle-bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ea-color-text);
	position: relative;
	content: "";
}

.menu-toggle-bar::before { transform: translateY(-7px); position: absolute; }
.menu-toggle-bar::after { transform: translateY(7px); position: absolute; }

/* 6. Content & entries ---------------------------------------------------- */
.page-header {
	margin-bottom: 32px;
}

.page-title {
	font-size: 1.8rem;
}

article {
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--ea-color-border);
}

.widget_block article {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
	padding-left: 0;
}

.widget_block > ul:first-child,
.widget_block > ol:first-child {
    padding-left: 0;
}

ol.wp-block-latest-comments {
	padding-left: 0;
}

.entry-title {
	font-size: 1.6rem;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.entry-title a {
	text-decoration: none;
	color: var(--ea-color-text);
}

select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    line-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>);
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: 9px;
}

.entry-content {
	clear: both !important;;
	overflow: hidden !important;
}
.wp-calendar-table th {
    color: white;
    background: #da292a !important;
    text-align: center;
}

.wp-calendar-table td {
	
	text-align: center;
}

.wp-calendar-table #today, .wp-calendar-table #today a {
    background: #da292a;
    color: white;
	text-align: center;
}

.wp-calendar-table caption {
    color: #da292a;
}


.widget_pages li {
    display: block;
}

.widget_archive li:before, .widget_pages li:before, .widget_nav_menu li:before {
    content: "";
    background: #da292a;
    width: 8px;
    height: 8px;
    left: 0px;
    position: absolute;
    border-radius: 100%;
    top: 10px;
}

.widget_rss ul li a, li.recentcomments a {
    color: #da292a;
}

.entry-meta,
.entry-footer {
	font-size: 0.85rem;
	color: var(--ea-color-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 12px 0;
}

.entry-meta a,
.entry-footer a {
	color: var(--ea-color-muted);
	text-decoration: none;
}

.entry-meta a:hover,
.entry-footer a:hover {
	color: var(--ea-color-link);
}

.post-thumbnail {
	display: block;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: var(--ea-radius);
}

.post-thumbnail img {
	display: block;
	width: 100%;
	transition: transform 0.4s ease;
}

a.post-thumbnail:hover img {
	transform: scale(1.03);
}

.read-more {
	display: inline-block;
	margin-top: 4px;
	font-weight: 600;
	text-decoration: none;
}

.read-more::after {
	content: " \2192";
}

/* ---- Single post layout ---- */
.single .entry-header,
.page .entry-header {
	margin-bottom: 24px;
	padding-bottom: 0;
	border-bottom: 0;
}

.single .entry-title,
.page .entry-title {
	font-size: clamp( 1.8rem, 4vw, 2.6rem );
	line-height: 1.2;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

.single .entry-meta {
	font-size: 0.9rem;
}

.single article,
.page article {
	border-bottom: 0;
	padding-bottom: 0;
}

/* ---- Rich content typography ---- */
.entry-content {
	font-size: 1.075rem;
	line-height: 1.8;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.4em;
}

.entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.2rem; margin-top: 1.4em; }

.entry-content a {
	text-underline-offset: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.5em;
}

.entry-content img {
	border-radius: var(--ea-radius);
}

.entry-content blockquote {
	margin: 1.8em 0;
	padding: 4px 24px;
	border-left: 4px solid var(--ea-color-link);
	background: var(--ea-color-bg-alt);
	border-radius: 0 var(--ea-radius) var(--ea-radius) 0;
	font-size: 1.15rem;
	font-style: italic;
	color: var(--ea-color-muted);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content pre,
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--ea-color-bg-alt);
	border-radius: var(--ea-radius);
}

.entry-content code {
	padding: 2px 6px;
	font-size: 0.9em;
}

.entry-content pre {
	padding: 18px 20px;
	overflow: auto;
	border: 1px solid var(--ea-color-border);
}

.entry-content pre code {
	padding: 0;
	background: none;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.4em;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--ea-color-border);
	text-align: left;
}

.entry-content th {
	background: var(--ea-color-bg-alt);
}

/* ---- Navigation between posts / lists ---- */
.posts-navigation,
.comment-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 32px 0;
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 40px 0;
}

.post-navigation .nav-links {
	display: contents;
}

.post-navigation a {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	text-decoration: none;
	color: var(--ea-color-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation a:hover {
	border-color: var(--ea-color-link);
	box-shadow: 0 4px 16px rgba( 79, 70, 229, 0.08 );
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ea-color-muted);
	margin-bottom: 4px;
}

.post-navigation .nav-title {
	font-weight: 600;
}

.page-links {
	margin-top: 24px;
	font-weight: 600;
	display: flex;
	gap: 8px;
	align-items: center;
}

.page-links a,
.page-links > span {
	display: inline-flex;
	min-width: 32px;
	height: 32px;
	padding: 0 6px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	text-decoration: none;
}

/* 7. Widgets & sidebar ---------------------------------------------------- */
.widget {
	margin-bottom: 36px;
}

.widget-title {
	font-size: 1.1rem;
	border-bottom: 2px solid var(--ea-color-border);
	padding-bottom: 8px;
	margin-bottom: 16px;
}

.widget ul,
.widget ol {
	list-style: none;
	margin: 0;
	padding: 0;
}



.widget li {
	padding: 6px 0;
}

.widget li:last-child {
	padding-bottom: 0;
}

.widget ul ul,
.widget ul ol,
.widget ol ul,
.widget ol ol {
	padding-left: 15px;
	margin-bottom: 0;
}

.wp-block-categories-list li,
.wp-block-latest-posts li {
    transition: 0.5s;
    border-left: 0px solid #f2f2f2;
}

.wp-block-categories-list li ul li,
.wp-block-categories-list li ol li,
.wp-block-latest-posts li ul li,
.wp-block-latest-posts li ol li {
    padding-left: 15px;
}

a {
    color: #1e1e2a;
}

.wp-calendar-table {
    width: 100%;
}
table, th, td {
    border: 1px solid rgba(51, 51, 51, 0.1);
}
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 25px;
}
table {
    border-collapse: collapse;
}

.wp-calendar-table caption {
    color: #da292a;
}

.wp-calendar-table th {
    color: white;
    background: #da292a !important;
    text-align: center;
}

.widget_nav_menu .widget li {
	padding-left: 16px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;;
}

.widget_calendar {
	padding-top: 60px;
}

/* Search form */
.search-form {
	display: flex;
	gap: 8px;
}

.search-field {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field:focus {
	outline: 0;
	border-color: var(--ea-color-link);
	box-shadow: 0 0 0 3px rgba( 79, 70, 229, 0.15 );
}

.search-submit {
	padding: 10px 16px;
	border: 0;
	border-radius: var(--ea-radius);
	background: var(--ea-color-link);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-submit:hover {
	background: var(--ea-color-link-hover);
}

.search-submit::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Block search form */
.wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

.wp-block-search__label {
	display: block;
	margin-bottom: 8px;
	font-size: 1.1rem;
}

.wp-block-search__input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	color: #333;
	background: #fff;
}

.wp-block-search__button {
	padding: 10px 20px;
	border: 0;
	border-radius: var(--ea-radius);
	background: #da292a;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wp-block-search__button:hover {
	background: #c1231f;
}

/* 8. Comments ------------------------------------------------------------- */
.comments-area {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--ea-color-border);
}

.comments-title,
.comment-reply-title {
	font-size: 1.4rem;
	margin-bottom: 28px;
}

.comment-list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 0;
	padding-left: 28px;
	border-left: 2px solid var(--ea-color-border);
}

.comment-list li.comment {
	margin-bottom: 8px;
}

.comment-body {
	position: relative;
	padding: 22px 22px 22px 90px;
	margin-bottom: 16px;
	background: var(--ea-color-bg-alt);
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
}

.comment-author {
	display: block;
	line-height: 1.3;
}

.comment-author .avatar {
	position: absolute;
	top: 22px;
	left: 22px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.comment-author .fn {
	font-weight: 700;
	font-style: normal;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin-top: 2px;
	font-size: 0.8rem;
}

.comment-metadata a {
	color: var(--ea-color-muted);
	text-decoration: none;
}

.comment-content {
	margin-top: 12px;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-awaiting-moderation {
	font-size: 0.85rem;
	font-style: italic;
	color: var(--ea-color-muted);
}

.reply {
	margin-top: 10px;
}

/* Avatars disabled in discussion settings: drop the reserved gutter. */
.comment-body:not(:has(.avatar)) {
	padding-left: 22px;
}

.comment-reply-link {
	display: inline-block;
	padding: 5px 14px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--ea-color-link);
	border: 1px solid var(--ea-color-border);
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}

.comment-reply-link:hover {
	background: var(--ea-color-link);
	color: #fff;
	border-color: var(--ea-color-link);
}

.no-comments {
	color: var(--ea-color-muted);
	font-style: italic;
}

/* ---- Comment form ---- */
.comment-respond {
	padding: 28px;
	background: var(--ea-color-bg-alt);
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
}

.comment-notes,
.logged-in-as {
	font-size: 0.9rem;
	color: var(--ea-color-muted);
	margin-bottom: 18px;
}

.comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.comment-form p {
	margin: 0;
	flex: 1 1 100%;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
	flex: 1 1 220px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	color: var(--ea-color-text);
	background: var(--ea-color-bg);
	border: 1px solid var(--ea-color-border);
	border-radius: var(--ea-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 0;
	border-color: var(--ea-color-link);
	box-shadow: 0 0 0 3px rgba( 79, 70, 229, 0.15 );
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.comment-form .form-submit {
	flex: 1 1 100%;
}

.comment-form .submit {
	display: inline-block;
	padding: 12px 28px;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: var(--ea-color-link);
	border: 0;
	border-radius: var(--ea-radius);
	cursor: pointer;
	transition: background 0.2s ease;
}

.comment-form .submit:hover,
.comment-form .submit:focus {
	background: var(--ea-color-link-hover);
}

/* 9. Footer --------------------------------------------------------------- */
.qorntix-site-footer {
	background: var(--ea-color-bg-alt);
	border-top: 1px solid var(--ea-color-border);
	padding: 30px 0;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	margin-bottom: 24px;
}

.footer-navigation ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 0 16px;
	padding: 0;
}

.qorntix-site-footer .site-info {
	color: var(--ea-color-muted);
	font-size: 0.9rem;

	text-align: center;
}

/* 10. Alignments (block editor) ------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.85rem;
	color: var(--ea-color-muted);
	text-align: center;
}

.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

.wp-caption-text,
.gallery-caption,
.bypostauthor {
  opacity: 1;
}

.content-area-wrap .site-main article {
	display: flow-root;
}

.comments-area .comment-body {
	padding-bottom: 30px;
}


.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
}

.navigation.post-navigation .nav-title {
    overflow-wrap: break-word;
    word-break: break-word;
}

.blocks-gallery-item {
  list-style: outside none;
  padding-left: 0 !important;
}

.blocks-gallery-item:before {
  content: none !important;
}

.gallery-item {
  display: inline-block;
  padding: 1.79104477%;
  text-align: center;
  vertical-align: top;
}
.gallery-item img {
  display: inline-block !important;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
  width: 100%;
}

blockquote {
  font-style: normal;
  padding: 41px 40px;
  background: #fff5f6;
  border-left: 2px solid #ff3366;
  margin-bottom: 10px;
}
blockquote p,
blockquote cite {
  font-weight: 700;

}
.base-theme blockquote p{
  margin-bottom: 0 !important;
}

blockquote p,
blockquote cite {
  font-size: 20px;
  color: #222;
}

.pagination li {
    display: inline-block;
    margin: 0px 8px;
}

.pagination .page-numbers {
	padding-left: 0;
}

.pagination li .page-numbers {
    position: relative;
    display: inline-block;
    font-size: 16px;
    height: 55px;
    width: 55px;
    line-height: 55px;
    color: #222;
    background: #fbe9e9;
    font-family: 'Heebo', sans-serif;
    border-radius: 50%;
    font-weight: 700;
    text-align: center;
    transition: all 500ms ease;
}

.pagination li .page-numbers:hover, 
.pagination li .page-numbers.current {
    color: #fff;
}

.pagination li .page-numbers:hover, 
.pagination li .page-numbers.current {
    background: #da292a;
}

.pagination .next.page-numbers:hover img,
.pagination .prev.page-numbers:hover img {
	filter: brightness(0) invert(1);
}

/* Third level */
/* Parent menu */
.main-navigation .menu,
.main-navigation .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Required for absolute positioning */
.main-navigation .menu > li,
.main-navigation .sub-menu > li {
	position: relative;
}

/* Second level */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 999;
}

/* Show second level */
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

/* Third level */
.main-navigation .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: 2px;
}

/* Links */
.main-navigation .sub-menu a {
	display: block;
	padding: 12px 18px;
	text-decoration: none;
	white-space: nowrap;
}

/* Hover */
.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
	background: #f5f5f5;
}

/* Parent menu arrow */
.main-navigation .menu > li.menu-item-has-children > a {
	position: relative;
	padding-right: 18px;
}

.main-navigation .menu > li.menu-item-has-children > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.3s ease;
}

/* Rotate when dropdown is open */
.main-navigation .menu > li:hover > a::after,
.main-navigation .menu > li:focus-within > a::after {
	transform: translateY(-30%) rotate(225deg);
}

/* Submenu arrow */
.main-navigation .sub-menu li.menu-item-has-children > a {
	position: relative;
	padding-right: 22px;
}

.main-navigation .sub-menu li.menu-item-has-children > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 6px;
	height: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.wp-block-image {
	overflow: hidden;
}

/*----------------------------------------*/
/*  10. OFFCANVAS CSS START
/*----------------------------------------*/
/* Offcanvas styles */
.qorntix-offcanvas {
  position: fixed;
  top: 0;
  right: -300px;
  /* Initially hidden */
  width: 300px;
  height: 100%;
  background-color: #f8f9fa;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 99999;
  display: none;
}

.widget_pages {
	padding-top: 60px !important;
}

.widget_archive li, .widget_pages li, .widget_nav_menu li {
    transition: 0.5s;
    padding-left: 16px;
    position: relative;
    margin-top: 10px;
    font-family: 'Heebo', sans-serif;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.widget_tag_cloud .tagcloud a {
    background-color: #EFEFEF;
    padding: 8px 10px;
    font-size: 12px !important;
    text-transform: capitalize;
    color: #222;
    font-weight: 500;
    transition: 0.3s;
    line-height: 1.5;
}

.widget_tag_cloud .tagcloud a:hover {
    color: #fff;
    background-color: #da292a;
}

@media only screen and (max-width: 1199px) {
  .qorntix-offcanvas {
    display: block;
  }
}

.qorntix-offcanvas.left {
  left: -300px;
  /* Initially hidden */
  transition: left 0.3s ease;
}

/* Show the offcanvas by changing left position */
.qorntix-offcanvas.show {
  right: 0;
}

.qorntix-offcanvas.left.show {
  left: 0;
}

.offcanvas__area .offcanvas {
  min-height: 100vh;
  padding: 75px 50px;
  overflow-y: auto;
}
@media only screen and (max-width: 1399px) {
  .offcanvas__area .offcanvas {
    padding: 50px 40px;
  }
}
@media only screen and (max-width: 1199px) {
  .offcanvas__area .offcanvas {
    padding: 40px 30px;
  }
}
@media only screen and (max-width: 767px) {
  .offcanvas__area .offcanvas {
    padding: 20px 15px;
  }
}
.offcanvas__close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 16px;
  padding: 0 10px;
  z-index: 99;
}
.offcanvas__close:hover {
  color: var(--primary);
}
.offcanvas__logo {
  position: relative;
  padding-bottom: 140px;
}
@media only screen and (max-width: 1399px) {
  .offcanvas__logo {
    padding-bottom: 70px;
  }
}
@media only screen and (max-width: 1199px) {
  .offcanvas__logo {
    padding-bottom: 25px;
  }
}
@media only screen and (max-width: 767px) {
  .offcanvas__logo {
    padding-bottom: 25px;
  }
}
.offcanvas__logo img {
  max-width: 250px !important;
}
.offcanvas__logo .desc {
  margin-top: 40px;
}
@media only screen and (max-width: 1199px) {
  .offcanvas__logo .desc {
    margin-top: 20px;
  }
}
.offcanvas__logo .desc p:last-child {
  margin-bottom: 0;
}
.offcanvas__menu-area {
  overflow: hidden;
  overflow-y: auto;
}
@media only screen and (max-width: 1199px) {
  .offcanvas__menu-area {
    display: block;
  }
}
.offcanvas__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 20px;
  text-transform: capitalize;
}
.offcanvas__gallery {
  position: relative;
  padding-bottom: 140px;
}
@media only screen and (max-width: 1399px) {
  .offcanvas__gallery {
    padding-bottom: 70px;
  }
}
.offcanvas__media li {
  display: inline-block;
}
.offcanvas__media li a {
  display: block;
  color: var(--gray);
  font-size: 20px;
  padding: 0 10px;
}
.offcanvas__media li a:hover {
  color: var(--primary);
}

.gallery__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}
.gallery__item {
  position: relative;
}
.gallery__item a {
  display: block;
}
.gallery__item a:hover span {
  opacity: 1;
  visibility: visible;
}
.gallery__item span {
  color: var(--white);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background: rgba(0, 0, 0, 0.4);
}

.offcanvas__area.show .dp-menu {
  text-align: left;
}
.offcanvas__area.show .dp-menu.close {
  opacity: 0;
  visibility: hidden;
}
.offcanvas__area.show .dp-menu.open {
  opacity: 1;
  visibility: visible;
}
.offcanvas__area.show .open-offcanvas {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #D6D6D6;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
  padding: 12px 0;
}

.offcanvas__media svg {
  width: 1em;
  height: 1em;
}

.offcanvas__area .offcanvas {
  overflow-y: auto;
}
.offcanvas__area .offcanvas .main-menu > ul > li > ul.dp-menu li ul {
  top: 50px;
}
.offcanvas__area .offcanvas .main-menu > ul > li:hover > ul.dp-menu li:hover > ul {
  left: 0;
  top: 50px;
}

body .offcanvas__menu-wrapper {
  height: 100vh;
}

.offcanvas__area button {
	border: 0;
    background-color: transparent;
}

.offcanvas__menu-area .qorntix-mb-menu-items,
.offcanvas__menu-area .dp-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.offcanvas__menu-area .qorntix-mb-menu-items li,
.offcanvas__menu-area .dp-menu li {
	padding: 7px;
	position: relative;
}

.offcanvas__menu-area .qorntix-mb-menu-items a,
.offcanvas__menu-area .dp-menu a {
	text-decoration: none;
	color: #000;
	font-size: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.offcanvas__menu-area .qorntix-mb-menu-items > li.menu-item-has-children > a .nav-direction-icon::after,
.offcanvas__menu-area .dp-menu > li.menu-item-has-children > a .nav-direction-icon::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid grey;
	border-bottom: 2px solid grey;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
	margin-left: auto;
}

.offcanvas__menu-area .qorntix-mb-menu-items > li.menu-item-has-children.is-expanded > a .nav-direction-icon::after,
.offcanvas__menu-area .dp-menu > li.menu-item-has-children.is-expanded > a .nav-direction-icon::after {
	transform: rotate(-135deg);
}

.offcanvas__menu-area .dp-menu {
	display: none;
	padding-left: 10px;
	margin-top: 10px;
	transition: all 0.3s ease;
}

/* Reveal a submenu when it (or one of its links) receives keyboard focus, so
 * child items stay reachable and clearly highlighted for keyboard users. */
.offcanvas__menu-area .dp-menu:focus-within {
	display: block;
}

.offcanvas__menu-area .dp-menu[aria-expanded="true"] {
    display: block !important;
}

@media (min-width: 1200px) {

	.header__nav .nav-direction-icon {
		position: relative;
	}

	.header__nav .nav-direction-icon::after {
		content: "\e929";
		display: inline-block;
		font-family: "wcf-icon" !important;
		font-size: 15px;
	}

	.header__nav .dp-menu .nav-direction-icon::after {
		content: "\e928";
	}
}


@media (max-width: 767px) {
  .offcanvas.offcanvas-end {
    border-left: none !important;
  }
}

@media screen and (min-width: 30em) {
  .gallery-columns-1 .gallery-item {
    max-width: 100%;
  }
}
.gallery-columns-2 .gallery-item {
  max-width: 100%;
  width: 50%;
}

@media screen and (min-width: 30em) {
  .gallery-columns-2 .gallery-item {
    max-width: 50%;
  }
}
.gallery-columns-3 .gallery-item {
  max-width: 100%;
  width: 33.33%;
}

@media screen and (min-width: 30em) {
  .gallery-columns-3 .gallery-item {
    max-width: 33.33%;
  }
}
.gallery-columns-4 > .gallery-item {
  max-width: 100%;
  width: 25%;
}

@media screen and (min-width: 30em) {
  .gallery-columns-4 .gallery-item {
    max-width: 25%;
  }
}
.gallery-columns-5 .gallery-item {
  max-width: 100%;
  width: 20%;
}

@media screen and (min-width: 48em) {
  .gallery-columns-5 .gallery-item {
    max-width: 20%;
  }
}
.gallery-columns-6 .gallery-item {
  max-width: 100%;
  width: 16.66%;
}

@media screen and (min-width: 48em) {
  .gallery-columns-6 .gallery-item {
    max-width: 16.66%;
  }
}
.gallery-columns-7 .gallery-item {
  max-width: 100%;
  width: 14.28%;
}

@media screen and (min-width: 48em) {
  .gallery-columns-7 .gallery-item {
    max-width: 14.28%;
  }
}
.gallery-columns-8 .gallery-item {
  max-width: 100%;
  width: 12.5%;
}

@media screen and (min-width: 48em) {
  .gallery-columns-8 .gallery-item {
    max-width: 12.5%;
  }
}
.gallery-columns-9 .gallery-item {
  max-width: 100%;
  width: 11.11%;
}

@media screen and (min-width: 48em) {
  .gallery-columns-9 .gallery-item {
    max-width: 11.11%;
  }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .blog-single-post-area .comment-wrap .comment-detail .comment-detail-list .single-comment + .children {
    padding-left: 10px;
  }
  .blog-single-post-area .comment-wrap .comment-detail .comment-detail-list .single-comment .comment__text {
    width: 100%;
    display: block;
  }
  .blog-single-post-area .comment-wrap .comment-detail .comment-detail-list .single-comment .comment__image {
    display: block;
    margin-bottom: 20px;
  }
}
.comment.single-comment.yes-ping {
  padding: 0;
}

.sticky_post_icon {
  position: absolute;
  top: 11px;
  right: 15px;
}

/* 11. Responsive ---------------------------------------------------------- */
@media (max-width: 782px) {
	.content-area-wrap {
		flex-direction: column;
	}

	.widget-area {
		flex-basis: auto;
		max-width: none;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
	}

	.main-navigation .menu {
		display: none;
	}
}
