:root {
	--homa-primary-color: #0066ff;
	--homa-primary-hover-color: #0051cc;
	--homa-secondary-color: #2B2D42;
	--homa-secondary-hover-color: #54595F;

	--homa-cta-color: #F95A1B;
	--homa-cta-hover-color: #CE4A16;

	--homa-accent-color: #024E73;
	--homa-success-color: #22C55E;

    --homa-bg-color: #f1f1f1;
	--homa-white-color: #FFFFFF;
	--homa-black-color: #000000;
    --homa-text-color: #333;
	--homa-light-color: #ebe3d9;/*#e6f4f1;*/

    --homa-text-sub-color: var(--homa-secondary-color);
    --homa-link-color: var(--homa-text-color);
	--homa-link-active-color: var(--homa-primary-color);
    --homa-border-color: var(--homa-light-color);
    --homa-label-color: var(--homa-secondary-color);
	--homa-input-bg-color: var(--homa-bg-color);
	--homa-shadow: 0px 6px 12px 0px rgb(0 0 0 / 10%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --bs-primary: var(--homa-primary-color);
    --bs-secondary: var(--homa-secondary-color);
    --bs-success: var(--homa-success-color);
    --bs-border-color: var(--homa-border-color);
    --bs-link-color: var(--homa-link-color);
    --bs-link-hover-color: var(--homa-primary-color);
}

/**
 * FONT
 */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/vazirmatn/light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/vazirmatn/bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/vazirmatn/semi-bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/vazirmatn/extra-bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/vazirmatn/regular.woff2') format('woff2');
    font-display: swap;
}

/**
 * GENERAL STYLES
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Vazirmatn', 'tahoma', sans-serif;
}

html {
	font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    direction: rtl;
    unicode-bidi: embed;
	overflow-x: clip;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	color: var(--homa-text-color);
	background-color: var(--homa-bg-color);
	font-size: 1rem;
	line-height: 1.6;
	font-weight: normal;
}

a:not(.btn) {
	color: var(--homa-link-color);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:not(.btn):hover,
a:not(.btn):focus {
	color: var(--homa-link-active-color);
	text-decoration: none;
}

a:focus,
button:focus {
	outline: 0;
}

a,
area,
button,
input,
label,
select,
summary,
textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: var(--homa-text-sub-color);
	font-family: 'Vazirmatn', 'tahoma', sans-serif;
}

:-moz-placeholder {
	color: var(--homa-text-sub-color);
	font-family: 'Vazirmatn', 'tahoma', sans-serif;
}

::-moz-placeholder {
	color: var(--homa-text-sub-color);
	font-family: 'Vazirmatn', 'tahoma', sans-serif;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: var(--homa-text-sub-color);
	font-family: 'Vazirmatn', 'tahoma', sans-serif;
}

b,
strong {
    font-weight: bold;
}

img,
object,
figure,
iframe,
embed {
    max-width: 100%;
    height: auto;
	border: 0;
}

legend {
    font-size: 1.2rem;
    font-weight: bold;
}

ul,
ol,
li {
	margin: 0;
	padding: 0;
}

button,
input {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	line-height: normal;
}

input,
select,
button,
textarea {
	font-weight: normal;
}

label {
	color: var(--homa-label-color);
	font-size: 1rem;
	font-weight: normal;
}

input:not(.form-control),
textarea:not(.form-control),
select:not(.form-select) {
	display: block;
    width: 100%;
    padding: 16px;
    color: var(--homa-text-color);
    background-color: var(--homa-input-bg-color);
    background-clip: padding-box;
    font-size: 15px;
    line-height: 1.5;
    font-weight: normal;
    border: 0;
    border-radius: 6px;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline-block;
    width: auto;
}

textarea {
	resize: none;
}

input:not(.form-control):focus,
textarea:not(.form-control):focus,
select:not(.form-select):focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

input[type="button"]:not(.btn),
input[type="submit"]:not(.btn),
input[type="reset"]:not(.btn),
button:not(.btn,.accordion-button,.nav-link) {
	display: inline-block;
	width: auto;
	padding: 1rem 1.5rem;
	font-size: 15px;
	font-weight: bold;
    color: var(--homa-white-color);
    background-color: var(--homa-primary-color);
    border: 0;
	border-radius: 6px;
	text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
	transition: var(--transition-smooth);
}

input[type="button"]:not(.btn):hover,
input[type="button"]:not(.btn):focus,
input[type="button"]:not(.btn):active,
input[type="submit"]:not(.btn):hover,
input[type="submit"]:not(.btn):focus,
input[type="submit"]:not(.btn):active,
input[type="reset"]:not(.btn):hover,
input[type="reset"]:not(.btn):focus,
input[type="reset"]:not(.btn):active,
button:not(.btn,.accordion-button,.nav-link):hover,
button:not(.btn,.accordion-button,.nav-link):focus,
button:not(.btn,.accordion-button,.nav-link):active {
	color: var(--homa-white-color);
    background-color: var(--homa-primary-hover-color);
}

.clear {
	clear: both;
}

.nobreak {
	white-space: nowrap;
}

.hidden {
    display: none;
}

.visible {
	display: block;
	opacity: 1!important;
}

.fullwidth {
	display: block;
	width: 100%!important;
	height: auto;
}

.left {
	float: left;
}

.right {
	float: right;
}

.alignnone {
    margin: 0.5rem 0 0 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.aligncenter {
    display: block;
	text-align: center;
	margin: 0 auto;
}

.alignvertical {
	margin: 0.6rem 0 0.25rem;
}

.textleft {
	text-align: left;
}

.textright {
	text-align: right;
}

.image-border,
.wp-caption {
	border: 1px solid var(--homa-border-color);
	padding: 3px;
	background: var(--homa-bg-color);
	overflow: hidden;
}

.wp-caption {
	margin-bottom: 1rem;
	max-width: 100%;
}

.wp-caption img {
	display: block;
	width: 100%;
	height: auto;
}

.gallery-caption,
.wp-caption-text,
.wp-caption-dd {
    padding: 0.5rem 0;
    text-align: center;
    background: var(--homa-bg-color);
	margin: 0.5rem 0.8rem;
}

.transition {
	transition: var(--transition-smooth);
}

.line-2 {
	line-height: 2rem !important;
}

.font-12 {
	font-size: 12px !important;
}

.font-13 {
	font-size: 13px !important;
}

.font-15 {
	font-size: 15px !important;
}

.font-16 {
	font-size: 16px !important;
}

.font-17 {
	font-size: 17px !important;
}

.font-18 {
	font-size: 18px !important;
}

.font-20 {
	font-size: 20px !important;
}

.font-22 {
	font-size: 22px !important;
}

.font-24 {
	font-size: 24px !important;
}

.font-30 {
	font-size: 30px !important;
}

.font-40 {
	font-size: 40px !important;
}

.ellipsis {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ellipsis-2,
.ellipsis-3 {
    line-height: 1.6rem;
    max-height: 3.2rem;
    overflow: hidden;
    display: block;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}

.ellipsis-3 {
    max-height: 4.8rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.rounded-xl {
    border-radius: 24px !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.rounded-md {
    border-radius: 6px !important;
}

.no-style {
    list-style: none;
}

.text-justify {
	text-align: justify;
}

.text-cta {
	color: var(--homa-cta-color)!important;
}

.bg-cta {
    background-color: var(--homa-cta-color) !important;
}

.bg-highlight {
	background-color: var(--homa-light-color);
}

.fill-primary svg {
	fill: var(--homa-primary-color)!important;
}

.fill-secondary svg {
	fill: var(--homa-text-sub-color)!important;
}

.fill-dark svg {
	fill: var(--homa-text-color)!important;
}

.main-title {
	display: inline-block;
	position: relative;
	line-height: 2;
}

.main-title::after {
	content: "";
	position: absolute;
	bottom: -8px;
	right: 0;
	width: 60px;
	height: 5px;
	background: linear-gradient(90deg, var(--homa-primary-color), var(--homa-primary-hover-color));
	border-radius: 2px;
}

.main-title.is-center {
	display: block;
	text-align: center;
}

.main-title.is-center::after {
	right: calc(50% - 30px);
}

.btn.svg-animate > svg {
	transition: var(--transition-smooth);
}

.btn.svg-animate:hover > svg,
.btn.svg-animate:focus > svg,
.btn.svg-animate:active > svg {
	transform: translateX(-3px);
}

.ltr {
	direction: ltr;
}

/**
 * EDITOR
 */
.editor-content {
	font-weight: normal;
	line-height: 2.2;
	font-size: 15px;
}

.editor-content p {
	margin-bottom: 1.5rem;
}

.editor-content p:last-child {
	margin: 0;
}

.editor-content figcaption {
	display: block;
	width: 100%;
	margin-bottom: 12px;
	color: var(--homa-text-sub-color);
	font-size: 15px;
}

.editor-content ul,
.editor-content ol {
	padding-right: 1rem;
}

.editor-content blockquote {
	position: relative;
	margin: 1rem 0;
	padding: 15px 50px 15px 0;
}

.editor-content blockquote:before{
	content: '';
	position: absolute;
	right: 0;
	top: 10px;
	background-repeat: no-repeat;
	background-size: 48px;
	width: 48px;
	height: 48px;
	opacity: 0.2;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M544 360C544 426.3 490.3 480 424 480L416 480C398.3 480 384 465.7 384 448C384 430.3 398.3 416 416 416L424 416C454.9 416 480 390.9 480 360L480 352L416 352C380.7 352 352 323.3 352 288L352 224C352 188.7 380.7 160 416 160L480 160C515.3 160 544 188.7 544 224L544 360zM288 360C288 426.3 234.3 480 168 480L160 480C142.3 480 128 465.7 128 448C128 430.3 142.3 416 160 416L168 416C198.9 416 224 390.9 224 360L224 352L160 352C124.7 352 96 323.3 96 288L96 224C96 188.7 124.7 160 160 160L224 160C259.3 160 288 188.7 288 224L288 360z"/></svg>');
}

.editor-content blockquote p {
	font-size: 20px;
}

.editor-content blockquote cite {
    font-weight: bold;
    padding-right: 16px;
    position: relative;
}

.editor-content blockquote cite:before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 8px;
    height: 2px;
    background-color: var(--homa-text-color);
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
	width: fit-content;
	padding-bottom: 6px;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	font-weight: 800;
	border-bottom: 2px solid var(--homa-primary-color);
	scroll-margin-top: 6rem;
}

.editor-content h1 {
	font-size: 1.5rem;
}

.editor-content h2 {
	font-size: 1.4rem;
}

.editor-content h3 {
	font-size: 1.3rem;
}

.editor-content h4 {
	font-size: 1.2rem;
}

.editor-content h5 {
	font-size: 1.1rem;
}

.editor-content h6 {
	font-size: 1rem;
}

#app-reading-position-indicator {
	left: auto;
    width: 0;
    height: 4px;
	z-index: 9999;
    transition: width 120ms linear;
}

/**
 * BOOTSTRAP
 */
.btn-primary {
	color: var(--homa-white-color) !important;
	background-color: var(--homa-primary-color) !important;
	border-color: var(--homa-primary-color) !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	color: var(--homa-white-color) !important;
	background-color: var(--homa-primary-hover-color) !important;
	border-color: var(--homa-primary-hover-color) !important;
}

.btn-secondary {
	color: var(--homa-white-color) !important;
	background-color: var(--homa-secondary-color) !important;
	border-color: var(--homa-secondary-color) !important;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
	color: var(--homa-white-color) !important;
	background-color: var(--homa-secondary-hover-color) !important;
	border-color: var(--homa-secondary-hover-color) !important;
}

.text-primary {
	color: var(--homa-primary-color)!important;
}

.text-secondary {
	color: var(--homa-text-sub-color)!important;
}

.text-dark {
	color: var(--homa-text-color)!important;
}

.bg-primary {
    background-color: var(--homa-primary-color) !important;
}

/**
 * BACKDROP
 */
.app-backdrop {
    background: rgba(0,10,20,0.5);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.app-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.app-backdrop.app-search-backdrop {
    z-index: 90;
}

.app-backdrop.app-menu-backdrop {
    z-index: 190;
}

/**
 * MOBILE MENU
 */
.app-mobile-menu {
    width: 17.5rem;
    max-width: 90%;
    z-index: 200;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    transform: translateX(100%);
}

.app-mobile-menu.open {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
}

.app-mobile-menu .main-menu {
    list-style: none;
	overflow: hidden;
}

.app-mobile-menu .main-menu > li {
    display: block;
	position: relative;
    padding: 0.5rem 1.5rem;
    margin: 0;
}

.app-mobile-menu .main-menu > li a {
    color: var(--homa-link-color);
    transition: var(--transition-smooth);
}

.app-mobile-menu .main-menu > li a:hover,
.app-mobile-menu .main-menu > li a:focus {
    color: var(--homa-primary-color);
}

.app-mobile-menu .main-menu > .menu-item-has-children:after {
    content: "";
	position: absolute;
	left: 1rem;
	top: 0.75rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: transparent;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M297.4 438.6C309.9 451.1 330.2 451.1 342.7 438.6L502.7 278.6C515.2 266.1 515.2 245.8 502.7 233.3C490.2 220.8 469.9 220.8 457.4 233.3L320 370.7L182.6 233.4C170.1 220.9 149.8 220.9 137.3 233.4C124.8 245.9 124.8 266.2 137.3 278.7L297.3 438.7z"/></svg>');
    transition: var(--transition-smooth);
}

.app-mobile-menu .main-menu > li .sub-menu {
    display: block;
	overflow: hidden;
	padding: 0;
	list-style: none;
	opacity: 0;
	pointer-events: none;
	height: 0;
	transition: var(--transition-smooth);
}

.app-mobile-menu .main-menu > li.open .sub-menu {
	opacity: 1;
	pointer-events: all;
	height: auto;
}

.app-mobile-menu .main-menu .sub-menu > li:first-child {
	margin-top: 0.5rem;
}

.app-mobile-menu .main-menu .sub-menu a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
}

@media( max-width: 350px ) {
	.app-mobile-menu .main-menu > li a {
		font-size: 0.75rem;
	}
}

/**
 * HEADER
 */
.app-header {
	position: relative;
	transform: translateY(0);
	transition: var(--transition-smooth);
	will-change: transform;
	padding: 24px 0;
	z-index: 99;
}

.admin-bar .app-header {
	top: 32px!important;
}

.app-header.narrow {
	padding: 12px 0;
}

.app-header.hide {
	-webkit-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%)
}

.app-header-filler {
	background: transparent;
	height: 96.5px;
}

.app-header .logo img {
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 48px;
    object-fit: cover;
}

.app-header .main-menu {
    list-style: none;
}

.app-header .main-menu > li {
    position: relative;
    padding: 0.8rem 0;
    margin: 0;
}

.app-header .main-menu > li a {
    color: var(--homa-link-color);
    font-size: 0.9rem;
    font-weight: normal;
    transition: var(--transition-smooth);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
}

.app-header .main-menu > li a:hover,
.app-header .main-menu > li a:focus {
    color: var(--homa-link-active-color);
}

.app-header .main-menu > .menu-item-has-children > a:after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: transparent;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M297.4 438.6C309.9 451.1 330.2 451.1 342.7 438.6L502.7 278.6C515.2 266.1 515.2 245.8 502.7 233.3C490.2 220.8 469.9 220.8 457.4 233.3L320 370.7L182.6 233.4C170.1 220.9 149.8 220.9 137.3 233.4C124.8 245.9 124.8 266.2 137.3 278.7L297.3 438.7z"/></svg>');
    transition: var(--transition-smooth);
}

.app-header .main-menu > .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

.app-header .main-menu > li .sub-menu {
    display: block;
    position: absolute;
    top: calc(100% - 10px);
    right: -1rem;
    margin: 0;
    padding: 1rem;
    background-color: #fff;
    box-shadow: var(--homa-shadow);
    border-radius: 12px;
    list-style: none;
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
}

.app-header .main-menu > li:hover > .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(10px);
}

.app-header .main-menu li .sub-menu li {
    display: block;
    min-width: 10rem;
    margin: 0.5rem 0;
}

.app-header .search-btn svg,
.app-header .close-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.app-header .search-btn,
.app-header .search-btn:hover,
.app-header .search-btn:active,
.app-header .search-btn:focus {
    border: 0 !important;
    box-shadow: none !important;
}

.app-header .close-btn:hover {
    background-color: var(--homa-primary-color);
}

.app-header .close-btn svg {
    fill: var(--homa-text-sub-color);
    transition: var(--transition-smooth);
}

.app-header .close-btn:hover svg,
.app-header .close-btn:focus svg,
.app-header .close-btn:active svg {
    fill: #fff;
}

.app-header .menu-btn {
    position: relative;
    width: 26px;
    height: 24px;
}

.app-header .menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.app-header .menu-btn span.one {
    top: 2px;
}

.app-header .menu-btn span.two {
    top: 50%;
    margin-top: -1px;
}

.app-header .menu-btn span.three {
    bottom: 2px;
}

.app-header .menu-btn.open span.two {
    opacity: 0;
}

.app-header .menu-btn.open span.one {
    transform: rotate(-45deg);
    transform-origin: top right;
    right: 4px;
    left: auto;
}

.app-header .menu-btn.open span.three {
    transform: rotate(45deg);
    transform-origin: bottom right;
    right: 4px;
    left: auto;
}

.app-header .app-search {
    opacity: 0;
    pointer-events: none;
    top: -100%;
    transition: var(--transition-smooth);
    z-index: 99;
}

.app-header .app-search.open {
    opacity: 1;
    pointer-events: all;
    top: 0;
}

@media( max-width: 1099px ) {
    .app-header .main-menu > li {
        padding: 0.8rem 0;
        margin: 0 0.3rem;
    }

    .app-header .main-menu > li a {
        font-size: 0.7rem;
    }
}

/**
 * MAIN SLIDER
 */
.app-main-banner {
	aspect-ratio: 372 / 100;
}

/**
 * FEATURES
 */
.app-feature-card {
	border: 2px solid transparent;
}

.app-feature-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--homa-shadow);
	border-color: var(--homa-primary-color);
}

.app-feature-card .item-icon {
	width: 80px;
	height: 80px;
	box-shadow: var(--homa-shadow);
}

.app-feature-card .item-icon i {
	font-size: 2rem;
	color: white;
}

/**
 * SPECIAL OFFER
 */
.app-offer-card {
	position: relative;
	box-shadow: 0 10px 40px -10px rgba(255, 59, 59, 0.15);
	transition: var(--transition-smooth);
	border: 1px solid rgba(0,0,0,0.03);
}

.app-offer-card:hover {
	box-shadow: 0 20px 50px -12px rgba(255, 59, 59, 0.25);
}

.app-offer-card .content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.app-offer-card .badge {
	color: var(--homa-cta-color);
	background: var(--homa-light-color);
}

.app-offer-card .description {
	max-width: 500px;
}

.app-offer-card .visual {
	aspect-ratio: 1 / 1;
}


/**
 * POST CARDS
 */
.app-post-card .item-image,
.app-course-card .item-image {
	aspect-ratio: 8 / 7;
}

.app-post-card .item-image .is-video,
.app-post-card .item-image .is-podcast {
	background: rgb(0 0 0 / 15%);
}

.app-post-card .item-image .is-video svg,
.app-post-card .item-image .is-podcast svg {
	fill: var(--homa-white-color);
}

.app-post-card .item-title {
	height: 4.8rem;
}

.app-course-card .item-content {
	height: 155px;
}

.app-post-card .item-details,
.app-course-card .item-details {
	left: 24px;
	bottom: 24px;
	width: 20px;
	height: 20px;
	opacity: 0;
	visibility: hidden;
	transform-origin: center center;
	transform: translateY(16px);
}

.app-post-card .item-details svg,
.app-course-card .item-details svg {
	fill: var(--homa-primary-color);
}

.app-post-card:hover .item-details,
.app-course-card:hover .item-details {
	opacity: 1;
	visibility: visible;
	transform: rotateX(0deg);
}

.app-post-card:hover,
.app-course-card:hover {
    box-shadow: var(--homa-shadow);
}

/**
 * TESTIMONIALS
 */
.app-quote-card .item-author img {
	height: 64px;
	width: 64px;
	max-width: 64px;
}

.app-quote-card .item-author .name {
	position: relative;
	width: auto;
	padding-right: 12px;
}

.app-quote-card .item-author .name:before {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
	right: 0;
	top: 12px;
    background-color: var(--homa-text-color);
}

/**
 * JOIN BOX
 */
.app-join-widget {
	background-color: var(--homa-primary-color);
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(../img/join-us.svg);
}

.app-join-widget .title {
	color: var(--homa-white-color);
}

.app-join-widget .btn {
	width: 128px;
	max-width: 128px;
	background-color: rgba(0, 0, 0, 0.1);
}

.app-join-widget:hover {
	background-color: var(--homa-white-color);
	box-shadow: var(--homa-shadow);
}

.app-join-widget:hover .btn {
	background-color: var(--homa-primary-color);
}

.app-join-widget:hover .title {
	color: var(--homa-primary-color);
}

/**
 * INSTAGRAM BOX
 */
.app-bio-insta-box .insta-card {
	width: 100%;
	max-width: 380px;
	background: #ffffff;
	border-radius: 32px;
	padding: 30px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f0f0;
	transition: transform 0.3s ease;
	text-align: center;
}

.app-bio-insta-box .insta-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
}

.app-bio-insta-box .insta-avatar-box {
	width: 110px;
	height: 110px;
	margin: 0 auto 20px auto;
	padding: 4px;
	border-radius: 50%;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	position: relative;
}

.app-bio-insta-box .insta-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #ffffff;
	background-color: #eee;
}

.app-bio-insta-box .verified-badge {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background-color: #fff;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.app-bio-insta-box .insta-handle {
	font-weight: 800;
	font-size: 1.2rem;
	color: #262626;
	margin-bottom: 5px;
	font-family: sans-serif;
	direction: ltr;
}

.app-bio-insta-box .insta-stats-row {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 25px 0;
	border-top: 1px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
	padding: 15px 0;
}

.app-bio-insta-box .stat-item {
	display: flex;
	flex-direction: column;
}

.app-bio-insta-box .stat-val {
	font-weight: 600;
	font-size: 1.1rem;
	color: #262626;
}

.app-bio-insta-box .stat-lbl {
	font-size: 0.8rem;
	color: var(--homa-secondary-color);
}

.app-bio-insta-box .insta-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 25px;
}

.app-bio-insta-box .grid-img {
	width: 100%;
	aspect-ratio: 1/1;
	background-color: #eee;
	border-radius: 8px;
	object-fit: cover;
}

/**
 * DOWNLOAD APPLICATION
 */
.app-download-homa .hand-phone-svg {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 300px;
	filter: drop-shadow(10px 15px 20px rgba(233, 84, 32, 0.15));
	transition: var(--transition-smooth);
}

.app-download-homa .hand-phone-svg:hover {
	transform: translateY(0px) scale(1.02);
}

.app-download-homa .description {
	max-width: 90%;
}

@media( max-width: 991px ) {
	.app-download-homa .description {
		max-width: 100%;
	}
}

@media( max-width: 767px ) {
	.app-download-homa .title,
	.app-download-homa .description {
		text-align: center;
	}

	.app-download-homa .hand-phone-svg {
		max-height: 200px;
		margin-bottom: 2rem;
	}
}

/**
 * APP FAQ
 */
.app-accordion .accordion-item:hover {
	box-shadow: var(--homa-shadow);
}

.app-accordion .accordion-item:hover .accordion-button {
	color: var(--homa-primary-color);
}

.app-accordion .accordion-button:not(.collapsed) {
	background: transparent;
	color: var(--homa-text-color);
}

/**
 * FOOTER
 */
.app-footer {
    background-color: #000;
}

.app-footer .footer-widget p {
	margin-bottom: 1rem;
}

.app-footer .footer-widget p:last-child {
	margin: 0;
}

.app-footer .footer-widget p img {
	max-width: 216px;
}

.app-footer .footer-widget ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.app-footer .footer-widget ul li {
	display: block;
	width: 100%;
	padding: 2px 0;
}

.app-footer .footer-widget a {
	font-weight: 300;
	color: var(--homa-white-color);
	transition: var(--transition-smooth);
}

.app-footer .footer-widget a:hover,
.app-footer .footer-widget a:focus {
	color: var(--homa-primary-color);
}

.app-footer .copyright-row {
    background-color: #0e0e0e;
}

.app-footer .social-widget a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0.75rem;
	border-radius: 1rem;
	transition: var(--transition-smooth);
}

.app-footer .social-widget a > img {
    width: auto;
	height: 28px;
    max-width: 28px;
}

.app-footer .social-widget a > svg {
    fill: #fff;
	width: 28px;
	height: 28px;
}

.app-footer .social-widget a:hover,
.app-footer .social-widget a:focus {
	background-color: transparent;
}

/**
 * BACK TO TOP
 */
.back-to-top-btn {
	display: flex;
	bottom: 3rem;
	right: 1rem;
	width: 55px;
	height: 55px;
	box-shadow: var(--homa-shadow);
	z-index: 5;
}

.back-to-top-btn svg {
	fill: var(--homa-secondary-color);
}

/**
 * BREADCRUMB
 */
.app-breadcrumb {
	background-color: var(--homa-light-color);
}

/**
 * SIDEBAR
 */
.app-sidebar-widget ul,
.app-sidebar-widget ol {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	line-height: 2;
	margin: 0;
	padding: 0;
	list-style: none;
}

/**
 * COLUMNS
 */
.app-main .app-side-col {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
    top: 5rem;
}

 @media( min-width:992px ) {
	.app-main .app-side-col {
		width: 300px;
		max-width: 300px;
	}

	.app-main .app-main-col {
		width: calc(100% - 300px);
		max-width: calc(100% - 300px);
	}
}

/**
 * PAGINATION
 */
.app-navigation .page-item {
	margin: 6px;
}

.app-navigation .page-link {
	width: 45px;
    height: 45px;
	padding: 0;
	color: var(--homa-text-color);
	background-color: var(--homa-white-color);
    display: flex;
    justify-content: center;
    align-items: center;
	border: 0;
    border-radius: 6px;
	transition: var(--transition-smooth);
}

.app-navigation .page-link svg {
	fill: var(--homa-text-color);
	width: 18px;
	height: 18px;
	transition: var(--transition-smooth);
}

.app-navigation .page-link:hover,
.app-navigation .page-link:focus,
.app-navigation .active .page-link {
	color: var(--homa-white-color);
	background-color: var(--homa-primary-color);
}

.app-navigation .page-link:hover svg,
.app-navigation .page-link:focus svg,
.app-navigation .active .page-link svg {
	fill: var(--homa-white-color);
}

.app-navigation .disabled .page-link {
	color: var(--homa-text-color);
	background-color: var(--homa-light-color);
	cursor: not-allowed;
}

.app-navigation .disabled .page-link svg {
	fill: var(--homa-text-color);
}

/**
 * SINGLE
 */
.app-article .article-tags a {
	display: block;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--homa-border-color);
}

.app-article .article-tags a:hover,
.app-article .article-tags a:focus {
	color: var(--homa-white-color);
	background-color: var(--homa-secondary-color);
	border-color: transparent;
}

.article-toc .toc-spinner svg {
    animation: spin 1s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    to {transform: rotate(360deg)}
}

.article-toc ul {
    list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.article-toc li {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: .25rem;
	font-size: 15px;
	line-height: 1.8rem;
}

.article-toc li::before {
	content: "\2190";
	display: block;
	color: var(--homa-secondary-color);
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	overflow: hidden;
}

.article-toc li.h3-level {
    padding-right: 1rem;
	font-size: 14px;
}

.article-toc li.h4-level {
    padding-right: 1.5rem;
	font-size: 13px;
}

.article-toc li.h5-level,
.article-toc li.h6-level {
    padding-right: 2rem;
	font-size: 12px;
}

.app-article .podcast-header img {
	width: 200px;
	height: 200px;
}

.app-article .podcast-header audio {
	display: block;
	margin: 0;
	width: 100%;
}

.app-article .video-player,
.app-course-single .video-player {
	width: 100%;
	aspect-ratio: 16/9;
	position: relative;
}

.app-article .video-player video,
.app-course-single .video-player video {
	display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: cover;
}

/**
 * COURSE PAGE
 */
@media( min-width:992px ) {
	.app-course-single .course-video-col {
		width: calc(100% - 350px);
		max-width: calc(100% - 350px);
	}

	.app-course-single .course-widget-col {
		width: 350px;
		max-width: 350px;
	}

	.app-course-single .course-main-col {
		width: calc(100% - 250px);
		max-width: calc(100% - 250px);
	}

	.app-course-single .course-side-col {
		width: 250px;
		max-width: 250px;
	}
}

.app-course-single .course-section {
	scroll-margin-top: 6rem;
}

.app-course-single .instructor-photo {
	width: 100px;
	height: 100px;
}

.app-course-single .accordion .accordion-body {
	padding:12px 16px;
	border-radius:8px;
	background:#fff;
}

.app-course-single .accordion .lesson-item {
	display:flex;
	justify-content:space-between;
	gap:12px;
	padding:10px 6px;
	border-bottom:1px dashed #eef2f7;
}

.app-course-single .accordion .lesson-item:last-child {
	border-bottom:0;
}

.app-course-single .review-card .avatar {
	width: 48px;
	height: 48px;
}

.app-course-single .course-sidebar {
	position: sticky;
	top: 110px;
}

@media(max-width: 991px) {
	.app-course-single .course-sidebar {
		position: static;
		top: auto;
	}

	.course-fixed-cta {
		position: fixed;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 99;
		margin: 0 !important;
		border-radius: 0 !important;
		display: flex;
		flex-direction: row;
		gap: 1rem;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.course-fixed-cta .main-price {
		display: none!important;
	}

	.course-fixed-cta .btn {
		width: 70%!important;
		max-width: 70%;
	}

	.course-fixed-cta .item-price {
		width: 30%;
		max-width: 30%;
		margin: 0!important;
	}
}

/**
 * LOGIN PAGE
 */
.app-auth-wrapper {
	max-width: 500px;
}

/**
 * LANDING
 */
.landing-page {
	background: #0a0e27;
}

.landing-page .landing-container {
	width: 800px;
}

.landing-page .landing-content h1,
.landing-page .landing-content h2,
.landing-page .landing-content h3,
.landing-page .landing-content h4,
.landing-page .landing-content h5,
.landing-page .landing-content h6 {
	width: 100%;
	padding: 0;
	margin-top: 0;
	border: none;
}

.landing-page .registration-form {
	width: 400px;
	max-width: 100%;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-page .form-control {
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}

.landing-page .form-control::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.landing-page .form-control:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--primary-green);
}

.landing-page .countdown-timer {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.landing-page .countdown-item {
	text-align: center;
}

.landing-page .countdown-value {
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 1rem 1.5rem;
	font-size: 2rem;
	font-weight: 800;
	color: white;
	min-width: 80px;
	display: block;
	margin-bottom: 0.5rem;
}

.landing-page .countdown-label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
	.landing-page .countdown-timer {
		gap: 0.75rem;
	}
	
	.landing-page .countdown-value {
		padding: 0.75rem 1rem;
		font-size: 1.5rem;
		min-width: 60px;
	}
}

/**
 * Comments
 */
.comments-area .title-comments {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment,
.comment-list .review {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ced4da;
}

.comment-list .comment:last-child,
.comment-list .review:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-list .children {
    list-style: none;
    margin: 1.5rem 0 0;
    padding-right: 0;
    margin-right: 2.5rem; 
}

.comment-list .children li {
    padding: 1rem;
    border-right: 3px solid #6c757d;
}

.comment-list .comment-body {
    display: flex;
    flex-direction: column;
}

.comment-list .comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.comment-list .comment-author {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.comment-list .comment-author .avatar {
    border-radius: 50%;
    border: 2px solid var(--homa-label-color);
    margin-left: 10px;
}

.comment-list .comment-author .fn {
    font-weight: bold;
    color: #343a40;
    line-height: 1;
}

.comment-list .comment-author .says {
    display: none;
}

.comment-list .comment-metadata {
    font-size: 0.8rem;
    color: var(--homa-label-color);
}

.comment-list .comment-metadata a {
    color: inherit;
    text-decoration: none;
	pointer-events: none;
}

.reply {
    font-size: 0.9rem;
}

.comment-reply-link {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--homa-light-color);
    color: var(--homa-secondary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.comment-reply-link:hover {
    background-color: var(--homa-secondary-color);
    color: var(--homa-white-color)!important;
}

.comment-respond {
    margin-top: 1.5rem;
}

.comment-reply-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cancel-comment-reply-link {
    font-size: 0.8rem;
    margin-right: 1rem;
    color: var(--homa-cta-color);
    text-decoration: none;
}

.comment-respond span.required {
	color: var(--homa-cta-color);
}

/**
 * WC REVIEWS
 */
.woocommerce .star-rating {
    float: none;
    margin: 0 0 10px;
    font-size: 1rem;
    width: 5.4em;
    color: #ffb400;
}

.woocommerce .star-rating * {
	font-family: WooCommerce;
}

.woocommerce .star-rating::before {
    color: #e0e0e0;
    opacity: 1;
}

p.stars a {
    color: #ffb400 !important;
}

.comment-list li.review img.avatar {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 3px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: static;
    margin-right: 15px;
    float: left;
}

.woocommerce-review-meta {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.woocommerce-review__author {
    font-weight: 700;
    color: #222;
    font-size: 1.1rem;
    text-transform: capitalize;
}

.woocommerce-review__published-date {
    font-size: 0.85rem;
    color: #999;
}

.description {
    clear: both;
    color: #444;
    line-height: 1.6;
    margin-top: 15px;
}

#review_form_wrapper .comment-reply-title {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

/* Submit Button */
#review_form #submit {
    background: var(--homa-primary-color) !important;
    color: var(--homa-white-color) !important;
    padding: 12px 30px !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#review_form #submit:hover {
	background: var(--homa-primary-hover-color) !important;
    color: var(--homa-white-color) !important;
}

.wc-block-components-button:not(.is-link) {
    background: var(--homa-primary-color);
    color: var(--homa-white-color);
    border-radius: 0.25rem;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-components-button:not(.is-link):focus,
.wc-block-components-button:not(.is-link):active {
	background: var(--homa-primary-hover-color);
    color: var(--homa-white-color);
}